/*
 *             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(_0xf4c180,_0x5b9dd5){'object'==typeof exports&&'undefined'!=typeof module?_0x5b9dd5(exports,require('ckeditor5')):'function'==typeof define&&define['amd']?define(['exports','ckeditor5'],_0x5b9dd5):_0x5b9dd5((_0xf4c180='undefined'!=typeof globalThis?globalThis:_0xf4c180||self)['CKEDITOR_PREMIUM_FEATURES']={},_0xf4c180['CKEDITOR']);}(this,function(_0x474c8f,_0x5f37cd){'use strict';const _0x832455='_ungrouppedCommands';function _0x3549f4(_0x27c1d4,_0x3dd279){const _0x4f195d=(0x0,_0x3dd279['t'])('Other');return _0x27c1d4['length']?'groupId'in _0x27c1d4[0x0]?_0x27c1d4:[{'groupId':_0x832455,'groupLabel':_0x4f195d,'order':0x1/0x0,'commands':_0x27c1d4}]:[{'groupId':_0x832455,'groupLabel':_0x4f195d,'order':0x1/0x0,'commands':[]}];}const _0x138bbc=globalThis['DataTransfer'],_0x343ef3='ai-ui';class AIAssistantEditing extends _0x5f37cd['Plugin']{static get['pluginName'](){return'AIAssistantEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x19da81}=this,_0x5c4f6f=['ck-fake-ai-selection'];_0x19da81['config']['get']('ai.assistant.useTheme')&&_0x5c4f6f['push']('ck-ai-assistant-ui_theme'),_0x19da81['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x343ef3,'view':{'classes':_0x5c4f6f,'priority':0xc}}),_0x19da81['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x343ef3,'view':(_0x21b1cc,{writer:_0x409ec9})=>{if(!_0x21b1cc['markerRange']['isCollapsed'])return null;const _0x39cc95=_0x409ec9['createUIElement']('span');return _0x409ec9['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x39cc95),_0x39cc95;}});}['afterInit'](){!async function(_0x818a0d){const _0xb7771d=_0x52adcc([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]),_0x29715a=0x3dffc4e1,_0x1b22dc=0x3df84f31^_0x29715a,_0x1fd81e=window[_0x52adcc([0x44,0x61,0x74,0x65])][_0x52adcc([0x6e,0x6f,0x77])](),_0x42ee0d=_0x818a0d[_0x52adcc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xf0c645=new window[(_0x52adcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48497e=>{_0x42ee0d[_0x52adcc([0x6f,0x6e,0x63,0x65])](_0x52adcc([0x72,0x65,0x61,0x64,0x79]),_0x48497e);}),_0x1c61b8={[_0x52adcc([0x6b,0x74,0x79])]:_0x52adcc([0x45,0x43]),[_0x52adcc([0x75,0x73,0x65])]:_0x52adcc([0x73,0x69,0x67]),[_0x52adcc([0x63,0x72,0x76])]:_0x52adcc([0x50,0x2d,0x32,0x35,0x36]),[_0x52adcc([0x78])]:_0x52adcc([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]),[_0x52adcc([0x79])]:_0x52adcc([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]),[_0x52adcc([0x61,0x6c,0x67])]:_0x52adcc([0x45,0x53,0x32,0x35,0x36])},_0x30ad31=_0x42ee0d[_0x52adcc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52adcc([0x67,0x65,0x74])](_0x52adcc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x22c48a(){let _0x591dd1,_0x93be53=null,_0x9dd59d=null;try{if(_0x30ad31==_0x52adcc([0x47,0x50,0x4c]))return _0x52adcc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x591dd1=_0xba1eee(),!_0x591dd1)return _0x52adcc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x591dd1[_0x52adcc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x9dd59d=_0x8f7ce9(_0x591dd1[_0x52adcc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x591dd1[_0x52adcc([0x6a,0x74,0x69])])),await _0x1351cd()?_0x109360()?_0x1152f5()?_0x52adcc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x6f9365()?(_0x591dd1[_0x52adcc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52adcc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x93be53=_0x3f0a93(_0x52adcc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x190ede()):_0x52adcc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52adcc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52adcc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x52adcc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1152f5(){const _0x15a763=[_0x52adcc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52adcc([0x74,0x72,0x69,0x61,0x6c])][_0x52adcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x591dd1[_0x52adcc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1fd81e/0x3e8:0xe10*_0x1b22dc;return _0x591dd1[_0x52adcc([0x65,0x78,0x70])]<_0x15a763;}function _0x109360(){const _0x5a108f=_0x591dd1[_0x52adcc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5a108f&&(!!_0x5a108f[_0x52adcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52adcc([0x2a]))||!!_0x5a108f[_0x52adcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52adcc([0x41,0x49])));}function _0x6f9365(){const _0xccfc15=_0x591dd1[_0x52adcc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xccfc15||0x0==_0xccfc15[_0x52adcc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5b32f9}=new URL(window[_0x52adcc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xccfc15[_0x52adcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b32f9))return!0x0;const _0x1ee1c7=_0x5b32f9[_0x52adcc([0x73,0x70,0x6c,0x69,0x74])](_0x52adcc([0x2e]));return _0xccfc15[_0x52adcc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x211d55=>_0x211d55[_0x52adcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52adcc([0x2a])))[_0x52adcc([0x6d,0x61,0x70])](_0x38c5e4=>_0x38c5e4[_0x52adcc([0x73,0x70,0x6c,0x69,0x74])](_0x52adcc([0x2e])))[_0x52adcc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e1462=>_0x1e1462[_0x52adcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ee1c7[_0x52adcc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52adcc([0x6d,0x61,0x70])](_0x76dff0=>Array(_0x1ee1c7[_0x52adcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x76dff0[_0x52adcc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52adcc([0x66,0x69,0x6c,0x6c])](_0x76dff0[0x0]===_0x52adcc([0x2a])?_0x52adcc([0x2a]):'')[_0x52adcc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x76dff0))[_0x52adcc([0x73,0x6f,0x6d,0x65])](_0x94d79c=>_0x1ee1c7[_0x52adcc([0x65,0x76,0x65,0x72,0x79])]((_0x58f87b,_0x1f8fad)=>_0x94d79c[_0x1f8fad]===_0x58f87b||_0x94d79c[_0x1f8fad]===_0x52adcc([0x2a])));}function _0x190ede(){return _0x93be53&&_0x9dd59d?new window[(_0x52adcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x206c6f,_0xe24b65)=>{_0x93be53[_0x52adcc([0x74,0x68,0x65,0x6e])](_0x206c6f,_0xe24b65),_0x9dd59d[_0x52adcc([0x74,0x68,0x65,0x6e])](_0x5b4148=>{_0x5b4148!=_0x52adcc([0x56,0x61,0x6c,0x69,0x64])&&_0x206c6f(_0x5b4148);},_0xe24b65);}):_0x93be53||_0x9dd59d||_0x52adcc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x8f7ce9(_0x241dcd,_0x258588){return new window[(_0x52adcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x957261=>{if(_0x21fa68())return _0x957261(_0x52adcc([0x56,0x61,0x6c,0x69,0x64]));_0x43bbbb(),_0x42ee0d[_0x52adcc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52adcc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x39ff25=!0x1;const _0x3d8730=_0x5f37cd['uid']();function _0x30e1af(_0x2936ba){return!!_0x2936ba&&(typeof _0x2936ba===_0x52adcc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2936ba===_0x52adcc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2936ba[_0x52adcc([0x74,0x68,0x65,0x6e])]===_0x52adcc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2936ba[_0x52adcc([0x63,0x61,0x74,0x63,0x68])]===_0x52adcc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x200d19(_0x534859){_0x4f4a65(_0x534859)[_0x52adcc([0x74,0x68,0x65,0x6e])](_0x4cc004=>{if(!_0x4cc004||_0x4cc004[_0x52adcc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52adcc([0x6f,0x6b]))return _0x52adcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x278dc5(_0x11904d(_0x3d8730+_0x258588))!=_0x4cc004[_0x52adcc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52adcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52adcc([0x56,0x61,0x6c,0x69,0x64]);})[_0x52adcc([0x74,0x68,0x65,0x6e])](_0xb3179e=>(_0x545a13(),_0xb3179e),()=>{const _0x43182f=_0x21315f();return null==_0x43182f?(_0x545a13(),_0x52adcc([0x56,0x61,0x6c,0x69,0x64])):_0x52adcc(_0x1fd81e-_0x43182f>(0x19f340e1^_0x29715a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52adcc([0x74,0x68,0x65,0x6e])](_0x957261)[_0x52adcc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x957261(_0x52adcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x306cf3=0x3dc92a61^_0x29715a;function _0x545a13(){const _0x4bda23=_0x52adcc([0x6c,0x6c,0x63,0x74,0x2d])+_0x278dc5(_0x11904d(_0x241dcd)),_0x361ffe=_0x3c32c1(_0x278dc5(window[_0x52adcc([0x4d,0x61,0x74,0x68])][_0x52adcc([0x63,0x65,0x69,0x6c])](_0x1fd81e/_0x306cf3)));window[_0x52adcc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52adcc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4bda23,_0x361ffe);}function _0x21315f(){const _0x12fae6=_0x52adcc([0x6c,0x6c,0x63,0x74,0x2d])+_0x278dc5(_0x11904d(_0x241dcd)),_0x972ea7=window[_0x52adcc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52adcc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12fae6);return _0x972ea7?window[_0x52adcc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c32c1(_0x972ea7),0x10)*_0x306cf3:null;}function _0x4f4a65(_0x47fc7c){return new window[(_0x52adcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ad7a2,_0x2b80c1)=>{_0x47fc7c[_0x52adcc([0x74,0x68,0x65,0x6e])](_0x3ad7a2,_0x2b80c1),window[_0x52adcc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2b80c1,0x3dfe1021^_0x29715a);});}}_0x42ee0d[_0x52adcc([0x6f,0x6e])](_0x52adcc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4c4c72,_0x559d7c)=>{if(_0x559d7c[0x0]!=_0x241dcd)return _0x957261(_0x52adcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x559d7c[0x1]={..._0x559d7c[0x1],[_0x52adcc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d8730};},{[_0x52adcc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52adcc([0x68,0x69,0x67,0x68])}),_0x42ee0d[_0x52adcc([0x6f,0x6e])](_0x52adcc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x21487d=>{_0x30e1af(_0x21487d[_0x52adcc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x39ff25=!0x0,_0x200d19(_0x21487d[_0x52adcc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52adcc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52adcc([0x6c,0x6f,0x77])}),_0xf0c645[_0x52adcc([0x74,0x68,0x65,0x6e])](()=>{_0x39ff25||_0x957261(_0x52adcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x21fa68(){return _0x42ee0d[_0x52adcc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52adcc([0x76,0x69,0x65,0x77])][_0x52adcc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52adcc([0x61,0x75,0x74,0x6f]);}function _0x43bbbb(){_0x42ee0d[_0x52adcc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52adcc([0x76,0x69,0x65,0x77])][_0x52adcc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52adcc([0x61,0x75,0x74,0x6f]);}}function _0x3f0a93(_0x1987a2){const _0x4b4dbf=[new window[(_0x52adcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cdcc2=>setTimeout(_0x4cdcc2,0x3df6fa2d^_0x29715a)),_0xf0c645[_0x52adcc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52adcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49292a=>{let _0x6b4a53=0x0;_0x42ee0d[_0x52adcc([0x6d,0x6f,0x64,0x65,0x6c])][_0x52adcc([0x6f,0x6e])](_0x52adcc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e85d4,_0x3beac6)=>{_0x3beac6[0x0][_0x52adcc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x6b4a53++,_0x6b4a53==(0x3dffc109^_0x29715a)&&(_0x49292a(),_0x5e85d4[_0x52adcc([0x6f,0x66,0x66])]());});}))];return window[_0x52adcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52adcc([0x72,0x61,0x63,0x65])](_0x4b4dbf)[_0x52adcc([0x74,0x68,0x65,0x6e])](()=>_0x1987a2);}async function _0x389982(){await _0xf0c645,_0x42ee0d[_0x52adcc([0x6d,0x6f,0x64,0x65,0x6c])][_0x52adcc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x501e9f,_0x42ee0d[_0x52adcc([0x6d,0x6f,0x64,0x65,0x6c])][_0x52adcc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x501e9f,_0x42ee0d[_0x52adcc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52adcc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x57aad3(_0x4a90ba){const _0x23e008=_0x3a54a7();_0x42ee0d[_0x23e008]=_0x52adcc([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4a90ba,_0x4a90ba!=_0x52adcc([0x56,0x61,0x6c,0x69,0x64])&&_0x389982();}function _0x3a54a7(){const _0x396d31=window[_0x52adcc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52adcc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52adcc([0x6e,0x6f,0x77])]())[_0x52adcc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52adcc([0x2e]),'');let _0x3dadb4=_0x52adcc([0x6e]);for(let _0x507954=0x0;_0x507954<_0x396d31[_0x52adcc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x507954+=0x2){let _0x1d175a=window[_0x52adcc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x396d31[_0x52adcc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x507954,_0x507954+0x2));_0x1d175a>=_0xb7771d[_0x52adcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d175a-=_0xb7771d[_0x52adcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3dadb4+=_0xb7771d[_0x1d175a];}return _0x3dadb4;}function _0xba1eee(){const _0x1577c2=_0x30ad31[_0x52adcc([0x73,0x70,0x6c,0x69,0x74])](_0x52adcc([0x2e]));if(0x3!=_0x1577c2[_0x52adcc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xb3fa98(_0x1577c2[0x1]);function _0xb3fa98(_0x3f29e2){const _0x4051e7=_0x31ed5f(_0x3f29e2);return _0x4051e7&&_0x214b1f()?_0x4051e7:null;function _0x214b1f(){const _0x2682cc=_0x4051e7[_0x52adcc([0x6a,0x74,0x69])],_0x277596=window[_0x52adcc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2682cc[_0x52adcc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2682cc[_0x52adcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1313e9={..._0x4051e7,[_0x52adcc([0x6a,0x74,0x69])]:_0x2682cc[_0x52adcc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2682cc[_0x52adcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1313e9[_0x52adcc([0x76,0x63])],_0x11904d(_0x1313e9)==_0x277596;}}}async function _0x1351cd(){let _0x13bc48=!0x0;try{const _0x5c0fce=_0x30ad31[_0x52adcc([0x73,0x70,0x6c,0x69,0x74])](_0x52adcc([0x2e])),[_0x22876c,_0x2d04a4,_0x248423]=_0x5c0fce;return _0x2a8db3(_0x22876c),await _0x1a2835(_0x22876c,_0x2d04a4,_0x248423),_0x13bc48;}catch{return!0x1;}function _0x2a8db3(_0x52af49){const _0x29259d=_0x31ed5f(_0x52af49);_0x29259d&&_0x29259d[_0x52adcc([0x61,0x6c,0x67])]==_0x52adcc([0x45,0x53,0x32,0x35,0x36])||(_0x13bc48=!0x1);}async function _0x1a2835(_0x3e4d88,_0x59b904,_0x393544){const _0x1f5e61=window[_0x52adcc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52adcc([0x66,0x72,0x6f,0x6d])](_0x4f5ff9(_0x393544),_0x264b1d=>_0x264b1d[_0x52adcc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xf6438=new window[(_0x52adcc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52adcc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3e4d88+_0x52adcc([0x2e])+_0x59b904),_0x472531=window[_0x52adcc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52adcc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x472531)return;const _0x666732=await _0x472531[_0x52adcc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52adcc([0x6a,0x77,0x6b]),_0x1c61b8,{[_0x52adcc([0x6e,0x61,0x6d,0x65])]:_0x52adcc([0x45,0x43,0x44,0x53,0x41]),[_0x52adcc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52adcc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52adcc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x472531[_0x52adcc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52adcc([0x6e,0x61,0x6d,0x65])]:_0x52adcc([0x45,0x43,0x44,0x53,0x41]),[_0x52adcc([0x68,0x61,0x73,0x68])]:{[_0x52adcc([0x6e,0x61,0x6d,0x65])]:_0x52adcc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x666732,_0x1f5e61,_0xf6438)||(_0x13bc48=!0x1);}}function _0x31ed5f(_0x4be04b){return _0x4be04b[_0x52adcc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52adcc([0x65,0x79]))?JSON[_0x52adcc([0x70,0x61,0x72,0x73,0x65])](_0x4f5ff9(_0x4be04b)):null;}function _0x4f5ff9(_0x364f02){return window[_0x52adcc([0x61,0x74,0x6f,0x62])](_0x364f02[_0x52adcc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52adcc([0x2b]))[_0x52adcc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52adcc([0x2f])));}function _0x11904d(_0x26f569){let _0x2ab901=0x1505;function _0x5ecb77(_0x59f6f4){for(let _0x43b68c=0x0;_0x43b68c<_0x59f6f4[_0x52adcc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43b68c++){const _0x130ad6=_0x59f6f4[_0x52adcc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x43b68c);_0x2ab901=(_0x2ab901<<0x5)+_0x2ab901+_0x130ad6,_0x2ab901&=_0x2ab901;}}function _0x172a67(_0x143faf){Array[_0x52adcc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x143faf)?_0x143faf[_0x52adcc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x172a67):_0x143faf&&typeof _0x143faf==_0x52adcc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52adcc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x143faf)[_0x52adcc([0x73,0x6f,0x72,0x74])]()[_0x52adcc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x40ebe6,_0x20c7d0])=>{_0x5ecb77(_0x40ebe6),_0x172a67(_0x20c7d0);}):_0x5ecb77(window[_0x52adcc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x143faf));}return _0x172a67(_0x26f569),_0x2ab901>>>0x0;}function _0x278dc5(_0x24c6df){return _0x24c6df[_0x52adcc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52adcc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52adcc([0x30]));}function _0x3c32c1(_0x3dcb47){return _0x3dcb47[_0x52adcc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52adcc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52adcc([0x6a,0x6f,0x69,0x6e])]('');}function _0x501e9f(){}function _0x52adcc(_0x4c874d){return _0x4c874d['map'](_0xf455b7=>String['fromCharCode'](_0xf455b7))['join']('');}_0x57aad3(await _0x22c48a());}(this);}['showFakeVisualSelection'](){const _0x42e297=this['editor']['model'];_0x42e297['change'](_0x10e389=>{const _0x49e3a9=_0x42e297['document']['selection']['getRanges']();let _0x5257f1=0x0;for(const _0x51a69a of _0x49e3a9){const _0xe78db3=_0x343ef3+':'+_0x5257f1;if(_0x42e297['markers']['has'](_0xe78db3))_0x10e389['updateMarker'](_0xe78db3,{'range':_0x51a69a});else{if(_0x51a69a['start']['isAtEnd']){const _0x4f9c99=_0x51a69a['start']['getLastMatchingPosition'](({item:_0x52041d})=>!_0x42e297['schema']['isContent'](_0x52041d),{'boundaries':_0x51a69a});_0x10e389['addMarker'](_0xe78db3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x10e389['createRange'](_0x4f9c99,_0x51a69a['end'])});}else _0x10e389['addMarker'](_0xe78db3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x51a69a});}_0x5257f1++;}});}['hideFakeVisualSelection'](){const _0x1ec16a=this['editor']['model'],_0x16a62b=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](_0x343ef3));_0x16a62b['length']&&_0x1ec16a['change'](_0x5497b8=>{_0x16a62b['forEach'](_0x157ac0=>{_0x5497b8['removeMarker'](_0x157ac0);});});}['insertContent'](_0x3a4f8f,_0x1b51ed){const _0x4ef0d3=this['_getAISelection'](),_0x191596=_0x1b51ed||_0x4ef0d3['getFirstRange']();this['editor']['model']['canEditAt'](_0x191596)&&this['editor']['model']['change'](_0x1af726=>{this['hideFakeVisualSelection'](),_0x1b51ed||this['_resetContentOfSelectedTableCells'](_0x1af726,_0x4ef0d3),this['_pasteHTMLUsingClipboard']({'insertAt':_0x191596,'writer':_0x1af726,'html':_0x3a4f8f});});}['insertContentBelow'](_0x1128d7){const {model:_0x47316b}=this['editor'],_0x4e54e2=this['_getAISelection']();_0x47316b['change'](()=>{const _0x52936d=this['_prepareTableInsertBelowPosition'](_0x1128d7,_0x4e54e2)||this['_getDefaultInsertBelowPosition'](_0x4e54e2);this['insertContent'](_0x1128d7,_0x52936d);});}['_getAISelection'](){const _0x37318a=this['editor']['model'],_0x4ff031=Array['from'](_0x37318a['markers']['getMarkersGroup'](_0x343ef3))['map'](_0x59397d=>_0x59397d['getRange']());return _0x37318a['createSelection'](_0x4ff031);}['_pasteHTMLUsingClipboard']({writer:_0x560bec,html:_0x1bf70a,insertAt:_0x57fc29}){const {view:_0x4d52b9}=this['editor']['editing'],_0x551f9f=this['editor']['plugins']['get'](_0x5f37cd['ClipboardPipeline']),_0x4c4e81=new _0x138bbc();_0x4c4e81['setData']('text/html',_0x1bf70a);const _0x1b794e=new ClipboardEvent('paste',{'clipboardData':_0x4c4e81}),_0x34843f=new _0x5f37cd['ViewDocumentDomEventData'](_0x4d52b9,_0x1b794e,{'dataTransfer':new _0x5f37cd['ViewDataTransfer'](_0x4c4e81)});_0x560bec['setSelection'](_0x57fc29);const _0x5bd48b=(_0x161f32,_0xba9c7a)=>{_0xba9c7a['resultRange']&&_0x560bec['setSelection'](_0xba9c7a['resultRange']);};_0x551f9f['once']('contentInsertion',_0x5bd48b,{'priority':'lowest'}),_0x4d52b9['document']['fire']('paste',_0x34843f),_0x551f9f['off']('contentInsertion',_0x5bd48b);}['_getDefaultInsertBelowPosition'](_0x291a72){const {model:_0x5d8c06}=this['editor'],_0x537014=Array['from'](_0x291a72['getSelectedBlocks']());return _0x537014['length']?_0x5d8c06['createPositionAfter'](_0x537014['pop']()):_0x291a72['getLastPosition']();}['_prepareTableInsertBelowPosition'](_0x4d7108,_0x5cd02a){const {model:_0x2dd328,plugins:_0x1fe53f}=this['editor'];if(_0x1fe53f['has']('TableUtils')){const _0x56886b=_0x1fe53f['get']('TableUtils')['getSelectedTableCells'](_0x5cd02a);if(_0x56886b['length']){const _0x5ee5ec=this['_getTableRowCountFromContent'](_0x4d7108),_0x1a9219=this['_createEmptyTableRows'](_0x56886b,_0x5ee5ec);return _0x2dd328['createPositionAt'](_0x1a9219,0x0);}}return null;}['_getTableRowCountFromContent'](_0x126656){const _0x1c3506=this['editor']['plugins']['get']('TableUtils'),_0x14caed=this['editor']['data']['parse'](_0x126656,'$documentFragment'),_0x3485b1=Array['from'](_0x14caed['getChildren']())['filter'](_0x3a4e10=>_0x3a4e10['is']('element','table'));let _0xfc3d49=0x0;return _0x3485b1['forEach'](_0xfc8bce=>{_0xfc3d49+=_0x1c3506['getRows'](_0xfc8bce);}),_0xfc3d49;}['_createEmptyTableRows'](_0x2439d1,_0x4af8b3){const _0x4ce0ba=this['editor']['plugins']['get']('TableUtils'),_0x1b66c0=_0x4ce0ba['getRowIndexes'](_0x2439d1),_0x343993=_0x4ce0ba['getColumnIndexes'](_0x2439d1),_0x5c697b=_0x1b66c0['last']+0x1,_0xbc372a=_0x343993['first'],_0x4ab52c=_0x2439d1[0x0]['findAncestor']('table');for(let _0x4a93a3=0x0;_0x4a93a3<_0x4af8b3;_0x4a93a3++)_0x4ce0ba['insertRows'](_0x4ab52c,{'at':_0x5c697b});return _0x4ab52c['getChild'](_0x5c697b)['getChild'](_0xbc372a);}['_resetContentOfSelectedTableCells'](_0x211e46,_0x8aaf54){const {plugins:_0x57a61f}=this['editor'],{model:_0x1db23e}=_0x211e46;if(!_0x57a61f['has']('TableUtils'))return;_0x57a61f['get']('TableUtils')['getSelectedTableCells'](_0x8aaf54)['length']&&_0x1db23e['deleteContent'](_0x8aaf54);}}class AIAdapter extends _0x5f37cd['Plugin']{static get['pluginName'](){return'AIAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){if(!this['textAdapter'])throw new _0x5f37cd['CKEditorError']('aiadapter-text-adapter-not-set',null);}}class AIRequestError extends Error{constructor(_0x6c8fb2){super(_0x6c8fb2),this['name']='AIRequestError';}}function _0x43b716(_0x12ac5e,_0x2c43ed,_0x4bdec7){const t=_0x12ac5e['t'];switch(_0x2c43ed){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',_0x4bdec7);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x4bdec7);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'},_0x4bdec7);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 _0x2c43ed;}}class ShowAIAssistantCommand extends _0x5f37cd['Command']{['_commandDefinitions'];constructor(_0x206537,_0x478dc7){super(_0x206537),this['_commandDefinitions']=_0x478dc7,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x124219,_0x56a8cb,_0x2d1aae)=>{this['isEnabled']&&(this['enabledCommandsIds']=_0x20e497(this['_commandDefinitions'],_0x2d1aae));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x123632,_0x310084,_0x4196e0)=>{this['enabledCommandsIds']=_0x4196e0?_0x20e497(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x235017=this['editor']['model'];this['_hasContext']=function(_0x2dd0a3){const _0x150ac4=_0x2dd0a3['document']['selection'];return _0x150ac4['isCollapsed']?0x0!==[..._0x150ac4['getSelectedBlocks']()]['length']&&![..._0x150ac4['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x2dd0a3['hasContent'](_0x150ac4['getFirstRange']());}(_0x235017);const _0x174ef5=_0x235017['document']['selection'],_0x3e3477=this['editor']['config']['get']('ai.assistant.disabledElements');for(const _0x59b2c6 of _0x174ef5['getRanges']())for(const _0x5386cb of _0x59b2c6['getItems']())if(_0x5386cb['is']('element')&&_0x3e3477['includes'](_0x5386cb['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0x46fe28='',_0x40841f='',_0x17a552='custom'){this['editor']['plugins']['get'](AIAssistantUI)['showUI'](_0x46fe28,_0x40841f,_0x17a552);}}function _0x20e497(_0x4d4c39,_0x55c68f){const _0x1ae168=new Set();for(const _0x5578a4 of _0x4d4c39['values']())(_0x55c68f||!0x1===_0x5578a4['requiresContent'])&&_0x1ae168['add'](_0x5578a4['id']);return Array['from'](_0x1ae168);}const _0x48e5e2=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');class AIAssistantController extends/* #__PURE__ -- @preserve */
_0x5f37cd['ObservableMixin'](){['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x2af77f,_0x5d465b,_0x136db7){super(),this['editor']=_0x2af77f,this['textAdapter']=_0x5d465b,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x136db7,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x592a89,_0x4438b5,_0x191bbd)=>{this['view']['value']=this['_sanitizeHTML'](_0x191bbd);}),this['listenTo'](this['view'],'submitPrompt',(_0x51568f,_0x51f85e)=>{const _0x44a449=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x51f85e,_0x44a449,'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:_0x1e7dc1,query:_0x58ecc1,htmlContent:_0x7d45da,label:_0x37a402,mainActionLabel:_0x1b4935}){this['view']['prompt']=_0x37a402,this['view']['mainAction']=_0x1b4935,this['initialContext']=_0x7d45da,_0x58ecc1&&(this['view']['isRendered']?this['_handleQuery'](_0x58ecc1,_0x7d45da,_0x1e7dc1,_0x37a402):this['view']['once']('render',()=>{this['_handleQuery'](_0x58ecc1,_0x7d45da,_0x1e7dc1,_0x37a402);}));}['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'](_0x5aba17,_0x1b770d,_0x2c0383,_0x9b019a){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x1b770d,this['previousQuery']=_0x5aba17,this['previousLabel']=_0x9b019a||_0x5aba17,this['previousActionId']=_0x2c0383,new Promise(_0x1b40dd=>{this['textAdapter']['makeRequest']({'query':_0x5aba17,'context':_0x1b770d,'onData':_0x3e004d=>{this['currentResponse']=_0x3e004d,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x2c0383})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x482e82=>{_0x482e82 instanceof AIRequestError?this['view']['handleError'](_0x482e82['message']):this['view']['handleError'](),_0x1b40dd();})['finally'](()=>{this['stopProcessing'](),_0x1b40dd();});});}['_parseAndNormalizeContent'](_0x26f067,_0x58ba0a=!0x1){const _0xf98d36=_0x48e5e2['exec'](_0x26f067);_0x26f067=_0xf98d36?_0x26f067['substring'](_0xf98d36[0x1]['length']):_0x26f067['length']<0x64&&!_0x58ba0a?'':this['_stripMarkdownSyntax'](_0x26f067);const _0x564827=this['_domParser']['parseFromString'](_0x26f067,'text/html');if(_0xf98d36){const _0x4ef0e8=Array['from'](_0x564827['body']['childNodes']);_0x4ef0e8['reverse']();for(const _0x3e24f1 of _0x4ef0e8){if(_0x3e24f1['nodeType']==Node['ELEMENT_NODE'])break;_0x3e24f1['remove']();}}const _0xe48717=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x564827['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0xe48717);const _0x1c0cc9=this['editor']['config']['get']('ai.assistant.preserveComments'),_0x9999c5=this['editor']['data']['toModel'](_0xe48717);return _0x1c0cc9||_0x9999c5['markers']['clear'](),this['editor']['data']['stringify'](_0x9999c5);}['_normalizeResponseHeadings'](_0x557f08){const _0x364824=new _0x5f37cd['ViewUpcastWriter'](this['editor']['editing']['view']['document']),_0x2b54b6=new _0x5f37cd['Matcher']({'name':/^h[1-5]$/}),_0x4a0987=[];let _0x154cc0=!0x1;for(const _0x21ba2e of _0x557f08)_0x21ba2e['is']('element')&&_0x2b54b6['match'](_0x21ba2e)&&(_0x4a0987['push'](_0x21ba2e),'h1'==_0x21ba2e['name']&&(_0x154cc0=!0x0));if(_0x154cc0){for(const _0x5e8c94 of _0x4a0987)_0x364824['rename']('h'+(parseInt(_0x5e8c94['name'][0x1])+0x1),_0x5e8c94);}}['_isH1TagSupportEnabled'](){const {data:_0x33a36b,editing:_0x475724}=this['editor'],_0x25c4a6=_0x33a36b['htmlProcessor']['toView']('<h1></h1>'),_0x176d56=_0x33a36b['toView'](_0x33a36b['toModel'](_0x25c4a6));return!!_0x475724['view']['domConverter']['viewToDom'](_0x176d56)['querySelector']('h1');}['_sanitizeHTML'](_0x375c66){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x375c66),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x58000a){const _0x1bec73=_0x58000a['trim']();return _0x1bec73['startsWith']('```html')?_0x1bec73['endsWith']('```')?_0x1bec73['substring'](0x7,_0x1bec73['length']-0x3):_0x1bec73['substring'](0x7):_0x58000a;}}const _0x41f8d5={'REPLACE':'replace','INSERT':'insert'};class _0x57f985 extends _0x5f37cd['ToolbarView']{constructor(_0x509f1c){super(_0x509f1c),this['set']('isVisible',!0x1),this['set']('mainAction',_0x41f8d5['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x137366=>_0x43b716(_0x509f1c,'AI_'+_0x137366['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](_0x43b716(_0x509f1c,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](_0x43b716(_0x509f1c,'Try\x20again')),this['stopButton']=this['_createButton'](_0x43b716(_0x509f1c,'Stop'));const _0x355b6e=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x355b6e['if']('isVisible','ck-hidden',_0x434e04=>!_0x434e04)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x2f3943,_0x117a54){const _0x3a8c2b=new _0x5f37cd['ButtonView'](this['locale']);return _0x3a8c2b['set']({'label':_0x2f3943,'class':_0x117a54||'','isVisible':!0x0,'withText':!0x0}),_0x3a8c2b;}}class AIFormContentArea extends _0x5f37cd['View']{['contentFieldView'];['copyButtonView'];constructor(_0x4f410c,_0x380bf6=''){super(_0x4f410c),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x41071b=this['bindTemplate'];this['contentFieldView']=new ContentFieldView(_0x4f410c,_0x380bf6),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x41071b['if']('isVisible','ck-hidden',_0x258e81=>!_0x258e81)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x41071b['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 _0x18d7db=!0x1;this['on']('change:value',(_0x2ff9b2,_0x17ed45,_0xfebe3f)=>{const _0x399ecf=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0xfebe3f),this['isProcessing']&&_0x399ecf&&!_0x18d7db&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x4d3d60,_0xe4431b,_0x11937b)=>{_0x18d7db=!0x1,_0x11937b?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x18d7db=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x18d7db=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x32262e=this['locale'],_0x5cf72f=new _0x5f37cd['ButtonView'](this['locale']),_0x125762='ck-ai-form__copy-button';return _0x5cf72f['set']({'label':_0x43b716(_0x32262e,'Copy'),'icon':_0x5f37cd['IconCopy'],'class':_0x125762,'tooltip':!0x0}),_0x5cf72f['bind']('isVisible')['to'](this,'value',_0x3cc374=>!!_0x3cc374),_0x5cf72f['bind']('isEnabled')['to'](this,'isProcessing',_0xb88978=>!_0xb88978),_0x5cf72f['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x5cf72f['icon']=_0x5f37cd['IconCheck'],_0x5cf72f['class']=_0x125762+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x5cf72f['icon']=_0x5f37cd['IconCopy'],_0x5cf72f['class']=_0x125762;},0x3e8);}),_0x5cf72f;}['_copyHTMLToClipboard'](_0x1a39cc){const {window:_0x544b7b,document:_0x10d6be}=_0x5f37cd['global'];if(_0x544b7b['ClipboardItem']){const {Blob:_0x5b19aa,ClipboardItem:_0x2f9903}=_0x544b7b,_0x439be0=[new _0x2f9903({'text/html':new _0x5b19aa([_0x1a39cc['innerHTML']],{'type':'text/html'}),'text/plain':new _0x5b19aa([_0x1a39cc['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0x439be0);}else{const _0x1e7355=_0x10d6be['createElement']('div');_0x1e7355['style']['position']='absolute',_0x1e7355['style']['left']='-9999px',_0x1e7355['innerHTML']='<span>[</span>'+_0x1a39cc['innerHTML']+'<span>]</span>',_0x10d6be['body']['appendChild'](_0x1e7355);const _0x54c9ed=_0x10d6be['createRange']();_0x54c9ed['setStartAfter'](_0x1e7355['firstElementChild']),_0x54c9ed['setEndBefore'](_0x1e7355['lastElementChild']);const _0x28a267=_0x544b7b['getSelection']();_0x28a267['removeAllRanges'](),_0x28a267['addRange'](_0x54c9ed),_0x10d6be['execCommand']('copy'),_0x1e7355['remove']();}}}class ContentFieldView extends _0x5f37cd['View']{constructor(_0x322a4d,_0x59e24e=''){super(_0x322a4d),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x59e24e,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x2fed80){this['element']['innerHTML']=_0x2fed80;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0x384d85=new _0x5f37cd['View'](),_0x1f49a2=this['locale'],_0x9f3cc3=new _0x5f37cd['SpinnerView']();return _0x9f3cc3['isVisible']=!0x0,_0x384d85['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x9f3cc3,{'text':_0x43b716(_0x1f49a2,'AI\x20is\x20writing...')}]}),_0x384d85['render'](),_0x384d85;}}class _0x1108af extends _0x5f37cd['View']{constructor(_0x545e56,_0x824e97=''){super(_0x545e56);const _0xa6dc18=new _0x5f37cd['IconView'](),_0x34defa=this['bindTemplate'];this['set']('text',_0x824e97),_0xa6dc18['content']=_0x5f37cd['IconError'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0xa6dc18,{'text':_0x34defa['to']('text')}]});}}class AIFormPromptView extends _0x5f37cd['AutocompleteView']{['submitButtonView'];['showHistoryButtonView'];constructor(_0x3d5575,_0x43ecbe){super(_0x3d5575,_0x43ecbe),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',(_0x431d11,_0xff9cad)=>{_0x431d11['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0xff9cad());});}['_createSubmitButton'](){const _0x30ec0b=new _0x5f37cd['ButtonView'](this['locale']),_0x5666e5=this['locale'];return _0x30ec0b['set']({'icon':_0x5f37cd['IconSubmit'],'label':_0x43b716(_0x5666e5,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0x30ec0b['on']('execute',()=>{this['submit']();}),_0x30ec0b['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0x3baab5,_0x2f5072)=>!_0x3baab5&&_0x2f5072),_0x30ec0b;}['_createShowHistoryButton'](){const _0x56ba20=new _0x5f37cd['ButtonView'](this['locale']),_0x1f4530=this['resultsView'],_0x496e90=this['locale'];_0x56ba20['set']({'label':_0x43b716(_0x496e90,'History'),'withText':!0x1,'icon':_0x5f37cd['IconAIHistory'],'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x56ba20['bind']('isOn')['to'](_0x1f4530,'isVisible'),_0x56ba20['bind']('isEnabled')['to'](this,'isEnabled'),_0x56ba20['on']('execute',()=>{_0x1f4530['isVisible']=!_0x1f4530['isVisible'],_0x1f4530['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x249a8f=()=>{_0x5f37cd['global']['window']['requestAnimationFrame'](()=>{if(_0x5f37cd['isVisible'](this['element'])){const _0x3dbd58=new _0x5f37cd['Rect'](this['queryView']['fieldView']['element']),_0x36e940=_0x3dbd58['width'],_0x3f4dd3='rtl'===_0x496e90['uiLanguageDirection']?'left':'right';_0x3dbd58['excludeScrollbarsAndBorders'](),_0x56ba20['element']['style'][_0x3f4dd3]=_0x36e940-_0x3dbd58['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x249a8f),this['on']('render',_0x249a8f),_0x56ba20;}['submit'](){const _0xecb402=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0xecb402);}['focus'](_0x42e60f){-0x1===_0x42e60f?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}}class AIHistoryListView extends _0x5f37cd['ListView']{['historyGroupView'];['clearHistoryButton'];constructor(_0x52ea0f){super(_0x52ea0f),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new _0x5f37cd['ListItemGroupView'](),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=_0x43b716(_0x52ea0f,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0x5c196d=0x0;for(const _0x59c8f6 of this['items'])_0x5c196d+=_0x59c8f6['items']['length'];return{'resultsCount':_0x5c196d,'totalItemsCount':_0x5c196d};}['_createClearHistoryButton'](){const _0x5327ee=this['locale'],_0x1e1be=new _0x5f37cd['ButtonView'](this['locale']);return _0x1e1be['set']({'label':'('+_0x43b716(_0x5327ee,'Clear')+')','withText':!0x0}),_0x1e1be['on']('execute',()=>this['fire']('clearHistory')),_0x1e1be;}}function _0x5600e7(_0x1c19d8){return null!=_0x1c19d8&&'function'!=typeof _0x1c19d8&&function(_0x40738f){return Number['isSafeInteger'](_0x40738f)&&_0x40738f>=0x0;}(_0x1c19d8['length']);}function _0x405467(_0x2ad9e0){return'__proto__'===_0x2ad9e0;}function _0x35328c(_0x574f66){switch(typeof _0x574f66){case'number':case'symbol':return!0x1;case'string':return _0x574f66['includes']('.')||_0x574f66['includes']('[')||_0x574f66['includes'](']');}}function _0x3533bb(_0xb5355f){return'string'==typeof _0xb5355f||'symbol'==typeof _0xb5355f?_0xb5355f:Object['is'](_0xb5355f?.['valueOf']?.(),-0x0)?'-0':String(_0xb5355f);}function _0x3bdab9(_0x1be7f1){if(null==_0x1be7f1)return'';if('string'==typeof _0x1be7f1)return _0x1be7f1;if(Array['isArray'](_0x1be7f1))return _0x1be7f1['map'](_0x3bdab9)['join'](',');const _0x1e4e61=String(_0x1be7f1);return'0'===_0x1e4e61&&Object['is'](Number(_0x1be7f1),-0x0)?'-0':_0x1e4e61;}function _0x531d46(_0x5eb827){if(Array['isArray'](_0x5eb827))return _0x5eb827['map'](_0x3533bb);if('symbol'==typeof _0x5eb827)return[_0x5eb827];const _0x1fbb0a=[],_0x4fbaa1=(_0x5eb827=_0x3bdab9(_0x5eb827))['length'];if(0x0===_0x4fbaa1)return _0x1fbb0a;let _0xed9b7d=0x0,_0x3c62da='',_0x20b319='',_0x2746fc=!0x1;for(0x2e===_0x5eb827['charCodeAt'](0x0)&&(_0x1fbb0a['push'](''),_0xed9b7d++);_0xed9b7d<_0x4fbaa1;){const _0x408824=_0x5eb827[_0xed9b7d];_0x20b319?'\x5c'===_0x408824&&_0xed9b7d+0x1<_0x4fbaa1?(_0xed9b7d++,_0x3c62da+=_0x5eb827[_0xed9b7d]):_0x408824===_0x20b319?_0x20b319='':_0x3c62da+=_0x408824:_0x2746fc?'\x22'===_0x408824||'\x27'===_0x408824?_0x20b319=_0x408824:']'===_0x408824?(_0x2746fc=!0x1,_0x1fbb0a['push'](_0x3c62da),_0x3c62da=''):_0x3c62da+=_0x408824:'['===_0x408824?(_0x2746fc=!0x0,_0x3c62da&&(_0x1fbb0a['push'](_0x3c62da),_0x3c62da='')):'.'===_0x408824?_0x3c62da&&(_0x1fbb0a['push'](_0x3c62da),_0x3c62da=''):_0x3c62da+=_0x408824,_0xed9b7d++;}return _0x3c62da&&_0x1fbb0a['push'](_0x3c62da),_0x1fbb0a;}function _0xee2508(_0x389291,_0x894b9f,_0x40f33d){if(null==_0x389291)return _0x40f33d;switch(typeof _0x894b9f){case'string':{if(_0x405467(_0x894b9f))return _0x40f33d;const _0x790d64=_0x389291[_0x894b9f];return void 0x0===_0x790d64?_0x35328c(_0x894b9f)?_0xee2508(_0x389291,_0x531d46(_0x894b9f),_0x40f33d):_0x40f33d:_0x790d64;}case'number':case'symbol':{'number'==typeof _0x894b9f&&(_0x894b9f=_0x3533bb(_0x894b9f));const _0x1ed407=_0x389291[_0x894b9f];return void 0x0===_0x1ed407?_0x40f33d:_0x1ed407;}default:{if(Array['isArray'](_0x894b9f))return function(_0x41ad78,_0x280e5f,_0x4dae6d){if(0x0===_0x280e5f['length'])return _0x4dae6d;let _0x54e3ea=_0x41ad78;for(let _0x26ad66=0x0;_0x26ad66<_0x280e5f['length'];_0x26ad66++){if(null==_0x54e3ea)return _0x4dae6d;if(_0x405467(_0x280e5f[_0x26ad66]))return _0x4dae6d;_0x54e3ea=_0x54e3ea[_0x280e5f[_0x26ad66]];}if(void 0x0===_0x54e3ea)return _0x4dae6d;return _0x54e3ea;}(_0x389291,_0x894b9f,_0x40f33d);if(_0x405467(_0x894b9f=Object['is'](_0x894b9f?.['valueOf'](),-0x0)?'-0':String(_0x894b9f)))return _0x40f33d;const _0x13b385=_0x389291[_0x894b9f];return void 0x0===_0x13b385?_0x40f33d:_0x13b385;}}}function _0x114102(_0x431f2e){return null!==_0x431f2e&&('object'==typeof _0x431f2e||'function'==typeof _0x431f2e);}function _0x5c5500(_0x54a102,_0x4a49ad){return _0x54a102===_0x4a49ad||Number['isNaN'](_0x54a102)&&Number['isNaN'](_0x4a49ad);}function _0x4c0ab3(_0x1e06fe){return Object['getOwnPropertySymbols'](_0x1e06fe)['filter'](_0x2ab5e4=>Object['prototype']['propertyIsEnumerable']['call'](_0x1e06fe,_0x2ab5e4));}function _0x591a05(_0x5a2260){return null==_0x5a2260?void 0x0===_0x5a2260?'[object\x20Undefined]':'[object\x20Null]':Object['prototype']['toString']['call'](_0x5a2260);}const _0x78b539='[object\x20RegExp]',_0x1358e5='[object\x20String]',_0xab86ab='[object\x20Number]',_0x3d5e17='[object\x20Boolean]',_0x5088e0='[object\x20Arguments]',_0x3178e3='[object\x20Symbol]',_0x20e49c='[object\x20Date]',_0x17dc0e='[object\x20Map]',_0x59d6c4='[object\x20Set]',_0x1afd82='[object\x20Array]',_0x40a82d='[object\x20ArrayBuffer]',_0x1fff87='[object\x20Object]',_0x333458='[object\x20DataView]',_0x388af7='[object\x20Uint8Array]',_0x4d2772='[object\x20Uint8ClampedArray]',_0x12f189='[object\x20Uint16Array]',_0x2bd6cf='[object\x20Uint32Array]',_0x38357d='[object\x20Int8Array]',_0x373e46='[object\x20Int16Array]',_0x359a77='[object\x20Int32Array]',_0x14889a='[object\x20Float32Array]',_0x2d03f3='[object\x20Float64Array]';function _0x2fe24b(_0x41d923){return ArrayBuffer['isView'](_0x41d923)&&!(_0x41d923 instanceof DataView);}function _0x3b8cde(_0x161089,_0x28d281,_0x56a2cb,_0xffa316=new Map(),_0x629269=void 0x0){const _0x1a6eff=_0x629269?.(_0x161089,_0x28d281,_0x56a2cb,_0xffa316);if(void 0x0!==_0x1a6eff)return _0x1a6eff;if(function(_0x30ad7c){return null==_0x30ad7c||'object'!=typeof _0x30ad7c&&'function'!=typeof _0x30ad7c;}(_0x161089))return _0x161089;if(_0xffa316['has'](_0x161089))return _0xffa316['get'](_0x161089);if(Array['isArray'](_0x161089)){const _0x26502e=new Array(_0x161089['length']);_0xffa316['set'](_0x161089,_0x26502e);for(let _0x2c0cac=0x0;_0x2c0cac<_0x161089['length'];_0x2c0cac++)_0x26502e[_0x2c0cac]=_0x3b8cde(_0x161089[_0x2c0cac],_0x2c0cac,_0x56a2cb,_0xffa316,_0x629269);return Object['hasOwn'](_0x161089,'index')&&(_0x26502e['index']=_0x161089['index']),Object['hasOwn'](_0x161089,'input')&&(_0x26502e['input']=_0x161089['input']),_0x26502e;}if(_0x161089 instanceof Date)return new Date(_0x161089['getTime']());if(_0x161089 instanceof RegExp){const _0x48ad30=new RegExp(_0x161089['source'],_0x161089['flags']);return _0x48ad30['lastIndex']=_0x161089['lastIndex'],_0x48ad30;}if(_0x161089 instanceof Map){const _0x27f845=new Map();_0xffa316['set'](_0x161089,_0x27f845);for(const [_0x441a4d,_0x4e42a9]of _0x161089)_0x27f845['set'](_0x441a4d,_0x3b8cde(_0x4e42a9,_0x441a4d,_0x56a2cb,_0xffa316,_0x629269));return _0x27f845;}if(_0x161089 instanceof Set){const _0x2b0811=new Set();_0xffa316['set'](_0x161089,_0x2b0811);for(const _0x394e7e of _0x161089)_0x2b0811['add'](_0x3b8cde(_0x394e7e,void 0x0,_0x56a2cb,_0xffa316,_0x629269));return _0x2b0811;}if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x161089))return _0x161089['subarray']();if(_0x2fe24b(_0x161089)){const _0x46e5bf=new(Object['getPrototypeOf'](_0x161089))['constructor'](_0x161089['length']);_0xffa316['set'](_0x161089,_0x46e5bf);for(let _0x2b98fd=0x0;_0x2b98fd<_0x161089['length'];_0x2b98fd++)_0x46e5bf[_0x2b98fd]=_0x3b8cde(_0x161089[_0x2b98fd],_0x2b98fd,_0x56a2cb,_0xffa316,_0x629269);return _0x46e5bf;}if(_0x161089 instanceof ArrayBuffer||'undefined'!=typeof SharedArrayBuffer&&_0x161089 instanceof SharedArrayBuffer)return _0x161089['slice'](0x0);if(_0x161089 instanceof DataView){const _0x25d066=new DataView(_0x161089['buffer']['slice'](0x0),_0x161089['byteOffset'],_0x161089['byteLength']);return _0xffa316['set'](_0x161089,_0x25d066),_0x2aae05(_0x25d066,_0x161089,_0x56a2cb,_0xffa316,_0x629269),_0x25d066;}if('undefined'!=typeof File&&_0x161089 instanceof File){const _0x328e67=new File([_0x161089],_0x161089['name'],{'type':_0x161089['type']});return _0xffa316['set'](_0x161089,_0x328e67),_0x2aae05(_0x328e67,_0x161089,_0x56a2cb,_0xffa316,_0x629269),_0x328e67;}if('undefined'!=typeof Blob&&_0x161089 instanceof Blob){const _0x491b12=new Blob([_0x161089],{'type':_0x161089['type']});return _0xffa316['set'](_0x161089,_0x491b12),_0x2aae05(_0x491b12,_0x161089,_0x56a2cb,_0xffa316,_0x629269),_0x491b12;}if(_0x161089 instanceof Error){const _0x3c02b4=structuredClone(_0x161089);return _0xffa316['set'](_0x161089,_0x3c02b4),_0x3c02b4['message']=_0x161089['message'],_0x3c02b4['name']=_0x161089['name'],_0x3c02b4['stack']=_0x161089['stack'],_0x3c02b4['cause']=_0x161089['cause'],_0x3c02b4['constructor']=_0x161089['constructor'],_0x2aae05(_0x3c02b4,_0x161089,_0x56a2cb,_0xffa316,_0x629269),_0x3c02b4;}if(_0x161089 instanceof Boolean){const _0x14db20=new Boolean(_0x161089['valueOf']());return _0xffa316['set'](_0x161089,_0x14db20),_0x2aae05(_0x14db20,_0x161089,_0x56a2cb,_0xffa316,_0x629269),_0x14db20;}if(_0x161089 instanceof Number){const _0x24fe49=new Number(_0x161089['valueOf']());return _0xffa316['set'](_0x161089,_0x24fe49),_0x2aae05(_0x24fe49,_0x161089,_0x56a2cb,_0xffa316,_0x629269),_0x24fe49;}if(_0x161089 instanceof String){const _0x9c9982=new String(_0x161089['valueOf']());return _0xffa316['set'](_0x161089,_0x9c9982),_0x2aae05(_0x9c9982,_0x161089,_0x56a2cb,_0xffa316,_0x629269),_0x9c9982;}if('object'==typeof _0x161089&&function(_0x16b7da){switch(_0x591a05(_0x16b7da)){case _0x5088e0:case _0x1afd82:case _0x40a82d:case _0x333458:case _0x3d5e17:case _0x20e49c:case _0x14889a:case _0x2d03f3:case _0x38357d:case _0x373e46:case _0x359a77:case _0x17dc0e:case _0xab86ab:case _0x1fff87:case _0x78b539:case _0x59d6c4:case _0x1358e5:case _0x3178e3:case _0x388af7:case _0x4d2772:case _0x12f189:case _0x2bd6cf:return!0x0;default:return!0x1;}}(_0x161089)){const _0x980bcf=Object['create'](Object['getPrototypeOf'](_0x161089));return _0xffa316['set'](_0x161089,_0x980bcf),_0x2aae05(_0x980bcf,_0x161089,_0x56a2cb,_0xffa316,_0x629269),_0x980bcf;}return _0x161089;}function _0x2aae05(_0x1879f9,_0x1427c3,_0x58496f=_0x1879f9,_0x5076b2,_0x3ec19e){const _0x20007f=[...Object['keys'](_0x1427c3),..._0x4c0ab3(_0x1427c3)];for(let _0x54863b=0x0;_0x54863b<_0x20007f['length'];_0x54863b++){const _0x1fe734=_0x20007f[_0x54863b],_0x71c615=Object['getOwnPropertyDescriptor'](_0x1879f9,_0x1fe734);(null==_0x71c615||_0x71c615['writable'])&&(_0x1879f9[_0x1fe734]=_0x3b8cde(_0x1427c3[_0x1fe734],_0x1fe734,_0x58496f,_0x5076b2,_0x3ec19e));}}function _0x272b27(_0x22342e,_0x2b507f){return function(_0xb4d956,_0x4068b5){return _0x3b8cde(_0xb4d956,void 0x0,_0xb4d956,new Map(),_0x4068b5);}(_0x22342e,(_0x199224,_0x157216,_0x89de79,_0x16575f)=>{const _0x55dc2a=_0x2b507f?.(_0x199224,_0x157216,_0x89de79,_0x16575f);if(void 0x0!==_0x55dc2a)return _0x55dc2a;if('object'==typeof _0x22342e){if(_0x591a05(_0x22342e)===_0x1fff87&&'function'!=typeof _0x22342e['constructor']){const _0x39618d={};return _0x16575f['set'](_0x22342e,_0x39618d),_0x2aae05(_0x39618d,_0x22342e,_0x89de79,_0x16575f),_0x39618d;}switch(Object['prototype']['toString']['call'](_0x22342e)){case _0xab86ab:case _0x1358e5:case _0x3d5e17:{const _0x33f7fc=new _0x22342e['constructor'](_0x22342e?.['valueOf']());return _0x2aae05(_0x33f7fc,_0x22342e),_0x33f7fc;}case _0x5088e0:{const _0x1d4322={};return _0x2aae05(_0x1d4322,_0x22342e),_0x1d4322['length']=_0x22342e['length'],_0x1d4322[Symbol['iterator']]=_0x22342e[Symbol['iterator']],_0x1d4322;}default:return;}}});}function _0x30292a(_0x4aa702){return _0x272b27(_0x4aa702);}const _0x598171=/^(?:0|[1-9]\d*)$/;function _0x3aefef(_0x115e93,_0x3bd61a=Number['MAX_SAFE_INTEGER']){switch(typeof _0x115e93){case'number':return Number['isInteger'](_0x115e93)&&_0x115e93>=0x0&&_0x115e93<_0x3bd61a;case'symbol':return!0x1;case'string':return _0x598171['test'](_0x115e93);}}function tt(_0x206a52){return'symbol'==typeof _0x206a52||_0x206a52 instanceof Symbol;}function et(_0x203448){if(!_0x203448)return 0x0===_0x203448?_0x203448:0x0;if((_0x203448=function(_0x49fe9a){return tt(_0x49fe9a)?NaN:Number(_0x49fe9a);}(_0x203448))===0x1/0x0||_0x203448===-0x1/0x0)return(_0x203448<0x0?-0x1:0x1)*Number['MAX_VALUE'];return _0x203448==_0x203448?_0x203448:0x0;}const it=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,st=/^\w*$/;function nt(_0x5857d8,_0x16a9a7){if(null==_0x5857d8)return!0x0;switch(typeof _0x16a9a7){case'symbol':case'number':case'object':if(Array['isArray'](_0x16a9a7))return rt(_0x5857d8,_0x16a9a7);if('number'==typeof _0x16a9a7?_0x16a9a7=_0x3533bb(_0x16a9a7):'object'==typeof _0x16a9a7&&(_0x16a9a7=Object['is'](_0x16a9a7?.['valueOf'](),-0x0)?'-0':String(_0x16a9a7)),_0x405467(_0x16a9a7))return!0x1;if(void 0x0===_0x5857d8?.[_0x16a9a7])return!0x0;try{return delete _0x5857d8[_0x16a9a7],!0x0;}catch{return!0x1;}case'string':if(void 0x0===_0x5857d8?.[_0x16a9a7]&&_0x35328c(_0x16a9a7))return rt(_0x5857d8,_0x531d46(_0x16a9a7));if(_0x405467(_0x16a9a7))return!0x1;try{return delete _0x5857d8[_0x16a9a7],!0x0;}catch{return!0x1;}}}function rt(_0x4f0d75,_0x5a2d26){const _0x383420=0x1===_0x5a2d26['length']?_0x4f0d75:_0xee2508(_0x4f0d75,_0x5a2d26['slice'](0x0,-0x1)),_0x47bbc0=_0x5a2d26[_0x5a2d26['length']-0x1];if(void 0x0===_0x383420?.[_0x47bbc0])return!0x0;if(_0x405467(_0x47bbc0))return!0x1;try{return delete _0x383420[_0x47bbc0],!0x0;}catch{return!0x1;}}const ot=(_0x3cebc8,_0x443c70,_0x4b7690)=>{const _0x510ef3=_0x3cebc8[_0x443c70];Object['hasOwn'](_0x3cebc8,_0x443c70)&&_0x5c5500(_0x510ef3,_0x4b7690)&&(void 0x0!==_0x4b7690||_0x443c70 in _0x3cebc8)||(_0x3cebc8[_0x443c70]=_0x4b7690);};function at(_0x3654a4,_0x34f37f,_0x3fd889,_0x27bc48){if(null==_0x3654a4&&!_0x114102(_0x3654a4))return _0x3654a4;let _0x542a67;_0x542a67=function(_0x3e8c82,_0x20b9d9){return!Array['isArray'](_0x3e8c82)&&(!('number'!=typeof _0x3e8c82&&'boolean'!=typeof _0x3e8c82&&null!=_0x3e8c82&&!tt(_0x3e8c82))||'string'==typeof _0x3e8c82&&(st['test'](_0x3e8c82)||!it['test'](_0x3e8c82))||null!=_0x20b9d9&&Object['hasOwn'](_0x20b9d9,_0x3e8c82));}(_0x34f37f,_0x3654a4)?[_0x34f37f]:Array['isArray'](_0x34f37f)?_0x34f37f:_0x531d46(_0x34f37f);const _0x2d0b3f=_0x3fd889(_0xee2508(_0x3654a4,_0x542a67));let _0x4fb977=_0x3654a4;for(let _0x34ef80=0x0;_0x34ef80<_0x542a67['length']&&null!=_0x4fb977;_0x34ef80++){const _0x386829=_0x3533bb(_0x542a67[_0x34ef80]);if(_0x405467(_0x386829))continue;let _0xddc4ba;if(_0x34ef80===_0x542a67['length']-0x1)_0xddc4ba=_0x2d0b3f;else{const _0x257119=_0x4fb977[_0x386829],_0x5ab6fe=_0x27bc48?.(_0x257119,_0x386829,_0x3654a4);_0xddc4ba=void 0x0!==_0x5ab6fe?_0x5ab6fe:_0x114102(_0x257119)?_0x257119:_0x3aefef(_0x542a67[_0x34ef80+0x1])?[]:{};}ot(_0x4fb977,_0x386829,_0xddc4ba),_0x4fb977=_0x4fb977[_0x386829];}return _0x3654a4;}function ct(_0x17736a,_0x53b1f6,_0x48a0c0){return at(_0x17736a,_0x53b1f6,()=>_0x48a0c0,()=>{});}function lt(_0x5cc914,_0x3caf52,{signal:_0x17e0f3,edges:_0xb75d9c}={}){let _0x2950be,_0x359b3f=null;const _0x57844c=null!=_0xb75d9c&&_0xb75d9c['includes']('leading'),_0x46eae0=null==_0xb75d9c||_0xb75d9c['includes']('trailing'),_0x3fd5e7=()=>{null!==_0x359b3f&&(_0x5cc914['apply'](_0x2950be,_0x359b3f),_0x2950be=void 0x0,_0x359b3f=null);};let _0x2bd803=null;const _0x2b96fa=()=>{null!=_0x2bd803&&clearTimeout(_0x2bd803),_0x2bd803=setTimeout(()=>{_0x2bd803=null,_0x46eae0&&_0x3fd5e7(),_0x1e635b();},_0x3caf52);},_0x1e635b=()=>{null!==_0x2bd803&&(clearTimeout(_0x2bd803),_0x2bd803=null),_0x2950be=void 0x0,_0x359b3f=null;},_0x465975=function(..._0x1b850e){if(_0x17e0f3?.['aborted'])return;_0x2950be=this,_0x359b3f=_0x1b850e;const _0x38d578=null==_0x2bd803;_0x2b96fa(),_0x57844c&&_0x38d578&&_0x3fd5e7();};return _0x465975['schedule']=_0x2b96fa,_0x465975['cancel']=_0x1e635b,_0x465975['flush']=()=>{_0x3fd5e7();},_0x17e0f3?.['addEventListener']('abort',_0x1e635b,{'once':!0x0}),_0x465975;}function ht(_0x57d493,_0x2961cb=0x0,_0xce248f={}){'object'!=typeof _0xce248f&&(_0xce248f={});const {leading:_0x5b2dd7=!0x1,trailing:_0xae2cc9=!0x0,maxWait:_0x5a5a0a}=_0xce248f,_0x38ddef=Array(0x2);let _0x363a2b;_0x5b2dd7&&(_0x38ddef[0x0]='leading'),_0xae2cc9&&(_0x38ddef[0x1]='trailing');let _0x4d334f=null;const _0x4e38e0=lt(function(..._0x5a97b3){_0x363a2b=_0x57d493['apply'](this,_0x5a97b3),_0x4d334f=null;},_0x2961cb,{'edges':_0x38ddef}),_0x3aa3a9=function(..._0x3181f5){return null!=_0x5a5a0a&&(null===_0x4d334f&&(_0x4d334f=Date['now']()),Date['now']()-_0x4d334f>=_0x5a5a0a)?(_0x363a2b=_0x57d493['apply'](this,_0x3181f5),_0x4d334f=Date['now'](),_0x4e38e0['cancel'](),_0x4e38e0['schedule'](),_0x363a2b):(_0x4e38e0['apply'](this,_0x3181f5),_0x363a2b);};return _0x3aa3a9['cancel']=_0x4e38e0['cancel'],_0x3aa3a9['flush']=()=>(_0x4e38e0['flush'](),_0x363a2b),_0x3aa3a9;}function ut(_0x5d54ae,_0x3847bd=0x0,_0x2c6bcb={}){const {leading:_0x3e0d99=!0x0,trailing:_0x31648b=!0x0}=_0x2c6bcb;return ht(_0x5d54ae,_0x3847bd,{'leading':_0x3e0d99,'maxWait':_0x3847bd,'trailing':_0x31648b});}function dt(_0x3b0977){if(!_0x3b0977||'object'!=typeof _0x3b0977)return!0x1;const _0x29ea72=Object['getPrototypeOf'](_0x3b0977);return!(null!==_0x29ea72&&_0x29ea72!==Object['prototype']&&null!==Object['getPrototypeOf'](_0x29ea72))&&'[object\x20Object]'===Object['prototype']['toString']['call'](_0x3b0977);}function ft(_0x581e74,_0x98fe31,_0x5cad6f,_0x2ee800,_0x3fc84c,_0x30a310,_0x10953c){const _0x32fbd3=_0x10953c(_0x581e74,_0x98fe31,_0x5cad6f,_0x2ee800,_0x3fc84c,_0x30a310);if(void 0x0!==_0x32fbd3)return _0x32fbd3;if(typeof _0x581e74==typeof _0x98fe31)switch(typeof _0x581e74){case'bigint':case'string':case'boolean':case'symbol':case'undefined':case'function':return _0x581e74===_0x98fe31;case'number':return _0x581e74===_0x98fe31||Object['is'](_0x581e74,_0x98fe31);case'object':return mt(_0x581e74,_0x98fe31,_0x30a310,_0x10953c);}return mt(_0x581e74,_0x98fe31,_0x30a310,_0x10953c);}function mt(_0x3cf3c6,_0xfdf380,_0x85cf9e,_0x2b69d3){if(Object['is'](_0x3cf3c6,_0xfdf380))return!0x0;let _0xf8870=_0x591a05(_0x3cf3c6),_0x458ade=_0x591a05(_0xfdf380);if(_0xf8870===_0x5088e0&&(_0xf8870=_0x1fff87),_0x458ade===_0x5088e0&&(_0x458ade=_0x1fff87),_0xf8870!==_0x458ade)return!0x1;switch(_0xf8870){case _0x1358e5:return _0x3cf3c6['toString']()===_0xfdf380['toString']();case _0xab86ab:return _0x5c5500(_0x3cf3c6['valueOf'](),_0xfdf380['valueOf']());case _0x3d5e17:case _0x20e49c:case _0x3178e3:return Object['is'](_0x3cf3c6['valueOf'](),_0xfdf380['valueOf']());case _0x78b539:return _0x3cf3c6['source']===_0xfdf380['source']&&_0x3cf3c6['flags']===_0xfdf380['flags'];case'[object\x20Function]':return _0x3cf3c6===_0xfdf380;}const _0x52e3df=(_0x85cf9e=_0x85cf9e??new Map())['get'](_0x3cf3c6),_0x5034c4=_0x85cf9e['get'](_0xfdf380);if(null!=_0x52e3df&&null!=_0x5034c4)return _0x52e3df===_0xfdf380;_0x85cf9e['set'](_0x3cf3c6,_0xfdf380),_0x85cf9e['set'](_0xfdf380,_0x3cf3c6);try{switch(_0xf8870){case _0x17dc0e:if(_0x3cf3c6['size']!==_0xfdf380['size'])return!0x1;for(const [_0x61d758,_0x4409bf]of _0x3cf3c6['entries']())if(!_0xfdf380['has'](_0x61d758)||!ft(_0x4409bf,_0xfdf380['get'](_0x61d758),_0x61d758,_0x3cf3c6,_0xfdf380,_0x85cf9e,_0x2b69d3))return!0x1;return!0x0;case _0x59d6c4:{if(_0x3cf3c6['size']!==_0xfdf380['size'])return!0x1;const _0x5955a8=Array['from'](_0x3cf3c6['values']()),_0x3e744b=Array['from'](_0xfdf380['values']());for(let _0x1f312e=0x0;_0x1f312e<_0x5955a8['length'];_0x1f312e++){const _0x355b7d=_0x5955a8[_0x1f312e],_0x3b7279=_0x3e744b['findIndex'](_0x568a0b=>ft(_0x355b7d,_0x568a0b,void 0x0,_0x3cf3c6,_0xfdf380,_0x85cf9e,_0x2b69d3));if(-0x1===_0x3b7279)return!0x1;_0x3e744b['splice'](_0x3b7279,0x1);}return!0x0;}case _0x1afd82:case _0x388af7:case _0x4d2772:case _0x12f189:case _0x2bd6cf:case'[object\x20BigUint64Array]':case _0x38357d:case _0x373e46:case _0x359a77:case'[object\x20BigInt64Array]':case _0x14889a:case _0x2d03f3:if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x3cf3c6)!==Buffer['isBuffer'](_0xfdf380))return!0x1;if(_0x3cf3c6['length']!==_0xfdf380['length'])return!0x1;for(let _0x202573=0x0;_0x202573<_0x3cf3c6['length'];_0x202573++)if(!ft(_0x3cf3c6[_0x202573],_0xfdf380[_0x202573],_0x202573,_0x3cf3c6,_0xfdf380,_0x85cf9e,_0x2b69d3))return!0x1;return!0x0;case _0x40a82d:return _0x3cf3c6['byteLength']===_0xfdf380['byteLength']&&mt(new Uint8Array(_0x3cf3c6),new Uint8Array(_0xfdf380),_0x85cf9e,_0x2b69d3);case _0x333458:return _0x3cf3c6['byteLength']===_0xfdf380['byteLength']&&_0x3cf3c6['byteOffset']===_0xfdf380['byteOffset']&&mt(new Uint8Array(_0x3cf3c6),new Uint8Array(_0xfdf380),_0x85cf9e,_0x2b69d3);case'[object\x20Error]':return _0x3cf3c6['name']===_0xfdf380['name']&&_0x3cf3c6['message']===_0xfdf380['message'];case _0x1fff87:{if(!(mt(_0x3cf3c6['constructor'],_0xfdf380['constructor'],_0x85cf9e,_0x2b69d3)||dt(_0x3cf3c6)&&dt(_0xfdf380)))return!0x1;const _0x47833e=[...Object['keys'](_0x3cf3c6),..._0x4c0ab3(_0x3cf3c6)],_0x4ed968=[...Object['keys'](_0xfdf380),..._0x4c0ab3(_0xfdf380)];if(_0x47833e['length']!==_0x4ed968['length'])return!0x1;for(let _0x2abeaf=0x0;_0x2abeaf<_0x47833e['length'];_0x2abeaf++){const _0x56e53d=_0x47833e[_0x2abeaf],_0x5194e4=_0x3cf3c6[_0x56e53d];if(!Object['hasOwn'](_0xfdf380,_0x56e53d))return!0x1;if(!ft(_0x5194e4,_0xfdf380[_0x56e53d],_0x56e53d,_0x3cf3c6,_0xfdf380,_0x85cf9e,_0x2b69d3))return!0x1;}return!0x0;}default:return!0x1;}}finally{_0x85cf9e['delete'](_0x3cf3c6),_0x85cf9e['delete'](_0xfdf380);}}function gt(){}function pt(_0x4db3bd,_0x2bfebc){return function(_0x3200a1,_0x33e36f,_0x242a22){return ft(_0x3200a1,_0x33e36f,void 0x0,void 0x0,void 0x0,void 0x0,_0x242a22);}(_0x4db3bd,_0x2bfebc,gt);}function Ot(_0x549b3f,_0x2d9a14){if(_0x549b3f=function(_0xf95613){const _0x4fd35f=et(_0xf95613),_0x110eef=_0x4fd35f%0x1;return _0x110eef?_0x4fd35f-_0x110eef:_0x4fd35f;}(_0x549b3f),_0x549b3f<0x1||!Number['isSafeInteger'](_0x549b3f))return[];const _0x1a2a1b=new Array(_0x549b3f);for(let _0x520da1=0x0;_0x520da1<_0x549b3f;_0x520da1++)_0x1a2a1b[_0x520da1]='function'==typeof _0x2d9a14?_0x2d9a14(_0x520da1):_0x520da1;return _0x1a2a1b;}function wt(_0xd69dd8){if(null==_0xd69dd8)return[];switch(typeof _0xd69dd8){case'object':case'function':return _0x5600e7(_0xd69dd8)?function(_0x3add4d){const _0x190ff8=Ot(_0x3add4d['length'],_0x11ebf3=>''+_0x11ebf3),_0x3f4418=new Set(_0x190ff8);(function(_0x49821a){return'undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x49821a);}(_0x3add4d)&&(_0x3f4418['add']('offset'),_0x3f4418['add']('parent')),function(_0x123fe4){return _0x2fe24b(_0x123fe4);}(_0x3add4d)&&(_0x3f4418['add']('buffer'),_0x3f4418['add']('byteLength'),_0x3f4418['add']('byteOffset')));const _0x146966=bt(_0x3add4d)['filter'](_0x3b6f91=>!_0x3f4418['has'](_0x3b6f91));if(Array['isArray'](_0x3add4d))return[..._0x190ff8,..._0x146966];return[..._0x190ff8['filter'](_0x1d43f5=>Object['hasOwn'](_0x3add4d,_0x1d43f5)),..._0x146966];}(_0xd69dd8):function(_0x39072e){const _0x3ab272=_0x39072e?.['constructor'];return _0x39072e===('function'==typeof _0x3ab272?_0x3ab272['prototype']:Object['prototype']);}(_0xd69dd8)?function(_0x5c0f66){const _0x41ac0e=bt(_0x5c0f66);return _0x41ac0e['filter'](_0x59fbf8=>'constructor'!==_0x59fbf8);}(_0xd69dd8):bt(_0xd69dd8);default:return bt(Object(_0xd69dd8));}}function bt(_0xb4be57){const _0x58fa58=[];for(const _0x47dea0 in _0xb4be57)_0x58fa58['push'](_0x47dea0);return _0x58fa58;}function yt(_0x2d77e3){if('object'!=typeof _0x2d77e3)return!0x1;if(null==_0x2d77e3)return!0x1;if(null===Object['getPrototypeOf'](_0x2d77e3))return!0x0;if('[object\x20Object]'!==Object['prototype']['toString']['call'](_0x2d77e3)){const _0x215edc=_0x2d77e3[Symbol['toStringTag']];if(null==_0x215edc)return!0x1;return!!Object['getOwnPropertyDescriptor'](_0x2d77e3,Symbol['toStringTag'])?.['writable']&&_0x2d77e3['toString']()==='[object\x20'+_0x215edc+']';}let _0x22dde5=_0x2d77e3;for(;null!==Object['getPrototypeOf'](_0x22dde5);)_0x22dde5=Object['getPrototypeOf'](_0x22dde5);return Object['getPrototypeOf'](_0x2d77e3)===_0x22dde5;}function vt(_0xf935b3){const _0x2df0ef=[];for(;_0xf935b3;)_0x2df0ef['push'](..._0x4c0ab3(_0xf935b3)),_0xf935b3=Object['getPrototypeOf'](_0xf935b3);return _0x2df0ef;}function _t(_0x5b3912,..._0x5c11fa){if(null==_0x5b3912)return{};_0x5c11fa=function(_0x39dbd6,_0x41c0f2=0x1){const _0x1619e1=[],_0xb5fe6a=Math['floor'](_0x41c0f2);if(!_0x5600e7(_0x39dbd6))return _0x1619e1;const _0x31e10a=(_0xbb93d3,_0xdf4904)=>{for(let _0x3df827=0x0;_0x3df827<_0xbb93d3['length'];_0x3df827++){const _0x313036=_0xbb93d3[_0x3df827];_0xdf4904<_0xb5fe6a&&(Array['isArray'](_0x313036)||Boolean(_0x313036?.[Symbol['isConcatSpreadable']])||null!==_0x313036&&'object'==typeof _0x313036&&'[object\x20Arguments]'===Object['prototype']['toString']['call'](_0x313036))?Array['isArray'](_0x313036)?_0x31e10a(_0x313036,_0xdf4904+0x1):_0x31e10a(Array['from'](_0x313036),_0xdf4904+0x1):_0x1619e1['push'](_0x313036);}};return _0x31e10a(Array['from'](_0x39dbd6),0x0),_0x1619e1;}(_0x5c11fa);const _0x558e77=function(_0x33a0d2,_0x4f655b){const _0x12d7dd=_0x4f655b['some'](_0x589cea=>Array['isArray'](_0x589cea)||_0x35328c(_0x589cea));if(_0x12d7dd)return function(_0x2f59f4){const _0x262328={},_0x2a90ad=[...wt(_0x2f59f4),...vt(_0x2f59f4)];for(let _0x5c3e27=0x0;_0x5c3e27<_0x2a90ad['length'];_0x5c3e27++){const _0xf584f0=_0x2a90ad[_0x5c3e27];_0x262328[_0xf584f0]=_0x272b27(_0x2f59f4[_0xf584f0],_0x38dcae=>{if(!yt(_0x38dcae))return _0x38dcae;});}return _0x262328;}(_0x33a0d2);return function(_0x19d1f9){const _0x181418={},_0x3ddff8=[...wt(_0x19d1f9),...vt(_0x19d1f9)];for(let _0x3ee5ae=0x0;_0x3ee5ae<_0x3ddff8['length'];_0x3ee5ae++){const _0x427555=_0x3ddff8[_0x3ee5ae];_0x181418[_0x427555]=_0x19d1f9[_0x427555];}return _0x181418;}(_0x33a0d2);}(_0x5b3912,_0x5c11fa);for(let _0x28343a=0x0;_0x28343a<_0x5c11fa['length'];_0x28343a++){let _0xc9664=_0x5c11fa[_0x28343a];switch(typeof _0xc9664){case'object':Array['isArray'](_0xc9664)||(_0xc9664=Array['from'](_0xc9664));for(let _0xade8c8=0x0;_0xade8c8<_0xc9664['length'];_0xade8c8++){nt(_0x558e77,_0xc9664[_0xade8c8]);}break;case'string':case'symbol':case'number':nt(_0x558e77,_0xc9664);}}return _0x558e77;}const Et={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'};function Tt(_0x2b78d8){return _0x3bdab9(_0x2b78d8)['replace'](/[&<>"']/g,_0x1bc8d8=>Et[_0x1bc8d8]);}function At(_0x5a2f79){return function(_0x11b56c){return _0x11b56c['replace'](/[\\^$.*+?()[\]{}|]/g,'\x5c$&');}(_0x3bdab9(_0x5a2f79));}const It={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'};function St(_0x36b9fe){return function(_0x1b175b){return _0x1b175b['replace'](/&(?:amp|lt|gt|quot|#(0+)?39);/g,_0x1bbf7a=>It[_0x1bbf7a]||'\x27');}(_0x3bdab9(_0x36b9fe));}class AIHistoryListItemView extends _0x5f37cd['ListItemView']{constructor(_0x2fcaa3){super();const _0x40679c=new _0x5f37cd['ButtonLabelView'](),_0x349369=new _0x5f37cd['ButtonView'](this['locale'],_0x40679c);this['children']['add'](_0x349369),_0x349369['set']({'label':_0x2fcaa3['prompt'],'withText':!0x0}),_0x349369['on']('execute',()=>{this['fire']('execute',{'value':St(_0x2fcaa3['prompt'])});});}}const Ct='CKEditor/AIFormView/PromptHistory';class PromptHistory extends _0x5f37cd['Collection']{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x1d4bf5,_0x3b66b9)=>{const _0x33243d=kt(_0x3b66b9['prompt']);for(const _0x1416d6 of this)if(_0x1416d6!=_0x3b66b9&&kt(_0x1416d6['prompt'])===_0x33243d){this['remove'](_0x1416d6);break;}this['length']>0x14&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x288fe1=sessionStorage['getItem'](Ct)||'[]';this['addMany'](JSON['parse'](_0x288fe1));}['_saveToSessionStorage'](){sessionStorage['setItem'](Ct,JSON['stringify'](this['map'](_0xf0c9b6=>_0xf0c9b6)));}}function kt(_0x4b1946){return _0x4b1946['toLowerCase']()['trim']();}class _0x3ce671 extends _0x5f37cd['View']{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0x4066bd,_0x1013a4,_0x1dd428=''){super(_0x4066bd),this['set']('isEnabled',!0x0),this['set']('isProcessing',!0x1),this['set']('prompt',''),this['set']('value',''),this['set']('isError',!0x1),this['set']('mainAction',_0x41f8d5['REPLACE']),this['_promptHistory']=new PromptHistory(),this['errorView']=new _0x1108af(_0x4066bd),this['contentArea']=new AIFormContentArea(_0x4066bd,_0x1dd428),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 _0x5f37cd['FocusTracker'](),this['keystrokes']=new _0x5f37cd['KeystrokeHandler'](),this['_focusables']=this['createCollection']([this['contentArea'],this['contentArea']['copyButtonView'],this['toolbar'],this['promptView']]),this['focusCycler']=new _0x5f37cd['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 _0x1e53d6=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x1013a4],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x1e53d6['if']('isError','ck-hidden',_0x638fe=>!_0x638fe)]},'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'](_0x47eaff=0x1){-0x1===_0x47eaff?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 _0x391572=this['locale'],_0x5086e4=new AIFormPromptView(_0x391572,{'queryView':{'label':_0x43b716(_0x391572,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':_0x5f37cd['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x43b716(_0x391572,'Empty\x20history'),'secondary':_0x43b716(_0x391572,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x5086e4['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x5357ef,_0x26927e)=>_0x5357ef&&!_0x26927e),this['listenTo'](_0x5086e4,'submit',(_0x1a6c89,_0xd3e2c4)=>{this['prompt']=_0xd3e2c4;const _0x502801=Tt(_0xd3e2c4);this['fire']('submitPrompt',_0x502801),_0xd3e2c4['trim']()&&this['_promptHistory']['add']({'prompt':_0x502801},0x0);},{'priority':'high'}),_0x5086e4;}['_createHistoryView'](){const _0x505a13=new AIHistoryListView(this['locale']);return _0x505a13['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](AIHistoryListItemView),_0x505a13['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x505a13;}['_createToolbar'](){const _0x15e8af=new _0x57f985(this['locale']);return _0x15e8af['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x2b8d35,_0x118cea,_0x1144f2)=>_0x2b8d35&&!_0x118cea&&!!_0x1144f2),_0x15e8af['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x15e8af['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x1a32b7,_0x1b6120,_0x3d2450)=>_0x1a32b7&&!_0x1b6120&&!!_0x3d2450),_0x15e8af['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x15e8af['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x3a13bd,_0x100c22)=>_0x3a13bd&&!_0x100c22),_0x15e8af['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x15e8af['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x15e8af['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x15e8af;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x378b85=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=_0x43b716(_0x378b85,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x3bea98){const _0x4dcaa2=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x3bea98||_0x43b716(_0x4dcaa2,'AI_ERROR_FAILED'),this['value']||(this['contentArea']['isVisible']=!0x1);}}const xt=globalThis['DataTransfer'];class AIAssistantUI extends _0x5f37cd['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[_0x5f37cd['ClipboardMarkersUtils'],AIAssistantEditing,AIAdapter,_0x5f37cd['Dialog']];}constructor(_0x246d04){super(_0x246d04),_0x246d04['config']['define']('ai.assistant.disabledElements',['media','rawHtml','tableOfContents']),_0x246d04['config']['define']('ai.assistant.contentAreaCssClass',''),_0x246d04['config']['define']('ai.assistant.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x246d04['config']['get']('ai.assistant.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x497d6f}=this;this['_aiAdapter']=_0x497d6f['plugins']['get'](AIAdapter),this['_dialog']=_0x497d6f['plugins']['get'](_0x5f37cd['Dialog']),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x33aa8e=new ShowAIAssistantCommand(_0x497d6f,Array['from'](this['_commandDefinitions']['values']()));_0x497d6f['commands']['add']('showAIAssistant',_0x33aa8e),_0x497d6f['ui']['componentFactory']['add']('aiCommands',_0x4df3a1=>{const _0x9cf7a=_0x5f37cd['createDropdown'](_0x4df3a1);return _0x9cf7a['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0x9cf7a['buttonView']['set']({'label':_0x43b716(_0x4df3a1,'AI\x20Commands'),'icon':_0x5f37cd['IconMagicWand'],'tooltip':!0x0}),_0x9cf7a['on']('execute',_0x2a3f9d=>this['_onExecute'](_0x2a3f9d['source']['id'])),_0x5f37cd['addMenuToDropdown'](_0x9cf7a,_0x497d6f['ui']['view']['body'],function(_0x5c84d3){const _0x5a454c=_0x3549f4(_0x5c84d3['config']['get']('ai.assistant.commands'),_0x5c84d3['locale']),_0xb85d79=Pt(_0x5c84d3,_0x5a454c)['filter'](_0x5af2fe=>_0x5af2fe['commands']['length']);if(0x1===_0xb85d79['length'])return Pt(_0x5c84d3,_0xb85d79[0x0]['commands'])['map'](_0x5ad0a9=>({'id':_0x5ad0a9['id'],'label':_0x5ad0a9['label']}));return _0xb85d79['map'](_0x45e04b=>{const {groupId:_0x2347c6,groupLabel:_0x5595c3,commands:_0x1432f1}=_0x45e04b,_0x741f98=Pt(_0x5c84d3,_0x1432f1)['map'](_0x36e5a6=>({'id':_0x36e5a6['id'],'label':_0x36e5a6['label']}));return{'id':_0x2347c6,'menu':_0x5595c3||_0x2347c6,'children':_0x741f98};});}(_0x497d6f),{'ariaLabel':_0x43b716(_0x4df3a1,'AI\x20Commands')}),_0x9cf7a['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x33aa8e['on']('change:enabledCommandsIds',_0x377cea),_0x9cf7a['menuView']['once']('render',_0x377cea),_0x9cf7a;function _0x377cea(){_0x9cf7a['isEnabled']=_0x33aa8e['enabledCommandsIds']['length']>0x0;for(const _0x2fc11a of _0x9cf7a['menuView']['buttons'])_0x2fc11a['isEnabled']=_0x33aa8e['enabledCommandsIds']['includes'](_0x2fc11a['id']);}}),_0x497d6f['ui']['componentFactory']['add']('menuBar:aiCommands',_0x2c5cc2=>{const _0x4e26eb=new _0x5f37cd['MenuBarMenuView'](_0x2c5cc2);_0x4e26eb['buttonView']['set']({'label':_0x43b716(_0x2c5cc2,'AI\x20Commands'),'icon':_0x5f37cd['IconMagicWand']}),_0x4e26eb['bind']('isEnabled')['to'](_0x33aa8e,'enabledCommandsIds',_0x4360f9=>_0x4360f9['length']>0x0);const _0x1aac16=_0x3549f4(_0x497d6f['config']['get']('ai.assistant.commands'),_0x2c5cc2);return this['_populateMenuBarMenu'](_0x33aa8e,_0x4e26eb,_0x1aac16,_0x273c1b=>this['_onExecute'](_0x273c1b)),_0x4e26eb;}),_0x497d6f['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x395134=this['_createAIAssistantUIButton'](_0x5f37cd['ButtonView']);return _0x395134['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x395134;}),_0x497d6f['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0x358d99=this['_createAIAssistantUIButton'](_0x5f37cd['MenuBarMenuListItemButtonView']);return _0x358d99['set']({'role':'menuitemcheckbox'}),_0x358d99;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5f06d9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x545149;for(const _0x1b4d75 in _0x5f06d9){const _0x379c8f=_0x1b4d75,_0x4eb4db=_0x5f06d9[_0x379c8f];if('aiLicenseKeyValid'==_0x4eb4db||'aiLicenseKeyInvalid'==_0x4eb4db||'aiLicenseKeyExpired'==_0x4eb4db||'aiLicenseKeyDomainLimit'==_0x4eb4db||'aiLicenseKeyNotAllowed'==_0x4eb4db||'aiLicenseKeyEvaluationLimit'==_0x4eb4db||'aiLicenseKeyUsageLimit'==_0x4eb4db){delete _0x5f06d9[_0x379c8f],_0x545149=_0x4eb4db,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0x545149&&_0x5f06d9['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0x545149&&_0x5f06d9['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0x545149&&_0x5f06d9['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0x545149&&_0x5f06d9['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0x545149&&_0x5f06d9['_showLicenseError']('evaluationLimit'),'aiLicenseKeyUsageLimit'==_0x545149&&_0x5f06d9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0x5a8652='',_0x310c09='',_0x3055a2='custom'){const _0x2ba50b=this['editor'],_0x4307e8=_0x2ba50b['editing']['view'],_0x2d510c=_0x2ba50b['plugins']['get'](AIAssistantEditing),_0x2ee0d4=_0x2ba50b['plugins']['get'](_0x5f37cd['ClipboardMarkersUtils']);_0x2d510c['showFakeVisualSelection']();const _0x320e19=new xt(),_0x3940da=new ClipboardEvent('copy',{'clipboardData':_0x320e19}),_0x492250=new _0x5f37cd['ViewDataTransfer'](_0x320e19),_0x52c6f0=new _0x5f37cd['ViewDocumentDomEventData'](_0x4307e8,_0x3940da,{'dataTransfer':_0x492250});_0x2ee0d4['_forceMarkersCopy']('comment',()=>{_0x4307e8['document']['fire']('copy',_0x52c6f0);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new AIAssistantController(_0x2ba50b,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x300903=_0x492250['getData']('text/html');const _0x40d1d1=_0x2ba50b['model']['document']['selection'],_0x1abdac=Array['from'](_0x40d1d1['getRanges']());0x1===_0x1abdac['length']&&_0x1abdac[0x0]['isFlat']&&!_0x40d1d1['getSelectedElement']()&&''!==_0x300903['replace'](/&nbsp;/g,'')['trim']()&&(_0x300903='<p>'+_0x300903+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x3055a2,'query':_0x5a8652,'htmlContent':_0x300903,'label':_0x310c09,'mainActionLabel':_0x41f8d5[_0x2ba50b['model']['document']['selection']['isCollapsed']?'INSERT':'REPLACE']}),'aiAssistant'!==this['_dialog']['id']?this['_dialog']['show']({'id':'aiAssistant','icon':_0x5f37cd['IconRobotPencil'],'title':_0x43b716(this['editor']['locale'],'AI\x20Assistant'),'content':this['_formView'],'position':_0x5f37cd['DialogViewPosition']['EDITOR_TOP_SIDE'],'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_aiAssistantController']['reset'](),_0x2d510c['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_getResolvedCommandsDefinitions'](){const _0x3946e7=new Map(),_0x2a2500=_0x3549f4(this['editor']['config']['get']('ai.assistant.commands'),this['editor']['locale']);for(const _0x35146b of _0x2a2500)for(const _0x1b8a1e of _0x35146b['commands'])_0x3946e7['set'](_0x1b8a1e['id'],{..._0x1b8a1e,'groupId':_0x35146b['groupId'],'groupLabel':_0x35146b['groupLabel']||_0x35146b['groupId']});return _0x3946e7;}['_createAIAssistantUIButton'](_0x2ebdc9){const _0x382720=this['editor'],_0x277287=_0x382720['commands']['get']('showAIAssistant'),_0x32735f=new _0x2ebdc9(_0x382720['locale']);return _0x32735f['set']({'label':_0x43b716(_0x382720['locale'],'AI\x20Assistant'),'icon':_0x5f37cd['IconRobotPencil'],'isToggleable':!0x0}),_0x32735f['bind']('isEnabled')['to'](_0x277287),_0x32735f['bind']('isOn')['to'](this['_dialog'],'id',_0x59a9d8=>'aiAssistant'===_0x59a9d8),this['listenTo'](_0x32735f,'execute',()=>{_0x32735f['isOn']?this['hideUI']():_0x277287['execute']();}),_0x32735f;}['_initView'](){const _0x3418cf=this['editor']['plugins']['get'](AIAssistantEditing);this['_formView']=new _0x3ce671(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',()=>{_0x3418cf['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x3418cf['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x504a05,ui:{ariaLiveAnnouncer:_0xe8c14f}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x899c16,_0x20d9b2,_0x29db5a)=>{const _0x12335c=this['_aiAssistantController']['currentContext'];_0x29db5a?_0xe8c14f['announce'](_0x43b716(_0x504a05,'AI\x20is\x20writing')):_0x12335c&&_0xe8c14f['announce'](_0x43b716(_0x504a05,'Generated\x20content:\x20%0',_0x12335c),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0xdf2180,_0x392974,_0x46c29f)=>{if(_0x46c29f){const _0x244897=this['_formView']['errorView']['text'];_0xe8c14f['announce'](_0x43b716(_0x504a05,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x244897));}});}['_onExecute'](_0x87b8a9){const _0x4783f2=this['_commandDefinitions']['get'](_0x87b8a9),_0x3599b7=this['editor'],_0x3ef299=_0x3599b7['model']['document']['selection'],_0x4d61a3=_0x3599b7['commands']['get']('showAIAssistant'),_0x322b0a=_0x3599b7['plugins']['get'](AIAssistantEditing),_0x59e4a=''+(_0x4783f2['groupId']!==_0x832455?_0x4783f2['groupLabel']+':\x20':'')+_0x4783f2['label'];if(!0x1!==_0x4783f2['requiresContent']&&_0x3ef299['isCollapsed']){const _0x19efbf=_0x5f37cd['first'](_0x3ef299['getSelectedBlocks']())||_0x3599b7['model']['schema']['getLimitElement'](_0x3ef299);_0x3599b7['model']['change'](_0x439e1a=>{_0x439e1a['setSelection'](_0x19efbf,'in');});}_0x322b0a['showFakeVisualSelection'](),_0x4d61a3['execute'](_0x4783f2['prompt'],_0x59e4a,'command:'+_0x87b8a9);}['_populateMenuBarMenu'](_0x2807a6,_0x4f5646,_0x2e4cbb,_0x31531d){const _0x5bf31c=this['editor'],_0x270d5c=_0x5bf31c['locale'],_0x5e54d6=new _0x5f37cd['MenuBarMenuListView'](_0x270d5c),_0x357a32=Pt(_0x5bf31c,_0x2e4cbb)['filter'](_0x4c5f3b=>_0x4c5f3b['commands']['length']);0x1===_0x357a32['length']?this['_getMenuBarGroupButtons']({'command':_0x2807a6,'commands':_0x357a32[0x0]['commands'],'parentMenuView':_0x4f5646,'onExecute':_0x31531d})['forEach'](_0x598c66=>_0x5e54d6['items']['add'](_0x598c66)):_0x357a32['forEach'](({groupId:_0x4f3ac4,groupLabel:_0x450fdf,commands:_0x2ebe3e})=>{const _0x103e52=new _0x5f37cd['MenuBarMenuListItemView'](_0x270d5c,_0x4f5646),_0x31a6ab=new _0x5f37cd['MenuBarMenuView'](_0x270d5c),_0x5a2dc0=new _0x5f37cd['MenuBarMenuListView'](_0x270d5c),_0xe63d5c=this['_getMenuBarGroupButtons']({'command':_0x2807a6,'commands':_0x2ebe3e,'parentMenuView':_0x31a6ab,'onExecute':_0x31531d});_0x31a6ab['buttonView']['set']({'label':_0x450fdf||_0x4f3ac4}),_0x31a6ab['delegate']('execute')['to'](_0x4f5646),_0x5a2dc0['items']['addMany'](_0xe63d5c),_0x31a6ab['panelView']['children']['add'](_0x5a2dc0),_0x103e52['children']['add'](_0x31a6ab),_0x5e54d6['items']['add'](_0x103e52);}),_0x4f5646['panelView']['children']['add'](_0x5e54d6);}['_getMenuBarGroupButtons']({command:_0x210fe2,commands:_0x336bfa,parentMenuView:_0x35276d,onExecute:_0x50679d}){const _0xdeb70a=this['editor'],_0x5e2473=_0xdeb70a['locale'];return Pt(_0xdeb70a,_0x336bfa)['map'](_0x37ba8d=>{const _0x3be3ad=new _0x5f37cd['MenuBarMenuListItemView'](_0x5e2473,_0x35276d),_0x2f828c=new _0x5f37cd['MenuBarMenuListItemButtonView'](_0x5e2473);return _0x2f828c['set']({'label':_0x37ba8d['label']}),_0x2f828c['delegate']('execute')['to'](_0x35276d),_0x2f828c['on']('execute',()=>_0x50679d(_0x37ba8d['id'])),_0x2f828c['bind']('isEnabled')['to'](_0x210fe2,'enabledCommandsIds',_0x12b106=>_0x12b106['includes'](_0x37ba8d['id'])),_0x3be3ad['children']['add'](_0x2f828c),_0x3be3ad;});}}function Rt(_0x36ac36,_0xf03ff8){return void 0x0!==_0x36ac36['order']&&void 0x0===_0xf03ff8['order']?0x1:void 0x0===_0x36ac36['order']&&void 0x0!==_0xf03ff8['order']?-0x1:void 0x0!==_0x36ac36['order']&&void 0x0!==_0xf03ff8['order']?_0x36ac36['order']-_0xf03ff8['order']:0x0;}function Pt(_0x494b0c,_0x17cc8c){_0x17cc8c['sort'](Rt);const _0x48a9f5={},_0x5b6a5a=[];for(const _0x222f45 of _0x17cc8c)if(void 0x0!==_0x222f45['order']){if(_0x222f45['order']in _0x48a9f5)throw new _0x5f37cd['CKEditorError']('ai-commands-config-order-collision',_0x494b0c,{'conflictingDefinitions':[_0x222f45,_0x48a9f5[_0x222f45['order']]]});_0x48a9f5[_0x222f45['order']]=_0x222f45,_0x5b6a5a['splice'](_0x222f45['order'],0x0,_0x222f45);}else _0x5b6a5a['push'](_0x222f45);return _0x5b6a5a;}class AIAssistant extends _0x5f37cd['Plugin']{static get['requires'](){return[AIAssistantUI,AIAssistantEditing];}static get['pluginName'](){return'AIAssistant';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x58852c){super(_0x58852c);const _0x3050c6=_0x58852c['config'],_0x15477b=_0x58852c['locale'];_0x3050c6['define']('ai.assistant.preserveComments',!0x0),_0x3050c6['define']('ai.assistant.commands',Mt(_0x15477b)),_0x3050c6['define']('ai.assistant.extraCommandGroups',[]),_0x3050c6['define']('ai.assistant.removeCommands',[]);let _0x194917=_0x3549f4(_0x3050c6['get']('ai.assistant.commands'),_0x15477b);const _0x4fd16e=_0x3050c6['get']('ai.assistant.extraCommandGroups'),_0x2426ac=_0x3050c6['get']('ai.assistant.removeCommands');_0x4fd16e['forEach'](_0x25b1e5=>{const _0xabfb27=_0x194917['find'](_0x3169b4=>_0x3169b4['groupId']===_0x25b1e5['groupId']);_0xabfb27?_0xabfb27['commands']=_0xabfb27['commands']['concat'](_0x25b1e5['commands']):_0x194917['push'](_0x25b1e5);}),_0x194917=_0x194917['filter'](_0x151122=>!_0x2426ac['includes'](_0x151122['groupId'])),_0x194917['forEach'](_0x3d9291=>{_0x3d9291['commands']=_0x3d9291['commands']['filter'](_0x1d7fe4=>!_0x2426ac['includes'](_0x1d7fe4['id']));}),_0x3050c6['set']('ai.assistant.commands',_0x194917);}}function Mt(_0x44ed6e){return[{'groupId':'editOrReview','groupLabel':_0x43b716(_0x44ed6e,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':_0x43b716(_0x44ed6e,'Improve\x20writing'),'prompt':'Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.'},{'id':'makeShorter','label':_0x43b716(_0x44ed6e,'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':_0x43b716(_0x44ed6e,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':_0x43b716(_0x44ed6e,'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':_0x43b716(_0x44ed6e,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':_0x43b716(_0x44ed6e,'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':_0x43b716(_0x44ed6e,'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':_0x43b716(_0x44ed6e,'Change\x20tone'),'commands':[{'id':'professional','label':_0x43b716(_0x44ed6e,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':_0x43b716(_0x44ed6e,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':_0x43b716(_0x44ed6e,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':_0x43b716(_0x44ed6e,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':_0x43b716(_0x44ed6e,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':_0x43b716(_0x44ed6e,'Change\x20style'),'commands':[{'id':'business','label':_0x43b716(_0x44ed6e,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':_0x43b716(_0x44ed6e,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':_0x43b716(_0x44ed6e,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':_0x43b716(_0x44ed6e,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':_0x43b716(_0x44ed6e,'Translate'),'commands':[{'id':'translateEnglish','label':_0x43b716(_0x44ed6e,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':_0x43b716(_0x44ed6e,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':_0x43b716(_0x44ed6e,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':_0x43b716(_0x44ed6e,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':_0x43b716(_0x44ed6e,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':_0x43b716(_0x44ed6e,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':_0x43b716(_0x44ed6e,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':_0x43b716(_0x44ed6e,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}class AITextAdapter extends _0x5f37cd['Plugin']{['abortController'];static get['requires'](){return[AIAdapter];}constructor(_0x3f636c){super(_0x3f636c),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'](_0x3c2556){return this['sendRequest'](_0x3c2556)['catch'](_0x320741=>{if(_0x320741 instanceof AIRequestError)return Promise['reject'](_0x320741);if('AbortError'==_0x320741['name'])return Promise['resolve']();throw console['error'](_0x320741),new _0x5f37cd['CKEditorError']('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x5cf5d0,_0x1e840e){const _0x35746d=this['editor']['locale'],_0x2159bd={'Content-Type':'application/json'};if('object'==typeof _0x5cf5d0)Object['assign'](_0x2159bd,_0x5cf5d0);else{if(_0x5cf5d0)try{const _0x489f54=await _0x5cf5d0(_0x1e840e);Object['assign'](_0x2159bd,_0x489f54);}catch{return Promise['reject'](new AIRequestError(_0x43b716(_0x35746d,'AI_ERROR_GET_HEADERS')));}}return _0x2159bd;}async['_prepareRequestParameters'](_0x46f98b,_0x2b7783){const _0x26ad27=this['editor']['locale'];if('object'==typeof _0x46f98b)return _0x46f98b;try{return await _0x46f98b(_0x2b7783);}catch{return Promise['reject'](new AIRequestError(_0x43b716(_0x26ad27,'AI_ERROR_GET_PARAMETERS')));}}}class TabButtonView extends _0x5f37cd['ButtonView']{constructor(_0x1e4a8a,_0x41d72b={}){super(_0x1e4a8a),this['isToggleable']=!0x0,this['set']('side',_0x41d72b['side']||'top');const _0x5b0b25=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-tab-button',..._0x5f37cd['toArray'](_0x41d72b['class']||[]),_0x5b0b25['to']('side',_0x35d624=>'ck-tab-button_'+_0x35d624),_0x5b0b25['to']('class')]}});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x136305 extends _0x5f37cd['View']{['children'];constructor(_0x55c1c4,_0x237624={}){super(_0x55c1c4);const _0x2f089b=this['bindTemplate'];this['set']('isVisible',!0x1),this['set']('class',''),this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-tab-panel',..._0x5f37cd['toArray'](_0x237624['class']||[]),_0x2f089b['to']('class'),_0x2f089b['if']('isVisible','ck-hidden',_0xbd3e18=>!_0xbd3e18)]},'children':this['children']});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x15c4e7 extends _0x5f37cd['View']{['buttonViews']=this['createCollection']();['panelViews']=this['createCollection']();['_tabs']=new Map();constructor(_0x138011,_0x3ba6c8={}){super(_0x138011),this['set']('class',void 0x0),this['set']('activeTab',null),this['set']('side',_0x3ba6c8['side']||'top'),this['set']('isMaximized',!0x1),this['set']('collapsible',_0x3ba6c8['collapsible']||!0x1),this['set']('_isMaximizedActive',!0x1),this['bind']('_isMaximizedActive')['to'](this,'isMaximized',this,'activeTab',(_0x2f8129,_0x3a17ec)=>_0x2f8129&&null!==_0x3a17ec);const _0x2f5647=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-tabs',..._0x5f37cd['toArray'](_0x3ba6c8['class']||[]),_0x2f5647['to']('side',_0x363c0e=>'ck-tabs_'+_0x363c0e),_0x2f5647['to']('class'),_0x2f5647['if']('_isMaximizedActive','ck-ai-tabs_maximized'),_0x2f5647['to']('activeTab',_0x4a1b15=>null===_0x4a1b15?'ck-ai-tabs_collapsed':'')],'tabindex':'0'},'children':[{'tag':'div','attributes':{'class':['ck','ck-tabs__buttons-container',_0x2f5647['to']('side',_0x4ca176=>'ck-tabs__buttons-container_'+_0x4ca176)]},'children':this['buttonViews']},{'tag':'div','attributes':{'class':['ck','ck-tabs__panels-container',_0x2f5647['to']('side',_0x1167bd=>'ck-tabs__panels-container_'+_0x1167bd)]},'children':this['panelViews']},..._0x5f37cd['toArray'](_0x3ba6c8['children']||[])]});}['getTabIds'](){return[...this['_tabs']['keys']()];}['getTab'](_0x4ee979){const _0x39310b=this['_tabs']['get'](_0x4ee979);return _0x39310b||null;}['addTab'](_0x1fa1c7){const _0x1c4f17=this['_setupButton']({'id':_0x1fa1c7['id'],'label':_0x1fa1c7['buttonLabel'],'icon':_0x1fa1c7['buttonIcon'],'order':_0x1fa1c7['order']}),_0x1367d9=new _0x136305(this['locale']);return _0x1367d9['render'](),_0x1fa1c7['content']&&_0x1367d9['children']['add'](_0x1fa1c7['content']),this['panelViews']['add'](_0x1367d9),this['_tabs']['set'](_0x1fa1c7['id'],{'button':_0x1c4f17,'panel':_0x1367d9,'order':void 0x0!==_0x1fa1c7['order']?_0x1fa1c7['order']:null}),this['fire']('addTab:'+_0x1fa1c7['id'],{'id':_0x1fa1c7['id'],'button':_0x1c4f17,'panel':_0x1367d9}),null===this['activeTab']?this['activateTab'](_0x1fa1c7['id']):this['_hidePanel'](_0x1fa1c7['id']),{'button':_0x1c4f17,'panel':_0x1367d9};}['activateTab'](_0x670043){if(null!==_0x670043&&!this['getTab'](_0x670043))throw new _0x5f37cd['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x670043});if(this['activeTab']===_0x670043)return;const _0x497c70=this['activeTab'];this['activeTab']&&this['_hidePanel'](this['activeTab']),this['activeTab']=_0x670043,_0x670043&&this['_showPanel'](_0x670043),this['fire']('activateTab:'+_0x670043,{'newTab':_0x670043,'oldTab':_0x497c70});}['toggleTabPanel'](_0x2286b1){if(!this['getTab'](_0x2286b1))throw new _0x5f37cd['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x2286b1});this['activeTab']===_0x2286b1?this['collapsible']&&(this['activeTab']=null):this['activateTab'](_0x2286b1);}['showTab'](_0x5d4b67){if(!this['getTab'](_0x5d4b67))throw new _0x5f37cd['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x5d4b67});this['_showPanel'](_0x5d4b67),this['_showButton'](_0x5d4b67),this['fire']('show:'+_0x5d4b67,_0x5d4b67);}['hideTab'](_0x1ff695){if(!this['getTab'](_0x1ff695))throw new _0x5f37cd['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x1ff695});const _0x3b8143=this['activeTab'];this['_hidePanel'](_0x1ff695),this['_hideButton'](_0x1ff695);const _0x77a241=this['getTabIds']();_0x3b8143===_0x1ff695&&_0x77a241['length']>0x1&&this['activateTab'](_0x77a241['find'](_0x5b32ea=>_0x5b32ea!==_0x1ff695)),this['fire']('hide:'+_0x1ff695,_0x1ff695);}['_getPanel'](_0x39c486){const _0x3ed6ad=this['_tabs']['get'](_0x39c486);return _0x3ed6ad?_0x3ed6ad['panel']:null;}['_showPanel'](_0x3190b5){null!==this['activeTab']&&this['activeTab']!==_0x3190b5||this['_getPanel'](_0x3190b5)['show']();}['_hidePanel'](_0x4d5235){const _0x109fc1=this['_getPanel'](_0x4d5235);_0x109fc1['isVisible']&&(this['activeTab']===_0x4d5235&&(this['activeTab']=null),_0x109fc1['hide']());}['_getButton'](_0x5ca8f6){const _0x489857=this['_tabs']['get'](_0x5ca8f6);return _0x489857?_0x489857['button']:null;}['_showButton'](_0x87bf8d){this['_getButton'](_0x87bf8d)['show']();}['_hideButton'](_0x321ae0){this['_getButton'](_0x321ae0)['hide']();}['_setupButton'](_0x19def0){const _0x21c83b=new TabButtonView(this['locale'],{'side':this['side']}),_0x37b46c=this['buttonViews'];if(_0x21c83b['set']({'label':_0x19def0['label'],'icon':_0x19def0['icon'],'tooltip':!0x0,'withText':!0x0}),_0x21c83b['bind']('isOn')['to'](this,'activeTab',_0x19babf=>_0x19babf===_0x19def0['id']),_0x21c83b['bind']('side')['to'](this,'side'),_0x19def0['order']){const _0x2e5828=[...this['_tabs']]['reduce']((_0x345ed7,_0x5543da)=>{const _0x3de8e3=_0x5543da[0x0],{order:_0x18190a}=_0x5543da[0x1];return!_0x18190a||_0x18190a>_0x19def0['order']?_0x345ed7:_0x18190a>=_0x345ed7['order']?{'id':_0x3de8e3,'order':_0x18190a}:_0x345ed7;},{'id':'','order':0x0}),_0x268b41=_0x37b46c['getIndex'](this['_getButton'](_0x2e5828['id']));_0x37b46c['add'](_0x21c83b,_0x268b41+0x1);}else _0x37b46c['add'](_0x21c83b);return _0x21c83b['on']('execute',()=>{this['toggleTabPanel'](_0x19def0['id']);}),_0x21c83b;}}const Nt=['overlay','sidebar','custom'],Lt=['left','right'];class _0x147c54 extends _0x15c4e7{constructor(_0x523a5c,_0x36bf93={}){super(_0x523a5c,_0x36bf93),this['set']('type',_0x36bf93['type']||'sidebar'),this['set']('side',_0x36bf93['side']||'right'),this['set']('isVisible',_0x36bf93['visibleByDefault']??!0x0);const _0x5db1af=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-tabs',_0x5db1af['if']('type','ck-ai-tabs__overlay',_0xebde6e=>'overlay'===_0xebde6e),_0x5db1af['if']('type','ck-ai-tabs__sidebar',_0x52909e=>'sidebar'===_0x52909e),_0x5db1af['if']('isVisible','ck-hidden',_0x12f44d=>!_0x12f44d)]}}),this['buttonViews']['on']('add',(_0x5220e8,_0xa8e386)=>{_0xa8e386['set']('withText',!0x1);});}}class _0x3df542 extends _0x5f37cd['ContextPlugin']{['view'];['container']=null;['showResizeButton']=!0x0;static get['pluginName'](){return'AITabs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xd365a1){if(super(_0xd365a1),!this['context']['config']['get']('ai.container'))throw new _0x5f37cd['CKEditorError']('ai-tabs-configuration-not-found');this['context']['config']['define']('ai.container.visibleByDefault',!0x0),this['context']['config']['define']('ai.container.collapsible',!0x1);const _0x23cd55=this['context']['config']['get']('ai.container');if(this['set']('side','right'),void 0x0!==_0x23cd55['showResizeButton']&&(this['showResizeButton']=_0x23cd55['showResizeButton']),'sidebar'!==_0x23cd55['type']&&'overlay'!==_0x23cd55['type']||_0x23cd55['side']&&(this['side']=_0x23cd55['side']),'sidebar'===_0x23cd55['type']){if(this['container']=_0x23cd55['element'],this['set']('type','sidebar'),!this['container'])throw new _0x5f37cd['CKEditorError']('ai-tabs-sidebar-container-element-not-found');}else'overlay'===_0x23cd55['type']?(this['container']=document['body'],this['set']('type','overlay')):(this['container']=null,this['set']('type','custom'));this['view']=new _0x147c54(this['context']['locale'],{'side':this['side'],'type':this['type'],'visibleByDefault':_0x23cd55['visibleByDefault'],'collapsible':_0x23cd55['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 _0x5f37cd['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'](_0x2215cc){if(_0x2215cc&&this['type']!==_0x2215cc){if(!Nt['includes'](_0x2215cc))throw new _0x5f37cd['CKEditorError']('ai-tabs-unsupported-ui-type');this['type']=_0x2215cc;}}['switchSide'](_0x2782ae){if(_0x2782ae&&this['side']!==_0x2782ae){if(!Lt['includes'](_0x2782ae))throw new _0x5f37cd['CKEditorError']('ai-tabs-unsupported-ui-side');this['side']=_0x2782ae;}}['destroy'](){super['destroy'](),this['view']['destroy'](),this['view']['element']&&this['view']['element']['remove']();}}class _0xbf1ab6 extends Error{constructor(_0x3b0278,_0x27aaa4){super(_0x3b0278),this['name']='ParseError',this['type']=_0x27aaa4['type'],this['field']=_0x27aaa4['field'],this['value']=_0x27aaa4['value'],this['line']=_0x27aaa4['line'];}}function $t(_0x5568fe){}function Dt(_0x4c38fa){if('function'==typeof _0x4c38fa)throw new TypeError('`callbacks`\x20must\x20be\x20an\x20object,\x20got\x20a\x20function\x20instead.\x20Did\x20you\x20mean\x20`{onEvent:\x20fn}`?');const {onEvent:_0x270e66=$t,onError:_0x446bbb=$t,onRetry:_0x2fa8a0=$t,onComment:_0x30facc}=_0x4c38fa;let _0x691bf5,_0x1b559c='',_0x573f32=!0x0,_0x5141a6='',_0x17561b='';function _0x2413e7(_0x57e8e6){if(''===_0x57e8e6)return _0x5141a6['length']>0x0&&_0x270e66({'id':_0x691bf5,'event':_0x17561b||void 0x0,'data':_0x5141a6['endsWith']('\x0a')?_0x5141a6['slice'](0x0,-0x1):_0x5141a6}),_0x691bf5=void 0x0,_0x5141a6='',void(_0x17561b='');if(_0x57e8e6['startsWith'](':'))return void(_0x30facc&&_0x30facc(_0x57e8e6['slice'](_0x57e8e6['startsWith'](':\x20')?0x2:0x1)));const _0x23b890=_0x57e8e6['indexOf'](':');if(-0x1!==_0x23b890){const _0x502ea8=_0x57e8e6['slice'](0x0,_0x23b890),_0x15f04d='\x20'===_0x57e8e6[_0x23b890+0x1]?0x2:0x1;return void _0xbc25c7(_0x502ea8,_0x57e8e6['slice'](_0x23b890+_0x15f04d),_0x57e8e6);}_0xbc25c7(_0x57e8e6,'',_0x57e8e6);}function _0xbc25c7(_0x22c8b8,_0x171acc,_0x13b9f9){switch(_0x22c8b8){case'event':_0x17561b=_0x171acc;break;case'data':_0x5141a6=''+_0x5141a6+_0x171acc+'\x0a';break;case'id':_0x691bf5=_0x171acc['includes']('\x00')?void 0x0:_0x171acc;break;case'retry':/^\d+$/['test'](_0x171acc)?_0x2fa8a0(parseInt(_0x171acc,0xa)):_0x446bbb(new _0xbf1ab6('Invalid\x20`retry`\x20value:\x20\x22'+_0x171acc+'\x22',{'type':'invalid-retry','value':_0x171acc,'line':_0x13b9f9}));break;default:_0x446bbb(new _0xbf1ab6('Unknown\x20field\x20\x22'+(_0x22c8b8['length']>0x14?_0x22c8b8['slice'](0x0,0x14)+'…':_0x22c8b8)+'\x22',{'type':'unknown-field','field':_0x22c8b8,'value':_0x171acc,'line':_0x13b9f9}));}}return{'feed':function(_0x23b7b0){const _0x5ddd28=_0x573f32?_0x23b7b0['replace'](/^\xEF\xBB\xBF/,''):_0x23b7b0,[_0x4da2e4,_0x560d7d]=function(_0x4a2d91){const _0x53976d=[];let _0x57afc3='',_0x125bb5=0x0;for(;_0x125bb5<_0x4a2d91['length'];){const _0x5695ed=_0x4a2d91['indexOf']('\x0d',_0x125bb5),_0x24ad7e=_0x4a2d91['indexOf']('\x0a',_0x125bb5);let _0xdef548=-0x1;if(-0x1!==_0x5695ed&&-0x1!==_0x24ad7e?_0xdef548=Math['min'](_0x5695ed,_0x24ad7e):-0x1!==_0x5695ed?_0xdef548=_0x5695ed:-0x1!==_0x24ad7e&&(_0xdef548=_0x24ad7e),-0x1===_0xdef548){_0x57afc3=_0x4a2d91['slice'](_0x125bb5);break;}{const _0x3b4b0d=_0x4a2d91['slice'](_0x125bb5,_0xdef548);_0x53976d['push'](_0x3b4b0d),_0x125bb5=_0xdef548+0x1,'\x0d'===_0x4a2d91[_0x125bb5-0x1]&&'\x0a'===_0x4a2d91[_0x125bb5]&&_0x125bb5++;}}return[_0x53976d,_0x57afc3];}(''+_0x1b559c+_0x5ddd28);for(const _0x26e96e of _0x4da2e4)_0x2413e7(_0x26e96e);_0x1b559c=_0x560d7d,_0x573f32=!0x1;},'reset':function(_0x200a0e={}){_0x1b559c&&_0x200a0e['consume']&&_0x2413e7(_0x1b559c),_0x573f32=!0x0,_0x691bf5=void 0x0,_0x5141a6='',_0x17561b='',_0x1b559c='';}};}class AIConnector extends _0x5f37cd['ContextPlugin']{['_apiUrl'];get['_apiUrlV11'](){return this['_apiUrl']['replace'](/\/v1$/,'/v1.1');}['_token'];['_decoder'];['_responseCache'];static get['requires'](){return[_0x5f37cd['CloudServices']];}static get['pluginName'](){return'AIConnector';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xb8f453){if(super(_0xb8f453),this['context']['config']['define']('ai.serviceUrl','https://ai.cke-cs.com/v1'),this['_apiUrl']=this['context']['config']['get']('ai.serviceUrl')['replace'](/\/+$/,''),!this['_apiUrl']['endsWith']('/v1'))throw new _0x5f37cd['CKEditorError']('ai-service-url-invalid-version',this,{'serviceUrl':this['_apiUrl']});this['_token']=null,this['_decoder']=new TextDecoder(),this['_responseCache']=new Map();}['init'](){const _0x3d2b1c=this['context']['plugins']['get'](_0x5f37cd['CloudServices']);if(!_0x3d2b1c['token'])throw new _0x5f37cd['CKEditorError']('ai-missing-token',this);this['_token']=_0x3d2b1c['token'];}['startConversation'](_0x10b254,_0x58df69){const _0x443384=this['_sendApiRequest']('/conversations','POST',{'id':_0x10b254,'group':_0x58df69});return{'getConversation':async()=>(await _0x443384['request'])['json'](),'abortController':_0x443384['abortController']};}['queryAssistant']({message:_0x333ab4,conversationId:_0x4f877e,parts:_0x50bbdd,capabilities:_0x1d8b88,model:_0xe40c15,attributes:_0x3df21a}){const _0x1b6cc2={'prompt':_0x333ab4,'content':_0x50bbdd,'model':_0xe40c15,..._0x1d8b88&&{'capabilities':_0x1d8b88},..._0x3df21a&&{'attributes':_0x3df21a}},_0x935624=this['_sendApiRequest']('/conversations/'+_0x4f877e+'/messages','POST',_0x1b6cc2,{'apiUrl':this['_apiUrlV11']});return{'getStream':async()=>{const _0x3fe176=(await _0x935624['request'])['body'];return this['_getStreamReader'](_0x3fe176);},'abortController':_0x935624['abortController']};}['executeCustomAction']({content:_0x57ba24,message:_0x53ffb4,model:_0x4bab90,outputFormat:_0x578b4e}){const _0x3940db={'content':[{'type':'text','content':_0x57ba24}],'prompt':_0x53ffb4,'model':_0x4bab90,'outputFormat':_0x578b4e},_0xeaa24b=this['_sendApiRequest']('/actions/custom/calls','POST',_0x3940db);return{'getStream':async()=>{const _0x2624c5=(await _0xeaa24b['request'])['body'];return this['_getStreamReader'](_0x2624c5);},'abortController':_0xeaa24b['abortController']};}['executeAction']({actionName:_0x234527,content:_0x23622a,args:_0xec4d1c}){const _0x45f72a={'content':[{'type':'text','content':_0x23622a}],'args':_0xec4d1c},_0x676ae=this['_sendApiRequest']('/actions/system/'+_0x234527+'/calls','POST',_0x45f72a);return{'getStream':async()=>{const _0x127dd2=(await _0x676ae['request'])['body'];return this['_getStreamReader'](_0x127dd2);},'abortController':_0x676ae['abortController']};}['uploadFile'](_0x1f3c04,_0x558725,_0x574aa9){const _0xe58f47=new FormData();_0xe58f47['append']('file',_0x558725,_0x558725['name']),_0x574aa9&&_0xe58f47['append']('attributes',JSON['stringify'](_0x574aa9));const _0x45ecd6=this['_sendApiRequest']('/conversations/'+_0x1f3c04+'/files','POST',_0xe58f47);return{'getId':async()=>(await _0x45ecd6['request'])['json'](),'abortController':_0x45ecd6['abortController']};}['fetchDocument'](_0x28d23e,_0x411c66){const _0x5c03cd=this['_sendApiRequest']('/conversations/'+_0x28d23e+'/documents/'+_0x411c66,'GET');return{'getDocument':async()=>(await _0x5c03cd['request'])['json'](),'abortController':_0x5c03cd['abortController']};}['uploadDocument'](_0x42b2bd,_0x41dc6f,_0x3c7ad2){const _0x54f77b={'content':_0x41dc6f};_0x3c7ad2&&(_0x54f77b['attributes']=_0x3c7ad2);const _0xbb7b3a=this['_sendApiRequest']('/conversations/'+_0x42b2bd+'/documents','POST',_0x54f77b);return{'getId':async()=>(await _0xbb7b3a['request'])['json'](),'abortController':_0xbb7b3a['abortController']};}['uploadDocuments'](_0x598e84,_0x3d1e67){const _0x2c381c={'documents':_0x3d1e67['map'](_0x14bc14=>({'content':_0x14bc14['content'],'attributes':{'version':_0x14bc14['version'],'sessionId':_0x14bc14['sessionId'],'channelId':_0x14bc14['channelId'],'rootName':_0x14bc14['rootName'],'selections':_0x14bc14['selections']},...void 0x0!==_0x14bc14['name']?{'name':_0x14bc14['name']}:{},...void 0x0!==_0x14bc14['description']?{'description':_0x14bc14['description']}:{}}))},_0x188d0e=this['_sendApiRequest']('/conversations/'+_0x598e84+'/documents/batch','POST',_0x2c381c);return{'getIds':async()=>(await _0x188d0e['request'])['json'](),'abortController':_0x188d0e['abortController']};}['fetchDocuments'](_0x1848ee,_0x2a4b7b){const _0x461a86=new URLSearchParams();_0x461a86['append']('documentIds',_0x2a4b7b['join'](','));const _0x1150f3=this['_sendApiRequest']('/conversations/'+_0x1848ee+'/documents/batch?'+_0x461a86['toString'](),'GET');return{'getDocuments':async()=>(await _0x1150f3['request'])['json'](),'abortController':_0x1150f3['abortController']};}['fetchConversations'](_0x10e011,_0x592cfd={}){const _0x4f7e6e=new URLSearchParams();_0x4f7e6e['append']('group',_0x10e011),_0x4f7e6e['append']('excludeEmpty',!0x1!==_0x592cfd['excludeEmpty']?'true':'false'),_0x4f7e6e['append']('limit',_0x592cfd['limit']?_0x592cfd['limit']['toString']():'100'),_0x4f7e6e['append']('sortBy',_0x592cfd['sortBy']?_0x592cfd['sortBy']:'createdAt'),_0x4f7e6e['append']('order',_0x592cfd['order']?_0x592cfd['order']:'desc');const _0x257c4b=this['_sendApiRequest']('/conversations?'+_0x4f7e6e['toString'](),'GET');return{'getConversations':async()=>{const _0x33ddee=await _0x257c4b['request'];return(await _0x33ddee['json']())['items'];},'abortController':_0x257c4b['abortController']};}['deleteConversation'](_0x39e787){const _0x268fe4=this['_sendApiRequest']('/conversations/'+_0x39e787,'DELETE');return{'execute':async()=>{await _0x268fe4['request'];},'abortController':_0x268fe4['abortController']};}['updateConversation'](_0x33b8cf,_0x520604){const _0x52e73d=this['_sendApiRequest']('/conversations/'+_0x33b8cf,'PATCH',_0x520604);return{'getResult':async()=>(await _0x52e73d['request'],_0x520604),'abortController':_0x52e73d['abortController']};}['fetchConversation'](_0xec90f){const _0x3bb3a2=this['_sendApiRequest']('/conversations/'+_0xec90f,'GET');return{'getConversation':async()=>(await _0x3bb3a2['request'])['json'](),'abortController':_0x3bb3a2['abortController']};}['fetchConversationMessages'](_0x416a33){const _0x276ebe=this['_sendApiRequest']('/conversations/'+_0x416a33+'/messages','GET',void 0x0,{'apiUrl':this['_apiUrlV11']});return{'getMessages':async()=>{const _0x5f2f82=await _0x276ebe['request'];return(await _0x5f2f82['json']())['items'];},'abortController':_0x276ebe['abortController']};}['uploadUrl'](_0x36331f,_0x779fb9,_0x388dfa){const _0x243534=this['_sendApiRequest']('/conversations/'+_0x36331f+'/web-resources','POST',{'url':_0x779fb9,'attributes':_0x388dfa});return{'getId':async()=>(await _0x243534['request'])['json'](),'abortController':_0x243534['abortController']};}['getModels'](_0xadc3b9='en'){const _0x4d10d5=new URLSearchParams();_0x4d10d5['append']('language',_0xadc3b9);const _0x681c38='/models/1?'+_0x4d10d5['toString'](),_0x1113ce=this['_sendApiRequest'](_0x681c38,'GET',void 0x0,{'useCache':!0x0});return{'list':async()=>await(await _0x1113ce['request'])['json'](),'abortController':_0x1113ce['abortController']};}['deleteFile'](_0x3dc1a2,_0x3d722f){const _0x552d38=this['_sendApiRequest']('/conversations/'+_0x3dc1a2+'/files/'+_0x3d722f,'DELETE');return{'execute':async()=>{await _0x552d38['request'];},'abortController':_0x552d38['abortController']};}['deleteDocument'](_0x534100,_0x8d22c6){const _0x5560e7=this['_sendApiRequest']('/conversations/'+_0x534100+'/documents/'+_0x8d22c6,'DELETE');return{'execute':async()=>{await _0x5560e7['request'];},'abortController':_0x5560e7['abortController']};}['deleteWebResource'](_0x5115b9,_0x1fa515){const _0xe69cfc=this['_sendApiRequest']('/conversations/'+_0x5115b9+'/web-resources/'+_0x1fa515,'DELETE');return{'execute':async()=>{await _0xe69cfc['request'];},'abortController':_0xe69cfc['abortController']};}['cancelStream'](_0x5b6198,_0x578f39){const _0x5d887b=this['_sendApiRequest']('/conversations/'+_0x5b6198+'/messages/'+_0x578f39+'/stream','DELETE',void 0x0,{'apiUrl':this['_apiUrlV11']});return{'execute':async()=>{await _0x5d887b['request'];},'abortController':_0x5d887b['abortController']};}['resumeStream'](_0x29ca67,_0x4137d4,_0x27f3de='0-0'){const _0x47c5d4=new URLSearchParams({'lastEventId':_0x27f3de}),_0x1226f0=this['_sendApiRequest']('/conversations/'+_0x29ca67+'/messages/'+_0x4137d4+'/stream?'+_0x47c5d4['toString'](),'GET',void 0x0,{'apiUrl':this['_apiUrlV11']});return{'getStream':async()=>{const _0x2acbdd=await _0x1226f0['request'];return this['_getStreamReader'](_0x2acbdd['body']);},'abortController':_0x1226f0['abortController']};}['callSystemReview']({reviewName:_0x348462,content:_0x58282b,args:_0x53da53}){const _0x258f68=this['_sendApiRequest']('/reviews/system/'+_0x348462+'/calls','POST',{'content':[{'type':'text','content':_0x58282b}],'args':_0x53da53});return{'getStream':async()=>{const _0x1ad612=(await _0x258f68['request'])['body'];return this['_getStreamReader'](_0x1ad612);},'abortController':_0x258f68['abortController']};}['callCustomReview']({content:_0x511081,prompt:_0x4af30d,model:_0x116de3}){const _0x154be4=this['_sendApiRequest']('/reviews/custom/calls','POST',{'content':[{'type':'text','content':_0x511081}],'prompt':_0x4af30d,'model':_0x116de3});return{'getStream':async()=>{const _0x22cda6=(await _0x154be4['request'])['body'];return this['_getStreamReader'](_0x22cda6);},'abortController':_0x154be4['abortController']};}['upsertAIChatRating'](_0x5cc1fe,_0xa82def,_0x41a6b5){const _0x35c038=this['_sendApiRequest']('/conversations/'+_0x5cc1fe+'/messages/'+_0xa82def+'/ratings','PUT',{'positiveCount':_0x41a6b5['positiveCount'],'totalCount':_0x41a6b5['totalCount'],'modificationId':_0x41a6b5['modificationId']});return{'execute':async()=>{await _0x35c038['request'];},'abortController':_0x35c038['abortController']};}['upsertAIActionRating'](_0x220d2f,_0x52f54f,_0x3126a5){const _0xb53f85=this['_sendApiRequest']('/actions/system/'+_0x220d2f+'/calls/'+_0x52f54f+'/ratings','PUT',{'positiveCount':_0x3126a5['positiveCount'],'totalCount':_0x3126a5['totalCount']});return{'execute':async()=>{await _0xb53f85['request'];},'abortController':_0xb53f85['abortController']};}['upsertCustomAIActionRating'](_0x3e261c,_0x2296fb){const _0x4814de=this['_sendApiRequest']('/actions/custom/calls/'+_0x3e261c+'/ratings','PUT',{'positiveCount':_0x2296fb['positiveCount'],'totalCount':_0x2296fb['totalCount']});return{'execute':async()=>{await _0x4814de['request'];},'abortController':_0x4814de['abortController']};}['upsertAIReviewRating'](_0x5f0595,_0x5ea32e,_0x1acd21,_0x33eb4b){const _0x557d2f=this['_sendApiRequest']('/reviews/system/'+_0x5f0595+'/calls/'+_0x5ea32e+'/ratings','PUT',{'positiveCount':_0x1acd21['positiveCount'],'totalCount':_0x1acd21['totalCount'],'dataId':_0x33eb4b});return{'execute':async()=>{await _0x557d2f['request'];},'abortController':_0x557d2f['abortController']};}['upsertCustomAIReviewRating'](_0x5b8404,_0x3fa96e,_0x4c6e36){const _0x1a1047=this['_sendApiRequest']('/reviews/custom/calls/'+_0x5b8404+'/ratings','PUT',{'positiveCount':_0x3fa96e['positiveCount'],'totalCount':_0x3fa96e['totalCount'],'dataId':_0x4c6e36});return{'execute':async()=>{await _0x1a1047['request'];},'abortController':_0x1a1047['abortController']};}['_sendApiRequest'](_0xcc7962,_0x5cd803,_0xe5d94c,_0x15b5e3={}){const {useCache:_0x7ca8dd=!0x1,apiUrl:_0x51f0c4=this['_apiUrl']}=_0x15b5e3,_0x59f602=new AbortController(),_0x5a6945=_0x7ca8dd?_0x5cd803+':'+_0xcc7962:null;if(_0x5a6945){const _0x1f580a=this['_responseCache']['get'](_0x5a6945);if(_0x1f580a)return{'request':_0x1f580a['then'](_0x3642a0=>_0x3642a0['clone']()),'abortController':_0x59f602};}const _0x328424=_0xe5d94c instanceof FormData,_0xf477e5={'Authorization':'Bearer\x20'+this['_token']?.['value'],'X-Editor-Version':_0x5f37cd['version']};_0xe5d94c&&!_0x328424&&(_0xf477e5['Content-Type']='application/json');const _0x43553a={'method':_0x5cd803,'headers':_0xf477e5,'signal':_0x59f602['signal']};_0xe5d94c&&(_0x43553a['body']=_0x328424?_0xe5d94c:JSON['stringify'](_0xe5d94c));const _0x8614ca=fetch(''+_0x51f0c4+_0xcc7962,_0x43553a)['catch'](_0x48bc77=>{_0x5a6945&&this['_responseCache']['delete'](_0x5a6945),this['_handleError'](_0x48bc77);})['then'](_0x3a4511=>_0x3a4511['ok']?_0x3a4511:_0x3a4511['json']()['then'](_0x25f54b=>{throw _0x5a6945&&this['_responseCache']['delete'](_0x5a6945),{'url':_0x51f0c4,'path':_0xcc7962,'method':_0x5cd803,'body':_0xe5d94c,'status':(_0x3a4511||{})['status'],'statusText':(_0x3a4511||{})['statusText'],'code':_0x25f54b['code'],'message':_0x25f54b['message'],'traceId':_0x25f54b['traceId']};}));return _0x5a6945&&this['_responseCache']['set'](_0x5a6945,_0x8614ca['then'](_0x3524b=>_0x3524b['clone']())),{'request':_0x8614ca,'abortController':_0x59f602};}async*['_getStreamReader'](_0x2ee1d1){const _0x472ad2=[],_0x512be7=_0x2ee1d1['getReader'](),_0x3415c7=Dt({'onError':_0x249fd5=>{this['_handleError'](_0x249fd5);},'onEvent':_0x3d6cb3=>{_0x3d6cb3['data']=JSON['parse'](_0x3d6cb3['data']),_0x472ad2['push'](_0x3d6cb3);}});try{let _0x2d4abb=!0x1;for(;!_0x2d4abb;){const {done:_0x19c554,value:_0x23c4b1}=await _0x512be7['read']();_0x19c554&&(_0x2d4abb=!0x0),_0x3415c7['feed'](this['_decoder']['decode'](_0x23c4b1,{'stream':!0x0})),yield*_0x472ad2,_0x472ad2['length']=0x0;}}catch(_0x45806b){this['_handleError'](_0x45806b);}finally{_0x512be7['releaseLock'](),_0x3415c7['reset']();}}['_handleError'](_0x5a29d4){if(_0x5a29d4 instanceof _0x5f37cd['CKEditorError'])throw _0x5a29d4;if(_0x5a29d4 instanceof Error&&'AbortError'===_0x5a29d4['name'])throw new _0x5f37cd['CKEditorError']('ai-request-aborted',this,{'originalError':_0x5a29d4});throw new _0x5f37cd['CKEditorError']('ai-request-failed',this,{'originalError':_0x5a29d4});}}function Qt(_0x1f9b37,_0x10086e,_0x5121ee){const t=_0x1f9b37['t'];switch(_0x10086e){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'},_0x5121ee);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.'},_0x5121ee);case'AI_CHAT_CONTEXT_FOLDER_NOT_SUPPORTED':return t({'id':'AI_CHAT_CONTEXT_FOLDER_NOT_SUPPORTED','string':'Folders\x20cannot\x20be\x20added\x20to\x20the\x20chat.\x20Try\x20adding\x20individual\x20files\x20instead.'});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.'},_0x5121ee);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_PASTED_TEXT_NAME':return t({'id':'AI_CHAT_CONTEXT_PASTED_TEXT_NAME','string':'Pasted\x20Text'});case'AI_CHAT_DROP_ZONE_HINT':return t({'id':'AI_CHAT_DROP_ZONE_HINT','string':'Drop\x20files\x20here\x20to\x20add\x20to\x20the\x20chat'});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.'},_0x5121ee);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'},_0x5121ee);case'AI_CHAT_SUGGESTION_ACTION_SUGGEST':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST','string':'Suggest'},_0x5121ee);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'},_0x5121ee);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.'},_0x5121ee);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.'},_0x5121ee);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.'},_0x5121ee);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.'},_0x5121ee);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'},_0x5121ee);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.'},_0x5121ee);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 _0x10086e;}}const Vt='ck-ai-button-primary',Ut='ck-ai-button-secondary',Bt='ck-ai-button-tertiary';function Ft(_0x4fb668,_0x53935){const _0x227546=new _0x5f37cd['ButtonView'](_0x4fb668),_0x1c4044=Qt(_0x4fb668,'AI_TABS_LABEL_MINIMIZE'),_0x3926bf=Qt(_0x4fb668,'AI_TABS_LABEL_MAXIMIZE');return _0x227546['set']({'withText':!0x1,'icon':_0x5f37cd['IconMaximize'],'tooltip':!0x0,'class':'ck-ai-tabs__resize\x20'+Bt}),_0x227546['bind']('label')['to'](_0x53935,'isMaximized',_0x1069b2=>_0x1069b2?_0x1c4044:_0x3926bf),_0x227546['bind']('icon')['to'](_0x53935,'isMaximized',_0x3af458=>_0x3af458?_0x5f37cd['IconMinimize']:_0x5f37cd['IconMaximize']),_0x227546['bind']('isOn')['to'](_0x53935,'isMaximized'),_0x227546['on']('execute',()=>{_0x53935['fire']('resizeTabs');}),_0x227546;}const jt=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'](_0x1af7c5=>_0x1af7c5['charCodeAt'](0x0))),Ht=new Uint16Array('Ȁaglq\x09\x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢'['split']('')['map'](_0x21a53c=>_0x21a53c['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(_0x22d158){let _0x5db5cc='';return _0x22d158>0xffff&&(_0x22d158-=0x10000,_0x5db5cc+=String['fromCharCode'](_0x22d158>>>0xa&0x3ff|0xd800),_0x22d158=0xdc00|0x3ff&_0x22d158),_0x5db5cc+=String['fromCharCode'](_0x22d158),_0x5db5cc;};var qt;!function(_0x364378){_0x364378[_0x364378['NUM']=0x23]='NUM',_0x364378[_0x364378['SEMI']=0x3b]='SEMI',_0x364378[_0x364378['EQUALS']=0x3d]='EQUALS',_0x364378[_0x364378['ZERO']=0x30]='ZERO',_0x364378[_0x364378['NINE']=0x39]='NINE',_0x364378[_0x364378['LOWER_A']=0x61]='LOWER_A',_0x364378[_0x364378['LOWER_F']=0x66]='LOWER_F',_0x364378[_0x364378['LOWER_X']=0x78]='LOWER_X',_0x364378[_0x364378['LOWER_Z']=0x7a]='LOWER_Z',_0x364378[_0x364378['UPPER_A']=0x41]='UPPER_A',_0x364378[_0x364378['UPPER_F']=0x46]='UPPER_F',_0x364378[_0x364378['UPPER_Z']=0x5a]='UPPER_Z';}(qt||(qt={}));var Wt,zt,Yt,Kt,Jt,te;function _0x14da7d(_0xf09a7){return _0xf09a7>=qt['ZERO']&&_0xf09a7<=qt['NINE'];}function _0x3da9cd(_0x16b649){return _0x16b649>=qt['UPPER_A']&&_0x16b649<=qt['UPPER_F']||_0x16b649>=qt['LOWER_A']&&_0x16b649<=qt['LOWER_F'];}function _0x210c0e(_0xc2b57d){return _0xc2b57d===qt['EQUALS']||function(_0x16b63f){return _0x16b63f>=qt['UPPER_A']&&_0x16b63f<=qt['UPPER_Z']||_0x16b63f>=qt['LOWER_A']&&_0x16b63f<=qt['LOWER_Z']||_0x14da7d(_0x16b63f);}(_0xc2b57d);}!function(_0x3f3abe){_0x3f3abe[_0x3f3abe['VALUE_LENGTH']=0xc000]='VALUE_LENGTH',_0x3f3abe[_0x3f3abe['BRANCH_LENGTH']=0x3f80]='BRANCH_LENGTH',_0x3f3abe[_0x3f3abe['JUMP_TABLE']=0x7f]='JUMP_TABLE';}(Wt||(Wt={})),function(_0x254dd8){_0x254dd8[_0x254dd8['EntityStart']=0x0]='EntityStart',_0x254dd8[_0x254dd8['NumericStart']=0x1]='NumericStart',_0x254dd8[_0x254dd8['NumericDecimal']=0x2]='NumericDecimal',_0x254dd8[_0x254dd8['NumericHex']=0x3]='NumericHex',_0x254dd8[_0x254dd8['NamedEntity']=0x4]='NamedEntity';}(zt||(zt={})),function(_0x448976){_0x448976[_0x448976['Legacy']=0x0]='Legacy',_0x448976[_0x448976['Strict']=0x1]='Strict',_0x448976[_0x448976['Attribute']=0x2]='Attribute';}(Yt||(Yt={}));class EntityDecoder{constructor(_0x266399,_0x68d199,_0x57ecf6){this['decodeTree']=_0x266399,this['emitCodePoint']=_0x68d199,this['errors']=_0x57ecf6,this['state']=zt['EntityStart'],this['consumed']=0x1,this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['decodeMode']=Yt['Strict'];}['startEntity'](_0x3e02e2){this['decodeMode']=_0x3e02e2,this['state']=zt['EntityStart'],this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['consumed']=0x1;}['write'](_0x3ed92d,_0x17900c){switch(this['state']){case zt['EntityStart']:return _0x3ed92d['charCodeAt'](_0x17900c)===qt['NUM']?(this['state']=zt['NumericStart'],this['consumed']+=0x1,this['stateNumericStart'](_0x3ed92d,_0x17900c+0x1)):(this['state']=zt['NamedEntity'],this['stateNamedEntity'](_0x3ed92d,_0x17900c));case zt['NumericStart']:return this['stateNumericStart'](_0x3ed92d,_0x17900c);case zt['NumericDecimal']:return this['stateNumericDecimal'](_0x3ed92d,_0x17900c);case zt['NumericHex']:return this['stateNumericHex'](_0x3ed92d,_0x17900c);case zt['NamedEntity']:return this['stateNamedEntity'](_0x3ed92d,_0x17900c);}}['stateNumericStart'](_0x1d3a5a,_0x58f5c6){return _0x58f5c6>=_0x1d3a5a['length']?-0x1:(0x20|_0x1d3a5a['charCodeAt'](_0x58f5c6))===qt['LOWER_X']?(this['state']=zt['NumericHex'],this['consumed']+=0x1,this['stateNumericHex'](_0x1d3a5a,_0x58f5c6+0x1)):(this['state']=zt['NumericDecimal'],this['stateNumericDecimal'](_0x1d3a5a,_0x58f5c6));}['addToNumericResult'](_0x2f5b16,_0x479359,_0x337538,_0x2de810){if(_0x479359!==_0x337538){const _0x2e551c=_0x337538-_0x479359;this['result']=this['result']*Math['pow'](_0x2de810,_0x2e551c)+Number['parseInt'](_0x2f5b16['substr'](_0x479359,_0x2e551c),_0x2de810),this['consumed']+=_0x2e551c;}}['stateNumericHex'](_0x45b568,_0x1b1ec0){const _0x81ed26=_0x1b1ec0;for(;_0x1b1ec0<_0x45b568['length'];){const _0x11470c=_0x45b568['charCodeAt'](_0x1b1ec0);if(!_0x14da7d(_0x11470c)&&!_0x3da9cd(_0x11470c))return this['addToNumericResult'](_0x45b568,_0x81ed26,_0x1b1ec0,0x10),this['emitNumericEntity'](_0x11470c,0x3);_0x1b1ec0+=0x1;}return this['addToNumericResult'](_0x45b568,_0x81ed26,_0x1b1ec0,0x10),-0x1;}['stateNumericDecimal'](_0x706796,_0x51dca8){const _0x34e6af=_0x51dca8;for(;_0x51dca8<_0x706796['length'];){const _0x503dc2=_0x706796['charCodeAt'](_0x51dca8);if(!_0x14da7d(_0x503dc2))return this['addToNumericResult'](_0x706796,_0x34e6af,_0x51dca8,0xa),this['emitNumericEntity'](_0x503dc2,0x2);_0x51dca8+=0x1;}return this['addToNumericResult'](_0x706796,_0x34e6af,_0x51dca8,0xa),-0x1;}['emitNumericEntity'](_0x50d8a0,_0x1d3316){var _0x2f9580;if(this['consumed']<=_0x1d3316)return null===(_0x2f9580=this['errors'])||void 0x0===_0x2f9580||_0x2f9580['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;if(_0x50d8a0===qt['SEMI'])this['consumed']+=0x1;else{if(this['decodeMode']===Yt['Strict'])return 0x0;}return this['emitCodePoint'](function(_0x588a5d){var _0x1c55d8;return _0x588a5d>=0xd800&&_0x588a5d<=0xdfff||_0x588a5d>0x10ffff?0xfffd:null!==(_0x1c55d8=Zt['get'](_0x588a5d))&&void 0x0!==_0x1c55d8?_0x1c55d8:_0x588a5d;}(this['result']),this['consumed']),this['errors']&&(_0x50d8a0!==qt['SEMI']&&this['errors']['missingSemicolonAfterCharacterReference'](),this['errors']['validateNumericCharacterReference'](this['result'])),this['consumed'];}['stateNamedEntity'](_0x43d214,_0x2dac45){const {decodeTree:_0x16dc82}=this;let _0x4f2508=_0x16dc82[this['treeIndex']],_0x766e51=(_0x4f2508&Wt['VALUE_LENGTH'])>>0xe;for(;_0x2dac45<_0x43d214['length'];_0x2dac45++,this['excess']++){const _0x4a4ebe=_0x43d214['charCodeAt'](_0x2dac45);if(this['treeIndex']=_0x1058da(_0x16dc82,_0x4f2508,this['treeIndex']+Math['max'](0x1,_0x766e51),_0x4a4ebe),this['treeIndex']<0x0)return 0x0===this['result']||this['decodeMode']===Yt['Attribute']&&(0x0===_0x766e51||_0x210c0e(_0x4a4ebe))?0x0:this['emitNotTerminatedNamedEntity']();if(_0x4f2508=_0x16dc82[this['treeIndex']],_0x766e51=(_0x4f2508&Wt['VALUE_LENGTH'])>>0xe,0x0!==_0x766e51){if(_0x4a4ebe===qt['SEMI'])return this['emitNamedEntityData'](this['treeIndex'],_0x766e51,this['consumed']+this['excess']);this['decodeMode']!==Yt['Strict']&&(this['result']=this['treeIndex'],this['consumed']+=this['excess'],this['excess']=0x0);}}return-0x1;}['emitNotTerminatedNamedEntity'](){var _0x4535a8;const {result:_0x276225,decodeTree:_0x171d7a}=this,_0x51e870=(_0x171d7a[_0x276225]&Wt['VALUE_LENGTH'])>>0xe;return this['emitNamedEntityData'](_0x276225,_0x51e870,this['consumed']),null===(_0x4535a8=this['errors'])||void 0x0===_0x4535a8||_0x4535a8['missingSemicolonAfterCharacterReference'](),this['consumed'];}['emitNamedEntityData'](_0x38c645,_0x1e489e,_0x474463){const {decodeTree:_0x462ceb}=this;return this['emitCodePoint'](0x1===_0x1e489e?_0x462ceb[_0x38c645]&~Wt['VALUE_LENGTH']:_0x462ceb[_0x38c645+0x1],_0x474463),0x3===_0x1e489e&&this['emitCodePoint'](_0x462ceb[_0x38c645+0x2],_0x474463),_0x474463;}['end'](){var _0x458978;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===(_0x458978=this['errors'])||void 0x0===_0x458978||_0x458978['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;case zt['EntityStart']:return 0x0;}}}function _0x1058da(_0x4ccdbb,_0x2203d4,_0x44988a,_0x3581bb){const _0x2ceafb=(_0x2203d4&Wt['BRANCH_LENGTH'])>>0x7,_0x1d2f4f=_0x2203d4&Wt['JUMP_TABLE'];if(0x0===_0x2ceafb)return 0x0!==_0x1d2f4f&&_0x3581bb===_0x1d2f4f?_0x44988a:-0x1;if(_0x1d2f4f){const _0x422c13=_0x3581bb-_0x1d2f4f;return _0x422c13<0x0||_0x422c13>=_0x2ceafb?-0x1:_0x4ccdbb[_0x44988a+_0x422c13]-0x1;}let _0x3ca44c=_0x44988a,_0x7f48c=_0x3ca44c+_0x2ceafb-0x1;for(;_0x3ca44c<=_0x7f48c;){const _0x4b68d7=_0x3ca44c+_0x7f48c>>>0x1,_0xa58ede=_0x4ccdbb[_0x4b68d7];if(_0xa58ede<_0x3581bb)_0x3ca44c=_0x4b68d7+0x1;else{if(!(_0xa58ede>_0x3581bb))return _0x4ccdbb[_0x4b68d7+_0x2ceafb];_0x7f48c=_0x4b68d7-0x1;}}return-0x1;}function _0xa2ffa9(_0x14fbdd){return _0x14fbdd===Kt['Space']||_0x14fbdd===Kt['NewLine']||_0x14fbdd===Kt['Tab']||_0x14fbdd===Kt['FormFeed']||_0x14fbdd===Kt['CarriageReturn'];}function _0x25ff54(_0x3c546b){return _0x3c546b===Kt['Slash']||_0x3c546b===Kt['Gt']||_0xa2ffa9(_0x3c546b);}!function(_0x5f44bd){_0x5f44bd[_0x5f44bd['Tab']=0x9]='Tab',_0x5f44bd[_0x5f44bd['NewLine']=0xa]='NewLine',_0x5f44bd[_0x5f44bd['FormFeed']=0xc]='FormFeed',_0x5f44bd[_0x5f44bd['CarriageReturn']=0xd]='CarriageReturn',_0x5f44bd[_0x5f44bd['Space']=0x20]='Space',_0x5f44bd[_0x5f44bd['ExclamationMark']=0x21]='ExclamationMark',_0x5f44bd[_0x5f44bd['Number']=0x23]='Number',_0x5f44bd[_0x5f44bd['Amp']=0x26]='Amp',_0x5f44bd[_0x5f44bd['SingleQuote']=0x27]='SingleQuote',_0x5f44bd[_0x5f44bd['DoubleQuote']=0x22]='DoubleQuote',_0x5f44bd[_0x5f44bd['Dash']=0x2d]='Dash',_0x5f44bd[_0x5f44bd['Slash']=0x2f]='Slash',_0x5f44bd[_0x5f44bd['Zero']=0x30]='Zero',_0x5f44bd[_0x5f44bd['Nine']=0x39]='Nine',_0x5f44bd[_0x5f44bd['Semi']=0x3b]='Semi',_0x5f44bd[_0x5f44bd['Lt']=0x3c]='Lt',_0x5f44bd[_0x5f44bd['Eq']=0x3d]='Eq',_0x5f44bd[_0x5f44bd['Gt']=0x3e]='Gt',_0x5f44bd[_0x5f44bd['Questionmark']=0x3f]='Questionmark',_0x5f44bd[_0x5f44bd['UpperA']=0x41]='UpperA',_0x5f44bd[_0x5f44bd['LowerA']=0x61]='LowerA',_0x5f44bd[_0x5f44bd['UpperF']=0x46]='UpperF',_0x5f44bd[_0x5f44bd['LowerF']=0x66]='LowerF',_0x5f44bd[_0x5f44bd['UpperZ']=0x5a]='UpperZ',_0x5f44bd[_0x5f44bd['LowerZ']=0x7a]='LowerZ',_0x5f44bd[_0x5f44bd['LowerX']=0x78]='LowerX',_0x5f44bd[_0x5f44bd['OpeningSquareBracket']=0x5b]='OpeningSquareBracket';}(Kt||(Kt={})),function(_0x24a89a){_0x24a89a[_0x24a89a['Text']=0x1]='Text',_0x24a89a[_0x24a89a['BeforeTagName']=0x2]='BeforeTagName',_0x24a89a[_0x24a89a['InTagName']=0x3]='InTagName',_0x24a89a[_0x24a89a['InSelfClosingTag']=0x4]='InSelfClosingTag',_0x24a89a[_0x24a89a['BeforeClosingTagName']=0x5]='BeforeClosingTagName',_0x24a89a[_0x24a89a['InClosingTagName']=0x6]='InClosingTagName',_0x24a89a[_0x24a89a['AfterClosingTagName']=0x7]='AfterClosingTagName',_0x24a89a[_0x24a89a['BeforeAttributeName']=0x8]='BeforeAttributeName',_0x24a89a[_0x24a89a['InAttributeName']=0x9]='InAttributeName',_0x24a89a[_0x24a89a['AfterAttributeName']=0xa]='AfterAttributeName',_0x24a89a[_0x24a89a['BeforeAttributeValue']=0xb]='BeforeAttributeValue',_0x24a89a[_0x24a89a['InAttributeValueDq']=0xc]='InAttributeValueDq',_0x24a89a[_0x24a89a['InAttributeValueSq']=0xd]='InAttributeValueSq',_0x24a89a[_0x24a89a['InAttributeValueNq']=0xe]='InAttributeValueNq',_0x24a89a[_0x24a89a['BeforeDeclaration']=0xf]='BeforeDeclaration',_0x24a89a[_0x24a89a['InDeclaration']=0x10]='InDeclaration',_0x24a89a[_0x24a89a['InProcessingInstruction']=0x11]='InProcessingInstruction',_0x24a89a[_0x24a89a['BeforeComment']=0x12]='BeforeComment',_0x24a89a[_0x24a89a['CDATASequence']=0x13]='CDATASequence',_0x24a89a[_0x24a89a['InSpecialComment']=0x14]='InSpecialComment',_0x24a89a[_0x24a89a['InCommentLike']=0x15]='InCommentLike',_0x24a89a[_0x24a89a['BeforeSpecialS']=0x16]='BeforeSpecialS',_0x24a89a[_0x24a89a['BeforeSpecialT']=0x17]='BeforeSpecialT',_0x24a89a[_0x24a89a['SpecialStartSequence']=0x18]='SpecialStartSequence',_0x24a89a[_0x24a89a['InSpecialTag']=0x19]='InSpecialTag',_0x24a89a[_0x24a89a['InEntity']=0x1a]='InEntity';}(Jt||(Jt={})),function(_0x672bf3){_0x672bf3[_0x672bf3['NoValue']=0x0]='NoValue',_0x672bf3[_0x672bf3['Unquoted']=0x1]='Unquoted',_0x672bf3[_0x672bf3['Single']=0x2]='Single',_0x672bf3[_0x672bf3['Double']=0x3]='Double';}(te||(te={}));const _0x57f77f={'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 _0x3ab418{constructor({xmlMode:_0x5deebb=!0x1,decodeEntities:_0x10c4e6=!0x0},_0x2b390b){this['cbs']=_0x2b390b,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']=_0x5deebb,this['decodeEntities']=_0x10c4e6,this['entityDecoder']=new EntityDecoder(_0x5deebb?Ht:jt,(_0x25add6,_0x2b6abc)=>this['emitCodePoint'](_0x25add6,_0x2b6abc));}['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'](_0x3862d2){this['offset']+=this['buffer']['length'],this['buffer']=_0x3862d2,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'](_0x558267){_0x558267===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']&&_0x558267===Kt['Amp']&&this['startEntity']();}['stateSpecialStartSequence'](_0x51738b){const _0x4761d4=this['sequenceIndex']===this['currentSequence']['length'];if(_0x4761d4?_0x25ff54(_0x51738b):(0x20|_0x51738b)===this['currentSequence'][this['sequenceIndex']]){if(!_0x4761d4)return void this['sequenceIndex']++;}else this['isSpecial']=!0x1;this['sequenceIndex']=0x0,this['state']=Jt['InTagName'],this['stateInTagName'](_0x51738b);}['stateInSpecialTag'](_0x209998){if(this['sequenceIndex']===this['currentSequence']['length']){if(_0x209998===Kt['Gt']||_0xa2ffa9(_0x209998)){const _0x1aae92=this['index']-this['currentSequence']['length'];if(this['sectionStart']<_0x1aae92){const _0x262da9=this['index'];this['index']=_0x1aae92,this['cbs']['ontext'](this['sectionStart'],_0x1aae92),this['index']=_0x262da9;}return this['isSpecial']=!0x1,this['sectionStart']=_0x1aae92+0x2,void this['stateInClosingTagName'](_0x209998);}this['sequenceIndex']=0x0;}(0x20|_0x209998)===this['currentSequence'][this['sequenceIndex']]?this['sequenceIndex']+=0x1:0x0===this['sequenceIndex']?this['currentSequence']===_0x57f77f['TitleEnd']?this['decodeEntities']&&_0x209998===Kt['Amp']&&this['startEntity']():this['fastForwardTo'](Kt['Lt'])&&(this['sequenceIndex']=0x1):this['sequenceIndex']=Number(_0x209998===Kt['Lt']);}['stateCDATASequence'](_0x40de4b){_0x40de4b===_0x57f77f['Cdata'][this['sequenceIndex']]?++this['sequenceIndex']===_0x57f77f['Cdata']['length']&&(this['state']=Jt['InCommentLike'],this['currentSequence']=_0x57f77f['CdataEnd'],this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1):(this['sequenceIndex']=0x0,this['state']=Jt['InDeclaration'],this['stateInDeclaration'](_0x40de4b));}['fastForwardTo'](_0x1feb97){for(;++this['index']<this['buffer']['length']+this['offset'];)if(this['buffer']['charCodeAt'](this['index']-this['offset'])===_0x1feb97)return!0x0;return this['index']=this['buffer']['length']+this['offset']-0x1,!0x1;}['stateInCommentLike'](_0x2366d1){_0x2366d1===this['currentSequence'][this['sequenceIndex']]?++this['sequenceIndex']===this['currentSequence']['length']&&(this['currentSequence']===_0x57f77f['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):_0x2366d1!==this['currentSequence'][this['sequenceIndex']-0x1]&&(this['sequenceIndex']=0x0);}['isTagStartChar'](_0x2cf170){return this['xmlMode']?!_0x25ff54(_0x2cf170):function(_0x102b42){return _0x102b42>=Kt['LowerA']&&_0x102b42<=Kt['LowerZ']||_0x102b42>=Kt['UpperA']&&_0x102b42<=Kt['UpperZ'];}(_0x2cf170);}['startSpecial'](_0x1565ab,_0xc1e460){this['isSpecial']=!0x0,this['currentSequence']=_0x1565ab,this['sequenceIndex']=_0xc1e460,this['state']=Jt['SpecialStartSequence'];}['stateBeforeTagName'](_0x53e562){if(_0x53e562===Kt['ExclamationMark'])this['state']=Jt['BeforeDeclaration'],this['sectionStart']=this['index']+0x1;else{if(_0x53e562===Kt['Questionmark'])this['state']=Jt['InProcessingInstruction'],this['sectionStart']=this['index']+0x1;else{if(this['isTagStartChar'](_0x53e562)){const _0x42682e=0x20|_0x53e562;this['sectionStart']=this['index'],this['xmlMode']?this['state']=Jt['InTagName']:_0x42682e===_0x57f77f['ScriptEnd'][0x2]?this['state']=Jt['BeforeSpecialS']:_0x42682e===_0x57f77f['TitleEnd'][0x2]||_0x42682e===_0x57f77f['XmpEnd'][0x2]?this['state']=Jt['BeforeSpecialT']:this['state']=Jt['InTagName'];}else _0x53e562===Kt['Slash']?this['state']=Jt['BeforeClosingTagName']:(this['state']=Jt['Text'],this['stateText'](_0x53e562));}}}['stateInTagName'](_0x11c6b7){_0x25ff54(_0x11c6b7)&&(this['cbs']['onopentagname'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=Jt['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x11c6b7));}['stateBeforeClosingTagName'](_0x4189be){_0xa2ffa9(_0x4189be)||(_0x4189be===Kt['Gt']?this['state']=Jt['Text']:(this['state']=this['isTagStartChar'](_0x4189be)?Jt['InClosingTagName']:Jt['InSpecialComment'],this['sectionStart']=this['index']));}['stateInClosingTagName'](_0x373aea){(_0x373aea===Kt['Gt']||_0xa2ffa9(_0x373aea))&&(this['cbs']['onclosetag'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=Jt['AfterClosingTagName'],this['stateAfterClosingTagName'](_0x373aea));}['stateAfterClosingTagName'](_0x21d57e){(_0x21d57e===Kt['Gt']||this['fastForwardTo'](Kt['Gt']))&&(this['state']=Jt['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeAttributeName'](_0x516a40){_0x516a40===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):_0x516a40===Kt['Slash']?this['state']=Jt['InSelfClosingTag']:_0xa2ffa9(_0x516a40)||(this['state']=Jt['InAttributeName'],this['sectionStart']=this['index']);}['stateInSelfClosingTag'](_0x7d985a){_0x7d985a===Kt['Gt']?(this['cbs']['onselfclosingtag'](this['index']),this['state']=Jt['Text'],this['sectionStart']=this['index']+0x1,this['isSpecial']=!0x1):_0xa2ffa9(_0x7d985a)||(this['state']=Jt['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x7d985a));}['stateInAttributeName'](_0x21e505){(_0x21e505===Kt['Eq']||_0x25ff54(_0x21e505))&&(this['cbs']['onattribname'](this['sectionStart'],this['index']),this['sectionStart']=this['index'],this['state']=Jt['AfterAttributeName'],this['stateAfterAttributeName'](_0x21e505));}['stateAfterAttributeName'](_0x3f0049){_0x3f0049===Kt['Eq']?this['state']=Jt['BeforeAttributeValue']:_0x3f0049===Kt['Slash']||_0x3f0049===Kt['Gt']?(this['cbs']['onattribend'](te['NoValue'],this['sectionStart']),this['sectionStart']=-0x1,this['state']=Jt['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x3f0049)):_0xa2ffa9(_0x3f0049)||(this['cbs']['onattribend'](te['NoValue'],this['sectionStart']),this['state']=Jt['InAttributeName'],this['sectionStart']=this['index']);}['stateBeforeAttributeValue'](_0x2a8e4a){_0x2a8e4a===Kt['DoubleQuote']?(this['state']=Jt['InAttributeValueDq'],this['sectionStart']=this['index']+0x1):_0x2a8e4a===Kt['SingleQuote']?(this['state']=Jt['InAttributeValueSq'],this['sectionStart']=this['index']+0x1):_0xa2ffa9(_0x2a8e4a)||(this['sectionStart']=this['index'],this['state']=Jt['InAttributeValueNq'],this['stateInAttributeValueNoQuotes'](_0x2a8e4a));}['handleInAttributeValue'](_0x3b43b4,_0x2df2fc){_0x3b43b4===_0x2df2fc||!this['decodeEntities']&&this['fastForwardTo'](_0x2df2fc)?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x2df2fc===Kt['DoubleQuote']?te['Double']:te['Single'],this['index']+0x1),this['state']=Jt['BeforeAttributeName']):this['decodeEntities']&&_0x3b43b4===Kt['Amp']&&this['startEntity']();}['stateInAttributeValueDoubleQuotes'](_0x4984e2){this['handleInAttributeValue'](_0x4984e2,Kt['DoubleQuote']);}['stateInAttributeValueSingleQuotes'](_0x1e44ec){this['handleInAttributeValue'](_0x1e44ec,Kt['SingleQuote']);}['stateInAttributeValueNoQuotes'](_0x5952c6){_0xa2ffa9(_0x5952c6)||_0x5952c6===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'](_0x5952c6)):this['decodeEntities']&&_0x5952c6===Kt['Amp']&&this['startEntity']();}['stateBeforeDeclaration'](_0x40d794){_0x40d794===Kt['OpeningSquareBracket']?(this['state']=Jt['CDATASequence'],this['sequenceIndex']=0x0):this['state']=_0x40d794===Kt['Dash']?Jt['BeforeComment']:Jt['InDeclaration'];}['stateInDeclaration'](_0x3892fc){(_0x3892fc===Kt['Gt']||this['fastForwardTo'](Kt['Gt']))&&(this['cbs']['ondeclaration'](this['sectionStart'],this['index']),this['state']=Jt['Text'],this['sectionStart']=this['index']+0x1);}['stateInProcessingInstruction'](_0x39396b){(_0x39396b===Kt['Gt']||this['fastForwardTo'](Kt['Gt']))&&(this['cbs']['onprocessinginstruction'](this['sectionStart'],this['index']),this['state']=Jt['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeComment'](_0x1ad6f3){_0x1ad6f3===Kt['Dash']?(this['state']=Jt['InCommentLike'],this['currentSequence']=_0x57f77f['CommentEnd'],this['sequenceIndex']=0x2,this['sectionStart']=this['index']+0x1):this['state']=Jt['InDeclaration'];}['stateInSpecialComment'](_0x6f9a4){(_0x6f9a4===Kt['Gt']||this['fastForwardTo'](Kt['Gt']))&&(this['cbs']['oncomment'](this['sectionStart'],this['index'],0x0),this['state']=Jt['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeSpecialS'](_0x527990){const _0x583fe0=0x20|_0x527990;_0x583fe0===_0x57f77f['ScriptEnd'][0x3]?this['startSpecial'](_0x57f77f['ScriptEnd'],0x4):_0x583fe0===_0x57f77f['StyleEnd'][0x3]?this['startSpecial'](_0x57f77f['StyleEnd'],0x4):(this['state']=Jt['InTagName'],this['stateInTagName'](_0x527990));}['stateBeforeSpecialT'](_0xb65fe1){switch(0x20|_0xb65fe1){case _0x57f77f['TitleEnd'][0x3]:this['startSpecial'](_0x57f77f['TitleEnd'],0x4);break;case _0x57f77f['TextareaEnd'][0x3]:this['startSpecial'](_0x57f77f['TextareaEnd'],0x4);break;case _0x57f77f['XmpEnd'][0x3]:this['startSpecial'](_0x57f77f['XmpEnd'],0x4);break;default:this['state']=Jt['InTagName'],this['stateInTagName'](_0xb65fe1);}}['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 _0x1a6665=this['entityDecoder']['write'](this['buffer'],this['index']-this['offset']);_0x1a6665>=0x0?(this['state']=this['baseState'],0x0===_0x1a6665&&(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 _0x35bcad=this['buffer']['charCodeAt'](this['index']-this['offset']);switch(this['state']){case Jt['Text']:this['stateText'](_0x35bcad);break;case Jt['SpecialStartSequence']:this['stateSpecialStartSequence'](_0x35bcad);break;case Jt['InSpecialTag']:this['stateInSpecialTag'](_0x35bcad);break;case Jt['CDATASequence']:this['stateCDATASequence'](_0x35bcad);break;case Jt['InAttributeValueDq']:this['stateInAttributeValueDoubleQuotes'](_0x35bcad);break;case Jt['InAttributeName']:this['stateInAttributeName'](_0x35bcad);break;case Jt['InCommentLike']:this['stateInCommentLike'](_0x35bcad);break;case Jt['InSpecialComment']:this['stateInSpecialComment'](_0x35bcad);break;case Jt['BeforeAttributeName']:this['stateBeforeAttributeName'](_0x35bcad);break;case Jt['InTagName']:this['stateInTagName'](_0x35bcad);break;case Jt['InClosingTagName']:this['stateInClosingTagName'](_0x35bcad);break;case Jt['BeforeTagName']:this['stateBeforeTagName'](_0x35bcad);break;case Jt['AfterAttributeName']:this['stateAfterAttributeName'](_0x35bcad);break;case Jt['InAttributeValueSq']:this['stateInAttributeValueSingleQuotes'](_0x35bcad);break;case Jt['BeforeAttributeValue']:this['stateBeforeAttributeValue'](_0x35bcad);break;case Jt['BeforeClosingTagName']:this['stateBeforeClosingTagName'](_0x35bcad);break;case Jt['AfterClosingTagName']:this['stateAfterClosingTagName'](_0x35bcad);break;case Jt['BeforeSpecialS']:this['stateBeforeSpecialS'](_0x35bcad);break;case Jt['BeforeSpecialT']:this['stateBeforeSpecialT'](_0x35bcad);break;case Jt['InAttributeValueNq']:this['stateInAttributeValueNoQuotes'](_0x35bcad);break;case Jt['InSelfClosingTag']:this['stateInSelfClosingTag'](_0x35bcad);break;case Jt['InDeclaration']:this['stateInDeclaration'](_0x35bcad);break;case Jt['BeforeDeclaration']:this['stateBeforeDeclaration'](_0x35bcad);break;case Jt['BeforeComment']:this['stateBeforeComment'](_0x35bcad);break;case Jt['InProcessingInstruction']:this['stateInProcessingInstruction'](_0x35bcad);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 _0x58ab2c=this['buffer']['length']+this['offset'];this['sectionStart']>=_0x58ab2c||(this['state']===Jt['InCommentLike']?this['currentSequence']===_0x57f77f['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],_0x58ab2c,0x0):this['cbs']['oncomment'](this['sectionStart'],_0x58ab2c,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'],_0x58ab2c));}['emitCodePoint'](_0x4e8b16,_0x469ae6){this['baseState']!==Jt['Text']&&this['baseState']!==Jt['InSpecialTag']?(this['sectionStart']<this['entityStart']&&this['cbs']['onattribdata'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x469ae6,this['index']=this['sectionStart']-0x1,this['cbs']['onattribentity'](_0x4e8b16)):(this['sectionStart']<this['entityStart']&&this['cbs']['ontext'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x469ae6,this['index']=this['sectionStart']-0x1,this['cbs']['ontextentity'](_0x4e8b16,this['sectionStart']));}}const _0x4c4b89=new Set(['input','option','optgroup','select','button','datalist','textarea']),_0x460d8a=new Set(['p']),_0x101fe5=new Set(['thead','tbody']),_0x483622=new Set(['dd','dt']),_0x1174d5=new Set(['rt','rp']),_0x1e1d23=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',_0x460d8a],['h1',_0x460d8a],['h2',_0x460d8a],['h3',_0x460d8a],['h4',_0x460d8a],['h5',_0x460d8a],['h6',_0x460d8a],['select',_0x4c4b89],['input',_0x4c4b89],['output',_0x4c4b89],['button',_0x4c4b89],['datalist',_0x4c4b89],['textarea',_0x4c4b89],['option',new Set(['option'])],['optgroup',new Set(['optgroup','option'])],['dd',_0x483622],['dt',_0x483622],['address',_0x460d8a],['article',_0x460d8a],['aside',_0x460d8a],['blockquote',_0x460d8a],['details',_0x460d8a],['div',_0x460d8a],['dl',_0x460d8a],['fieldset',_0x460d8a],['figcaption',_0x460d8a],['figure',_0x460d8a],['footer',_0x460d8a],['form',_0x460d8a],['header',_0x460d8a],['hr',_0x460d8a],['main',_0x460d8a],['nav',_0x460d8a],['ol',_0x460d8a],['pre',_0x460d8a],['section',_0x460d8a],['table',_0x460d8a],['ul',_0x460d8a],['rt',_0x1174d5],['rp',_0x1174d5],['tbody',_0x101fe5],['tfoot',_0x101fe5]]),_0x59fc3f=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']),_0x74f96=new Set(['math','svg']),_0x422984=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignobject','desc','title']),_0x363201=/\s|\//;let _0x421270=class _0x3150cf{constructor(_0x4cd808,_0x3e6f64={}){var _0x42a4ed,_0x57a08b,_0x36fdbf,_0x1d17e7,_0x1660e9,_0x6361bd;this['options']=_0x3e6f64,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!=_0x4cd808?_0x4cd808:{},this['htmlMode']=!this['options']['xmlMode'],this['lowerCaseTagNames']=null!==(_0x42a4ed=_0x3e6f64['lowerCaseTags'])&&void 0x0!==_0x42a4ed?_0x42a4ed:this['htmlMode'],this['lowerCaseAttributeNames']=null!==(_0x57a08b=_0x3e6f64['lowerCaseAttributeNames'])&&void 0x0!==_0x57a08b?_0x57a08b:this['htmlMode'],this['recognizeSelfClosing']=null!==(_0x36fdbf=_0x3e6f64['recognizeSelfClosing'])&&void 0x0!==_0x36fdbf?_0x36fdbf:!this['htmlMode'],this['tokenizer']=new(null!==(_0x1d17e7=_0x3e6f64['Tokenizer'])&&void 0x0!==_0x1d17e7?_0x1d17e7:_0x3ab418)(this['options'],this),this['foreignContext']=[!this['htmlMode']],null===(_0x6361bd=(_0x1660e9=this['cbs'])['onparserinit'])||void 0x0===_0x6361bd||_0x6361bd['call'](_0x1660e9,this);}['ontext'](_0x51b21c,_0x5c91f6){var _0x949f96,_0x45d6e9;const _0x295c0e=this['getSlice'](_0x51b21c,_0x5c91f6);this['endIndex']=_0x5c91f6-0x1,null===(_0x45d6e9=(_0x949f96=this['cbs'])['ontext'])||void 0x0===_0x45d6e9||_0x45d6e9['call'](_0x949f96,_0x295c0e),this['startIndex']=_0x5c91f6;}['ontextentity'](_0x25771d,_0x5e286b){var _0x1a2187,_0x513924;this['endIndex']=_0x5e286b-0x1,null===(_0x513924=(_0x1a2187=this['cbs'])['ontext'])||void 0x0===_0x513924||_0x513924['call'](_0x1a2187,Xt(_0x25771d)),this['startIndex']=_0x5e286b;}['isVoidElement'](_0x253e8d){return this['htmlMode']&&_0x59fc3f['has'](_0x253e8d);}['onopentagname'](_0x3596a3,_0x28ad71){this['endIndex']=_0x28ad71;let _0x3fa1b2=this['getSlice'](_0x3596a3,_0x28ad71);this['lowerCaseTagNames']&&(_0x3fa1b2=_0x3fa1b2['toLowerCase']()),this['emitOpenTag'](_0x3fa1b2);}['emitOpenTag'](_0x4ef0c0){var _0x497aa6,_0x598cd3,_0x19ce01,_0x1ea060;this['openTagStart']=this['startIndex'],this['tagname']=_0x4ef0c0;const _0x2d4873=this['htmlMode']&&_0x1e1d23['get'](_0x4ef0c0);if(_0x2d4873)for(;this['stack']['length']>0x0&&_0x2d4873['has'](this['stack'][0x0]);){const _0x2e00c9=this['stack']['shift']();null===(_0x598cd3=(_0x497aa6=this['cbs'])['onclosetag'])||void 0x0===_0x598cd3||_0x598cd3['call'](_0x497aa6,_0x2e00c9,!0x0);}this['isVoidElement'](_0x4ef0c0)||(this['stack']['unshift'](_0x4ef0c0),this['htmlMode']&&(_0x74f96['has'](_0x4ef0c0)?this['foreignContext']['unshift'](!0x0):_0x422984['has'](_0x4ef0c0)&&this['foreignContext']['unshift'](!0x1))),null===(_0x1ea060=(_0x19ce01=this['cbs'])['onopentagname'])||void 0x0===_0x1ea060||_0x1ea060['call'](_0x19ce01,_0x4ef0c0),this['cbs']['onopentag']&&(this['attribs']={});}['endOpenTag'](_0x3643bb){var _0x2942b0,_0x3ef334;this['startIndex']=this['openTagStart'],this['attribs']&&(null===(_0x3ef334=(_0x2942b0=this['cbs'])['onopentag'])||void 0x0===_0x3ef334||_0x3ef334['call'](_0x2942b0,this['tagname'],this['attribs'],_0x3643bb),this['attribs']=null),this['cbs']['onclosetag']&&this['isVoidElement'](this['tagname'])&&this['cbs']['onclosetag'](this['tagname'],!0x0),this['tagname']='';}['onopentagend'](_0x4728cd){this['endIndex']=_0x4728cd,this['endOpenTag'](!0x1),this['startIndex']=_0x4728cd+0x1;}['onclosetag'](_0x6e8918,_0x6d49c6){var _0x5af07f,_0x9d5607,_0xbf175f,_0x29008a,_0x3d9989,_0x450779,_0x42f8d9,_0x53406f;this['endIndex']=_0x6d49c6;let _0x5327c1=this['getSlice'](_0x6e8918,_0x6d49c6);if(this['lowerCaseTagNames']&&(_0x5327c1=_0x5327c1['toLowerCase']()),this['htmlMode']&&(_0x74f96['has'](_0x5327c1)||_0x422984['has'](_0x5327c1))&&this['foreignContext']['shift'](),this['isVoidElement'](_0x5327c1))this['htmlMode']&&'br'===_0x5327c1&&(null===(_0x29008a=(_0xbf175f=this['cbs'])['onopentagname'])||void 0x0===_0x29008a||_0x29008a['call'](_0xbf175f,'br'),null===(_0x450779=(_0x3d9989=this['cbs'])['onopentag'])||void 0x0===_0x450779||_0x450779['call'](_0x3d9989,'br',{},!0x0),null===(_0x53406f=(_0x42f8d9=this['cbs'])['onclosetag'])||void 0x0===_0x53406f||_0x53406f['call'](_0x42f8d9,'br',!0x1));else{const _0x5582c6=this['stack']['indexOf'](_0x5327c1);if(-0x1!==_0x5582c6)for(let _0x2b4858=0x0;_0x2b4858<=_0x5582c6;_0x2b4858++){const _0x51de50=this['stack']['shift']();null===(_0x9d5607=(_0x5af07f=this['cbs'])['onclosetag'])||void 0x0===_0x9d5607||_0x9d5607['call'](_0x5af07f,_0x51de50,_0x2b4858!==_0x5582c6);}else this['htmlMode']&&'p'===_0x5327c1&&(this['emitOpenTag']('p'),this['closeCurrentTag'](!0x0));}this['startIndex']=_0x6d49c6+0x1;}['onselfclosingtag'](_0x5e845f){this['endIndex']=_0x5e845f,this['recognizeSelfClosing']||this['foreignContext'][0x0]?(this['closeCurrentTag'](!0x1),this['startIndex']=_0x5e845f+0x1):this['onopentagend'](_0x5e845f);}['closeCurrentTag'](_0x1c68f4){var _0x45fa04,_0x2f62c7;const _0x478dde=this['tagname'];this['endOpenTag'](_0x1c68f4),this['stack'][0x0]===_0x478dde&&(null===(_0x2f62c7=(_0x45fa04=this['cbs'])['onclosetag'])||void 0x0===_0x2f62c7||_0x2f62c7['call'](_0x45fa04,_0x478dde,!_0x1c68f4),this['stack']['shift']());}['onattribname'](_0x9143b7,_0x1cd3a3){this['startIndex']=_0x9143b7;const _0x49d48c=this['getSlice'](_0x9143b7,_0x1cd3a3);this['attribname']=this['lowerCaseAttributeNames']?_0x49d48c['toLowerCase']():_0x49d48c;}['onattribdata'](_0x403022,_0x1a788a){this['attribvalue']+=this['getSlice'](_0x403022,_0x1a788a);}['onattribentity'](_0x44efee){this['attribvalue']+=Xt(_0x44efee);}['onattribend'](_0x318181,_0x1de297){var _0x51aae7,_0x140486;this['endIndex']=_0x1de297,null===(_0x140486=(_0x51aae7=this['cbs'])['onattribute'])||void 0x0===_0x140486||_0x140486['call'](_0x51aae7,this['attribname'],this['attribvalue'],_0x318181===te['Double']?'\x22':_0x318181===te['Single']?'\x27':_0x318181===te['NoValue']?void 0x0:null),this['attribs']&&!Object['prototype']['hasOwnProperty']['call'](this['attribs'],this['attribname'])&&(this['attribs'][this['attribname']]=this['attribvalue']),this['attribvalue']='';}['getInstructionName'](_0x2463c1){const _0x40441e=_0x2463c1['search'](_0x363201);let _0x51441e=_0x40441e<0x0?_0x2463c1:_0x2463c1['substr'](0x0,_0x40441e);return this['lowerCaseTagNames']&&(_0x51441e=_0x51441e['toLowerCase']()),_0x51441e;}['ondeclaration'](_0x1f978c,_0x328d25){this['endIndex']=_0x328d25;const _0x41b0b4=this['getSlice'](_0x1f978c,_0x328d25);if(this['cbs']['onprocessinginstruction']){const _0xe4a667=this['getInstructionName'](_0x41b0b4);this['cbs']['onprocessinginstruction']('!'+_0xe4a667,'!'+_0x41b0b4);}this['startIndex']=_0x328d25+0x1;}['onprocessinginstruction'](_0x146a78,_0x57a36d){this['endIndex']=_0x57a36d;const _0x15d829=this['getSlice'](_0x146a78,_0x57a36d);if(this['cbs']['onprocessinginstruction']){const _0x38173f=this['getInstructionName'](_0x15d829);this['cbs']['onprocessinginstruction']('?'+_0x38173f,'?'+_0x15d829);}this['startIndex']=_0x57a36d+0x1;}['oncomment'](_0x27d52c,_0x29f892,_0x3076e5){var _0x20acf1,_0x36294e,_0x499bd6,_0x4b3076;this['endIndex']=_0x29f892,null===(_0x36294e=(_0x20acf1=this['cbs'])['oncomment'])||void 0x0===_0x36294e||_0x36294e['call'](_0x20acf1,this['getSlice'](_0x27d52c,_0x29f892-_0x3076e5)),null===(_0x4b3076=(_0x499bd6=this['cbs'])['oncommentend'])||void 0x0===_0x4b3076||_0x4b3076['call'](_0x499bd6),this['startIndex']=_0x29f892+0x1;}['oncdata'](_0x1f7135,_0x2d8851,_0x5dbb72){var _0x4533ba,_0x35aeb0,_0x56c557,_0x4483b4,_0x5e1b32,_0x121067,_0x464bf6,_0x253757,_0x175d6f,_0x3b3939;this['endIndex']=_0x2d8851;const _0x24d098=this['getSlice'](_0x1f7135,_0x2d8851-_0x5dbb72);!this['htmlMode']||this['options']['recognizeCDATA']?(null===(_0x35aeb0=(_0x4533ba=this['cbs'])['oncdatastart'])||void 0x0===_0x35aeb0||_0x35aeb0['call'](_0x4533ba),null===(_0x4483b4=(_0x56c557=this['cbs'])['ontext'])||void 0x0===_0x4483b4||_0x4483b4['call'](_0x56c557,_0x24d098),null===(_0x121067=(_0x5e1b32=this['cbs'])['oncdataend'])||void 0x0===_0x121067||_0x121067['call'](_0x5e1b32)):(null===(_0x253757=(_0x464bf6=this['cbs'])['oncomment'])||void 0x0===_0x253757||_0x253757['call'](_0x464bf6,'[CDATA['+_0x24d098+']]'),null===(_0x3b3939=(_0x175d6f=this['cbs'])['oncommentend'])||void 0x0===_0x3b3939||_0x3b3939['call'](_0x175d6f)),this['startIndex']=_0x2d8851+0x1;}['onend'](){var _0x15ada1,_0x43bb55;if(this['cbs']['onclosetag']){this['endIndex']=this['startIndex'];for(let _0x565057=0x0;_0x565057<this['stack']['length'];_0x565057++)this['cbs']['onclosetag'](this['stack'][_0x565057],!0x0);}null===(_0x43bb55=(_0x15ada1=this['cbs'])['onend'])||void 0x0===_0x43bb55||_0x43bb55['call'](_0x15ada1);}['reset'](){var _0x427a60,_0x165ed6,_0x32715d,_0x213ca1;null===(_0x165ed6=(_0x427a60=this['cbs'])['onreset'])||void 0x0===_0x165ed6||_0x165ed6['call'](_0x427a60),this['tokenizer']['reset'](),this['tagname']='',this['attribname']='',this['attribs']=null,this['stack']['length']=0x0,this['startIndex']=0x0,this['endIndex']=0x0,null===(_0x213ca1=(_0x32715d=this['cbs'])['onparserinit'])||void 0x0===_0x213ca1||_0x213ca1['call'](_0x32715d,this),this['buffers']['length']=0x0,this['foreignContext']['length']=0x0,this['foreignContext']['unshift'](!this['htmlMode']),this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1;}['parseComplete'](_0x5b4c88){this['reset'](),this['end'](_0x5b4c88);}['getSlice'](_0x59ea81,_0x6e74b0){for(;_0x59ea81-this['bufferOffset']>=this['buffers'][0x0]['length'];)this['shiftBuffer']();let _0x51edbf=this['buffers'][0x0]['slice'](_0x59ea81-this['bufferOffset'],_0x6e74b0-this['bufferOffset']);for(;_0x6e74b0-this['bufferOffset']>this['buffers'][0x0]['length'];)this['shiftBuffer'](),_0x51edbf+=this['buffers'][0x0]['slice'](0x0,_0x6e74b0-this['bufferOffset']);return _0x51edbf;}['shiftBuffer'](){this['bufferOffset']+=this['buffers'][0x0]['length'],this['writeIndex']--,this['buffers']['shift']();}['write'](_0x509578){var _0x25be8c,_0x1964dd;this['ended']?null===(_0x1964dd=(_0x25be8c=this['cbs'])['onerror'])||void 0x0===_0x1964dd||_0x1964dd['call'](_0x25be8c,new Error('.write()\x20after\x20done!')):(this['buffers']['push'](_0x509578),this['tokenizer']['running']&&(this['tokenizer']['write'](_0x509578),this['writeIndex']++));}['end'](_0x4a3b7b){var _0xa4a07b,_0x1263e3;this['ended']?null===(_0x1263e3=(_0xa4a07b=this['cbs'])['onerror'])||void 0x0===_0x1263e3||_0x1263e3['call'](_0xa4a07b,new Error('.end()\x20after\x20done!')):(_0x4a3b7b&&this['write'](_0x4a3b7b),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'](_0x35abd0){this['write'](_0x35abd0);}['done'](_0x1e78db){this['end'](_0x1e78db);}};var _0xd917e3;!function(_0xe9adc){_0xe9adc['Root']='root',_0xe9adc['Text']='text',_0xe9adc['Directive']='directive',_0xe9adc['Comment']='comment',_0xe9adc['Script']='script',_0xe9adc['Style']='style',_0xe9adc['Tag']='tag',_0xe9adc['CDATA']='cdata',_0xe9adc['Doctype']='doctype';}(_0xd917e3||(_0xd917e3={}));const _0x38bf7c=_0xd917e3['Root'],_0xb00d4c=_0xd917e3['Text'],_0x314e24=_0xd917e3['Directive'],_0x36f78c=_0xd917e3['Comment'],_0x2e4baa=_0xd917e3['Script'],_0x54d486=_0xd917e3['Style'],_0x282838=_0xd917e3['Tag'],_0x66600=_0xd917e3['CDATA'],_0x22971d=_0xd917e3['Doctype'];let _0x3df08c=class _0x4ea83a{constructor(){this['parent']=null,this['prev']=null,this['next']=null,this['startIndex']=null,this['endIndex']=null;}get['parentNode'](){return this['parent'];}set['parentNode'](_0x4c73b4){this['parent']=_0x4c73b4;}get['previousSibling'](){return this['prev'];}set['previousSibling'](_0x4b234b){this['prev']=_0x4b234b;}get['nextSibling'](){return this['next'];}set['nextSibling'](_0x4ee8e0){this['next']=_0x4ee8e0;}['cloneNode'](_0x482e15=!0x1){return _0x213159(this,_0x482e15);}};class DataNode extends _0x3df08c{constructor(_0x2e8171){super(),this['data']=_0x2e8171;}get['nodeValue'](){return this['data'];}set['nodeValue'](_0x1648c5){this['data']=_0x1648c5;}}let _0x5454a3=class Text extends DataNode{constructor(){super(...arguments),this['type']=_0xd917e3['Text'];}get['nodeType'](){return 0x3;}},_0x1c35b7=class Comment extends DataNode{constructor(){super(...arguments),this['type']=_0xd917e3['Comment'];}get['nodeType'](){return 0x8;}};class ProcessingInstruction extends DataNode{constructor(_0x175654,_0x483b32){super(_0x483b32),this['name']=_0x175654,this['type']=_0xd917e3['Directive'];}get['nodeType'](){return 0x1;}}class NodeWithChildren extends _0x3df08c{constructor(_0x7306ad){super(),this['children']=_0x7306ad;}get['firstChild'](){var _0x31c373;return null!==(_0x31c373=this['children'][0x0])&&void 0x0!==_0x31c373?_0x31c373:null;}get['lastChild'](){return this['children']['length']>0x0?this['children'][this['children']['length']-0x1]:null;}get['childNodes'](){return this['children'];}set['childNodes'](_0x32a44c){this['children']=_0x32a44c;}}class _0x3b099a extends NodeWithChildren{constructor(){super(...arguments),this['type']=_0xd917e3['CDATA'];}get['nodeType'](){return 0x4;}}let _0x239862=class Document extends NodeWithChildren{constructor(){super(...arguments),this['type']=_0xd917e3['Root'];}get['nodeType'](){return 0x9;}},_0x40913d=class Element extends NodeWithChildren{constructor(_0x38e57c,_0x2ef213,_0x14f117=[],_0x40f3b5='script'===_0x38e57c?_0xd917e3['Script']:'style'===_0x38e57c?_0xd917e3['Style']:_0xd917e3['Tag']){super(_0x14f117),this['name']=_0x38e57c,this['attribs']=_0x2ef213,this['type']=_0x40f3b5;}get['nodeType'](){return 0x1;}get['tagName'](){return this['name'];}set['tagName'](_0x155f9f){this['name']=_0x155f9f;}get['attributes'](){return Object['keys'](this['attribs'])['map'](_0x3935ef=>{var _0x489d9e,_0x388871;return{'name':_0x3935ef,'value':this['attribs'][_0x3935ef],'namespace':null===(_0x489d9e=this['x-attribsNamespace'])||void 0x0===_0x489d9e?void 0x0:_0x489d9e[_0x3935ef],'prefix':null===(_0x388871=this['x-attribsPrefix'])||void 0x0===_0x388871?void 0x0:_0x388871[_0x3935ef]};});}};function _0x3c817b(_0x83f9ec){return(_0x26101f=_0x83f9ec)['type']===_0xd917e3['Tag']||_0x26101f['type']===_0xd917e3['Script']||_0x26101f['type']===_0xd917e3['Style'];var _0x26101f;}function _0x62ee59(_0x3760b7){return _0x3760b7['type']===_0xd917e3['Text'];}function _0x1c0b20(_0x3cd19a){return _0x3cd19a['type']===_0xd917e3['Comment'];}function _0x3e6744(_0x2c2826){return _0x2c2826['type']===_0xd917e3['Root'];}function _0x49970f(_0x22f68d){return Object['prototype']['hasOwnProperty']['call'](_0x22f68d,'children');}function _0x213159(_0x3b498e,_0x56bc37=!0x1){let _0xdaa8e3;if(_0x62ee59(_0x3b498e))_0xdaa8e3=new _0x5454a3(_0x3b498e['data']);else{if(_0x1c0b20(_0x3b498e))_0xdaa8e3=new _0x1c35b7(_0x3b498e['data']);else{if(_0x3c817b(_0x3b498e)){const _0x116f90=_0x56bc37?_0x5dde2b(_0x3b498e['children']):[],_0x31c5be=new _0x40913d(_0x3b498e['name'],{..._0x3b498e['attribs']},_0x116f90);_0x116f90['forEach'](_0x38dce8=>_0x38dce8['parent']=_0x31c5be),null!=_0x3b498e['namespace']&&(_0x31c5be['namespace']=_0x3b498e['namespace']),_0x3b498e['x-attribsNamespace']&&(_0x31c5be['x-attribsNamespace']={..._0x3b498e['x-attribsNamespace']}),_0x3b498e['x-attribsPrefix']&&(_0x31c5be['x-attribsPrefix']={..._0x3b498e['x-attribsPrefix']}),_0xdaa8e3=_0x31c5be;}else{if(function(_0x1de3f0){return _0x1de3f0['type']===_0xd917e3['CDATA'];}(_0x3b498e)){const _0x1952a7=_0x56bc37?_0x5dde2b(_0x3b498e['children']):[],_0x4d4221=new _0x3b099a(_0x1952a7);_0x1952a7['forEach'](_0xdc54=>_0xdc54['parent']=_0x4d4221),_0xdaa8e3=_0x4d4221;}else{if(_0x3e6744(_0x3b498e)){const _0x53689b=_0x56bc37?_0x5dde2b(_0x3b498e['children']):[],_0x43924f=new _0x239862(_0x53689b);_0x53689b['forEach'](_0x16dc92=>_0x16dc92['parent']=_0x43924f),_0x3b498e['x-mode']&&(_0x43924f['x-mode']=_0x3b498e['x-mode']),_0xdaa8e3=_0x43924f;}else{if(!function(_0x2e92f6){return _0x2e92f6['type']===_0xd917e3['Directive'];}(_0x3b498e))throw new Error('Not\x20implemented\x20yet:\x20'+_0x3b498e['type']);{const _0xd3d9ee=new ProcessingInstruction(_0x3b498e['name'],_0x3b498e['data']);null!=_0x3b498e['x-name']&&(_0xd3d9ee['x-name']=_0x3b498e['x-name'],_0xd3d9ee['x-publicId']=_0x3b498e['x-publicId'],_0xd3d9ee['x-systemId']=_0x3b498e['x-systemId']),_0xdaa8e3=_0xd3d9ee;}}}}}}return _0xdaa8e3['startIndex']=_0x3b498e['startIndex'],_0xdaa8e3['endIndex']=_0x3b498e['endIndex'],null!=_0x3b498e['sourceCodeLocation']&&(_0xdaa8e3['sourceCodeLocation']=_0x3b498e['sourceCodeLocation']),_0xdaa8e3;}function _0x5dde2b(_0x4d5aef){const _0x416040=_0x4d5aef['map'](_0x3e256c=>_0x213159(_0x3e256c,!0x0));for(let _0x35a8e3=0x1;_0x35a8e3<_0x416040['length'];_0x35a8e3++)_0x416040[_0x35a8e3]['prev']=_0x416040[_0x35a8e3-0x1],_0x416040[_0x35a8e3-0x1]['next']=_0x416040[_0x35a8e3];return _0x416040;}const _0x30f75d={'withStartIndices':!0x1,'withEndIndices':!0x1,'xmlMode':!0x1};class _0x5ea8c8{constructor(_0x102ac9,_0x38eac1,_0x272316){this['dom']=[],this['root']=new _0x239862(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null,'function'==typeof _0x38eac1&&(_0x272316=_0x38eac1,_0x38eac1=_0x30f75d),'object'==typeof _0x102ac9&&(_0x38eac1=_0x102ac9,_0x102ac9=void 0x0),this['callback']=null!=_0x102ac9?_0x102ac9:null,this['options']=null!=_0x38eac1?_0x38eac1:_0x30f75d,this['elementCB']=null!=_0x272316?_0x272316:null;}['onparserinit'](_0x10ab19){this['parser']=_0x10ab19;}['onreset'](){this['dom']=[],this['root']=new _0x239862(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'](_0x4b2fc6){this['handleCallback'](_0x4b2fc6);}['onclosetag'](){this['lastNode']=null;const _0x395c15=this['tagStack']['pop']();this['options']['withEndIndices']&&(_0x395c15['endIndex']=this['parser']['endIndex']),this['elementCB']&&this['elementCB'](_0x395c15);}['onopentag'](_0xe424c5,_0xb4ad87){const _0x4356ec=this['options']['xmlMode']?_0xd917e3['Tag']:void 0x0,_0x12c778=new _0x40913d(_0xe424c5,_0xb4ad87,void 0x0,_0x4356ec);this['addNode'](_0x12c778),this['tagStack']['push'](_0x12c778);}['ontext'](_0xa7edd4){const {lastNode:_0x4b203b}=this;if(_0x4b203b&&_0x4b203b['type']===_0xd917e3['Text'])_0x4b203b['data']+=_0xa7edd4,this['options']['withEndIndices']&&(_0x4b203b['endIndex']=this['parser']['endIndex']);else{const _0xfd657e=new _0x5454a3(_0xa7edd4);this['addNode'](_0xfd657e),this['lastNode']=_0xfd657e;}}['oncomment'](_0x3f74cf){if(this['lastNode']&&this['lastNode']['type']===_0xd917e3['Comment'])return void(this['lastNode']['data']+=_0x3f74cf);const _0x142888=new _0x1c35b7(_0x3f74cf);this['addNode'](_0x142888),this['lastNode']=_0x142888;}['oncommentend'](){this['lastNode']=null;}['oncdatastart'](){const _0x205118=new _0x5454a3(''),_0x166934=new _0x3b099a([_0x205118]);this['addNode'](_0x166934),_0x205118['parent']=_0x166934,this['lastNode']=_0x205118;}['oncdataend'](){this['lastNode']=null;}['onprocessinginstruction'](_0x36b7cd,_0x1d38bf){const _0x2ef9ce=new ProcessingInstruction(_0x36b7cd,_0x1d38bf);this['addNode'](_0x2ef9ce);}['handleCallback'](_0x365474){if('function'==typeof this['callback'])this['callback'](_0x365474,this['dom']);else{if(_0x365474)throw _0x365474;}}['addNode'](_0x40ad63){const _0x39c337=this['tagStack'][this['tagStack']['length']-0x1],_0x43a4b6=_0x39c337['children'][_0x39c337['children']['length']-0x1];this['options']['withStartIndices']&&(_0x40ad63['startIndex']=this['parser']['startIndex']),this['options']['withEndIndices']&&(_0x40ad63['endIndex']=this['parser']['endIndex']),_0x39c337['children']['push'](_0x40ad63),_0x43a4b6&&(_0x40ad63['prev']=_0x43a4b6,_0x43a4b6['next']=_0x40ad63),_0x40ad63['parent']=_0x39c337,this['lastNode']=null;}}const _0x46e93c=/["&'<>$\x80-\uFFFF]/g,_0x248e52=new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0x27,'&apos;'],[0x3c,'&lt;'],[0x3e,'&gt;']]),_0x4ee664=null!=String['prototype']['codePointAt']?(_0x4c19fd,_0x4ce775)=>_0x4c19fd['codePointAt'](_0x4ce775):(_0x3c1195,_0x19ed2e)=>0xd800==(0xfc00&_0x3c1195['charCodeAt'](_0x19ed2e))?0x400*(_0x3c1195['charCodeAt'](_0x19ed2e)-0xd800)+_0x3c1195['charCodeAt'](_0x19ed2e+0x1)-0xdc00+0x10000:_0x3c1195['charCodeAt'](_0x19ed2e);function _0x2301da(_0x4d2741){let _0xe3803d,_0x2cde6b='',_0x57e068=0x0;for(;null!==(_0xe3803d=_0x46e93c['exec'](_0x4d2741));){const _0x2a1ad6=_0xe3803d['index'],_0x4fce51=_0x4d2741['charCodeAt'](_0x2a1ad6),_0x34191d=_0x248e52['get'](_0x4fce51);void 0x0!==_0x34191d?(_0x2cde6b+=_0x4d2741['substring'](_0x57e068,_0x2a1ad6)+_0x34191d,_0x57e068=_0x2a1ad6+0x1):(_0x2cde6b+=_0x4d2741['substring'](_0x57e068,_0x2a1ad6)+'&#x'+_0x4ee664(_0x4d2741,_0x2a1ad6)['toString'](0x10)+';',_0x57e068=_0x46e93c['lastIndex']+=Number(0xd800==(0xfc00&_0x4fce51)));}return _0x2cde6b+_0x4d2741['substr'](_0x57e068);}function _0xec3556(_0x7a8605,_0x523504){return function(_0x54ad4b){let _0x24bff4,_0x7a305=0x0,_0x376ded='';for(;_0x24bff4=_0x7a8605['exec'](_0x54ad4b);)_0x7a305!==_0x24bff4['index']&&(_0x376ded+=_0x54ad4b['substring'](_0x7a305,_0x24bff4['index'])),_0x376ded+=_0x523504['get'](_0x24bff4[0x0]['charCodeAt'](0x0)),_0x7a305=_0x24bff4['index']+0x1;return _0x376ded+_0x54ad4b['substring'](_0x7a305);};}const _0xec2edc=_0xec3556(/["&\u00A0]/g,new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0xa0,'&nbsp;']])),_0x58f455=_0xec3556(/[&<>\u00A0]/g,new Map([[0x26,'&amp;'],[0x3c,'&lt;'],[0x3e,'&gt;'],[0xa0,'&nbsp;']])),_0x5146da=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'](_0x2fe773=>[_0x2fe773['toLowerCase'](),_0x2fe773])),_0x28be80=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'](_0x1399f1=>[_0x1399f1['toLowerCase'](),_0x1399f1])),_0x4a0537=new Set(['style','script','xmp','iframe','noembed','noframes','plaintext','noscript']);function _0x5f2951(_0x56cb4f){return _0x56cb4f['replace'](/"/g,'&quot;');}const _0x5b1e66=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']);function ti(_0x388f9f,_0x3bfa67={}){const _0x459d18='length'in _0x388f9f?_0x388f9f:[_0x388f9f];let _0x3aee11='';for(let _0x4afd80=0x0;_0x4afd80<_0x459d18['length'];_0x4afd80++)_0x3aee11+=_0x581116(_0x459d18[_0x4afd80],_0x3bfa67);return _0x3aee11;}function _0x581116(_0x4d5116,_0x1860ef){switch(_0x4d5116['type']){case _0x38bf7c:return ti(_0x4d5116['children'],_0x1860ef);case _0x22971d:case _0x314e24:return'<'+_0x4d5116['data']+'>';case _0x36f78c:return function(_0x1d1ab6){return'<!--'+_0x1d1ab6['data']+'-->';}(_0x4d5116);case _0x66600:return function(_0x118658){return'<![CDATA['+_0x118658['children'][0x0]['data']+']]>';}(_0x4d5116);case _0x2e4baa:case _0x54d486:case _0x282838:return function(_0x4e94a2,_0x34416e){var _0x37e1fc;'foreign'===_0x34416e['xmlMode']&&(_0x4e94a2['name']=null!==(_0x37e1fc=_0x5146da['get'](_0x4e94a2['name']))&&void 0x0!==_0x37e1fc?_0x37e1fc:_0x4e94a2['name'],_0x4e94a2['parent']&&_0xf6e4e1['has'](_0x4e94a2['parent']['name'])&&(_0x34416e={..._0x34416e,'xmlMode':!0x1})),!_0x34416e['xmlMode']&&_0x3d410c['has'](_0x4e94a2['name'])&&(_0x34416e={..._0x34416e,'xmlMode':'foreign'});let _0x3be406='<'+_0x4e94a2['name'];const _0x486c04=function(_0x57bd4a,_0x3e6588){var _0x223f55;if(!_0x57bd4a)return;const _0x33c1fb=!0x1===(null!==(_0x223f55=_0x3e6588['encodeEntities'])&&void 0x0!==_0x223f55?_0x223f55:_0x3e6588['decodeEntities'])?_0x5f2951:_0x3e6588['xmlMode']||'utf8'!==_0x3e6588['encodeEntities']?_0x2301da:_0xec2edc;return Object['keys'](_0x57bd4a)['map'](_0x41ec5e=>{var _0x59d1df,_0x2554f2;const _0x3ad826=null!==(_0x59d1df=_0x57bd4a[_0x41ec5e])&&void 0x0!==_0x59d1df?_0x59d1df:'';return'foreign'===_0x3e6588['xmlMode']&&(_0x41ec5e=null!==(_0x2554f2=_0x28be80['get'](_0x41ec5e))&&void 0x0!==_0x2554f2?_0x2554f2:_0x41ec5e),_0x3e6588['emptyAttrs']||_0x3e6588['xmlMode']||''!==_0x3ad826?_0x41ec5e+'=\x22'+_0x33c1fb(_0x3ad826)+'\x22':_0x41ec5e;})['join']('\x20');}(_0x4e94a2['attribs'],_0x34416e);return _0x486c04&&(_0x3be406+='\x20'+_0x486c04),0x0===_0x4e94a2['children']['length']&&(_0x34416e['xmlMode']?!0x1!==_0x34416e['selfClosingTags']:_0x34416e['selfClosingTags']&&_0x5b1e66['has'](_0x4e94a2['name']))?(_0x34416e['xmlMode']||(_0x3be406+='\x20'),_0x3be406+='/>'):(_0x3be406+='>',_0x4e94a2['children']['length']>0x0&&(_0x3be406+=ti(_0x4e94a2['children'],_0x34416e)),!_0x34416e['xmlMode']&&_0x5b1e66['has'](_0x4e94a2['name'])||(_0x3be406+='</'+_0x4e94a2['name']+'>')),_0x3be406;}(_0x4d5116,_0x1860ef);case _0xb00d4c:return function(_0x271939,_0x48a8a8){var _0x157847;let _0x88d6a4=_0x271939['data']||'';return!0x1===(null!==(_0x157847=_0x48a8a8['encodeEntities'])&&void 0x0!==_0x157847?_0x157847:_0x48a8a8['decodeEntities'])||!_0x48a8a8['xmlMode']&&_0x271939['parent']&&_0x4a0537['has'](_0x271939['parent']['name'])||(_0x88d6a4=_0x48a8a8['xmlMode']||'utf8'!==_0x48a8a8['encodeEntities']?_0x2301da(_0x88d6a4):_0x58f455(_0x88d6a4)),_0x88d6a4;}(_0x4d5116,_0x1860ef);}}const _0xf6e4e1=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignObject','desc','title']),_0x3d410c=new Set(['svg','math']);function _0x389c0c(_0x261b05){return Array['isArray'](_0x261b05)?_0x261b05['map'](_0x389c0c)['join'](''):_0x49970f(_0x261b05)&&!_0x1c0b20(_0x261b05)?_0x389c0c(_0x261b05['children']):_0x62ee59(_0x261b05)?_0x261b05['data']:'';}function _0x1625f8(_0x3363c8){return _0x3363c8['parent']||null;}function _0x168c18(_0x3367af){if(_0x3367af['prev']&&(_0x3367af['prev']['next']=_0x3367af['next']),_0x3367af['next']&&(_0x3367af['next']['prev']=_0x3367af['prev']),_0x3367af['parent']){const _0x4684cf=_0x3367af['parent']['children'],_0x5a3698=_0x4684cf['lastIndexOf'](_0x3367af);_0x5a3698>=0x0&&_0x4684cf['splice'](_0x5a3698,0x1);}_0x3367af['next']=null,_0x3367af['prev']=null,_0x3367af['parent']=null;}function _0x554f27(_0x419944,_0x12207c){const _0x13d3e8=_0x12207c['prev']=_0x419944['prev'];_0x13d3e8&&(_0x13d3e8['next']=_0x12207c);const _0x14935d=_0x12207c['next']=_0x419944['next'];_0x14935d&&(_0x14935d['prev']=_0x12207c);const _0x3a3270=_0x12207c['parent']=_0x419944['parent'];if(_0x3a3270){const _0x42a753=_0x3a3270['children'];_0x42a753[_0x42a753['lastIndexOf'](_0x419944)]=_0x12207c,_0x419944['parent']=null;}}function _0x3bcf00(_0x42bffd,_0x14afdf){if(_0x168c18(_0x14afdf),_0x14afdf['next']=null,_0x14afdf['parent']=_0x42bffd,_0x42bffd['children']['push'](_0x14afdf)>0x1){const _0xf79225=_0x42bffd['children'][_0x42bffd['children']['length']-0x2];_0xf79225['next']=_0x14afdf,_0x14afdf['prev']=_0xf79225;}else _0x14afdf['prev']=null;}function _0x258457(_0xb30583,_0x48ba98){_0x168c18(_0x48ba98);const {parent:_0x158c28}=_0xb30583,_0x2a7fbc=_0xb30583['next'];if(_0x48ba98['next']=_0x2a7fbc,_0x48ba98['prev']=_0xb30583,_0xb30583['next']=_0x48ba98,_0x48ba98['parent']=_0x158c28,_0x2a7fbc){if(_0x2a7fbc['prev']=_0x48ba98,_0x158c28){const _0x1dde19=_0x158c28['children'];_0x1dde19['splice'](_0x1dde19['lastIndexOf'](_0x2a7fbc),0x0,_0x48ba98);}}else _0x158c28&&_0x158c28['children']['push'](_0x48ba98);}function _0x2bd18c(_0x389919,_0x5bd44b){if(_0x168c18(_0x5bd44b),_0x5bd44b['parent']=_0x389919,_0x5bd44b['prev']=null,0x1!==_0x389919['children']['unshift'](_0x5bd44b)){const _0x116dec=_0x389919['children'][0x1];_0x116dec['prev']=_0x5bd44b,_0x5bd44b['next']=_0x116dec;}else _0x5bd44b['next']=null;}function _0x3b6f43(_0x549a9a,_0x2fc208){_0x168c18(_0x2fc208);const {parent:_0x45f25c}=_0x549a9a;if(_0x45f25c){const _0x17d31e=_0x45f25c['children'];_0x17d31e['splice'](_0x17d31e['indexOf'](_0x549a9a),0x0,_0x2fc208);}_0x549a9a['prev']&&(_0x549a9a['prev']['next']=_0x2fc208),_0x2fc208['parent']=_0x45f25c,_0x2fc208['prev']=_0x549a9a['prev'],_0x2fc208['next']=_0x549a9a,_0x549a9a['prev']=_0x2fc208;}function _0x2620a2(_0x1ee2a5,_0x36c831,_0x3a618d=!0x0){const _0x538bbd=Array['isArray'](_0x36c831)?_0x36c831:[_0x36c831];for(let _0x30941c=0x0;_0x30941c<_0x538bbd['length'];_0x30941c++){const _0x2241f2=_0x538bbd[_0x30941c];if(_0x3c817b(_0x2241f2)&&_0x1ee2a5(_0x2241f2))return _0x2241f2;if(_0x3a618d&&_0x49970f(_0x2241f2)&&_0x2241f2['children']['length']>0x0){const _0x39bb34=_0x2620a2(_0x1ee2a5,_0x2241f2['children'],!0x0);if(_0x39bb34)return _0x39bb34;}}return null;}function _0x502422(_0x581c65,_0x529502){const _0x5784ee=[],_0x50282c=[Array['isArray'](_0x529502)?_0x529502:[_0x529502]],_0x4773dc=[0x0];for(;;){if(_0x4773dc[0x0]>=_0x50282c[0x0]['length']){if(0x1===_0x50282c['length'])return _0x5784ee;_0x50282c['shift'](),_0x4773dc['shift']();continue;}const _0x30391e=_0x50282c[0x0][_0x4773dc[0x0]++];_0x3c817b(_0x30391e)&&_0x581c65(_0x30391e)&&_0x5784ee['push'](_0x30391e),_0x49970f(_0x30391e)&&_0x30391e['children']['length']>0x0&&(_0x4773dc['unshift'](0x0),_0x50282c['unshift'](_0x30391e['children']));}}function _0x6747e8(_0x4abf56,_0xf92990){return function(_0x47c5b6,_0x13fc42){const _0x17379e=new _0x5ea8c8(void 0x0,_0x13fc42);return new _0x421270(_0x17379e,_0x13fc42)['end'](_0x47c5b6),_0x17379e['root'];}(_0x4abf56,_0xf92990);}function _0x2e8cdd(_0x1e4d56,_0x14327c){return ti(_0x1e4d56,_0x14327c);}function _0x2977fd(_0x5c5d99,_0x3a7f82,_0x43e1c4){const _0x590b39=null!==_0x3a7f82?_0x1b04b0=>_0x1b04b0['attribs'][_0x5c5d99]===_0x3a7f82:_0x51e9cf=>Boolean(_0x51e9cf['attribs'][_0x5c5d99]);return _0x2620a2(_0x5d51e6=>_0x3c817b(_0x5d51e6)&&_0x590b39(_0x5d51e6),_0x43e1c4);}function _0x453ad8(_0x5a4cff,_0x5464a3,_0x2e4221){const _0x110e12=null!==_0x5464a3?_0x175b57=>_0x175b57['attribs'][_0x5a4cff]===_0x5464a3:_0x324fc9=>Boolean(_0x324fc9['attribs'][_0x5a4cff]);return _0x502422(_0x41af07=>_0x3c817b(_0x41af07)&&_0x110e12(_0x41af07),_0x2e4221);}function _0x126a31(_0x1d4983){return _0x502422(_0x4aa979=>_0x3c817b(_0x4aa979)&&function(_0x1259b5){const _0x450841=_0x1259b5['toLowerCase']();return'script'===_0x450841||'style'===_0x450841||_0x450841['includes']('-');}(_0x4aa979['name']),_0x1d4983);}function _0x55fb0a(_0x1e409d){return function(_0x55f864,_0x50ce1a,_0x32b623,_0x5529c8){const _0x49aee7=[],_0x3ec915=[Array['isArray'](_0x50ce1a)?_0x50ce1a:[_0x50ce1a]],_0x19b2e5=[0x0];for(;;){if(_0x19b2e5[0x0]>=_0x3ec915[0x0]['length']){if(0x1===_0x19b2e5['length'])return _0x49aee7;_0x3ec915['shift'](),_0x19b2e5['shift']();continue;}const _0x52353f=_0x3ec915[0x0][_0x19b2e5[0x0]++];if(_0x55f864(_0x52353f)&&(_0x49aee7['push'](_0x52353f),--_0x5529c8<=0x0))return _0x49aee7;_0x49970f(_0x52353f)&&_0x52353f['children']['length']>0x0&&(_0x19b2e5['unshift'](0x0),_0x3ec915['unshift'](_0x52353f['children']));}}(_0x53d57a=>_0x1c0b20(_0x53d57a),_0x1e409d,0x0,0x1/0x0);}function _0x31b99b(_0x1f7324,_0x31dffd){return _0x1f7324&&_0x3c817b(_0x1f7324)?_0x1f7324['attribs'][_0x31dffd]:null;}function _0x4d1058(_0xf42ee4,_0x524e44,_0x5d10b6){_0x3c817b(_0xf42ee4)&&(null===_0x5d10b6?delete _0xf42ee4['attribs'][_0x524e44]:_0xf42ee4['attribs'][_0x524e44]=_0x5d10b6);}function _0x13b925(_0x266b40,_0x1f0ba4,_0x27447f){const _0x550589=_0x1f0ba4['cloneNode'](!0x0);'beforebegin'===_0x27447f?_0x3b6f43(_0x266b40,_0x550589):'afterbegin'===_0x27447f?_0x2bd18c(_0x266b40,_0x550589):'beforeend'===_0x27447f?_0x3bcf00(_0x266b40,_0x550589):'afterend'===_0x27447f&&_0x258457(_0x266b40,_0x550589);}function _0x31e200(_0x1ae170){const _0x1bb38e=[];let _0x2fbefd=_0x1ae170;for(;_0x2fbefd;)_0x2fbefd=_0x1625f8(_0x2fbefd),_0x2fbefd&&_0x1bb38e['push'](_0x2fbefd);return _0x1bb38e;}function _0x833a16(_0x6075fa){return _0x6075fa['replace'](/^\s+/gm,'')['replace'](/\s+$/gm,'')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/>\s*</g,'><');}function _0x292b75(_0xb17257){let _0x4ecb08=0x0;for(;_0xb17257['parentNode'];)_0xb17257=_0xb17257['parentNode'],_0x4ecb08++;return _0x4ecb08;}function _0x3a2ee7(_0xda3316){const _0x1315a0=[];let _0x26d652=_0xda3316['nextSibling'];for(;_0x26d652;)_0x1315a0['push'](_0x26d652),_0x26d652=_0x26d652['nextSibling'];_0x1315a0['forEach'](_0x47d7ff=>{_0x168c18(_0x47d7ff);});}const _0x202474='object'==typeof self?self:globalThis,_0x48213c=_0x18c6ee=>((_0x1bd5f3,_0x16e6c5)=>{const _0x30dfa8=(_0x13883f,_0x2bd610)=>(_0x1bd5f3['set'](_0x2bd610,_0x13883f),_0x13883f),_0x4a1e2f=_0x436198=>{if(_0x1bd5f3['has'](_0x436198))return _0x1bd5f3['get'](_0x436198);const [_0x440012,_0x5889d2]=_0x16e6c5[_0x436198];switch(_0x440012){case 0x0:case-0x1:return _0x30dfa8(_0x5889d2,_0x436198);case 0x1:{const _0x4cb34d=_0x30dfa8([],_0x436198);for(const _0x4b384c of _0x5889d2)_0x4cb34d['push'](_0x4a1e2f(_0x4b384c));return _0x4cb34d;}case 0x2:{const _0x50b27c=_0x30dfa8({},_0x436198);for(const [_0x4310cc,_0x291905]of _0x5889d2)_0x50b27c[_0x4a1e2f(_0x4310cc)]=_0x4a1e2f(_0x291905);return _0x50b27c;}case 0x3:return _0x30dfa8(new Date(_0x5889d2),_0x436198);case 0x4:{const {source:_0x291bc4,flags:_0x43c26c}=_0x5889d2;return _0x30dfa8(new RegExp(_0x291bc4,_0x43c26c),_0x436198);}case 0x5:{const _0x4fd3ef=_0x30dfa8(new Map(),_0x436198);for(const [_0x35c0b4,_0x929db5]of _0x5889d2)_0x4fd3ef['set'](_0x4a1e2f(_0x35c0b4),_0x4a1e2f(_0x929db5));return _0x4fd3ef;}case 0x6:{const _0x16a2a6=_0x30dfa8(new Set(),_0x436198);for(const _0x2b1911 of _0x5889d2)_0x16a2a6['add'](_0x4a1e2f(_0x2b1911));return _0x16a2a6;}case 0x7:{const {name:_0x1b07bd,message:_0x1069b4}=_0x5889d2;return _0x30dfa8(new _0x202474[_0x1b07bd](_0x1069b4),_0x436198);}case 0x8:return _0x30dfa8(BigInt(_0x5889d2),_0x436198);case'BigInt':return _0x30dfa8(Object(BigInt(_0x5889d2)),_0x436198);case'ArrayBuffer':return _0x30dfa8(new Uint8Array(_0x5889d2)['buffer'],_0x5889d2);case'DataView':{const {buffer:_0x1a2af3}=new Uint8Array(_0x5889d2);return _0x30dfa8(new DataView(_0x1a2af3),_0x5889d2);}}return _0x30dfa8(new _0x202474[_0x440012](_0x5889d2),_0x436198);};return _0x4a1e2f;})(new Map(),_0x18c6ee)(0x0),_0x3ebefb='',{toString:_0x229ce4}={},{keys:_0x3a25be}=Object,_0x1c7812=_0xfc9d0a=>{const _0x5056aa=typeof _0xfc9d0a;if('object'!==_0x5056aa||!_0xfc9d0a)return[0x0,_0x5056aa];const _0x3bbb4a=_0x229ce4['call'](_0xfc9d0a)['slice'](0x8,-0x1);switch(_0x3bbb4a){case'Array':return[0x1,_0x3ebefb];case'Object':return[0x2,_0x3ebefb];case'Date':return[0x3,_0x3ebefb];case'RegExp':return[0x4,_0x3ebefb];case'Map':return[0x5,_0x3ebefb];case'Set':return[0x6,_0x3ebefb];case'DataView':return[0x1,_0x3bbb4a];}return _0x3bbb4a['includes']('Array')?[0x1,_0x3bbb4a]:_0x3bbb4a['includes']('Error')?[0x7,_0x3bbb4a]:[0x2,_0x3bbb4a];},_0x200039=([_0x59d597,_0x1e3621])=>0x0===_0x59d597&&('function'===_0x1e3621||'symbol'===_0x1e3621),_0x4c4e14=(_0x9bf18f,{json:_0x1d8811,lossy:_0xedf022}={})=>{const _0x44127e=[];return((_0xfc5ac,_0x4a575c,_0xe14a10,_0x397aa4)=>{const _0x494df7=(_0x4eb7f5,_0x2c0b35)=>{const _0x10731d=_0x397aa4['push'](_0x4eb7f5)-0x1;return _0xe14a10['set'](_0x2c0b35,_0x10731d),_0x10731d;},_0x40d6e1=_0x417ff5=>{if(_0xe14a10['has'](_0x417ff5))return _0xe14a10['get'](_0x417ff5);let [_0xf72256,_0x136524]=_0x1c7812(_0x417ff5);switch(_0xf72256){case 0x0:{let _0x2406d4=_0x417ff5;switch(_0x136524){case'bigint':_0xf72256=0x8,_0x2406d4=_0x417ff5['toString']();break;case'function':case'symbol':if(_0xfc5ac)throw new TypeError('unable\x20to\x20serialize\x20'+_0x136524);_0x2406d4=null;break;case'undefined':return _0x494df7([-0x1],_0x417ff5);}return _0x494df7([_0xf72256,_0x2406d4],_0x417ff5);}case 0x1:{if(_0x136524){let _0x40cefc=_0x417ff5;return'DataView'===_0x136524?_0x40cefc=new Uint8Array(_0x417ff5['buffer']):'ArrayBuffer'===_0x136524&&(_0x40cefc=new Uint8Array(_0x417ff5)),_0x494df7([_0x136524,[..._0x40cefc]],_0x417ff5);}const _0x20d579=[],_0x52d217=_0x494df7([_0xf72256,_0x20d579],_0x417ff5);for(const _0x392bed of _0x417ff5)_0x20d579['push'](_0x40d6e1(_0x392bed));return _0x52d217;}case 0x2:{if(_0x136524)switch(_0x136524){case'BigInt':return _0x494df7([_0x136524,_0x417ff5['toString']()],_0x417ff5);case'Boolean':case'Number':case'String':return _0x494df7([_0x136524,_0x417ff5['valueOf']()],_0x417ff5);}if(_0x4a575c&&'toJSON'in _0x417ff5)return _0x40d6e1(_0x417ff5['toJSON']());const _0x8fb609=[],_0x2500e6=_0x494df7([_0xf72256,_0x8fb609],_0x417ff5);for(const _0x404050 of _0x3a25be(_0x417ff5))!_0xfc5ac&&_0x200039(_0x1c7812(_0x417ff5[_0x404050]))||_0x8fb609['push']([_0x40d6e1(_0x404050),_0x40d6e1(_0x417ff5[_0x404050])]);return _0x2500e6;}case 0x3:return _0x494df7([_0xf72256,_0x417ff5['toISOString']()],_0x417ff5);case 0x4:{const {source:_0x3c0f1c,flags:_0x49555c}=_0x417ff5;return _0x494df7([_0xf72256,{'source':_0x3c0f1c,'flags':_0x49555c}],_0x417ff5);}case 0x5:{const _0x17de1c=[],_0x32d20a=_0x494df7([_0xf72256,_0x17de1c],_0x417ff5);for(const [_0x5dabc4,_0x1387a0]of _0x417ff5)(_0xfc5ac||!_0x200039(_0x1c7812(_0x5dabc4))&&!_0x200039(_0x1c7812(_0x1387a0)))&&_0x17de1c['push']([_0x40d6e1(_0x5dabc4),_0x40d6e1(_0x1387a0)]);return _0x32d20a;}case 0x6:{const _0x2efcc1=[],_0x2709f3=_0x494df7([_0xf72256,_0x2efcc1],_0x417ff5);for(const _0xa0b356 of _0x417ff5)!_0xfc5ac&&_0x200039(_0x1c7812(_0xa0b356))||_0x2efcc1['push'](_0x40d6e1(_0xa0b356));return _0x2709f3;}}const {message:_0x7a18d4}=_0x417ff5;return _0x494df7([_0xf72256,{'name':_0x136524,'message':_0x7a18d4}],_0x417ff5);};return _0x40d6e1;})(!(_0x1d8811||_0xedf022),!!_0x1d8811,new Map(),_0x44127e)(_0x9bf18f),_0x44127e;};var _0x32ab42='function'==typeof structuredClone?(_0x3b002a,_0x4ca590)=>_0x4ca590&&('json'in _0x4ca590||'lossy'in _0x4ca590)?_0x48213c(_0x4c4e14(_0x3b002a,_0x4ca590)):structuredClone(_0x3b002a):(_0x28ed72,_0x39b7c6)=>_0x48213c(_0x4c4e14(_0x28ed72,_0x39b7c6));const _0x107b1d=_0x293678('end'),_0x13647d=_0x293678('start');function _0x293678(_0x432d8e){return function(_0x1d6e4c){const _0x5eb4fb=_0x1d6e4c&&_0x1d6e4c['position']&&_0x1d6e4c['position'][_0x432d8e]||{};if('number'==typeof _0x5eb4fb['line']&&_0x5eb4fb['line']>0x0&&'number'==typeof _0x5eb4fb['column']&&_0x5eb4fb['column']>0x0)return{'line':_0x5eb4fb['line'],'column':_0x5eb4fb['column'],'offset':'number'==typeof _0x5eb4fb['offset']&&_0x5eb4fb['offset']>-0x1?_0x5eb4fb['offset']:void 0x0};};}const _0x357fae=['ariaDescribedBy','ariaLabel','ariaLabelledBy'],_0x41ffc5={'ancestors':{'tbody':['table'],'td':['table'],'th':['table'],'thead':['table'],'tfoot':['table'],'tr':['table']},'attributes':{'a':[..._0x357fae,'dataFootnoteBackref','dataFootnoteRef',['className','data-footnote-backref'],'href'],'blockquote':['cite'],'code':[['className',/^language-./]],'del':['cite'],'div':['itemScope','itemType'],'dl':[..._0x357fae],'h2':[['className','sr-only']],'img':[..._0x357fae,'longDesc','src'],'input':[['disabled',!0x0],['type','checkbox']],'ins':['cite'],'li':[['className','task-list-item']],'ol':[..._0x357fae,['className','contains-task-list']],'q':['cite'],'section':['dataFootnotes',['className','footnotes']],'source':['srcSet'],'summary':[..._0x357fae],'table':[..._0x357fae],'ul':[..._0x357fae,['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']},_0x470258={}['hasOwnProperty'];function _0x21ebc3(_0x6ef476,_0xe6da6){if(_0xe6da6&&'object'==typeof _0xe6da6){const _0x4dd0aa=_0xe6da6;switch('string'==typeof _0x4dd0aa['type']?_0x4dd0aa['type']:''){case'comment':return function(_0x3e2255,_0x1c05e9){if(_0x3e2255['schema']['allowComments']){const _0x38a704='string'==typeof _0x1c05e9['value']?_0x1c05e9['value']:'',_0x1ee471=_0x38a704['indexOf']('-->'),_0x15289c={'type':'comment','value':_0x1ee471<0x0?_0x38a704:_0x38a704['slice'](0x0,_0x1ee471)};return _0x455c5f(_0x15289c,_0x1c05e9),_0x15289c;}}(_0x6ef476,_0x4dd0aa);case'doctype':return function(_0x5d221c,_0x3b070d){if(_0x5d221c['schema']['allowDoctypes']){const _0x3eb413={'type':'doctype'};return _0x455c5f(_0x3eb413,_0x3b070d),_0x3eb413;}}(_0x6ef476,_0x4dd0aa);case'element':return function(_0x1e81ff,_0x208f83){const _0x546466='string'==typeof _0x208f83['tagName']?_0x208f83['tagName']:'';_0x1e81ff['stack']['push'](_0x546466);const _0x48bc72=_0x86ca00(_0x1e81ff,_0x208f83['children']),_0x46936d=function(_0x3b4e74,_0x835710){const _0xbac12c=_0x3b4e74['stack'][_0x3b4e74['stack']['length']-0x1],_0x36ee25=_0x3b4e74['schema']['attributes'],_0x1d3c15=_0x3b4e74['schema']['required'],_0x572c07=_0x36ee25&&_0x470258['call'](_0x36ee25,_0xbac12c)?_0x36ee25[_0xbac12c]:void 0x0,_0x47980c=_0x36ee25&&_0x470258['call'](_0x36ee25,'*')?_0x36ee25['*']:void 0x0,_0x4772ee=_0x835710&&'object'==typeof _0x835710?_0x835710:{},_0x517188={};let _0x29cbb3;for(_0x29cbb3 in _0x4772ee)if(_0x470258['call'](_0x4772ee,_0x29cbb3)){const _0x29b493=_0x4772ee[_0x29cbb3];let _0x13609d=_0x2ef877(_0x3b4e74,_0x5561eb(_0x572c07,_0x29cbb3),_0x29cbb3,_0x29b493);null==_0x13609d&&(_0x13609d=_0x2ef877(_0x3b4e74,_0x5561eb(_0x47980c,_0x29cbb3),_0x29cbb3,_0x29b493)),null!=_0x13609d&&(_0x517188[_0x29cbb3]=_0x13609d);}if(_0x1d3c15&&_0x470258['call'](_0x1d3c15,_0xbac12c)){const _0x381fa1=_0x1d3c15[_0xbac12c];for(_0x29cbb3 in _0x381fa1)_0x470258['call'](_0x381fa1,_0x29cbb3)&&!_0x470258['call'](_0x517188,_0x29cbb3)&&(_0x517188[_0x29cbb3]=_0x381fa1[_0x29cbb3]);}return _0x517188;}(_0x1e81ff,_0x208f83['properties']);_0x1e81ff['stack']['pop']();let _0x332f74=!0x1;if(_0x546466&&'*'!==_0x546466&&(!_0x1e81ff['schema']['tagNames']||_0x1e81ff['schema']['tagNames']['includes'](_0x546466))&&(_0x332f74=!0x0,_0x1e81ff['schema']['ancestors']&&_0x470258['call'](_0x1e81ff['schema']['ancestors'],_0x546466))){const _0x438614=_0x1e81ff['schema']['ancestors'][_0x546466];let _0x22b4cc=-0x1;for(_0x332f74=!0x1;++_0x22b4cc<_0x438614['length'];)_0x1e81ff['stack']['includes'](_0x438614[_0x22b4cc])&&(_0x332f74=!0x0);}if(!_0x332f74)return _0x1e81ff['schema']['strip']&&!_0x1e81ff['schema']['strip']['includes'](_0x546466)?_0x48bc72:void 0x0;const _0x961767={'type':'element','tagName':_0x546466,'properties':_0x46936d,'children':_0x48bc72};return _0x455c5f(_0x961767,_0x208f83),_0x961767;}(_0x6ef476,_0x4dd0aa);case'root':return function(_0x3e7346,_0x1c96eb){const _0x67b681=_0x86ca00(_0x3e7346,_0x1c96eb['children']),_0x408b72={'type':'root','children':_0x67b681};return _0x455c5f(_0x408b72,_0x1c96eb),_0x408b72;}(_0x6ef476,_0x4dd0aa);case'text':return function(_0xaf204b,_0x1d59a3){const _0x2c856b='string'==typeof _0x1d59a3['value']?_0x1d59a3['value']:'',_0x5799a8={'type':'text','value':_0x2c856b};return _0x455c5f(_0x5799a8,_0x1d59a3),_0x5799a8;}(0x0,_0x4dd0aa);}}}function _0x86ca00(_0xd2be77,_0xfebe27){const _0x21cc31=[];if(Array['isArray'](_0xfebe27)){const _0x728bab=_0xfebe27;let _0x43f1ac=-0x1;for(;++_0x43f1ac<_0x728bab['length'];){const _0x251024=_0x21ebc3(_0xd2be77,_0x728bab[_0x43f1ac]);_0x251024&&(Array['isArray'](_0x251024)?_0x21cc31['push'](..._0x251024):_0x21cc31['push'](_0x251024));}}return _0x21cc31;}function _0x2ef877(_0x2935c5,_0x1159aa,_0x336c24,_0x1fb295){return _0x1159aa?Array['isArray'](_0x1fb295)?function(_0x2333fb,_0xa31217,_0x3aa93b,_0x33a0aa){let _0x5668d1=-0x1;const _0x14d912=[];for(;++_0x5668d1<_0x33a0aa['length'];){const _0x2c278d=_0xeb1437(_0x2333fb,_0xa31217,_0x3aa93b,_0x33a0aa[_0x5668d1]);'number'!=typeof _0x2c278d&&'string'!=typeof _0x2c278d||_0x14d912['push'](_0x2c278d);}return _0x14d912;}(_0x2935c5,_0x1159aa,_0x336c24,_0x1fb295):_0xeb1437(_0x2935c5,_0x1159aa,_0x336c24,_0x1fb295):void 0x0;}function _0xeb1437(_0x462a21,_0x460cfd,_0x192f06,_0x40c7a2){if(('boolean'==typeof _0x40c7a2||'number'==typeof _0x40c7a2||'string'==typeof _0x40c7a2)&&function(_0x2aad02,_0x22816e,_0x4a9aa8){const _0x2410fc=_0x2aad02['schema']['protocols']&&_0x470258['call'](_0x2aad02['schema']['protocols'],_0x22816e)?_0x2aad02['schema']['protocols'][_0x22816e]:void 0x0;if(!_0x2410fc||0x0===_0x2410fc['length'])return!0x0;const _0x348826=String(_0x4a9aa8),_0x1c4df0=_0x348826['indexOf'](':'),_0x56068f=_0x348826['indexOf']('?'),_0x19ea88=_0x348826['indexOf']('#'),_0x5d3e80=_0x348826['indexOf']('/');if(_0x1c4df0<0x0||_0x5d3e80>-0x1&&_0x1c4df0>_0x5d3e80||_0x56068f>-0x1&&_0x1c4df0>_0x56068f||_0x19ea88>-0x1&&_0x1c4df0>_0x19ea88)return!0x0;let _0x465359=-0x1;for(;++_0x465359<_0x2410fc['length'];){const _0x45cc67=_0x2410fc[_0x465359];if(_0x1c4df0===_0x45cc67['length']&&_0x348826['slice'](0x0,_0x45cc67['length'])===_0x45cc67)return!0x0;}return!0x1;}(_0x462a21,_0x192f06,_0x40c7a2)){if('object'==typeof _0x460cfd&&_0x460cfd['length']>0x1){let _0x315344=!0x1,_0x464eea=0x0;for(;++_0x464eea<_0x460cfd['length'];){const _0x69a9e9=_0x460cfd[_0x464eea];if(_0x69a9e9&&'object'==typeof _0x69a9e9&&'flags'in _0x69a9e9){if(_0x69a9e9['test'](String(_0x40c7a2))){_0x315344=!0x0;break;}}else{if(_0x69a9e9===_0x40c7a2){_0x315344=!0x0;break;}}}if(!_0x315344)return;}return _0x462a21['schema']['clobber']&&_0x462a21['schema']['clobberPrefix']&&_0x462a21['schema']['clobber']['includes'](_0x192f06)?_0x462a21['schema']['clobberPrefix']+_0x40c7a2:_0x40c7a2;}}function _0x455c5f(_0x341e38,_0x7ca049){const _0x4032b5=function(_0xeec03){const _0x6fe685=_0x13647d(_0xeec03),_0x353964=_0x107b1d(_0xeec03);if(_0x6fe685&&_0x353964)return{'start':_0x6fe685,'end':_0x353964};}(_0x7ca049);_0x7ca049['data']&&(_0x341e38['data']=_0x32ab42(_0x7ca049['data'])),_0x4032b5&&(_0x341e38['position']=_0x4032b5);}function _0x5561eb(_0x55a7a3,_0x557d74){let _0x1e1e13,_0x219703=-0x1;if(_0x55a7a3)for(;++_0x219703<_0x55a7a3['length'];){const _0x29142c=_0x55a7a3[_0x219703],_0x5c27ab='string'==typeof _0x29142c?_0x29142c:_0x29142c[0x0];if(_0x5c27ab===_0x557d74)return _0x29142c;'data*'===_0x5c27ab&&(_0x1e1e13=_0x29142c);}if(_0x557d74['length']>0x4&&'data'===_0x557d74['slice'](0x0,0x4)['toLowerCase']())return _0x1e1e13;}function _0x2e0f8e(_0x700119){return function(_0xcd23c7){const _0x24e7ad=function(_0x56a017,_0x2463ff){let _0x18f328={'type':'root','children':[]};const _0x4f4c9e=_0x21ebc3({'schema':_0x2463ff?{..._0x41ffc5,..._0x2463ff}:_0x41ffc5,'stack':[]},_0x56a017);return _0x4f4c9e&&(Array['isArray'](_0x4f4c9e)?0x1===_0x4f4c9e['length']?_0x18f328=_0x4f4c9e[0x0]:_0x18f328['children']=_0x4f4c9e:_0x18f328=_0x4f4c9e),_0x18f328;}(_0xcd23c7,_0x700119);return _0x24e7ad;};}class _0x259075 extends/* #__PURE__ -- @preserve */
_0x5f37cd['ObservableMixin'](){['_m2html'];constructor(){super();const _0x389b0d=Object['entries'](_0x5f37cd['MarkdownGfmMdToHtmlDefaultPlugins']),_0x13a934=_0x389b0d['findIndex'](([_0x3e6d58])=>'rehypeDomRaw'===_0x3e6d58);if(-0x1===_0x13a934)throw new _0x5f37cd['CKEditorError']('ai-response-parser-unable-to-set-up-parser');_0x389b0d['splice'](_0x13a934+0x1,0x0,['rehypeSanitize',_0x2e0f8e]),this['_m2html']=new _0x5f37cd['MarkdownGfmMdToHtml']({'plugins':Object['fromEntries'](_0x389b0d)});}['convertMarkdownToHTML'](_0x172f33){const _0x380573=this['_m2html']['parse'](_0x172f33);return this['parseAndNormalizeHTML'](_0x380573);}['parseAndNormalizeHTML'](_0x4b74d6){return this['_parseHTML'](_0x4b74d6);}['_parseHTML'](_0x4393dc){const _0xa50be5=_0x6747e8('<dummy>'+_0x4393dc['replace'](/<[^>]*?$/g,'')+'</dummy>');return _0x34ee62(_0xa50be5),_0xa50be5['children']=_0xa50be5['children'][0x0]['children'],_0xa50be5;}}function _0x34ee62(_0x2433d9){for(const _0x2a9aa9 of _0x2433d9['children'])_0x3c817b(_0x2a9aa9)?'pre'!==_0x2a9aa9['name']&&_0x34ee62(_0x2a9aa9):_0x62ee59(_0x2a9aa9)&&(_0x2a9aa9['data']=_0x2a9aa9['data']['replace'](/^\t+/gm,'\x20')['replace'](/\n*/g,'')['replace'](/[ \t\r\f\v]+/g,'\x20'));}class _0x5b4b42 extends/* #__PURE__ -- @preserve */
_0x5f37cd['ObservableMixin'](){['_generateUid'];['_uidCounter']=0x0;['_touchedNodesState']={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null,'rescuedNewIds':new Set()};['_existingDataIds']=new Set();['_referencedExistingIds']=new Set();constructor(_0x4d38aa){super(),this['_generateUid']=_0x4d38aa||(()=>'e'+String(this['_uidCounter']++));}['merge'](_0x941119,_0x38c441,_0x264c2a){this['_uidCounter']=0x0;const _0xfcf08f=_0x941119['cloneNode'](!0x0);_0x4e0d99(_0x38c441,_0xfcf08f);const _0xf879f8=_0xfcf08f['childNodes'],_0x32b100=Array['from'](_0xf879f8)['filter'](_0x4211bc=>!(0x3===_0x4211bc['nodeType']&&''===_0x2e8cdd(_0x4211bc)['trim']())),_0x4a299f=_0x32b100['length'];for(const _0x50ea72 of _0x32b100)_0x50ea72&&_0x3c817b(_0x50ea72)&&void 0x0===_0x50ea72['attribs']['data-id']&&_0x4d1058(_0x50ea72,'data-id','new-element');if(0x0===_0x38c441['childNodes']['length']){const _0x464be2=[];return _0x453ad8('data-id','new-element',_0xfcf08f)['forEach'](_0x4ecc6a=>{const _0x429b23=this['_generateUid']();_0x4d1058(_0x4ecc6a,'data-id',_0x429b23),_0x464be2['push'](_0x429b23);}),this['_removeSpecialComments'](_0xfcf08f),{'parsedContent':_0xfcf08f,'newNodeIds':_0x464be2,'modifiedNodeIds':[],'removedNodeIds':[]};}this['_touchedNodesState']['newIds']=[],this['_touchedNodesState']['modifiedIds']=[],this['_touchedNodesState']['removedIds']=[],this['_touchedNodesState']['invalidIds']=[],this['_touchedNodesState']['lastTouchedId']=null,this['_touchedNodesState']['rescuedNewIds']=new Set(),this['_referencedExistingIds']=new Set(),this['_existingDataIds']=new Set(_0x453ad8('data-id',null,_0x38c441)['map'](_0x4a1d4e=>_0x31b99b(_0x4a1d4e,'data-id'))['filter'](_0x2a6045=>!!_0x2a6045));let _0x2dd088=-0x1,_0x110556=!0x1;for(let _0x27aa9a=0x0;_0x27aa9a<_0x4a299f;_0x27aa9a++){const _0x1371cf=_0x32b100[_0x27aa9a],_0x4e27c5=_0x32b100[_0x27aa9a+0x1];if(this['_isNewNode'](_0x1371cf)){if(-0x1===_0x2dd088&&(_0x2dd088=_0x27aa9a),this['_markWrappedElements'](_0x1371cf),!this['_isNewNode'](_0x4e27c5)){const [_0x183579,_0x1e949c]=this['_findReferenceNode'](_0x1371cf,_0x110556,_0x38c441);if(_0x183579){const _0x1a325c=Array['from'](_0x32b100)['slice'](_0x2dd088,_0x27aa9a+0x1);this['_insertNodes'](_0x183579,_0x1a325c,_0x1e949c),_0x2dd088=-0x1;}}}else{if(this['_isExistingContentComment'](_0x1371cf))_0x110556=!0x0;else{if(this['_isExistingNode'](_0x1371cf)){const _0x5afa6a=_0x31b99b(_0x1371cf,'data-id');if(_0x5afa6a&&this['_existingDataIds']['has'](_0x5afa6a)){this['_referencedExistingIds']['add'](_0x5afa6a);const _0x25f16a=_0x2977fd('data-id',_0x5afa6a,_0x38c441);this['_replaceNode'](_0x25f16a,_0x1371cf);}}else{if(_0x513b3f(_0x1371cf)){const _0x1673e7=_0x410a30(_0x1371cf);!!_0x2977fd('data-id',_0x1673e7,_0xfcf08f)||this['_touchedNodesState']['removedIds']['push'](_0x1673e7);}}}}}for(const _0x462eda of this['_touchedNodesState']['removedIds']){const _0x4097e7=_0x2977fd('data-id',_0x462eda,_0x38c441);_0x4097e7&&(this['_rescueUnwrappedElements'](_0x4097e7),this['_removeNode'](_0x4097e7,_0x462eda,_0x264c2a));}if(_0x453ad8('data-id','new-element',_0x38c441)['forEach'](_0x2cbd92=>{const _0x509532=this['_getUid'](_0x2cbd92);_0x4d1058(_0x2cbd92,'data-id',_0x509532),this['_touchedNodesState']['newIds']['push'](_0x509532);}),this['_removeSpecialComments'](_0x38c441),_0x264c2a&&_0x264c2a['cutAfterUnstable']){const _0x2acec2=this['_findLastConfirmationPoint'](_0x32b100),_0xaf9d8d=this['_getLastStableElement'](_0x38c441,_0x2acec2);this['_markUnstableElements'](_0x38c441,_0xaf9d8d);}if(this['_processWrappedElements'](_0x38c441,_0x264c2a),_0x264c2a&&_0x264c2a['cutAfterUnstable']&&this['_touchedNodesState']['lastTouchedId']){const _0x296da5=_0x453ad8('data-id',this['_touchedNodesState']['lastTouchedId'],_0x38c441);let _0x330cd2=_0x296da5[_0x296da5['length']-0x1];for(;_0x330cd2;)_0x3a2ee7(_0x330cd2),_0x330cd2=_0x330cd2['parentNode'];}return{'parsedContent':_0x38c441,'newNodeIds':this['_touchedNodesState']['newIds'],'modifiedNodeIds':this['_touchedNodesState']['modifiedIds'],'removedNodeIds':this['_touchedNodesState']['removedIds']};}['_insertNodes'](_0x48eb57,_0x582f33,_0x1a8140){for(const _0x37a3c3 of _0x582f33){const _0x13eb19=this['_getUid'](_0x37a3c3);_0x4d1058(_0x37a3c3,'data-id',_0x13eb19),this['_touchedNodesState']['newIds']['push'](_0x13eb19),this['_touchedNodesState']['lastTouchedId']=_0x13eb19;}const _0x503af9='afterbegin'===_0x1a8140||'afterend'===_0x1a8140?_0x582f33['reverse']():_0x582f33;for(const _0x58df3f of _0x503af9)_0x13b925(_0x48eb57,_0x58df3f,_0x1a8140);}['_replaceNode'](_0x4e36d9,_0x16f55d){if(!_0x4e36d9)return;if(_0x57b369=_0x16f55d,_0x833a16(_0x2e8cdd(_0x4e36d9))===_0x833a16(_0x2e8cdd(_0x57b369)))return;var _0x57b369;const _0x3b90e9=_0x31b99b(_0x4e36d9,'data-id');this['_touchedNodesState']['modifiedIds']['push'](_0x3b90e9),this['_touchedNodesState']['lastTouchedId']=_0x3b90e9,_0x554f27(_0x4e36d9,_0x16f55d['cloneNode'](!0x0));}['_removeNode'](_0x12021f,_0x1ee90e,_0x184771){if(_0x184771&&_0x184771['replaceRemovedWith']){this['_touchedNodesState']['lastTouchedId']=_0x1ee90e;const _0x4abf9d=_0x184771['replaceRemovedWith']['cloneNode'](!0x0);_0x4d1058(_0x4abf9d,'data-id',_0x1ee90e),_0x4d1058(_0x4abf9d,'data-removed','true'),_0x554f27(_0x12021f,_0x4abf9d);}else _0x168c18(_0x12021f);}['_findReferenceNode'](_0x46f09a,_0x46a5a8,_0x2235ff){const _0x217163=this['_findPrevElementWithDataId'](_0x46f09a,!0x1);if(_0x217163){const _0x5dbb17=_0x410a30(_0x217163),_0x5c31d1=_0x2977fd('data-id',_0x5dbb17,_0x2235ff);if(_0x5c31d1)return[_0x5c31d1,'afterend'];this['_touchedNodesState']['invalidIds']['push'](_0x5dbb17);}const _0x35dd6a=this['_findNextElementWithDataId'](_0x46f09a,!0x1);if(_0x35dd6a){const _0x286eb5=_0x410a30(_0x35dd6a),_0x5282ab=_0x2977fd('data-id',_0x286eb5,_0x2235ff);if(_0x5282ab)return[_0x5282ab,'beforebegin'];this['_touchedNodesState']['invalidIds']['push'](_0x286eb5);}return _0x46a5a8?_0x46f09a['nextSibling']?this['_findFallbackReferenceNode'](_0x46f09a,_0x2235ff):[_0x2235ff['childNodes'][_0x2235ff['childNodes']['length']-0x1],'afterend']:[_0x2235ff['childNodes'][0x0],'beforebegin'];}['_findFallbackReferenceNode'](_0x2de394,_0x3af877){const _0x38613a=[],_0x473f81=this['_findPrevElementWithDataId'](_0x2de394,!0x0);if(_0x473f81){const _0x9a8bf2=_0x2977fd('data-id',_0x410a30(_0x473f81),_0x3af877);_0x9a8bf2&&_0x38613a['push']([_0x9a8bf2,'afterend']);}const _0x103c83=this['_findNextElementWithDataId'](_0x2de394,!0x0);if(_0x103c83){const _0x28f519=_0x2977fd('data-id',_0x410a30(_0x103c83),_0x3af877);_0x28f519&&_0x38613a['push']([_0x28f519,'beforebegin']);}if(_0x38613a['length']>0x1)return _0x292b75(_0x38613a[0x0][0x0])<=_0x292b75(_0x38613a[0x1][0x0])?_0x38613a[0x0]:_0x38613a[0x1];return 0x1===_0x38613a['length']?_0x38613a[0x0]:[_0x3af877['lastChild'],'afterend'];}['_findNextElementWithDataId'](_0x50ff6b,_0x5e79cb){let _0x3bbd4b=_0x50ff6b['nextSibling'],_0x54f340=null,_0xb5373a=!0x1;for(;_0x3bbd4b;){if(_0x1c0b20(_0x3bbd4b)){if(_0x513b3f(_0x3bbd4b)&&(_0x54f340=_0x3bbd4b),this['_isExistingContentComment'](_0x3bbd4b)&&_0x5e79cb&&!_0xb5373a){_0xb5373a=!0x0,_0x3bbd4b=_0x3bbd4b['nextSibling'];continue;}break;}const _0x1ccc17=_0x31b99b(_0x3bbd4b,'data-id');if(_0x1ccc17&&'new-element'!==_0x1ccc17&&this['_existingDataIds']['has'](_0x1ccc17)){_0x54f340=_0x3bbd4b;break;}_0x3bbd4b=_0x3bbd4b['nextSibling'];}return _0x54f340;}['_findPrevElementWithDataId'](_0x5cd61f,_0x2eb026){let _0x4a278e=_0x5cd61f['previousSibling'],_0x3e1567=null,_0xaf6d18=!0x1;for(;_0x4a278e;){if(_0x1c0b20(_0x4a278e)){if(_0x513b3f(_0x4a278e)&&(_0x3e1567=_0x4a278e),this['_isExistingContentComment'](_0x4a278e)&&_0x2eb026&&!_0xaf6d18){_0xaf6d18=!0x0,_0x4a278e=_0x4a278e['previousSibling'];continue;}break;}const _0x42317f=_0x31b99b(_0x4a278e,'data-id');if(_0x42317f&&'new-element'!==_0x42317f&&this['_existingDataIds']['has'](_0x42317f)){_0x3e1567=_0x4a278e;break;}_0x4a278e=_0x4a278e['previousSibling'];}return _0x3e1567;}['_markWrappedElements'](_0x3d7965){_0x3c817b(_0x3d7965)&&_0x453ad8('data-id',null,_0x3d7965)['forEach'](_0x32271d=>{this['_isExistingNode'](_0x32271d)&&(_0x4d1058(_0x32271d,'data-wrapped-id',_0x31b99b(_0x32271d,'data-id')),_0x4d1058(_0x32271d,'data-id',null));});}['_processWrappedElements'](_0x26a25b,_0x3a5e2d){_0x453ad8('data-wrapped-id',null,_0x26a25b)['forEach'](_0x5deec3=>{const _0x1b19cc=_0x31b99b(_0x5deec3,'data-wrapped-id');if(this['_hasUnstableParent'](_0x5deec3))return;const _0x502dd3=_0x2977fd('data-id',_0x1b19cc,_0x26a25b);_0x4d1058(_0x5deec3,'data-id',_0x1b19cc),_0x502dd3&&(this['_removeNode'](_0x502dd3,_0x1b19cc,_0x3a5e2d),this['_touchedNodesState']['removedIds']['push'](_0x1b19cc),this['_touchedNodesState']['lastTouchedId']=_0x1b19cc);});}['_hasUnstableParent'](_0x4c6337){let _0x23515d=_0x4c6337['parentNode'];for(;_0x23515d;){if(_0x31b99b(_0x23515d,'data-unstable'))return!0x0;_0x23515d=_0x23515d['parentNode'];}return!0x1;}['_rescueUnwrappedElements'](_0x3d2f6e){const _0x14654c=new Set(this['_touchedNodesState']['removedIds']),_0x3db6bf=new Set(this['_touchedNodesState']['newIds']);_0x453ad8('data-id',null,_0x3d2f6e)['forEach'](_0x459092=>{const _0x492545=_0x31b99b(_0x459092,'data-id'),_0x1bc876=!!_0x492545&&this['_referencedExistingIds']['has'](_0x492545),_0x3594e0=!!_0x492545&&_0x3db6bf['has'](_0x492545);if(!_0x492545||!_0x1bc876&&!_0x3594e0)return;if(_0x14654c['has'](_0x492545))return;let _0x48f4fb=_0x459092['parentNode'],_0x248967=!0x1;for(;_0x48f4fb;){if(_0x48f4fb===_0x3d2f6e){_0x248967=!0x0;break;}const _0x4fe704=_0x31b99b(_0x48f4fb,'data-id');if(_0x4fe704&&(this['_referencedExistingIds']['has'](_0x4fe704)||_0x3db6bf['has'](_0x4fe704)))return;_0x48f4fb=_0x48f4fb['parentNode'];}if(_0x248967){if(_0x3b6f43(_0x3d2f6e,_0x459092),_0x1bc876){const _0xbe3042=this['_generateUid'](),_0x1999de=this['_touchedNodesState']['modifiedIds']['indexOf'](_0x492545);-0x1!==_0x1999de&&this['_touchedNodesState']['modifiedIds']['splice'](_0x1999de,0x1),_0x4d1058(_0x459092,'data-unwrapped-id',_0x492545),_0x4d1058(_0x459092,'data-id',_0xbe3042),this['_touchedNodesState']['newIds']['push'](_0xbe3042),this['_touchedNodesState']['rescuedNewIds']['add'](_0xbe3042),this['_touchedNodesState']['lastTouchedId']=_0xbe3042;}else this['_touchedNodesState']['rescuedNewIds']['add'](_0x492545),this['_touchedNodesState']['lastTouchedId']=_0x492545;}});}['_getUid'](_0xff656){return this['_isExistingNode'](_0xff656)?_0x31b99b(_0xff656,'data-id'):this['_generateUid']();}['_removeSpecialComments'](_0x2ded9e){_0x55fb0a(_0x2ded9e)['filter'](_0x1c96c0=>_0x513b3f(_0x1c96c0)||this['_isExistingContentComment'](_0x1c96c0))['forEach'](_0x267f20=>{_0x168c18(_0x267f20);});}['_findLastConfirmationPoint'](_0x8e6dac){let _0x1aa980=null,_0x34f657=null,_0x1e7ee0=null,_0x5f20ef=null;const _0x1d5cc1=_0x5c5e7a=>{_0x5c5e7a&&(_0x1aa980=_0x5c5e7a),_0x1e7ee0=null,_0x5f20ef=null;};for(let _0xcf13f4=0x0;_0xcf13f4<_0x8e6dac['length'];_0xcf13f4++){const _0x253492=_0x8e6dac[_0xcf13f4];if(this['_isExistingContentComment'](_0x253492)){_0x1d5cc1(_0x34f657);continue;}if(_0x3c817b(_0x253492)){const _0x13c5d1=_0x31b99b(_0x253492,'data-id'),_0x2bf697=_0xcf13f4===_0x8e6dac['length']-0x1;if(_0x13c5d1&&'new-element'!==_0x13c5d1&&this['_touchedNodesState']['modifiedIds']['includes'](_0x13c5d1)&&!_0x2bf697){_0x1d5cc1(_0x13c5d1),_0x34f657=_0x13c5d1;continue;}}let _0x427ee9=null;const _0x169ef7=_0x410a30(_0x253492);if(_0x169ef7&&this['_touchedNodesState']['rescuedNewIds']['has'](_0x169ef7))_0x34f657=_0x169ef7;else{if(_0x169ef7&&this['_touchedNodesState']['newIds']['includes'](_0x169ef7))_0x427ee9='N';else{if(!_0x513b3f(_0x253492))continue;_0x427ee9='R';}_0x427ee9===_0x5f20ef||null===_0x5f20ef?_0x5f20ef=_0x427ee9:null!==_0x1e7ee0?(_0x1d5cc1(_0x34f657),_0x5f20ef=_0x427ee9):(_0x1e7ee0=_0x5f20ef,_0x5f20ef=_0x427ee9),_0x34f657=_0x169ef7;}}const _0x40be80=_0x8e6dac[_0x8e6dac['length']-0x1];return _0x40be80&&!_0x3c817b(_0x40be80)&&!_0x513b3f(_0x40be80)&&_0x34f657&&_0x1d5cc1(_0x34f657),_0x1aa980;}['_getLastStableElement'](_0x600281,_0x4a6010){if(!_0x4a6010)return null;const _0x1454f2=_0x2977fd('data-id',_0x4a6010,_0x600281);if(!_0x1454f2)return null;const _0x16333a=[_0x1454f2,..._0x31e200(_0x1454f2)]['at'](-0x2);if(_0x16333a===_0x1454f2)return _0x1454f2;let _0x483bc7=_0x16333a['previousSibling'];for(;_0x483bc7&&!_0x3c817b(_0x483bc7);)_0x483bc7=_0x483bc7['previousSibling'];return _0x483bc7;}['_markUnstableElements'](_0x13b119,_0x472552){const _0x392561=new Set([...this['_touchedNodesState']['newIds'],...this['_touchedNodesState']['modifiedIds'],...this['_touchedNodesState']['removedIds']]);let _0x2bc935=_0x472552?_0x472552['nextSibling']:_0x13b119['firstChild'];for(;_0x2bc935;){if(_0x3c817b(_0x2bc935)){const _0x1266b8=_0x392561['has'](_0x31b99b(_0x2bc935,'data-id'))||_0x453ad8('data-id',null,_0x2bc935)['some'](_0x17e508=>_0x392561['has'](_0x31b99b(_0x17e508,'data-id')));_0x1266b8&&_0x4d1058(_0x2bc935,'data-unstable','true');}_0x2bc935=_0x2bc935['nextSibling'];}}['_isNewNode'](_0x249bb0){return Boolean('new-element'===_0x31b99b(_0x249bb0,'data-id'));}['_isExistingNode'](_0x197098){return Boolean((_0x31b99b(_0x197098,'data-id')||'')['length']>0x0&&'new-element'!==_0x31b99b(_0x197098,'data-id'));}['_isExistingContentComment'](_0x4b560d){return Boolean(_0x1c0b20(_0x4b560d)&&_0x2e8cdd(_0x4b560d)['match'](/\s*existing[\s*-](content|document)\s*/g));}}function _0x513b3f(_0x1a4eec){return!!_0x1a4eec&&Boolean(_0x1c0b20(_0x1a4eec)&&_0x2e8cdd(_0x1a4eec)['match'](/removed[\s*-]data-id="[^"]+"/));}function _0x410a30(_0x1905d4){if(!_0x1905d4)return null;if(_0x3c817b(_0x1905d4))return _0x31b99b(_0x1905d4,'data-id')??null;if(_0x1c0b20(_0x1905d4)){const _0x405956=_0x2e8cdd(_0x1905d4)['match'](/removed[\s*-]data-id="([^"]+)"/);if(_0x405956&&_0x405956[0x1])return _0x405956[0x1];}return null;}function _0x4e0d99(_0x4317e1,_0x37a778){const _0x4ddf55=new Map();for(const _0x19c577 of _0x126a31(_0x4317e1))_0x4ddf55['set'](_0x31b99b(_0x19c577,'data-id'),_0x19c577);const _0x39769d=new Set();for(const _0x397ed4 of _0x126a31(_0x37a778)){const _0x543385=_0x31b99b(_0x397ed4,'data-id'),_0x17f7a4=_0x543385?_0x4ddf55['get'](_0x543385):void 0x0;_0x17f7a4?(_0x554f27(_0x397ed4,_0x213159(_0x17f7a4,!0x0)),_0x39769d['add'](_0x543385)):_0x168c18(_0x397ed4);}for(const _0x32430e of _0x55fb0a(_0x37a778))_0x513b3f(_0x32430e)&&_0x4ddf55['has'](_0x410a30(_0x32430e))&&_0x168c18(_0x32430e);const _0x51c7ed=new Set(_0x453ad8('data-id',null,_0x37a778)['map'](_0x16deb1=>_0x31b99b(_0x16deb1,'data-id')));for(const [_0x757fce,_0x1c9a97]of _0x4ddf55){if(_0x39769d['has'](_0x757fce))continue;let _0x34078f=_0x1c9a97['parent'],_0x1ae925=null;for(;_0x34078f&&_0x3c817b(_0x34078f);){const _0x1d5a3f=_0x31b99b(_0x34078f,'data-id');if(_0x1d5a3f&&_0x51c7ed['has'](_0x1d5a3f)){_0x1ae925=_0x1d5a3f;break;}_0x34078f=_0x34078f['parent'];}if(!_0x1ae925)continue;const _0x552980=_0x2977fd('data-id',_0x1ae925,_0x37a778);_0x552980&&_0x3bcf00(_0x552980,_0x213159(_0x1c9a97,!0x0));}}class _0xbd6861 extends _0x5f37cd['ContextPlugin']{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0xad4bfc,_0x10dc97){let _0x417729;if(_0x10dc97||(_0x10dc97=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x10dc97?_0x417729=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x417729=this['context']['editors']['find'](_0x32c6a5=>_0x32c6a5['config']['get']('collaboration.channelId')==_0x10dc97)),!_0x417729)throw new _0x5f37cd['CKEditorError']('permissions-set-permissions-invalid-channel-id',null);const _0x58c715=_0x417729['plugins'],_0xa17d49=_0x58c715['has']('CommentsRepository')?_0x58c715['get']('CommentsRepository'):void 0x0,_0x509b47=_0x58c715['has']('CommentsOnly')&&_0x58c715['get']('CommentsOnly'),_0x17c5f1=_0xad4bfc['includes']('document:write'),_0x1f83d8=_0xad4bfc['includes']('comment:modify_all'),_0x328338=_0xad4bfc['includes']('comment:admin'),_0x869449=_0xad4bfc['includes']('comment:write'),_0x458220=_0x869449||_0x328338,_0xde66e4=_0x458220||_0x1f83d8,_0xf3aee0=_0x17c5f1||_0x458220;(_0x509b47&&(_0x509b47['isEnabled']=!_0x17c5f1&&_0xde66e4),_0x417729 instanceof _0x5f37cd['Editor'])&&(!(_0x17c5f1||_0xde66e4&&_0xa17d49)?_0x417729['enableReadOnlyMode']('no-permissions'):_0x417729['disableReadOnlyMode']('no-permissions'));if(_0xa17d49){_0xa17d49['setPermissions']({'admin':_0x328338,'modifyAll':_0x1f83d8,'write':_0x869449,'resolve':_0xf3aee0},_0x10dc97);const _0x5ddef2=_0x417729 instanceof _0x5f37cd['Editor']&&_0x417729['commands']['get']('addCommentThread');_0x5ddef2&&(_0x458220?_0x5ddef2['clearForceDisabled']('noPermissions'):_0x5ddef2['forceDisabled']('noPermissions'));}}}function _0x42c887(_0x588427,_0x44564f){const t=_0x588427['t'];switch(_0x44564f){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 _0x4e0926 extends _0x5f37cd['ContextPlugin']{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0xbd6861];}constructor(_0x1876b0){super(_0x1876b0),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x5f37cd['Collection'](),this['_locale']=_0x1876b0['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:_0x124a93,name:_0x53645b,..._0x3e21ce}){if(!_0x124a93||'string'!=typeof _0x124a93)throw new _0x5f37cd['CKEditorError']('users-add-invalid-id');if(this['users']['has'](_0x124a93))throw new _0x5f37cd['CKEditorError']('users-add-duplicated-id',null,{'id':_0x124a93});const _0x33f05c=this['context']['config']['get']('users.getInitialsCallback'),_0x15a442={..._0x3e21ce,'id':_0x124a93,'name':_0x32b892(this['_locale'],_0x53645b),'color':this['_getNextColor']()};_0x15a442['name']=_0x32b892(this['_locale'],_0x15a442['name']);const _0xcc582b=new ts(_0x15a442,_0x33f05c);return this['users']['add'](_0xcc582b),_0xcc582b;}['getUser'](_0x4a6a9b){return this['users']['get'](_0x4a6a9b);}['useAnonymousUser'](){const _0x3653b7=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x3653b7);}['defineMe'](_0x306ac7){if(this['_myId'])throw new _0x5f37cd['CKEditorError']('users-me-already-defined',null);const _0x33cafb=this['getUser'](_0x306ac7);if(!_0x33cafb)throw new _0x5f37cd['CKEditorError']('users-me-missing-user',null);this['_myId']=_0x306ac7,_0x33cafb['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x64232a=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x64232a&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x4c449b=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x4c449b,'name':_0x42c887(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}let ts=class _0x4a3adc{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x1b8ede,_0x26705a){this['id']=_0x1b8ede['id'],this['color']=_0x1b8ede['color'],this['name']=_0x1b8ede['name'],this['initials']=_0x26705a?_0x26705a(this['name']):this['_computeInitials'](),this['avatar']=_0x1b8ede['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x59976b=this['name']['split']('\x20')['filter'](_0x14bc6e=>/^[\p{Letter}]/u['test'](_0x14bc6e));return 0x1===_0x59976b['length']?this['_getInitial'](_0x59976b[0x0]):0x0===_0x59976b['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x59976b[0x0])+this['_getInitial'](_0x59976b[_0x59976b['length']-0x1]);}['_getInitial'](_0x31d0f6){return String['fromCodePoint'](_0x31d0f6['codePointAt'](0x0))['toUpperCase']();}};function _0x32b892(_0x500d8c,_0xa1af15=''){return''==(_0xa1af15=_0xa1af15['trim']())?_0x42c887(_0x500d8c,'Anonymous'):_0xa1af15;}class CollaborationUserColor{['_id'];constructor(_0x50123e){this['_id']=_0x50123e;}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 _0x45ef72 extends _0x5f37cd['View']{['name'];['notificationView'];constructor(_0x384b0e,_0x288579,_0x564cc2){super(_0x384b0e),this['name']=_0x288579['name'],this['notificationView']=null;const _0xce3828=['ck','ck-user'],_0x48fc08=['ck','ck-user__img'];if(_0x288579['isAnonymous']&&_0x48fc08['push']('ck-user__anonymous'),!_0x288579['isAnonymous']&&_0x288579['isMe']&&_0xce3828['push']('ck-user_me'),_0x288579['avatar']&&_0x48fc08['push']('ck-user__avatar'),_0x564cc2){const _0x426f39=new _0x5f37cd['IconView']();_0x426f39['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x426f39['content']=_0x5f37cd['IconNotification'],this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x564cc2},'children':[_0x426f39]};}const _0x2e8852=[{'tag':'div','attributes':{'class':_0x48fc08,'style':{'background-image':_0x288579['avatar']?'url(\x27'+_0x288579['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x288579['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x288579['name']},'children':[{'text':_0x288579['initials']}]}];this['notificationView']&&_0x2e8852['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0xce3828,'data-user-id':_0x288579['id']},'children':_0x2e8852});}}class AriaDescriptionView extends _0x5f37cd['View']{['id'];constructor(_0xe4b174,_0x35e425){super(_0xe4b174),this['id']='ck-aria-description-'+_0x5f37cd['uid'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x35e425}]});}}class LateFocusButtonView extends _0x5f37cd['ButtonView']{['render'](){super['render'](),_0x29f403(this);}}class LateFocusDropdownButtonView extends _0x5f37cd['DropdownButtonView']{['render'](){super['render'](),_0x29f403(this);}}function _0x29f403(_0x5b2a37){_0x5b2a37['listenTo'](_0x5b2a37['element'],'mousedown',(_0x4882f8,_0x18eaf2)=>{_0x18eaf2['stopPropagation'](),_0x18eaf2['preventDefault']();}),_0x5b2a37['listenTo'](_0x5b2a37['element'],'mouseup',()=>{_0x5b2a37['element']['focus']();});}function _0x1ee8e4(_0x2590cb){const _0x5e0be6=_0x2590cb['split'](':');return{'group':_0x5e0be6[0x0],'type':_0x5e0be6[0x1],'subType':_0x5e0be6['length']>=0x5?_0x5e0be6[0x2]:null,'id':_0x5e0be6['length']<0x5?_0x5e0be6[0x2]:_0x5e0be6[0x3],'authorId':_0x5e0be6['length']<0x5?_0x5e0be6[0x3]:_0x5e0be6[0x4],'markerCount':0x6==_0x5e0be6['length']?_0x5e0be6[0x5]:null};}function _0x1ce3fa(_0x28a9fd,_0xbdcdfe){const _0xed5f82=_0x28a9fd['end']['nodeBefore'];if(_0xed5f82&&_0xed5f82['is']('element')&&_0xbdcdfe['schema']['isBlock'](_0xed5f82)&&!_0xbdcdfe['schema']['isObject'](_0xed5f82)){const _0x4022f7=_0xbdcdfe['createPositionAt'](_0xed5f82,'end');return _0xbdcdfe['createRange'](_0x28a9fd['start'],_0x4022f7);}return _0x28a9fd;}class SuggestionsConversionAlignment extends _0x5f37cd['Plugin']{['afterInit'](){const _0x37b744=this['editor'];if(!_0x37b744['plugins']['has']('AlignmentEditing'))return;_0x37b744['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const _0x536669=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends _0x5f37cd['Plugin']{['afterInit'](){const _0x240d05=this['editor'],_0x29f423=_0x240d05['plugins']['get']('SuggestionsConversion');for(const _0x4cb6d7 of _0x536669){if(!_0x240d05['plugins']['has'](_0x4cb6d7))continue;const _0x4794cf=_0x4cb6d7['slice'](0x0,-0x7)['toLowerCase']();_0x29f423['registerInlineAttribute'](_0x4794cf);}}}class SuggestionsConversionBookmark extends _0x5f37cd['Plugin']{['afterInit'](){const _0x3ea346=this['editor'],_0x50acdc=_0x3ea346['plugins']['get']('SuggestionsConversion');_0x3ea346['plugins']['has']('BookmarkEditing')&&_0x50acdc['registerBlockAttribute']('bookmarkId');}}const _0xfd7b49=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends _0x5f37cd['Plugin']{['afterInit'](){const _0xfcddf0=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x410af1,commandName:_0x1aa093}of _0xfd7b49)this['editor']['plugins']['has'](_0x410af1)&&_0xfcddf0['registerInlineAttribute'](_0x1aa093);}}class SuggestionsConversionFootnotes extends _0x5f37cd['Plugin']{['afterInit'](){const {editor:_0x210653}=this;if(!_0x210653['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x3706cf=_0x210653['plugins']['get']('SuggestionsConversion');_0x3706cf['registerBlockAttribute']('footnotesListStyle'),_0x3706cf['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionGeneralHtmlSupport extends _0x5f37cd['Plugin']{['afterInit'](){const _0x2e7d16=this['editor'];if(!_0x2e7d16['plugins']['has']('GeneralHtmlSupport')||!_0x2e7d16['plugins']['has']('DataSchema'))return;const _0x2cc1e2=_0x2e7d16['plugins']['get']('SuggestionsConversion'),_0x44cf05=_0x2e7d16['plugins']['get']('GeneralHtmlSupport'),_0x357854=_0x2e7d16['plugins']['get']('DataSchema');for(const _0x350515 of _0x357854['getDefinitionsForView'](/.*/,!0x1)){const _0x59a0b7=_0x44cf05['getGhsAttributeNameForElement'](_0x350515['view']);_0x350515['isInline']&&!_0x350515['isObject']&&!('appliesToBlock'in _0x350515&&_0x350515['appliesToBlock'])?_0x2cc1e2['registerInlineAttribute'](_0x59a0b7):_0x2cc1e2['registerBlockAttribute'](_0x59a0b7);}}}class SuggestionsConversionHighlight extends _0x5f37cd['Plugin']{['afterInit'](){const _0x116027=this['editor'];if(!_0x116027['plugins']['has']('HighlightEditing'))return;_0x116027['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends _0x5f37cd['Plugin']{['afterInit'](){const _0x273f21=this['editor'];if(!_0x273f21['plugins']['has']('HtmlEmbed'))return;_0x273f21['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends _0x5f37cd['Plugin']{['afterInit'](){const _0x5b28fd=this['editor'];if(!_0x5b28fd['plugins']['has']('ImageEditing'))return;const _0xb7b566=_0x5b28fd['plugins']['get']('SuggestionsConversion');_0xb7b566['registerBlockAttribute']('src'),_0x5b28fd['plugins']['has']('ImageResize')&&_0xb7b566['registerBlockAttribute']('resizedWidth'),_0x5b28fd['plugins']['has']('ImageTextAlternativeEditing')&&_0xb7b566['registerBlockAttribute']('alt'),_0x5b28fd['plugins']['has']('PictureEditing')&&_0xb7b566['registerBlockAttribute']('sources'),_0x5b28fd['plugins']['has']('ImageSizeAttributes')&&(_0xb7b566['registerBlockAttribute']('width'),_0xb7b566['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends _0x5f37cd['Plugin']{['afterInit'](){const _0x23afbf=this['editor'],_0x52d4b7=_0x23afbf['plugins']['get']('SuggestionsConversion');_0x23afbf['plugins']['has']('IndentBlock')&&(_0x52d4b7['registerBlockAttribute']('blockIndent'),_0x23afbf['plugins']['has']('ListEditing')&&(_0x52d4b7['registerBlockAttribute']('blockIndentList'),_0x52d4b7['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends _0x5f37cd['Plugin']{['afterInit'](){const _0x56ece3=this['editor'];if(!_0x56ece3['plugins']['has']('LineHeight'))return;_0x56ece3['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends _0x5f37cd['Plugin']{['afterInit'](){const _0x4f23b1=this['editor'];if(!_0x4f23b1['plugins']['has']('LinkEditing'))return;const _0x2384ab=_0x4f23b1['plugins']['get']('SuggestionsConversion'),_0x2109f7=_0x4f23b1['commands']['get']('link');_0x2384ab['registerInlineAttribute']('linkHref');for(const _0x49cdd6 of _0x2109f7['manualDecorators'])_0x2384ab['registerInlineAttribute'](_0x49cdd6['id']);}}class SuggestionsConversionList extends _0x5f37cd['Plugin']{['afterInit'](){const _0x57cd8a=this['editor'];if(!_0x57cd8a['plugins']['has']('ListEditing'))return;const _0x40018b=_0x57cd8a['plugins']['get']('SuggestionsConversion'),_0x37d050=_0x57cd8a['plugins']['has']('TodoListEditing');_0x40018b['registerBlockAttribute']('listItemId'),_0x40018b['registerBlockAttribute']('listType'),_0x40018b['registerBlockAttribute']('listIndent'),_0x37d050&&_0x40018b['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends _0x5f37cd['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x425d71=this['editor']['config']['get']('list.properties'),_0x365a4c=this['editor']['plugins']['get']('SuggestionsConversion');_0x425d71['styles']&&_0x365a4c['registerBlockAttribute']('listStyle'),_0x425d71['reversed']&&_0x365a4c['registerBlockAttribute']('listReversed'),_0x425d71['startIndex']&&_0x365a4c['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends _0x5f37cd['Plugin']{['afterInit'](){const _0x3332c4=this['editor'],_0x997965=_0x3332c4['plugins']['get']('SuggestionsConversion');_0x3332c4['plugins']['has']('MultiLevelList')&&_0x997965['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionTableHeadings extends _0x5f37cd['Plugin']{['afterInit'](){const _0x59b579=this['editor'];if(!_0x59b579['plugins']['has']('TableEditing'))return;const _0x58847c=_0x59b579['plugins']['get']('SuggestionsConversion');_0x58847c['registerBlockAttribute']('headingRows'),_0x58847c['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends _0x5f37cd['Plugin']{['afterInit'](){const {plugins:_0x4fb48f}=this['editor'];if(!_0x4fb48f['has']('TablePropertiesEditing'))return;const _0x1f2322=_0x4fb48f['get']('SuggestionsConversion'),_0x343955=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x47ce36 of _0x343955)_0x1f2322['registerBlockAttribute'](_0x47ce36);}}class SuggestionsConversionTableLayout extends _0x5f37cd['Plugin']{['afterInit'](){const _0x38145e=this['editor'],_0xc0e54f=_0x38145e['plugins']['get']('SuggestionsConversion');_0x38145e['plugins']['has']('TableLayout')&&_0xc0e54f['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends _0x5f37cd['Plugin']{['afterInit'](){const _0x55c7a8=this['editor'],_0x2b7398=this['editor']['plugins']['get']('SuggestionsConversion');_0x55c7a8['plugins']['has']('Uploadcare')&&_0x55c7a8['plugins']['has']('UploadcareImageEdit')&&_0x2b7398['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends _0x5f37cd['Plugin']{['afterInit'](){const _0x57b5c8=this['editor'];if(!_0x57b5c8['plugins']['has']('ShiftEnter'))return;const _0x1d4279=_0x57b5c8['plugins']['get']('SuggestionsConversion'),_0x464eb8=(_0x10e959,_0x2b1826,_0x15b78e,_0x32c257)=>{if(_0x32c257&&!_0x15b78e['options']['showSuggestionHighlights'])return;if(!_0x15b78e['consumable']['test'](_0x2b1826['markerRange'],_0x10e959['name']))return;const _0x2a67ec=_0x57b5c8['model'];for(const _0x3be882 of _0x2b1826['markerRange']['getItems']()){if(!_0x3be882['is']('element','softBreak'))continue;const _0x25c9d5='deletion'==_0x2b1826['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x4479dc,authorId:_0x21bdff}=_0x1ee8e4(_0x2b1826['markerName']),_0xe88fde=_0x15b78e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x25c9d5,'data-suggestion':_0x4479dc,'data-author-id':_0x21bdff}),_0x3c22e8=_0x15b78e['mapper']['toViewPosition'](_0x2a67ec['createPositionBefore'](_0x3be882));!_0x32c257&&_0x1d4279['_activeMarkers']['includes'](_0x2b1826['markerName'])&&_0x15b78e['writer']['addClass']('ck-suggestion-marker--active',_0xe88fde),_0x15b78e['writer']['insert'](_0x3c22e8,_0xe88fde),_0x15b78e['mapper']['bindElementToMarker'](_0xe88fde,_0x2b1826['markerName']);}};_0x57b5c8['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3bd523,_0x1cfcdc,_0x54abcc)=>{_0x464eb8(_0x3bd523,_0x1cfcdc,_0x54abcc,!0x1);},{'priority':'high'}),_0x57b5c8['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x53780f,_0x5c82bd,_0x1c983a)=>{_0x464eb8(_0x53780f,_0x5c82bd,_0x1c983a,!0x1);},{'priority':'high'}),_0x57b5c8['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x5cf6cb,_0x50cda9,_0x29a633)=>{_0x464eb8(_0x5cf6cb,_0x50cda9,_0x29a633,!0x0);},{'priority':'high'}),_0x57b5c8['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x189145,_0x58a799,_0x5a249d)=>{_0x464eb8(_0x189145,_0x58a799,_0x5a249d,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends _0x5f37cd['Plugin']{['afterInit'](){const _0x207635=this['editor'];if(!_0x207635['plugins']['has']('MediaEmbedEditing'))return;const _0x246e4a=_0x207635['plugins']['get']('SuggestionsConversion');_0x207635['plugins']['has']('MediaEmbedResizeEditing')&&_0x246e4a['registerBlockAttribute']('resizedWidth'),_0x207635['plugins']['has']('MediaEmbedStyleEditing')&&_0x246e4a['registerBlockAttribute']('mediaStyle'),_0x207635['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x4fb114,{writer:_0x4d2205,options:_0x76d650})=>{if(_0x76d650['showSuggestionHighlights'])return _0x4d2205['createEmptyElement']('div');},'converterPriority':'high'}),_0x207635['data']['downcastDispatcher']['on']('attribute:url:media',(_0x2b18ff,_0x456033,_0x1744ec)=>{_0x1744ec['options']['showSuggestionHighlights']&&_0x2b18ff['stop']();},{'priority':'high'});}}class SuggestionsConversionTable extends _0x5f37cd['Plugin']{['afterInit'](){const _0x7e8e28=this['editor'];if(!_0x7e8e28['plugins']['has']('Table'))return;_0x7e8e28['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x32da49,_0x552452,_0x367c82)=>{((_0x2e7cac,_0x3e560d,_0x6360ca)=>{if(!_0x6360ca['options']['showSuggestionHighlights'])return;const _0x2eca3a=_0x3e560d['item'];if(!_0x2eca3a||!_0x2eca3a['is']('element','tableCell'))return;const _0x53241d=_0x6360ca['mapper']['toViewElement'](_0x2eca3a);if(_0x53241d){const {id:_0x776318,authorId:_0x254457}=_0x1ee8e4(_0x3e560d['markerName']);_0x5f37cd['setHighlightHandling'](_0x53241d,_0x6360ca['writer'],(_0x3765c0,_0x894cdd,_0x1226e0)=>{_0x1226e0['addClass'](_0x5f37cd['toArray'](_0x894cdd['classes']),_0x3765c0),_0x1226e0['setAttribute']('data-suggestion',_0x776318,_0x3765c0),_0x1226e0['setAttribute']('data-author-id',_0x254457,_0x3765c0);});}})(0x0,_0x552452,_0x367c82);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends _0x5f37cd['Plugin']{['afterInit'](){const _0xad8ed=this['editor'];_0xad8ed['plugins']['has']('HorizontalLineEditing')&&_0xad8ed['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x45499a,{writer:_0x188a4f,options:_0x17dc33})=>{if(!_0x17dc33['showSuggestionHighlights'])return null;const _0x41ab24=_0x188a4f['createContainerElement']('div'),_0xa11368=_0x188a4f['createEmptyElement']('hr');return _0x188a4f['addClass']('ck-horizontal-line',_0x41ab24),_0x188a4f['insert'](_0x188a4f['createPositionAt'](_0x41ab24,0x0),_0xa11368),_0x41ab24;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends _0x5f37cd['Plugin']{['afterInit'](){const {plugins:_0x4de23c,model:_0x263578}=this['editor'];if(!_0x4de23c['has']('TableCellPropertiesEditing'))return;const _0x2c1a4c=_0x4de23c['get']('SuggestionsConversion'),_0x4c2701=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x28f259 of _0x4c2701)_0x2c1a4c['registerBlockAttribute'](_0x28f259);_0x263578['schema']['checkAttribute']('tableCell','tableCellType')&&_0x2c1a4c['registerBlockAttribute']('tableCellType');}}class SuggestionsConversionTableFooters extends _0x5f37cd['Plugin']{['afterInit'](){const _0x2ac6c7=this['editor'];if(!_0x2ac6c7['plugins']['has']('TableEditing')||!_0x2ac6c7['config']['get']('table.enableFooters'))return;_0x2ac6c7['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}}class SuggestionsConversion extends _0x5f37cd['Plugin']{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[SuggestionsConversionAlignment,SuggestionsConversionBasicStyles,SuggestionsConversionBookmark,SuggestionsConversionFont,SuggestionsConversionFootnotes,SuggestionsConversionGeneralHtmlSupport,SuggestionsConversionHighlight,SuggestionsConversionHorizontalLine,SuggestionsConversionHtmlEmbed,SuggestionsConversionImage,SuggestionsConversionIndent,SuggestionsConversionLineHeight,SuggestionsConversionLink,SuggestionsConversionList,SuggestionsConversionListProperties,SuggestionsConversionMediaEmbed,SuggestionsConversionMultiLevelList,SuggestionsConversionShiftEnter,SuggestionsConversionTable,SuggestionsConversionTableHeadings,SuggestionsConversionTableFooters,SuggestionsConversionTableLayout,SuggestionsConversionTableCellProperties,SuggestionsConversionTableProperties,SuggestionsConversionUploadcare];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1be41b=this['editor'],_0x261269=(_0x57a410,_0x5d0488,_0x5cac91)=>{const {id:_0x3e5a39,authorId:_0x531e2d,type:_0x3e3f58,subType:_0x27647c}=_0x1ee8e4(_0x57a410['markerName']),_0x2fd521=['ck-suggestion-marker',this['_getClassName'](_0x3e3f58,_0x27647c)];let _0x475d03=0xbb8;return!_0x5cac91&&(this['_activeMarkers']['includes'](_0x57a410['markerName'])&&(_0x2fd521['push']('ck-suggestion-marker--active'),_0x475d03=0xbc2)),('deletion'==_0x3e3f58&&(_0x475d03+=0x5),{'classes':_0x2fd521,'attributes':{'data-suggestion':_0x3e5a39,'data-author-id':_0x531e2d},'priority':_0x475d03});};_0x1be41b['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x3601a8,_0x5a75ec)=>_0x261269(_0x3601a8,0x0,!0x1)}),_0x1be41b['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x5a20c7,_0x19ff6a)=>_0x261269(_0x5a20c7,0x0,!0x0)}),_0x1be41b['conversion']['for']('dataDowncast')['add'](_0xf35e7b=>{_0xf35e7b['on']('addMarker:suggestion',(_0x29cc9f,_0x4c9dc1,_0xea1ffe)=>{if(!_0xea1ffe['options']['showSuggestionHighlights'])return;const _0x49e465=_0x4c9dc1['item'];if(!_0x49e465)return;const _0x28f8c8=_0xea1ffe['mapper']['toViewElement'](_0x49e465);_0x1be41b['model']['schema']['isObject'](_0x49e465)&&_0x28f8c8&&!_0x28f8c8['getCustomProperty']('widget')&&_0x28f8c8['is']('containerElement')&&_0x5f37cd['toWidget'](_0x28f8c8,_0xea1ffe['writer']);},{'priority':'high'});});const _0x687ba9=(_0x5bda02,_0x28cbe4,_0x23e89e,_0x426f29,_0x25c69b)=>{if(_0x426f29&&!_0x23e89e['options']['showSuggestionHighlights'])return;if(!_0x28cbe4['item'])return;const {id:_0x1f148c,authorId:_0x4c1041,subType:_0x2e8af9}=_0x1ee8e4(_0x28cbe4['markerName']);if(_0x25c69b){const _0x15cdd0=_0x2e8af9['split']('|')[0x0];if(!this['isBlockAttribute'](_0x15cdd0))return;}if(_0x28cbe4['item']['is']('selection'))return void _0x23e89e['consumable']['consume'](_0x28cbe4['item'],_0x5bda02['name']);const _0xd303f2=_0x23e89e['mapper']['toViewElement'](_0x28cbe4['item']);if(_0x28cbe4['item']['is']('element')&&_0x1be41b['model']['schema']['isBlock'](_0x28cbe4['item'])&&!_0xd303f2['getCustomProperty']('addHighlight')){_0x23e89e['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0xd303f2),_0x23e89e['writer']['setAttribute']('data-suggestion',_0x1f148c,_0xd303f2),_0x23e89e['writer']['setAttribute']('data-author-id',_0x4c1041,_0xd303f2),_0x23e89e['mapper']['bindElementToMarker'](_0xd303f2,_0x28cbe4['markerName']),_0x426f29||(this['_activeMarkers']['includes'](_0x28cbe4['markerName'])?_0x23e89e['writer']['addClass']('ck-suggestion-marker--active',_0xd303f2):_0x23e89e['writer']['removeClass']('ck-suggestion-marker--active',_0xd303f2));for(const _0x5d6afb of _0x1be41b['model']['createRangeIn'](_0x28cbe4['item'])['getItems']())_0x23e89e['consumable']['consume'](_0x5d6afb,_0x5bda02['name']);_0x23e89e['consumable']['consume'](_0x28cbe4['item'],_0x5bda02['name']);}},_0x223ec7=(_0x603ce1,_0x3c5f9c,_0x249101,_0x1932a1)=>{const _0x1739a0=_0x249101['mapper']['markerNameToElements'](_0x3c5f9c['markerName']);if(_0x1739a0){if(_0x1932a1){const {subType:_0x57ddbd}=_0x1ee8e4(_0x3c5f9c['markerName']),_0x14926b=_0x57ddbd['split']('|')[0x0];if(!this['isBlockAttribute'](_0x14926b))return;}for(const _0x204be5 of _0x1739a0)_0x204be5['getCustomProperty']('addHighlight')||(_0x249101['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x204be5),_0x249101['writer']['removeAttribute']('data-suggestion',_0x204be5),_0x249101['writer']['removeAttribute']('data-author-id',_0x204be5),_0x249101['mapper']['unbindElementFromMarkerName'](_0x204be5,_0x3c5f9c['markerName']));}};_0x1be41b['conversion']['for']('editingDowncast')['add'](_0x443811=>{_0x443811['on']('addMarker:suggestion:formatBlock',(_0x9d4f26,_0x45d124,_0x4c4f65)=>{_0x687ba9(_0x9d4f26,_0x45d124,_0x4c4f65,!0x1,!0x1);},{'priority':'high'});}),_0x1be41b['conversion']['for']('editingDowncast')['add'](_0x3bd5b1=>{_0x3bd5b1['on']('addMarker:suggestion:attribute',(_0x495033,_0x1c6acf,_0x3d72a5)=>{_0x687ba9(_0x495033,_0x1c6acf,_0x3d72a5,!0x1,!0x0);},{'priority':'high'});}),_0x1be41b['conversion']['for']('editingDowncast')['add'](_0x13f392=>{_0x13f392['on']('removeMarker:suggestion:formatBlock',(_0xe896f9,_0x2e3b7a,_0x3ba56f)=>{_0x223ec7(0x0,_0x2e3b7a,_0x3ba56f,!0x1);},{'priority':'high'});}),_0x1be41b['conversion']['for']('editingDowncast')['add'](_0x5c016f=>{_0x5c016f['on']('removeMarker:suggestion:attribute',(_0x165d38,_0xee9410,_0x31ac17)=>{_0x223ec7(0x0,_0xee9410,_0x31ac17,!0x0);},{'priority':'high'});}),_0x1be41b['conversion']['for']('dataDowncast')['add'](_0x175bb5=>{_0x175bb5['on']('addMarker:suggestion:formatBlock',(_0x3cfdb3,_0x676c39,_0x381e71)=>{_0x687ba9(_0x3cfdb3,_0x676c39,_0x381e71,!0x0,!0x1);},{'priority':'highest'});}),_0x1be41b['conversion']['for']('dataDowncast')['add'](_0xd84f95=>{_0xd84f95['on']('addMarker:suggestion:attribute',(_0x3551da,_0x477cff,_0x4d067e)=>{_0x687ba9(_0x3551da,_0x477cff,_0x4d067e,!0x0,!0x0);},{'priority':'highest'});}),_0x1be41b['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x486945,_0x33a5ac)=>_0x33a5ac['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x486945['substr'](0xb)}});const _0x162fd6=(_0x253eba,_0x7533b7,_0x351515,_0x9f0f5e,_0x42d177)=>{if(_0x9f0f5e&&!_0x351515['options']['showSuggestionHighlights'])return;if(!_0x351515['consumable']['test'](_0x7533b7['markerRange'],_0x253eba['name']))return;const _0x497ba1=this['_activeMarkers'],_0x58cf88=_0x7533b7['markerRange']['getWalker'](),_0x29873a=_0x7533b7['markerRange']['start'],_0x59fb16=_0x1be41b['model']['schema'];let _0x224b99=null,_0x15e326=null,_0x367871=!0x1,_0xcf7ea4=!0x1;for(const _0x276479 of _0x58cf88){const _0x556b7b=_0x276479['item'];_0x367871=_0x367871||_0x59fb16['isContent'](_0x556b7b);const _0x48a90b=_0x351515['mapper']['toViewElement'](_0x556b7b);if(_0x48a90b&&_0x48a90b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x276479['type']&&(_0x59fb16['isBlock'](_0x556b7b)&&!_0x59fb16['isLimit'](_0x556b7b)&&(_0x556b7b['nextSibling']||_0x29873a['isAtEnd']?_0x224b99&&_0x224b99['parent']==_0x556b7b||(_0x224b99=_0x556b7b,_0x123255(_0x276479['previousPosition']),_0xcf7ea4=!0x0):_0x15e326=_0x15e326||_0x276479['previousPosition']));}function _0x123255(_0x39d579){const {id:_0x168671,authorId:_0x4c8eb9}=_0x1ee8e4(_0x7533b7['markerName']),_0x116fc3=_0x351515['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x42d177,'data-suggestion':_0x168671,'data-author-id':_0x4c8eb9}),_0x805b6d=_0x351515['mapper']['toViewPosition'](_0x39d579);!_0x9f0f5e&&_0x497ba1['includes'](_0x7533b7['markerName'])&&_0x351515['writer']['addClass']('ck-suggestion-marker--active',_0x116fc3),_0x351515['writer']['insert'](_0x805b6d,_0x116fc3),_0x351515['mapper']['bindElementToMarker'](_0x116fc3,_0x7533b7['markerName']);}_0x367871||_0xcf7ea4||!_0x15e326||_0x123255(_0x15e326);};_0x1be41b['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x1b867d,_0x387e31,_0x56a612)=>{_0x162fd6(_0x1b867d,_0x387e31,_0x56a612,!0x1,'merge');},{'priority':'high'}),_0x1be41b['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x16734e,_0xcf3a55,_0x5ce57a)=>{_0x162fd6(_0x16734e,_0xcf3a55,_0x5ce57a,!0x0,'merge');},{'priority':'high'}),_0x1be41b['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4db0ba,_0x55d051,_0x2bd3e5)=>{_0x162fd6(_0x4db0ba,_0x55d051,_0x2bd3e5,!0x1,'split');},{'priority':'high'}),_0x1be41b['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4720e0,_0x11b084,_0x1ae398)=>{_0x162fd6(_0x4720e0,_0x11b084,_0x1ae398,!0x0,'split');},{'priority':'high'}),_0x1be41b['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x21eb21,_0x5dfad0,_0x10fb4f)=>{((_0x59a293,_0x1f291c,_0x8fb0db)=>{const _0x23b0eb=_0x8fb0db['mapper']['markerNameToElements'](_0x1f291c['markerName']);if(_0x23b0eb){for(const _0x568327 of _0x23b0eb)(_0x568327['hasClass']('ck-suggestion-marker-split')||_0x568327['hasClass']('ck-suggestion-marker-merge'))&&(_0x8fb0db['mapper']['unbindElementFromMarkerName'](_0x568327,_0x1f291c['markerName']),_0x8fb0db['writer']['remove'](_0x568327));}})(0x0,_0x5dfad0,_0x10fb4f);},{'priority':'high'});const _0x378c86=(_0x2b4e88,_0xd04bdb,_0x4fbb4f,_0x2e99b8)=>{if(_0x2e99b8&&!_0x4fbb4f['options']['showSuggestionHighlights'])return;const _0x50f726=_0xd04bdb['markerRange']['start'],_0x1c3d33=_0xd04bdb['markerRange']['end'],_0x1d83ff=_0x1be41b['model']['schema'];if(!_0x50f726['isTouching'](_0x1c3d33)||!_0x50f726['nodeAfter'])return;const _0x533b22=_0x50f726['nodeAfter'];if(_0x1d83ff['isBlock'](_0x533b22)&&!_0x1d83ff['isLimit'](_0x533b22)&&_0x1d83ff['checkChild'](_0x533b22,'$text')){if(!_0x4fbb4f['consumable']['consume'](_0xd04bdb['markerRange'],_0x2b4e88['name']))return;const {id:_0x38bfe3,authorId:_0x32af75}=_0x1ee8e4(_0xd04bdb['markerName']),_0x2b6489=_0x4fbb4f['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x38bfe3,'data-author-id':_0x32af75}),_0x5c3ebf=_0x4fbb4f['mapper']['toViewPosition'](_0x1c3d33);!_0x2e99b8&&this['_activeMarkers']['includes'](_0xd04bdb['markerName'])&&_0x4fbb4f['writer']['addClass']('ck-suggestion-marker--active',_0x2b6489),_0x4fbb4f['writer']['insert'](_0x5c3ebf,_0x2b6489),_0x4fbb4f['mapper']['bindElementToMarker'](_0x2b6489,_0xd04bdb['markerName']);}};_0x1be41b['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x519c6a,_0x3cf134,_0x4c58d2)=>{_0x378c86(_0x519c6a,_0x3cf134,_0x4c58d2,!0x1);},{'priority':'high'}),_0x1be41b['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x8e154e,_0x45854f,_0xb3de92)=>{_0x378c86(_0x8e154e,_0x45854f,_0xb3de92,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x3e9ae9,_0x47b452,_0x498539)=>{this['_activeMarkers']=_0x498539['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0xe8fdc0){this['_blockAttributeKeys']['add'](_0xe8fdc0);}['registerInlineAttribute'](_0x168b79){this['_inlineAttributeKeys']['add'](_0x168b79);}['isBlockAttribute'](_0x4a5b77){return this['_blockAttributeKeys']['has'](_0x4a5b77);}['isInlineAttribute'](_0x855393){return this['_inlineAttributeKeys']['has'](_0x855393);}['isRegisteredAttribute'](_0x2783b3){return this['isInlineAttribute'](_0x2783b3)||this['isBlockAttribute'](_0x2783b3);}['_getClassName'](_0x27fd12,_0x2d0a81){if('attribute'!=_0x27fd12)return'ck-suggestion-marker-'+_0x27fd12;const _0x161848=_0x2d0a81['split']('|')[0x0];return this['isBlockAttribute'](_0x161848)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}class _0x52d33f extends Error{}class InvalidDateTimeError extends _0x52d33f{constructor(_0x949d5b){super('Invalid\x20DateTime:\x20'+_0x949d5b['toMessage']());}}class InvalidIntervalError extends _0x52d33f{constructor(_0xc2e5da){super('Invalid\x20Interval:\x20'+_0xc2e5da['toMessage']());}}class InvalidDurationError extends _0x52d33f{constructor(_0x3644ef){super('Invalid\x20Duration:\x20'+_0x3644ef['toMessage']());}}class ConflictingSpecificationError extends _0x52d33f{}class InvalidUnitError extends _0x52d33f{constructor(_0x2160fc){super('Invalid\x20unit\x20'+_0x2160fc);}}class InvalidArgumentError extends _0x52d33f{}class ZoneIsAbstractError extends _0x52d33f{constructor(){super('Zone\x20is\x20an\x20abstract\x20class');}}const _0x50e1dc='numeric',_0xba5ec7='short',_0xb07846='long',_0x51ece8={'year':_0x50e1dc,'month':_0x50e1dc,'day':_0x50e1dc},_0x1788b2={'year':_0x50e1dc,'month':_0xba5ec7,'day':_0x50e1dc},_0x5b5e51={'year':_0x50e1dc,'month':_0xba5ec7,'day':_0x50e1dc,'weekday':_0xba5ec7},_0x11f786={'year':_0x50e1dc,'month':_0xb07846,'day':_0x50e1dc},_0x2a0058={'year':_0x50e1dc,'month':_0xb07846,'day':_0x50e1dc,'weekday':_0xb07846},_0x5f01ed={'hour':_0x50e1dc,'minute':_0x50e1dc},_0x3b49ba={'hour':_0x50e1dc,'minute':_0x50e1dc,'second':_0x50e1dc},_0xc148b2={'hour':_0x50e1dc,'minute':_0x50e1dc,'second':_0x50e1dc,'timeZoneName':_0xba5ec7},_0x18e567={'hour':_0x50e1dc,'minute':_0x50e1dc,'second':_0x50e1dc,'timeZoneName':_0xb07846},_0x53f8ec={'hour':_0x50e1dc,'minute':_0x50e1dc,'hourCycle':'h23'},_0x202e3a={'hour':_0x50e1dc,'minute':_0x50e1dc,'second':_0x50e1dc,'hourCycle':'h23'},_0x5b5703={'hour':_0x50e1dc,'minute':_0x50e1dc,'second':_0x50e1dc,'hourCycle':'h23','timeZoneName':_0xba5ec7},_0x4763ec={'hour':_0x50e1dc,'minute':_0x50e1dc,'second':_0x50e1dc,'hourCycle':'h23','timeZoneName':_0xb07846},_0x255b0c={'year':_0x50e1dc,'month':_0x50e1dc,'day':_0x50e1dc,'hour':_0x50e1dc,'minute':_0x50e1dc},_0x439514={'year':_0x50e1dc,'month':_0x50e1dc,'day':_0x50e1dc,'hour':_0x50e1dc,'minute':_0x50e1dc,'second':_0x50e1dc},_0x57905c={'year':_0x50e1dc,'month':_0xba5ec7,'day':_0x50e1dc,'hour':_0x50e1dc,'minute':_0x50e1dc},_0x259905={'year':_0x50e1dc,'month':_0xba5ec7,'day':_0x50e1dc,'hour':_0x50e1dc,'minute':_0x50e1dc,'second':_0x50e1dc},_0x6681ec={'year':_0x50e1dc,'month':_0xba5ec7,'day':_0x50e1dc,'weekday':_0xba5ec7,'hour':_0x50e1dc,'minute':_0x50e1dc},_0x4298a0={'year':_0x50e1dc,'month':_0xb07846,'day':_0x50e1dc,'hour':_0x50e1dc,'minute':_0x50e1dc,'timeZoneName':_0xba5ec7},_0x3834c9={'year':_0x50e1dc,'month':_0xb07846,'day':_0x50e1dc,'hour':_0x50e1dc,'minute':_0x50e1dc,'second':_0x50e1dc,'timeZoneName':_0xba5ec7},_0x3b5a58={'year':_0x50e1dc,'month':_0xb07846,'day':_0x50e1dc,'weekday':_0xb07846,'hour':_0x50e1dc,'minute':_0x50e1dc,'timeZoneName':_0xb07846},_0x2ebcf3={'year':_0x50e1dc,'month':_0xb07846,'day':_0x50e1dc,'weekday':_0xb07846,'hour':_0x50e1dc,'minute':_0x50e1dc,'second':_0x50e1dc,'timeZoneName':_0xb07846};class _0x216e30{get['type'](){throw new ZoneIsAbstractError();}get['name'](){throw new ZoneIsAbstractError();}get['ianaName'](){return this['name'];}get['isUniversal'](){throw new ZoneIsAbstractError();}['offsetName'](_0xa16313,_0x208f42){throw new ZoneIsAbstractError();}['formatOffset'](_0x27d606,_0xbcb88e){throw new ZoneIsAbstractError();}['offset'](_0x52bb57){throw new ZoneIsAbstractError();}['equals'](_0x56efcf){throw new ZoneIsAbstractError();}get['isValid'](){throw new ZoneIsAbstractError();}}let _0x6e6077=null;class SystemZone extends _0x216e30{static get['instance'](){return null===_0x6e6077&&(_0x6e6077=new SystemZone()),_0x6e6077;}get['type'](){return'system';}get['name'](){return new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x547f30,{format:_0x12adb6,locale:_0x2217f4}){return _0x559ee5(_0x547f30,_0x12adb6,_0x2217f4);}['formatOffset'](_0x3be7e1,_0x4efdda){return _0x21b35a(this['offset'](_0x3be7e1),_0x4efdda);}['offset'](_0x354967){return-new Date(_0x354967)['getTimezoneOffset']();}['equals'](_0x4b25cb){return'system'===_0x4b25cb['type'];}get['isValid'](){return!0x0;}}const _0x538685=new Map(),_0x49d7e7={'year':0x0,'month':0x1,'day':0x2,'era':0x3,'hour':0x4,'minute':0x5,'second':0x6},_0x4602fb=new Map();class _0x3f0a1f extends _0x216e30{static['create'](_0x2bab24){let _0x31361b=_0x4602fb['get'](_0x2bab24);return void 0x0===_0x31361b&&_0x4602fb['set'](_0x2bab24,_0x31361b=new _0x3f0a1f(_0x2bab24)),_0x31361b;}static['resetCache'](){_0x4602fb['clear'](),_0x538685['clear']();}static['isValidSpecifier'](_0x62823d){return this['isValidZone'](_0x62823d);}static['isValidZone'](_0x57067c){if(!_0x57067c)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x57067c})['format'](),!0x0;}catch(_0x590fe6){return!0x1;}}constructor(_0x563cdb){super(),this['zoneName']=_0x563cdb,this['valid']=_0x3f0a1f['isValidZone'](_0x563cdb);}get['type'](){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x17aa7d,{format:_0xa4f590,locale:_0x52def2}){return _0x559ee5(_0x17aa7d,_0xa4f590,_0x52def2,this['name']);}['formatOffset'](_0x5a1419,_0x52bb98){return _0x21b35a(this['offset'](_0x5a1419),_0x52bb98);}['offset'](_0x486b36){if(!this['valid'])return NaN;const _0x5ab047=new Date(_0x486b36);if(isNaN(_0x5ab047))return NaN;const _0x4fff1c=function(_0x4fe923){let _0x144e57=_0x538685['get'](_0x4fe923);return void 0x0===_0x144e57&&(_0x144e57=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0x4fe923,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'}),_0x538685['set'](_0x4fe923,_0x144e57)),_0x144e57;}(this['name']);let [_0x42f37d,_0x28ce90,_0x59bd71,_0x1430d8,_0x3fb927,_0x2b211b,_0x475bf8]=_0x4fff1c['formatToParts']?function(_0x136e7d,_0x20bb87){const _0x237c04=_0x136e7d['formatToParts'](_0x20bb87),_0x2f10e7=[];for(let _0x69ed4d=0x0;_0x69ed4d<_0x237c04['length'];_0x69ed4d++){const {type:_0xfd4712,value:_0x3010da}=_0x237c04[_0x69ed4d],_0x57aaea=_0x49d7e7[_0xfd4712];'era'===_0xfd4712?_0x2f10e7[_0x57aaea]=_0x3010da:_0x105ca9(_0x57aaea)||(_0x2f10e7[_0x57aaea]=parseInt(_0x3010da,0xa));}return _0x2f10e7;}(_0x4fff1c,_0x5ab047):function(_0x4fac64,_0x1853af){const _0x14a39b=_0x4fac64['format'](_0x1853af)['replace'](/\u200E/g,''),_0x4f192a=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0x14a39b),[,_0x1e6c9c,_0x380016,_0xf82073,_0x1d9a05,_0x255346,_0x1c9068,_0x3b24ba]=_0x4f192a;return[_0xf82073,_0x1e6c9c,_0x380016,_0x1d9a05,_0x255346,_0x1c9068,_0x3b24ba];}(_0x4fff1c,_0x5ab047);'BC'===_0x1430d8&&(_0x42f37d=0x1-Math['abs'](_0x42f37d));let _0xb26edc=+_0x5ab047;const _0x3680a8=_0xb26edc%0x3e8;return _0xb26edc-=_0x3680a8>=0x0?_0x3680a8:0x3e8+_0x3680a8,(_0x13e36d({'year':_0x42f37d,'month':_0x28ce90,'day':_0x59bd71,'hour':0x18===_0x3fb927?0x0:_0x3fb927,'minute':_0x2b211b,'second':_0x475bf8,'millisecond':0x0})-_0xb26edc)/0xea60;}['equals'](_0x20557f){return'iana'===_0x20557f['type']&&_0x20557f['name']===this['name'];}get['isValid'](){return this['valid'];}}let _0x928539={};const _0x3369d6=new Map();function _0x2465a5(_0x2c21fc,_0x26c65c={}){const _0x34a926=JSON['stringify']([_0x2c21fc,_0x26c65c]);let _0x581e1c=_0x3369d6['get'](_0x34a926);return void 0x0===_0x581e1c&&(_0x581e1c=new Intl['DateTimeFormat'](_0x2c21fc,_0x26c65c),_0x3369d6['set'](_0x34a926,_0x581e1c)),_0x581e1c;}const _0x534492=new Map(),_0x17138d=new Map();let _0x273d1b=null;const _0x30b3cc=new Map();function _0x25f68a(_0x1e7912){let _0x15f05b=_0x30b3cc['get'](_0x1e7912);return void 0x0===_0x15f05b&&(_0x15f05b=new Intl['DateTimeFormat'](_0x1e7912)['resolvedOptions'](),_0x30b3cc['set'](_0x1e7912,_0x15f05b)),_0x15f05b;}const _0x9254a5=new Map();function _0x244c52(_0x4dea01,_0x449108,_0x3afc1f,_0x11600f){const _0x972103=_0x4dea01['listingMode']();return'error'===_0x972103?null:'en'===_0x972103?_0x3afc1f(_0x449108):_0x11600f(_0x449108);}class PolyNumberFormatter{constructor(_0x36b37,_0x547f85,_0x2712a0){this['padTo']=_0x2712a0['padTo']||0x0,this['floor']=_0x2712a0['floor']||!0x1;const {padTo:_0x2e86db,floor:_0x43234,..._0x3cd758}=_0x2712a0;if(!_0x547f85||Object['keys'](_0x3cd758)['length']>0x0){const _0x1db4b1={'useGrouping':!0x1,..._0x2712a0};_0x2712a0['padTo']>0x0&&(_0x1db4b1['minimumIntegerDigits']=_0x2712a0['padTo']),this['inf']=function(_0x4ccbb1,_0x45b48b={}){const _0x1b947b=JSON['stringify']([_0x4ccbb1,_0x45b48b]);let _0x3921b3=_0x534492['get'](_0x1b947b);return void 0x0===_0x3921b3&&(_0x3921b3=new Intl['NumberFormat'](_0x4ccbb1,_0x45b48b),_0x534492['set'](_0x1b947b,_0x3921b3)),_0x3921b3;}(_0x36b37,_0x1db4b1);}}['format'](_0x303b85){if(this['inf']){const _0x2cc1a2=this['floor']?Math['floor'](_0x303b85):_0x303b85;return this['inf']['format'](_0x2cc1a2);}return _0x56a905(this['floor']?Math['floor'](_0x303b85):_0x534881(_0x303b85,0x3),this['padTo']);}}class PolyDateFormatter{constructor(_0x4f0168,_0x4b8e69,_0x3934ff){let _0x42255e;if(this['opts']=_0x3934ff,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0x4f0168;else{if('fixed'===_0x4f0168['zone']['type']){const _0x13f0ae=_0x4f0168['offset']/0x3c*-0x1,_0x543061=_0x13f0ae>=0x0?'Etc/GMT+'+_0x13f0ae:'Etc/GMT'+_0x13f0ae;0x0!==_0x4f0168['offset']&&_0x3f0a1f['create'](_0x543061)['valid']?(_0x42255e=_0x543061,this['dt']=_0x4f0168):(_0x42255e='UTC',this['dt']=0x0===_0x4f0168['offset']?_0x4f0168:_0x4f0168['setZone']('UTC')['plus']({'minutes':_0x4f0168['offset']}),this['originalZone']=_0x4f0168['zone']);}else'system'===_0x4f0168['zone']['type']?this['dt']=_0x4f0168:'iana'===_0x4f0168['zone']['type']?(this['dt']=_0x4f0168,_0x42255e=_0x4f0168['zone']['name']):(_0x42255e='UTC',this['dt']=_0x4f0168['setZone']('UTC')['plus']({'minutes':_0x4f0168['offset']}),this['originalZone']=_0x4f0168['zone']);}const _0x2810c4={...this['opts']};_0x2810c4['timeZone']=_0x2810c4['timeZone']||_0x42255e,this['dtf']=_0x2465a5(_0x4b8e69,_0x2810c4);}['format'](){return this['originalZone']?this['formatToParts']()['map'](({value:_0x457cab})=>_0x457cab)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}['formatToParts'](){const _0x20b06e=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0x20b06e['map'](_0x39abdd=>{if('timeZoneName'===_0x39abdd['type']){const _0x12009d=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0x39abdd,'value':_0x12009d};}return _0x39abdd;}):_0x20b06e;}['resolvedOptions'](){return this['dtf']['resolvedOptions']();}}class PolyRelFormatter{constructor(_0x1cb523,_0x1d274b,_0x2499b7){this['opts']={'style':'long',..._0x2499b7},!_0x1d274b&&_0x3ba18e()&&(this['rtf']=function(_0x36b9f8,_0x793e96={}){const {base:_0x3e9c51,..._0x274dba}=_0x793e96,_0x3a6f91=JSON['stringify']([_0x36b9f8,_0x274dba]);let _0x5317ec=_0x17138d['get'](_0x3a6f91);return void 0x0===_0x5317ec&&(_0x5317ec=new Intl['RelativeTimeFormat'](_0x36b9f8,_0x793e96),_0x17138d['set'](_0x3a6f91,_0x5317ec)),_0x5317ec;}(_0x1cb523,_0x2499b7));}['format'](_0x22e4fa,_0x176928){return this['rtf']?this['rtf']['format'](_0x22e4fa,_0x176928):function(_0x4b8e9f,_0x417948,_0x1570d3='always',_0x531452=!0x1){const _0x538dad={'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.']},_0x298db8=-0x1===['hours','minutes','seconds']['indexOf'](_0x4b8e9f);if('auto'===_0x1570d3&&_0x298db8){const _0x28c73b='days'===_0x4b8e9f;switch(_0x417948){case 0x1:return _0x28c73b?'tomorrow':'next\x20'+_0x538dad[_0x4b8e9f][0x0];case-0x1:return _0x28c73b?'yesterday':'last\x20'+_0x538dad[_0x4b8e9f][0x0];case 0x0:return _0x28c73b?'today':'this\x20'+_0x538dad[_0x4b8e9f][0x0];}}const _0x5500d6=Object['is'](_0x417948,-0x0)||_0x417948<0x0,_0x1b8ea6=Math['abs'](_0x417948),_0x3c569e=0x1===_0x1b8ea6,_0x3bf200=_0x538dad[_0x4b8e9f],_0x5ba20b=_0x531452?_0x3c569e?_0x3bf200[0x1]:_0x3bf200[0x2]||_0x3bf200[0x1]:_0x3c569e?_0x538dad[_0x4b8e9f][0x0]:_0x4b8e9f;return _0x5500d6?_0x1b8ea6+'\x20'+_0x5ba20b+'\x20ago':'in\x20'+_0x1b8ea6+'\x20'+_0x5ba20b;}(_0x176928,_0x22e4fa,this['opts']['numeric'],'long'!==this['opts']['style']);}['formatToParts'](_0x596044,_0x1cc44c){return this['rtf']?this['rtf']['formatToParts'](_0x596044,_0x1cc44c):[];}}const _0x533f64={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};class _0x514e58{static['fromOpts'](_0x5d6261){return _0x514e58['create'](_0x5d6261['locale'],_0x5d6261['numberingSystem'],_0x5d6261['outputCalendar'],_0x5d6261['weekSettings'],_0x5d6261['defaultToEN']);}static['create'](_0x281763,_0x274c85,_0x3f9d9a,_0x2797c9,_0x1d3617=!0x1){const _0x10d3cd=_0x281763||Settings['defaultLocale'],_0x114bad=_0x10d3cd||(_0x1d3617?'en-US':_0x273d1b||(_0x273d1b=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],_0x273d1b)),_0xd552c3=_0x274c85||Settings['defaultNumberingSystem'],_0x2d5c83=_0x3f9d9a||Settings['defaultOutputCalendar'],_0x4502f6=_0x387590(_0x2797c9)||Settings['defaultWeekSettings'];return new _0x514e58(_0x114bad,_0xd552c3,_0x2d5c83,_0x4502f6,_0x10d3cd);}static['resetCache'](){_0x273d1b=null,_0x3369d6['clear'](),_0x534492['clear'](),_0x17138d['clear'](),_0x30b3cc['clear'](),_0x9254a5['clear']();}static['fromObject']({locale:_0x223ba6,numberingSystem:_0x472e6e,outputCalendar:_0x228af6,weekSettings:_0x589173}={}){return _0x514e58['create'](_0x223ba6,_0x472e6e,_0x228af6,_0x589173);}constructor(_0x4142e1,_0x104fc6,_0x4845a6,_0x446fc0,_0x2c94d4){const [_0x4cef22,_0x5c6fbb,_0xfc91e]=function(_0x5728e8){const _0x353659=_0x5728e8['indexOf']('-x-');-0x1!==_0x353659&&(_0x5728e8=_0x5728e8['substring'](0x0,_0x353659));const _0x3430bc=_0x5728e8['indexOf']('-u-');if(-0x1===_0x3430bc)return[_0x5728e8];{let _0x448c1d,_0x351b7f;try{_0x448c1d=_0x2465a5(_0x5728e8)['resolvedOptions'](),_0x351b7f=_0x5728e8;}catch(_0x4457f6){const _0xa4d597=_0x5728e8['substring'](0x0,_0x3430bc);_0x448c1d=_0x2465a5(_0xa4d597)['resolvedOptions'](),_0x351b7f=_0xa4d597;}const {numberingSystem:_0x33156a,calendar:_0x1f88b0}=_0x448c1d;return[_0x351b7f,_0x33156a,_0x1f88b0];}}(_0x4142e1);this['locale']=_0x4cef22,this['numberingSystem']=_0x104fc6||_0x5c6fbb||null,this['outputCalendar']=_0x4845a6||_0xfc91e||null,this['weekSettings']=_0x446fc0,this['intl']=function(_0x100e63,_0x6f6850,_0x41da21){return _0x41da21||_0x6f6850?(_0x100e63['includes']('-u-')||(_0x100e63+='-u'),_0x41da21&&(_0x100e63+='-ca-'+_0x41da21),_0x6f6850&&(_0x100e63+='-nu-'+_0x6f6850),_0x100e63):_0x100e63;}(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0x2c94d4,this['fastNumbersCached']=null;}get['fastNumbers'](){var _0x5d5dcf;return null==this['fastNumbersCached']&&(this['fastNumbersCached']=(!(_0x5d5dcf=this)['numberingSystem']||'latn'===_0x5d5dcf['numberingSystem'])&&('latn'===_0x5d5dcf['numberingSystem']||!_0x5d5dcf['locale']||_0x5d5dcf['locale']['startsWith']('en')||'latn'===_0x25f68a(_0x5d5dcf['locale'])['numberingSystem'])),this['fastNumbersCached'];}['listingMode'](){const _0x4fd41e=this['isEnglish'](),_0x1afd20=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0x4fd41e&&_0x1afd20?'en':'intl';}['clone'](_0x81fd3){return _0x81fd3&&0x0!==Object['getOwnPropertyNames'](_0x81fd3)['length']?_0x514e58['create'](_0x81fd3['locale']||this['specifiedLocale'],_0x81fd3['numberingSystem']||this['numberingSystem'],_0x81fd3['outputCalendar']||this['outputCalendar'],_0x387590(_0x81fd3['weekSettings'])||this['weekSettings'],_0x81fd3['defaultToEN']||!0x1):this;}['redefaultToEN'](_0x270bd2={}){return this['clone']({..._0x270bd2,'defaultToEN':!0x0});}['redefaultToSystem'](_0xf86929={}){return this['clone']({..._0xf86929,'defaultToEN':!0x1});}['months'](_0x9220ea,_0x10a50e=!0x1){return _0x244c52(this,_0x9220ea,_0x17e241,()=>{const _0x123ff9=_0x10a50e?{'month':_0x9220ea,'day':'numeric'}:{'month':_0x9220ea},_0x5dd1f5=_0x10a50e?'format':'standalone';return this['monthsCache'][_0x5dd1f5][_0x9220ea]||(this['monthsCache'][_0x5dd1f5][_0x9220ea]=function(_0x3caf18){const _0x56b4d0=[];for(let _0x4a321b=0x1;_0x4a321b<=0xc;_0x4a321b++){const _0x4737eb=DateTime['utc'](0x7d9,_0x4a321b,0x1);_0x56b4d0['push'](_0x3caf18(_0x4737eb));}return _0x56b4d0;}(_0x559050=>this['extract'](_0x559050,_0x123ff9,'month'))),this['monthsCache'][_0x5dd1f5][_0x9220ea];});}['weekdays'](_0xf2dce0,_0x31fccf=!0x1){return _0x244c52(this,_0xf2dce0,_0x34ebf2,()=>{const _0x2e9b9e=_0x31fccf?{'weekday':_0xf2dce0,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0xf2dce0},_0x18babd=_0x31fccf?'format':'standalone';return this['weekdaysCache'][_0x18babd][_0xf2dce0]||(this['weekdaysCache'][_0x18babd][_0xf2dce0]=function(_0x488d4d){const _0x278843=[];for(let _0xb955d=0x1;_0xb955d<=0x7;_0xb955d++){const _0x31041e=DateTime['utc'](0x7e0,0xb,0xd+_0xb955d);_0x278843['push'](_0x488d4d(_0x31041e));}return _0x278843;}(_0x4e9b43=>this['extract'](_0x4e9b43,_0x2e9b9e,'weekday'))),this['weekdaysCache'][_0x18babd][_0xf2dce0];});}['meridiems'](){return _0x244c52(this,void 0x0,()=>_0x552c36,()=>{if(!this['meridiemCache']){const _0x54b6d9={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[DateTime['utc'](0x7e0,0xb,0xd,0x9),DateTime['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0x1e1cd0=>this['extract'](_0x1e1cd0,_0x54b6d9,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0x38af67){return _0x244c52(this,_0x38af67,_0x395e66,()=>{const _0x9680a2={'era':_0x38af67};return this['eraCache'][_0x38af67]||(this['eraCache'][_0x38af67]=[DateTime['utc'](-0x28,0x1,0x1),DateTime['utc'](0x7e1,0x1,0x1)]['map'](_0x1fcf3a=>this['extract'](_0x1fcf3a,_0x9680a2,'era'))),this['eraCache'][_0x38af67];});}['extract'](_0x5ec5d1,_0x232066,_0x385db4){const _0x1e1111=this['dtFormatter'](_0x5ec5d1,_0x232066)['formatToParts']()['find'](_0x26bd98=>_0x26bd98['type']['toLowerCase']()===_0x385db4);return _0x1e1111?_0x1e1111['value']:null;}['numberFormatter'](_0x193825={}){return new PolyNumberFormatter(this['intl'],_0x193825['forceSimple']||this['fastNumbers'],_0x193825);}['dtFormatter'](_0x5a0a14,_0x483c40={}){return new PolyDateFormatter(_0x5a0a14,this['intl'],_0x483c40);}['relFormatter'](_0x5725ce={}){return new PolyRelFormatter(this['intl'],this['isEnglish'](),_0x5725ce);}['listFormatter'](_0x37bc97={}){return function(_0x108a3b,_0x323ba0={}){const _0x1fc09a=JSON['stringify']([_0x108a3b,_0x323ba0]);let _0x40428c=_0x928539[_0x1fc09a];return _0x40428c||(_0x40428c=new Intl['ListFormat'](_0x108a3b,_0x323ba0),_0x928539[_0x1fc09a]=_0x40428c),_0x40428c;}(this['intl'],_0x37bc97);}['isEnglish'](){return'en'===this['locale']||'en-us'===this['locale']['toLowerCase']()||_0x25f68a(this['intl'])['locale']['startsWith']('en-us');}['getWeekSettings'](){return this['weekSettings']?this['weekSettings']:_0x27a50e()?function(_0x217820){let _0x38798d=_0x9254a5['get'](_0x217820);if(!_0x38798d){const _0x21b72b=new Intl['Locale'](_0x217820);_0x38798d='getWeekInfo'in _0x21b72b?_0x21b72b['getWeekInfo']():_0x21b72b['weekInfo'],'minimalDays'in _0x38798d||(_0x38798d={..._0x533f64,..._0x38798d}),_0x9254a5['set'](_0x217820,_0x38798d);}return _0x38798d;}(this['locale']):_0x533f64;}['getStartOfWeek'](){return this['getWeekSettings']()['firstDay'];}['getMinDaysInFirstWeek'](){return this['getWeekSettings']()['minimalDays'];}['getWeekendDays'](){return this['getWeekSettings']()['weekend'];}['equals'](_0x1959b5){return this['locale']===_0x1959b5['locale']&&this['numberingSystem']===_0x1959b5['numberingSystem']&&this['outputCalendar']===_0x1959b5['outputCalendar'];}['toString'](){return'Locale('+this['locale']+',\x20'+this['numberingSystem']+',\x20'+this['outputCalendar']+')';}}let _0x23af61=null;class FixedOffsetZone extends _0x216e30{static get['utcInstance'](){return null===_0x23af61&&(_0x23af61=new FixedOffsetZone(0x0)),_0x23af61;}static['instance'](_0x341562){return 0x0===_0x341562?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0x341562);}static['parseSpecifier'](_0x5bc5f1){if(_0x5bc5f1){const _0x53a38f=_0x5bc5f1['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x53a38f)return new FixedOffsetZone(_0xfd6385(_0x53a38f[0x1],_0x53a38f[0x2]));}return null;}constructor(_0x2a2ba6){super(),this['fixed']=_0x2a2ba6;}get['type'](){return'fixed';}get['name'](){return 0x0===this['fixed']?'UTC':'UTC'+_0x21b35a(this['fixed'],'narrow');}get['ianaName'](){return 0x0===this['fixed']?'Etc/UTC':'Etc/GMT'+_0x21b35a(-this['fixed'],'narrow');}['offsetName'](){return this['name'];}['formatOffset'](_0x509e6e,_0x4d22c1){return _0x21b35a(this['fixed'],_0x4d22c1);}get['isUniversal'](){return!0x0;}['offset'](){return this['fixed'];}['equals'](_0x237b89){return'fixed'===_0x237b89['type']&&_0x237b89['fixed']===this['fixed'];}get['isValid'](){return!0x0;}}class _0x32e0bc extends _0x216e30{constructor(_0x128ea7){super(),this['zoneName']=_0x128ea7;}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 _0x5caeba(_0x45ce60,_0x341514){if(_0x105ca9(_0x45ce60)||null===_0x45ce60)return _0x341514;if(_0x45ce60 instanceof _0x216e30)return _0x45ce60;if('string'==typeof _0x45ce60){const _0x4e1491=_0x45ce60['toLowerCase']();return'default'===_0x4e1491?_0x341514:'local'===_0x4e1491||'system'===_0x4e1491?SystemZone['instance']:'utc'===_0x4e1491||'gmt'===_0x4e1491?FixedOffsetZone['utcInstance']:FixedOffsetZone['parseSpecifier'](_0x4e1491)||_0x3f0a1f['create'](_0x45ce60);}return _0x4b6125(_0x45ce60)?FixedOffsetZone['instance'](_0x45ce60):'object'==typeof _0x45ce60&&'offset'in _0x45ce60&&'function'==typeof _0x45ce60['offset']?_0x45ce60:new _0x32e0bc(_0x45ce60);}const _0x20c383={'arab':'[٠-٩]','arabext':'[۰-۹]','bali':'[᭐-᭙]','beng':'[০-৯]','deva':'[०-९]','fullwide':'[０-９]','gujr':'[૦-૯]','hanidec':'[〇|一|二|三|四|五|六|七|八|九]','khmr':'[០-៩]','knda':'[೦-೯]','laoo':'[໐-໙]','limb':'[᥆-᥏]','mlym':'[൦-൯]','mong':'[᠐-᠙]','mymr':'[၀-၉]','orya':'[୦-୯]','tamldec':'[௦-௯]','telu':'[౦-౯]','thai':'[๐-๙]','tibt':'[༠-༩]','latn':'\x5cd'},_0x21feec={'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]},_0x5ba4f2=_0x20c383['hanidec']['replace'](/[\[|\]]/g,'')['split'](''),_0x59fbfa=new Map();function _0xafcb47({numberingSystem:_0x220634},_0xb88d2f=''){const _0x1dc5f2=_0x220634||'latn';let _0x23b0e4=_0x59fbfa['get'](_0x1dc5f2);void 0x0===_0x23b0e4&&(_0x23b0e4=new Map(),_0x59fbfa['set'](_0x1dc5f2,_0x23b0e4));let _0x2e6679=_0x23b0e4['get'](_0xb88d2f);return void 0x0===_0x2e6679&&(_0x2e6679=new RegExp(''+_0x20c383[_0x1dc5f2]+_0xb88d2f),_0x23b0e4['set'](_0xb88d2f,_0x2e6679)),_0x2e6679;}let tn,_0x499fee=()=>Date['now'](),_0xfcae60='system',_0x559a26=null,_0x3d18a6=null,_0x5413df=null,_0x324800=0x3c,_0xf715a3=null;class Settings{static get['now'](){return _0x499fee;}static set['now'](_0x4e8dad){_0x499fee=_0x4e8dad;}static set['defaultZone'](_0x2003b8){_0xfcae60=_0x2003b8;}static get['defaultZone'](){return _0x5caeba(_0xfcae60,SystemZone['instance']);}static get['defaultLocale'](){return _0x559a26;}static set['defaultLocale'](_0x457c5c){_0x559a26=_0x457c5c;}static get['defaultNumberingSystem'](){return _0x3d18a6;}static set['defaultNumberingSystem'](_0x2bd2ab){_0x3d18a6=_0x2bd2ab;}static get['defaultOutputCalendar'](){return _0x5413df;}static set['defaultOutputCalendar'](_0x4fafc6){_0x5413df=_0x4fafc6;}static get['defaultWeekSettings'](){return _0xf715a3;}static set['defaultWeekSettings'](_0x4eb44a){_0xf715a3=_0x387590(_0x4eb44a);}static get['twoDigitCutoffYear'](){return _0x324800;}static set['twoDigitCutoffYear'](_0x4bb53c){_0x324800=_0x4bb53c%0x64;}static get['throwOnInvalid'](){return tn;}static set['throwOnInvalid'](t){tn=t;}static['resetCaches'](){_0x514e58['resetCache'](),_0x3f0a1f['resetCache'](),DateTime['resetCache'](),_0x59fbfa['clear']();}}class _0x1e074e{constructor(_0x149a39,_0x3baad8){this['reason']=_0x149a39,this['explanation']=_0x3baad8;}['toMessage'](){return this['explanation']?this['reason']+':\x20'+this['explanation']:this['reason'];}}const _0x11a4aa=[0x0,0x1f,0x3b,0x5a,0x78,0x97,0xb5,0xd4,0xf3,0x111,0x130,0x14e],_0x29fd11=[0x0,0x1f,0x3c,0x5b,0x79,0x98,0xb6,0xd5,0xf4,0x112,0x131,0x14f];function _0x117ca4(_0x3c08b6,_0x291ebc){return new _0x1e074e('unit\x20out\x20of\x20range','you\x20specified\x20'+_0x291ebc+'\x20(of\x20type\x20'+typeof _0x291ebc+')\x20as\x20a\x20'+_0x3c08b6+',\x20which\x20is\x20invalid');}function _0x5fc452(_0x13bc83,_0x299e75,_0x27332c){const _0x30b0eb=new Date(Date['UTC'](_0x13bc83,_0x299e75-0x1,_0x27332c));_0x13bc83<0x64&&_0x13bc83>=0x0&&_0x30b0eb['setUTCFullYear'](_0x30b0eb['getUTCFullYear']()-0x76c);const _0x15ffe9=_0x30b0eb['getUTCDay']();return 0x0===_0x15ffe9?0x7:_0x15ffe9;}function _0x4fb941(_0x53dcc3,_0x1215e3,_0x4b0f4c){return _0x4b0f4c+(_0x468d7d(_0x53dcc3)?_0x29fd11:_0x11a4aa)[_0x1215e3-0x1];}function _0x48851a(_0x5332e4,_0x5208c4){const _0x275bcf=_0x468d7d(_0x5332e4)?_0x29fd11:_0x11a4aa,_0x218be1=_0x275bcf['findIndex'](_0x5ad56e=>_0x5ad56e<_0x5208c4);return{'month':_0x218be1+0x1,'day':_0x5208c4-_0x275bcf[_0x218be1]};}function _0x5b6f92(_0x2e4dc2,_0x2c7dd0){return(_0x2e4dc2-_0x2c7dd0+0x7)%0x7+0x1;}function _0x586eb0(_0xc15581,_0x4db224=0x4,_0x373937=0x1){const {year:_0x4ec075,month:_0x500ea4,day:_0x45c45c}=_0xc15581,_0x17735f=_0x4fb941(_0x4ec075,_0x500ea4,_0x45c45c),_0x6702e6=_0x5b6f92(_0x5fc452(_0x4ec075,_0x500ea4,_0x45c45c),_0x373937);let _0x4b0c8b,_0x11fb59=Math['floor']((_0x17735f-_0x6702e6+0xe-_0x4db224)/0x7);return _0x11fb59<0x1?(_0x4b0c8b=_0x4ec075-0x1,_0x11fb59=_0x1c0db8(_0x4b0c8b,_0x4db224,_0x373937)):_0x11fb59>_0x1c0db8(_0x4ec075,_0x4db224,_0x373937)?(_0x4b0c8b=_0x4ec075+0x1,_0x11fb59=0x1):_0x4b0c8b=_0x4ec075,{'weekYear':_0x4b0c8b,'weekNumber':_0x11fb59,'weekday':_0x6702e6,..._0xbed95d(_0xc15581)};}function _0x590afb(_0x123fbe,_0x3d953a=0x4,_0x274e01=0x1){const {weekYear:_0x1ccbb1,weekNumber:_0x384b6b,weekday:_0x3fcfa3}=_0x123fbe,_0x43a655=_0x5b6f92(_0x5fc452(_0x1ccbb1,0x1,_0x3d953a),_0x274e01),_0x4b9bde=_0x4e4ac3(_0x1ccbb1);let _0x431b70,_0x3b7cff=0x7*_0x384b6b+_0x3fcfa3-_0x43a655-0x7+_0x3d953a;_0x3b7cff<0x1?(_0x431b70=_0x1ccbb1-0x1,_0x3b7cff+=_0x4e4ac3(_0x431b70)):_0x3b7cff>_0x4b9bde?(_0x431b70=_0x1ccbb1+0x1,_0x3b7cff-=_0x4e4ac3(_0x1ccbb1)):_0x431b70=_0x1ccbb1;const {month:_0x569109,day:_0x24f02f}=_0x48851a(_0x431b70,_0x3b7cff);return{'year':_0x431b70,'month':_0x569109,'day':_0x24f02f,..._0xbed95d(_0x123fbe)};}function _0x5dee7b(_0x4482fd){const {year:_0x10cb8f,month:_0x871c35,day:_0x32efcb}=_0x4482fd;return{'year':_0x10cb8f,'ordinal':_0x4fb941(_0x10cb8f,_0x871c35,_0x32efcb),..._0xbed95d(_0x4482fd)};}function _0x531b71(_0x23cb8d){const {year:_0x2243a1,ordinal:_0x4395cb}=_0x23cb8d,{month:_0x1a9287,day:_0x345016}=_0x48851a(_0x2243a1,_0x4395cb);return{'year':_0x2243a1,'month':_0x1a9287,'day':_0x345016,..._0xbed95d(_0x23cb8d)};}function _0x45bfc1(_0x3d166b,_0x1f789b){if(!_0x105ca9(_0x3d166b['localWeekday'])||!_0x105ca9(_0x3d166b['localWeekNumber'])||!_0x105ca9(_0x3d166b['localWeekYear'])){if(!_0x105ca9(_0x3d166b['weekday'])||!_0x105ca9(_0x3d166b['weekNumber'])||!_0x105ca9(_0x3d166b['weekYear']))throw new ConflictingSpecificationError('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return _0x105ca9(_0x3d166b['localWeekday'])||(_0x3d166b['weekday']=_0x3d166b['localWeekday']),_0x105ca9(_0x3d166b['localWeekNumber'])||(_0x3d166b['weekNumber']=_0x3d166b['localWeekNumber']),_0x105ca9(_0x3d166b['localWeekYear'])||(_0x3d166b['weekYear']=_0x3d166b['localWeekYear']),delete _0x3d166b['localWeekday'],delete _0x3d166b['localWeekNumber'],delete _0x3d166b['localWeekYear'],{'minDaysInFirstWeek':_0x1f789b['getMinDaysInFirstWeek'](),'startOfWeek':_0x1f789b['getStartOfWeek']()};}return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};}function _0x5250e8(_0x4a2b0a){const _0x502043=_0xfa5049(_0x4a2b0a['year']),_0x110574=_0x3c30c8(_0x4a2b0a['month'],0x1,0xc),_0x3ced8c=_0x3c30c8(_0x4a2b0a['day'],0x1,_0x1d4dbb(_0x4a2b0a['year'],_0x4a2b0a['month']));return _0x502043?_0x110574?!_0x3ced8c&&_0x117ca4('day',_0x4a2b0a['day']):_0x117ca4('month',_0x4a2b0a['month']):_0x117ca4('year',_0x4a2b0a['year']);}function _0x526030(_0x2ca25a){const {hour:_0x4299db,minute:_0x23e197,second:_0x6ead4f,millisecond:_0x4a49ed}=_0x2ca25a,_0x49ed82=_0x3c30c8(_0x4299db,0x0,0x17)||0x18===_0x4299db&&0x0===_0x23e197&&0x0===_0x6ead4f&&0x0===_0x4a49ed,_0x4e0c6b=_0x3c30c8(_0x23e197,0x0,0x3b),_0x4f45d4=_0x3c30c8(_0x6ead4f,0x0,0x3b),_0x1d6515=_0x3c30c8(_0x4a49ed,0x0,0x3e7);return _0x49ed82?_0x4e0c6b?_0x4f45d4?!_0x1d6515&&_0x117ca4('millisecond',_0x4a49ed):_0x117ca4('second',_0x6ead4f):_0x117ca4('minute',_0x23e197):_0x117ca4('hour',_0x4299db);}function _0x105ca9(_0x52b425){return void 0x0===_0x52b425;}function _0x4b6125(_0xb98ad8){return'number'==typeof _0xb98ad8;}function _0xfa5049(_0x5784f5){return'number'==typeof _0x5784f5&&_0x5784f5%0x1==0x0;}function _0x3ba18e(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0x40510a){return!0x1;}}function _0x27a50e(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0x409094){return!0x1;}}function _0x2b9007(_0x5d80b8,_0x1a2daa,_0x4f33e9){if(0x0!==_0x5d80b8['length'])return _0x5d80b8['reduce']((_0x48c69c,_0x59eefb)=>{const _0x4714be=[_0x1a2daa(_0x59eefb),_0x59eefb];return _0x48c69c&&_0x4f33e9(_0x48c69c[0x0],_0x4714be[0x0])===_0x48c69c[0x0]?_0x48c69c:_0x4714be;},null)[0x1];}function _0x30c687(_0x4d4541,_0x29fcaa){return Object['prototype']['hasOwnProperty']['call'](_0x4d4541,_0x29fcaa);}function _0x387590(_0x546680){if(null==_0x546680)return null;if('object'!=typeof _0x546680)throw new InvalidArgumentError('Week\x20settings\x20must\x20be\x20an\x20object');if(!_0x3c30c8(_0x546680['firstDay'],0x1,0x7)||!_0x3c30c8(_0x546680['minimalDays'],0x1,0x7)||!Array['isArray'](_0x546680['weekend'])||_0x546680['weekend']['some'](_0x25693a=>!_0x3c30c8(_0x25693a,0x1,0x7)))throw new InvalidArgumentError('Invalid\x20week\x20settings');return{'firstDay':_0x546680['firstDay'],'minimalDays':_0x546680['minimalDays'],'weekend':Array['from'](_0x546680['weekend'])};}function _0x3c30c8(_0x3fabfe,_0x343607,_0x1cfb3a){return _0xfa5049(_0x3fabfe)&&_0x3fabfe>=_0x343607&&_0x3fabfe<=_0x1cfb3a;}function _0x56a905(_0x3c9ce1,_0x1fb068=0x2){let _0x3482ab;return _0x3482ab=_0x3c9ce1<0x0?'-'+(''+-_0x3c9ce1)['padStart'](_0x1fb068,'0'):(''+_0x3c9ce1)['padStart'](_0x1fb068,'0'),_0x3482ab;}function _0x2ff10e(_0x1588a3){return _0x105ca9(_0x1588a3)||null===_0x1588a3||''===_0x1588a3?void 0x0:parseInt(_0x1588a3,0xa);}function _0x5804ff(_0x3ba6cc){return _0x105ca9(_0x3ba6cc)||null===_0x3ba6cc||''===_0x3ba6cc?void 0x0:parseFloat(_0x3ba6cc);}function _0xee087d(_0x1a9869){if(!_0x105ca9(_0x1a9869)&&null!==_0x1a9869&&''!==_0x1a9869){const _0x45671e=0x3e8*parseFloat('0.'+_0x1a9869);return Math['floor'](_0x45671e);}}function _0x534881(_0x1cc64c,_0x5c2506,_0x4cbcd2=!0x1){const _0x5b26b4=0xa**_0x5c2506;return(_0x4cbcd2?Math['trunc']:Math['round'])(_0x1cc64c*_0x5b26b4)/_0x5b26b4;}function _0x468d7d(_0x4363ae){return _0x4363ae%0x4==0x0&&(_0x4363ae%0x64!=0x0||_0x4363ae%0x190==0x0);}function _0x4e4ac3(_0x51720f){return _0x468d7d(_0x51720f)?0x16e:0x16d;}function _0x1d4dbb(_0x22e804,_0x4b5235){const _0x4d9027=function(_0x4b7e04,_0x20450f){return _0x4b7e04-_0x20450f*Math['floor'](_0x4b7e04/_0x20450f);}(_0x4b5235-0x1,0xc)+0x1;return 0x2===_0x4d9027?_0x468d7d(_0x22e804+(_0x4b5235-_0x4d9027)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0x4d9027-0x1];}function _0x13e36d(_0x2991e7){let _0x68c47b=Date['UTC'](_0x2991e7['year'],_0x2991e7['month']-0x1,_0x2991e7['day'],_0x2991e7['hour'],_0x2991e7['minute'],_0x2991e7['second'],_0x2991e7['millisecond']);return _0x2991e7['year']<0x64&&_0x2991e7['year']>=0x0&&(_0x68c47b=new Date(_0x68c47b),_0x68c47b['setUTCFullYear'](_0x2991e7['year'],_0x2991e7['month']-0x1,_0x2991e7['day'])),+_0x68c47b;}function _0x3e7cc5(_0x567d2e,_0x37ca95,_0x505d10){return-_0x5b6f92(_0x5fc452(_0x567d2e,0x1,_0x37ca95),_0x505d10)+_0x37ca95-0x1;}function _0x1c0db8(_0x5ce1da,_0x5de2c5=0x4,_0x36d93c=0x1){const _0x41b06a=_0x3e7cc5(_0x5ce1da,_0x5de2c5,_0x36d93c),_0x1d6768=_0x3e7cc5(_0x5ce1da+0x1,_0x5de2c5,_0x36d93c);return(_0x4e4ac3(_0x5ce1da)-_0x41b06a+_0x1d6768)/0x7;}function _0x279a9b(_0x44430c){return _0x44430c>0x63?_0x44430c:_0x44430c>Settings['twoDigitCutoffYear']?0x76c+_0x44430c:0x7d0+_0x44430c;}function _0x559ee5(_0x454ab0,_0x153ecb,_0x32df4e,_0x26fdef=null){const _0x5ba671=new Date(_0x454ab0),_0xd457bf={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0x26fdef&&(_0xd457bf['timeZone']=_0x26fdef);const _0x1e3ea1={'timeZoneName':_0x153ecb,..._0xd457bf},_0x4c14c9=new Intl['DateTimeFormat'](_0x32df4e,_0x1e3ea1)['formatToParts'](_0x5ba671)['find'](_0x12c1bd=>'timezonename'===_0x12c1bd['type']['toLowerCase']());return _0x4c14c9?_0x4c14c9['value']:null;}function _0xfd6385(_0x5491df,_0x2ea468){let _0x5549d7=parseInt(_0x5491df,0xa);Number['isNaN'](_0x5549d7)&&(_0x5549d7=0x0);const _0xd1546c=parseInt(_0x2ea468,0xa)||0x0;return 0x3c*_0x5549d7+(_0x5549d7<0x0||Object['is'](_0x5549d7,-0x0)?-_0xd1546c:_0xd1546c);}function _0xe7d8bf(_0x1e547f){const _0x33f4dd=Number(_0x1e547f);if('boolean'==typeof _0x1e547f||''===_0x1e547f||Number['isNaN'](_0x33f4dd))throw new InvalidArgumentError('Invalid\x20unit\x20value\x20'+_0x1e547f);return _0x33f4dd;}function _0x2e0955(_0x1c720b,_0x1aef08){const _0x420a93={};for(const _0x6abf73 in _0x1c720b)if(_0x30c687(_0x1c720b,_0x6abf73)){const _0x5ca6b9=_0x1c720b[_0x6abf73];if(null==_0x5ca6b9)continue;_0x420a93[_0x1aef08(_0x6abf73)]=_0xe7d8bf(_0x5ca6b9);}return _0x420a93;}function _0x21b35a(_0x1126e4,_0x39cbab){const _0x9c9304=Math['trunc'](Math['abs'](_0x1126e4/0x3c)),_0x1922cb=Math['trunc'](Math['abs'](_0x1126e4%0x3c)),_0x29ac03=_0x1126e4>=0x0?'+':'-';switch(_0x39cbab){case'short':return''+_0x29ac03+_0x56a905(_0x9c9304,0x2)+':'+_0x56a905(_0x1922cb,0x2);case'narrow':return''+_0x29ac03+_0x9c9304+(_0x1922cb>0x0?':'+_0x1922cb:'');case'techie':return''+_0x29ac03+_0x56a905(_0x9c9304,0x2)+_0x56a905(_0x1922cb,0x2);default:throw new RangeError('Value\x20format\x20'+_0x39cbab+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function _0xbed95d(_0x377dd1){return function(_0x148d2d,_0x3eaf6e){return _0x3eaf6e['reduce']((_0x1b67d2,_0x2b92e2)=>(_0x1b67d2[_0x2b92e2]=_0x148d2d[_0x2b92e2],_0x1b67d2),{});}(_0x377dd1,['hour','minute','second','millisecond']);}const _0x3a172e=['January','February','March','April','May','June','July','August','September','October','November','December'],_0x599729=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],_0x28bd99=['J','F','M','A','M','J','J','A','S','O','N','D'];function _0x17e241(_0x4c8f2b){switch(_0x4c8f2b){case'narrow':return[..._0x28bd99];case'short':return[..._0x599729];case'long':return[..._0x3a172e];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 tr=['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],_0xc51c9a=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],_0x43542a=['M','T','W','T','F','S','S'];function _0x34ebf2(_0x41e49e){switch(_0x41e49e){case'narrow':return[..._0x43542a];case'short':return[..._0xc51c9a];case'long':return[...tr];case'numeric':return['1','2','3','4','5','6','7'];default:return null;}}const _0x552c36=['AM','PM'],_0x23f661=['Before\x20Christ','Anno\x20Domini'],_0x1bdf5d=['BC','AD'],_0x48b1fe=['B','A'];function _0x395e66(_0x51b1d0){switch(_0x51b1d0){case'narrow':return[..._0x48b1fe];case'short':return[..._0x1bdf5d];case'long':return[..._0x23f661];default:return null;}}function _0x485bdd(_0x44c7ec,_0x4cc3a2){let _0x874273='';for(const _0x181f7b of _0x44c7ec)_0x181f7b['literal']?_0x874273+=_0x181f7b['val']:_0x874273+=_0x4cc3a2(_0x181f7b['val']);return _0x874273;}const _0x83fe8b={'D':_0x51ece8,'DD':_0x1788b2,'DDD':_0x11f786,'DDDD':_0x2a0058,'t':_0x5f01ed,'tt':_0x3b49ba,'ttt':_0xc148b2,'tttt':_0x18e567,'T':_0x53f8ec,'TT':_0x202e3a,'TTT':_0x5b5703,'TTTT':_0x4763ec,'f':_0x255b0c,'ff':_0x57905c,'fff':_0x4298a0,'ffff':_0x3b5a58,'F':_0x439514,'FF':_0x259905,'FFF':_0x3834c9,'FFFF':_0x2ebcf3};class Formatter{static['create'](_0x5bcfdd,_0xfd3ffb={}){return new Formatter(_0x5bcfdd,_0xfd3ffb);}static['parseFormat'](_0x13a2aa){let _0x17d377=null,_0x478577='',_0x4a5e4d=!0x1;const _0x34da81=[];for(let _0x3e9bf6=0x0;_0x3e9bf6<_0x13a2aa['length'];_0x3e9bf6++){const _0x3c8543=_0x13a2aa['charAt'](_0x3e9bf6);'\x27'===_0x3c8543?(_0x478577['length']>0x0&&_0x34da81['push']({'literal':_0x4a5e4d||/^\s+$/['test'](_0x478577),'val':_0x478577}),_0x17d377=null,_0x478577='',_0x4a5e4d=!_0x4a5e4d):_0x4a5e4d||_0x3c8543===_0x17d377?_0x478577+=_0x3c8543:(_0x478577['length']>0x0&&_0x34da81['push']({'literal':/^\s+$/['test'](_0x478577),'val':_0x478577}),_0x478577=_0x3c8543,_0x17d377=_0x3c8543);}return _0x478577['length']>0x0&&_0x34da81['push']({'literal':_0x4a5e4d||/^\s+$/['test'](_0x478577),'val':_0x478577}),_0x34da81;}static['macroTokenToFormatOpts'](_0x5726e0){return _0x83fe8b[_0x5726e0];}constructor(_0x593bdf,_0x329741){this['opts']=_0x329741,this['loc']=_0x593bdf,this['systemLoc']=null;}['formatWithSystemDefault'](_0x583b95,_0x61f032){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0x583b95,{...this['opts'],..._0x61f032})['format']();}['dtFormatter'](_0x4713ac,_0x3561d3={}){return this['loc']['dtFormatter'](_0x4713ac,{...this['opts'],..._0x3561d3});}['formatDateTime'](_0x56ae82,_0x18785c){return this['dtFormatter'](_0x56ae82,_0x18785c)['format']();}['formatDateTimeParts'](_0x3baae1,_0x1bd283){return this['dtFormatter'](_0x3baae1,_0x1bd283)['formatToParts']();}['formatInterval'](_0x5cf277,_0x37a501){return this['dtFormatter'](_0x5cf277['start'],_0x37a501)['dtf']['formatRange'](_0x5cf277['start']['toJSDate'](),_0x5cf277['end']['toJSDate']());}['resolvedOptions'](_0x5b15d9,_0x29471b){return this['dtFormatter'](_0x5b15d9,_0x29471b)['resolvedOptions']();}['num'](_0x5ce3f9,_0x3ae68e=0x0){if(this['opts']['forceSimple'])return _0x56a905(_0x5ce3f9,_0x3ae68e);const _0x204d64={...this['opts']};return _0x3ae68e>0x0&&(_0x204d64['padTo']=_0x3ae68e),this['loc']['numberFormatter'](_0x204d64)['format'](_0x5ce3f9);}['formatDateTimeFromString'](_0x49d4d4,_0x4a013a){const _0x58ed86='en'===this['loc']['listingMode'](),_0x28989f=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0x1c682=(_0x5f4f28,_0x340349)=>this['loc']['extract'](_0x49d4d4,_0x5f4f28,_0x340349),_0x255ff4=_0x126f6f=>_0x49d4d4['isOffsetFixed']&&0x0===_0x49d4d4['offset']&&_0x126f6f['allowZ']?'Z':_0x49d4d4['isValid']?_0x49d4d4['zone']['formatOffset'](_0x49d4d4['ts'],_0x126f6f['format']):'',_0x384c71=()=>_0x58ed86?function(_0x50b643){return _0x552c36[_0x50b643['hour']<0xc?0x0:0x1];}(_0x49d4d4):_0x1c682({'hour':'numeric','hourCycle':'h12'},'dayperiod'),_0x30207e=(_0xeea3f5,_0x1b464e)=>_0x58ed86?function(_0x5cca96,_0x2d1647){return _0x17e241(_0x2d1647)[_0x5cca96['month']-0x1];}(_0x49d4d4,_0xeea3f5):_0x1c682(_0x1b464e?{'month':_0xeea3f5}:{'month':_0xeea3f5,'day':'numeric'},'month'),_0x522dc7=(_0x21f522,_0x4c64d3)=>_0x58ed86?function(_0x3ad835,_0x70869d){return _0x34ebf2(_0x70869d)[_0x3ad835['weekday']-0x1];}(_0x49d4d4,_0x21f522):_0x1c682(_0x4c64d3?{'weekday':_0x21f522}:{'weekday':_0x21f522,'month':'long','day':'numeric'},'weekday'),_0x8ba18e=_0x4f988c=>{const _0x126831=Formatter['macroTokenToFormatOpts'](_0x4f988c);return _0x126831?this['formatWithSystemDefault'](_0x49d4d4,_0x126831):_0x4f988c;},_0x526119=_0x426e71=>_0x58ed86?function(_0x3447a0,_0x2031a2){return _0x395e66(_0x2031a2)[_0x3447a0['year']<0x0?0x0:0x1];}(_0x49d4d4,_0x426e71):_0x1c682({'era':_0x426e71},'era');return _0x485bdd(Formatter['parseFormat'](_0x4a013a),_0x391dce=>{switch(_0x391dce){case'S':return this['num'](_0x49d4d4['millisecond']);case'u':case'SSS':return this['num'](_0x49d4d4['millisecond'],0x3);case's':return this['num'](_0x49d4d4['second']);case'ss':return this['num'](_0x49d4d4['second'],0x2);case'uu':return this['num'](Math['floor'](_0x49d4d4['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0x49d4d4['millisecond']/0x64));case'm':return this['num'](_0x49d4d4['minute']);case'mm':return this['num'](_0x49d4d4['minute'],0x2);case'h':return this['num'](_0x49d4d4['hour']%0xc==0x0?0xc:_0x49d4d4['hour']%0xc);case'hh':return this['num'](_0x49d4d4['hour']%0xc==0x0?0xc:_0x49d4d4['hour']%0xc,0x2);case'H':return this['num'](_0x49d4d4['hour']);case'HH':return this['num'](_0x49d4d4['hour'],0x2);case'Z':return _0x255ff4({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0x255ff4({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0x255ff4({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0x49d4d4['zone']['offsetName'](_0x49d4d4['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0x49d4d4['zone']['offsetName'](_0x49d4d4['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0x49d4d4['zoneName'];case'a':return _0x384c71();case'd':return _0x28989f?_0x1c682({'day':'numeric'},'day'):this['num'](_0x49d4d4['day']);case'dd':return _0x28989f?_0x1c682({'day':'2-digit'},'day'):this['num'](_0x49d4d4['day'],0x2);case'c':case'E':return this['num'](_0x49d4d4['weekday']);case'ccc':return _0x522dc7('short',!0x0);case'cccc':return _0x522dc7('long',!0x0);case'ccccc':return _0x522dc7('narrow',!0x0);case'EEE':return _0x522dc7('short',!0x1);case'EEEE':return _0x522dc7('long',!0x1);case'EEEEE':return _0x522dc7('narrow',!0x1);case'L':return _0x28989f?_0x1c682({'month':'numeric','day':'numeric'},'month'):this['num'](_0x49d4d4['month']);case'LL':return _0x28989f?_0x1c682({'month':'2-digit','day':'numeric'},'month'):this['num'](_0x49d4d4['month'],0x2);case'LLL':return _0x30207e('short',!0x0);case'LLLL':return _0x30207e('long',!0x0);case'LLLLL':return _0x30207e('narrow',!0x0);case'M':return _0x28989f?_0x1c682({'month':'numeric'},'month'):this['num'](_0x49d4d4['month']);case'MM':return _0x28989f?_0x1c682({'month':'2-digit'},'month'):this['num'](_0x49d4d4['month'],0x2);case'MMM':return _0x30207e('short',!0x1);case'MMMM':return _0x30207e('long',!0x1);case'MMMMM':return _0x30207e('narrow',!0x1);case'y':return _0x28989f?_0x1c682({'year':'numeric'},'year'):this['num'](_0x49d4d4['year']);case'yy':return _0x28989f?_0x1c682({'year':'2-digit'},'year'):this['num'](_0x49d4d4['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0x28989f?_0x1c682({'year':'numeric'},'year'):this['num'](_0x49d4d4['year'],0x4);case'yyyyyy':return _0x28989f?_0x1c682({'year':'numeric'},'year'):this['num'](_0x49d4d4['year'],0x6);case'G':return _0x526119('short');case'GG':return _0x526119('long');case'GGGGG':return _0x526119('narrow');case'kk':return this['num'](_0x49d4d4['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0x49d4d4['weekYear'],0x4);case'W':return this['num'](_0x49d4d4['weekNumber']);case'WW':return this['num'](_0x49d4d4['weekNumber'],0x2);case'n':return this['num'](_0x49d4d4['localWeekNumber']);case'nn':return this['num'](_0x49d4d4['localWeekNumber'],0x2);case'ii':return this['num'](_0x49d4d4['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0x49d4d4['localWeekYear'],0x4);case'o':return this['num'](_0x49d4d4['ordinal']);case'ooo':return this['num'](_0x49d4d4['ordinal'],0x3);case'q':return this['num'](_0x49d4d4['quarter']);case'qq':return this['num'](_0x49d4d4['quarter'],0x2);case'X':return this['num'](Math['floor'](_0x49d4d4['ts']/0x3e8));case'x':return this['num'](_0x49d4d4['ts']);default:return _0x8ba18e(_0x391dce);}});}['formatDurationFromString'](_0x300c06,_0x2a7a0c){const _0x15e0c1=_0x323d27=>{switch(_0x323d27[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;}},_0x104894=Formatter['parseFormat'](_0x2a7a0c),_0x51d239=_0x104894['reduce']((_0xcee8f1,{literal:_0x494816,val:_0x45e154})=>_0x494816?_0xcee8f1:_0xcee8f1['concat'](_0x45e154),[]),_0x528fed=_0x300c06['shiftTo'](..._0x51d239['map'](_0x15e0c1)['filter'](t=>t));return _0x485bdd(_0x104894,(_0x2c83c5=>_0x88458b=>{const _0x1c7cdf=_0x15e0c1(_0x88458b);return _0x1c7cdf?this['num'](_0x2c83c5['get'](_0x1c7cdf),_0x88458b['length']):_0x88458b;})(_0x528fed));}}const _0x21f637=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _0x5b14fa(..._0x22bc67){const _0x4f170e=_0x22bc67['reduce']((_0x21f996,_0x3ed4f2)=>_0x21f996+_0x3ed4f2['source'],'');return RegExp('^'+_0x4f170e+'$');}function _0x235f9e(..._0x398267){return _0x347b1d=>_0x398267['reduce'](([_0x1f3a04,_0xc042ad,_0x5e4ff1],_0x4ed6ef)=>{const [_0x4e4414,_0x4de12c,_0x4fa659]=_0x4ed6ef(_0x347b1d,_0x5e4ff1);return[{..._0x1f3a04,..._0x4e4414},_0x4de12c||_0xc042ad,_0x4fa659];},[{},null,0x1])['slice'](0x0,0x2);}function _0x261af6(_0x293ed3,..._0x42f074){if(null==_0x293ed3)return[null,null];for(const [_0x3f75d7,_0x55d7d6]of _0x42f074){const _0x52baf9=_0x3f75d7['exec'](_0x293ed3);if(_0x52baf9)return _0x55d7d6(_0x52baf9);}return[null,null];}function _0x3dad2d(..._0x4010aa){return(_0x3b968a,_0x40a0a6)=>{const _0x2ea591={};let _0x62926a;for(_0x62926a=0x0;_0x62926a<_0x4010aa['length'];_0x62926a++)_0x2ea591[_0x4010aa[_0x62926a]]=_0x2ff10e(_0x3b968a[_0x40a0a6+_0x62926a]);return[_0x2ea591,null,_0x40a0a6+_0x62926a];};}const _0x1d40f8=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,_0xc7ee87=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,_0x1bdf57=RegExp(''+_0xc7ee87['source']+('(?:'+_0x1d40f8['source']+'?(?:\x5c[('+_0x21f637['source']+')\x5c])?)?')),_0x1ee6de=RegExp('(?:T'+_0x1bdf57['source']+')?'),_0x2b4e93=_0x3dad2d('weekYear','weekNumber','weekDay'),_0x38f71a=_0x3dad2d('year','ordinal'),_0x38abdf=RegExp(_0xc7ee87['source']+'\x20?(?:'+_0x1d40f8['source']+'|('+_0x21f637['source']+'))?'),_0x18010e=RegExp('(?:\x20'+_0x38abdf['source']+')?');function _0x1f4f9d(_0x201539,_0x13d3c8,_0x3f98f7){const _0x591e0f=_0x201539[_0x13d3c8];return _0x105ca9(_0x591e0f)?_0x3f98f7:_0x2ff10e(_0x591e0f);}function _0x56e48c(_0x14b8ab,_0x3673a0){return[{'hours':_0x1f4f9d(_0x14b8ab,_0x3673a0,0x0),'minutes':_0x1f4f9d(_0x14b8ab,_0x3673a0+0x1,0x0),'seconds':_0x1f4f9d(_0x14b8ab,_0x3673a0+0x2,0x0),'milliseconds':_0xee087d(_0x14b8ab[_0x3673a0+0x3])},null,_0x3673a0+0x4];}function _0x39301e(_0x195be9,_0x87bd4c){const _0x2c5283=!_0x195be9[_0x87bd4c]&&!_0x195be9[_0x87bd4c+0x1],_0x50c535=_0xfd6385(_0x195be9[_0x87bd4c+0x1],_0x195be9[_0x87bd4c+0x2]);return[{},_0x2c5283?null:FixedOffsetZone['instance'](_0x50c535),_0x87bd4c+0x3];}function _0x1a93a2(_0x53b34d,_0x3e313b){return[{},_0x53b34d[_0x3e313b]?_0x3f0a1f['create'](_0x53b34d[_0x3e313b]):null,_0x3e313b+0x1];}const _0x420563=RegExp('^T?'+_0xc7ee87['source']+'$'),_0x388995=/^-?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 _0x28297c(_0x53498d){const [_0x4a5d13,_0x49429e,_0xd98533,_0x1093e2,_0x375d5d,_0x4692b9,_0x538478,_0x112389,_0x491228]=_0x53498d,_0x21d439='-'===_0x4a5d13[0x0],_0x37f451=_0x112389&&'-'===_0x112389[0x0],_0x163d96=(_0x1bf986,_0x34a011=!0x1)=>void 0x0!==_0x1bf986&&(_0x34a011||_0x1bf986&&_0x21d439)?-_0x1bf986:_0x1bf986;return[{'years':_0x163d96(_0x5804ff(_0x49429e)),'months':_0x163d96(_0x5804ff(_0xd98533)),'weeks':_0x163d96(_0x5804ff(_0x1093e2)),'days':_0x163d96(_0x5804ff(_0x375d5d)),'hours':_0x163d96(_0x5804ff(_0x4692b9)),'minutes':_0x163d96(_0x5804ff(_0x538478)),'seconds':_0x163d96(_0x5804ff(_0x112389),'-0'===_0x112389),'milliseconds':_0x163d96(_0xee087d(_0x491228),_0x37f451)}];}const _0x36957c={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function _0xbd9917(_0x52c71f,_0x24ce19,_0x1cd0c4,_0x1968b0,_0x4579d2,_0x1737b2,_0x598f1d){const _0x2d5b80={'year':0x2===_0x24ce19['length']?_0x279a9b(_0x2ff10e(_0x24ce19)):_0x2ff10e(_0x24ce19),'month':_0x599729['indexOf'](_0x1cd0c4)+0x1,'day':_0x2ff10e(_0x1968b0),'hour':_0x2ff10e(_0x4579d2),'minute':_0x2ff10e(_0x1737b2)};return _0x598f1d&&(_0x2d5b80['second']=_0x2ff10e(_0x598f1d)),_0x52c71f&&(_0x2d5b80['weekday']=_0x52c71f['length']>0x3?tr['indexOf'](_0x52c71f)+0x1:_0xc51c9a['indexOf'](_0x52c71f)+0x1),_0x2d5b80;}const _0x51b126=/^(?:(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 _0x29cd02(_0xf51f32){const [,_0x3b2dc7,_0x1a4673,_0x3ce219,_0xb30947,_0x4ab2a5,_0x26a648,_0x12d8a6,_0x2cf5c6,_0x252234,_0x3fba74,_0xe6b1fc]=_0xf51f32,_0x14e361=_0xbd9917(_0x3b2dc7,_0xb30947,_0x3ce219,_0x1a4673,_0x4ab2a5,_0x26a648,_0x12d8a6);let _0x4448da;return _0x4448da=_0x2cf5c6?_0x36957c[_0x2cf5c6]:_0x252234?0x0:_0xfd6385(_0x3fba74,_0xe6b1fc),[_0x14e361,new FixedOffsetZone(_0x4448da)];}const _0x4d1ec6=/^(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$/,_0x2f4136=/^(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$/,_0x5b30bf=/^(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 _0x558567(_0x27a965){const [,_0x713d9f,_0x3d8448,_0x23214b,_0x2bbce8,_0x24168d,_0x5755c0,_0x24054a]=_0x27a965;return[_0xbd9917(_0x713d9f,_0x2bbce8,_0x23214b,_0x3d8448,_0x24168d,_0x5755c0,_0x24054a),FixedOffsetZone['utcInstance']];}function _0x18a0bd(_0x5d8ea5){const [,_0xc61bce,_0x56466b,_0x3df2ab,_0x3f58f6,_0x761979,_0xf15e2f,_0x3d8b4c]=_0x5d8ea5;return[_0xbd9917(_0xc61bce,_0x3d8b4c,_0x56466b,_0x3df2ab,_0x3f58f6,_0x761979,_0xf15e2f),FixedOffsetZone['utcInstance']];}const _0x4757c4=_0x5b14fa(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,_0x1ee6de),_0x590b53=_0x5b14fa(/(\d{4})-?W(\d\d)(?:-?(\d))?/,_0x1ee6de),_0x4db144=_0x5b14fa(/(\d{4})-?(\d{3})/,_0x1ee6de),_0x2ac837=_0x5b14fa(_0x1bdf57),_0x27382f=_0x235f9e(function(_0x83c777,_0x57b748){return[{'year':_0x1f4f9d(_0x83c777,_0x57b748),'month':_0x1f4f9d(_0x83c777,_0x57b748+0x1,0x1),'day':_0x1f4f9d(_0x83c777,_0x57b748+0x2,0x1)},null,_0x57b748+0x3];},_0x56e48c,_0x39301e,_0x1a93a2),_0xb61550=_0x235f9e(_0x2b4e93,_0x56e48c,_0x39301e,_0x1a93a2),_0x19441e=_0x235f9e(_0x38f71a,_0x56e48c,_0x39301e,_0x1a93a2),_0x396b7d=_0x235f9e(_0x56e48c,_0x39301e,_0x1a93a2),_0x5a055f=_0x235f9e(_0x56e48c),_0x5a4f58=_0x5b14fa(/(\d{4})-(\d\d)-(\d\d)/,_0x18010e),_0xecc6c=_0x5b14fa(_0x38abdf),_0x4dd3a1=_0x235f9e(_0x56e48c,_0x39301e,_0x1a93a2),_0x495a82='Invalid\x20Duration',_0xb14a35={'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}},to={'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},..._0xb14a35},_0xd61eaf=365.2425,_0x28c9c2=30.436875,_0x5ee7d5={'years':{'quarters':0x4,'months':0xc,'weeks':52.1775,'days':_0xd61eaf,'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':_0x28c9c2,'hours':730.485,'minutes':43829.1,'seconds':0x282072,'milliseconds':0x9cbebd50},..._0xb14a35},_0x4d4eed=['years','quarters','months','weeks','days','hours','minutes','seconds','milliseconds'],_0x117ee9=_0x4d4eed['slice'](0x0)['reverse']();function _0x4ebe1d(_0x189fed,_0x4ab3fa,_0x4886f7=!0x1){const _0xd77909={'values':_0x4886f7?_0x4ab3fa['values']:{..._0x189fed['values'],..._0x4ab3fa['values']||{}},'loc':_0x189fed['loc']['clone'](_0x4ab3fa['loc']),'conversionAccuracy':_0x4ab3fa['conversionAccuracy']||_0x189fed['conversionAccuracy'],'matrix':_0x4ab3fa['matrix']||_0x189fed['matrix']};return new Duration(_0xd77909);}function _0x53924a(_0x494dd5,_0x27dff6){let _0x3ce9bd=_0x27dff6['milliseconds']??0x0;for(const _0x164071 of _0x117ee9['slice'](0x1))_0x27dff6[_0x164071]&&(_0x3ce9bd+=_0x27dff6[_0x164071]*_0x494dd5[_0x164071]['milliseconds']);return _0x3ce9bd;}function _0x49ad84(_0x45285e,_0x20a9ac){const _0x47f362=_0x53924a(_0x45285e,_0x20a9ac)<0x0?-0x1:0x1;_0x4d4eed['reduceRight']((_0x2305bb,_0x505405)=>{if(_0x105ca9(_0x20a9ac[_0x505405]))return _0x2305bb;if(_0x2305bb){const _0xf64c83=_0x20a9ac[_0x2305bb]*_0x47f362,_0x5b8bfe=_0x45285e[_0x505405][_0x2305bb],_0x22d409=Math['floor'](_0xf64c83/_0x5b8bfe);_0x20a9ac[_0x505405]+=_0x22d409*_0x47f362,_0x20a9ac[_0x2305bb]-=_0x22d409*_0x5b8bfe*_0x47f362;}return _0x505405;},null),_0x4d4eed['reduce']((_0x5db236,_0x3bd7c7)=>{if(_0x105ca9(_0x20a9ac[_0x3bd7c7]))return _0x5db236;if(_0x5db236){const _0x4d52f4=_0x20a9ac[_0x5db236]%0x1;_0x20a9ac[_0x5db236]-=_0x4d52f4,_0x20a9ac[_0x3bd7c7]+=_0x4d52f4*_0x45285e[_0x5db236][_0x3bd7c7];}return _0x3bd7c7;},null);}class Duration{constructor(_0x5ceea1){const _0x4f7f4a='longterm'===_0x5ceea1['conversionAccuracy']||!0x1;let _0x4350f5=_0x4f7f4a?_0x5ee7d5:to;_0x5ceea1['matrix']&&(_0x4350f5=_0x5ceea1['matrix']),this['values']=_0x5ceea1['values'],this['loc']=_0x5ceea1['loc']||_0x514e58['create'](),this['conversionAccuracy']=_0x4f7f4a?'longterm':'casual',this['invalid']=_0x5ceea1['invalid']||null,this['matrix']=_0x4350f5,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0x631b06,_0x2f570c){return Duration['fromObject']({'milliseconds':_0x631b06},_0x2f570c);}static['fromObject'](_0x3bad55,_0x5dfc9c={}){if(null==_0x3bad55||'object'!=typeof _0x3bad55)throw new InvalidArgumentError('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0x3bad55?'null':typeof _0x3bad55));return new Duration({'values':_0x2e0955(_0x3bad55,Duration['normalizeUnit']),'loc':_0x514e58['fromObject'](_0x5dfc9c),'conversionAccuracy':_0x5dfc9c['conversionAccuracy'],'matrix':_0x5dfc9c['matrix']});}static['fromDurationLike'](_0x507125){if(_0x4b6125(_0x507125))return Duration['fromMillis'](_0x507125);if(Duration['isDuration'](_0x507125))return _0x507125;if('object'==typeof _0x507125)return Duration['fromObject'](_0x507125);throw new InvalidArgumentError('Unknown\x20duration\x20argument\x20'+_0x507125+'\x20of\x20type\x20'+typeof _0x507125);}static['fromISO'](_0x253e44,_0x365b23){const [_0x1696ee]=function(_0x42a863){return _0x261af6(_0x42a863,[_0x388995,_0x28297c]);}(_0x253e44);return _0x1696ee?Duration['fromObject'](_0x1696ee,_0x365b23):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x253e44+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0x16d2e4,_0xff7152){const [_0x3e89f8]=function(_0x5af7be){return _0x261af6(_0x5af7be,[_0x420563,_0x5a055f]);}(_0x16d2e4);return _0x3e89f8?Duration['fromObject'](_0x3e89f8,_0xff7152):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x16d2e4+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0x851fa1,_0xe5ff65=null){if(!_0x851fa1)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0x4e5df1=_0x851fa1 instanceof _0x1e074e?_0x851fa1:new _0x1e074e(_0x851fa1,_0xe5ff65);if(Settings['throwOnInvalid'])throw new InvalidDurationError(_0x4e5df1);return new Duration({'invalid':_0x4e5df1});}static['normalizeUnit'](_0x7789dd){const _0xb416fb={'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'}[_0x7789dd?_0x7789dd['toLowerCase']():_0x7789dd];if(!_0xb416fb)throw new InvalidUnitError(_0x7789dd);return _0xb416fb;}static['isDuration'](_0x541968){return _0x541968&&_0x541968['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}['toFormat'](_0x22bb0c,_0xd8bdbb={}){const _0xc26bb5={..._0xd8bdbb,'floor':!0x1!==_0xd8bdbb['round']&&!0x1!==_0xd8bdbb['floor']};return this['isValid']?Formatter['create'](this['loc'],_0xc26bb5)['formatDurationFromString'](this,_0x22bb0c):_0x495a82;}['toHuman'](_0x1b9ad6={}){if(!this['isValid'])return _0x495a82;const _0x2234f0=_0x4d4eed['map'](_0x31e180=>{const _0x2f24e2=this['values'][_0x31e180];return _0x105ca9(_0x2f24e2)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0x1b9ad6,'unit':_0x31e180['slice'](0x0,-0x1)})['format'](_0x2f24e2);})['filter'](_0x22e59d=>_0x22e59d);return this['loc']['listFormatter']({'type':'conjunction','style':_0x1b9ad6['listStyle']||'narrow',..._0x1b9ad6})['format'](_0x2234f0);}['toObject'](){return this['isValid']?{...this['values']}:{};}['toISO'](){if(!this['isValid'])return null;let _0x45f5dd='P';return 0x0!==this['years']&&(_0x45f5dd+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x45f5dd+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x45f5dd+=this['weeks']+'W'),0x0!==this['days']&&(_0x45f5dd+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x45f5dd+='T'),0x0!==this['hours']&&(_0x45f5dd+=this['hours']+'H'),0x0!==this['minutes']&&(_0x45f5dd+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x45f5dd+=_0x534881(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x45f5dd&&(_0x45f5dd+='T0S'),_0x45f5dd;}['toISOTime'](_0x5bccc8={}){if(!this['isValid'])return null;const _0x4753fe=this['toMillis']();if(_0x4753fe<0x0||_0x4753fe>=0x5265c00)return null;return _0x5bccc8={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x5bccc8,'includeOffset':!0x1},DateTime['fromMillis'](_0x4753fe,{'zone':'UTC'})['toISOTime'](_0x5bccc8);}['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']?_0x53924a(this['matrix'],this['values']):NaN;}['valueOf'](){return this['toMillis']();}['plus'](_0x4f5c90){if(!this['isValid'])return this;const _0x450a43=Duration['fromDurationLike'](_0x4f5c90),_0x42cb3d={};for(const _0x105ef9 of _0x4d4eed)(_0x30c687(_0x450a43['values'],_0x105ef9)||_0x30c687(this['values'],_0x105ef9))&&(_0x42cb3d[_0x105ef9]=_0x450a43['get'](_0x105ef9)+this['get'](_0x105ef9));return _0x4ebe1d(this,{'values':_0x42cb3d},!0x0);}['minus'](_0x2316c3){if(!this['isValid'])return this;const _0x353a15=Duration['fromDurationLike'](_0x2316c3);return this['plus'](_0x353a15['negate']());}['mapUnits'](_0x3606b4){if(!this['isValid'])return this;const _0x218ba1={};for(const _0x12c249 of Object['keys'](this['values']))_0x218ba1[_0x12c249]=_0xe7d8bf(_0x3606b4(this['values'][_0x12c249],_0x12c249));return _0x4ebe1d(this,{'values':_0x218ba1},!0x0);}['get'](_0x105622){return this[Duration['normalizeUnit'](_0x105622)];}['set'](_0x34c25e){if(!this['isValid'])return this;return _0x4ebe1d(this,{'values':{...this['values'],..._0x2e0955(_0x34c25e,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0x196567,numberingSystem:_0x5a1f7d,conversionAccuracy:_0x4c4cb7,matrix:_0xaaede2}={}){return _0x4ebe1d(this,{'loc':this['loc']['clone']({'locale':_0x196567,'numberingSystem':_0x5a1f7d}),'matrix':_0xaaede2,'conversionAccuracy':_0x4c4cb7});}['as'](_0x2aa344){return this['isValid']?this['shiftTo'](_0x2aa344)['get'](_0x2aa344):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x2ac3a2=this['toObject']();return _0x49ad84(this['matrix'],_0x2ac3a2),_0x4ebe1d(this,{'values':_0x2ac3a2},!0x0);}['rescale'](){if(!this['isValid'])return this;const _0x545025=function(_0xcadb50){const _0x49d9f0={};for(const [_0x575e5b,_0x4f98b]of Object['entries'](_0xcadb50))0x0!==_0x4f98b&&(_0x49d9f0[_0x575e5b]=_0x4f98b);return _0x49d9f0;}(this['normalize']()['shiftToAll']()['toObject']());return _0x4ebe1d(this,{'values':_0x545025},!0x0);}['shiftTo'](..._0x13c1bb){if(!this['isValid'])return this;if(0x0===_0x13c1bb['length'])return this;_0x13c1bb=_0x13c1bb['map'](_0x40bfe7=>Duration['normalizeUnit'](_0x40bfe7));const _0x400d6b={},_0x1583c9={},_0x1a63f6=this['toObject']();let _0x1d2a06;for(const _0x20bd2e of _0x4d4eed)if(_0x13c1bb['indexOf'](_0x20bd2e)>=0x0){_0x1d2a06=_0x20bd2e;let _0x5139e7=0x0;for(const _0x4fb81f in _0x1583c9)_0x5139e7+=this['matrix'][_0x4fb81f][_0x20bd2e]*_0x1583c9[_0x4fb81f],_0x1583c9[_0x4fb81f]=0x0;_0x4b6125(_0x1a63f6[_0x20bd2e])&&(_0x5139e7+=_0x1a63f6[_0x20bd2e]);const _0x2e573f=Math['trunc'](_0x5139e7);_0x400d6b[_0x20bd2e]=_0x2e573f,_0x1583c9[_0x20bd2e]=(0x3e8*_0x5139e7-0x3e8*_0x2e573f)/0x3e8;}else _0x4b6125(_0x1a63f6[_0x20bd2e])&&(_0x1583c9[_0x20bd2e]=_0x1a63f6[_0x20bd2e]);for(const _0x18d2fc in _0x1583c9)0x0!==_0x1583c9[_0x18d2fc]&&(_0x400d6b[_0x1d2a06]+=_0x18d2fc===_0x1d2a06?_0x1583c9[_0x18d2fc]:_0x1583c9[_0x18d2fc]/this['matrix'][_0x1d2a06][_0x18d2fc]);return _0x49ad84(this['matrix'],_0x400d6b),_0x4ebe1d(this,{'values':_0x400d6b},!0x0);}['shiftToAll'](){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}['negate'](){if(!this['isValid'])return this;const _0x26a73b={};for(const _0x4d1ec3 of Object['keys'](this['values']))_0x26a73b[_0x4d1ec3]=0x0===this['values'][_0x4d1ec3]?0x0:-this['values'][_0x4d1ec3];return _0x4ebe1d(this,{'values':_0x26a73b},!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'](_0x51c96c){if(!this['isValid']||!_0x51c96c['isValid'])return!0x1;if(!this['loc']['equals'](_0x51c96c['loc']))return!0x1;function _0x1895fd(_0xbe12e4,_0x2acf02){return void 0x0===_0xbe12e4||0x0===_0xbe12e4?void 0x0===_0x2acf02||0x0===_0x2acf02:_0xbe12e4===_0x2acf02;}for(const _0x5b85fe of _0x4d4eed)if(!_0x1895fd(this['values'][_0x5b85fe],_0x51c96c['values'][_0x5b85fe]))return!0x1;return!0x0;}}const _0x30e514='Invalid\x20Interval';class Interval{constructor(_0x2b30ac){this['s']=_0x2b30ac['start'],this['e']=_0x2b30ac['end'],this['invalid']=_0x2b30ac['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0x265ed5,_0x429d25=null){if(!_0x265ed5)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x512c83=_0x265ed5 instanceof _0x1e074e?_0x265ed5:new _0x1e074e(_0x265ed5,_0x429d25);if(Settings['throwOnInvalid'])throw new InvalidIntervalError(_0x512c83);return new Interval({'invalid':_0x512c83});}static['fromDateTimes'](_0x2ded1d,_0x13e6af){const _0x179760=_0xbcd261(_0x2ded1d),_0x3be8a3=_0xbcd261(_0x13e6af),_0x38dda8=function(_0xc40ef5,_0x22b358){return _0xc40ef5&&_0xc40ef5['isValid']?_0x22b358&&_0x22b358['isValid']?_0x22b358<_0xc40ef5?Interval['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0xc40ef5['toISO']()+'\x20and\x20end='+_0x22b358['toISO']()):null:Interval['invalid']('missing\x20or\x20invalid\x20end'):Interval['invalid']('missing\x20or\x20invalid\x20start');}(_0x179760,_0x3be8a3);return null==_0x38dda8?new Interval({'start':_0x179760,'end':_0x3be8a3}):_0x38dda8;}static['after'](_0x3886f1,_0x10d582){const _0x3446a8=Duration['fromDurationLike'](_0x10d582),_0x172965=_0xbcd261(_0x3886f1);return Interval['fromDateTimes'](_0x172965,_0x172965['plus'](_0x3446a8));}static['before'](_0x24bb4e,_0x1c4246){const _0x2c39eb=Duration['fromDurationLike'](_0x1c4246),_0x45b249=_0xbcd261(_0x24bb4e);return Interval['fromDateTimes'](_0x45b249['minus'](_0x2c39eb),_0x45b249);}static['fromISO'](_0x1caafd,_0x3c4e5b){const [_0x32968e,_0xd8ec45]=(_0x1caafd||'')['split']('/',0x2);if(_0x32968e&&_0xd8ec45){let _0x2fa9d9,_0x37e2cf,_0x2b53da,_0x571d33;try{_0x2fa9d9=DateTime['fromISO'](_0x32968e,_0x3c4e5b),_0x37e2cf=_0x2fa9d9['isValid'];}catch(_0x5121ba){_0x37e2cf=!0x1;}try{_0x2b53da=DateTime['fromISO'](_0xd8ec45,_0x3c4e5b),_0x571d33=_0x2b53da['isValid'];}catch(_0x304760){_0x571d33=!0x1;}if(_0x37e2cf&&_0x571d33)return Interval['fromDateTimes'](_0x2fa9d9,_0x2b53da);if(_0x37e2cf){const _0x34df41=Duration['fromISO'](_0xd8ec45,_0x3c4e5b);if(_0x34df41['isValid'])return Interval['after'](_0x2fa9d9,_0x34df41);}else{if(_0x571d33){const _0x45052c=Duration['fromISO'](_0x32968e,_0x3c4e5b);if(_0x45052c['isValid'])return Interval['before'](_0x2b53da,_0x45052c);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0x1caafd+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['isInterval'](_0x4e3e84){return _0x4e3e84&&_0x4e3e84['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'](_0x2d3f69='milliseconds'){return this['isValid']?this['toDuration'](_0x2d3f69)['get'](_0x2d3f69):NaN;}['count'](_0x10994f='milliseconds',_0x2959b4){if(!this['isValid'])return NaN;const _0x260e71=this['start']['startOf'](_0x10994f,_0x2959b4);let _0x5e1d9a;return _0x5e1d9a=_0x2959b4?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x260e71['locale']}):this['end'],_0x5e1d9a=_0x5e1d9a['startOf'](_0x10994f,_0x2959b4),Math['floor'](_0x5e1d9a['diff'](_0x260e71,_0x10994f)['get'](_0x10994f))+(_0x5e1d9a['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0x5062e8){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0x5062e8));}['isEmpty'](){return this['s']['valueOf']()===this['e']['valueOf']();}['isAfter'](_0x344a2e){return!!this['isValid']&&this['s']>_0x344a2e;}['isBefore'](_0x2fcfd1){return!!this['isValid']&&this['e']<=_0x2fcfd1;}['contains'](_0x37bcc4){return!!this['isValid']&&(this['s']<=_0x37bcc4&&this['e']>_0x37bcc4);}['set']({start:_0x3ad7fc,end:_0x9e743d}={}){return this['isValid']?Interval['fromDateTimes'](_0x3ad7fc||this['s'],_0x9e743d||this['e']):this;}['splitAt'](..._0x19f8fe){if(!this['isValid'])return[];const _0x509bb3=_0x19f8fe['map'](_0xbcd261)['filter'](_0x388f18=>this['contains'](_0x388f18))['sort']((_0x455dcd,_0x42466a)=>_0x455dcd['toMillis']()-_0x42466a['toMillis']()),_0x1a11ed=[];let {s:_0x487370}=this,_0x45d6e5=0x0;for(;_0x487370<this['e'];){const _0x467305=_0x509bb3[_0x45d6e5]||this['e'],_0x77b413=+_0x467305>+this['e']?this['e']:_0x467305;_0x1a11ed['push'](Interval['fromDateTimes'](_0x487370,_0x77b413)),_0x487370=_0x77b413,_0x45d6e5+=0x1;}return _0x1a11ed;}['splitBy'](_0x1ab430){const _0x13970f=Duration['fromDurationLike'](_0x1ab430);if(!this['isValid']||!_0x13970f['isValid']||0x0===_0x13970f['as']('milliseconds'))return[];let _0x538e5e,{s:_0x3a8dcf}=this,_0x4f899b=0x1;const _0x58ee0e=[];for(;_0x3a8dcf<this['e'];){const _0x20f714=this['start']['plus'](_0x13970f['mapUnits'](_0x17184e=>_0x17184e*_0x4f899b));_0x538e5e=+_0x20f714>+this['e']?this['e']:_0x20f714,_0x58ee0e['push'](Interval['fromDateTimes'](_0x3a8dcf,_0x538e5e)),_0x3a8dcf=_0x538e5e,_0x4f899b+=0x1;}return _0x58ee0e;}['divideEqually'](_0xf935de){return this['isValid']?this['splitBy'](this['length']()/_0xf935de)['slice'](0x0,_0xf935de):[];}['overlaps'](_0xa56e87){return this['e']>_0xa56e87['s']&&this['s']<_0xa56e87['e'];}['abutsStart'](_0x2f9c8e){return!!this['isValid']&&+this['e']===+_0x2f9c8e['s'];}['abutsEnd'](_0x3447dd){return!!this['isValid']&&+_0x3447dd['e']===+this['s'];}['engulfs'](_0x2f3518){return!!this['isValid']&&(this['s']<=_0x2f3518['s']&&this['e']>=_0x2f3518['e']);}['equals'](_0x3ef6d5){return!(!this['isValid']||!_0x3ef6d5['isValid'])&&(this['s']['equals'](_0x3ef6d5['s'])&&this['e']['equals'](_0x3ef6d5['e']));}['intersection'](_0x61880){if(!this['isValid'])return this;const _0x323b13=this['s']>_0x61880['s']?this['s']:_0x61880['s'],_0x3a1961=this['e']<_0x61880['e']?this['e']:_0x61880['e'];return _0x323b13>=_0x3a1961?null:Interval['fromDateTimes'](_0x323b13,_0x3a1961);}['union'](_0x317d2c){if(!this['isValid'])return this;const _0x4adb06=this['s']<_0x317d2c['s']?this['s']:_0x317d2c['s'],_0x2541ce=this['e']>_0x317d2c['e']?this['e']:_0x317d2c['e'];return Interval['fromDateTimes'](_0x4adb06,_0x2541ce);}static['merge'](_0x814729){const [_0x479092,_0x4db7f1]=_0x814729['sort']((_0x36ad97,_0x3bdc34)=>_0x36ad97['s']-_0x3bdc34['s'])['reduce'](([_0x54ef35,_0x205f62],_0x5982e8)=>_0x205f62?_0x205f62['overlaps'](_0x5982e8)||_0x205f62['abutsStart'](_0x5982e8)?[_0x54ef35,_0x205f62['union'](_0x5982e8)]:[_0x54ef35['concat']([_0x205f62]),_0x5982e8]:[_0x54ef35,_0x5982e8],[[],null]);return _0x4db7f1&&_0x479092['push'](_0x4db7f1),_0x479092;}static['xor'](_0x5170ed){let _0xefe1e6=null,_0x340a72=0x0;const _0x5d3ee5=[],_0x1c4d01=_0x5170ed['map'](_0x350804=>[{'time':_0x350804['s'],'type':'s'},{'time':_0x350804['e'],'type':'e'}]),_0x337252=Array['prototype']['concat'](..._0x1c4d01)['sort']((_0x4c974e,_0x397c39)=>_0x4c974e['time']-_0x397c39['time']);for(const _0xaac28e of _0x337252)_0x340a72+='s'===_0xaac28e['type']?0x1:-0x1,0x1===_0x340a72?_0xefe1e6=_0xaac28e['time']:(_0xefe1e6&&+_0xefe1e6!==+_0xaac28e['time']&&_0x5d3ee5['push'](Interval['fromDateTimes'](_0xefe1e6,_0xaac28e['time'])),_0xefe1e6=null);return Interval['merge'](_0x5d3ee5);}['difference'](..._0x13d176){return Interval['xor']([this]['concat'](_0x13d176))['map'](_0x58470a=>this['intersection'](_0x58470a))['filter'](_0x38176a=>_0x38176a&&!_0x38176a['isEmpty']());}['toString'](){return this['isValid']?'['+this['s']['toISO']()+'\x20–\x20'+this['e']['toISO']()+')':_0x30e514;}[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'](_0x1c7e20=_0x51ece8,_0x3f1e7c={}){return this['isValid']?Formatter['create'](this['s']['loc']['clone'](_0x3f1e7c),_0x1c7e20)['formatInterval'](this):_0x30e514;}['toISO'](_0x3658dc){return this['isValid']?this['s']['toISO'](_0x3658dc)+'/'+this['e']['toISO'](_0x3658dc):_0x30e514;}['toISODate'](){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():_0x30e514;}['toISOTime'](_0x15457f){return this['isValid']?this['s']['toISOTime'](_0x15457f)+'/'+this['e']['toISOTime'](_0x15457f):_0x30e514;}['toFormat'](_0xc4a930,{separator:_0x1d2395='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0xc4a930)+_0x1d2395+this['e']['toFormat'](_0xc4a930):_0x30e514;}['toDuration'](_0x406963,_0x3090cd){return this['isValid']?this['e']['diff'](this['s'],_0x406963,_0x3090cd):Duration['invalid'](this['invalidReason']);}['mapEndpoints'](_0x204c37){return Interval['fromDateTimes'](_0x204c37(this['s']),_0x204c37(this['e']));}}class _0x154ffc{static['hasDST'](_0x4403f6=Settings['defaultZone']){const _0x38b4c6=DateTime['now']()['setZone'](_0x4403f6)['set']({'month':0xc});return!_0x4403f6['isUniversal']&&_0x38b4c6['offset']!==_0x38b4c6['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x33728e){return _0x3f0a1f['isValidZone'](_0x33728e);}static['normalizeZone'](_0x31da87){return _0x5caeba(_0x31da87,Settings['defaultZone']);}static['getStartOfWeek']({locale:_0x42a7b0=null,locObj:_0x8d9840=null}={}){return(_0x8d9840||_0x514e58['create'](_0x42a7b0))['getStartOfWeek']();}static['getMinimumDaysInFirstWeek']({locale:_0x4e01c2=null,locObj:_0x2dba35=null}={}){return(_0x2dba35||_0x514e58['create'](_0x4e01c2))['getMinDaysInFirstWeek']();}static['getWeekendWeekdays']({locale:_0x49d500=null,locObj:_0x4138bd=null}={}){return(_0x4138bd||_0x514e58['create'](_0x49d500))['getWeekendDays']()['slice']();}static['months'](_0x1ea9ff='long',{locale:_0x27b39a=null,numberingSystem:_0x3efd64=null,locObj:_0x5a5703=null,outputCalendar:_0xa888b3='gregory'}={}){return(_0x5a5703||_0x514e58['create'](_0x27b39a,_0x3efd64,_0xa888b3))['months'](_0x1ea9ff);}static['monthsFormat'](_0x2f1f8e='long',{locale:_0xc7ba2c=null,numberingSystem:_0x5c51e9=null,locObj:_0x6637d3=null,outputCalendar:_0x3d20d3='gregory'}={}){return(_0x6637d3||_0x514e58['create'](_0xc7ba2c,_0x5c51e9,_0x3d20d3))['months'](_0x2f1f8e,!0x0);}static['weekdays'](_0x114211='long',{locale:_0x3c03e7=null,numberingSystem:_0x46eb6f=null,locObj:_0x242e99=null}={}){return(_0x242e99||_0x514e58['create'](_0x3c03e7,_0x46eb6f,null))['weekdays'](_0x114211);}static['weekdaysFormat'](_0x48e12e='long',{locale:_0x36767b=null,numberingSystem:_0x457542=null,locObj:_0x50a6e6=null}={}){return(_0x50a6e6||_0x514e58['create'](_0x36767b,_0x457542,null))['weekdays'](_0x48e12e,!0x0);}static['meridiems']({locale:_0xecff3b=null}={}){return _0x514e58['create'](_0xecff3b)['meridiems']();}static['eras'](_0x2a855e='short',{locale:_0x2a5e74=null}={}){return _0x514e58['create'](_0x2a5e74,null,'gregory')['eras'](_0x2a855e);}static['features'](){return{'relative':_0x3ba18e(),'localeWeek':_0x27a50e()};}}function _0x286955(_0x1ada25,_0x30deae){const _0x136045=_0x517825=>_0x517825['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0x19cc4e=_0x136045(_0x30deae)-_0x136045(_0x1ada25);return Math['floor'](Duration['fromMillis'](_0x19cc4e)['as']('days'));}function _0x5a8f8c(_0x39bd90,_0x319ea1,_0x2ec031,_0x28de83){let [_0x15dc8e,_0x54f185,_0x1daa44,_0x3bc85c]=function(_0x2030b5,_0x5799be,_0x1918c4){const _0x2797e8=[['years',(_0x2a32fa,_0x5e0b0f)=>_0x5e0b0f['year']-_0x2a32fa['year']],['quarters',(_0x12ce15,_0x53c281)=>_0x53c281['quarter']-_0x12ce15['quarter']+0x4*(_0x53c281['year']-_0x12ce15['year'])],['months',(_0x12a75b,_0x3cb080)=>_0x3cb080['month']-_0x12a75b['month']+0xc*(_0x3cb080['year']-_0x12a75b['year'])],['weeks',(_0x36e2db,_0x333cc2)=>{const _0x1a0a58=_0x286955(_0x36e2db,_0x333cc2);return(_0x1a0a58-_0x1a0a58%0x7)/0x7;}],['days',_0x286955]],_0x4a66a0={},_0xa4532c=_0x2030b5;let _0x3ff0b8,_0xd6518f;for(const [_0x125ba8,_0x23c168]of _0x2797e8)_0x1918c4['indexOf'](_0x125ba8)>=0x0&&(_0x3ff0b8=_0x125ba8,_0x4a66a0[_0x125ba8]=_0x23c168(_0x2030b5,_0x5799be),_0xd6518f=_0xa4532c['plus'](_0x4a66a0),_0xd6518f>_0x5799be?(_0x4a66a0[_0x125ba8]--,(_0x2030b5=_0xa4532c['plus'](_0x4a66a0))>_0x5799be&&(_0xd6518f=_0x2030b5,_0x4a66a0[_0x125ba8]--,_0x2030b5=_0xa4532c['plus'](_0x4a66a0))):_0x2030b5=_0xd6518f);return[_0x2030b5,_0x4a66a0,_0xd6518f,_0x3ff0b8];}(_0x39bd90,_0x319ea1,_0x2ec031);const _0x5d1234=_0x319ea1-_0x15dc8e,_0x20a07f=_0x2ec031['filter'](_0x5335a8=>['hours','minutes','seconds','milliseconds']['indexOf'](_0x5335a8)>=0x0);0x0===_0x20a07f['length']&&(_0x1daa44<_0x319ea1&&(_0x1daa44=_0x15dc8e['plus']({[_0x3bc85c]:0x1})),_0x1daa44!==_0x15dc8e&&(_0x54f185[_0x3bc85c]=(_0x54f185[_0x3bc85c]||0x0)+_0x5d1234/(_0x1daa44-_0x15dc8e)));const _0x1f2fa0=Duration['fromObject'](_0x54f185,_0x28de83);return _0x20a07f['length']>0x0?Duration['fromMillis'](_0x5d1234,_0x28de83)['shiftTo'](..._0x20a07f)['plus'](_0x1f2fa0):_0x1f2fa0;}function _0x19dc61(_0x1dcb7a,_0x5ac80b=_0x1ffd53=>_0x1ffd53){return{'regex':_0x1dcb7a,'deser':([_0x32c3e6])=>_0x5ac80b(function(_0x5ef0b9){let _0x4c7cd5=parseInt(_0x5ef0b9,0xa);if(isNaN(_0x4c7cd5)){_0x4c7cd5='';for(let _0xaeaaf8=0x0;_0xaeaaf8<_0x5ef0b9['length'];_0xaeaaf8++){const _0x1a5ab4=_0x5ef0b9['charCodeAt'](_0xaeaaf8);if(-0x1!==_0x5ef0b9[_0xaeaaf8]['search'](_0x20c383['hanidec']))_0x4c7cd5+=_0x5ba4f2['indexOf'](_0x5ef0b9[_0xaeaaf8]);else for(const _0x2049aa in _0x21feec){const [_0x309448,_0x3b04e8]=_0x21feec[_0x2049aa];_0x1a5ab4>=_0x309448&&_0x1a5ab4<=_0x3b04e8&&(_0x4c7cd5+=_0x1a5ab4-_0x309448);}}return parseInt(_0x4c7cd5,0xa);}return _0x4c7cd5;}(_0x32c3e6))};}const _0x366713='[\x20'+String['fromCharCode'](0xa0)+']',_0x4b50ea=new RegExp(_0x366713,'g');function _0x5d1341(_0x5d0f3e){return _0x5d0f3e['replace'](/\./g,'\x5c.?')['replace'](_0x4b50ea,_0x366713);}function _0x52f250(_0x588316){return _0x588316['replace'](/\./g,'')['replace'](_0x4b50ea,'\x20')['toLowerCase']();}function _0x121046(_0x377ba0,_0x4d8a86){return null===_0x377ba0?null:{'regex':RegExp(_0x377ba0['map'](_0x5d1341)['join']('|')),'deser':([_0x54f5ec])=>_0x377ba0['findIndex'](_0x103dfd=>_0x52f250(_0x54f5ec)===_0x52f250(_0x103dfd))+_0x4d8a86};}function _0x282c01(_0x2c3faf,_0xfa061d){return{'regex':_0x2c3faf,'deser':([,_0x412063,_0xed9bfb])=>_0xfd6385(_0x412063,_0xed9bfb),'groups':_0xfa061d};}function _0x3119ad(_0x293d99){return{'regex':_0x293d99,'deser':([_0x43a6ff])=>_0x43a6ff};}function _0x1a460d(_0x30e1cd){return _0x30e1cd['replace'](/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\x5c$&');}const _0xe4a05e={'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 _0x522a4b=null;function _0x1905cf(_0x11d5e5,_0x570b6c){return Array['prototype']['concat'](..._0x11d5e5['map'](t=>function(_0x251694,_0x1434cc){if(_0x251694['literal'])return _0x251694;const _0x372c82=_0x33a17d(Formatter['macroTokenToFormatOpts'](_0x251694['val']),_0x1434cc);return null==_0x372c82||_0x372c82['includes'](void 0x0)?_0x251694:_0x372c82;}(t,_0x570b6c)));}class _0x1b6b53{constructor(_0x46d0f3,_0x155808){if(this['locale']=_0x46d0f3,this['format']=_0x155808,this['tokens']=_0x1905cf(Formatter['parseFormat'](_0x155808),_0x46d0f3),this['units']=this['tokens']['map'](t=>function(_0x13b787,_0xe2ec47){const _0x206701=_0xafcb47(_0xe2ec47),_0x265ac7=_0xafcb47(_0xe2ec47,'{2}'),_0x2d2a13=_0xafcb47(_0xe2ec47,'{3}'),_0x1e586f=_0xafcb47(_0xe2ec47,'{4}'),_0x13f3b3=_0xafcb47(_0xe2ec47,'{6}'),_0x1608f8=_0xafcb47(_0xe2ec47,'{1,2}'),_0x35f61d=_0xafcb47(_0xe2ec47,'{1,3}'),_0x1cf03e=_0xafcb47(_0xe2ec47,'{1,6}'),_0x8a36a5=_0xafcb47(_0xe2ec47,'{1,9}'),_0x35e4d6=_0xafcb47(_0xe2ec47,'{2,4}'),_0x4f26c2=_0xafcb47(_0xe2ec47,'{4,6}'),_0x524f6d=t=>({'regex':RegExp(_0x1a460d(t['val'])),'deser':([_0x225779])=>_0x225779,'literal':!0x0}),_0x38cf88=(t=>{if(_0x13b787['literal'])return _0x524f6d(t);switch(t['val']){case'G':return _0x121046(_0xe2ec47['eras']('short'),0x0);case'GG':return _0x121046(_0xe2ec47['eras']('long'),0x0);case'y':return _0x19dc61(_0x1cf03e);case'yy':case'kk':return _0x19dc61(_0x35e4d6,_0x279a9b);case'yyyy':case'kkkk':return _0x19dc61(_0x1e586f);case'yyyyy':return _0x19dc61(_0x4f26c2);case'yyyyyy':return _0x19dc61(_0x13f3b3);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return _0x19dc61(_0x1608f8);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return _0x19dc61(_0x265ac7);case'MMM':return _0x121046(_0xe2ec47['months']('short',!0x0),0x1);case'MMMM':return _0x121046(_0xe2ec47['months']('long',!0x0),0x1);case'LLL':return _0x121046(_0xe2ec47['months']('short',!0x1),0x1);case'LLLL':return _0x121046(_0xe2ec47['months']('long',!0x1),0x1);case'o':case'S':return _0x19dc61(_0x35f61d);case'ooo':case'SSS':return _0x19dc61(_0x2d2a13);case'u':return _0x3119ad(_0x8a36a5);case'uu':return _0x3119ad(_0x1608f8);case'uuu':case'E':case'c':return _0x19dc61(_0x206701);case'a':return _0x121046(_0xe2ec47['meridiems'](),0x0);case'EEE':return _0x121046(_0xe2ec47['weekdays']('short',!0x1),0x1);case'EEEE':return _0x121046(_0xe2ec47['weekdays']('long',!0x1),0x1);case'ccc':return _0x121046(_0xe2ec47['weekdays']('short',!0x0),0x1);case'cccc':return _0x121046(_0xe2ec47['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return _0x282c01(new RegExp('([+-]'+_0x1608f8['source']+')(?::('+_0x265ac7['source']+'))?'),0x2);case'ZZZ':return _0x282c01(new RegExp('([+-]'+_0x1608f8['source']+')('+_0x265ac7['source']+')?'),0x2);case'z':return _0x3119ad(/[a-z_+-/]{1,256}?/i);case'\x20':return _0x3119ad(/[^\S\n\r]/);default:return _0x524f6d(t);}})(_0x13b787)||{'invalidReason':'missing\x20Intl.DateTimeFormat.formatToParts\x20support'};return _0x38cf88['token']=_0x13b787,_0x38cf88;}(t,_0x46d0f3)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0x13053a,_0x10ff87]=['^'+(_0x2da238=this['units'])['map'](_0x43fb69=>_0x43fb69['regex'])['reduce']((_0x5879dd,_0x26aafc)=>_0x5879dd+'('+_0x26aafc['source']+')','')+'$',_0x2da238];this['regex']=RegExp(_0x13053a,'i'),this['handlers']=_0x10ff87;}var _0x2da238;}['explainFromTokens'](_0x1c766e){if(this['isValid']){const [_0x14aa70,_0x47728a]=function(_0x419cbe,_0x21a3a0,_0x42b7ac){const _0x2fd3b2=_0x419cbe['match'](_0x21a3a0);if(_0x2fd3b2){const _0x2a2afd={};let _0x7611df=0x1;for(const _0x5ce9ad in _0x42b7ac)if(_0x30c687(_0x42b7ac,_0x5ce9ad)){const _0x2c2ac1=_0x42b7ac[_0x5ce9ad],_0x311787=_0x2c2ac1['groups']?_0x2c2ac1['groups']+0x1:0x1;!_0x2c2ac1['literal']&&_0x2c2ac1['token']&&(_0x2a2afd[_0x2c2ac1['token']['val'][0x0]]=_0x2c2ac1['deser'](_0x2fd3b2['slice'](_0x7611df,_0x7611df+_0x311787))),_0x7611df+=_0x311787;}return[_0x2fd3b2,_0x2a2afd];}return[_0x2fd3b2,{}];}(_0x1c766e,this['regex'],this['handlers']),[_0x2e69d6,_0x3c0704,_0x13240b]=_0x47728a?function(_0x279ae7){let _0x30583a,_0x558cf7=null;_0x105ca9(_0x279ae7['z'])||(_0x558cf7=_0x3f0a1f['create'](_0x279ae7['z'])),_0x105ca9(_0x279ae7['Z'])||(_0x558cf7||(_0x558cf7=new FixedOffsetZone(_0x279ae7['Z'])),_0x30583a=_0x279ae7['Z']),_0x105ca9(_0x279ae7['q'])||(_0x279ae7['M']=0x3*(_0x279ae7['q']-0x1)+0x1),_0x105ca9(_0x279ae7['h'])||(_0x279ae7['h']<0xc&&0x1===_0x279ae7['a']?_0x279ae7['h']+=0xc:0xc===_0x279ae7['h']&&0x0===_0x279ae7['a']&&(_0x279ae7['h']=0x0)),0x0===_0x279ae7['G']&&_0x279ae7['y']&&(_0x279ae7['y']=-_0x279ae7['y']),_0x105ca9(_0x279ae7['u'])||(_0x279ae7['S']=_0xee087d(_0x279ae7['u']));const _0x4f9ebf=Object['keys'](_0x279ae7)['reduce']((_0x386ac2,_0x594c2c)=>{const _0x53a9ec=(_0x1fffc1=>{switch(_0x1fffc1){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;}})(_0x594c2c);return _0x53a9ec&&(_0x386ac2[_0x53a9ec]=_0x279ae7[_0x594c2c]),_0x386ac2;},{});return[_0x4f9ebf,_0x558cf7,_0x30583a];}(_0x47728a):[null,null,void 0x0];if(_0x30c687(_0x47728a,'a')&&_0x30c687(_0x47728a,'H'))throw new ConflictingSpecificationError('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0x1c766e,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0x14aa70,'matches':_0x47728a,'result':_0x2e69d6,'zone':_0x3c0704,'specificOffset':_0x13240b};}return{'input':_0x1c766e,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}}function _0x29e5c8(_0x380091,_0x17d5ee,_0x3849df){return new _0x1b6b53(_0x380091,_0x3849df)['explainFromTokens'](_0x17d5ee);}function _0x33a17d(_0x211649,_0xee1dc){if(!_0x211649)return null;const _0x39cdaa=Formatter['create'](_0xee1dc,_0x211649)['dtFormatter']((_0x522a4b||(_0x522a4b=DateTime['fromMillis'](0x16a2e5618e3)),_0x522a4b)),_0x17f4ce=_0x39cdaa['formatToParts'](),_0x71554a=_0x39cdaa['resolvedOptions']();return _0x17f4ce['map'](_0xfd418d=>function(_0x13faa5,_0x58dfe1,_0x553d61){const {type:_0x1c9f34,value:_0x11d0b6}=_0x13faa5;if('literal'===_0x1c9f34){const _0x46c6a1=/^\s+$/['test'](_0x11d0b6);return{'literal':!_0x46c6a1,'val':_0x46c6a1?'\x20':_0x11d0b6};}const _0x46dbf4=_0x58dfe1[_0x1c9f34];let _0x12b0c9=_0x1c9f34;'hour'===_0x1c9f34&&(_0x12b0c9=null!=_0x58dfe1['hour12']?_0x58dfe1['hour12']?'hour12':'hour24':null!=_0x58dfe1['hourCycle']?'h11'===_0x58dfe1['hourCycle']||'h12'===_0x58dfe1['hourCycle']?'hour12':'hour24':_0x553d61['hour12']?'hour12':'hour24');let _0x54f392=_0xe4a05e[_0x12b0c9];if('object'==typeof _0x54f392&&(_0x54f392=_0x54f392[_0x46dbf4]),_0x54f392)return{'literal':!0x1,'val':_0x54f392};}(_0xfd418d,_0x211649,_0x71554a));}const _0x1e6a5b='Invalid\x20DateTime',_0x3395fe=0x1eb208c2dc0000;function _0x296d63(_0xa0ed5){return new _0x1e074e('unsupported\x20zone','the\x20zone\x20\x22'+_0xa0ed5['name']+'\x22\x20is\x20not\x20supported');}function _0x266e02(_0x3c97f7){return null===_0x3c97f7['weekData']&&(_0x3c97f7['weekData']=_0x586eb0(_0x3c97f7['c'])),_0x3c97f7['weekData'];}function _0x401670(_0x1622c2){return null===_0x1622c2['localWeekData']&&(_0x1622c2['localWeekData']=_0x586eb0(_0x1622c2['c'],_0x1622c2['loc']['getMinDaysInFirstWeek'](),_0x1622c2['loc']['getStartOfWeek']())),_0x1622c2['localWeekData'];}function _0x3fec99(_0x5b6373,_0x4e1a35){const _0x1ef4af={'ts':_0x5b6373['ts'],'zone':_0x5b6373['zone'],'c':_0x5b6373['c'],'o':_0x5b6373['o'],'loc':_0x5b6373['loc'],'invalid':_0x5b6373['invalid']};return new DateTime({..._0x1ef4af,..._0x4e1a35,'old':_0x1ef4af});}function _0x945a73(_0x2e3ac8,_0xaa441,_0x5bc78d){let _0x1c576a=_0x2e3ac8-0x3c*_0xaa441*0x3e8;const _0x14af26=_0x5bc78d['offset'](_0x1c576a);if(_0xaa441===_0x14af26)return[_0x1c576a,_0xaa441];_0x1c576a-=0x3c*(_0x14af26-_0xaa441)*0x3e8;const _0x4b539f=_0x5bc78d['offset'](_0x1c576a);return _0x14af26===_0x4b539f?[_0x1c576a,_0x14af26]:[_0x2e3ac8-0x3c*Math['min'](_0x14af26,_0x4b539f)*0x3e8,Math['max'](_0x14af26,_0x4b539f)];}function _0xc13eee(_0x38240a,_0x171c55){const _0x391067=new Date(_0x38240a+=0x3c*_0x171c55*0x3e8);return{'year':_0x391067['getUTCFullYear'](),'month':_0x391067['getUTCMonth']()+0x1,'day':_0x391067['getUTCDate'](),'hour':_0x391067['getUTCHours'](),'minute':_0x391067['getUTCMinutes'](),'second':_0x391067['getUTCSeconds'](),'millisecond':_0x391067['getUTCMilliseconds']()};}function _0x2d4d6f(_0x2e9cfa,_0x2c3c37,_0x227165){return _0x945a73(_0x13e36d(_0x2e9cfa),_0x2c3c37,_0x227165);}function _0x45da5e(_0x27dcff,_0x4b1d30){const _0x5fd550=_0x27dcff['o'],_0x578054=_0x27dcff['c']['year']+Math['trunc'](_0x4b1d30['years']),_0x37d2dc=_0x27dcff['c']['month']+Math['trunc'](_0x4b1d30['months'])+0x3*Math['trunc'](_0x4b1d30['quarters']),_0x428e36={..._0x27dcff['c'],'year':_0x578054,'month':_0x37d2dc,'day':Math['min'](_0x27dcff['c']['day'],_0x1d4dbb(_0x578054,_0x37d2dc))+Math['trunc'](_0x4b1d30['days'])+0x7*Math['trunc'](_0x4b1d30['weeks'])},_0x4ec5ca=Duration['fromObject']({'years':_0x4b1d30['years']-Math['trunc'](_0x4b1d30['years']),'quarters':_0x4b1d30['quarters']-Math['trunc'](_0x4b1d30['quarters']),'months':_0x4b1d30['months']-Math['trunc'](_0x4b1d30['months']),'weeks':_0x4b1d30['weeks']-Math['trunc'](_0x4b1d30['weeks']),'days':_0x4b1d30['days']-Math['trunc'](_0x4b1d30['days']),'hours':_0x4b1d30['hours'],'minutes':_0x4b1d30['minutes'],'seconds':_0x4b1d30['seconds'],'milliseconds':_0x4b1d30['milliseconds']})['as']('milliseconds'),_0x3ab997=_0x13e36d(_0x428e36);let [_0x2912b1,_0x2d8b43]=_0x945a73(_0x3ab997,_0x5fd550,_0x27dcff['zone']);return 0x0!==_0x4ec5ca&&(_0x2912b1+=_0x4ec5ca,_0x2d8b43=_0x27dcff['zone']['offset'](_0x2912b1)),{'ts':_0x2912b1,'o':_0x2d8b43};}function _0x42c6ee(_0x3835f6,_0x282f69,_0x40ba94,_0x1479de,_0x5f1e6c,_0xa7e708){const {setZone:_0x42a6e5,zone:_0x38a49a}=_0x40ba94;if(_0x3835f6&&0x0!==Object['keys'](_0x3835f6)['length']||_0x282f69){const _0x3329cf=_0x282f69||_0x38a49a,_0x516c3c=DateTime['fromObject'](_0x3835f6,{..._0x40ba94,'zone':_0x3329cf,'specificOffset':_0xa7e708});return _0x42a6e5?_0x516c3c:_0x516c3c['setZone'](_0x38a49a);}return DateTime['invalid'](new _0x1e074e('unparsable','the\x20input\x20\x22'+_0x5f1e6c+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x1479de));}function _0xa2f867(_0x2cea47,_0x31b85e,_0x3c39a6=!0x0){return _0x2cea47['isValid']?Formatter['create'](_0x514e58['create']('en-US'),{'allowZ':_0x3c39a6,'forceSimple':!0x0})['formatDateTimeFromString'](_0x2cea47,_0x31b85e):null;}function _0x29a070(_0x3ec204,_0xcebfdf){const _0x313225=_0x3ec204['c']['year']>0x270f||_0x3ec204['c']['year']<0x0;let _0x983f08='';return _0x313225&&_0x3ec204['c']['year']>=0x0&&(_0x983f08+='+'),_0x983f08+=_0x56a905(_0x3ec204['c']['year'],_0x313225?0x6:0x4),_0xcebfdf?(_0x983f08+='-',_0x983f08+=_0x56a905(_0x3ec204['c']['month']),_0x983f08+='-',_0x983f08+=_0x56a905(_0x3ec204['c']['day'])):(_0x983f08+=_0x56a905(_0x3ec204['c']['month']),_0x983f08+=_0x56a905(_0x3ec204['c']['day'])),_0x983f08;}function _0x542938(_0x20737b,_0x2c749b,_0x13c382,_0x41f2c6,_0x857966,_0x465a5e){let _0x2ee890=_0x56a905(_0x20737b['c']['hour']);return _0x2c749b?(_0x2ee890+=':',_0x2ee890+=_0x56a905(_0x20737b['c']['minute']),0x0===_0x20737b['c']['millisecond']&&0x0===_0x20737b['c']['second']&&_0x13c382||(_0x2ee890+=':')):_0x2ee890+=_0x56a905(_0x20737b['c']['minute']),0x0===_0x20737b['c']['millisecond']&&0x0===_0x20737b['c']['second']&&_0x13c382||(_0x2ee890+=_0x56a905(_0x20737b['c']['second']),0x0===_0x20737b['c']['millisecond']&&_0x41f2c6||(_0x2ee890+='.',_0x2ee890+=_0x56a905(_0x20737b['c']['millisecond'],0x3))),_0x857966&&(_0x20737b['isOffsetFixed']&&0x0===_0x20737b['offset']&&!_0x465a5e?_0x2ee890+='Z':_0x20737b['o']<0x0?(_0x2ee890+='-',_0x2ee890+=_0x56a905(Math['trunc'](-_0x20737b['o']/0x3c)),_0x2ee890+=':',_0x2ee890+=_0x56a905(Math['trunc'](-_0x20737b['o']%0x3c))):(_0x2ee890+='+',_0x2ee890+=_0x56a905(Math['trunc'](_0x20737b['o']/0x3c)),_0x2ee890+=':',_0x2ee890+=_0x56a905(Math['trunc'](_0x20737b['o']%0x3c)))),_0x465a5e&&(_0x2ee890+='['+_0x20737b['zone']['ianaName']+']'),_0x2ee890;}const _0x49f597={'month':0x1,'day':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},_0x232c54={'weekNumber':0x1,'weekday':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},_0x2a38b9={'ordinal':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},_0x52f32c=['year','month','day','hour','minute','second','millisecond'],_0x349960=['weekYear','weekNumber','weekday','hour','minute','second','millisecond'],_0x29b0c5=['year','ordinal','hour','minute','second','millisecond'];function _0x4eca49(_0x47ca71){switch(_0x47ca71['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return function(_0x29555c){const _0x1ae59c={'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'}[_0x29555c['toLowerCase']()];if(!_0x1ae59c)throw new InvalidUnitError(_0x29555c);return _0x1ae59c;}(_0x47ca71);}}function _0x24766(_0x5c67b9,_0x23061e){const _0x311c2c=_0x5caeba(_0x23061e['zone'],Settings['defaultZone']);if(!_0x311c2c['isValid'])return DateTime['invalid'](_0x296d63(_0x311c2c));const _0x2d8767=_0x514e58['fromObject'](_0x23061e);let _0x2bd659,_0x3112fe;if(_0x105ca9(_0x5c67b9['year']))_0x2bd659=Settings['now']();else{for(const _0x3da673 of _0x52f32c)_0x105ca9(_0x5c67b9[_0x3da673])&&(_0x5c67b9[_0x3da673]=_0x49f597[_0x3da673]);const _0x568c1a=_0x5250e8(_0x5c67b9)||_0x526030(_0x5c67b9);if(_0x568c1a)return DateTime['invalid'](_0x568c1a);const _0xb30cf8=function(_0x5dca53){if(void 0x0===_0x339a7e&&(_0x339a7e=Settings['now']()),'iana'!==_0x5dca53['type'])return _0x5dca53['offset'](_0x339a7e);const _0xf59691=_0x5dca53['name'];let _0x13a699=_0x350b3a['get'](_0xf59691);return void 0x0===_0x13a699&&(_0x13a699=_0x5dca53['offset'](_0x339a7e),_0x350b3a['set'](_0xf59691,_0x13a699)),_0x13a699;}(_0x311c2c);[_0x2bd659,_0x3112fe]=_0x2d4d6f(_0x5c67b9,_0xb30cf8,_0x311c2c);}return new DateTime({'ts':_0x2bd659,'zone':_0x311c2c,'loc':_0x2d8767,'o':_0x3112fe});}function _0x522e41(_0x37fd16,_0x5f4a86,_0x156b74){const _0x8af079=!!_0x105ca9(_0x156b74['round'])||_0x156b74['round'],_0x4498dd=(_0x23ece5,_0x47b66e)=>{return _0x23ece5=_0x534881(_0x23ece5,_0x8af079||_0x156b74['calendary']?0x0:0x2,!0x0),_0x5f4a86['loc']['clone'](_0x156b74)['relFormatter'](_0x156b74)['format'](_0x23ece5,_0x47b66e);},_0x146d08=_0xf67726=>_0x156b74['calendary']?_0x5f4a86['hasSame'](_0x37fd16,_0xf67726)?0x0:_0x5f4a86['startOf'](_0xf67726)['diff'](_0x37fd16['startOf'](_0xf67726),_0xf67726)['get'](_0xf67726):_0x5f4a86['diff'](_0x37fd16,_0xf67726)['get'](_0xf67726);if(_0x156b74['unit'])return _0x4498dd(_0x146d08(_0x156b74['unit']),_0x156b74['unit']);for(const _0x26185d of _0x156b74['units']){const _0x4c1ebd=_0x146d08(_0x26185d);if(Math['abs'](_0x4c1ebd)>=0x1)return _0x4498dd(_0x4c1ebd,_0x26185d);}return _0x4498dd(_0x37fd16>_0x5f4a86?-0x0:0x0,_0x156b74['units'][_0x156b74['units']['length']-0x1]);}function _0x42049c(_0x4d9fc6){let _0x16bafb,_0x178ff8={};return _0x4d9fc6['length']>0x0&&'object'==typeof _0x4d9fc6[_0x4d9fc6['length']-0x1]?(_0x178ff8=_0x4d9fc6[_0x4d9fc6['length']-0x1],_0x16bafb=Array['from'](_0x4d9fc6)['slice'](0x0,_0x4d9fc6['length']-0x1)):_0x16bafb=Array['from'](_0x4d9fc6),[_0x178ff8,_0x16bafb];}let _0x339a7e;const _0x350b3a=new Map();class DateTime{constructor(_0x512254){const _0x19b74c=_0x512254['zone']||Settings['defaultZone'];let _0x386758=_0x512254['invalid']||(Number['isNaN'](_0x512254['ts'])?new _0x1e074e('invalid\x20input'):null)||(_0x19b74c['isValid']?null:_0x296d63(_0x19b74c));this['ts']=_0x105ca9(_0x512254['ts'])?Settings['now']():_0x512254['ts'];let _0x34c55a=null,_0x5b104c=null;if(!_0x386758){if(_0x512254['old']&&_0x512254['old']['ts']===this['ts']&&_0x512254['old']['zone']['equals'](_0x19b74c))[_0x34c55a,_0x5b104c]=[_0x512254['old']['c'],_0x512254['old']['o']];else{const _0x47fa20=_0x4b6125(_0x512254['o'])&&!_0x512254['old']?_0x512254['o']:_0x19b74c['offset'](this['ts']);_0x34c55a=_0xc13eee(this['ts'],_0x47fa20),_0x386758=Number['isNaN'](_0x34c55a['year'])?new _0x1e074e('invalid\x20input'):null,_0x34c55a=_0x386758?null:_0x34c55a,_0x5b104c=_0x386758?null:_0x47fa20;}}this['_zone']=_0x19b74c,this['loc']=_0x512254['loc']||_0x514e58['create'](),this['invalid']=_0x386758,this['weekData']=null,this['localWeekData']=null,this['c']=_0x34c55a,this['o']=_0x5b104c,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0x249c71,_0x3fa21f]=_0x42049c(arguments),[_0x4e9a7d,_0x480370,_0x5e28c2,_0x112da3,_0x125ad1,_0x45df2a,_0xef495b]=_0x3fa21f;return _0x24766({'year':_0x4e9a7d,'month':_0x480370,'day':_0x5e28c2,'hour':_0x112da3,'minute':_0x125ad1,'second':_0x45df2a,'millisecond':_0xef495b},_0x249c71);}static['utc'](){const [_0x51f510,_0xff57a0]=_0x42049c(arguments),[_0x44df4f,_0xdf97eb,_0x5c7a20,_0xf87dea,_0x2dbcbf,_0x2b4d5d,_0x28b370]=_0xff57a0;return _0x51f510['zone']=FixedOffsetZone['utcInstance'],_0x24766({'year':_0x44df4f,'month':_0xdf97eb,'day':_0x5c7a20,'hour':_0xf87dea,'minute':_0x2dbcbf,'second':_0x2b4d5d,'millisecond':_0x28b370},_0x51f510);}static['fromJSDate'](_0x162252,_0x1f8cad={}){const _0x3e8ab7=(_0x1344bf=_0x162252,'[object\x20Date]'===Object['prototype']['toString']['call'](_0x1344bf)?_0x162252['valueOf']():NaN);var _0x1344bf;if(Number['isNaN'](_0x3e8ab7))return DateTime['invalid']('invalid\x20input');const _0x704e40=_0x5caeba(_0x1f8cad['zone'],Settings['defaultZone']);return _0x704e40['isValid']?new DateTime({'ts':_0x3e8ab7,'zone':_0x704e40,'loc':_0x514e58['fromObject'](_0x1f8cad)}):DateTime['invalid'](_0x296d63(_0x704e40));}static['fromMillis'](_0xa1723d,_0x5d92a7={}){if(_0x4b6125(_0xa1723d))return _0xa1723d<-_0x3395fe||_0xa1723d>_0x3395fe?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0xa1723d,'zone':_0x5caeba(_0x5d92a7['zone'],Settings['defaultZone']),'loc':_0x514e58['fromObject'](_0x5d92a7)});throw new InvalidArgumentError('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0xa1723d+'\x20with\x20value\x20'+_0xa1723d);}static['fromSeconds'](_0x178597,_0x1ff443={}){if(_0x4b6125(_0x178597))return new DateTime({'ts':0x3e8*_0x178597,'zone':_0x5caeba(_0x1ff443['zone'],Settings['defaultZone']),'loc':_0x514e58['fromObject'](_0x1ff443)});throw new InvalidArgumentError('fromSeconds\x20requires\x20a\x20numerical\x20input');}static['fromObject'](_0x2c1ea2,_0x51533a={}){_0x2c1ea2=_0x2c1ea2||{};const _0x4feff8=_0x5caeba(_0x51533a['zone'],Settings['defaultZone']);if(!_0x4feff8['isValid'])return DateTime['invalid'](_0x296d63(_0x4feff8));const _0x3a1bd8=_0x514e58['fromObject'](_0x51533a),_0x33bb94=_0x2e0955(_0x2c1ea2,_0x4eca49),{minDaysInFirstWeek:_0x1bcd86,startOfWeek:_0x359bff}=_0x45bfc1(_0x33bb94,_0x3a1bd8),_0x1caa86=Settings['now'](),_0x27b97f=_0x105ca9(_0x51533a['specificOffset'])?_0x4feff8['offset'](_0x1caa86):_0x51533a['specificOffset'],_0x69d13a=!_0x105ca9(_0x33bb94['ordinal']),_0x2d45df=!_0x105ca9(_0x33bb94['year']),_0x44484b=!_0x105ca9(_0x33bb94['month'])||!_0x105ca9(_0x33bb94['day']),_0x50699d=_0x2d45df||_0x44484b,_0x1afce4=_0x33bb94['weekYear']||_0x33bb94['weekNumber'];if((_0x50699d||_0x69d13a)&&_0x1afce4)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x44484b&&_0x69d13a)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0x844a71=_0x1afce4||_0x33bb94['weekday']&&!_0x50699d;let _0x10c031,_0xae3885,_0x46c6be=_0xc13eee(_0x1caa86,_0x27b97f);_0x844a71?(_0x10c031=_0x349960,_0xae3885=_0x232c54,_0x46c6be=_0x586eb0(_0x46c6be,_0x1bcd86,_0x359bff)):_0x69d13a?(_0x10c031=_0x29b0c5,_0xae3885=_0x2a38b9,_0x46c6be=_0x5dee7b(_0x46c6be)):(_0x10c031=_0x52f32c,_0xae3885=_0x49f597);let _0x37d444=!0x1;for(const _0x3c7aa6 of _0x10c031){_0x105ca9(_0x33bb94[_0x3c7aa6])?_0x33bb94[_0x3c7aa6]=_0x37d444?_0xae3885[_0x3c7aa6]:_0x46c6be[_0x3c7aa6]:_0x37d444=!0x0;}const _0x5f4336=_0x844a71?function(_0x203748,_0x570151=0x4,_0x42c7de=0x1){const _0x1d8436=_0xfa5049(_0x203748['weekYear']),_0x3b61d7=_0x3c30c8(_0x203748['weekNumber'],0x1,_0x1c0db8(_0x203748['weekYear'],_0x570151,_0x42c7de)),_0xdbd8d9=_0x3c30c8(_0x203748['weekday'],0x1,0x7);return _0x1d8436?_0x3b61d7?!_0xdbd8d9&&_0x117ca4('weekday',_0x203748['weekday']):_0x117ca4('week',_0x203748['weekNumber']):_0x117ca4('weekYear',_0x203748['weekYear']);}(_0x33bb94,_0x1bcd86,_0x359bff):_0x69d13a?function(_0x2f765a){const _0x40c771=_0xfa5049(_0x2f765a['year']),_0x108902=_0x3c30c8(_0x2f765a['ordinal'],0x1,_0x4e4ac3(_0x2f765a['year']));return _0x40c771?!_0x108902&&_0x117ca4('ordinal',_0x2f765a['ordinal']):_0x117ca4('year',_0x2f765a['year']);}(_0x33bb94):_0x5250e8(_0x33bb94),_0x5d31fa=_0x5f4336||_0x526030(_0x33bb94);if(_0x5d31fa)return DateTime['invalid'](_0x5d31fa);const _0x257133=_0x844a71?_0x590afb(_0x33bb94,_0x1bcd86,_0x359bff):_0x69d13a?_0x531b71(_0x33bb94):_0x33bb94,[_0x417d8e,_0x1f8f76]=_0x2d4d6f(_0x257133,_0x27b97f,_0x4feff8),_0x541849=new DateTime({'ts':_0x417d8e,'zone':_0x4feff8,'o':_0x1f8f76,'loc':_0x3a1bd8});return _0x33bb94['weekday']&&_0x50699d&&_0x2c1ea2['weekday']!==_0x541849['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x33bb94['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0x541849['toISO']()):_0x541849['isValid']?_0x541849:DateTime['invalid'](_0x541849['invalid']);}static['fromISO'](_0x40858f,_0x253363={}){const [_0x547fc4,_0x264497]=function(_0x297239){return _0x261af6(_0x297239,[_0x4757c4,_0x27382f],[_0x590b53,_0xb61550],[_0x4db144,_0x19441e],[_0x2ac837,_0x396b7d]);}(_0x40858f);return _0x42c6ee(_0x547fc4,_0x264497,_0x253363,'ISO\x208601',_0x40858f);}static['fromRFC2822'](_0xd51688,_0x2b925d={}){const [_0x31bec3,_0x5796d5]=function(_0x416103){return _0x261af6(function(_0x53dc9e){return _0x53dc9e['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}(_0x416103),[_0x51b126,_0x29cd02]);}(_0xd51688);return _0x42c6ee(_0x31bec3,_0x5796d5,_0x2b925d,'RFC\x202822',_0xd51688);}static['fromHTTP'](_0x21bd3a,_0x3d6858={}){const [_0x5daa23,_0x20f688]=function(_0x12cf25){return _0x261af6(_0x12cf25,[_0x4d1ec6,_0x558567],[_0x2f4136,_0x558567],[_0x5b30bf,_0x18a0bd]);}(_0x21bd3a);return _0x42c6ee(_0x5daa23,_0x20f688,_0x3d6858,'HTTP',_0x3d6858);}static['fromFormat'](_0x77905c,_0x348d49,_0x1c5c78={}){if(_0x105ca9(_0x77905c)||_0x105ca9(_0x348d49))throw new InvalidArgumentError('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0x4bfbc9=null,numberingSystem:_0x182277=null}=_0x1c5c78,_0x497d1b=_0x514e58['fromOpts']({'locale':_0x4bfbc9,'numberingSystem':_0x182277,'defaultToEN':!0x0}),[_0x15c2d,_0x352950,_0x7c77fc,_0x7e4485]=function(_0x5dc70e,_0x54bd2e,_0x3636c8){const {result:_0x5e6151,zone:_0x5ed28b,specificOffset:_0x3645aa,invalidReason:_0x99aca9}=_0x29e5c8(_0x5dc70e,_0x54bd2e,_0x3636c8);return[_0x5e6151,_0x5ed28b,_0x3645aa,_0x99aca9];}(_0x497d1b,_0x77905c,_0x348d49);return _0x7e4485?DateTime['invalid'](_0x7e4485):_0x42c6ee(_0x15c2d,_0x352950,_0x1c5c78,'format\x20'+_0x348d49,_0x77905c,_0x7c77fc);}static['fromString'](_0x306b46,_0x26ce52,_0x3ac1f7={}){return DateTime['fromFormat'](_0x306b46,_0x26ce52,_0x3ac1f7);}static['fromSQL'](_0x397685,_0x2e0a56={}){const [_0x1e319c,_0x3907ad]=function(_0x47b785){return _0x261af6(_0x47b785,[_0x5a4f58,_0x27382f],[_0xecc6c,_0x4dd3a1]);}(_0x397685);return _0x42c6ee(_0x1e319c,_0x3907ad,_0x2e0a56,'SQL',_0x397685);}static['invalid'](_0x213b0b,_0x10f068=null){if(!_0x213b0b)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0x5c51fc=_0x213b0b instanceof _0x1e074e?_0x213b0b:new _0x1e074e(_0x213b0b,_0x10f068);if(Settings['throwOnInvalid'])throw new InvalidDateTimeError(_0x5c51fc);return new DateTime({'invalid':_0x5c51fc});}static['isDateTime'](_0x4a089d){return _0x4a089d&&_0x4a089d['isLuxonDateTime']||!0x1;}static['parseFormatForOpts'](_0x10a7c1,_0x5f5dd9={}){const _0x15c61e=_0x33a17d(_0x10a7c1,_0x514e58['fromObject'](_0x5f5dd9));return _0x15c61e?_0x15c61e['map'](t=>t?t['val']:null)['join'](''):null;}static['expandFormat'](_0x17ce93,_0x1675d4={}){return _0x1905cf(Formatter['parseFormat'](_0x17ce93),_0x514e58['fromObject'](_0x1675d4))['map'](t=>t['val'])['join']('');}static['resetCache'](){_0x339a7e=void 0x0,_0x350b3a['clear']();}['get'](_0x1b102a){return this[_0x1b102a];}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']?_0x266e02(this)['weekYear']:NaN;}get['weekNumber'](){return this['isValid']?_0x266e02(this)['weekNumber']:NaN;}get['weekday'](){return this['isValid']?_0x266e02(this)['weekday']:NaN;}get['isWeekend'](){return this['isValid']&&this['loc']['getWeekendDays']()['includes'](this['weekday']);}get['localWeekday'](){return this['isValid']?_0x401670(this)['weekday']:NaN;}get['localWeekNumber'](){return this['isValid']?_0x401670(this)['weekNumber']:NaN;}get['localWeekYear'](){return this['isValid']?_0x401670(this)['weekYear']:NaN;}get['ordinal'](){return this['isValid']?_0x5dee7b(this['c'])['ordinal']:NaN;}get['monthShort'](){return this['isValid']?_0x154ffc['months']('short',{'locObj':this['loc']})[this['month']-0x1]:null;}get['monthLong'](){return this['isValid']?_0x154ffc['months']('long',{'locObj':this['loc']})[this['month']-0x1]:null;}get['weekdayShort'](){return this['isValid']?_0x154ffc['weekdays']('short',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['weekdayLong'](){return this['isValid']?_0x154ffc['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 _0x4eabb6=0x5265c00,_0x1d88c9=0xea60,_0x2a7ce2=_0x13e36d(this['c']),_0x349cc3=this['zone']['offset'](_0x2a7ce2-_0x4eabb6),_0x3f6290=this['zone']['offset'](_0x2a7ce2+_0x4eabb6),_0x491e49=this['zone']['offset'](_0x2a7ce2-_0x349cc3*_0x1d88c9),_0x10e61f=this['zone']['offset'](_0x2a7ce2-_0x3f6290*_0x1d88c9);if(_0x491e49===_0x10e61f)return[this];const _0x4ba0d4=_0x2a7ce2-_0x491e49*_0x1d88c9,_0x5284cd=_0x2a7ce2-_0x10e61f*_0x1d88c9,_0x2e8c4a=_0xc13eee(_0x4ba0d4,_0x491e49),_0x1d9771=_0xc13eee(_0x5284cd,_0x10e61f);return _0x2e8c4a['hour']===_0x1d9771['hour']&&_0x2e8c4a['minute']===_0x1d9771['minute']&&_0x2e8c4a['second']===_0x1d9771['second']&&_0x2e8c4a['millisecond']===_0x1d9771['millisecond']?[_0x3fec99(this,{'ts':_0x4ba0d4}),_0x3fec99(this,{'ts':_0x5284cd})]:[this];}get['isInLeapYear'](){return _0x468d7d(this['year']);}get['daysInMonth'](){return _0x1d4dbb(this['year'],this['month']);}get['daysInYear'](){return this['isValid']?_0x4e4ac3(this['year']):NaN;}get['weeksInWeekYear'](){return this['isValid']?_0x1c0db8(this['weekYear']):NaN;}get['weeksInLocalWeekYear'](){return this['isValid']?_0x1c0db8(this['localWeekYear'],this['loc']['getMinDaysInFirstWeek'](),this['loc']['getStartOfWeek']()):NaN;}['resolvedLocaleOptions'](_0x4fb45d={}){const {locale:_0x5fc0ba,numberingSystem:_0x4d1d91,calendar:_0x411d05}=Formatter['create'](this['loc']['clone'](_0x4fb45d),_0x4fb45d)['resolvedOptions'](this);return{'locale':_0x5fc0ba,'numberingSystem':_0x4d1d91,'outputCalendar':_0x411d05};}['toUTC'](_0x4747b0=0x0,_0x164dcb={}){return this['setZone'](FixedOffsetZone['instance'](_0x4747b0),_0x164dcb);}['toLocal'](){return this['setZone'](Settings['defaultZone']);}['setZone'](_0x159861,{keepLocalTime:_0x17cec6=!0x1,keepCalendarTime:_0x5a4255=!0x1}={}){if((_0x159861=_0x5caeba(_0x159861,Settings['defaultZone']))['equals'](this['zone']))return this;if(_0x159861['isValid']){let _0x25a293=this['ts'];if(_0x17cec6||_0x5a4255){const _0x14f030=_0x159861['offset'](this['ts']),_0x25b9dd=this['toObject']();[_0x25a293]=_0x2d4d6f(_0x25b9dd,_0x14f030,_0x159861);}return _0x3fec99(this,{'ts':_0x25a293,'zone':_0x159861});}return DateTime['invalid'](_0x296d63(_0x159861));}['reconfigure']({locale:_0xf2500f,numberingSystem:_0x5e6631,outputCalendar:_0x5987d6}={}){return _0x3fec99(this,{'loc':this['loc']['clone']({'locale':_0xf2500f,'numberingSystem':_0x5e6631,'outputCalendar':_0x5987d6})});}['setLocale'](_0x2953a6){return this['reconfigure']({'locale':_0x2953a6});}['set'](_0x4b7fcd){if(!this['isValid'])return this;const _0x2dd285=_0x2e0955(_0x4b7fcd,_0x4eca49),{minDaysInFirstWeek:_0x35b3f8,startOfWeek:_0x262691}=_0x45bfc1(_0x2dd285,this['loc']),_0x1f4540=!_0x105ca9(_0x2dd285['weekYear'])||!_0x105ca9(_0x2dd285['weekNumber'])||!_0x105ca9(_0x2dd285['weekday']),_0x54b518=!_0x105ca9(_0x2dd285['ordinal']),_0x4c5d42=!_0x105ca9(_0x2dd285['year']),_0x431a96=!_0x105ca9(_0x2dd285['month'])||!_0x105ca9(_0x2dd285['day']),_0x3f8db8=_0x4c5d42||_0x431a96,_0x3987c1=_0x2dd285['weekYear']||_0x2dd285['weekNumber'];if((_0x3f8db8||_0x54b518)&&_0x3987c1)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x431a96&&_0x54b518)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x4d8b8c;_0x1f4540?_0x4d8b8c=_0x590afb({..._0x586eb0(this['c'],_0x35b3f8,_0x262691),..._0x2dd285},_0x35b3f8,_0x262691):_0x105ca9(_0x2dd285['ordinal'])?(_0x4d8b8c={...this['toObject'](),..._0x2dd285},_0x105ca9(_0x2dd285['day'])&&(_0x4d8b8c['day']=Math['min'](_0x1d4dbb(_0x4d8b8c['year'],_0x4d8b8c['month']),_0x4d8b8c['day']))):_0x4d8b8c=_0x531b71({..._0x5dee7b(this['c']),..._0x2dd285});const [_0x5f2067,_0x3f4bf3]=_0x2d4d6f(_0x4d8b8c,this['o'],this['zone']);return _0x3fec99(this,{'ts':_0x5f2067,'o':_0x3f4bf3});}['plus'](_0x25b7f9){if(!this['isValid'])return this;return _0x3fec99(this,_0x45da5e(this,Duration['fromDurationLike'](_0x25b7f9)));}['minus'](_0x2982c8){if(!this['isValid'])return this;return _0x3fec99(this,_0x45da5e(this,Duration['fromDurationLike'](_0x2982c8)['negate']()));}['startOf'](_0x285bb0,{useLocaleWeeks:_0x2e45e7=!0x1}={}){if(!this['isValid'])return this;const _0x4dfb59={},_0x32a9df=Duration['normalizeUnit'](_0x285bb0);switch(_0x32a9df){case'years':_0x4dfb59['month']=0x1;case'quarters':case'months':_0x4dfb59['day']=0x1;case'weeks':case'days':_0x4dfb59['hour']=0x0;case'hours':_0x4dfb59['minute']=0x0;case'minutes':_0x4dfb59['second']=0x0;case'seconds':_0x4dfb59['millisecond']=0x0;}if('weeks'===_0x32a9df){if(_0x2e45e7){const _0x2db8ae=this['loc']['getStartOfWeek'](),{weekday:_0x2e8615}=this;_0x2e8615<_0x2db8ae&&(_0x4dfb59['weekNumber']=this['weekNumber']-0x1),_0x4dfb59['weekday']=_0x2db8ae;}else _0x4dfb59['weekday']=0x1;}if('quarters'===_0x32a9df){const _0x41afac=Math['ceil'](this['month']/0x3);_0x4dfb59['month']=0x3*(_0x41afac-0x1)+0x1;}return this['set'](_0x4dfb59);}['endOf'](_0x4a3181,_0x1082da){return this['isValid']?this['plus']({[_0x4a3181]:0x1})['startOf'](_0x4a3181,_0x1082da)['minus'](0x1):this;}['toFormat'](_0x2b6971,_0x377b08={}){return this['isValid']?Formatter['create'](this['loc']['redefaultToEN'](_0x377b08))['formatDateTimeFromString'](this,_0x2b6971):_0x1e6a5b;}['toLocaleString'](_0x2c4e5e=_0x51ece8,_0x7dc6c4={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x7dc6c4),_0x2c4e5e)['formatDateTime'](this):_0x1e6a5b;}['toLocaleParts'](_0x496bf4={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x496bf4),_0x496bf4)['formatDateTimeParts'](this):[];}['toISO']({format:_0x18980e='extended',suppressSeconds:_0x2bf7b=!0x1,suppressMilliseconds:_0x574d57=!0x1,includeOffset:_0x1a3212=!0x0,extendedZone:_0x381730=!0x1}={}){if(!this['isValid'])return null;const _0x47ca56='extended'===_0x18980e;let _0x4ae0d8=_0x29a070(this,_0x47ca56);return _0x4ae0d8+='T',_0x4ae0d8+=_0x542938(this,_0x47ca56,_0x2bf7b,_0x574d57,_0x1a3212,_0x381730),_0x4ae0d8;}['toISODate']({format:_0x2b53cd='extended'}={}){return this['isValid']?_0x29a070(this,'extended'===_0x2b53cd):null;}['toISOWeekDate'](){return _0xa2f867(this,'kkkk-\x27W\x27WW-c');}['toISOTime']({suppressMilliseconds:_0x86a136=!0x1,suppressSeconds:_0x26de16=!0x1,includeOffset:_0x1d8796=!0x0,includePrefix:_0x54185d=!0x1,extendedZone:_0x2582a0=!0x1,format:_0x93de55='extended'}={}){if(!this['isValid'])return null;return(_0x54185d?'T':'')+_0x542938(this,'extended'===_0x93de55,_0x26de16,_0x86a136,_0x1d8796,_0x2582a0);}['toRFC2822'](){return _0xa2f867(this,'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20ZZZ',!0x1);}['toHTTP'](){return _0xa2f867(this['toUTC'](),'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20\x27GMT\x27');}['toSQLDate'](){return this['isValid']?_0x29a070(this,!0x0):null;}['toSQLTime']({includeOffset:_0x417b9c=!0x0,includeZone:_0x13c035=!0x1,includeOffsetSpace:_0x571648=!0x0}={}){let _0x56456b='HH:mm:ss.SSS';return(_0x13c035||_0x417b9c)&&(_0x571648&&(_0x56456b+='\x20'),_0x13c035?_0x56456b+='z':_0x417b9c&&(_0x56456b+='ZZ')),_0xa2f867(this,_0x56456b,!0x0);}['toSQL'](_0x4585bb={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0x4585bb):null;}['toString'](){return this['isValid']?this['toISO']():_0x1e6a5b;}[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'](_0x4f6892={}){if(!this['isValid'])return{};const _0x3b3a47={...this['c']};return _0x4f6892['includeConfig']&&(_0x3b3a47['outputCalendar']=this['outputCalendar'],_0x3b3a47['numberingSystem']=this['loc']['numberingSystem'],_0x3b3a47['locale']=this['loc']['locale']),_0x3b3a47;}['toJSDate'](){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0xbd0ec7,_0x3cf1b2='milliseconds',_0x101771={}){if(!this['isValid']||!_0xbd0ec7['isValid'])return Duration['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x5a5aaf={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0x101771},_0x58fa25=(_0x3f87a3=_0x3cf1b2,Array['isArray'](_0x3f87a3)?_0x3f87a3:[_0x3f87a3])['map'](Duration['normalizeUnit']),_0x4dd3f8=_0xbd0ec7['valueOf']()>this['valueOf'](),_0x1fc640=_0x5a8f8c(_0x4dd3f8?this:_0xbd0ec7,_0x4dd3f8?_0xbd0ec7:this,_0x58fa25,_0x5a5aaf);var _0x3f87a3;return _0x4dd3f8?_0x1fc640['negate']():_0x1fc640;}['diffNow'](_0x10edd7='milliseconds',_0x220a94={}){return this['diff'](DateTime['now'](),_0x10edd7,_0x220a94);}['until'](_0x5355d6){return this['isValid']?Interval['fromDateTimes'](this,_0x5355d6):this;}['hasSame'](_0x1e9a04,_0x323820,_0x3029e1){if(!this['isValid'])return!0x1;const _0x531dfe=_0x1e9a04['valueOf'](),_0xce7a9d=this['setZone'](_0x1e9a04['zone'],{'keepLocalTime':!0x0});return _0xce7a9d['startOf'](_0x323820,_0x3029e1)<=_0x531dfe&&_0x531dfe<=_0xce7a9d['endOf'](_0x323820,_0x3029e1);}['equals'](_0x1eba93){return this['isValid']&&_0x1eba93['isValid']&&this['valueOf']()===_0x1eba93['valueOf']()&&this['zone']['equals'](_0x1eba93['zone'])&&this['loc']['equals'](_0x1eba93['loc']);}['toRelative'](_0x36b681={}){if(!this['isValid'])return null;const _0x541d73=_0x36b681['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0x7d8f11=_0x36b681['padding']?this<_0x541d73?-_0x36b681['padding']:_0x36b681['padding']:0x0;let _0xf84d16=['years','months','days','hours','minutes','seconds'],_0x10a6fd=_0x36b681['unit'];return Array['isArray'](_0x36b681['unit'])&&(_0xf84d16=_0x36b681['unit'],_0x10a6fd=void 0x0),_0x522e41(_0x541d73,this['plus'](_0x7d8f11),{..._0x36b681,'numeric':'always','units':_0xf84d16,'unit':_0x10a6fd});}['toRelativeCalendar'](_0x12f2fb={}){return this['isValid']?_0x522e41(_0x12f2fb['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0x12f2fb,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x4bfd58){if(!_0x4bfd58['every'](DateTime['isDateTime']))throw new InvalidArgumentError('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return _0x2b9007(_0x4bfd58,_0x537f40=>_0x537f40['valueOf'](),Math['min']);}static['max'](..._0x508899){if(!_0x508899['every'](DateTime['isDateTime']))throw new InvalidArgumentError('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return _0x2b9007(_0x508899,_0x10cd97=>_0x10cd97['valueOf'](),Math['max']);}static['fromFormatExplain'](_0x188e69,_0x145d52,_0x5f00a6={}){const {locale:_0x2c3c56=null,numberingSystem:_0x25cbc2=null}=_0x5f00a6;return _0x29e5c8(_0x514e58['fromOpts']({'locale':_0x2c3c56,'numberingSystem':_0x25cbc2,'defaultToEN':!0x0}),_0x188e69,_0x145d52);}static['fromStringExplain'](_0x2d1455,_0x4130aa,_0xe6d9b3={}){return DateTime['fromFormatExplain'](_0x2d1455,_0x4130aa,_0xe6d9b3);}static['buildFormatParser'](_0x2510e0,_0x504095={}){const {locale:_0x470f28=null,numberingSystem:_0x195e1a=null}=_0x504095,_0x1ee549=_0x514e58['fromOpts']({'locale':_0x470f28,'numberingSystem':_0x195e1a,'defaultToEN':!0x0});return new _0x1b6b53(_0x1ee549,_0x2510e0);}static['fromFormatParser'](_0x1d3d59,_0x348e9c,_0x47de94={}){if(_0x105ca9(_0x1d3d59)||_0x105ca9(_0x348e9c))throw new InvalidArgumentError('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0x4e4f73=null,numberingSystem:_0x3b7306=null}=_0x47de94,_0xd1c713=_0x514e58['fromOpts']({'locale':_0x4e4f73,'numberingSystem':_0x3b7306,'defaultToEN':!0x0});if(!_0xd1c713['equals'](_0x348e9c['locale']))throw new InvalidArgumentError('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0xd1c713+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0x348e9c['locale']);const {result:_0x49f929,zone:_0x1d1c50,specificOffset:_0x11f895,invalidReason:_0x4718f8}=_0x348e9c['explainFromTokens'](_0x1d3d59);return _0x4718f8?DateTime['invalid'](_0x4718f8):_0x42c6ee(_0x49f929,_0x1d1c50,_0x47de94,'format\x20'+_0x348e9c['format'],_0x1d3d59,_0x11f895);}static get['DATE_SHORT'](){return _0x51ece8;}static get['DATE_MED'](){return _0x1788b2;}static get['DATE_MED_WITH_WEEKDAY'](){return _0x5b5e51;}static get['DATE_FULL'](){return _0x11f786;}static get['DATE_HUGE'](){return _0x2a0058;}static get['TIME_SIMPLE'](){return _0x5f01ed;}static get['TIME_WITH_SECONDS'](){return _0x3b49ba;}static get['TIME_WITH_SHORT_OFFSET'](){return _0xc148b2;}static get['TIME_WITH_LONG_OFFSET'](){return _0x18e567;}static get['TIME_24_SIMPLE'](){return _0x53f8ec;}static get['TIME_24_WITH_SECONDS'](){return _0x202e3a;}static get['TIME_24_WITH_SHORT_OFFSET'](){return _0x5b5703;}static get['TIME_24_WITH_LONG_OFFSET'](){return _0x4763ec;}static get['DATETIME_SHORT'](){return _0x255b0c;}static get['DATETIME_SHORT_WITH_SECONDS'](){return _0x439514;}static get['DATETIME_MED'](){return _0x57905c;}static get['DATETIME_MED_WITH_SECONDS'](){return _0x259905;}static get['DATETIME_MED_WITH_WEEKDAY'](){return _0x6681ec;}static get['DATETIME_FULL'](){return _0x4298a0;}static get['DATETIME_FULL_WITH_SECONDS'](){return _0x3834c9;}static get['DATETIME_HUGE'](){return _0x3b5a58;}static get['DATETIME_HUGE_WITH_SECONDS'](){return _0x2ebcf3;}}function _0xbcd261(_0x547b5e){if(DateTime['isDateTime'](_0x547b5e))return _0x547b5e;if(_0x547b5e&&_0x547b5e['valueOf']&&_0x4b6125(_0x547b5e['valueOf']()))return DateTime['fromJSDate'](_0x547b5e);if(_0x547b5e&&'object'==typeof _0x547b5e)return DateTime['fromObject'](_0x547b5e);throw new InvalidArgumentError('Unknown\x20datetime\x20argument:\x20'+_0x547b5e+',\x20of\x20type\x20'+typeof _0x547b5e);}function ta(_0x3e0c69={},_0x772141){if(void 0x0!==_0x3e0c69['dateTimeFormat']&&'function'!=typeof _0x3e0c69['dateTimeFormat'])throw new _0x5f37cd['CKEditorError']('invalid-date-time-format');return _0x19fa9b=>{const _0x4029c0='string'==typeof _0x19fa9b?DateTime['fromISO'](_0x19fa9b):DateTime['fromJSDate'](_0x19fa9b),_0x44c589=DateTime['now'](),_0x22fe46=Math['floor'](_0x44c589['diff'](_0x4029c0,'days')['days']);return _0x3e0c69['dateTimeFormat']?_0x3e0c69['dateTimeFormat'](_0x4029c0['toJSDate'](),_0x772141&&_0x772141['t']?_0x772141['t']:void 0x0):0x0===_0x22fe46?_0x772141?_0x42c887(_0x772141,'Today')+'\x20'+_0x4029c0['toFormat']('hh:mma'):_0x4029c0['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x22fe46?_0x772141?_0x42c887(_0x772141,'Yesterday')+'\x20'+_0x4029c0['toFormat']('hh:mma'):_0x4029c0['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x22fe46<0x7?_0x772141?_0x42c887(_0x772141,'Last')+'\x20'+_0x42c887(_0x772141,_0x4029c0['toFormat']('EEEE'))+'\x20'+_0x4029c0['toFormat']('hh:mma'):_0x4029c0['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x4029c0['toFormat']('LL-dd-yyyy\x20hh:mma');};}function _0xd0cedc(_0x1a9dc0,_0x20f5d3){const _0x13a27a=_0x1a9dc0['mapper']['markerNameToElements'](_0x20f5d3['name']);if(!_0x13a27a)return null;const _0x499eec=_0x5f37cd['first'](_0x13a27a['values']());return _0x1a9dc0['view']['domConverter']['mapViewToDom'](_0x499eec)||null;}function _0x9c6d55(_0x3b0408,_0x106d75){if(0x0===_0x106d75['length'])return null;const _0x4c365e=[],_0x111de7=_0x3b0408['view']['domConverter'];for(const _0x4d43ec of _0x106d75){const _0x3a77fc=_0x3b0408['mapper']['markerNameToElements'](_0x4d43ec['name']);if(!_0x3a77fc)continue;const _0x212b73=Array['from'](_0x3a77fc)['map'](_0x204500=>_0x111de7['mapViewToDom'](_0x204500))['filter'](_0x10ebd5=>!!_0x10ebd5);_0x4c365e['push'](..._0x212b73);}if(0x0===_0x4c365e['length'])return null;const _0x379f34=[];for(const _0xd4f73f of _0x4c365e){const _0x53b3d3=_0xd4f73f['getClientRects']()['item'](0x0);_0x53b3d3&&_0x379f34['push']({'x':_0x53b3d3['x'],'y':_0x53b3d3['y'],'domElement':_0xd4f73f});}return 0x0===_0x379f34['length']?null:(_0x379f34['sort']((_0x5ae0de,_0x2d36d4)=>_0x5ae0de['y']-_0x2d36d4['y']||_0x5ae0de['x']-_0x2d36d4['x']),_0x379f34['map'](_0x2f6b69=>_0x2f6b69['domElement']));}function _0x335cd6(_0x5518aa,{limit:_0x2b6baa,suffix:_0x3dedcf='...'}){const _0x4c877a=[];let _0x5933ea=0x0;const _0x1b9935=_0x5518aa['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x1b601b=0x0;_0x1b601b<_0x1b9935['length'];_0x1b601b++){let _0x510512=_0x1b9935[_0x1b601b];const _0x557504=_0x4c90b0(_0x510512);if(_0x510512['startsWith']('<')){if(_0x5933ea>=_0x2b6baa){const _0x4d85e4=_0x510512['match'](/[a-zA-Z]+/);if(!_0x4d85e4){_0x1b9935[_0x1b601b]='';continue;}const _0x27476f=_0x4d85e4[0x0];_0x510512['startsWith']('</')?(_0x4c877a['length']&&(_0x510512=''),_0x4c877a['pop']()):(_0x4c877a['push'](_0x27476f),_0x510512='');}}else{if(_0x5933ea>=_0x2b6baa)_0x510512='';else{if(_0x5933ea+_0x557504['length']>=_0x2b6baa){let _0x127e2c=_0x2b6baa-_0x5933ea;if('\x20'===_0x557504[_0x127e2c-0x1])_0x127e2c--;else{const _0x33d7d9=_0x557504['slice'](_0x127e2c)['indexOf']('\x20');-0x1!==_0x33d7d9?_0x127e2c+=_0x33d7d9:_0x127e2c=_0x510512['length'];}_0x510512=_0x557504['slice'](0x0,_0x127e2c)['join']('')+_0x3dedcf,_0x5933ea=_0x2b6baa;}else _0x5933ea+=_0x557504['length'];}}_0x1b9935[_0x1b601b]=_0x510512;}return _0x1b9935['join']('\x0a')['replace'](/\n/g,'');}function _0x4c90b0(_0x4793dd){const _0x4dcd46=[];for(let _0x28c2a7=0x0;_0x28c2a7<_0x4793dd['length'];_0x28c2a7++){const _0xb8dae=_0x4793dd['substring'](_0x28c2a7)['match'](/^&[a-z0-9#]+;/);if(_0xb8dae){const _0x3f7040=_0xb8dae[0x0];_0x4dcd46['push'](_0x3f7040),_0x28c2a7+=_0x3f7040['length']-0x1;}else _0x4dcd46['push'](_0x4793dd[_0x28c2a7]);}return _0x4dcd46;}class _0x2a6535 extends _0x5f37cd['View']{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x5eb765){super(_0x5eb765);const _0x23fb26=this['bindTemplate'];this['set']('message',_0x42c887(_0x5eb765,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x5eb765,_0x42c887(_0x5eb765,'Yes'),_0x5f37cd['IconCheck'],'submit'),this['cancelView']=this['_createButtonView'](_0x5eb765,_0x42c887(_0x5eb765,'No'),_0x5f37cd['IconCancel'],'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x5f37cd['FocusTracker'](),this['keystrokes']=new _0x5f37cd['KeystrokeHandler'](),this['focusCycler']=new _0x5f37cd['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':_0x23fb26['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'](_0x4a4948,_0x28b061,_0x2c9c03,_0x3cc9bf){const _0x2aca7b=new _0x5f37cd['ButtonView'](_0x4a4948);return _0x2aca7b['label']=_0x28b061,_0x2aca7b['icon']=_0x2c9c03,_0x2aca7b['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x3cc9bf}}),_0x2aca7b['on']('execute',()=>this['fire'](_0x3cc9bf)),_0x2aca7b;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x21771c=>{this['keystrokes']['listenTo'](_0x21771c['element']),this['focusTracker']['add'](_0x21771c['element']);}),this['keystrokes']['set']('esc',(_0x42828a,_0x4bf61a)=>{this['fire']('cancel'),_0x4bf61a();});}}function _0x115c46(_0x5c36e){return class _0x19bdbf extends _0x5c36e{['showConfirm'](_0x3046ee,_0x3fba85){return this['confirmView']=new _0x2a6535(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x3046ee,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x3fba85['appendChild'](this['confirmView']['element']),_0x3fba85['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x5cac3f,_0x20a0d4,_0x2a0214)=>{_0x2a0214||_0x3fba85['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x27a063=>this['confirmView']['on']('submit',_0x27a063));}['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 _0x16cf9f(_0x1b1dc9){let _0x3e080b=0x0,_0x242c21=0x0;for(const _0x3f6f45 of _0x6fa1be(_0x1b1dc9))_0x3e080b=(_0x3e080b<<0x5)-_0x3e080b+_0x3f6f45,_0x3e080b&=_0x3e080b,[_0x3e080b,_0x242c21]=[_0x242c21,_0x3e080b];return _0x2bb519(_0x3e080b)+_0x2bb519(_0x242c21);}function*_0x452cb9(_0x5c6a6e){null==_0x5c6a6e||null==_0x5c6a6e?yield 0x12b9b0a1:0x0===_0x5c6a6e||!0x1===_0x5c6a6e?yield 0x0:0x1===_0x5c6a6e||0x1==_0x5c6a6e?yield 0x1:Array['isArray'](_0x5c6a6e)?yield*function*(_0x4c4aa2){for(const _0x30e249 of _0x4c4aa2)yield*_0x452cb9(_0x30e249);}(_0x5c6a6e):'object'==typeof _0x5c6a6e?yield*_0x6fa1be(_0x5c6a6e):'string'==typeof _0x5c6a6e?yield*_0x10762a(_0x5c6a6e):'number'==typeof _0x5c6a6e&&(yield _0x5c6a6e);}function*_0x6fa1be(_0x414b49){if(yield _0x3327d2('{'),_0x414b49){const _0x33069f=Object['keys'](_0x414b49)['sort']();for(const _0x1751e6 of _0x33069f){yield*_0x10762a(_0x1751e6),yield _0x3327d2(':');const _0x53c3bd=_0x414b49[_0x1751e6];yield*_0x452cb9(_0x53c3bd);}}yield _0x3327d2('}');}function*_0x10762a(_0x5d8abc){yield _0x3327d2('\x22');for(const _0x56681e of _0x5d8abc)yield _0x3327d2(_0x56681e);yield _0x3327d2('\x22');}function _0x3327d2(_0x5696f5){return _0x5696f5['charCodeAt'](0x0);}function _0x2bb519(_0x415295){return(_0x415295*=Math['sign'](_0x415295))['toString'](0x24);}const _0x107aad=['root','roots','initialData','context','toolbar','rootsAttributes'],_0x1d2fc9=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function _0x1f5efa(_0x3cea0d,_0xeafabc,_0x48e540,_0x175fa9=[]){const _0x5d9f87='string'==typeof _0x3cea0d?_0x48e540['get'](_0x3cea0d)['constructor']:_0x3cea0d['prototype']['constructor'];if(_0xeafabc['has'](_0x5d9f87))return _0xeafabc['get'](_0x5d9f87);_0xeafabc['set'](_0x5d9f87,!0x0);const _0x2d4261=[..._0x1d2fc9,..._0x175fa9]['map'](_0x407626=>{if(_0x48e540['has'](_0x407626))return _0x48e540['get'](_0x407626)['constructor'];})['filter'](_0x293dc9=>_0x293dc9);if(_0x5d9f87&&_0x2d4261['includes'](_0x5d9f87))return _0xeafabc['set'](_0x5d9f87,!0x1),!0x1;if(!_0x5d9f87['requires'])return _0xeafabc['set'](_0x5d9f87,!0x0),!0x0;const _0x4d08f5=_0x5d9f87['requires']['every'](_0x1b5483=>_0x1f5efa(_0x1b5483,_0xeafabc,_0x48e540,_0x175fa9));return _0xeafabc['set'](_0x5d9f87,_0x4d08f5),_0x4d08f5;}function _0x42b075(_0x344362,_0x16e4f4){const _0x3a7827={};for(const _0x5b57c5 of _0x344362['config']['names']())_0x107aad['includes'](_0x5b57c5)||(_0x3a7827[_0x5b57c5]=_0x344362['config']['get'](_0x5b57c5));const _0x43a416=_0x3a7827['plugins']||[],_0x38e5d0=_0x344362['constructor']['builtinPlugins']||[],_0x31297e=_0x43a416['length']?_0x43a416:_0x38e5d0,_0x2d72c4=_0x3a7827['extraPlugins']||[];delete _0x3a7827['extraPlugins'];const _0x120586=_0x3a7827['removePlugins']||[];delete _0x3a7827['removePlugins'];const _0x2f43b4=_0x344362['_context']['config']['get']('plugins')||[],_0x2356ec=_0x31297e['concat'](_0x2d72c4)['concat'](_0x2f43b4)['map'](_0x3ac24b=>'string'==typeof _0x3ac24b?_0x38e5d0['find'](_0x5d6f63=>_0x5d6f63['pluginName']==_0x3ac24b):_0x3ac24b)['filter'](_0x535e57=>!_0x120586['includes'](_0x535e57)&&!_0x120586['includes'](_0x535e57['pluginName'])),_0x282a14=Array['from'](new Set(_0x2356ec)),_0x17057e=new Map();return _0x3a7827['plugins']=_0x282a14['filter'](_0x1184ec=>_0x1f5efa(_0x1184ec,_0x17057e,_0x344362['plugins'],_0x16e4f4)),_0x3a7827;}function _0x42a5b9(_0x221eed,_0x4f5082){const _0x2eaf6d=[];_0x221eed['document']['selection']['on']('change:range',()=>{const _0x5a3e9b=function(_0x464510,_0x446883){const _0x279e86=[];for(const _0x358f7c of _0x464510['markers']){const _0x8cff24=_0x358f7c['getRange']();(_0x8cff24['containsPosition'](_0x446883)||_0x8cff24['start']['isEqual'](_0x446883)||_0x8cff24['end']['isEqual'](_0x446883))&&_0x279e86['push'](_0x358f7c);}return _0x279e86;}(_0x221eed,_0x221eed['document']['selection']['focus']),_0x4d619a=[],_0x44c044=[],_0x5656ef=[];for(const _0x2fdad6 of _0x2eaf6d)_0x5a3e9b['includes'](_0x2fdad6)||_0x4d619a['push'](_0x2fdad6);for(const _0x1c3306 of _0x5a3e9b)_0x2eaf6d['includes'](_0x1c3306)||_0x44c044['push'](_0x1c3306),_0x5656ef['push'](_0x1c3306);(_0x4d619a['length']||_0x44c044['length'])&&_0x4f5082({'left':_0x4d619a,'entered':_0x44c044}),_0x2eaf6d['length']=0x0,_0x2eaf6d['push'](..._0x5656ef);});}const _0x472d0e='Ctrl+Shift+E';function _0x17b02a(_0xcae076,_0xee61d4){const _0x3443b3=_0xcae076['element'];_0xcae076['keystrokes']['listenTo'](_0x3443b3);for(const _0x45983f of _0xee61d4)_0x287d23(_0xcae076,_0x45983f);_0xee61d4['on']('change',(_0xf558f7,_0x15c771)=>{for(const _0x1ac2c1 of _0x15c771['removed'])_0x13917a(_0xcae076,_0x1ac2c1);for(const _0x3f16f2 of Array['from'](_0x15c771['added'])['reverse']())_0x287d23(_0xcae076,_0x3f16f2);}),_0xcae076['keystrokes']['set']('enter',(_0x2c07dc,_0x34a032)=>{_0x3443b3===_0x2c07dc['target']&&(_0xcae076['focusCycler']['focusFirst'](),_0x34a032());},{'filter':_0x5a35b6=>_0x5a35b6['target']===_0x3443b3}),_0xcae076['keystrokes']['set']('esc',(_0x40f6e6,_0x4cdc68)=>{_0x3443b3!==_0x40f6e6['target']?_0xcae076['focus']():_0xcae076['fire']('escape'),_0x4cdc68();}),_0xcae076['keystrokes']['set']('arrowdown',(_0x527084,_0x4bf83b)=>{_0x3443b3===_0x527084['target']&&(_0xcae076['fire']('arrowdown'),_0x4bf83b());}),_0xcae076['keystrokes']['set']('arrowup',(_0x4d0c19,_0xe7430b)=>{_0x3443b3===_0x4d0c19['target']&&(_0xcae076['fire']('arrowup'),_0xe7430b());});}function _0x287d23(_0x1f447e,_0x303cbb){_0x303cbb['isRendered']&&(_0x1f447e['focusTracker']['add'](_0x303cbb['element']),_0x1f447e['keystrokes']['listenTo'](_0x303cbb['element']),_0x5f37cd['isViewWithFocusCycler'](_0x303cbb)&&function(_0x2dbc9c,_0x5902c7){const _0xe25320=_0x2dbc9c['actions'],_0x3d116f=_0x5902c7['actions'];for(const _0x23ab19 of Object['keys'](_0xe25320))if(_0x23ab19 in _0x3d116f&&_0xe25320[_0x23ab19]!==_0x3d116f[_0x23ab19])return!0x1;return!0x0;}(_0x1f447e['focusCycler'],_0x303cbb['focusCycler'])&&_0x1f447e['focusCycler']['chain'](_0x303cbb['focusCycler']));}function _0x13917a(_0xcff495,_0x235270){_0xcff495['focusTracker']['remove'](_0x235270['element']),_0xcff495['keystrokes']['stopListening'](_0x235270['element']),_0x5f37cd['isViewWithFocusCycler'](_0x235270)&&_0xcff495['focusCycler']['unchain'](_0x235270['focusCycler']);}class _0x32b442{['diff'](_0x2c519b,_0x8248fb,_0x105727={}){let _0x31d3eb;'function'==typeof _0x105727?(_0x31d3eb=_0x105727,_0x105727={}):'callback'in _0x105727&&(_0x31d3eb=_0x105727['callback']);const _0x49c444=this['castInput'](_0x2c519b,_0x105727),_0x5b13ed=this['castInput'](_0x8248fb,_0x105727),_0x3f075a=this['removeEmpty'](this['tokenize'](_0x49c444,_0x105727)),_0x2f5091=this['removeEmpty'](this['tokenize'](_0x5b13ed,_0x105727));return this['diffWithOptionsObj'](_0x3f075a,_0x2f5091,_0x105727,_0x31d3eb);}['diffWithOptionsObj'](_0x41b882,_0x4d5b8f,_0x3b54ad,_0x3942b3){var _0xe32879;const _0x4324cb=_0x4a3720=>(_0x4a3720=this['postProcess'](_0x4a3720,_0x3b54ad),_0x3942b3?void setTimeout(function(){_0x3942b3(_0x4a3720);},0x0):_0x4a3720),_0x40dae6=_0x4d5b8f['length'],_0x56163e=_0x41b882['length'];let _0x1e4867=0x1,_0xda7338=_0x40dae6+_0x56163e;null!=_0x3b54ad['maxEditLength']&&(_0xda7338=Math['min'](_0xda7338,_0x3b54ad['maxEditLength']));const _0x15c79d=null!==(_0xe32879=_0x3b54ad['timeout'])&&void 0x0!==_0xe32879?_0xe32879:0x1/0x0,_0x2c7fab=Date['now']()+_0x15c79d,_0x521b75=[{'oldPos':-0x1,'lastComponent':void 0x0}];let _0x4233f5=this['extractCommon'](_0x521b75[0x0],_0x4d5b8f,_0x41b882,0x0,_0x3b54ad);if(_0x521b75[0x0]['oldPos']+0x1>=_0x56163e&&_0x4233f5+0x1>=_0x40dae6)return _0x4324cb(this['buildValues'](_0x521b75[0x0]['lastComponent'],_0x4d5b8f,_0x41b882));let _0x186a6f=-0x1/0x0,_0xa60a04=0x1/0x0;const _0x4d3882=()=>{for(let _0x324fd2=Math['max'](_0x186a6f,-_0x1e4867);_0x324fd2<=Math['min'](_0xa60a04,_0x1e4867);_0x324fd2+=0x2){let _0x40cb63;const _0x18c31a=_0x521b75[_0x324fd2-0x1],_0x10f19d=_0x521b75[_0x324fd2+0x1];_0x18c31a&&(_0x521b75[_0x324fd2-0x1]=void 0x0);let _0x1cc473=!0x1;if(_0x10f19d){const _0xa01c60=_0x10f19d['oldPos']-_0x324fd2;_0x1cc473=_0x10f19d&&0x0<=_0xa01c60&&_0xa01c60<_0x40dae6;}const _0x340774=_0x18c31a&&_0x18c31a['oldPos']+0x1<_0x56163e;if(_0x1cc473||_0x340774){if(_0x40cb63=!_0x340774||_0x1cc473&&_0x18c31a['oldPos']<_0x10f19d['oldPos']?this['addToPath'](_0x10f19d,!0x0,!0x1,0x0,_0x3b54ad):this['addToPath'](_0x18c31a,!0x1,!0x0,0x1,_0x3b54ad),_0x4233f5=this['extractCommon'](_0x40cb63,_0x4d5b8f,_0x41b882,_0x324fd2,_0x3b54ad),_0x40cb63['oldPos']+0x1>=_0x56163e&&_0x4233f5+0x1>=_0x40dae6)return _0x4324cb(this['buildValues'](_0x40cb63['lastComponent'],_0x4d5b8f,_0x41b882))||!0x0;_0x521b75[_0x324fd2]=_0x40cb63,_0x40cb63['oldPos']+0x1>=_0x56163e&&(_0xa60a04=Math['min'](_0xa60a04,_0x324fd2-0x1)),_0x4233f5+0x1>=_0x40dae6&&(_0x186a6f=Math['max'](_0x186a6f,_0x324fd2+0x1));}else _0x521b75[_0x324fd2]=void 0x0;}_0x1e4867++;};if(_0x3942b3)!function _0x1cf3c8(){setTimeout(function(){if(_0x1e4867>_0xda7338||Date['now']()>_0x2c7fab)return _0x3942b3(void 0x0);_0x4d3882()||_0x1cf3c8();},0x0);}();else for(;_0x1e4867<=_0xda7338&&Date['now']()<=_0x2c7fab;){const _0x2abe4c=_0x4d3882();if(_0x2abe4c)return _0x2abe4c;}}['addToPath'](_0x377fe9,_0xd8ef5,_0x2174f4,_0x4904eb,_0x5e24b){const _0x218451=_0x377fe9['lastComponent'];return _0x218451&&!_0x5e24b['oneChangePerToken']&&_0x218451['added']===_0xd8ef5&&_0x218451['removed']===_0x2174f4?{'oldPos':_0x377fe9['oldPos']+_0x4904eb,'lastComponent':{'count':_0x218451['count']+0x1,'added':_0xd8ef5,'removed':_0x2174f4,'previousComponent':_0x218451['previousComponent']}}:{'oldPos':_0x377fe9['oldPos']+_0x4904eb,'lastComponent':{'count':0x1,'added':_0xd8ef5,'removed':_0x2174f4,'previousComponent':_0x218451}};}['extractCommon'](_0x265382,_0x459a88,_0x2450c7,_0x4efe67,_0x262800){const _0x194d05=_0x459a88['length'],_0x57a6c1=_0x2450c7['length'];let _0x4495db=_0x265382['oldPos'],_0x46ceaa=_0x4495db-_0x4efe67,_0x2e04cc=0x0;for(;_0x46ceaa+0x1<_0x194d05&&_0x4495db+0x1<_0x57a6c1&&this['equals'](_0x2450c7[_0x4495db+0x1],_0x459a88[_0x46ceaa+0x1],_0x262800);)_0x46ceaa++,_0x4495db++,_0x2e04cc++,_0x262800['oneChangePerToken']&&(_0x265382['lastComponent']={'count':0x1,'previousComponent':_0x265382['lastComponent'],'added':!0x1,'removed':!0x1});return _0x2e04cc&&!_0x262800['oneChangePerToken']&&(_0x265382['lastComponent']={'count':_0x2e04cc,'previousComponent':_0x265382['lastComponent'],'added':!0x1,'removed':!0x1}),_0x265382['oldPos']=_0x4495db,_0x46ceaa;}['equals'](_0x12c9af,_0x14ae43,_0x1875c9){return _0x1875c9['comparator']?_0x1875c9['comparator'](_0x12c9af,_0x14ae43):_0x12c9af===_0x14ae43||!!_0x1875c9['ignoreCase']&&_0x12c9af['toLowerCase']()===_0x14ae43['toLowerCase']();}['removeEmpty'](_0x8a25a6){const _0x17c757=[];for(let _0x223426=0x0;_0x223426<_0x8a25a6['length'];_0x223426++)_0x8a25a6[_0x223426]&&_0x17c757['push'](_0x8a25a6[_0x223426]);return _0x17c757;}['castInput'](_0x182c03,_0x1cfb70){return _0x182c03;}['tokenize'](_0x42c4ec,_0x4666f5){return Array['from'](_0x42c4ec);}['join'](_0x2a7270){return _0x2a7270['join']('');}['postProcess'](_0x7d9d7,_0x1d243b){return _0x7d9d7;}get['useLongestToken'](){return!0x1;}['buildValues'](_0x3e1eaa,_0x2f0a6b,_0x388dfb){const _0x3327cb=[];let _0x1b4e5a;for(;_0x3e1eaa;)_0x3327cb['push'](_0x3e1eaa),_0x1b4e5a=_0x3e1eaa['previousComponent'],delete _0x3e1eaa['previousComponent'],_0x3e1eaa=_0x1b4e5a;_0x3327cb['reverse']();const _0x55f412=_0x3327cb['length'];let _0x561760=0x0,_0x1cd53d=0x0,_0x21355d=0x0;for(;_0x561760<_0x55f412;_0x561760++){const _0xc5c58b=_0x3327cb[_0x561760];if(_0xc5c58b['removed'])_0xc5c58b['value']=this['join'](_0x388dfb['slice'](_0x21355d,_0x21355d+_0xc5c58b['count'])),_0x21355d+=_0xc5c58b['count'];else{if(!_0xc5c58b['added']&&this['useLongestToken']){let _0x230531=_0x2f0a6b['slice'](_0x1cd53d,_0x1cd53d+_0xc5c58b['count']);_0x230531=_0x230531['map'](function(_0x718656,_0x86d559){const _0x303138=_0x388dfb[_0x21355d+_0x86d559];return _0x303138['length']>_0x718656['length']?_0x303138:_0x718656;}),_0xc5c58b['value']=this['join'](_0x230531);}else _0xc5c58b['value']=this['join'](_0x2f0a6b['slice'](_0x1cd53d,_0x1cd53d+_0xc5c58b['count']));_0x1cd53d+=_0xc5c58b['count'],_0xc5c58b['added']||(_0x21355d+=_0xc5c58b['count']);}}return _0x3327cb;}}const _0x1859b3=new class _0x2e9703 extends _0x32b442{['tokenize'](_0x6bafe3){return _0x6bafe3['slice']();}['join'](_0x368fc4){return _0x368fc4;}['removeEmpty'](_0x554821){return _0x554821;}}();function _0xc5f19f(_0x4990c8,_0x2008b8,_0x54734e){return _0x1859b3['diff'](_0x4990c8,_0x2008b8,_0x54734e);}const _0x2ac16d='$elementId',_0x2a2b5f='data-id';class DocumentCompare extends _0x5f37cd['ContextPlugin']{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x5f37cd['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x507a07,_0x47d971)=>{_0x47d971['on']('ready',()=>{this['_integrateEditor'](_0x47d971);});});}get['editor'](){if(this['context']instanceof _0x5f37cd['Editor'])return this['context'];{const _0x2b9ba3=this['context']['editors']['first'];if(!_0x2b9ba3)throw new _0x5f37cd['CKEditorError']('documentcompare-no-editor',this);return _0x2b9ba3;}}['getDiff'](_0x52dd04,_0x1aaf07,_0x2234d7={'anchor':'main','markDeletions':!0x1}){const _0x5a369b=_0x2234d7['targetEditor']||this['editor'];let _0x33eded,_0x45be3e;if('string'==typeof _0x2234d7['anchor']){const _0x5c6f6f=_0x5a369b['model']['document']['getRoot'](_0x2234d7['anchor']);if(!_0x5c6f6f)throw new _0x5f37cd['CKEditorError']('documentcompare-compare-no-root',this,{'anchor':_0x2234d7['anchor']});_0x33eded=_0x5c6f6f,_0x45be3e=_0x5a369b['model']['createPositionAt'](_0x5c6f6f,0x0);}else _0x33eded=_0x2234d7['anchor']['clone'](),_0x45be3e=_0x2234d7['anchor']['clone']();const _0x431a08=_0x5a369b['data']['parse'](_0x52dd04,_0x33eded),_0x356f5a=_0x5a369b['data']['parse'](_0x1aaf07,_0x33eded);return new DocumentDiff({'editor':_0x5a369b,'before':_0x431a08,'after':_0x356f5a,'options':{'anchor':_0x45be3e,'markDeletions':_0x2234d7['markDeletions']}});}['isMarkedRemoveOperation'](_0x591db2){return'marker'==_0x591db2['type']&&_0x591db2['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x3dd63b){_0x3dd63b['conversion']['for']('upcast')['add'](_0x4e667d=>{_0x4e667d['on']('element',(_0x58cb2c,_0xd055c,_0x4fdd7b)=>{if(_0xd055c['modelRange']&&_0x4fdd7b['consumable']['consume'](_0xd055c['viewItem'],{'attributes':'data-id'}))for(const _0x1222d2 of _0xd055c['modelRange']['getItems']({'shallow':!0x0})){if(_0x1222d2['is']('$textProxy'))continue;const _0x42abae=_0xd055c['viewItem']['getAttribute'](_0x2a2b5f);_0x42abae&&_0x4fdd7b['writer']['setAttribute'](_0x2ac16d,_0x42abae,_0x1222d2);}},{'priority':'low'});}),_0x3dd63b['model']['schema']['addAttributeCheck'](()=>!0x0,_0x2ac16d);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x2024bf,before:_0xe6a776,after:_0x2074ae,options:_0x1f4380}){this['_editor']=_0x2024bf,this['_markDeletions']=!!_0x1f4380['markDeletions'],this['_anchor']=_0x1f4380['anchor'];const _0x254b08=this['_tokenizeModel'](_0xe6a776),_0x296c81=this['_tokenizeModel'](_0x2074ae);this['_diffItems']=this['_diffModelTokens'](_0x254b08,_0x296c81),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0xe6a776['markers'],_0x2074ae['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x1acdb4=this['_editor']['model']['document'],_0x1d710c=[];let _0x353bf6=_0x1acdb4['version'];for(const _0x52f1d5 of this['_operationsData'])switch(_0x52f1d5['type']){case'attribute':{const _0x1695de=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x52f1d5['path']),_0x860446=_0x1695de['getShiftedBy'](_0x52f1d5['howMany']),_0x16aad7=new _0x5f37cd['ModelRange'](_0x1695de,_0x860446),_0x299a52=JSON['parse'](_0x52f1d5['oldValue']),_0x27aa46=JSON['parse'](_0x52f1d5['newValue']);_0x1d710c['push'](new _0x5f37cd['AttributeOperation'](_0x16aad7,_0x52f1d5['key'],_0x299a52,_0x27aa46,_0x353bf6++));break;}case'insert':{const _0x4bb794=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x52f1d5['path']),_0x28a991=this['_makeModelFromTokens'](_0x52f1d5['tokens']);_0x1d710c['push'](new _0x5f37cd['InsertOperation'](_0x4bb794,_0x28a991,_0x353bf6++));break;}case'remove':{const _0x203858=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x52f1d5['path']),_0x21f580=new _0x5f37cd['ModelPosition'](_0x1acdb4['graveyard'],[0x0]);_0x1d710c['push'](new _0x5f37cd['MoveOperation'](_0x203858,_0x52f1d5['howMany'],_0x21f580,_0x353bf6++));break;}case'rename':{const _0x3458bd=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x52f1d5['path']);_0x1d710c['push'](new _0x5f37cd['RenameOperation'](_0x3458bd,_0x52f1d5['oldName'],_0x52f1d5['newName'],_0x353bf6++));break;}case'split':{const _0x35d0ca=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x52f1d5['path']),_0x79e3ed=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x52f1d5['path']['slice'](0x0,-0x1));_0x79e3ed['offset']++,_0x1d710c['push'](new _0x5f37cd['SplitOperation'](_0x35d0ca,Number['NEGATIVE_INFINITY'],_0x79e3ed,null,_0x353bf6++));break;}case'merge':{const _0xd3f7f1=_0x52f1d5['path']['slice'](),_0xb0928f=_0xd3f7f1['slice'](0x0,-0x1);_0xb0928f[_0xb0928f['length']-0x1]++,_0xb0928f['push'](0x0);const _0x59a633=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xb0928f),_0x139eb0=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0xd3f7f1),_0x73b694=new _0x5f37cd['ModelPosition'](_0x1acdb4['graveyard'],[0x0]);_0x1d710c['push'](new _0x5f37cd['MergeOperation'](_0x59a633,Number['NEGATIVE_INFINITY'],_0x139eb0,_0x73b694,_0x353bf6++));break;}case'marker':case'markedRemove':{let _0x579e13=null;if(_0x52f1d5['range']){const _0x131883=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x52f1d5['range']['start']),_0x837a56=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x52f1d5['range']['end']);_0x579e13=new _0x5f37cd['ModelRange'](_0x131883,_0x837a56);}const _0x51f86c='marker'==_0x52f1d5['type']?_0x52f1d5['name']:'$markedRemove:'+_0x5f37cd['uid']();_0x1d710c['push'](new _0x5f37cd['MarkerOperation'](_0x51f86c,null,_0x579e13,_0x1acdb4['model']['markers'],!0x0,_0x353bf6++));break;}case'unwrap':{const _0x2e8a8f=_0x52f1d5['path']['slice']();_0x2e8a8f['push'](0x0);const _0x16ee17=_0x52f1d5['path']['slice'](),_0x207269=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e8a8f),_0x3795b6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x16ee17),_0x5c11b9=new _0x5f37cd['ModelPosition'](_0x1acdb4['graveyard'],[0x0]);_0x1d710c['push'](new _0x5f37cd['MoveOperation'](_0x207269,_0x52f1d5['howMany'],_0x3795b6,_0x353bf6++)),_0x1d710c['push'](new _0x5f37cd['MoveOperation'](_0x3795b6['getShiftedBy'](_0x52f1d5['howMany']),0x1,_0x5c11b9,_0x353bf6++));break;}case'wrap':{const _0x43b1f1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x52f1d5['range']['start']),_0x47ebd5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x52f1d5['range']['end']),_0x1191ad=_0x52f1d5['token']['element']['_clone'](!0x1);_0x1191ad['_removeAttribute'](_0x2ac16d);const _0x18f18c=_0x52f1d5['range']['end']['slice']();_0x18f18c['push'](0x0);const _0x47b22b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x18f18c);_0x1d710c['push'](new _0x5f37cd['InsertOperation'](_0x47ebd5,_0x1191ad,_0x353bf6++)),_0x1d710c['push'](new _0x5f37cd['MoveOperation'](_0x43b1f1,_0x47ebd5['offset']-_0x43b1f1['offset'],_0x47b22b,_0x353bf6++));break;}}return _0x1d710c;}['_tokenizeModel'](_0x581d7c){const _0x2d25ac=[],_0x4a225c=_0x5f37cd['ModelRange']['_createIn'](_0x581d7c),_0x48f62d=new _0x5f37cd['ModelTreeWalker']({'boundaries':_0x4a225c});let _0x5483cb='',_0x39cb9d=null;const _0x500b82=[''],_0x3fdd2a=new Map();for(const _0x41cb1b of _0x48f62d)if('elementStart'==_0x41cb1b['type']||'elementEnd'==_0x41cb1b['type']){let _0x5d94a6=_0x500b82[0x0];''!==_0x5483cb&&(_0x2d25ac['push'](...this['_makeTokensFromTextByWords'](_0x5483cb,_0x39cb9d,_0x5d94a6)),_0x5483cb='');const _0x67d494=_0x41cb1b['item'];let _0x5641b0;_0x67d494['getAttribute'](_0x2ac16d)?_0x5641b0=_0x67d494['getAttribute'](_0x2ac16d):'elementStart'==_0x41cb1b['type']?(_0x5641b0=_0x58b32c(_0x67d494),_0x3fdd2a['set'](_0x67d494,_0x5641b0)):_0x5641b0=_0x3fdd2a['get'](_0x67d494);const _0x4505f1=this['_getElementCategory'](_0x67d494);'solid'==_0x4505f1&&('elementStart'==_0x41cb1b['type']?(_0x5d94a6=_0x5641b0,_0x500b82['unshift'](_0x5d94a6)):_0x500b82['shift']());const _0x1a885f={'type':'element','element':_0x67d494,'elementId':_0x5641b0,'category':_0x4505f1,'isStart':'elementStart'==_0x41cb1b['type'],'limitId':_0x5d94a6};_0x2d25ac['push'](_0x1a885f);}else''==_0x5483cb&&(_0x39cb9d=_0x41cb1b['previousPosition']['clone']()),_0x5483cb+=_0x41cb1b['item']['data'];return''!==_0x5483cb&&_0x2d25ac['push'](...this['_makeTokensFromTextByWords'](_0x5483cb,_0x39cb9d,_0x500b82[0x0])),_0x2d25ac;}['_makeTokensFromTextByWords'](_0x36433b,_0x2d6841,_0x1dfe93){const _0x2b5463=_0x36433b['matchAll'](/(\s)/g),_0x7bc93a=Array['from'](_0x2b5463)['map'](_0x31404a=>_0x31404a['index']);_0x7bc93a['push'](_0x36433b['length']),0x0==_0x7bc93a[0x0]&&_0x7bc93a['shift']();const _0x3dd0f2=[],_0x3ffb26=_0x2d6841['parent'];let _0x3cc0df=0x0,_0x372a36=_0x2d6841['offset'];for(let _0x4e2f23=0x0;_0x4e2f23<_0x7bc93a['length'];_0x4e2f23++)_0x3dd0f2['push']({'type':'text','data':_0x36433b['slice'](_0x3cc0df,_0x7bc93a[_0x4e2f23]),'parent':_0x3ffb26,'offset':_0x372a36,'limitId':_0x1dfe93}),_0x3cc0df=_0x7bc93a[_0x4e2f23],_0x372a36=_0x2d6841['offset']+_0x7bc93a[_0x4e2f23];return _0x3dd0f2;}['_getElementCategory'](_0x2d4ed8){const _0x56c017=this['_editor']['model']['schema'];return _0x56c017['isLimit'](_0x2d4ed8)||_0x56c017['isContent'](_0x2d4ed8)||_0x56c017['isInline'](_0x2d4ed8)?'solid':_0x56c017['isBlock'](_0x2d4ed8)?'block':function(_0x3b38c4,_0x42a7f6){const _0x591acd=_0x3b38c4['parent'];if(!_0x591acd||_0x591acd['is']('documentFragment'))return!0x1;if(_0x42a7f6['checkChild'](_0x591acd,'$text'))return!0x1;for(const _0x37c528 of _0x3b38c4['getChildren']())if(_0x37c528['is']('$text'))return!0x0;return!0x1;}(_0x2d4ed8,_0x56c017)?'solid':'container';}['_diffModelTokens'](_0x306ce9,_0x14a928){const _0x1409b1=_0xc5f19f(_0x306ce9,_0x14a928,{'comparator':_0x164e6a});this['_handleUnclosedBlockOpeningTags'](_0x1409b1);const _0x47bbc4=_0x1409b1['flatMap'](_0x25b467=>{const _0x424601=_0x25b467['added']?'added':_0x25b467['removed']?'removed':'unchanged';return _0x25b467['value']['map'](_0x3f561e=>({'token':_0x3f561e,'change':_0x424601}));});let _0x3a4a61=0x0;for(const _0x5c2247 of _0x47bbc4)'added'!=_0x5c2247['change']&&('unchanged'==_0x5c2247['change']&&(_0x5c2247['before']=_0x306ce9[_0x3a4a61]),_0x3a4a61++);return _0x47bbc4;}['_handleUnclosedBlockOpeningTags'](_0x3b1c1d){for(let _0x9a9eb0=0x0;_0x9a9eb0<_0x3b1c1d['length']-0x1;_0x9a9eb0++)if(_0x3b1c1d[_0x9a9eb0]['removed']&&_0x3b1c1d[_0x9a9eb0+0x1]['added']){const _0x1b9c09=this['_findUnclosedBlockOpeningToken'](_0x3b1c1d[_0x9a9eb0]['value']);if(null!==_0x1b9c09){const _0x26bffa=this['_findUnclosedBlockOpeningToken'](_0x3b1c1d[_0x9a9eb0+0x1]['value']),_0x1e4994=_0x3b1c1d[_0x9a9eb0]['value']['splice'](_0x1b9c09),_0x3125a2=_0x3b1c1d[_0x9a9eb0+0x1]['value']['splice'](_0x26bffa),_0x43ff84=[_0x3125a2['shift']()];_0x1e4994['shift']();const _0x1eb0cb={'value':_0x1e4994,'removed':!0x0},_0x4bb4f0={'value':_0x3125a2,'added':!0x0},_0x469f18={'value':_0x43ff84};_0x3b1c1d['splice'](_0x9a9eb0+0x2,0x0,_0x469f18,_0x1eb0cb,_0x4bb4f0);}}}['_findUnclosedBlockOpeningToken'](_0x547f81){let _0x52bc50=0x0,_0x51c9da=-0x1;for(let _0xf425ba=0x0;_0xf425ba<_0x547f81['length'];_0xf425ba++){const _0x41575f=_0x547f81[_0xf425ba];'element'==_0x41575f['type']&&'block'==_0x41575f['category']&&(_0x52bc50+=_0x41575f['isStart']?0x1:-0x1,_0x41575f['isStart']&&(_0x51c9da=_0xf425ba));}return 0x0===_0x52bc50?null:_0x51c9da;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x1fc1f0=0x0;_0x1fc1f0<this['_diffItems']['length'];_0x1fc1f0++){const _0x42dbff=this['_diffItems'][_0x1fc1f0]['change'],_0x22a592=[];_0x22a592['push'](this['_diffItems'][_0x1fc1f0]);let _0x580139=_0x1fc1f0+0x1;for(;this['_diffItems'][_0x580139]&&this['_diffItems'][_0x580139]['change']==_0x42dbff;)_0x22a592['push'](this['_diffItems'][_0x580139]),_0x580139++,_0x1fc1f0++;const _0x53a0f7=_0x22a592['map'](_0x306c14=>_0x306c14['token']);if('unchanged'==_0x42dbff)_0x22a592['map'](_0x3f103a=>_0x3f103a['before'])['forEach'](_0x1d4c57=>this['_traverseOverItem'](_0x1d4c57));else{if('removed'==_0x42dbff){if(this['_markDeletions']){const _0x5622e4=this['_path']['slice']();_0x53a0f7['forEach'](_0x4c0bb3=>this['_traverseOverItem'](_0x4c0bb3));const _0x3dd360=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x5622e4,'end':_0x3dd360}});}else this['_handleChanged'](_0x53a0f7,!0x0,this['_path']['slice']());}else{const _0x323dc9=_0x53a0f7['filter'](_0x310d65=>'element'!=_0x310d65['type']||'container'!=_0x310d65['category']);this['_handleChanged'](_0x323dc9,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x30177f=0x0;_0x30177f<this['_diffItems']['length'];_0x30177f++){const _0x118fbb=this['_diffItems'][_0x30177f]['change'],_0xe37211=[];_0xe37211['push'](this['_diffItems'][_0x30177f]);let _0x4e57e6=_0x30177f+0x1;for(;this['_diffItems'][_0x4e57e6]&&this['_diffItems'][_0x4e57e6]['change']==_0x118fbb;)_0xe37211['push'](this['_diffItems'][_0x4e57e6]),_0x4e57e6++,_0x30177f++;const _0x295b4b=_0xe37211['map'](_0x29a7da=>_0x29a7da['token']);if('unchanged'==_0x118fbb){const _0x2bacc7=_0xe37211['map'](_0x326664=>_0x326664['before']);this['_handleUnchanged'](_0x2bacc7,_0x295b4b);}else('added'==_0x118fbb||this['_markDeletions'])&&_0x295b4b['forEach'](_0x4d6132=>{'element'==_0x4d6132['type']&&_0x4d6132['isStart']&&this['_splitPostponedData']['has'](_0x4d6132['element'])&&this['_handleSplitPostponedData'](_0x4d6132['element'],this['_path']),this['_traverseOverItem'](_0x4d6132);});}}['_handleSplitPostponedData'](_0x3a4179,_0x4e65f1){const _0x607e74=this['_splitPostponedData']['get'](_0x3a4179);for(const _0x32f555 of _0x607e74)'rename'==_0x32f555['type']?this['_operationsData']['push']({'type':'rename','path':_0x4e65f1['slice'](),'oldName':_0x32f555['oldValue'],'newName':_0x3a4179['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x4e65f1['slice'](),'howMany':0x1,'key':_0x32f555['key'],'oldValue':_0x32f555['oldValue'],'newValue':JSON['stringify'](_0x3a4179['getAttribute'](_0x32f555['key'])??null)});}['_calculateMarkersOperationsData'](_0xd40c1a,_0x475712){const _0x1956e0={};for(const [_0x475272]of _0xd40c1a)_0x1956e0[_0x475272]=null;for(const [_0x4ea5cc,_0x318f25]of _0x475712)_0x1956e0[_0x4ea5cc]=_0x318f25;const _0x2851fe=Object['entries'](_0x1956e0)['map'](([_0x4c4c0f,_0x15d0aa])=>({'type':'marker','name':_0x4c4c0f,'range':_0x15d0aa?{'start':_0x15d0aa['start']['path']['slice'](),'end':_0x15d0aa['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x2851fe);}['_handleUnwraps'](){const _0x1aa6ef=new Map(),_0x4f4a7b=[],_0x27b368=[0x0];let _0x1a7ae6=this['_diffItems']['length']+0x1;for(let _0x1c9d82=this['_diffItems']['length']-0x1;_0x1c9d82>=0x0;_0x1c9d82--){const {token:_0x434064,before:_0x48bcb8,change:_0x35190d}=this['_diffItems'][_0x1c9d82];if('removed'!=_0x35190d&&(_0x1a7ae6=_0x1c9d82),'element'!=_0x434064['type']||'container'!=_0x434064['category']||'added'==_0x35190d)continue;const _0x102c81=_0x48bcb8?_0x48bcb8['element']:_0x434064['element'];if(_0x434064['isStart']){const _0x50c818=_0x1aa6ef['get'](_0x102c81),_0x59a8db=this['_diffItems'][_0x50c818];('removed'==_0x35190d||'removed'==_0x59a8db['change'])&&_0x1a7ae6<_0x50c818&&(this['_operationsData']['push']({'type':'unwrap','path':_0x102c81['getPath'](),'howMany':_0x102c81['maxOffset']+_0x27b368[0x0]}),_0x27b368['shift'](),_0x27b368[0x0]+=_0x102c81['maxOffset']-0x1,_0x4f4a7b['push'](_0x1c9d82),_0x4f4a7b['push'](_0x50c818));}else _0x1aa6ef['set'](_0x102c81,_0x1c9d82),_0x27b368['unshift'](0x0);}_0x4f4a7b['sort']((_0x42c03b,_0x1664ca)=>_0x1664ca-_0x42c03b),_0x4f4a7b['forEach'](_0x1facdb=>{const _0xfc985e=this['_diffItems'][_0x1facdb];'removed'==_0xfc985e['change']?this['_diffItems']['splice'](_0x1facdb,0x1):(_0xfc985e['change']='added',delete _0xfc985e['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x507143=[];for(let _0x147495=0x0;_0x147495<this['_diffItems']['length'];_0x147495++){const {change:_0x2412ed,token:_0xc2459}=this['_diffItems'][_0x147495];if('added'==_0x2412ed&&'element'==_0xc2459['type']&&'container'==_0xc2459['category']){if(_0xc2459['isStart'])_0x507143['push'](this['_path']['slice']());else{if(!_0xc2459['isStart']){const _0x1f4b55=_0x507143['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x1f4b55,'end':this['_path']['slice']()},'token':_0xc2459}),this['_path'][this['_path']['length']-0x1]=_0x1f4b55[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x2412ed||this['_markDeletions'])&&this['_traverseOverItem'](_0xc2459);}}['_handleUnchanged'](_0x5df725,_0x532940){for(let _0x3a71cd=0x0;_0x3a71cd<_0x5df725['length'];_0x3a71cd++){const _0x3aa8c8=_0x5df725[_0x3a71cd];if('element'==_0x3aa8c8['type']&&_0x3aa8c8['isStart']){const _0x4e67a9=_0x532940[_0x3a71cd];'block'==_0x3aa8c8['category']&&this['_handleElementRename'](_0x3aa8c8['element'],_0x4e67a9['element'],this['_path']),this['_handleElementAttributeChanges'](_0x3aa8c8['element'],_0x4e67a9['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x4e67a9);}else{if('element'!=_0x3aa8c8['type']||_0x3aa8c8['isStart']){if('text'==_0x3aa8c8['type']){const _0x4f2dfb=this['_path']['slice'](),_0x35a29b=[],_0x4acedc=[];for(;_0x5df725[_0x3a71cd]&&'text'==_0x5df725[_0x3a71cd]['type'];)_0x35a29b['push'](_0x5df725[_0x3a71cd]),_0x4acedc['push'](_0x532940[_0x3a71cd]),this['_path'][this['_path']['length']-0x1]+=_0x5df725[_0x3a71cd]['data']['length'],_0x3a71cd++;_0x3a71cd--,this['_handleTextAttributeChanges'](_0x35a29b,_0x4acedc,_0x4f2dfb);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x557b27,_0x3f0d56,_0x4fd3c6){const _0x3f4def=[],_0x1aeb5d=[],_0x5b1087=_0x4fd3c6['slice']();let _0x5c6298=this['_parents']['length']-0x1;for(let _0x2895f3=0x0;_0x2895f3<_0x557b27['length'];_0x2895f3++){const _0x28e34e=_0x557b27[_0x2895f3],_0x19a464=_0x4fd3c6['slice']();'element'!=_0x28e34e['type']||_0x28e34e['isStart']?'element'==_0x28e34e['type']&&_0x28e34e['isStart']?(_0x4fd3c6['push'](0x0),_0x5c6298++,_0x1aeb5d['push']({'before':_0x19a464,'after':_0x4fd3c6['slice'](),'index':_0x2895f3})):_0x4fd3c6[_0x4fd3c6['length']-0x1]+=_0x28e34e['data']['length']:(_0x4fd3c6['pop'](),_0x4fd3c6[_0x4fd3c6['length']-0x1]++,_0x5c6298--,_0x1aeb5d['length']?_0x1aeb5d['pop']():_0x3f4def['push']({'before':_0x19a464,'after':_0x4fd3c6['slice'](),'index':_0x2895f3}));}if(_0x1aeb5d['length']!==_0x3f4def['length'])throw new _0x5f37cd['CKEditorError']('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x557b27,'isRemove':_0x3f0d56});const _0x5cf139=[{'after':_0x5b1087['slice'](),'index':-0x1},..._0x3f4def,..._0x1aeb5d,{'before':_0x4fd3c6['slice'](),'index':_0x557b27['length']}];if(_0x3f0d56){for(let _0x4d1e26=_0x5cf139['length']-0x1;_0x4d1e26>=0x1;_0x4d1e26--){const _0x5149a3=_0x5cf139[_0x4d1e26-0x1]['after'],_0x316830=_0x5cf139[_0x4d1e26]['before'],_0xf56cee=_0x316830[_0x316830['length']-0x1]-_0x5149a3[_0x5149a3['length']-0x1];_0xf56cee&&(this['_operationsData']['push']({'type':'remove','path':_0x5149a3,'howMany':_0xf56cee}),_0x316830[_0x316830['length']-0x1]-=_0xf56cee);}for(const {before:_0x3acc1e}of _0x3f4def)this['_operationsData']['push']({'type':'merge','path':_0x3acc1e});}else for(let _0x210f6f=0x0;_0x210f6f<_0x5cf139['length']-0x1;_0x210f6f++){const _0x5476c7=_0x5cf139[_0x210f6f]['after'],_0x4c51d2=_0x5cf139[_0x210f6f+0x1]['before'],_0x1b9674=_0x5cf139[_0x210f6f]['index']+0x1,_0x29242f=_0x5cf139[_0x210f6f+0x1]['index'];if(_0x1b9674!==_0x29242f&&this['_operationsData']['push']({'type':'insert','path':_0x5476c7,'tokens':_0x557b27['slice'](_0x1b9674,_0x29242f)}),_0x210f6f<_0x3f4def['length']){this['_operationsData']['push']({'type':'split','path':_0x4c51d2});const _0x27d537=_0x557b27[_0x1aeb5d[_0x1aeb5d['length']-0x1-_0x210f6f]['index']],_0x4fe0a2=this['_parents'][_0x5c6298]['element'];_0x4fe0a2['name']!=_0x27d537['element']['name']&&this['_addSplitPostponedData'](_0x27d537['element'],{'type':'rename','oldValue':_0x4fe0a2['name']});const _0x44aa26=this['_getAttributeChanges'](_0x4fe0a2['getAttributes'](),_0x27d537['element']['getAttributes']());for(const _0x8970ab in _0x44aa26){const _0x5b3d15=_0x44aa26[_0x8970ab]['oldValue'];this['_addSplitPostponedData'](_0x27d537['element'],{'type':'attribute','key':_0x8970ab,'oldValue':_0x5b3d15});}}}}['_addSplitPostponedData'](_0x5382d2,_0x1eec37){const _0xf58828=this['_splitPostponedData']['get'](_0x5382d2)||[];_0xf58828['push'](_0x1eec37),this['_splitPostponedData']['set'](_0x5382d2,_0xf58828);}['_traverseOverItem'](_0xb5e384){'element'==_0xb5e384['type']&&_0xb5e384['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0xb5e384)):'element'!=_0xb5e384['type']||_0xb5e384['isStart']?'text'==_0xb5e384['type']&&(this['_path'][this['_path']['length']-0x1]+=_0xb5e384['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x5477c6,_0x45f413,_0x3d6fe7){_0x5477c6['name']!=_0x45f413['name']&&this['_operationsData']['push']({'type':'rename','path':_0x3d6fe7['slice'](),'oldName':_0x5477c6['name'],'newName':_0x45f413['name']});}['_handleElementAttributeChanges'](_0x5b0f60,_0x25f750,_0x3be50a){const _0x513ab8=this['_getAttributeChanges'](_0x5b0f60['getAttributes'](),_0x25f750['getAttributes']());for(const _0x3adfac in _0x513ab8){const {oldValue:_0x21347a,newValue:_0xe1bdd9}=_0x513ab8[_0x3adfac];this['_operationsData']['push']({'type':'attribute','path':_0x3be50a['slice'](),'howMany':0x1,'key':_0x3adfac,'oldValue':_0x21347a,'newValue':_0xe1bdd9});}}['_handleTextAttributeChanges'](_0xeea88a,_0x2471ca,_0x456712){const _0x3f3e27=this['_operationsData'],_0x44fb4b=_0xeea88a[0x0]['parent'],_0x635ddf=_0xeea88a[0x0]['offset'],_0x13f37a=_0x2471ca[0x0]['parent'],_0x2ca04d=_0x2471ca[0x0]['offset'],_0x13a1de=_0xeea88a['reduce']((_0x1103f5,_0x5b097f)=>_0x1103f5+_0x5b097f['data']['length'],0x0),_0x364bff=this['_getAttrsForOffsets'](_0x44fb4b,_0x635ddf,_0x13a1de),_0x5f489e=this['_getAttrsForOffsets'](_0x13f37a,_0x2ca04d,_0x13a1de),_0x5e7704={};for(let _0x51f6d9=0x0;_0x51f6d9<_0x13a1de;_0x51f6d9++){const _0x2253ce=_0x364bff[_0x635ddf+_0x51f6d9],_0xaf7473=_0x5f489e[_0x2ca04d+_0x51f6d9],_0x29e2a9=this['_getAttributeChanges'](_0x2253ce,_0xaf7473);for(const _0x3bb135 in _0x5e7704)_0x29e2a9[_0x3bb135]||_0xa13924(_0x3bb135);for(const _0x318bdc in _0x29e2a9){const {oldValue:_0x11559e,newValue:_0x3f8ae9}=_0x29e2a9[_0x318bdc],_0x48e207=_0x5e7704[_0x318bdc];_0x48e207?_0x48e207['oldValue']==_0x11559e&&_0x48e207['newValue']==_0x3f8ae9?_0x48e207['length']++:(_0xa13924(_0x318bdc),_0x5e7704[_0x318bdc]={'oldValue':_0x11559e,'newValue':_0x3f8ae9,'start':_0x51f6d9,'length':0x1}):_0x5e7704[_0x318bdc]={'oldValue':_0x11559e,'newValue':_0x3f8ae9,'start':_0x51f6d9,'length':0x1};}}for(const _0x391b8a in _0x5e7704)_0xa13924(_0x391b8a);function _0xa13924(_0x1376d7){const _0x51cb5c=_0x5e7704[_0x1376d7],_0x131fd6=_0x456712['slice']();_0x131fd6[_0x131fd6['length']-0x1]+=_0x51cb5c['start'],_0x3f3e27['push']({'type':'attribute','path':_0x131fd6,'howMany':_0x51cb5c['length'],'key':_0x1376d7,'oldValue':_0x51cb5c['oldValue'],'newValue':_0x51cb5c['newValue']}),delete _0x5e7704[_0x1376d7];}}['_getAttributeChanges'](_0x8f089,_0x4f3ebe){const _0x4c1337={};for(const [_0x4ba01e,_0x1a9f11]of _0x8f089)_0x4c1337[_0x4ba01e]={'oldValue':JSON['stringify'](_0x1a9f11),'newValue':'null'};for(const [_0x1e66ee,_0x3fab87]of _0x4f3ebe){const _0x5f11f=JSON['stringify'](_0x3fab87);_0x4c1337[_0x1e66ee]?_0x4c1337[_0x1e66ee]['oldValue']==_0x5f11f?delete _0x4c1337[_0x1e66ee]:_0x4c1337[_0x1e66ee]['newValue']=_0x5f11f:_0x4c1337[_0x1e66ee]={'oldValue':'null','newValue':_0x5f11f};}return delete _0x4c1337[_0x2ac16d],_0x4c1337;}['_getAttrsForOffsets'](_0x2457d1,_0xa8e726,_0x68319b){const _0x3f3db0=new Array(_0xa8e726+_0x68319b);let _0x1ec582=_0x2457d1['getChildAtOffset'](_0xa8e726),_0x3cf9aa=_0x1ec582['startOffset'];for(;_0x1ec582&&_0x3cf9aa<_0xa8e726+_0x68319b;){const _0xc936a7=Array['from'](_0x1ec582['getAttributes']());_0x3f3db0['fill'](_0xc936a7,_0x3cf9aa,_0x3cf9aa+_0x1ec582['offsetSize']),_0x3cf9aa+=_0x1ec582['offsetSize'],_0x1ec582=_0x1ec582['nextSibling'];}return _0x3f3db0;}['_getPositionFromAnchorAndPath'](_0x203b91,_0x3d3738){const _0x5e390f=[..._0x203b91['path']['slice'](0x0,-0x1),_0x203b91['offset']+_0x3d3738[0x0],..._0x3d3738['slice'](0x1)];return new _0x5f37cd['ModelPosition'](_0x203b91['root'],_0x5e390f);}['_makeModelFromTokens'](_0x4aa274){const _0xf79b67=[];let _0x4a5374=null;for(const _0x2f4e55 of _0x4aa274)if('element'!=_0x2f4e55['type']||_0x2f4e55['isStart']||_0x4a5374!=_0x2f4e55['element']){if(!_0x4a5374){if('text'==_0x2f4e55['type']){const _0x3d5514=_0x5f37cd['ModelPosition']['_createAt'](_0x2f4e55['parent'],_0x2f4e55['offset']),_0x481894=_0x5f37cd['ModelRange']['_createFromPositionAndShift'](_0x3d5514,_0x2f4e55['data']['length']),_0x311052=Array['from'](_0x481894['getItems']())['map'](_0x2f34b8=>new _0x5f37cd['ModelText'](_0x2f34b8['data'],_0x2f34b8['getAttributes']()));_0xf79b67['push'](..._0x311052);}else{_0x4a5374=_0x2f4e55['element'];const _0x14ae1c=_0x2f4e55['element']['_clone'](!0x0);_0x14ae1c['_removeAttribute'](_0x2ac16d);for(const _0x3a6fa3 of this['_editor']['model']['createRangeIn'](_0x14ae1c)['getItems']())_0x3a6fa3['is']('element')&&_0x3a6fa3['_removeAttribute'](_0x2ac16d);_0xf79b67['push'](_0x14ae1c);}}}else _0x4a5374=null;return _0xf79b67;}}function _0x164e6a(_0x36deb3,_0x1fc907){return _0x36deb3['type']===_0x1fc907['type']&&(_0x36deb3['limitId']===_0x1fc907['limitId']&&('text'==_0x36deb3['type']?_0x36deb3['data']==_0x1fc907['data']:function(_0x4c04a9,_0x1a53dd){if(_0x4c04a9['isStart']!=_0x1a53dd['isStart'])return!0x1;if(_0x4c04a9['isStart']&&_0x4c04a9['elementId']!=_0x1a53dd['elementId'])return!0x1;if(_0x4c04a9['category']!=_0x1a53dd['category'])return!0x1;if('block'==_0x4c04a9['category'])return!0x0;if('container'==_0x4c04a9['category']&&_0x4c04a9['elementId']!=_0x1a53dd['elementId'])return!0x1;return _0x4c04a9['element']['name']==_0x1a53dd['element']['name'];}(_0x36deb3,_0x1fc907)));}function _0x58b32c(_0x32ad64){return _0x16cf9f({'name':_0x32ad64['name'],...Object['fromEntries'](_0x32ad64['getAttributes']())});}function _0x2f060b({changeGroups:_0x34a016,documentContextContent:_0x122a19,showDiff:_0x5831eb,trimUnchanged:_0x2de8d2=!0x0}){return _0x34a016['map'](_0x55ea0e=>{if('destroyed'===_0x55ea0e['editor']['state'])return null;const _0x33f029=new _0x239862([]),_0x22029f=new _0x239862([]),_0x4d7a84=new Set();for(const _0x46fc1a of _0x55ea0e['changes'])'new'==_0x46fc1a['type']&&_0x453ad8('data-id',null,_0x46fc1a['node'])['forEach'](_0x165075=>{_0x4d7a84['add'](_0x31b99b(_0x165075,'data-id'));});for(const _0x208e3e of _0x55ea0e['changes'])if('removed'!=_0x208e3e['type']?_0x22029f['children']['push'](_0x208e3e['node']['cloneNode'](!0x0)):_0x5831eb||_0x4d7a84['has'](_0x208e3e['id'])||_0x22029f['children']['push'](_0x208e3e['node']['cloneNode'](!0x0)),'new'!=_0x208e3e['type']&&(_0x5831eb||'removed'!=_0x208e3e['type'])){const _0x40682d=_0x2620a2(_0x3a37fb=>_0x31b99b(_0x3a37fb,'data-id')==_0x208e3e['id'],_0x122a19['get'](_0x55ea0e['documentId']),!0x0);_0x40682d&&_0x33f029['children']['push'](_0x40682d['cloneNode'](!0x0));}const {content:_0x35f26a,hasChanges:_0x5a00ed}=_0x297b1a(_0x55ea0e['editor'],_0x33f029,_0x22029f,_0x5831eb,_0x2de8d2);return{'type':_0x55ea0e['changes'][0x0]['type'],'index':_0x55ea0e['index'],'content':_0x35f26a,'hasChanges':_0x5a00ed};})['filter'](_0x4e38fa=>null!==_0x4e38fa);}function _0x297b1a(_0x2ef999,_0x1bb86a,_0x1d4cda,_0x2fe118,_0x4d985a=!0x0){const _0x45f464=_0x2ef999['plugins']['get']('DocumentCompare'),_0x3ba2fc=_0x2e8cdd(_0x1bb86a),_0x261d35=_0x2e8cdd(_0x1d4cda),_0x59f026=_0x2ef999['data']['parse'](_0x3ba2fc,'$root'),_0xba6798=_0x2ef999['model']['createPositionAt'](_0x59f026,0x0),_0x5f5079=_0x45f464['getDiff'](_0x3ba2fc,_0x261d35,{'anchor':_0xba6798,'markDeletions':_0x2fe118,'targetEditor':_0x2ef999})['getOperations']();if(0x0==_0x5f5079['length'])return{'content':_0x1bb86a['cloneNode'](!0x0),'hasChanges':!0x1};if(_0x2fe118?function(_0x1061f3,_0x3209d2,_0x3f5cb7){if(0x0==_0x1061f3['length'])return;const _0x39578f=_0x3f5cb7['plugins']['get']('DocumentCompare'),_0x590d76=_0x3f5cb7['plugins']['get']('SuggestionsConversion');_0x3f5cb7['model']['change'](_0x5b793d=>{const _0x268476=new Set();for(let _0x2b0572=0x0;_0x2b0572<_0x1061f3['length'];_0x2b0572++){const _0x22f8f7=_0x1061f3[_0x2b0572];if(_0x22f8f7['baseVersion']=null,_0x22f8f7['isDocumentOperation']=!0x1,_0x39578f['isMarkedRemoveOperation'](_0x22f8f7)){const _0x254024=_0x1ce3fa(_0x22f8f7['newRange'],_0x3f5cb7['model']),_0x375137='suggestion:deletion:'+_0x5f37cd['uid']()+':$aiSuggestion';_0x3209d2['markers']['set'](_0x375137,_0x254024);}else switch(_0x22f8f7['type']){case'rename':{if(_0x22f8f7['oldName']==_0x22f8f7['newName'])break;_0x5b793d['batch']['addOperation'](_0x22f8f7),_0x3f5cb7['model']['applyOperation'](_0x22f8f7);const _0x508687='$elementName',_0x581b79=_0x22f8f7['position'],_0x58b67d=_0x3f5cb7['model']['createRange'](_0x581b79,_0x3f5cb7['model']['createPositionAt'](_0x581b79['nodeAfter'],'end')),_0x444f74='suggestion:attribute:'+_0x508687+':'+_0x5f37cd['uid']()+':$aiSuggestion';_0x3209d2['markers']['set'](_0x444f74,_0x58b67d);break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{if(_0x22f8f7['oldValue']==_0x22f8f7['newValue'])break;_0x5b793d['batch']['addOperation'](_0x22f8f7),_0x3f5cb7['model']['applyOperation'](_0x22f8f7);const _0x674c44=_0x22f8f7['key'];if(!_0x590d76['isRegisteredAttribute'](_0x674c44))break;const _0x9a3525=_0x1ce3fa(_0x22f8f7['range'],_0x3f5cb7['model']),_0x16dc3e='suggestion:attribute:'+_0x674c44+':'+_0x5f37cd['uid']()+':$aiSuggestion';_0x3209d2['markers']['set'](_0x16dc3e,_0x9a3525);break;}case'insert':{_0x5b793d['batch']['addOperation'](_0x22f8f7),_0x3f5cb7['model']['applyOperation'](_0x22f8f7);if(_0x1061f3[_0x2b0572+0x1]&&'move'==_0x1061f3[_0x2b0572+0x1]['type']){_0xc500a9(_0x3209d2,_0x22f8f7);break;}const _0x2cb2cb=_0x22f8f7['position'],_0x4004a1=_0x22f8f7['howMany'],_0x3de6d7=_0x1ce3fa(_0x3f5cb7['model']['createRange'](_0x2cb2cb,_0x2cb2cb['getShiftedBy'](_0x4004a1)),_0x3f5cb7['model']),_0x3639fa='suggestion:insertion:'+_0x5f37cd['uid']()+':$aiSuggestion';_0x3209d2['markers']['set'](_0x3639fa,_0x3de6d7);break;}case'split':{_0x5b793d['batch']['addOperation'](_0x22f8f7),_0x3f5cb7['model']['applyOperation'](_0x22f8f7);const _0x506e90=_0x22f8f7['splitPosition'],_0x4069be=_0x22f8f7['moveTargetPosition'],_0x32e1f4=_0x3f5cb7['model']['createRange'](_0x506e90,_0x4069be),_0x3e12ed='suggestion:insertion:'+_0x5f37cd['uid']()+':$aiSuggestion';_0x3209d2['markers']['set'](_0x3e12ed,_0x32e1f4);break;}case'move':{_0x5b793d['batch']['addOperation'](_0x22f8f7),_0x3f5cb7['model']['applyOperation'](_0x22f8f7),_0x1061f3[_0x2b0572-0x1]&&'insert'==_0x1061f3[_0x2b0572-0x1]['type']&&_0xc500a9(_0x3209d2,_0x22f8f7);const _0x198330=_0x22f8f7['getMovedRangeStart'](),_0x2397b9=_0x22f8f7['howMany'];for(let _0x2a6408=0x0;_0x2a6408<_0x2397b9;_0x2a6408++){const _0x3392a7=_0x198330['getShiftedBy'](_0x2a6408)['nodeAfter'];_0x268476['add'](_0x3392a7);}break;}case'remove':{const _0x16d1ae=_0x22f8f7['sourcePosition'],_0x475501=_0x22f8f7['howMany'],_0x331e2c=new _0x5f37cd['_DetachOperation'](_0x16d1ae,_0x475501);_0x5b793d['batch']['addOperation'](_0x331e2c),_0x3f5cb7['model']['applyOperation'](_0x331e2c);break;}}}for(const _0x426faa of _0x268476){const _0x3124c1=_0x3f5cb7['model']['createRangeOn'](_0x426faa),_0x216fe1='suggestion:formatBlock:$fakeWrap:'+_0x5f37cd['uid']()+':$aiSuggestion';_0x3209d2['markers']['set'](_0x216fe1,_0x1ce3fa(_0x3124c1,_0x3f5cb7['model']));}});}(_0x5f5079,_0x59f026,_0x2ef999):_0x2ef999['model']['change'](_0x1a0dcf=>{for(const _0x3112ba of _0x5f5079)if('remove'==_0x3112ba['type']){const _0x29e5c7=_0x3112ba['sourcePosition'],_0x1609ab=_0x3112ba['howMany'],_0x2ce038=new _0x5f37cd['_DetachOperation'](_0x29e5c7,_0x1609ab);_0x1a0dcf['batch']['addOperation'](_0x2ce038),_0x2ef999['model']['applyOperation'](_0x2ce038);}else{if('marker'==_0x3112ba['type']){const _0x4c8e9b=_0x3112ba['name'],_0x3a4230=_0x3112ba['newRange'];null!==_0x3a4230?_0x59f026['markers']['set'](_0x4c8e9b,_0x3a4230):_0x59f026['markers']['delete'](_0x4c8e9b);}else _0x3112ba['baseVersion']=null,_0x3112ba['isDocumentOperation']=!0x1,_0x1a0dcf['batch']['addOperation'](_0x3112ba),_0x2ef999['model']['applyOperation'](_0x3112ba);}}),_0x4d985a){const _0x84ba39=_0x2ca81f(_0x2ef999,_0x5f5079,_0x59f026);_0x309ca4(_0x2ef999['model'],_0x84ba39),function(_0x1a0528,_0x3bf783){const _0x493641=_0x3bf783['getFirstRange']()['start'];let _0x3107ca=_0x3bf783['getFirstRange']()['end'];const _0x34dd60=_0x493641['root'];(_0x3107ca['textNode']||_0x3107ca['nodeAfter']&&_0x3107ca['nodeAfter']['is']('$text'))&&(_0x5f37cd['_insertIntoModelNodeList'](_0x3107ca,'...'),_0x3107ca=_0x3107ca['getShiftedBy'](0x3)),(_0x493641['textNode']||_0x493641['nodeBefore']&&_0x493641['nodeBefore']['is']('$text'))&&(_0x5f37cd['_insertIntoModelNodeList'](_0x493641,'...'),function(_0x2dbc48,_0x16f18c,_0x53ef7c){for(let [_0x4f29e9,_0xc1784b]of _0x2dbc48['markers']){const _0x1ecc50=_0xc1784b['_getTransformedByInsertion'](_0x16f18c,_0x53ef7c,!0x1);_0xc1784b=_0x1ecc50[0x0],_0x2dbc48['markers']['set'](_0x4f29e9,_0xc1784b);}}(_0x34dd60,_0x493641,0x3),_0x493641['parent']==_0x3107ca['parent']&&(_0x3107ca=_0x3107ca['getShiftedBy'](0x3)));const _0x5d8c37=_0x1a0528['createRange'](_0x1a0528['createPositionAt'](_0x34dd60,0x0),_0x493641),_0x4485ae=_0x1a0528['createRange'](_0x3107ca,_0x1a0528['createPositionAt'](_0x34dd60,'end')),_0x388f80=[..._0x5d8c37['getMinimalFlatRanges'](),..._0x4485ae['getMinimalFlatRanges']()];_0x388f80['reverse']();for(const _0x233a4c of _0x388f80)_0x5f37cd['_removeFromModelNodeList'](_0x233a4c),_0xdd6c(_0x34dd60,_0x233a4c);}(_0x2ef999['model'],_0x84ba39);}return{'content':_0x6747e8(_0x2ef999['data']['stringify'](_0x59f026,{'showSuggestionHighlights':!0x0})),'hasChanges':!0x0};}function _0xc500a9(_0x3bf6f8,_0x28a8e8){for(const [_0x4701a3,_0x5c9ef1]of _0x3bf6f8['markers']){const _0x9f6c26=_0x5f37cd['ModelRange']['_createFromRanges'](_0x5c9ef1['getTransformedByOperation'](_0x28a8e8));_0x3bf6f8['markers']['set'](_0x4701a3,_0x9f6c26);}}function _0x2ca81f(_0x5b51e7,_0x587c92,_0x401140){const _0x5ccb89=_0x5b51e7['plugins']['get']('DocumentCompare');let _0x3249af=_0x5b51e7['model']['createPositionAt'](_0x401140,Number['POSITIVE_INFINITY']),_0x4a8fa7=_0x5b51e7['model']['createPositionAt'](_0x401140,0x0);for(const _0x4ebf29 of _0x587c92){let _0xca0927,_0x56c140;if(_0x5ccb89['isMarkedRemoveOperation'](_0x4ebf29))_0xca0927=_0x4ebf29['newRange']['start'],_0x56c140=_0x4ebf29['newRange']['end'];else switch(_0x3249af=_0x2cac51(_0x3249af,_0x4ebf29),_0x4a8fa7=_0x2cac51(_0x4a8fa7,_0x4ebf29),_0x4ebf29['type']){case'rename':_0xca0927=_0x4ebf29['position'],_0x56c140=_0xca0927['getShiftedBy'](0x1);break;case'addAttribute':case'removeAttribute':case'changeAttribute':_0xca0927=_0x4ebf29['range']['start'],_0x56c140=_0x4ebf29['range']['end'];break;case'insert':_0xca0927=_0x4ebf29['position'],_0x56c140=_0xca0927['getShiftedBy'](_0x4ebf29['howMany']);break;case'split':_0xca0927=_0x4ebf29['splitPosition'],_0x56c140=_0x4ebf29['moveTargetPosition'];break;case'merge':{const _0x1e33ab=_0x4ebf29['targetPosition']['path']['slice'](0x0,-0x1);_0xca0927=_0x5b51e7['model']['createPositionFromPath'](_0x401140,_0x1e33ab),_0x56c140=_0xca0927['getShiftedBy'](0x1);break;}case'move':case'remove':{const _0x2182e0=_0x4ebf29['howMany'],_0x53b4e7=_0x4ebf29['sourcePosition']['_getTransformedByInsertion'](_0x4ebf29['targetPosition'],_0x2182e0),_0x5c009e=_0x4ebf29['getMovedRangeStart']();'remove'==_0x4ebf29['type']?(_0xca0927=_0x53b4e7,_0x56c140=_0x53b4e7):(_0xca0927=_0x5c009e,_0x56c140=_0x5c009e['getShiftedBy'](_0x2182e0));break;}}_0xca0927&&_0xca0927['isBefore'](_0x3249af)&&(_0x3249af=_0xca0927['clone'](),_0x3249af['stickiness']='toNone'),_0x56c140&&_0x56c140['isAfter'](_0x4a8fa7)&&(_0x4a8fa7=_0x56c140['clone'](),_0x4a8fa7['stickiness']='toNone');}return _0x5b51e7['model']['createSelection'](_0x5b51e7['model']['createRange'](_0x3249af,_0x4a8fa7));}function _0x2cac51(_0x28164f,_0x5d7a91){return'move'!=_0x5d7a91['type']&&'remove'!=_0x5d7a91['type']||_0x5d7a91['sourceRange']['containsPosition'](_0x28164f)&&((_0x28164f=_0x5d7a91['sourcePosition']['clone']())['stickiness']='toNone'),_0x28164f['getTransformedByOperation'](_0x5d7a91);}function _0x309ca4(_0x5bd896,_0x59514c){_0x26f56e(_0x5bd896,_0x59514c,'forward');const _0x10522e=_0x59514c['getFirstRange']();_0x59514c['setTo']([]),_0x59514c['setTo'](_0x10522e,{'backward':!0x0}),_0x26f56e(_0x5bd896,_0x59514c,'backward');}function _0x26f56e(_0x2ee52a,_0x150b20,_0x2af102){let _0x30111c=0x14;for(;_0x30111c;){_0x2ee52a['modifySelection'](_0x150b20,{'unit':'word','direction':_0x2af102}),_0x30111c--;const _0xb558bd=_0x150b20['focus']['forward'==_0x2af102?'nodeBefore':'nodeAfter'];if(_0xb558bd&&_0xb558bd['is']('element')&&_0x2ee52a['schema']['isBlock'](_0xb558bd)&&_0x2ee52a['schema']['isObject'](_0xb558bd))break;}}function _0xdd6c(_0x4cb0e3,_0x57f473){for(const [_0x2c5210,_0x8526a8]of _0x4cb0e3['markers']){const _0x551474=_0x8526a8['_getTransformedByDeletion'](_0x57f473['start'],_0x57f473['end']['offset']-_0x57f473['start']['offset']);null!=_0x551474?_0x4cb0e3['markers']['set'](_0x2c5210,_0x551474):_0x4cb0e3['markers']['delete'](_0x2c5210);}}class _0x173ae1 extends _0x5f37cd['ObservableMixin'](){['id'];['interactionId'];['type'];['content']=new Map();['sources']=[];['parsedContent']=new Map();['parsedMergedContent']=new Map();['changeGroups']=[];['areActionsDisabled']=!0x1;['isFromHistory']=!0x1;['documentContextContent'];['_documentIdToSource']=new Map();['aiResponseParser'];['aiResponseApplier'];['locale'];['cachedSuggestionContentParts']={'withDiff':[],'withoutDiff':[]};constructor({type:_0x1c5d2e,isDone:_0x32d847=!0x1,isComplete:_0x5c0a62,interactionId:_0x21523b,areActionsDisabled:_0x38806b,isFromHistory:_0x557471=!0x1,documentContextContent:_0x4edec3,locale:_0x7c309d,id:_0x45ce06,channelsToEditors:_0x46d37f}){super(),this['id']=_0x45ce06||_0x5f37cd['uid'](),this['interactionId']=_0x21523b,this['type']=_0x1c5d2e,this['areActionsDisabled']=!!_0x38806b,this['isFromHistory']=_0x557471,this['locale']=_0x7c309d,this['aiResponseParser']=new _0x259075(),this['aiResponseApplier']=new _0x5b4b42(),this['documentContextContent']=new Map(_0x4edec3?.['map'](_0x33a15a=>[_0x33a15a['id'],_0x6747e8(_0x33a15a['content'])])||[]),this['_documentIdToSource']=new Map(_0x4edec3?.['map'](_0x513d20=>[_0x513d20['id'],{'editor':_0x46d37f['get'](_0x513d20['channelId']),'rootName':_0x513d20['rootName']}])||[]),this['set']('isDone',_0x32d847),this['set']('isComplete',_0x5c0a62??_0x32d847),'text'===this['type']&&this['content']['set']('text','');}['appendContent'](_0x534d17,_0x4fac07){const _0x3e8546='text'===this['type']?'text':_0x4fac07;this['content']['has'](_0x3e8546)||this['content']['set'](_0x3e8546,''),this['content']['set'](_0x3e8546,this['content']['get'](_0x3e8546)+_0x534d17),this['onContentChange'](_0x3e8546);}['done'](_0x3a7cc8=!0x0){this['isComplete']=_0x3a7cc8,this['isDone']||(this['set']('isDone',!0x0),this['onContentChange']());}['destroy'](){this['stopListening']();}['setChangeGroupState'](_0x3755df,_0x4b772c){this['changeGroups'][_0x3755df]['state']=_0x4b772c,this['fire']('replyChangeGroupStateUpdated',{'reply':this,'index':_0x3755df,'state':_0x4b772c});}['getContentParts']({showDiff:_0x5839a3,groupIndex:_0x28a5f8}){const _0x15ede8=this['_getCachedContentParts'](_0x5839a3,_0x28a5f8);if(_0x15ede8)return _0x15ede8;let _0x13322f=[];if(void 0x0===_0x28a5f8)_0x13322f=this['changeGroups'];else{const _0x4876c3=this['changeGroups']['find'](({index:_0x1f6568})=>_0x1f6568===_0x28a5f8);if(!_0x4876c3)throw new _0x5f37cd['CKEditorError']('ai-reply-get-content-parts-group-not-found',null,{'aiReply':this,'groupIndex':_0x28a5f8});_0x13322f=[_0x4876c3];}const _0x1292dd=_0x2f060b({'showDiff':_0x5839a3,'changeGroups':_0x13322f,'documentContextContent':this['documentContextContent']});return this['_setCachedContentParts'](_0x5839a3,_0x1292dd),_0x1292dd;}['_getCachedContentParts'](_0x169ff7,_0x13e85a){const _0x2b841f=_0x169ff7?'withDiff':'withoutDiff';if(!this['cachedSuggestionContentParts'][_0x2b841f]['length'])return null;const _0x5010d1=this['cachedSuggestionContentParts'][_0x2b841f];if(void 0x0===_0x13e85a)return _0x5010d1['length']>0x0&&_0x5010d1['length']!==this['changeGroups']['length']?(this['_setCachedContentParts'](_0x169ff7,null),null):_0x30292a(_0x5010d1);{const _0x5e8f57=_0x5010d1['find'](({index:_0x190782})=>_0x190782===_0x13e85a);if(_0x5e8f57)return[_0x30292a(_0x5e8f57)];}return null;}['_setCachedContentParts'](_0x2b6e19,_0x741011){const _0x248bc3=_0x2b6e19?'withDiff':'withoutDiff';_0x741011?_0x741011['forEach'](_0x4d01c0=>{const _0x174ba3=this['cachedSuggestionContentParts'][_0x248bc3],_0x560d9e=_0x174ba3['find'](({index:_0xfb5dd5})=>_0xfb5dd5===_0x4d01c0['index']);if(_0x560d9e){const _0x3dfa99=_0x174ba3['indexOf'](_0x560d9e);_0x174ba3['splice'](_0x3dfa99,0x1,_0x4d01c0);}else _0x174ba3['push'](_0x4d01c0);}):this['cachedSuggestionContentParts'][_0x248bc3]['length']=0x0;}['onContentChange'](_0x370c90){if('modification'===this['type']){if(_0x370c90)this['parsedContent']['set'](_0x370c90,this['aiResponseParser']['parseAndNormalizeHTML'](this['content']['get'](_0x370c90)));else{for(const [_0x1e048c,_0x29dfa2]of this['content'])this['parsedContent']['set'](_0x1e048c,this['aiResponseParser']['parseAndNormalizeHTML'](_0x29dfa2));}const _0x49b6a3=this['changeGroups'];for(const _0x53d034 of this['content']['keys']())this['updateChangeGroups'](_0x53d034);const _0x3b246f=this['_getDifferentChangeGroups'](_0x49b6a3,this['changeGroups']);(_0x3b246f['length']||this['isDone'])&&(this['fire']('replyContentUpdated',this,_0x3b246f),this['cachedSuggestionContentParts']['withDiff']['length']=this['cachedSuggestionContentParts']['withoutDiff']['length']=0x0);}else this['parsedContent']['set']('text',this['aiResponseParser']['convertMarkdownToHTML'](this['content']['get']('text'))),this['fire']('replyContentUpdated',this);}['_getDifferentChangeGroups'](_0x440ed2,_0x5c9652){const _0x27b669=[];for(const _0x2368a6 of _0x5c9652){const _0x5212da=_0x440ed2[_0x2368a6['index']];_0x5212da?_0x5212da['changes']['length']!==_0x2368a6['changes']['length']?_0x27b669['push'](_0x2368a6):_0x5212da['changes']['forEach']((_0xebbc1d,_0x324bde)=>{const _0x1e39f1=_0x2368a6['changes'][_0x324bde];_0xebbc1d['id']!==_0x1e39f1['id']&&_0x27b669['push'](_0x2368a6);}):_0x27b669['push'](_0x2368a6);}return _0x27b669;}['updateChangeGroups'](_0x5126d3){const _0x257dad=this['documentContextContent']['get'](_0x5126d3),_0x72a32b=this['parsedContent']['get'](_0x5126d3);if(!_0x257dad||!_0x72a32b)return;const _0x23cb8e=new _0x40913d('p',{},[new _0x40913d('span',{'style':'color:\x20#808080;\x20font-style:\x20italic'},[new _0x5454a3(Qt(this['locale'],'AI_SUGGESTION_CONTENT_PART_REMOVED'))])]),_0x45fdfe=this['aiResponseApplier']['merge'](_0x72a32b,_0x257dad['cloneNode'](!0x0),{'cutAfterUnstable':!this['isDone']||!this['isComplete'],'replaceRemovedWith':_0x23cb8e});this['parsedMergedContent']['set'](_0x5126d3,_0x45fdfe['parsedContent']);let _0x303175=[];if(_0x502422(_0x1f6042=>{const _0x49ef49=_0x31b99b(_0x1f6042,'data-id');if(!_0x49ef49||!_0x149a2c(_0x49ef49))return!0x1;const _0x1fc9fa=[_0x1f6042,..._0x31e200(_0x1f6042)]['at'](-0x2);if(_0x1f6042!=_0x1fc9fa){const _0x3aa159=_0x31b99b(_0x1fc9fa,'data-id');_0x149a2c(_0x3aa159)||(_0x303175['push']({'node':_0x1fc9fa,'id':_0x3aa159,'type':'modified'}),_0x45fdfe['modifiedNodeIds']['push'](_0x3aa159));}else _0x45fdfe['modifiedNodeIds']['includes'](_0x49ef49)?_0x303175['push']({'node':_0x1f6042,'type':'modified','id':_0x49ef49}):_0x45fdfe['newNodeIds']['includes'](_0x49ef49)?_0x303175['push']({'node':_0x1f6042,'type':'new','id':_0x49ef49,'anchorId':_0x31b99b(_0x1f6042['previousSibling'],'data-id')}):_0x303175['push']({'node':_0x1f6042,'type':'removed','id':_0x49ef49});return!0x0;},this['parsedMergedContent']['get'](_0x5126d3)),_0x303175=_0x303175['filter'](({node:_0x4b94f0})=>[..._0x31e200(_0x4b94f0),_0x4b94f0]['every'](_0x1f407b=>!_0x31b99b(_0x1f407b,'data-unstable'))),this['changeGroups']=this['changeGroups']['filter'](_0x525265=>_0x525265['documentId']!==_0x5126d3),0x0==_0x303175['length'])return;const _0x397469=[[_0x303175[0x0]]];for(let _0x3f8f15=0x1;_0x3f8f15<_0x303175['length'];_0x3f8f15++){const _0x58fc8a=_0x397469[_0x397469['length']-0x1],_0x122b68=_0x58fc8a[_0x58fc8a['length']-0x1];_0x303175[_0x3f8f15]['node']['previousSibling']==_0x122b68['node']&&'modified'!=_0x303175[_0x3f8f15]['type']&&'modified'!=_0x122b68['type']?_0x58fc8a['push'](_0x303175[_0x3f8f15]):_0x397469['push']([_0x303175[_0x3f8f15]]);}for(const _0xbfab3b of _0x397469){const _0x1c9621=_0xbfab3b[0x0],_0x3afa87=_0xbfab3b[_0xbfab3b['length']-0x1],_0x24a889=_0x49e2ab(_0x1c9621['node']['previousSibling']);_0x24a889&&_0xbfab3b['unshift'](_0x24a889);const _0x4dcaf5=_0x49e2ab(_0x3afa87['node']['nextSibling']);_0x4dcaf5&&_0xbfab3b['push'](_0x4dcaf5);}_0x453ad8('data-wrapped-id',null,this['parsedMergedContent']['get'](_0x5126d3))['forEach'](_0x14e234=>{_0x4d1058(_0x14e234,'data-wrapped-id',null);});const _0xfd6507=new Map();_0x453ad8('data-unwrapped-id',null,this['parsedMergedContent']['get'](_0x5126d3))['forEach'](_0x52cd97=>{const _0x421bd3=_0x31b99b(_0x52cd97,'data-unwrapped-id'),_0x27c2e2=_0x31b99b(_0x52cd97,'data-id');_0xfd6507['set'](_0x27c2e2,_0x421bd3),_0x4d1058(_0x52cd97,'data-id',_0x421bd3),_0x4d1058(_0x52cd97,'data-unwrapped-id',null);});for(const _0x27d430 of _0x303175){const _0x13eb18=_0xfd6507['get'](_0x27d430['id']);_0x13eb18&&(_0x27d430['id']=_0x13eb18);}this['changeGroups']['push'](..._0x397469['map']((_0x4a723c,_0x524084)=>({'changes':_0x4a723c,'state':'pending','index':_0x524084,'editor':this['_documentIdToSource']['get'](_0x5126d3)['editor'],'rootName':this['_documentIdToSource']['get'](_0x5126d3)['rootName'],'documentId':_0x5126d3})));const _0x1646c2=Array['from'](this['documentContextContent']['keys']());function _0x149a2c(_0x4bc6c9){return _0x45fdfe['modifiedNodeIds']['includes'](_0x4bc6c9)||_0x45fdfe['newNodeIds']['includes'](_0x4bc6c9)||_0x45fdfe['removedNodeIds']['includes'](_0x4bc6c9);}function _0x49e2ab(_0x3c4f84){if(_0x3c4f84&&_0x31b99b(_0x3c4f84,'data-id')&&!_0x31b99b(_0x3c4f84,'data-unstable')){const _0x2ec168=_0x31b99b(_0x3c4f84,'data-id');if(!_0x149a2c(_0x2ec168))return{'node':_0x3c4f84,'type':'context','id':_0x2ec168};}return null;}this['changeGroups']['sort']((_0x5e420e,_0x4758c8)=>_0x1646c2['indexOf'](_0x5e420e['documentId'])-_0x1646c2['indexOf'](_0x4758c8['documentId'])),this['changeGroups']['forEach']((_0x4495bc,_0x2c8641)=>{_0x4495bc['index']=_0x2c8641;});}}const _0x6ace29=['interactionCreated','interactionStarted','interactionStopped','interactionFinished','interactionDestroyed','replyCreated','replyContentUpdated','replyChangeGroupStateUpdated','setConversationTitle','webSearchStarted','webSearchFinished','reasoningStarted','reasoningFinished','toolDataReceived','error'];class AIInteraction extends _0x5f37cd['EmitterMixin'](){['id'];['replies']=[];['currentReply'];['messageId'];['actionCallId'];['currentRequest'];['connector'];['isStopped']=!0x1;['isDestroyed']=!0x1;['locale'];['_isReasoning']=!0x1;['_isWebSearching']=!0x1;['_channelsToEditors'];constructor({connector:_0x2a31aa,locale:_0x524a44,channelsToEditors:_0x3abf51}){super(),this['id']=_0x5f37cd['uid'](),this['connector']=_0x2a31aa,this['isStopped']=!0x0,this['locale']=_0x524a44,this['_channelsToEditors']=_0x3abf51||new Map();}async['start'](){await this['_run']();}async['resume'](_0x33acbe){await this['_run'](_0x33acbe);}async['_run'](_0x197f93){const _0x3b56f1=[];let _0x55deda,_0x294211,_0x445d77,_0x4ca894=!0x1;this['isStopped']=!0x1;try{this['currentRequest']=_0x197f93||await this['sendRequest'](),this['fire']('interactionStarted',this);const _0x20f8e4=await this['currentRequest']['getStream']();for await(const _0x56cd5e of _0x20f8e4){if(this['isStopped'])return;if('error'==_0x56cd5e['event'])return void this['fire']('error',{'error':new _0x5f37cd['CKEditorError']('ai-chat-interaction-error',this)});switch(_0x56cd5e['event']){case'message-metadata':this['messageId']=_0x56cd5e['data']['messageId'];break;case'action-metadata':this['actionCallId']=_0x56cd5e['data']['callId'];break;case'conversation-title':this['setConversationTitle'](_0x56cd5e['data']['conversationTitle'],!0x0);break;case'source':_0x3b56f1['push'](_0x56cd5e['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'](),_0x55deda='modification-delta'==_0x56cd5e['event']?'modification':'text',_0x294211='modification-delta'==_0x56cd5e['event']?_0x56cd5e['data']['id']:void 0x0,this['currentReply']&&this['currentReply']['type']!=_0x55deda&&(this['currentReply']['done'](),this['currentReply']=void 0x0),this['currentReply']||(this['currentReply']=this['createReply']({'type':_0x55deda,'interactionId':this['id'],'id':_0x294211,'channelsToEditors':this['_channelsToEditors'],...'modification-delta'==_0x56cd5e['event']&&{'documentId':_0x56cd5e['data']['documentId']}}),'modification'==_0x55deda&&(this['currentReply']['sources']=_0x3b56f1['splice'](0x0))),this['currentReply']['appendContent'](_0x56cd5e['data']['textDelta'],_0x56cd5e['data']['documentId']);break;case'mcp-tool-result':_0x445d77=JSON['parse'](_0x56cd5e['data']['result']),this['_handleToolResultData']({'toolName':_0x56cd5e['data']['toolName'],'data':_0x445d77['data'],'attributes':_0x445d77['attributes']});break;case'mcp-tool-notification':this['_handleToolNotificationData']({'toolName':_0x56cd5e['data']['toolName'],'data':_0x56cd5e['data']['data']});}}_0x4ca894=!0x0;}finally{this['isStopped']||(this['currentReply']&&_0x3b56f1['length']>0x0&&(this['currentReply']['sources']=_0x3b56f1['splice'](0x0)),this['_finalizeInteraction'](_0x4ca894),this['fire']('interactionFinished',this));}}['stop'](){this['isStopped']||(this['_finalizeInteraction'](),this['fire']('interactionStopped',this));}['getReply'](_0x50a3b6){return this['replies']['find'](_0x197efa=>_0x197efa['id']===_0x50a3b6);}['destroy'](){this['isDestroyed']||(this['stop'](),this['replies']['forEach'](_0x1bfea6=>_0x1bfea6['destroy']()),this['replies']=[],this['isDestroyed']=!0x0,this['fire']('interactionDestroyed',this),this['stopListening']());}['createReply'](_0x110b87){const _0x4bd11c=this['getDocumentContext'](),_0x434391=new _0x173ae1({'locale':this['locale'],'documentContextContent':_0x4bd11c?.['documents'],..._0x110b87});return this['replies']['push'](_0x434391),_0x434391['delegate'](..._0x6ace29)['to'](this),this['fire']('replyCreated',_0x434391),_0x434391;}['setConversationTitle'](_0x249f4f,_0x19c97e=!0x1){this['fire']('setConversationTitle',_0x249f4f,_0x19c97e);}['resetWebSearchState'](){this['_isWebSearching']&&(this['_isWebSearching']=!0x1,this['fire']('webSearchFinished',this));}['resetReasoningState'](){this['_isReasoning']&&(this['_isReasoning']=!0x1,this['fire']('reasoningFinished',this));}['_handleToolResultData'](_0x1ce116){this['fire']('toolDataReceived',{'type':'result','toolName':_0x1ce116['toolName'],'data':structuredClone(_0x1ce116['data']||{}),'attributes':structuredClone(_0x1ce116['attributes']||{})},this);}['_handleToolNotificationData'](_0x48e726){this['fire']('toolDataReceived',{'type':'notification','toolName':_0x48e726['toolName'],'data':structuredClone(_0x48e726['data'])},this);}['_finalizeInteraction'](_0x28e717=!0x1){this['isStopped']=!0x0,this['currentRequest']&&this['currentRequest']['abortController']['abort'](),this['currentReply']&&this['currentReply']['done'](_0x28e717),this['currentRequest']=this['currentReply']=void 0x0;}}const _0x4da561=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']]),_0x2be1f4=['contextItemAdded','contextItemRemoved','contextItemLoadingEnded','contextSent','error','addContextOptionsChanged','sourceResourcesLoaded','resourceStateChanged','uploadProgressChanged'];class AIChatContext extends _0x5f37cd['ObservableMixin'](){['_connector'];['_config'];['_ownerId'];constructor({connector:_0xb1a7ae,config:_0x342ecc,ownerId:_0x2d4b4a}){super(),this['_connector']=_0xb1a7ae,this['_config']=_0x342ecc,this['_ownerId']=_0x2d4b4a;}['init'](){this['_pendingContextItems']=new Map(),this['_conversationContextItems']=new Map(),this['_ongoingUploads']=new Map(),this['_ongoingUploadOperations']=new Map(),this['_setAddContextOptionsDefaultState']();}['getPendingContextItems'](){return this['_pendingContextItems'];}async['populateFromMessage'](_0x2505e9){const _0x45cfce=await this['_createContextItemFromContent'](_0x2505e9);return this['_addToConversationContextItem'](_0x45cfce),'current-document'===_0x45cfce['uiId']&&this['toggleAddCurrentDocumentOptionVisibility'](),_0x45cfce;}async['populateDocumentsFromMessage'](_0x585293,_0x53d927){const _0xe21ac0=_0x585293['filter'](_0x5d9974=>'document'===_0x5d9974['type']);if(0x0===_0xe21ac0['length'])return{'hasUnmatched':!0x1};const _0x319f13=_0xe21ac0['map'](_0xf5884e=>_0xf5884e['id']),_0x187788=await this['_connector']['fetchDocuments'](this['_ownerId'],_0x319f13)['getDocuments'](),_0x192368=new Map(_0x187788['map'](_0x1006c0=>[_0x1006c0['id'],_0x1006c0])),_0xd8ece8=[];let _0x131402=!0x1;for(const _0x18a5e3 of _0xe21ac0){const _0xb5c93a=_0x192368['get'](_0x18a5e3['id']);_0xb5c93a&&(this['_matchDocumentToRoot'](_0xb5c93a,_0x53d927)||(_0x131402=!0x0),_0xd8ece8['push']({'id':_0xb5c93a['id'],'content':_0xb5c93a['content'],'version':_0xb5c93a['attributes']?.['version']??0x0,'sessionId':_0xb5c93a['attributes']?.['sessionId']??null,'selection':[],'channelId':_0xb5c93a['attributes']?.['channelId']??_0x53d927[0x0]?.['config']['get']('collaboration.channelId')??'','rootName':_0xb5c93a['attributes']?.['rootName']??_0x53d927[0x0]?.['model']['document']['getRoots']()[0x0]['rootName']??''}));}const _0x250d40={'id':'current-document','uiId':'current-document','label':'Current\x20document','type':'document','hidden':this['_conversationContextItems']['has']('current-document'),'documents':_0xd8ece8};return this['_addToConversationContextItem'](_0x250d40),this['toggleAddCurrentDocumentOptionVisibility'](),{'contextItem':_0x250d40,'hasUnmatched':_0x131402};}['_matchDocumentToRoot'](_0x526a30,_0x13dc08){const _0x37df07=_0x526a30['attributes']?.['channelId'],_0x285105=_0x526a30['attributes']?.['rootName'];if(_0x37df07&&_0x285105){for(const _0x580a95 of _0x13dc08)if(_0x580a95['config']['get']('collaboration.channelId')===_0x37df07){for(const _0x4681a9 of _0x580a95['model']['document']['getRoots']())if('$graveyard'!==_0x4681a9['rootName']&&_0x4681a9['rootName']===_0x285105)return{'editor':_0x580a95,'rootName':_0x4681a9['rootName']};}}}async['_createContextItemFromContent'](_0x56933a){if('document'===_0x56933a['type']){const _0x3d9df1=await this['_connector']['fetchDocument'](this['_ownerId'],_0x56933a['id'])['getDocument']();return{'id':'current-document','uiId':'current-document','label':'Current\x20document','type':_0x56933a['type'],'content':_0x3d9df1['content'],'hidden':this['_conversationContextItems']['has']('current-document'),'version':_0x3d9df1['attributes']?.['version'],'sessionId':_0x3d9df1['attributes']?.['sessionId']};}if('mcp-tool-context'===_0x56933a['type'])return{'id':_0x56933a['id'],'uiId':_0x56933a['id'],'label':_0x56933a['data']?.['label']||_0x56933a['id'],'type':'mcp-tool-context','mcpServerName':_0x56933a['mcpServerName'],'toolName':_0x56933a['toolName'],'data':_0x56933a['data']||{}};return{'id':_0x56933a['id'],'uiId':_0x56933a['id'],'label':_0x56933a['attributes']?.['label']||_0x56933a['name']||_0x56933a['url']||_0x56933a['id'],'type':_0x56933a['type'],..._0x56933a?.['attributes']?.['resourceId']?{'resourceId':_0x56933a['attributes']?.['resourceId']}:{}};}['getSentContextItems'](){return new Map(this['_conversationContextItems']);}['removeFromContext'](_0x30b86b){const _0xb12841=this['_pendingContextItems']['get'](_0x30b86b);_0xb12841?.['isReadOnly']||this['_removeContextItem'](_0x30b86b);}['clearPendingContextItems'](){if(0x0===this['_pendingContextItems']['size'])return;for(const _0x53d87f of this['_pendingContextItems']['values']())this['_removeContextItem'](_0x53d87f['uiId']);const _0x455d76=this['_conversationContextItems']['get']('current-document')||this['_pendingContextItems']['get']('current-document');_0x455d76&&this['_addContextItem']({..._0x455d76,'isReadOnly':!0x0,'hidden':!0x0});}['addToConversationContext'](_0x3444d5){for(const _0x3cf27a of _0x3444d5['values']())this['_addToConversationContextItem'](_0x3cf27a);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'](_0xd2f333){return Array['from'](_0xd2f333['values']())['flatMap'](_0x38c736=>this['_mapContextItemToRequestData'](_0x38c736));}async['addFilesToContext'](_0x256b00,_0x1dc727,_0x17ac28='file'){const _0x57393c='files-'+_0x5f37cd['uid']();this['_startUploadOperation'](_0x57393c);try{await Promise['all'](_0x256b00['map'](async _0x310b92=>{const _0x59db37='file-'+_0x5f37cd['uid'](),_0x4ea1c3=Tt(_0x310b92['name']),_0xc8b716='file'===_0x17ac28&&_0x310b92['type']['startsWith']('image/')?'image':_0x17ac28;try{this['_addContextItem']({'type':_0xc8b716,'label':_0x1dc727?.['label']||_0x4ea1c3,'uiId':_0x59db37,'resourceId':_0x1dc727?.['resourceId']},!0x0);const _0x5b5bda=this['_connector']['uploadFile'](this['_ownerId'],_0x310b92,_0x1dc727);this['_ongoingUploads']['set'](_0x59db37,_0x5b5bda['abortController']);const {id:_0x39437a}=await _0x5b5bda['getId']();this['_ongoingUploads']['delete'](_0x59db37),this['_finishContextItemLoading']({'type':_0xc8b716,'id':_0x39437a,'label':_0x1dc727?.['label']||_0x4ea1c3,'uiId':_0x59db37,'resourceId':_0x1dc727?.['resourceId']},!0x1);}catch(_0x331456){this['_ongoingUploads']['delete'](_0x59db37);if(!(_0x331456 instanceof _0x5f37cd['CKEditorError']&&_0x331456['message']['startsWith']('ai-request-aborted'))){const _0x270420=_0x4da561['get'](_0x331456['code'])||'ai-chat-file-upload-failed',_0x442594=new _0x5f37cd['CKEditorError'](_0x270420,null,{'fileName':_0x4ea1c3,..._0x331456});_0x442594['stack']=_0x331456['stack'],this['fire']('error',{'error':_0x442594});}this['_removeContextItem'](_0x59db37);}}));}finally{this['_finishUploadOperation'](_0x57393c);}}['addCurrentDocumentToContext'](_0x3aefa2){if(this['isCurrentDocumentInContext']()||!this['_addContextOptionsState']['document']['enabled'])return;const _0x2b1aa7={'type':'document','uiId':'current-document','label':_0x3aefa2,'isReadOnly':this['_conversationContextItems']['has']('current-document'),'hidden':this['_conversationContextItems']['has']('current-document')};this['_addContextItem'](_0x2b1aa7);}async['updateCurrentDocuments'](_0x12df16){const _0x131f02=this['_pendingContextItems']['get']('current-document');if(!_0x131f02||!_0x12df16['length']||_0x12df16['every'](_0x4ffd65=>!_0x4ffd65['content']))return;_0x12df16['length']>0x1&&_0x12df16['some'](_0x49df95=>!_0x49df95['description'])&&_0x5f37cd['logWarning']('ai-chat-documents-missing-description');try{const _0x57f75e=await this['_connector']['uploadDocuments'](this['_ownerId'],_0x12df16)['getIds']();if(_0x57f75e['length']!==_0x12df16['length']||_0x57f75e['some'](_0x28e6f4=>!_0x28e6f4?.['id'])){const _0x4077ca=new _0x5f37cd['CKEditorError']('ai-chat-document-upload-reply-mismatch',null);return void this['fire']('error',{'error':_0x4077ca});}_0x131f02['documents']=_0x12df16['map']((_0x1aa156,_0x43efaf)=>{return{'id':_0x57f75e[_0x43efaf]['id'],'content':_0x1aa156['content'],'version':_0x1aa156['version'],'sessionId':_0x1aa156['sessionId'],'selection':(_0x16d39f=_0x1aa156['selections'],_0x16d39f?_0x16d39f['map'](_0x4926f9=>({'start':_0x4926f9['start'],'end':_0x4926f9['end']})):[]),'channelId':_0x1aa156['channelId'],'rootName':_0x1aa156['rootName']};var _0x16d39f;});}catch(_0xe77757){const _0x29c4ff=new _0x5f37cd['CKEditorError']('ai-chat-document-upload-failed',null);_0x29c4ff['stack']=_0xe77757['stack'],this['fire']('error',{'error':_0x29c4ff});}}['addSelectionToContext'](_0x3fbdae){this['_addContextItem']({'type':'selection','label':_0x3fbdae,'uiId':'selection','content':_0x3fbdae});}['removeSelectionFromContext'](){this['_removeContextItem']('selection');}async['addUrlToContext'](_0x19ebbc,_0x347dc8){const _0x477fe8='url-'+_0x5f37cd['uid']();this['_startUploadOperation'](_0x477fe8);const _0x3d4989='url-'+_0x5f37cd['uid']();try{this['_addContextItem']({'type':'web-resource','label':_0x347dc8?.['label']||_0x19ebbc,'uiId':_0x3d4989,'resourceId':_0x347dc8?.['resourceId']},!0x0);const _0x17aa0c=this['_connector']['uploadUrl'](this['_ownerId'],_0x19ebbc,_0x347dc8);this['_ongoingUploads']['set'](_0x3d4989,_0x17aa0c['abortController']);const {id:_0x21123e}=await _0x17aa0c['getId']();this['_ongoingUploads']['delete'](_0x3d4989),this['_finishContextItemLoading']({'type':'web-resource','id':_0x21123e,'label':_0x347dc8?.['label']||_0x19ebbc,'uiId':_0x3d4989,'resourceId':_0x347dc8?.['resourceId']},!0x1);}catch(_0x39a3ba){this['_ongoingUploads']['delete'](_0x3d4989),(_0x39a3ba['message']['startsWith']('ai-request-aborted')||this['fire']('error',{'error':new _0x5f37cd['CKEditorError']('ai-chat-url-upload-failed',this,{'url':_0x19ebbc,'originalError':_0x39a3ba}),'url':_0x19ebbc}),this['_removeContextItem'](_0x3d4989));}finally{this['_finishUploadOperation'](_0x477fe8);}}['addToolItemToContext'](_0x1ab462){_0x1ab462['id']=_0x1ab462['id']??_0x5f37cd['uid']()['substring'](0x0,0x15),this['_pendingContextItems']['set'](_0x1ab462['uiId'],_0x1ab462),this['fire']('contextItemAdded',{'contextItem':_0x1ab462,'isLoading':!0x1});}async['loadSourceResources'](_0x550118,_0x354d0e,_0xe8e9){const _0x4bb482=this['_addContextOptionsState']['sources']['find'](_0x10d847=>_0x10d847['id']===_0x550118);if(!_0x4bb482)return this['fire']('error',{'error':new _0x5f37cd['CKEditorError']('ai-chat-source-not-found',this,{'sourceId':_0x550118}),'sourceId':_0x550118}),[];try{const _0x3dd063=(await _0x4bb482['getResources'](_0x354d0e))['map'](_0x58d46d=>{const _0x1d72b1=this['_isResourceInContext'](_0x58d46d['id']);return{..._0x58d46d,'isInContext':_0x1d72b1};});return _0x4bb482['resources']=_0x3dd063,this['fire']('sourceResourcesLoaded',{'sourceId':_0x550118,'source':_0x4bb482,'resources':_0x3dd063,'uid':_0xe8e9}),_0x3dd063;}catch(_0x4f128e){return this['fire']('error',{'error':new _0x5f37cd['CKEditorError']('ai-chat-source-resources-load-failed',this,{'sourceId':_0x550118,'originalError':_0x4f128e}),'sourceId':_0x550118,'sourceLabel':_0x4bb482['label']}),[];}}async['addResourceToContext'](_0x30b644,_0x460979){if(this['_isResourceInContext'](_0x460979['id']))return;let _0x24c2e7=_0x460979['data'];if(!_0x24c2e7&&_0x30b644['getData'])try{_0x24c2e7=await _0x30b644['getData'](_0x460979['id']);}catch(_0xe63b53){return void this['fire']('error',{'error':new _0x5f37cd['CKEditorError']('ai-chat-resource-load-failed',this,{'resourceId':_0x460979['id'],'sourceId':_0x30b644['id'],'originalError':_0xe63b53}),'resourceId':_0x460979['id'],'sourceId':_0x30b644['id']});}if(_0x24c2e7)switch(_0x460979['type']){case'web-resource':if('string'!=typeof _0x24c2e7)return void this['fire']('error',{'error':new _0x5f37cd['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x460979['id'],'sourceId':_0x30b644['id'],'expectedType':'string','actualType':typeof _0x24c2e7}),'resourceId':_0x460979['id'],'sourceId':_0x30b644['id']});await this['addUrlToContext'](_0x24c2e7,{'label':_0x460979['label'],'resourceId':_0x460979['id']});break;case'file':if(!(_0x24c2e7 instanceof File))return void this['fire']('error',{'error':new _0x5f37cd['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x460979['id'],'sourceId':_0x30b644['id'],'expectedType':'File','actualType':typeof _0x24c2e7}),'resourceId':_0x460979['id'],'sourceId':_0x30b644['id']});await this['addFilesToContext']([_0x24c2e7],{'label':_0x460979['label'],'resourceId':_0x460979['id']});break;case'text':if('object'!=typeof _0x24c2e7||!('content'in _0x24c2e7)||!('type'in _0x24c2e7))return void this['fire']('error',{'error':new _0x5f37cd['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x460979['id'],'sourceId':_0x30b644['id'],'expectedType':'object\x20with\x20content\x20and\x20type\x20properties','actualType':typeof _0x24c2e7}),'resourceId':_0x460979['id'],'sourceId':_0x30b644['id']});_0x24c2e7=AIChatContext['_convertTextResourceToFile'](_0x24c2e7,_0x460979['label']),await this['addFilesToContext']([_0x24c2e7],{'label':_0x460979['label'],'resourceId':_0x460979['id']},'text');break;case'mcp-tool-context':break;default:this['fire']('error',{'error':new _0x5f37cd['CKEditorError']('ai-chat-context-unsupported-type',this,{'resourceId':_0x460979['id'],'sourceId':_0x30b644['id'],'resourceType':_0x460979['type']}),'resourceId':_0x460979['id'],'sourceId':_0x30b644['id']});}else this['fire']('error',{'error':new _0x5f37cd['CKEditorError']('ai-chat-resource-no-data',this,{'resourceId':_0x460979['id'],'sourceId':_0x30b644['id']}),'resourceId':_0x460979['id'],'sourceId':_0x30b644['id']});}['toggleAddCurrentDocumentOptionVisibility'](_0x45f32a){if(void 0x0!==_0x45f32a)this['_addContextOptionsState']['document']['isHidden']=!_0x45f32a;else{const _0x18982e=this['isCurrentDocumentInContext']()||this['isCurrentDocumentInConversation']();this['_addContextOptionsState']['document']['isHidden']=_0x18982e;}this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}static['_convertTextResourceToFile'](_0x536740,_0x188b85){switch(_0x536740['type']){case'markdown':return new File([_0x536740['content']],_0x188b85,{'type':'text/markdown'});case'html':return new File([_0x536740['content']],_0x188b85,{'type':'text/html'});default:return new File([_0x536740['content']],_0x188b85,{'type':'text/plain'});}}static['_mapContextItemToRequestData'](_0x13e50e){switch(_0x13e50e['type']){case'file':case'image':case'text':return[{'type':'file','id':_0x13e50e['id']}];case'web-resource':return[{'type':'web-resource','id':_0x13e50e['id']}];case'document':return _0x13e50e['documents']?.['length']?_0x13e50e['documents']['map'](_0x47721a=>({'type':'document','id':_0x47721a['id'],..._0x47721a['selection']?.['length']&&{'selection':_0x47721a['selection']}})):[{'type':'document','id':_0x13e50e['id'],..._0x13e50e['selection']?.['length']&&{'selection':_0x13e50e['selection']}}];case'mcp-tool-context':{const _0x2cf43a=_0x13e50e;return[{'type':'mcp-tool-context','mcpServerName':_0x2cf43a['mcpServerName'],'toolName':_0x2cf43a['toolName'],'data':{..._0x2cf43a['data'],'label':_0x2cf43a['label']||_0x2cf43a['data']?.['label']||_0x2cf43a['id']},'id':_0x2cf43a['id']}];}default:return[];}}['_addContextItem'](_0x2b37f9,_0x259d57=!0x1){if(this['_pendingContextItems']['set'](_0x2b37f9['uiId'],_0x2b37f9),_0x2b37f9['hidden']||this['fire']('contextItemAdded',{'contextItem':_0x2b37f9,'isLoading':_0x259d57}),'current-document'===_0x2b37f9['uiId']&&this['toggleAddCurrentDocumentOptionVisibility'](),_0x2b37f9['resourceId']){const _0x2492d7=this['_findSourceIdsByResourceId'](_0x2b37f9['resourceId']);_0x2492d7&&_0x2492d7['forEach'](_0x1cb8ba=>{this['_updateResourceInContextState'](_0x1cb8ba,_0x2b37f9['resourceId'],!0x0);});}}['_removeContextItem'](_0x1260df){const _0x5054af=this['_pendingContextItems']['get'](_0x1260df),_0x32bb9d=this['_ongoingUploads']['get'](_0x1260df);if(_0x32bb9d&&(_0x32bb9d['abort'](),this['_ongoingUploads']['delete'](_0x1260df)),_0x5054af?.['resourceId']){const _0xa16911=this['_findSourceIdsByResourceId'](_0x5054af['resourceId']);_0xa16911&&_0xa16911['forEach'](_0x2cd9e2=>{this['_updateResourceInContextState'](_0x2cd9e2,_0x5054af['resourceId'],!0x1);});}this['_pendingContextItems']['delete'](_0x1260df),this['fire']('contextItemRemoved',{'uiId':_0x1260df,'type':_0x5054af?.['type']}),'current-document'===_0x1260df&&this['toggleAddCurrentDocumentOptionVisibility']();}['_finishContextItemLoading'](_0x28e8ff,_0x2f917d){if(this['_pendingContextItems']['has'](_0x28e8ff['uiId'])&&(this['_pendingContextItems']['set'](_0x28e8ff['uiId'],_0x28e8ff),this['fire']('contextItemLoadingEnded',{'contextItem':_0x28e8ff,'isLoading':_0x2f917d}),_0x28e8ff['resourceId'])){const _0x56d801=this['_findSourceIdsByResourceId'](_0x28e8ff['resourceId']);_0x56d801&&_0x56d801['forEach'](_0x16edfd=>{this['_updateResourceInContextState'](_0x16edfd,_0x28e8ff['resourceId'],!0x0);});}}['_addToConversationContextItem'](_0x3d6716){this['_conversationContextItems']['set'](_0x3d6716['uiId'],_0x3d6716);}['_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'](_0x3462e9=>({..._0x3462e9,'enabled':!0x0}))??[]},this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_getCustomSourcesInitialState'](){return this['_config']?.['sources']?.['map'](_0x58aca1=>({..._0x58aca1,'resources':[]}))??[];}['_isResourceInContext'](_0x5d00cf){for(const _0x4bc6da of this['_pendingContextItems']['values']())if(_0x4bc6da['resourceId']===_0x5d00cf)return!0x0;for(const _0x522689 of this['_conversationContextItems']['values']())if(_0x522689['resourceId']===_0x5d00cf)return!0x0;return!0x1;}['_findSourceIdsByResourceId'](_0x784032){const _0x1a7c2c=[];for(const _0x589c7b of this['_addContextOptionsState']['sources']){_0x589c7b['resources']['find'](_0x85a589=>_0x85a589['id']===_0x784032)&&_0x1a7c2c['push'](_0x589c7b['id']);}return 0x0===_0x1a7c2c['length']?null:_0x1a7c2c;}['_updateResourceInContextState'](_0x2cc6a8,_0x43f692,_0x26fb84){const _0x43a56c=this['_addContextOptionsState']['sources']['find'](_0x5577af=>_0x5577af['id']===_0x2cc6a8);if(!_0x43a56c)return;const _0x2108e0=_0x43a56c['resources']['find'](_0x4fab15=>_0x4fab15['id']===_0x43f692);_0x2108e0&&(_0x2108e0['isInContext']=_0x26fb84,this['fire']('resourceStateChanged',{'sourceId':_0x2cc6a8,'resourceId':_0x43f692,'isInContext':_0x26fb84}));}['_startUploadOperation'](_0x248a03){this['_ongoingUploadOperations']['set'](_0x248a03,!0x0),this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x0});}['_finishUploadOperation'](_0x4ea493){this['_ongoingUploadOperations']['delete'](_0x4ea493),0x0===this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x1});}}const _0x427e14=['capabilitiesUpdated'];class AICapabilities extends _0x5f37cd['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'](_0x10902a){const _0x3a5be4={};return _0x10902a&&_0x10902a['isWebSearchEnabled']&&(_0x3a5be4['webSearch']={}),_0x10902a&&_0x10902a['isReasoningEnabled']&&(_0x3a5be4['reasoning']={}),_0x3a5be4;}['toggleWebSearch'](){this['setWebSearch'](!this['_isWebSearchEnabled']);}['toggleReasoning'](){this['setReasoning'](!this['_isReasoningEnabled']);}['setWebSearch'](_0x12d3d8){_0x12d3d8!==this['_isWebSearchEnabled']&&(this['_isWebSearchEnabled']=_0x12d3d8,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}['setReasoning'](_0x181f00){_0x181f00!==this['_isReasoningEnabled']&&(this['_isReasoningEnabled']=_0x181f00,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}}class AIChatInteraction extends AIInteraction{['userMessage'];['conversationId'];['contextItems']=new Map();['capabilities'];['model'];['attributes'];constructor(_0x2c7b79){super(_0x2c7b79),this['conversationId']=_0x2c7b79['conversationId'],this['contextItems']=_0x2c7b79['contextItems'],this['capabilities']=_0x2c7b79['capabilities'],this['userMessage']=_0x2c7b79['userMessage'],this['model']=_0x2c7b79['model'],this['attributes']=_0x2c7b79['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');}}class AIChatConversation extends _0x5f37cd['EmitterMixin'](){['id'];['isStarted']=!0x1;['isFromHistory'];['interactions']=[];['currentInteraction'];['selectedModel'];['connector'];['options'];['_channelsToEditors'];['_getSessionId'];constructor(_0x3385c6){super(),this['options']=_0x3385c6,this['connector']=_0x3385c6['connector'],this['chatModels']=_0x3385c6['chatModels'],this['id']=_0x3385c6['conversationId'],this['isFromHistory']=_0x3385c6['isFromHistory'],this['_channelsToEditors']=_0x3385c6['channelsToEditors'],this['_getSessionId']=_0x3385c6['getSessionId'];}async['init'](_0x3812a5){try{this['chatContext']=new AIChatContext({'connector':this['connector'],'config':_0x3812a5,'ownerId':this['id']}),this['chatContext']['delegate'](..._0x2be1f4)['to'](this),this['chatContext']['init'](),this['chatCapabilities']=new AICapabilities(),this['chatCapabilities']['delegate'](..._0x427e14)['to'](this),this['chatCapabilities']['init']();const _0x1c217f=await this['chatModels']['getAvailableModels']();this['fire']('conversationInitialized',{'availableModels':_0x1c217f});const _0x2ffbd1=await this['chatModels']['getModel'](this['options']['selectedModelId']);_0x2ffbd1&&await this['setModel'](_0x2ffbd1);}catch(_0x346af2){const _0x1f7120=new _0x5f37cd['CKEditorError']('ai-chat-conversation-init-failed',null,{'message':_0x346af2['message']||_0x346af2});_0x1f7120['stack']=_0x346af2['stack'],this['fire']('error',{'error':_0x1f7120});}}async['start'](){if(this['isStarted'])throw new _0x5f37cd['CKEditorError']('ai-chat-conversation-already-started',null,{'conversation':this});if(!this['selectedModel'])throw new _0x5f37cd['CKEditorError']('ai-chat-conversation-start-no-model-selected',null,{'conversation':this});try{const {id:_0xb3076f}=await this['connector']['startConversation'](this['id'],this['options']['group'])['getConversation']();this['id']=_0xb3076f,this['isStarted']=!0x0,this['fire']('conversationStarted',{'conversationId':this['id'],'selectedModel':this['selectedModel']});}catch(_0x3a34e1){const _0x1c050d=new _0x5f37cd['CKEditorError']('ai-chat-conversation-start-failed',null,{'message':_0x3a34e1['message'],'conversationId':this['id']});throw _0x1c050d['stack']=_0x3a34e1['stack'],this['fire']('error',{'error':_0x1c050d}),_0x1c050d;}}async['load'](_0x59a7ae){try{const _0x410fe7=await this['connector']['fetchConversation'](_0x59a7ae)['getConversation'](),_0x10cd1e=await this['connector']['fetchConversationMessages'](_0x59a7ae)['getMessages'](),_0x57996f=_0x10cd1e[0x0]['model'];this['isStarted']=!0x0,this['id']=_0x410fe7['id'],'title'in _0x410fe7?this['fire']('setConversationTitle',_0x410fe7['title'],!0x0):this['fire']('setConversationTitle','',!0x0);const _0x1c3586=(await this['chatModels']['getAll']())['find'](_0x1f1983=>_0x1f1983['id']['toLowerCase']()===_0x57996f['toLowerCase']());this['selectedModel']=_0x1c3586,this['fire']('modelSelected',{'selectedModel':_0x1c3586,'isDisabled':!0x0});const {streamingMessageId:_0x5987f6}=await this['_processMessagesToInteractions'](_0x10cd1e,_0x57996f);return _0x5987f6&&this['currentInteraction']?this['_resumeStream'](_0x5987f6):this['currentInteraction']=void 0x0,this;}catch(_0x59a712){const _0xb0fad5=new _0x5f37cd['CKEditorError']('ai-chat-conversation-init-from-id-failed',null,{'message':_0x59a712['message'],'conversationId':_0x59a7ae});throw _0xb0fad5['stack']=_0x59a712['stack'],this['fire']('error',{'error':_0xb0fad5}),_0xb0fad5;}}async['_processMessagesToInteractions'](_0x189e6d,_0x2a4be9){let _0x189db8,_0x1f0442,_0x159768=!0x1;for(const _0x203df2 of _0x189e6d)if('user'===_0x203df2['role']){const {contextItems:_0x3869c6,hasUnmatched:_0x34baff}=await this['_extractContextItems'](_0x203df2);_0x159768=_0x34baff;const _0x3df04e={'isReasoningEnabled':Object['hasOwn'](_0x203df2['capabilities'],'reasoning'),'isWebSearchEnabled':Object['hasOwn'](_0x203df2['capabilities'],'webSearch')};_0x189db8=this['createInteraction']({'userMessage':_0x203df2['prompt'],'contextItems':_0x3869c6,'capabilities':_0x3df04e,'modelId':_0x2a4be9,'attributes':_0x203df2['attributes'],'channelsToEditors':this['_channelsToEditors']}),this['currentInteraction']=_0x189db8,_0x1f0442=void 0x0,this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}else{if('assistant'===_0x203df2['role']&&_0x189db8){if('streaming'===_0x203df2['status']){_0x1f0442=_0x203df2['id'];continue;}if('error'===_0x203df2['status'])continue;const _0x1e8b90=[];for(const _0x4fb9af of _0x203df2['content'])switch(_0x4fb9af['type']){case'text':case'modification':{const _0x148ab3=_0x189db8['getDocumentContext'](),_0x3856c9=this['_hasSessionMismatch'](_0x148ab3)||_0x159768;_0x189db8['currentReply']?.['type']!==_0x4fb9af['type']&&(_0x189db8['currentReply']=_0x189db8['createReply']({'type':_0x4fb9af['type'],'isDone':!0x0,'interactionId':_0x189db8['id'],'areActionsDisabled':_0x3856c9,'isFromHistory':!0x0,'channelsToEditors':this['_channelsToEditors']}),_0x1e8b90['length']>0x0&&(_0x189db8['currentReply']['sources']=_0x1e8b90['splice'](0x0))),_0x189db8['currentReply']['appendContent'](_0x4fb9af['content'],_0x4fb9af['documentId']);break;}case'url':_0x1e8b90['push'](_0x4fb9af);break;case'mcp-tool-result':{const {data:_0x32b02f,attributes:_0x1976dc}=JSON['parse'](_0x4fb9af['content']);_0x189db8['_handleToolResultData']({'toolName':_0x4fb9af['toolName'],'data':_0x32b02f,'attributes':_0x1976dc});break;}}'cancelled'===_0x203df2['status']&&this['fire']('error',{'interactionId':_0x189db8['id'],'error':new _0x5f37cd['CKEditorError']('ai-request-aborted',this)});}}return{'streamingMessageId':_0x1f0442};}async['_resumeStream'](_0x4d6f11){if(this['currentInteraction'])try{const _0x4063ba=this['connector']['resumeStream'](this['id'],_0x4d6f11);await this['currentInteraction']['resume'](_0x4063ba);}catch(_0x5bd7d6){_0x5bd7d6 instanceof _0x5f37cd['CKEditorError']&&this['fire']('error',{'interactionId':this['currentInteraction']?.['id'],'error':_0x5bd7d6});}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}async['_extractContextItems'](_0x3cdd55){const _0x296c6a=new Map();if(!_0x3cdd55['content'])return{'contextItems':_0x296c6a,'hasUnmatched':!0x1};const {contextItem:_0x4b8b5c,hasUnmatched:_0x150a13}=await this['chatContext']['populateDocumentsFromMessage'](_0x3cdd55['content'],Array['from'](this['_channelsToEditors']['values']()));_0x4b8b5c&&_0x296c6a['set'](_0x4b8b5c['id'],_0x4b8b5c);for(const _0x19418f of _0x3cdd55['content']){if('document'===_0x19418f['type'])continue;const _0x4c07a4=await this['chatContext']['populateFromMessage'](_0x19418f);_0x4c07a4&&_0x296c6a['set'](_0x4c07a4['id'],_0x4c07a4);}return{'contextItems':_0x296c6a,'hasUnmatched':_0x150a13};}async['handleUserInteraction']({userMessage:_0x4b9ddc,attributes:_0x3a0353}){if(!this['isStarted'])throw new _0x5f37cd['CKEditorError']('ai-chat-handle-user-conversation-not-initialized',null,{'conversation':this});if(this['currentInteraction'])throw new _0x5f37cd['CKEditorError']('ai-chat-handle-user-interaction-already-in-progress',null,{'conversation':this});try{const _0x304f86=new Map(this['getPendingContextItems']()),_0x153f9a=this['chatCapabilities']['getCapabilitiesConfig'](),_0xf1a007=this['selectedModel']['id'];this['currentInteraction']=this['createInteraction']({'userMessage':_0x4b9ddc,'contextItems':_0x304f86,'capabilities':_0x153f9a,'modelId':_0xf1a007,'attributes':_0x3a0353,'channelsToEditors':this['_channelsToEditors']}),await this['currentInteraction']['start'](),this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}catch(_0x4a75f9){if(_0x4a75f9 instanceof _0x5f37cd['CKEditorError'])this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':_0x4a75f9});else{const _0x5cbf20=_0x4da561['get'](_0x4a75f9['code'])||'ai-chat-handle-user-interaction-start-failed';this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':new _0x5f37cd['CKEditorError'](_0x5cbf20,null,{'error':_0x4a75f9})});}}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}['createInteraction']({userMessage:_0x2d3ca6,contextItems:_0x29d08b,capabilities:_0x55dd4b,modelId:_0x1b7eb1,attributes:_0x40a1f2,channelsToEditors:_0xd743a8}){const _0x133f18=new AIChatInteraction({'userMessage':_0x2d3ca6,'contextItems':_0x29d08b,'capabilities':_0x55dd4b,'conversationId':this['id'],'connector':this['connector'],'locale':this['options']['locale'],'model':_0x1b7eb1,'attributes':_0x40a1f2,'channelsToEditors':_0xd743a8});return _0x133f18['delegate'](..._0x6ace29)['to'](this),this['interactions']['push'](_0x133f18),this['fire']('interactionCreated',_0x133f18),_0x133f18;}['getInteraction'](_0x596f64){return this['interactions']['find'](_0x4c2840=>_0x4c2840['id']===_0x596f64);}['removeInteraction'](_0x4d15f6){const _0x42b65e=this['getInteraction'](_0x4d15f6);_0x42b65e&&(_0x42b65e['destroy'](),this['interactions']['splice'](this['interactions']['indexOf'](_0x42b65e),0x1));}get['lastInteraction'](){return this['interactions'][this['interactions']['length']-0x1];}['cancelLastInteractionStream'](){const _0x26029e=this['lastInteraction'];_0x26029e?.['conversationId']&&_0x26029e['messageId']&&this['connector']['cancelStream'](_0x26029e['conversationId'],_0x26029e['messageId'])['execute']()['catch'](()=>{});}['addCurrentDocumentToContext'](_0x298722){this['chatContext']['addCurrentDocumentToContext'](_0x298722);}async['updateCurrentDocumentsInContext'](_0x599e48){await this['chatContext']['updateCurrentDocuments'](_0x599e48);}['toggleAddCurrentDocumentOptionVisibility'](_0x4e4b8d){this['chatContext']['toggleAddCurrentDocumentOptionVisibility'](_0x4e4b8d);}['_hasSessionMismatch'](_0x2e5414){return!!_0x2e5414&&_0x2e5414['documents']['some'](_0x44aba1=>{const _0x1fa4cd=this['_channelsToEditors']['get'](_0x44aba1['channelId']);return!_0x1fa4cd||_0x44aba1['sessionId']!==this['_getSessionId'](_0x1fa4cd);});}['addSelectionToContext'](_0x3c8240){this['chatContext']['addSelectionToContext'](_0x3c8240);}['removeSelectionFromContext'](){this['chatContext']['removeSelectionFromContext']();}['addFilesToContext'](_0x308b64){this['chatContext']['addFilesToContext'](_0x308b64);}['addUrlToContext'](_0x3dd0f9){this['chatContext']['addUrlToContext'](_0x3dd0f9);}['addToolItemToContext'](_0x1e28d5){this['chatContext']['addToolItemToContext'](_0x1e28d5);}['addResourceToContext'](_0x3e1b25,_0x3ecd72){this['chatContext']['addResourceToContext'](_0x3e1b25,_0x3ecd72);}['loadSourceResources'](_0x2d184d,_0x15866f,_0x33e738){return this['chatContext']['loadSourceResources'](_0x2d184d,_0x15866f,_0x33e738);}['removeFromContext'](_0x5228e6){this['chatContext']['removeFromContext'](_0x5228e6);}['setWebSearch'](_0x5bfee5){this['chatCapabilities']['setWebSearch'](_0x5bfee5);}['toggleWebSearch'](){this['chatCapabilities']['toggleWebSearch']();}['setReasoning'](_0xa57085){this['chatCapabilities']['setReasoning'](_0xa57085);}['toggleReasoning'](){this['chatCapabilities']['toggleReasoning']();}['isCurrentDocumentInContext'](){return this['chatContext']['isCurrentDocumentInContext']();}['isCurrentDocumentInConversation'](){return this['chatContext']['isCurrentDocumentInConversation']();}['isSelectionInContext'](){return this['chatContext']['isSelectionInContext']();}['getPendingContextItems'](){return this['chatContext']['getPendingContextItems']();}async['setModel'](_0x5bdbed){_0x5bdbed?!0x1===await this['chatModels']['isAvailable'](_0x5bdbed)&&(_0x5f37cd['logWarning']('ai-chat-conversation-set-model-not-available',{'conversation':this,'model':_0x5bdbed}),_0x5bdbed=(await this['chatModels']['getAvailableModels']())[0x0]):(_0x5f37cd['logWarning']('ai-chat-conversation-set-model-null',{'conversation':this}),_0x5bdbed=(await this['chatModels']['getAvailableModels']())[0x0]),_0x5bdbed['id']!==this['selectedModel']?.['id']&&(this['selectedModel']=_0x5bdbed,this['chatCapabilities']['reset'](),this['fire']('modelSelected',{'selectedModel':_0x5bdbed}));}}class _0x5cc472 extends _0x5f37cd['EmitterMixin'](){['_connector'];['_config'];['_locale'];['_modelList']=[];['_modelsRequest']=null;constructor({connector:_0x3a7734,config:_0x34ce62,locale:_0x50ced9}){super(),this['_connector']=_0x3a7734,this['_config']=_0x34ce62,this['_locale']=_0x50ced9;}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 _0x8f84bc=await this['getAll']();let _0x2221cf;return _0x2221cf=this['_availableModels']?this['_filterModels'](_0x8f84bc,this['_availableModels']):_0x8f84bc['filter'](_0x527bec=>_0x527bec['recommended']),_0x2221cf;}async['getModel'](_0x4502b0){const _0x381886=await this['getAll']();if(!_0x381886['length'])return null;if(_0x4502b0){const _0x59e7b4=this['_getModelById'](_0x381886,_0x4502b0);if(_0x59e7b4)return _0x59e7b4;_0x5f37cd['logWarning']('ai-chat-model-id-unrecognized',{'modelId':_0x4502b0,'fallBackModelId':this['_defaultModelId']});}return this['getDefault']();}async['getDefault'](){const _0x47a94e=await this['getAvailableModels']();if(!_0x47a94e['length'])return null;if(this['_defaultModelId']){const _0x2d8407=this['_getModelById'](_0x47a94e,this['_defaultModelId']);if(_0x2d8407)return _0x2d8407;_0x5f37cd['logWarning']('ai-chat-default-model-id-unrecognized',{'defaultModelId':this['_defaultModelId'],'fallBackModelId':_0x47a94e[0x0]['id']});}return _0x47a94e[0x0];}async['isAvailable'](_0x414c21){return(await this['getAvailableModels']())['some'](_0xc0b2bf=>_0xc0b2bf['name']===_0x414c21['name']&&_0xc0b2bf['provider']===_0x414c21['provider']);}async['_retrieveModels'](){if(!this['_modelList']['length'])try{const _0x2dac8c=this['_locale']['uiLanguage']||'en',_0x563147=this['_connector']['getModels'](_0x2dac8c),_0x5a676e=await _0x563147['list']();this['_modelList']=_0x5a676e['items']['map'](_0x1d733d=>_0x1d3751(_0x1d733d)?{..._0x1d733d,'name':Qt(this['_locale'],'AI_MODEL_NAME_AUTO')}:_0x1d733d);}catch(_0x1ac02f){throw _0x5f37cd['logError']('ai-models-unable-to-retrieve',{'error':_0x1ac02f}),_0x1ac02f;}return[...this['_modelList']];}['_filterModels'](_0x2c2971,_0x11ce42){let _0x4f6825;if(_0x11ce42){_0x4f6825=[];const _0xc9385=new Set(),_0x4270f3='string'==typeof _0x11ce42?[_0x11ce42['toLocaleLowerCase']()]:_0x11ce42['map'](_0x4f4f63=>_0x4f4f63['toLocaleLowerCase']());for(const _0x31fb1c of _0x4270f3)for(const _0x296578 of _0x2c2971)!_0xc9385['has'](_0x296578['id'])&&this['_isMatchingFilter'](_0x296578,_0x31fb1c)&&(_0x4f6825['push'](_0x296578),_0xc9385['add'](_0x296578['id']));}else _0x4f6825=_0x2c2971;return _0x4f6825;}['_isMatchingFilter'](_0x4b8edf,_0x4292c4){const _0x211753=_0x4b8edf['id']['toLocaleLowerCase'](),_0x7ab7d9=_0x4b8edf['name']['toLocaleLowerCase'](),_0x1401d2=_0x4b8edf['provider']['toLocaleLowerCase']();return _0x211753===_0x4292c4||_0x7ab7d9===_0x4292c4||_0x1d3751(_0x4b8edf)&&'auto'===_0x4292c4||_0x1401d2===_0x4292c4||_0x211753['startsWith'](_0x4292c4);}['_getModelById'](_0x3528,_0x4c99a1){return _0x3528['find'](_0x1d8983=>_0x1d3751(_0x1d8983)&&'auto'===_0x4c99a1?_0x1d8983:_0x1d8983['id']===_0x4c99a1)||null;}}function _0x1d3751(_0x313c90){return _0x313c90['id']['startsWith']('agent');}function _0x1f8c08(_0x3176e4){return _0x3176e4?_0x3176e4 instanceof _0x5f37cd['Editor']?[_0x3176e4]:_0x3176e4['editors']&&0x0!==_0x3176e4['editors']['length']?Array['from'](_0x3176e4['editors']):[]:[];}function _0x27cbdf(_0x1bcf31){const _0x2d8dbf=_0x1f8c08(_0x1bcf31);if(!_0x2d8dbf['length'])throw new _0x5f37cd['CKEditorError']('ai-get-editor-from-context-no-editor');if(0x1===_0x2d8dbf['length'])return _0x2d8dbf[0x0];const _0x91ad83=_0x2d8dbf['find'](_0xdcbe01=>_0xdcbe01['ui']?.['focusTracker']?.['isFocused']);if(_0x91ad83)return _0x91ad83;const _0x4e4380=function(_0x220522){if(_0x220522 instanceof _0x5f37cd['Editor'])return;const _0x5a09fd=_0x220522;if(!_0x5a09fd['plugins']||!_0x5a09fd['plugins']['has']('AIEditing'))return;const _0x7699da=_0x5a09fd['plugins']['get']('AIEditing');return _0x7699da['getLastContentFocusedEditor']?.();}(_0x1bcf31);return _0x4e4380&&_0x2d8dbf['includes'](_0x4e4380)?_0x4e4380:_0x2d8dbf[0x0];}function _0x4fc9b8({interaction:_0x5c6163,reply:_0x3367c4,groups:_0x5ae568,transform:_0x31e078,documentCompare:_0x2fc287,documentCompareOptions:_0x312116}){const _0x36fad3=_0x5c6163['getDocumentContext']()['documents']['find'](_0x3c5831=>_0x3c5831['id']==_0x5ae568[0x0]['documentId']),_0xf2995=_0x5ae568[0x0]['editor'];if(!_0x36fad3)return[];const _0x43ee37=_0x36fad3['content'],_0x3add70=_0x36fad3['version'],_0x931379=_0x3367c4['documentContextContent']['get'](_0x5ae568[0x0]['documentId'])['cloneNode'](!0x0);for(const {changes:_0x3a4eed}of _0x5ae568){const _0x3ff7d0=_0x3a4eed['filter'](_0x2c6394=>'new'!=_0x2c6394['type'])['map'](_0x3feea8=>_0x2977fd('data-id',_0x3feea8['id'],_0x931379)),_0x4a2b2b=_0x3a4eed['filter'](_0x1d2133=>'removed'!=_0x1d2133['type'])['map'](_0x5d5982=>_0x5d5982['node']['cloneNode'](!0x0));let _0x85321=null;if(_0x3ff7d0['length']){_0x85321=_0x3ff7d0[0x0]['previousSibling'];for(let _0x50aacf=0x0;_0x50aacf<_0x3ff7d0['length'];_0x50aacf++)_0x168c18(_0x3ff7d0[_0x50aacf]);}if(_0x4a2b2b['length']){_0x85321||(_0x3a4eed[0x0]['anchorId']?_0x85321=_0x2977fd('data-id',_0x3a4eed[0x0]['anchorId'],_0x931379):(_0x85321=_0x4a2b2b['shift'](),_0x2bd18c(_0x931379,_0x85321)));for(let _0x30ca23=0x0;_0x30ca23<_0x4a2b2b['length'];_0x30ca23++)_0x258457(_0x85321,_0x4a2b2b[_0x30ca23]),_0x85321=_0x4a2b2b[_0x30ca23];}}const _0x22dccb=_0x2e8cdd(_0x931379),_0x4f90d8=_0x2fc287['getDiff'](_0x43ee37,_0x22dccb,{'targetEditor':_0xf2995,..._0x312116})['getOperations']();if(_0x31e078){const _0x4d351f=_0xf2995['model']['document']['history']['getOperations'](_0x3add70),_0x4b0c70={'document':_0xf2995['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x5f37cd['transformOperationSets'](_0x4f90d8,_0x4d351f,_0x4b0c70)['operationsA'];}return _0x4f90d8;}function _0x339828(_0x16794e,_0x32f0e7){if('marker'!=_0x32f0e7['type'])return;const _0x57d31d=_0x16794e['model']['markers']['get'](_0x32f0e7['name']);_0x57d31d&&(_0x32f0e7['oldRange']=_0x57d31d['getRange']());}function _0x120320(_0x3c8e31,_0x457c2a){if(_0x3c8e31['files']['length']>0x0&&_0x457c2a['filesEnabled']){const _0x40bdd0=_0x3c8e31['files']['filter'](_0x500435=>_0x500435['name']);return _0x40bdd0['length']>0x0?{'type':'file','files':_0x40bdd0}:null;}if(_0x457c2a['urlsEnabled']){const _0x2b439b=function(_0x4d5d87){const _0x1c0aeb=_0x4d5d87['trim']();if(/\s/['test'](_0x1c0aeb))return null;try{const _0x42326f=new URL(_0x1c0aeb);return'http:'!==_0x42326f['protocol']&&'https:'!==_0x42326f['protocol']?null:_0x42326f['toString']();}catch{return null;}}(_0x3c8e31['plainText']);if(_0x2b439b)return{'type':'url','url':_0x2b439b};}const _0x3f7923=_0x3c8e31['forceTextAttachment']?0x1:_0x457c2a['longTextThreshold']??0x1/0x0;if(_0x3c8e31['plainText']['length']>=Math['max'](_0x3f7923,0x1)&&_0x457c2a['filesEnabled']){const _0x14e872=_0x457c2a['pastedTextLabel']+'.txt';return{'type':'text','files':[new File([_0x3c8e31['plainText']],_0x14e872,{'type':'text/plain'})]};}return null;}class AIChatController extends _0x5f37cd['ContextPlugin']{['activeConversation'];['_aiEditing'];['_aiConnector'];['_aiChatUi'];['_aiChatModels'];['_hasAIChatBalloon']=!0x1;['_activeBalloon'];['_batchToChanges']=new Map();['_currentPreviewedChangeGroup']=null;['_bodyCollection'];['_channelsToEditors']=new Map();static get['requires'](){return[AIConnector,DocumentCompare];}static get['pluginName'](){return'AIChatController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']('isConversationReady',!0x1),this['_bodyCollection']=new _0x5f37cd['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 _0x5cc472({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});const _0x402fad=this['context']['plugins']['get']('AITabs');this['listenTo'](this['_aiChatUi'],'startConversation',()=>{this['_startConversationSafely']();}),this['listenTo'](this['_aiChatUi'],'sendUserMessage',(_0x5591b3,_0x408dc1)=>{this['_handleUIUserMessage']({'message':_0x408dc1});}),this['listenTo'](_0x402fad['view'],'change:activeTab',(_0x151c6a,_0x5ca942,_0x47f1fb)=>{'chat'!==_0x47f1fb&&this['removeSelectionFromChatContext']();}),this['listenTo'](this['_aiChatUi'],'abortPromptStream',async()=>{await this['_stopLastInteraction'](),await this['_flushLastInteractionUI'](),this['removeSelectionFromChatContext'](),this['activeConversation']?.['cancelLastInteractionStream']();}),this['listenTo'](this['_aiChatUi'],'addDocumentToContext',()=>{this['addCurrentDocumentToChatContext']();}),this['listenTo'](this['_aiChatUi'],'addFileToContext',(_0x4a2aa7,_0x2af9d9)=>{this['activeConversation']?.['addFilesToContext'](Array['from'](_0x2af9d9));}),this['listenTo'](this['_aiChatUi'],'addUrlToContext',(_0x34a069,_0x1142f4)=>{this['activeConversation']?.['addUrlToContext'](_0x1142f4);}),this['listenTo'](this['_aiChatUi'],'promptInputPaste',(_0xdb5b89,_0x3008b7)=>{const _0xd12e2f=this['activeConversation'];if(!_0xd12e2f)return;_0x3008b7['hasDirectory']&&(_0x3008b7['preventDefault'](),this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_FOLDER_NOT_SUPPORTED'),'id':'folder-error-'+_0x5f37cd['uid']()}));const _0x2a6b59=_0x120320(_0x3008b7,{'pastedTextLabel':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_PASTED_TEXT_NAME'),'longTextThreshold':this['context']['config']['get']('ai.chat.context.paste.textThreshold'),'filesEnabled':!0x1!==this['context']['config']['get']('ai.chat.context.files.enabled'),'urlsEnabled':!0x1!==this['context']['config']['get']('ai.chat.context.urls.enabled')});_0x2a6b59&&(_0x3008b7['preventDefault'](),'url'===_0x2a6b59['type']?_0xd12e2f['addUrlToContext'](_0x2a6b59['url']):_0xd12e2f['chatContext']['addFilesToContext'](_0x2a6b59['files'],void 0x0,_0x2a6b59['type']));}),this['listenTo'](this['_aiChatUi'],'executeCustomItemCallback',(_0x2603da,_0x2f1c9d)=>{_0x2f1c9d['callback'](this['context']);}),this['listenTo'](this['_aiChatUi'],'addResourceToContext',(_0x35611f,_0x74bf5f)=>{this['activeConversation']?.['addResourceToContext'](_0x74bf5f['source'],_0x74bf5f['resource']);}),this['listenTo'](this['_aiChatUi'],'removeContextItem',(_0x14fdfd,_0x32446a)=>{this['_removeFromContext'](_0x32446a);}),this['listenTo'](this['_aiChatUi'],'loadSourceResources',(_0x23ba06,_0x776b53)=>{this['activeConversation']?.['loadSourceResources'](_0x776b53['sourceId'],_0x776b53['query'],_0x776b53['uid']);}),this['listenTo'](this['_aiChatUi'],'toggleWebSearch',()=>{this['_toggleWebSearch']();}),this['listenTo'](this['_aiChatUi'],'toggleReasoning',()=>{this['_toggleReasoning']();}),this['listenTo'](this['_aiChatUi'],'selectModel',(_0x1c839a,_0x5e244f)=>{this['activeConversation']?.['setModel'](_0x5e244f);}),this['listenTo'](this['_aiChatUi'],'like',(_0x2003f2,{replyId:_0x3489bd})=>{console['log']('Liked\x20response',_0x3489bd);}),this['listenTo'](this['_aiChatUi'],'dislike',(_0x550b8a,{replyId:_0x1ec715})=>{console['log']('Disliked\x20response',_0x1ec715);}),this['listenTo'](this['_aiChatUi'],'insertSuggestion',(_0x31fd8b,_0x57f405)=>{this['_insertSuggestion'](_0x57f405);}),this['listenTo'](this['_aiChatUi'],'showChangeInText',(_0x18589a,{replyId:_0x43f231,partIndex:_0x5e4205})=>{this['_aiChatBalloonShowDiff']=this['_aiChatUi']['showDiff'],this['_openBalloonFor'](_0x43f231,_0x5e4205);}),this['listenTo'](this['_aiChatUi'],'mouseOverSuggestion',(_0x10f443,{replyId:_0x13ccef,partIndex:_0x26f176})=>{const _0x149680=this['_getDocumentRangeForReplyChanges'](_0x13ccef,_0x26f176);if(!_0x149680)return;const {reply:_0x4aa90b}=this['getInteractionAndReplyById'](_0x13ccef);'$graveyard'!=_0x149680['range']['root']['rootName']&&this['_aiEditing']['showFakeVisualSelection']({'editor':_0x4aa90b['changeGroups'][_0x26f176]['editor'],'ranges':[_0x149680['range']],'id':'change-area','priority':0xa});}),this['listenTo'](this['_aiChatUi'],'mouseLeaveSuggestion',()=>{this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['listenTo'](this['_aiChatUi'],'applySuggestion',(_0x4139a2,_0x167bb5)=>{this['_aiEditing']['hideFakeVisualSelection']('change-area'),this['_applySuggestion'](_0x167bb5);}),this['listenTo'](this['_aiChatUi'],'toggleSuggestionDisplayMode',async(_0x48bbc7,{replyId:_0xfac1ea,showDiff:_0x589fa0})=>{const {interaction:_0x9999a3,reply:_0x5b36f2}=this['getInteractionAndReplyById'](_0xfac1ea),_0x5aacbe=_0x5b36f2['getContentParts']({'showDiff':_0x589fa0});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x9999a3['id']+':'+_0x5b36f2['id'],'parts':_0x5aacbe});}),this['listenTo'](this['_aiChatUi'],'rejectSuggestion',(_0x8ef17a,{replyId:_0x57a6c6,partIndex:_0x5a6dad})=>{this['_rejectSuggestion']({'replyId':_0x57a6c6,'partIndex':_0x5a6dad}),this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['set']('_aiChatBalloonShowDiff',!0x1),this['on']('interactionCreated',(_0x17e91d,_0x2576c6)=>{this['_aiChatUi']['addFeedItemUserMessage'](_0x2576c6);}),this['on']('replyCreated',(_0x218b59,_0x55be14)=>{this['_addFeedItemReply'](_0x55be14);});}['afterInit'](){this['context']instanceof _0x5f37cd['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x4dea6a,_0x41606c)=>{_0x41606c['on']('ready',()=>{this['_integrateEditor'](_0x41606c);});}),this['_initConversation']();}async['_initConversation'](){const _0x4a0e9a=this['context']['config']['get']('ai.chat.initialConversation');let _0x3e51eb=_0x4a0e9a;('lastCreated'!=_0x4a0e9a||(_0x3e51eb=await this['_getLastCreatedConversationId'](),_0x3e51eb))&&('new'==_0x3e51eb?await this['_startConversationSafely']():await this['loadConversation'](_0x3e51eb));}async['destroy'](){return await this['_stopLastInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}async['loadConversation'](_0x599e62){this['_closeActiveBalloon'](),(this['context']['plugins']['get'](_0x3df542)['view']['activateTab']('chat'),this['_aiChatUi']['setFeedItemRenderingStrategy']('static'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x0),this['activeConversation']&&this['stopListening'](this['activeConversation']),await this['_stopLastInteraction']());try{await this['_aiConnector']['fetchConversation'](_0x599e62)['getConversation'](),await this['_startConversationSafely']({'id':_0x599e62}),this['_updateConversationTitle']('\x20'),await this['activeConversation']['load'](_0x599e62),this['_aiChatUi']['enableControls'](),this['activeConversation']['isCurrentDocumentInConversation']()&&this['addCurrentDocumentToChatContext']();}catch(_0x111790){this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x599e62}),this['_logError'](new _0x5f37cd['CKEditorError']('ai-chat-conversation-not-found',this,{'error':_0x111790}));}finally{this['_aiChatUi']['startAutoScroll']({'smooth':!0x1}),this['_aiChatUi']['setFeedItemRenderingStrategy']('streaming'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1);}}['registerToolDataCallback'](_0x43bc58){let _0x30d6aa=null,_0x1b8b39=null;this['on']('toolDataReceived',(_0x2d8657,_0x4ce116,_0x5a4bcb)=>{_0x5a4bcb['id']!==_0x30d6aa&&(_0x30d6aa=_0x5a4bcb['id'],_0x1b8b39=this['_getAIChatFeedAPI'](_0x5a4bcb)),_0x43bc58(_0x4ce116,_0x1b8b39);});}['addCurrentDocumentToChatContext'](){_0x1f8c08(this['context'])['length']&&this['activeConversation']?.['addCurrentDocumentToContext'](Qt(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}async['addSelectionToChatContext'](_0xec07f0){const _0x186131=this['_aiEditing']['getSelectionText'](_0xec07f0);this['activeConversation']?.['addSelectionToContext'](_0x186131),this['addCurrentDocumentToChatContext']();}['removeSelectionFromChatContext'](){this['activeConversation']?.['removeSelectionFromContext']();}['focusPromptInput'](){this['_aiChatUi']['focusPromptInput']();}async['startConversation'](_0x19911e){await this['_startConversationSafely']({'modelId':_0x19911e?.['modelId']});}async['sendMessage'](_0x19e32a){await this['_handleUIUserMessage'](_0x19e32a);}['getGroupId'](){const _0x5f5920=this['context']['config']['get']('collaboration.channelId');if(!_0x5f5920)throw new _0x5f37cd['CKEditorError']('ai-missing-channel-id',this);return _0x5f5920;}['_handleRemovedConversation'](_0xfdffb5){this['activeConversation']['id']===_0xfdffb5&&this['_startConversationSafely']();}['_insertSuggestion'](_0x5537b7){const _0x11dee4=this['context']['plugins']['get'](DocumentCompare),{reply:_0x144ab6,interaction:_0x45af5f}=this['getInteractionAndReplyById'](_0x5537b7['replyId']),_0x24116b=void 0x0!==_0x5537b7['partIndex']?[_0x144ab6['changeGroups'][_0x5537b7['partIndex']]]:_0x144ab6['changeGroups']['filter'](_0x194fd1=>'pending'==_0x194fd1['state']);_0x24116b['map'](_0x1e2181=>_0x144ab6['changeGroups']['indexOf'](_0x1e2181))['forEach'](_0xe0ca6f=>{const _0xed8714=this['_getDocumentRangeForReplyChanges'](_0x5537b7['replyId'],_0xe0ca6f);_0xed8714&&'$graveyard'!=_0xed8714['range']['root']['rootName']?(_0x144ab6['setChangeGroupState'](_0xe0ca6f,'accepted'),void 0x0!==_0x5537b7['partIndex']&&this['_scrollToSuggestionRange'](_0xed8714['range'],!0x1,_0xed8714['targetEditor'])):_0x144ab6['setChangeGroupState'](_0xe0ca6f,'outdated');});const _0x48fc7a={},_0x372391=_0x24116b['reduce']((_0x185c22,_0x517615)=>('outdated'===_0x517615['state']||(_0x185c22[_0x517615['documentId']]=[..._0x185c22[_0x517615['documentId']]||[],_0x517615],_0x48fc7a[_0x517615['documentId']]=[..._0x48fc7a[_0x517615['documentId']]||[],_0x144ab6['changeGroups']['indexOf'](_0x517615)]),_0x185c22),{});for(const [_0x27ca99,_0x120230]of Object['entries'](_0x372391)){const _0x5c3205=_0x120230[0x0]['editor'];if(!_0x5c3205['plugins']['has']('TrackChanges')){_0x5f37cd['logWarning']('ai-no-track-changes',{'editor':_0x5c3205});continue;}const _0x36e819=_0x4fc9b8({'reply':_0x144ab6,'interaction':_0x45af5f,'groups':_0x120230,'transform':!0x0,'documentCompare':_0x11dee4,'documentCompareOptions':{'anchor':_0x120230[0x0]['rootName'],'markDeletions':!0x0}});let _0x5a82f9;_0x5c3205['model']['change'](_0x30c00b=>{_0x5a82f9=_0x30c00b['batch'],_0x5c3205['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x36e819),this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['_batchToChanges']['set'](_0x5a82f9,{'interactionId':_0x45af5f['id'],'replyId':_0x144ab6['id'],'indexes':_0x48fc7a[_0x27ca99]});}this['_updateRatings'](_0x144ab6);}['_applySuggestion'](_0x417afe){const _0x1794f6=this['context']['plugins']['get'](DocumentCompare),{reply:_0x816772,interaction:_0x3c0fb6}=this['getInteractionAndReplyById'](_0x417afe['replyId']),_0x58143e=void 0x0!==_0x417afe['partIndex']?[_0x816772['changeGroups'][_0x417afe['partIndex']]]:_0x816772['changeGroups']['filter'](_0x31515b=>'pending'==_0x31515b['state']);_0x58143e['map'](_0xbd1dc=>_0x816772['changeGroups']['indexOf'](_0xbd1dc))['forEach'](_0x225e32=>{const _0x243e7a=this['_getDocumentRangeForReplyChanges'](_0x417afe['replyId'],_0x225e32);_0x243e7a&&'$graveyard'!=_0x243e7a['range']['root']['rootName']?(_0x816772['setChangeGroupState'](_0x225e32,'accepted'),void 0x0!==_0x417afe['partIndex']&&this['_scrollToSuggestionRange'](_0x243e7a['range'],!0x1,_0x243e7a['targetEditor'])):_0x816772['setChangeGroupState'](_0x225e32,'outdated');});const _0x1197b6={},_0x5076ab=_0x58143e['reduce']((_0x5a08ea,_0x5a2a46)=>('outdated'===_0x5a2a46['state']||(_0x5a08ea[_0x5a2a46['documentId']]=[..._0x5a08ea[_0x5a2a46['documentId']]||[],_0x5a2a46],_0x1197b6[_0x5a2a46['documentId']]=[..._0x1197b6[_0x5a2a46['documentId']]||[],_0x816772['changeGroups']['indexOf'](_0x5a2a46)]),_0x5a08ea),{});for(const [_0x1610e3,_0x3d77e7]of Object['entries'](_0x5076ab)){const _0x10379e=_0x4fc9b8({'reply':_0x816772,'interaction':_0x3c0fb6,'groups':_0x3d77e7,'transform':!0x0,'documentCompare':_0x1794f6,'documentCompareOptions':{'anchor':_0x3d77e7[0x0]['rootName'],'markDeletions':!0x1}});let _0x2905cf;const _0x31ae02=_0x3d77e7[0x0]['editor'];_0x31ae02['model']['change'](_0x351e1e=>{_0x2905cf=_0x351e1e['batch'];for(const _0x5a9085 of _0x10379e)_0x5a9085['baseVersion']=_0x31ae02['model']['document']['version'],_0x339828(_0x31ae02,_0x5a9085),_0x351e1e['batch']['addOperation'](_0x5a9085),_0x31ae02['model']['applyOperation'](_0x5a9085);}),this['_batchToChanges']['set'](_0x2905cf,{'interactionId':_0x3c0fb6['id'],'replyId':_0x816772['id'],'indexes':_0x1197b6[_0x1610e3]});}this['_updateRatings'](_0x816772);}['_rejectSuggestion'](_0x9dd1a9){const {reply:_0x2cf3bd}=this['getInteractionAndReplyById'](_0x9dd1a9['replyId']);_0x2cf3bd['setChangeGroupState'](_0x9dd1a9['partIndex'],'rejected');}['_openBalloonFor'](_0x1837ce,_0x53b7ab){if(!this['_hasAIChatBalloon'])return;const {reply:_0x2d70f1}=this['getInteractionAndReplyById'](_0x1837ce),_0x1ee6a5=_0x2d70f1['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(!_0x1ee6a5['length'])return;let _0x546c74,_0x42c540;if(void 0x0!==_0x53b7ab?(_0x42c540=_0x1ee6a5['find'](_0x2651d7=>_0x2651d7['index']==_0x53b7ab),_0x546c74=_0x42c540?.['index']):(_0x42c540=_0x1ee6a5[0x0],_0x546c74=_0x42c540['index']),!_0x42c540)return void _0x2d70f1['setChangeGroupState'](_0x53b7ab??0x0,'outdated');if(this['_currentPreviewedChangeGroup']?.['replyId']==_0x1837ce&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x546c74)return;const _0x1554e3=this['_getUserPresentableContentPartDocumentRange'](_0x1837ce,_0x2d70f1,_0x42c540),_0x47a2f1=_0x2d70f1['changeGroups']['find'](_0x5002e7=>_0x5002e7['index']==_0x546c74)['editor'],_0x15a1bc=_0x47a2f1['plugins']['get']('AIChatBalloon');if(this['_activeBalloon']&&this['_activeBalloon']!==_0x15a1bc&&this['_activeBalloon']['close'](),!_0x1554e3)return _0x15a1bc['close'](),void(this['_activeBalloon']=void 0x0);this['_activeBalloon']=_0x15a1bc,this['_currentPreviewedChangeGroup']={'replyId':_0x1837ce,'partIndex':_0x546c74},this['_scrollToSuggestionRange'](_0x1554e3,!0x0,_0x47a2f1);const _0x559740=this['_getPresentableSiblingContentPartIndex'](_0x1837ce,_0x546c74,'next');_0x15a1bc['clearContent'](),_0x15a1bc['updateContent']({'part':_0x42c540,'renderingStrategy':'static'}),_0x15a1bc['open']({'index':_0x546c74,'title':Qt(this['context']['locale'],'AI_BALLOON_HEADER_TITLE',(_0x546c74+0x1)['toString']()),'showRotator':null!==_0x559740,'ranges':[_0x1554e3],'areActionsDisabled':_0x2d70f1['areActionsDisabled'],'targetEditor':_0x47a2f1}),_0x15a1bc['setState']('pending'),this['_aiChatUi']['scrollFeedToSuggestion'](_0x1837ce,_0x546c74),this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x1837ce,'index':_0x546c74,'isActive':!0x0});}['_closeActiveBalloon'](){this['_activeBalloon']?.['close'](),this['_activeBalloon']=void 0x0,this['_currentPreviewedChangeGroup']=null;}['_getPresentableSiblingContentPartIndex'](_0x48238b,_0x556765,_0x2ac6c0){const {reply:_0x357613}=this['getInteractionAndReplyById'](_0x48238b),_0x365d38=_0x357613['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(0x1==_0x365d38['length'])return null;const _0x464399='next'==_0x2ac6c0?0x1:-0x1;function _0x3b67f7(_0x22df5a){const _0x460576=(_0x22df5a+_0x464399+_0x365d38['length'])%_0x365d38['length'];return{'siblingIndex':_0x460576,'siblingPart':_0x365d38[_0x460576]};}const _0x35bb04=_0x365d38['findIndex'](_0x52429a=>_0x52429a['index']==_0x556765);let {siblingIndex:_0x37e5b4,siblingPart:_0x3407b2}=_0x3b67f7(_0x35bb04);for(;!this['_getUserPresentableContentPartDocumentRange'](_0x48238b,_0x357613,_0x3407b2);)if({siblingIndex:_0x37e5b4,siblingPart:_0x3407b2}=_0x3b67f7(_0x37e5b4),_0x37e5b4===_0x35bb04)return null;return _0x3407b2['index'];}['_getUserPresentableContentPartDocumentRange'](_0x393abd,_0x304ece,_0x2bffff){const _0x1261cb=_0x304ece['changeGroups'];if(!_0x2bffff['hasChanges'])return null;const _0x2b3c2d=_0x1261cb['find'](_0x413718=>_0x413718['index']==_0x2bffff['index']);if('pending'!==_0x2b3c2d?.['state'])return null;if('destroyed'===_0x2b3c2d?.['editor']['state'])return _0x304ece['setChangeGroupState'](_0x2bffff['index'],'outdated'),null;const _0x3c76e1=this['_getDocumentRangeForReplyChanges'](_0x393abd,_0x2bffff['index']);if(!_0x3c76e1)return _0x304ece['setChangeGroupState'](_0x2bffff['index'],'outdated'),null;const {range:_0x1d27ed,currentIndex:_0x215bbe}=_0x3c76e1;return'$graveyard'==_0x1d27ed['root']['rootName']?(_0x304ece['setChangeGroupState'](_0x215bbe,'outdated'),null):_0x3c76e1['range'];}['_getDocumentRangeForReplyChanges'](_0x9816f6,_0x90354c){const {reply:_0x4bc95e,interaction:_0x5db34c}=this['getInteractionAndReplyById'](_0x9816f6),_0xf5a6ca=_0x4bc95e['changeGroups']['filter'](_0x2275fb=>'pending'==_0x2275fb['state']),_0x571d8a=_0xf5a6ca['map'](_0x402cf3=>_0x4bc95e['changeGroups']['indexOf'](_0x402cf3));void 0x0===_0x90354c&&(_0x90354c=_0x571d8a[0x0]);const _0x8f7f56=_0x571d8a['indexOf'](_0x90354c);if(-0x1==_0x8f7f56)return null;const _0xe99005=_0xf5a6ca[_0x8f7f56],_0x11d0e5=_0xe99005['editor'];if('destroyed'===_0x11d0e5['state'])return null;const _0x45c02d=_0x4bc95e['documentContextContent']['get'](_0xe99005['documentId']),_0x796df=new _0x239862([]),_0x41b919=new _0x239862([]);for(const _0x13d595 of _0xe99005['changes'])if('removed'!=_0x13d595['type']&&_0x41b919['children']['push'](_0x13d595['node']['cloneNode'](!0x0)),'new'!=_0x13d595['type']){const _0x490980=_0x2620a2(_0x1d51cd=>_0x31b99b(_0x1d51cd,'data-id')==_0x13d595['id'],_0x45c02d,!0x0);_0x796df['children']['push'](_0x490980['cloneNode'](!0x0));}if(0x0==_0x796df['children']['length']){if(_0xe99005['changes'][0x0]['anchorId']){const _0xd15c56=_0x2977fd('data-id',_0xe99005['changes'][0x0]['anchorId'],_0x45c02d);_0x796df['children']['unshift'](_0xd15c56['cloneNode'](!0x0)),_0x41b919['children']['unshift'](_0xd15c56['cloneNode'](!0x0)),_0xd15c56['nextSibling']&&(_0x796df['children']['push'](_0xd15c56['nextSibling']['cloneNode'](!0x0)),_0x41b919['children']['push'](_0xd15c56['nextSibling']['cloneNode'](!0x0)));}else{const _0x53e5c7=_0x45c02d['children'][0x0];if(!_0x53e5c7)return null;_0x796df['children']['push'](_0x53e5c7['cloneNode'](!0x0)),_0x41b919['children']['push'](_0x53e5c7['cloneNode'](!0x0));}}const _0x2a2312=_0x5db34c['getDocumentContext'](),_0xccf112=_0x2a2312['content']||_0x2a2312['documents']['find'](_0x5ab389=>_0x5ab389['id']==_0xe99005['documentId'])['content'],_0x2689c5=_0x11d0e5['model']['document']['getRoot'](_0xe99005['rootName']),_0x1f7f5b=_0x11d0e5['data']['parse'](_0xccf112,_0x2689c5),_0x1b5161=_0x2e8cdd(_0x796df),_0x277494=_0x11d0e5['data']['parse'](_0x1b5161,_0x2689c5),_0x384653=_0x11d0e5['data']['parse'](_0x1b5161,_0x2689c5),_0x2a48e0=_0x11d0e5['model']['createPositionAt'](_0x277494,0x0),_0x18fc22=_0x2e8cdd(_0x41b919),_0x428a78={'targetEditor':_0x11d0e5,'anchor':_0x2a48e0,'markDeletions':!0x1},_0xc0d40=_0x11d0e5['plugins']['get'](DocumentCompare)['getDiff'](_0x1b5161,_0x18fc22,_0x428a78)['getOperations']();if(!_0xc0d40['length'])return null;_0x11d0e5['model']['change'](_0x41dc0b=>{for(const _0xe9a895 of _0xc0d40)if('remove'==_0xe9a895['type']){const _0x14bd1f=_0xe9a895['sourcePosition'],_0xbcb9c5=_0xe9a895['howMany'],_0xa0cd8c=new _0x5f37cd['_DetachOperation'](_0x14bd1f,_0xbcb9c5);_0x41dc0b['batch']['addOperation'](_0xa0cd8c),_0x11d0e5['model']['applyOperation'](_0xa0cd8c);}else'marker'!==_0xe9a895['type']&&(_0xe9a895['baseVersion']=null,_0xe9a895['isDocumentOperation']=!0x1,_0x41dc0b['batch']['addOperation'](_0xe9a895),_0x11d0e5['model']['applyOperation'](_0xe9a895));});const _0x440da7=_0x2ca81f(_0x11d0e5,_0xc0d40,_0x277494);_0x309ca4(_0x11d0e5['model'],_0x440da7);const _0x14e426=_0x440da7['getFirstRange']()['start']['path']['slice'](),_0xced836=_0x440da7['getFirstRange']()['end']['path']['slice'](),_0x1579b1=[];let _0x53790d=_0x277494,_0x5eb296=_0x384653;for(let _0x5b0eb0=0x0;_0x5b0eb0<_0xced836['length'];_0x5b0eb0++){const _0x3d60a3=_0x53790d['maxOffset']-_0xced836[_0x5b0eb0];_0x1579b1[_0x5b0eb0]=_0x5eb296['maxOffset']-_0x3d60a3,_0x53790d=_0x53790d['getChildAtOffset'](_0xced836[_0x5b0eb0]),_0x5eb296=_0x5eb296['getChildAtOffset'](_0x1579b1[_0x5b0eb0]);}const _0x419d1e=_0x11d0e5['model']['createRange'](_0x11d0e5['model']['createPositionFromPath'](_0x384653,_0x14e426),_0x11d0e5['model']['createPositionFromPath'](_0x384653,_0x1579b1)),_0x56ace8=_0x384653['getChild'](0x0)['getAttribute'](_0x2ac16d),_0x9752c9=Array['from'](_0x1f7f5b['getChildren']())['find'](_0x378b62=>_0x378b62['getAttribute'](_0x2ac16d)==_0x56ace8),_0x1f7f9a=_0x9752c9['getPath'](),_0x256329=_0x419d1e['start']['path']['slice'](),_0x4fe3ea=_0x419d1e['end']['path']['slice']();_0x256329[0x0]=_0x1f7f9a[0x0]+_0x256329[0x0],_0x4fe3ea[0x0]=_0x1f7f9a[0x0]+_0x4fe3ea[0x0];let _0x187d1d=_0x11d0e5['model']['createRange'](_0x11d0e5['model']['createPositionFromPath'](_0x11d0e5['model']['document']['getRoot'](_0xe99005['rootName']),_0x256329),_0x11d0e5['model']['createPositionFromPath'](_0x11d0e5['model']['document']['getRoot'](_0xe99005['rootName']),_0x4fe3ea));const _0x24cf48=_0x2a2312['documents']['find'](_0x1cfe01=>_0x1cfe01['id']==_0xe99005['documentId'])['version'],_0x41226f=_0x11d0e5['model']['document']['history']['getOperations'](_0x24cf48);for(const _0x231a2f of _0x41226f)_0x187d1d=_0x5f37cd['ModelRange']['_createFromRanges'](_0x187d1d['getTransformedByOperation'](_0x231a2f));return{'range':_0x187d1d,'currentIndex':_0x90354c,'targetEditor':_0x11d0e5};}['_integrateEditorBalloon'](_0x1a6408){if(!_0x1a6408['plugins']['has']('AIChatBalloon'))return;const _0x131618=_0x1a6408['plugins']['get']('AIChatBalloon');this['_hasAIChatBalloon']=!0x0,_0x131618['bind']('showDiff')['to'](this,'_aiChatBalloonShowDiff'),this['listenTo'](_0x131618,'toggleSuggestionDisplayMode',()=>{const {replyId:_0x3d47ec,partIndex:_0x4054b2}=this['_currentPreviewedChangeGroup'];this['_aiChatBalloonShowDiff']=!this['_aiChatBalloonShowDiff'];const {reply:_0x43664e}=this['getInteractionAndReplyById'](_0x3d47ec),_0x20967c=_0x43664e['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'groupIndex':_0x4054b2});_0x131618['updateContent']({'part':_0x20967c[0x0],'renderingStrategy':'static','keepErrors':!0x0});}),this['listenTo'](_0x131618,'applySuggestion',()=>{const {replyId:_0x2dbe82,partIndex:_0x475a6c}=this['_currentPreviewedChangeGroup'];this['_applySuggestion']({'replyId':_0x2dbe82,'partIndex':_0x475a6c}),_0x131618['setState']('accepted');}),this['listenTo'](_0x131618,'insertSuggestion',()=>{const {replyId:_0x2c0d2a,partIndex:_0x410f2c}=this['_currentPreviewedChangeGroup'];this['_insertSuggestion']({'replyId':_0x2c0d2a,'partIndex':_0x410f2c}),_0x131618['setState']('accepted');}),this['listenTo'](_0x131618,'rejectSuggestion',()=>{const {replyId:_0xa0038c,partIndex:_0x4db7f3}=this['_currentPreviewedChangeGroup'];this['_rejectSuggestion']({'replyId':_0xa0038c,'partIndex':_0x4db7f3}),_0x131618['setState']('rejected');}),this['listenTo'](_0x131618,'showNext',()=>{const {replyId:_0x2204d0,partIndex:_0xc132a0}=this['_currentPreviewedChangeGroup'],_0x55cd82=this['_getPresentableSiblingContentPartIndex'](_0x2204d0,_0xc132a0,'next');null!==_0x55cd82&&this['_openBalloonFor'](_0x2204d0,_0x55cd82);}),this['listenTo'](_0x131618,'showPrevious',()=>{const {replyId:_0x2bd168,partIndex:_0x13c1c8}=this['_currentPreviewedChangeGroup'],_0x33b64d=this['_getPresentableSiblingContentPartIndex'](_0x2bd168,_0x13c1c8,'previous');null!==_0x33b64d&&this['_openBalloonFor'](_0x2bd168,_0x33b64d);}),this['listenTo'](_0x131618,'dialogClosed',(_0x1736fa,{id:_0x78e433})=>{if('aiChatBalloon'!==_0x78e433)return;const {replyId:_0x10d517,partIndex:_0xcf3c9e}=this['_currentPreviewedChangeGroup'];this['_currentPreviewedChangeGroup']=null,this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x10d517,'index':_0xcf3c9e,'isActive':!0x1}),this['_activeBalloon']===_0x131618&&(this['_activeBalloon']=void 0x0);});}['_integrateEditor'](_0x555855){if(this['_channelsToEditors']['set'](_0x555855['config']['get']('collaboration.channelId'),_0x555855),this['_integrateEditorBalloon'](_0x555855),this['addCurrentDocumentToChatContext'](),_0x555855['once']('destroy',()=>{this['_checkRemoveCurrentDocumentFromChatContext']();}),_0x555855['plugins']['has']('Undo')){const _0x19a587=_0x555855['commands']['get']('undo'),_0x47d7fb=_0x555855['commands']['get']('redo');this['listenTo'](_0x19a587,'revert',(_0x53c0ac,_0x56259a,_0x8d361d)=>{const _0x4d77f2=this['_batchToChanges']['get'](_0x56259a);if(!_0x4d77f2)return;const _0x29a98e=this['activeConversation']['getInteraction'](_0x4d77f2['interactionId']),_0x5986e8=_0x29a98e?.['getReply'](_0x4d77f2['replyId']);this['_batchToChanges']['delete'](_0x56259a),_0x29a98e&&_0x5986e8&&(_0x4d77f2['indexes']['forEach'](_0x3ae01b=>_0x5986e8['setChangeGroupState'](_0x3ae01b,'pending')),this['_batchToChanges']['set'](_0x8d361d,_0x4d77f2));}),this['listenTo'](_0x47d7fb,'revert',(_0x515192,_0x242e7a,_0x19e217)=>{const _0x11151c=this['_batchToChanges']['get'](_0x242e7a);if(!_0x11151c)return;const _0x5987ce=this['activeConversation']['getInteraction'](_0x11151c['interactionId']),_0x4ce9ae=_0x5987ce?.['getReply'](_0x11151c['replyId']);this['_batchToChanges']['delete'](_0x242e7a),_0x5987ce&&_0x4ce9ae&&(_0x11151c['indexes']['forEach'](_0x297631=>_0x4ce9ae['setChangeGroupState'](_0x297631,'accepted')),this['_batchToChanges']['set'](_0x19e217,_0x11151c));});}const _0x9529e=_0x555855['config']['get']('ai.chat.context');_0x9529e['alwaysAddSelection']&&_0x9529e['document']['enabled']&&this['listenTo'](_0x555855['model']['document']['selection'],'change:range',(_0x31caa0,_0x372fcf)=>{if(!_0x372fcf['directChange'])return;'chat'===_0x555855['plugins']['get']('AITabs')['view']['activeTab']&&(_0x555855['model']['hasContent'](_0x555855['model']['document']['selection'])?this['addSelectionToChatContext'](_0x555855):this['removeSelectionFromChatContext']());});}async['_getLastCreatedConversationId'](){const _0x494378=this['_aiConnector']['fetchConversations'](this['getGroupId'](),{'limit':0x1,'sortBy':'createdAt'});try{const _0x3b90c4=await _0x494378['getConversations']();return _0x3b90c4['length']?_0x3b90c4[0x0]['id']:'new';}catch(_0x1fa52c){return this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x5f37cd['uid']()}),this['_logError'](new _0x5f37cd['CKEditorError']('ai-chat-conversation-init-failed',this,{'error':_0x1fa52c})),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1),this['_aiChatUi']['disableControls'](),null;}}async['_startConversationSafely'](_0x35ffbd={}){this['set']('isConversationReady',!0x1);try{await this['_handleStartConversation'](_0x35ffbd);}catch(_0x201bfd){this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x35ffbd['id']||_0x5f37cd['uid']()}),console['error'](_0x201bfd),this['activeConversation']=void 0x0,this['_aiChatUi']['disableControls']();}}async['_handleStartConversation']({id:_0x31f613,modelId:_0x106d23}={}){this['_closeActiveBalloon']();let _0x485dcd=_0x106d23;_0x485dcd||(_0x31f613||!this['activeConversation']?_0x485dcd=this['context']['config']['get']('ai.models.defaultModelId'):this['_aiChatUi']['isModelAvailable']&&(_0x485dcd=this['activeConversation']['selectedModel']['id'])),this['activeConversation']&&this['stopListening'](this['activeConversation']),await this['_stopLastInteraction']();const _0x23e05f=this['getGroupId'](),_0x26f25a=_0x31f613||_0x5f37cd['uid']();let _0x2d75a9;this['activeConversation']=new AIChatConversation({'connector':this['_aiConnector'],'chatModels':this['_aiChatModels'],'selectedModelId':_0x485dcd,'conversationId':_0x26f25a,'group':_0x23e05f,'locale':this['context']['locale'],'isFromHistory':!!_0x31f613,'channelsToEditors':this['_channelsToEditors'],'getSessionId':_0x389064=>this['_aiEditing']['getSessionId'](_0x389064)}),this['activeConversation']['delegate']('toolDataReceived','interactionCreated','interactionStarted','replyCreated')['to'](this),this['listenTo'](this['activeConversation'],'conversationInitialized',(_0x74e4f7,_0x2768ef)=>{this['_aiChatUi']['createConversation'](_0x2768ef),this['_aiChatUi']['resetMessageInput'](),this['_aiChatUi']['clearPendingContextUI'](),this['_aiChatUi']['clearConversationContextUI'](),_0x31f613||(this['_aiChatUi']['resetConversationTitle'](),this['addCurrentDocumentToChatContext']());}),this['listenTo'](this['activeConversation'],'uploadProgressChanged',(_0xe929f,_0x576b07)=>{this['_aiChatUi']['setIsUploadInProgress'](_0x576b07['isUploadInProgress']);}),this['listenTo'](this['activeConversation'],'webSearchStarted',()=>{const _0x2b9161=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this['_aiChatUi']['setLoadingMessage'](_0x2b9161);}),this['listenTo'](this['activeConversation'],'reasoningStarted',()=>{const _0x390867=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this['_aiChatUi']['setLoadingMessage'](_0x390867);}),this['listenTo'](this['activeConversation'],'webSearchFinished',(_0x5a32dc,_0x5b12c4)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x5b12c4,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['listenTo'](this['activeConversation'],'reasoningFinished',(_0x447eb5,_0x3f2224)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x3f2224,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this['listenTo'](this['activeConversation'],'interactionStarted',()=>{this['_aiChatUi']['startInteraction']();}),this['listenTo'](this['activeConversation'],'interactionFinished',async()=>{this['_updateReplyContentThrottled']['flush'](),await this['_aiChatUi']['finishInteraction']();}),this['listenTo'](this['activeConversation'],'interactionDestroyed',(_0x43c732,_0x3c2f1f)=>{this['_aiChatUi']['removeFeedInteraction'](_0x3c2f1f['id']);}),this['listenTo'](this['activeConversation'],'setConversationTitle',(_0x584945,_0xa6d936,_0x5752d1)=>{this['_updateConversationTitle'](_0xa6d936,_0x5752d1);}),this['listenTo'](this['activeConversation'],'replyContentUpdated',async(_0x5dab94,_0x5088b9)=>{void 0x0!==_0x2d75a9&&_0x2d75a9!==_0x5088b9['id']&&this['_updateReplyContentThrottled']['flush'](),_0x2d75a9=_0x5088b9['id'],_0x5088b9['isFromHistory']?await this['_updateReplyContent']({'reply':_0x5088b9}):await this['_updateReplyContentThrottled']({'reply':_0x5088b9});}),this['listenTo'](this['activeConversation'],'replyChangeGroupStateUpdated',(_0x3d87bf,{reply:_0x3d97b0,index:_0xfa4481,state:_0x481ec9})=>{this['_aiChatUi']['updateFeedItemAIReplySuggestionPartState']({'id':_0x3d97b0['id'],'index':_0xfa4481,'state':_0x481ec9}),this['_currentPreviewedChangeGroup']?.['replyId']['includes'](_0x3d97b0['id'])&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0xfa4481&&this['_activeBalloon']?.['setState'](_0x481ec9);}),this['listenTo'](this['activeConversation'],'contextItemAdded',(_0x3adff2,_0x2976ad)=>{if(this['_aiChatUi']['addContextItem'](_0x2976ad['contextItem'],_0x2976ad['isLoading']),'selection'===_0x2976ad['contextItem']['type']){const _0x3fa350=_0x27cbdf(this['context']),_0x214b7c=[..._0x3fa350['model']['document']['selection']['getRanges']()];this['_aiEditing']['showFakeVisualSelection']({'editor':_0x3fa350,'ranges':_0x214b7c,'id':'context','priority':0x1});}}),this['listenTo'](this['activeConversation'],'contextItemRemoved',(_0x4982d1,_0x27afc9)=>{this['_aiChatUi']['removeContextItem'](_0x27afc9['uiId']),'current-document'==_0x27afc9['uiId']&&this['removeSelectionFromChatContext'](),'selection'===_0x27afc9['type']&&this['_aiEditing']['hideFakeVisualSelection']('context');}),this['listenTo'](this['activeConversation'],'contextItemLoadingEnded',(_0x326521,_0x15bb3e)=>{this['_aiChatUi']['setContextItemLoading'](_0x15bb3e['contextItem']['uiId'],_0x15bb3e['isLoading']);}),this['listenTo'](this['activeConversation'],'contextSent',(_0x163b28,_0xe2f6e8)=>{this['_aiChatUi']['setConversationContext'](_0xe2f6e8['contextItems']);}),this['listenTo'](this['activeConversation'],'addContextOptionsChanged',(_0x1b6242,_0x19c213)=>{this['_aiChatUi']['setAddContextOptions'](_0x19c213['options']);}),this['listenTo'](this['activeConversation'],'sourceResourcesLoaded',(_0x4b2023,_0x1dd001)=>{this['_aiChatUi']['populateSourceResourceBalloon'](_0x1dd001['sourceId'],_0x1dd001['source'],_0x1dd001['resources'],_0x1dd001['uid']);}),this['listenTo'](this['activeConversation'],'resourceStateChanged',(_0x4aa2b0,_0x3bde97)=>{this['_aiChatUi']['updateResourceState'](_0x3bde97['sourceId'],_0x3bde97['resourceId'],_0x3bde97['isInContext']);}),this['listenTo'](this['activeConversation'],'capabilitiesUpdated',(_0x244d9d,_0x10b99a)=>{this['_aiChatUi']['updateCapabilities'](_0x10b99a);}),this['listenTo'](this['activeConversation'],'modelSelected',async(_0x525c6c,_0x31e443)=>{const _0x436f92=(await this['_aiChatModels']['getAll']())['find'](_0x2fb8b8=>_0x2fb8b8['id']===_0x31e443['selectedModel']?.['id'])||null;this['_aiChatUi']['setSelectedModel'](_0x436f92,_0x31e443['isDisabled']);}),this['listenTo'](this['activeConversation'],'error',(_0x2b3a5c,{error:_0x202d56,interactionId:_0x5dd987,fileName:_0x9b8af4,url:_0x32ab36,sourceId:_0x787da3,sourceLabel:_0x564ec7})=>{const _0x35c81f=_0x5dd987?_0x5dd987+':'+_0x5f37cd['uid']():_0x5f37cd['uid']();_0x202d56['message']['startsWith']('ai-request-aborted')?this['_aiChatUi']['addFeedItemStaticMessage']({'staticMessage':Qt(this['context']['locale'],'AI_CHAT_ABORTED_MESSAGE'),'id':_0x35c81f}):_0x202d56['message']['startsWith']('ai-chat-conversation-init-failed')||_0x202d56['message']['startsWith']('ai-chat-conversation-start-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x35c81f}),this['_logError'](_0x202d56)):_0x202d56['message']['startsWith']('ai-chat-file-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE',_0x9b8af4),'id':_0x35c81f}):_0x202d56['message']['startsWith']('ai-chat-url-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL',_0x32ab36),'id':_0x35c81f}):_0x202d56['message']['startsWith']('ai-chat-context-invalid-data')?this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_INVALID_DATA'),'id':_0x35c81f}):_0x202d56['message']['startsWith']('ai-chat-context-unsupported-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE'),'id':_0x35c81f}):_0x202d56['message']['startsWith']('ai-chat-source-resources-load-failed')?(_0x787da3&&this['_aiChatUi']['closeSourceResourceBalloon'](_0x787da3),this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES',_0x564ec7||'source'),'id':_0x35c81f}),this['_logError'](_0x202d56)):_0x202d56['message']['startsWith']('ai-chat-resource-load-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_RESOURCE_LOAD_FAILED'),'id':_0x35c81f}),this['_logError'](_0x202d56)):_0x202d56['message']['startsWith']('ai-chat-invalid-request')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_INVALID_REQUEST'),'id':_0x35c81f}),this['_logError'](_0x202d56)):_0x202d56['message']['startsWith']('ai-chat-context-unsupported-file-type')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE'),'id':_0x35c81f}),this['_logError'](_0x202d56)):_0x202d56['message']['startsWith']('ai-chat-context-file-too-large')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_LARGE'),'id':_0x35c81f}),this['_logError'](_0x202d56)):_0x202d56['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':_0x35c81f}),this['_logError'](_0x202d56)):_0x202d56['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':_0x35c81f}),this['_logError'](_0x202d56)):(this['_aiChatUi']['addFeedItemError']({'errorMessage':Qt(this['context']['locale'],'AI_CHAT_GENERIC_ERROR'),'id':_0x35c81f}),this['_logError'](_0x202d56));}),await this['activeConversation']['init'](this['context']['config']['get']('ai.chat.context')),_0x31f613||(await this['activeConversation']['start'](),this['_aiChatUi']['enableControls']()),this['set']('isConversationReady',!0x0);}async['_handleUIUserMessage']({message:_0x4b631e,attributes:_0x356ae4}){if(!this['activeConversation'])throw new _0x5f37cd['CKEditorError']('ai-chat-controller-no-active-conversation');if(this['activeConversation']['isCurrentDocumentInContext']()){const _0x4e5e8a=await this['_aiEditing']['getDocumentData']();await this['activeConversation']['updateCurrentDocumentsInContext'](_0x4e5e8a);}this['activeConversation']['id']&&this['activeConversation']['isStarted']&&await this['activeConversation']['handleUserInteraction']({'userMessage':_0x4b631e,'attributes':_0x356ae4});}['_logError'](_0x2875a2){_0x5f37cd['logError'](_0x2875a2['message'],_0x2875a2['data']);}['_removeFromContext'](_0x4c0739){this['activeConversation']?.['removeFromContext'](_0x4c0739);}['_toggleWebSearch'](){this['activeConversation']?.['toggleWebSearch']();}['_toggleReasoning'](){this['activeConversation']?.['toggleReasoning']();}['getInteractionAndReplyById'](_0x1d4763){const [_0x3bc28d,_0x10373a]=_0x1d4763['split'](':'),_0x1a2524=this['activeConversation']['getInteraction'](_0x3bc28d),_0x541a6d=_0x1a2524['getReply'](_0x10373a);return{'interaction':_0x1a2524,'reply':_0x541a6d};}['_scrollToSuggestionRange'](_0x114f85,_0x9ff16b=!0x1,_0x28a00d){const _0x18d594={'target':_0x28a00d['editing']['view']['domConverter']['viewRangeToDom'](_0x28a00d['editing']['mapper']['toViewRange'](_0x114f85)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x9ff16b};_0x9ff16b&&(_0x18d594['alignToTop']=!0x0),_0x5f37cd['scrollViewportToShowTarget'](_0x18d594);}['_updateConversationTitle'](_0x3e2e8f,_0x53c924=!0x1){this['_aiChatUi']['setConversationTitle'](_0x3e2e8f||Qt(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),_0x53c924);}['_addFeedItemReply'](_0x33f424){'text'===_0x33f424['type']?this['_aiChatUi']['addFeedItemAIReply'](_0x33f424):this['_aiChatUi']['addFeedItemAISuggestion'](_0x33f424);}async['_updateReplyContent']({reply:_0x2678aa,renderingStrategy:_0x249243}){const {id:_0x252390,interactionId:_0x555914,isDone:_0x631d6f,type:_0x487d46,parsedContent:_0x589ed0}=_0x2678aa,_0xc26564=_0x555914+':'+_0x252390;if('modification'===_0x487d46){const _0x243e82=_0x2678aa['getContentParts']({'showDiff':this['_aiChatUi']['showDiff']});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0xc26564,'parts':_0x243e82,'isDone':_0x631d6f,'skipLoadingEffects':_0x2678aa['isFromHistory']});}else'text'===_0x487d46&&await this['_aiChatUi']['updateFeedItemAIReplyContent']({'id':_0xc26564,'parsedContent':_0x589ed0['get']('text'),'renderingStrategy':_0x249243,'isDone':_0x631d6f});_0x631d6f&&_0x2678aa['sources']['length']>0x0&&this['_aiChatUi']['updateFeedItemAIReplySources'](_0xc26564,_0x2678aa['sources']);}['_updateReplyContentThrottled']=ut(this['_updateReplyContent']['bind'](this),0xc8);async['_stopLastInteraction'](){const _0x4d8682=this['activeConversation']?.['lastInteraction'];_0x4d8682&&(_0x4d8682['stop'](),this['_aiChatUi']['stopInteraction'](_0x4d8682)),this['_updateReplyContentThrottled']['cancel']();}async['_flushLastInteractionUI'](){const _0x344486=this['activeConversation']?.['lastInteraction'];if(_0x344486){for await(const _0x3163ec of _0x344486['replies'])this['_aiChatUi']['hasFeedItem'](_0x3163ec['id'])||this['_addFeedItemReply'](_0x3163ec),await this['_updateReplyContent']({'reply':_0x3163ec,'renderingStrategy':'static'});}}['_updateRatings'](_0x18edc9){const _0x4f8005={'positiveCount':_0x18edc9['changeGroups']['filter'](_0x3dbdc3=>'accepted'===_0x3dbdc3['state'])['length'],'totalCount':_0x18edc9['changeGroups']['length'],'modificationId':_0x18edc9['id']},_0x18f069=this['activeConversation']['getInteraction'](_0x18edc9['interactionId'])['messageId'];_0x18f069&&this['_aiConnector']['upsertAIChatRating'](this['activeConversation']['id'],_0x18f069,_0x4f8005);}['_getAIChatFeedAPI'](_0x876806){const _0x482d29=this['_aiChatUi'],_0x31002d=()=>{_0x876806['resetWebSearchState'](),_0x876806['resetReasoningState'](),_0x482d29['clearLoadingMessage']();},_0x576f89=()=>{_0x876806['currentReply']&&(_0x876806['currentReply']['done'](),_0x876806['currentReply']=void 0x0);};return{'insertTextReply':(_0x5c19ec,_0x55943f)=>{_0x576f89(),_0x31002d();const _0x5a9fcc=_0x876806['currentReply']=_0x876806['createReply']({'type':'text','interactionId':_0x876806['id'],'id':_0x55943f||_0x5f37cd['uid'](),'channelsToEditors':this['_channelsToEditors']});return _0x5a9fcc['appendContent'](_0x5c19ec),_0x576f89(),_0x5a9fcc;},'insertCustomElement':async(_0x24923c,_0x5bc1b7)=>(_0x576f89(),_0x31002d(),_0x482d29['addFeedItemCustomElement'](_0x24923c,_0x5bc1b7||_0x5f37cd['uid']())),'setLoadingMessage':_0x433acf=>{_0x482d29['setLoadingMessage'](_0x433acf);},'clearLoadingMessage':()=>{_0x482d29['clearLoadingMessage']();}};}['_checkRemoveCurrentDocumentFromChatContext'](){_0x1f8c08(this['context'])['find'](_0x305e31=>'destroyed'!==_0x305e31['state'])||(this['activeConversation']?.['removeFromContext']('current-document'),this['activeConversation']?.['toggleAddCurrentDocumentOptionVisibility'](!0x1));}}const _0xc01959='ai-selection',_0xf8fbb1=['br'];class AIEditing extends _0x5f37cd['ContextPlugin']{constructor(_0x517a5d){super(_0x517a5d),this['context']['config']['define']('ai.models.showModelSelector',!0x0);}['_outputDataProcessor'];['_fakeSelections']=[];['_sessionIdByEditor']=new WeakMap();['_lastContentFocusedEditor'];static get['pluginName'](){return'AIEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['getLastContentFocusedEditor'](){return this['_lastContentFocusedEditor'];}['getSessionId'](_0x2ee595){let _0xe82d15=this['_sessionIdByEditor']['get'](_0x2ee595);return!_0xe82d15&&(_0xe82d15=_0x2ee595['plugins']['has']('RealTimeCollaborationClient')&&_0x2ee595['plugins']['get']('RealTimeCollaborationClient')['sessionId']||_0x5f37cd['uid'](),this['_sessionIdByEditor']['set'](_0x2ee595,_0xe82d15)),_0xe82d15;}async['getDocumentData'](){const _0x56cbb8=_0x1f8c08(this['context']);if(!_0x56cbb8['length'])throw new _0x5f37cd['CKEditorError']('ai-get-editor-from-context-no-editor');const _0x362cf7=[],_0x583e06=new Set();for(const _0x7e4f7e of _0x56cbb8){const _0x39d974=_0x7e4f7e['config']['get']('roots')||{};for(const _0xe87523 of _0x7e4f7e['model']['document']['getRoots']()){if('$graveyard'===_0xe87523['rootName'])continue;const _0x5a0378=await this['_getDocumentDataForEditorRoot'](_0x7e4f7e,_0xe87523,_0x583e06),_0x1ac38f=_0x39d974[_0xe87523['rootName']];let _0x2b5d14;_0x1ac38f?.['label']?_0x2b5d14=_0x1ac38f['label']:(_0x5f37cd['logWarning']('ai-document-root-missing-label',{'editor':_0x7e4f7e,'rootConfig':_0x1ac38f}),_0x2b5d14=_0xe87523['rootName']),_0x362cf7['push']({'editor':_0x7e4f7e,'rootName':_0xe87523['rootName'],'content':_0x5a0378['content'],'version':_0x5a0378['version'],'sessionId':this['getSessionId'](_0x7e4f7e),'channelId':_0x7e4f7e['config']['get']('collaboration.channelId'),'selections':_0x5a0378['selections'],'name':_0x2b5d14,'description':_0x1ac38f?.['description']});}}return _0x362cf7;}async['_getDocumentDataForEditorRoot'](_0x480738,_0x31179c,_0x257bb5){const _0x21477d=_0x480738['data']['toView'](_0x31179c,{'convertAiChatSelectionMarker':!0x0}),_0x53c350=new _0x5f37cd['ViewDowncastWriter'](_0x480738['editing']['view']['document']);this['_setDataIdsOnChildren'](_0x21477d,_0x53c350,_0x257bb5);let _0x4b23a6=await this['_getDocumentDataStringFromView'](_0x21477d,_0x480738);const _0x59a4c3=this['_getMarkersInDocumentOrder'](_0x480738,_0x31179c),_0x4e7b82=[];for(const _0x4f1cb2 of _0x59a4c3){const _0x290d74='<'+_0x4f1cb2['name']+':start></'+_0x4f1cb2['name']+':start>',_0x1d4ea0=_0x4b23a6['indexOf'](_0x290d74);_0x4b23a6=_0x4b23a6['substring'](0x0,_0x1d4ea0)+_0x4b23a6['substring'](_0x1d4ea0+_0x290d74['length']);const _0x42f0ad='<'+_0x4f1cb2['name']+':end></'+_0x4f1cb2['name']+':end>',_0x4c0f56=_0x4b23a6['indexOf'](_0x42f0ad);_0x4b23a6=_0x4b23a6['substring'](0x0,_0x4c0f56)+_0x4b23a6['substring'](_0x4c0f56+_0x42f0ad['length']),_0x4e7b82['push']({'markerName':_0x4f1cb2['name'],'start':_0x1d4ea0,'end':_0x4c0f56,'htmlFragment':_0x4b23a6['substring'](_0x1d4ea0,_0x4c0f56)});}return{'content':_0x4b23a6,'version':_0x480738['model']['document']['version'],'selections':_0x4e7b82};}['afterInit'](){this['context']instanceof _0x5f37cd['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x5275d1,_0x2c5d1f)=>{_0x2c5d1f['on']('ready',()=>{this['_integrateEditor'](_0x2c5d1f);});});}['_setOutputDataProcessor'](_0x461aca){this['_outputDataProcessor']=_0x461aca;}async['_getDocumentDataStringFromView'](_0x52c7fd,_0x42101c){let _0x50b0cd;if(this['_outputDataProcessor']){const _0x551615=_0x42101c['data']['processor']['domConverter']['viewToDom'](_0x52c7fd),_0x10db3e=await this['_outputDataProcessor'](_0x551615);_0x50b0cd=_0x42101c['data']['processor']['htmlWriter']['getHtml'](_0x10db3e);}else _0x50b0cd=_0x42101c['data']['processor']['toData'](_0x52c7fd);return _0x50b0cd;}['_integrateEditor'](_0x3b5670){if(!_0x3b5670['config']['get']('collaboration.channelId'))throw new _0x5f37cd['CKEditorError']('ai-missing-channel-id',_0x3b5670);_0x3b5670['ui']['focusTracker']['on']('change:isFocused',(_0x15af3f,_0x194bc9,_0x258b4d)=>{_0x258b4d&&(this['_lastContentFocusedEditor']=_0x3b5670);}),_0x3b5670['on']('destroy',()=>{this['_lastContentFocusedEditor']===_0x3b5670&&(this['_lastContentFocusedEditor']=void 0x0);}),_0x3b5670['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0xc01959,'view':({markerName:_0x57b5a9})=>({'classes':['ck-ai-assistant-ui_theme','ck-fake-ai-selection','ck-fake-ai-selection-'+_0x57b5a9['split'](':')[0x1]],'priority':0xc})}),_0x3b5670['conversion']['for']('dataDowncast')['markerToElement']({'model':_0xc01959+':context','view':(_0x18b91e,{writer:_0x5f389b,options:_0x5807b5})=>_0x5807b5['convertAiChatSelectionMarker']?_0x5f389b['createUIElement'](_0x18b91e['markerName']+':'+(_0x18b91e['isOpening']?'start':'end')):null});}['showFakeVisualSelection'](_0x26cc90){const _0x37a31d=this['_fakeSelections'][0x0]||null;this['_addFakeSelection'](_0x26cc90);const _0x5eb105=this['_fakeSelections'][0x0]||null;this['_refreshFakeSelection'](_0x37a31d,_0x5eb105);}['hideFakeVisualSelection'](_0x5b03ed){const _0x43feea=this['_fakeSelections'][0x0]||null;this['_removeFakeSelectionById'](_0x5b03ed);const _0x7db617=this['_fakeSelections'][0x0]||null;this['_refreshFakeSelection'](_0x43feea,_0x7db617);}async['modelToDataWithIds'](_0x5c5ef2,_0x416bd6){const _0x2e9fd5=_0x416bd6['data']['toView'](_0x5c5ef2),_0x74182f=new _0x5f37cd['ViewDowncastWriter'](_0x416bd6['editing']['view']['document']);return this['_setDataIdsOnChildren'](_0x2e9fd5,_0x74182f),this['_getDocumentDataStringFromView'](_0x2e9fd5,_0x416bd6);}['_setDataIdsOnChildren'](_0x4d69c3,_0x1b0490,_0x2d3c0d=new Set()){let _0x324436=!0x1;for(const _0x29837b of _0x4d69c3['getChildren']()){if(!_0x29837b['is']('view:element')||_0xf8fbb1['includes'](_0x29837b['name']))continue;const _0x16c531=_0x29837b['is']('view:containerElement'),_0x5aa867=_0x29837b['is']('view:emptyElement'),_0x30a725=_0x29837b['is']('view:rawElement'),_0x3c5f29=this['_setDataIdsOnChildren'](_0x29837b,_0x1b0490,_0x2d3c0d);if(_0x29837b['hasAttribute']('data-id')){_0x324436=!0x0,_0x2d3c0d['add'](_0x29837b['getAttribute']('data-id'));continue;}(_0x16c531||_0x5aa867||_0x30a725||_0x3c5f29)&&(_0x1b0490['setAttribute']('data-id',this['_nextDataId'](_0x2d3c0d),_0x29837b),_0x324436=!0x0);}return _0x324436;}['_nextDataId'](_0x5328af){let _0x427b77;do{_0x427b77='';for(let _0x82afac=0x0;_0x82afac<0x4;_0x82afac++)_0x427b77+=String['fromCharCode'](0x61+Math['floor'](0x1a*Math['random']()));}while(_0x5328af['has'](_0x427b77));return _0x5328af['add'](_0x427b77),_0x427b77;}['getSelectionText'](_0x5c7135){const _0x508c1b=(_0x5c7135?_0x5c7135['model']:_0x27cbdf(this['context'])['model'])['document']['selection'],_0x302a77=[],_0x51effa=Array['from'](_0x508c1b['getRanges']());_0x51effa['sort']((_0x5f57c0,_0x47441e)=>_0x5f57c0['start']['isBefore'](_0x47441e['start'])?-0x1:0x1);for(const _0x52b810 of _0x51effa)for(const _0x4880da of _0x52b810['getItems']())_0x4880da['is']('$textProxy')?_0x302a77['push'](_0x4880da['data']):_0x4880da['is']('element')&&_0x302a77['length']>0x0&&'\x20'!==_0x302a77[_0x302a77['length']-0x1]&&_0x302a77['push']('\x20');return _0x302a77['length']?'\x22'+_0x302a77['join']('')['trim']()+'\x22':Qt(this['context']['locale'],'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL');}['_removeFakeSelectionById'](_0x1514b1){for(let _0x284298=0x0;_0x284298<this['_fakeSelections']['length'];_0x284298++)if(this['_fakeSelections'][_0x284298]['id']==_0x1514b1)return void this['_fakeSelections']['splice'](_0x284298,0x1);}['_addFakeSelection'](_0x305f16){this['_removeFakeSelectionById'](_0x305f16['id']),_0x5f37cd['insertToPriorityArray'](this['_fakeSelections'],_0x305f16);}['_refreshFakeSelection'](_0x461b95,_0x11faa0){if(_0x461b95==_0x11faa0)return;const _0x1c0177=_0x461b95?_0x461b95['editor']:null,_0x154cd4=_0x11faa0?_0x11faa0['editor']:null,_0x73228c=(_0x23c9a7,_0x52926c)=>{const _0x420477=_0x52926c['model']['markers']['getMarkersGroup'](_0xc01959);for(const _0x4e5d8d of _0x420477)_0x23c9a7['removeMarker'](_0x4e5d8d);},_0x322d8d=(_0x1560e9,_0x2ae2e4,_0x419c0e)=>{const _0x40249e=_0x2ae2e4['model'];for(let _0xa05d35=0x0;_0xa05d35<_0x419c0e['ranges']['length'];_0xa05d35++){let _0x1d8538=_0x419c0e['ranges'][_0xa05d35];const _0x3ea762=_0xc01959+':'+_0x419c0e['id']+':'+_0xa05d35;if(_0x1d8538['start']['isAtEnd']){const _0x5dd70f=_0x1d8538['start']['getLastMatchingPosition'](({item:_0x5b9394})=>!_0x40249e['schema']['isContent'](_0x5b9394),{'boundaries':_0x1d8538});_0x1d8538=_0x1560e9['createRange'](_0x5dd70f,_0x1d8538['end']);}_0x1560e9['addMarker'](_0x3ea762,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1d8538});}};_0x1c0177&&_0x154cd4&&_0x1c0177===_0x154cd4&&_0x11faa0?_0x1c0177['model']['change'](_0x388b10=>{_0x73228c(_0x388b10,_0x1c0177),_0x322d8d(_0x388b10,_0x154cd4,_0x11faa0);}):(_0x1c0177&&_0x1c0177['model']['change'](_0x3c47d5=>_0x73228c(_0x3c47d5,_0x1c0177)),_0x154cd4&&_0x11faa0&&_0x154cd4['model']['change'](_0x22c8b3=>_0x322d8d(_0x22c8b3,_0x154cd4,_0x11faa0)));}['_getMarkersInDocumentOrder'](_0x4041d2,_0x4b5b7c){const _0x55a556=Array['from'](_0x4041d2['model']['markers']['getMarkersGroup'](_0xc01959+':context')),_0x18dc43=_0x4b5b7c?_0x55a556['filter'](_0x46fabb=>{const _0x2f3a65=_0x46fabb['getRange']();return _0x2f3a65&&_0x2f3a65['root']['rootName']===_0x4b5b7c['rootName'];}):_0x55a556;return _0x18dc43['sort']((_0x3b3340,_0x382bab)=>_0x3b3340['getStart']()['isBefore'](_0x382bab['getStart']())?-0x1:_0x3b3340['getStart']()['isAfter'](_0x382bab['getStart']())?0x1:0x0);}}const _0x67706d=['showChangeInText','insertSuggestion','applySuggestion','rejectSuggestion','mouseOverSuggestion','mouseLeaveSuggestion','toggleSuggestionDisplayMode','like','dislike'],_0x24fdf8=[..._0x67706d,'startConversation','sendUserMessage','promptInputPaste','abortPromptStream','addDocumentToContext','addFileToContext','addUrlToContext','executeCustomItemCallback','addResourceToContext','removeContextItem','loadSourceResources','toggleWebSearch','toggleReasoning','selectModel'];var _0x51a208,_0x4c9bf5='undefined'==typeof document?void 0x0:document,_0x469dab=!!_0x4c9bf5&&'content'in _0x4c9bf5['createElement']('template'),_0x51d0b3=!!_0x4c9bf5&&_0x4c9bf5['createRange']&&'createContextualFragment'in _0x4c9bf5['createRange']();function _0x57a210(_0x1fdb78){return _0x1fdb78=_0x1fdb78['trim'](),_0x469dab?function(_0x5aa206){var _0x489993=_0x4c9bf5['createElement']('template');return _0x489993['innerHTML']=_0x5aa206,_0x489993['content']['childNodes'][0x0];}(_0x1fdb78):_0x51d0b3?function(_0x4bf796){return _0x51a208||(_0x51a208=_0x4c9bf5['createRange']())['selectNode'](_0x4c9bf5['body']),_0x51a208['createContextualFragment'](_0x4bf796)['childNodes'][0x0];}(_0x1fdb78):function(_0x124a52){var _0x2eed16=_0x4c9bf5['createElement']('body');return _0x2eed16['innerHTML']=_0x124a52,_0x2eed16['childNodes'][0x0];}(_0x1fdb78);}function tc(_0x169001,_0x52d3d2){var _0x755a6a,_0x56f658,_0x2e9f2d=_0x169001['nodeName'],_0x30f6c0=_0x52d3d2['nodeName'];return _0x2e9f2d===_0x30f6c0||(_0x755a6a=_0x2e9f2d['charCodeAt'](0x0),_0x56f658=_0x30f6c0['charCodeAt'](0x0),_0x755a6a<=0x5a&&_0x56f658>=0x61?_0x2e9f2d===_0x30f6c0['toUpperCase']():_0x56f658<=0x5a&&_0x755a6a>=0x61&&_0x30f6c0===_0x2e9f2d['toUpperCase']());}function _0x370550(_0x59d606,_0x3036d8,_0x24b451){_0x59d606[_0x24b451]!==_0x3036d8[_0x24b451]&&(_0x59d606[_0x24b451]=_0x3036d8[_0x24b451],_0x59d606[_0x24b451]?_0x59d606['setAttribute'](_0x24b451,''):_0x59d606['removeAttribute'](_0x24b451));}var _0x68477f={'OPTION':function(_0x101ebc,_0x32f0f8){var _0x136e18=_0x101ebc['parentNode'];if(_0x136e18){var _0x5c9e0e=_0x136e18['nodeName']['toUpperCase']();'OPTGROUP'===_0x5c9e0e&&(_0x5c9e0e=(_0x136e18=_0x136e18['parentNode'])&&_0x136e18['nodeName']['toUpperCase']()),'SELECT'!==_0x5c9e0e||_0x136e18['hasAttribute']('multiple')||(_0x101ebc['hasAttribute']('selected')&&!_0x32f0f8['selected']&&(_0x101ebc['setAttribute']('selected','selected'),_0x101ebc['removeAttribute']('selected')),_0x136e18['selectedIndex']=-0x1);}_0x370550(_0x101ebc,_0x32f0f8,'selected');},'INPUT':function(_0x2a8cfb,_0x3d667a){_0x370550(_0x2a8cfb,_0x3d667a,'checked'),_0x370550(_0x2a8cfb,_0x3d667a,'disabled'),_0x2a8cfb['value']!==_0x3d667a['value']&&(_0x2a8cfb['value']=_0x3d667a['value']),_0x3d667a['hasAttribute']('value')||_0x2a8cfb['removeAttribute']('value');},'TEXTAREA':function(_0xcaeabb,_0x490003){var _0x4ad6fb=_0x490003['value'];_0xcaeabb['value']!==_0x4ad6fb&&(_0xcaeabb['value']=_0x4ad6fb);var _0x32f77e=_0xcaeabb['firstChild'];if(_0x32f77e){var _0x3c4b2a=_0x32f77e['nodeValue'];if(_0x3c4b2a==_0x4ad6fb||!_0x4ad6fb&&_0x3c4b2a==_0xcaeabb['placeholder'])return;_0x32f77e['nodeValue']=_0x4ad6fb;}},'SELECT':function(_0x114255,_0x1edfed){if(!_0x1edfed['hasAttribute']('multiple')){for(var _0x59a2b5,_0x235317,_0x5751be=-0x1,_0x479415=0x0,_0x45dec5=_0x114255['firstChild'];_0x45dec5;)if('OPTGROUP'===(_0x235317=_0x45dec5['nodeName']&&_0x45dec5['nodeName']['toUpperCase']()))(_0x45dec5=(_0x59a2b5=_0x45dec5)['firstChild'])||(_0x45dec5=_0x59a2b5['nextSibling'],_0x59a2b5=null);else{if('OPTION'===_0x235317){if(_0x45dec5['hasAttribute']('selected')){_0x5751be=_0x479415;break;}_0x479415++;}!(_0x45dec5=_0x45dec5['nextSibling'])&&_0x59a2b5&&(_0x45dec5=_0x59a2b5['nextSibling'],_0x59a2b5=null);}_0x114255['selectedIndex']=_0x5751be;}}};function _0x1436d5(){}function _0x1b71b2(_0x598145){if(_0x598145)return _0x598145['getAttribute']&&_0x598145['getAttribute']('id')||_0x598145['id'];}var _0x329e18=function(_0x15fceb){return function(_0x379fa2,_0x317974,_0x2ef9ae){if(_0x2ef9ae||(_0x2ef9ae={}),'string'==typeof _0x317974){if('#document'===_0x379fa2['nodeName']||'HTML'===_0x379fa2['nodeName']||'BODY'===_0x379fa2['nodeName']){var _0x7a175a=_0x317974;(_0x317974=_0x4c9bf5['createElement']('html'))['innerHTML']=_0x7a175a;}else _0x317974=_0x57a210(_0x317974);}else 0xb===_0x317974['nodeType']&&(_0x317974=_0x317974['firstElementChild']);var _0x35d8e8=_0x2ef9ae['getNodeKey']||_0x1b71b2,_0x13710f=_0x2ef9ae['onBeforeNodeAdded']||_0x1436d5,_0x1d8cfe=_0x2ef9ae['onNodeAdded']||_0x1436d5,_0x20a73d=_0x2ef9ae['onBeforeElUpdated']||_0x1436d5,_0x4d8a64=_0x2ef9ae['onElUpdated']||_0x1436d5,_0x5e153c=_0x2ef9ae['onBeforeNodeDiscarded']||_0x1436d5,_0x14644c=_0x2ef9ae['onNodeDiscarded']||_0x1436d5,_0x5c0061=_0x2ef9ae['onBeforeElChildrenUpdated']||_0x1436d5,_0xdce0aa=_0x2ef9ae['skipFromChildren']||_0x1436d5,_0x40ee60=_0x2ef9ae['addChild']||function(_0x1daf5c,_0x18a1c2){return _0x1daf5c['appendChild'](_0x18a1c2);},_0x444b6d=!0x0===_0x2ef9ae['childrenOnly'],_0x42fed0=Object['create'](null),_0x23bab0=[];function _0x40a95e(_0xafd759){_0x23bab0['push'](_0xafd759);}function _0x876d52(_0x56aeea,_0x4d1aee){if(0x1===_0x56aeea['nodeType'])for(var _0xcc9acb=_0x56aeea['firstChild'];_0xcc9acb;){var _0x3d6eff=void 0x0;_0x4d1aee&&(_0x3d6eff=_0x35d8e8(_0xcc9acb))?_0x40a95e(_0x3d6eff):(_0x14644c(_0xcc9acb),_0xcc9acb['firstChild']&&_0x876d52(_0xcc9acb,_0x4d1aee)),_0xcc9acb=_0xcc9acb['nextSibling'];}}function _0x218642(_0x19b901,_0x85ad58,_0x51f2f3){!0x1!==_0x5e153c(_0x19b901)&&(_0x85ad58&&_0x85ad58['removeChild'](_0x19b901),_0x14644c(_0x19b901),_0x876d52(_0x19b901,_0x51f2f3));}function _0x11e91b(_0x1dc52f){if(0x1===_0x1dc52f['nodeType']||0xb===_0x1dc52f['nodeType'])for(var _0x37e87a=_0x1dc52f['firstChild'];_0x37e87a;){var _0x223ce2=_0x35d8e8(_0x37e87a);_0x223ce2&&(_0x42fed0[_0x223ce2]=_0x37e87a),_0x11e91b(_0x37e87a),_0x37e87a=_0x37e87a['nextSibling'];}}function _0x250cc7(_0x117df0){_0x1d8cfe(_0x117df0);for(var _0x3f1415=_0x117df0['firstChild'];_0x3f1415;){var _0x22dc19=_0x3f1415['nextSibling'],_0x2786a2=_0x35d8e8(_0x3f1415);if(_0x2786a2){var _0xf50e28=_0x42fed0[_0x2786a2];_0xf50e28&&tc(_0x3f1415,_0xf50e28)?(_0x3f1415['parentNode']['replaceChild'](_0xf50e28,_0x3f1415),_0x248562(_0xf50e28,_0x3f1415)):_0x250cc7(_0x3f1415);}else _0x250cc7(_0x3f1415);_0x3f1415=_0x22dc19;}}function _0x248562(_0x3f6237,_0x3af8db,_0x283cad){var _0x1d82e6=_0x35d8e8(_0x3af8db);if(_0x1d82e6&&delete _0x42fed0[_0x1d82e6],!_0x283cad){var _0x3f5954=_0x20a73d(_0x3f6237,_0x3af8db);if(!0x1===_0x3f5954)return;if(_0x3f5954 instanceof HTMLElement&&_0x11e91b(_0x3f6237=_0x3f5954),_0x15fceb(_0x3f6237,_0x3af8db),_0x4d8a64(_0x3f6237),!0x1===_0x5c0061(_0x3f6237,_0x3af8db))return;}'TEXTAREA'!==_0x3f6237['nodeName']?function(_0x8fde1,_0x57bee0){var _0x2520fa,_0x3bca4e,_0x3a8c02,_0x5db324,_0x29f3e7,_0x3f896b=_0xdce0aa(_0x8fde1,_0x57bee0),_0x1c292b=_0x57bee0['firstChild'],_0x4bb48d=_0x8fde1['firstChild'];t:for(;_0x1c292b;){for(_0x5db324=_0x1c292b['nextSibling'],_0x2520fa=_0x35d8e8(_0x1c292b);!_0x3f896b&&_0x4bb48d;){if(_0x3a8c02=_0x4bb48d['nextSibling'],_0x1c292b['isSameNode']&&_0x1c292b['isSameNode'](_0x4bb48d)){_0x1c292b=_0x5db324,_0x4bb48d=_0x3a8c02;continue t;}_0x3bca4e=_0x35d8e8(_0x4bb48d);var _0x46f5fe=_0x4bb48d['nodeType'],_0x5c9fac=void 0x0;if(_0x46f5fe===_0x1c292b['nodeType']&&(0x1===_0x46f5fe?(_0x2520fa?_0x2520fa!==_0x3bca4e&&((_0x29f3e7=_0x42fed0[_0x2520fa])?_0x3a8c02===_0x29f3e7?_0x5c9fac=!0x1:(_0x8fde1['insertBefore'](_0x29f3e7,_0x4bb48d),_0x3bca4e?_0x40a95e(_0x3bca4e):_0x218642(_0x4bb48d,_0x8fde1,!0x0),_0x3bca4e=_0x35d8e8(_0x4bb48d=_0x29f3e7)):_0x5c9fac=!0x1):_0x3bca4e&&(_0x5c9fac=!0x1),(_0x5c9fac=!0x1!==_0x5c9fac&&tc(_0x4bb48d,_0x1c292b))&&_0x248562(_0x4bb48d,_0x1c292b)):0x3!==_0x46f5fe&&0x8!=_0x46f5fe||(_0x5c9fac=!0x0,_0x4bb48d['nodeValue']!==_0x1c292b['nodeValue']&&(_0x4bb48d['nodeValue']=_0x1c292b['nodeValue']))),_0x5c9fac){_0x1c292b=_0x5db324,_0x4bb48d=_0x3a8c02;continue t;}_0x3bca4e?_0x40a95e(_0x3bca4e):_0x218642(_0x4bb48d,_0x8fde1,!0x0),_0x4bb48d=_0x3a8c02;}if(_0x2520fa&&(_0x29f3e7=_0x42fed0[_0x2520fa])&&tc(_0x29f3e7,_0x1c292b))_0x3f896b||_0x40ee60(_0x8fde1,_0x29f3e7),_0x248562(_0x29f3e7,_0x1c292b);else{var _0x308974=_0x13710f(_0x1c292b);!0x1!==_0x308974&&(_0x308974&&(_0x1c292b=_0x308974),_0x1c292b['actualize']&&(_0x1c292b=_0x1c292b['actualize'](_0x8fde1['ownerDocument']||_0x4c9bf5)),_0x40ee60(_0x8fde1,_0x1c292b),_0x250cc7(_0x1c292b));}_0x1c292b=_0x5db324,_0x4bb48d=_0x3a8c02;}!function(_0x5dae69,_0x33570d,_0x2a47f2){for(;_0x33570d;){var _0xcb7f11=_0x33570d['nextSibling'];(_0x2a47f2=_0x35d8e8(_0x33570d))?_0x40a95e(_0x2a47f2):_0x218642(_0x33570d,_0x5dae69,!0x0),_0x33570d=_0xcb7f11;}}(_0x8fde1,_0x4bb48d,_0x3bca4e);var _0x5c0cd0=_0x68477f[_0x8fde1['nodeName']];_0x5c0cd0&&_0x5c0cd0(_0x8fde1,_0x57bee0);}(_0x3f6237,_0x3af8db):_0x68477f['TEXTAREA'](_0x3f6237,_0x3af8db);}_0x11e91b(_0x379fa2);var _0x3f1b1f=_0x379fa2,_0x4b06d3=_0x3f1b1f['nodeType'],_0x3a7c7c=_0x317974['nodeType'];if(!_0x444b6d){if(0x1===_0x4b06d3)0x1===_0x3a7c7c?tc(_0x379fa2,_0x317974)||(_0x14644c(_0x379fa2),_0x3f1b1f=function(_0x2948da,_0x29496e){for(var _0x2e2114=_0x2948da['firstChild'];_0x2e2114;){var _0x5c97e9=_0x2e2114['nextSibling'];_0x29496e['appendChild'](_0x2e2114),_0x2e2114=_0x5c97e9;}return _0x29496e;}(_0x379fa2,function(_0x16e1c3,_0x548ee9){return _0x548ee9&&'http://www.w3.org/1999/xhtml'!==_0x548ee9?_0x4c9bf5['createElementNS'](_0x548ee9,_0x16e1c3):_0x4c9bf5['createElement'](_0x16e1c3);}(_0x317974['nodeName'],_0x317974['namespaceURI']))):_0x3f1b1f=_0x317974;else{if(0x3===_0x4b06d3||0x8===_0x4b06d3){if(_0x3a7c7c===_0x4b06d3)return _0x3f1b1f['nodeValue']!==_0x317974['nodeValue']&&(_0x3f1b1f['nodeValue']=_0x317974['nodeValue']),_0x3f1b1f;_0x3f1b1f=_0x317974;}}}if(_0x3f1b1f===_0x317974)_0x14644c(_0x379fa2);else{if(_0x317974['isSameNode']&&_0x317974['isSameNode'](_0x3f1b1f))return;if(_0x248562(_0x3f1b1f,_0x317974,_0x444b6d),_0x23bab0)for(var _0x3adeb9=0x0,_0x373340=_0x23bab0['length'];_0x3adeb9<_0x373340;_0x3adeb9++){var _0x350336=_0x42fed0[_0x23bab0[_0x3adeb9]];_0x350336&&_0x218642(_0x350336,_0x350336['parentNode'],!0x1);}}return!_0x444b6d&&_0x3f1b1f!==_0x379fa2&&_0x379fa2['parentNode']&&(_0x3f1b1f['actualize']&&(_0x3f1b1f=_0x3f1b1f['actualize'](_0x379fa2['ownerDocument']||_0x4c9bf5)),_0x379fa2['parentNode']['replaceChild'](_0x3f1b1f,_0x379fa2)),_0x3f1b1f;};}(function(_0x5b72ad,_0x573b86){var _0x3bd6ab,_0x116b0f,_0x52b3c0,_0x259d54,_0x5d6bf9=_0x573b86['attributes'];if(0xb!==_0x573b86['nodeType']&&0xb!==_0x5b72ad['nodeType']){for(var _0x182eb5=_0x5d6bf9['length']-0x1;_0x182eb5>=0x0;_0x182eb5--)_0x116b0f=(_0x3bd6ab=_0x5d6bf9[_0x182eb5])['name'],_0x52b3c0=_0x3bd6ab['namespaceURI'],_0x259d54=_0x3bd6ab['value'],_0x52b3c0?(_0x116b0f=_0x3bd6ab['localName']||_0x116b0f,_0x5b72ad['getAttributeNS'](_0x52b3c0,_0x116b0f)!==_0x259d54&&('xmlns'===_0x3bd6ab['prefix']&&(_0x116b0f=_0x3bd6ab['name']),_0x5b72ad['setAttributeNS'](_0x52b3c0,_0x116b0f,_0x259d54))):_0x5b72ad['getAttribute'](_0x116b0f)!==_0x259d54&&_0x5b72ad['setAttribute'](_0x116b0f,_0x259d54);for(var _0x24d6c1=_0x5b72ad['attributes'],_0x3574b3=_0x24d6c1['length']-0x1;_0x3574b3>=0x0;_0x3574b3--)_0x116b0f=(_0x3bd6ab=_0x24d6c1[_0x3574b3])['name'],(_0x52b3c0=_0x3bd6ab['namespaceURI'])?(_0x116b0f=_0x3bd6ab['localName']||_0x116b0f,_0x573b86['hasAttributeNS'](_0x52b3c0,_0x116b0f)||_0x5b72ad['removeAttributeNS'](_0x52b3c0,_0x116b0f)):_0x573b86['hasAttribute'](_0x116b0f)||_0x5b72ad['removeAttribute'](_0x116b0f);}});function _0x111562(_0x145294){const _0x3b5fcb=new AbortController();return{'promise':new Promise((_0x35a86a,_0x1e808d)=>{const _0x48265e=setTimeout(_0x35a86a,_0x145294);_0x3b5fcb['signal']['addEventListener']('abort',()=>{clearTimeout(_0x48265e),_0x1e808d();});}),'abortController':_0x3b5fcb};}class HTMLStreamer{['options'];['isStreaming']=!0x1;['document']=null;['nodesList']=[];['currentIndex']=0x0;['timeoutAbortController']=null;['lastUpdateTime']=0x0;constructor(_0x463c1d){this['options']={'delay':_0x463c1d?.['delay']??0xa,'textNodeStyle':_0x463c1d?.['textNodeStyle']??'animation:\x20ck-html-streamer-fade-in\x20.3s'};}async['stream']({document:_0x214f5b,targetElement:_0x4dbe99,abortSignal:_0x376db4}){this['isStreaming']&&this['stop'](),_0x376db4?.['addEventListener']('abort',this['stop']['bind'](this)),this['document']=_0x213159(_0x214f5b,!0x0),this['nodesList']=this['getParsedDocumentNodeList'](),this['isStreaming']=!0x0,this['currentIndex']>this['nodesList']['length']&&(this['currentIndex']=this['nodesList']['length']);for(let _0x4c3f79=0x0;_0x4c3f79<this['currentIndex'];_0x4c3f79++)this['nodesList'][_0x4c3f79]['shouldBeStreamed']=!0x0;do{const _0x2e1dc8=Date['now'](),_0x591f8d=this['nodesList'][this['currentIndex']],_0x1279fd=_0x2e1dc8-this['lastUpdateTime'];if(_0x591f8d){_0x591f8d['shouldBeStreamed']=!0x0;let _0x3ea50d=_0x591f8d['parent'];for(;_0x3ea50d;)_0x3ea50d['shouldBeStreamed']=!0x0,_0x3ea50d=_0x3ea50d['parent'];}if(_0x1279fd<this['options']['delay'])try{const {promise:_0x412fb9,abortController:_0x378a3a}=_0x111562(this['options']['delay']-_0x1279fd);this['timeoutAbortController']=_0x378a3a,await _0x412fb9;}catch(_0x1939de){return;}_0x329e18(_0x4dbe99,'<'+_0x4dbe99['tagName']+'>'+this['renderNode'](this['document'])+'</'+_0x4dbe99['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:_0xfcf37}){Array['from'](_0xfcf37['querySelectorAll']('span[data-ck-html-streamer-word-chunk]'))['reverse']()['forEach'](_0x4796a0=>{_0x4796a0['replaceWith'](_0x4796a0['childNodes'][0x0]);});}['stop'](){this['isStreaming']=!0x1,this['timeoutAbortController']&&(this['timeoutAbortController']['abort'](),this['timeoutAbortController']=null);}['renderNode'](_0x3dd54f){let _0x4fc42a='';if(function(_0x1dd874){return _0x3e6744(_0x1dd874);}(_0x3dd54f)){for(const _0x5d98d5 of _0x3dd54f['children'])_0x4fc42a+=this['renderNode'](_0x5d98d5);}else{if(_0x556b75(_0x3dd54f)){if(!_0x3dd54f['shouldBeStreamed'])return'';const _0x1432f6=_0x3dd54f,_0x18e34b=Object['entries'](_0x1432f6['attribs'])['map'](([_0x305c0f,_0x1f876f])=>_0x305c0f+'=\x22'+_0x1f876f+'\x22')['join']('\x20');_0x4fc42a+='<'+_0x1432f6['tagName']+(_0x18e34b?'\x20'+_0x18e34b:'')+'>';for(const _0xd027a1 of _0x49970f(_0x25a464=_0x1432f6)?_0x25a464['children']:[])_0x4fc42a+=this['renderNode'](_0xd027a1);_0x4fc42a+='</'+_0x1432f6['tagName']+'>';}else{if(!_0xf4b2c8(_0x3dd54f))return'';if(!_0x3dd54f['shouldBeStreamed'])return'';!function(_0x17f3fe){if(!_0x17f3fe['parent']||!_0x556b75(_0x17f3fe['parent']))return!0x1;if(!_0x5980aa['includes'](_0x17f3fe['parent']['tagName']))return!0x1;return!_0x389c0c(_0x17f3fe)['match'](/^\s*[<>]\s*$/);}(_0x3dd54f)?_0x4fc42a+=ti(_0x3dd54f):_0x4fc42a+=ti(new _0x40913d('span',{'data-ck-html-streamer-word-chunk':'','style':this['options']['textNodeStyle']},[_0x3dd54f]));}}var _0x25a464;return _0x4fc42a;}['getParsedDocumentNodeList'](){const _0x45ea94=[];return function(_0x369228,_0x54cba7){const _0x5419d0=_0x3f658b=>{if(_0x54cba7(_0x3f658b),_0x3f658b instanceof NodeWithChildren)for(let _0x412913=0x0;_0x412913<_0x3f658b['children']['length'];_0x412913++){const _0x2a3fd5=_0x3f658b['children'][_0x412913];_0x5419d0(_0x2a3fd5);}};for(let _0x2a79de=0x0;_0x2a79de<_0x369228['children']['length'];_0x2a79de++)_0x5419d0(_0x369228['children'][_0x2a79de]);}(this['document'],_0xc66e60=>{if(_0xf4b2c8(_0xc66e60)){const _0x3aa937=this['splitTextNodeIntoWordNodes'](_0xc66e60);_0x3aa937['length']&&_0x45ea94['push'](..._0x3aa937);}_0xc66e60['isWordSplitSource']||_0xc66e60['isWordSplitResult']||_0x45ea94['push'](_0xc66e60);}),_0x45ea94;}['splitTextNodeIntoWordNodes'](_0x2abae2){if(_0x2abae2['isWordSplitSource']||_0x2abae2['isWordSplitResult'])return[];const _0xc28f90=_0x389c0c(_0x2abae2)['match'](/(?:\s*\S+\s*)/g),_0xb96f45=[];if(_0xc28f90&&_0xc28f90['length']>0x1){for(const _0x17b69a of _0xc28f90){const _0x1903b1=new _0x5454a3(_0x17b69a);_0x1903b1['isWordSplitResult']=!0x0,_0x3b6f43(_0x2abae2,_0x1903b1),_0xb96f45['push'](_0x1903b1);}_0x2abae2['isWordSplitSource']=!0x0,_0x168c18(_0x2abae2);}return _0xb96f45;}}const _0x5980aa=['p','li','td','th','span','h1','h2','h3','h4','h5','h6','b','strong','i','em','mark','del','ins','sup','sub','a','code','div'];function _0xf4b2c8(_0x81e42){return _0x62ee59(_0x81e42);}function _0x556b75(_0x1849e2){return _0x3c817b(_0x1849e2);}class AIChatFeedItemView extends _0x5f37cd['View']{['options'];['content']='';['htmlStreamer'];['children'];constructor(_0x31ea24){super();const _0x5b1934=this['bindTemplate'];this['set']('isDone',!0x1),this['set']('isVisible',!0x0),this['htmlStreamer']=new HTMLStreamer(),this['options']=_0x31ea24,this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__item',_0x5b1934['if']('isDone','ck-ai-chat__feed__item_done'),_0x5b1934['if']('isVisible','ck-hidden',_0x787bd1=>!_0x787bd1),'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'](_0x34cb13=>{_0x34cb13['removeAttribute']('data-id');}),this['isDone']=!0x0;}async['streamIntoElement'](_0x2edc1f,_0x208234,_0x1493c9){await this['htmlStreamer']['stream']({'document':_0x2edc1f,'targetElement':_0x208234,'abortSignal':_0x1493c9});}}class AISuggestionHeaderView extends _0x5f37cd['View']{['showChangesToggleView'];constructor(_0x4832f0,_0x42353b){super(_0x4832f0),this['set']('isShowChangesToggleVisible',!0x0),this['showChangesToggleView']=new _0x28633e(_0x4832f0),this['showChangesToggleView']['set']({'class':'ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button\x20'+Bt,'label':Qt(_0x4832f0,'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':!0x0}),this['showChangesToggleView']['isOn']=_0x42353b['showDiff'],this['showChangesToggleView']['bind']('isVisible')['to'](this,'isShowChangesToggleVisible'),this['showChangesToggleView']['bind']('icon')['to'](this['showChangesToggleView'],'isOn',_0x3f3fca=>_0x3f3fca?_0x5f37cd['IconShowChangesOn']:_0x5f37cd['IconShowChangesOff']),this['showChangesToggleView']['on']('execute',()=>{this['showChangesToggleView']['isOn']=!this['showChangesToggleView']['isOn'],this['fire']('toggleShowChanges',{'isOn':this['showChangesToggleView']['isOn']});});const _0xa7ab5a=new _0x5f37cd['IconView']();_0xa7ab5a['content']=_0x5f37cd['IconDocument'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__header',!0x1===_0x42353b['showHeader']?'ck-hidden':null]['filter'](Boolean)},'children':[_0xa7ab5a,{'tag':'span','children':[Qt(_0x4832f0,'AI_SUGGESTION_HEADER_TITLE')]},this['showChangesToggleView']]});}}class _0x28633e extends _0x5f37cd['ButtonView']{['render'](){super['render'](),this['children']['remove'](this['iconView']),this['children']['add'](this['iconView']);}}const _0x501bee={'accepted':_0x5f37cd['IconBoxWithCheck'],'rejected':_0x5f37cd['IconBoxWithCross'],'outdated':_0x5f37cd['IconBoxWithCross']};class AISuggestionContentPartStateView extends _0x5f37cd['View']{['stateIconView'];constructor(_0x155bd3){super(_0x155bd3);const _0xff05c4=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',_0xff05c4['to']('state',_0x31b76d=>'ck-ai-suggestion__content-part-state_'+_0x31b76d),_0xff05c4['if']('isVisible','ck-hidden',_0x515fe0=>!_0x515fe0)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-suggestion__content-part-state__label']},'children':[{'text':_0xff05c4['to']('state',_0x46ec2d=>{switch(_0x46ec2d){case'accepted':return Qt(_0x155bd3,'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED');case'rejected':return Qt(_0x155bd3,'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED');case'outdated':return Qt(_0x155bd3,'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED');}})}]},this['stateIconView']]});}['setState'](_0x305b6e){this['state']=_0x305b6e;}}class StateIconView extends _0x5f37cd['IconView']{constructor(){super(),this['set']('state','accepted'),this['content']=_0x501bee[this['state']],this['on']('change:state',()=>{this['content']=_0x501bee[this['state']];});}}class AISuggestionContentPartToolbarView extends _0x5f37cd['ToolbarView']{['_applyButton'];['_suggestButton'];constructor(_0xdfd0b5,_0x514e10,_0x3ee1a2){super(_0xdfd0b5);const _0x2fabe4=Boolean(_0x3ee1a2);this['set']('isEnabled',!_0x2fabe4),this['set']('isVisible',!0x0),this['set']('isTrackChangesOn',!0x1),this['class']='ck-ai-suggestion-content-part-toolbar';const _0x55bf28=[];if(_0x2fabe4){const _0x5f322f=new _0x5f37cd['ButtonView'](_0xdfd0b5);_0x5f322f['set']({'label':Qt(_0xdfd0b5,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'withText':!0x1,'icon':_0x5f37cd['IconInfo']}),_0x5f322f['extendTemplate']({'attributes':{'data-cke-tooltip-class':'ck-ai-suggestion-content-part-disabled-actions-tooltip'}}),_0x55bf28['push'](_0x5f322f);}else{_0x514e10['includes']('applySuggestion')&&(this['_applyButton']=new _0x5f37cd['ButtonView'](_0xdfd0b5),this['_applyButton']['set']({'label':Qt(_0xdfd0b5,'AI_SUGGESTION_CONTENT_PART_APPLY'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x5f37cd['IconBoxWithCheck']}),this['_applyButton']['bind']('isEnabled')['to'](this),this['_applyButton']['bind']('isVisible')['to'](this,'isTrackChangesOn',_0x457ab9=>!_0x457ab9),this['_applyButton']['on']('execute',()=>{this['fire']('applySuggestion');}),_0x55bf28['push'](this['_applyButton'])),_0x514e10['includes']('insertSuggestion')&&(this['_suggestButton']=new _0x5f37cd['ButtonView'](_0xdfd0b5),this['_suggestButton']['set']({'label':Qt(_0xdfd0b5,'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x5f37cd['IconBoxWithMarker']}),this['_suggestButton']['bind']('isEnabled')['to'](this),this['_suggestButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),_0x55bf28['push'](this['_suggestButton']));const _0x3bf25b=new _0x5f37cd['ButtonView'](_0xdfd0b5);_0x3bf25b['set']({'label':Qt(_0xdfd0b5,'AI_SUGGESTION_CONTENT_PART_REJECT'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x5f37cd['IconBoxWithCross']}),_0x3bf25b['bind']('isEnabled')['to'](this),_0x3bf25b['on']('execute',()=>{this['fire']('rejectSuggestion');}),_0x55bf28['push'](_0x3bf25b);}this['items']['addMany'](_0x55bf28);const _0x30e009=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':[_0x30e009['if']('isVisible','ck-hidden',_0x38488f=>!_0x38488f)]}});}['setButtonsVisibility']({showApplyButton:_0x2c1114,showSuggestButton:_0x48650f}){this['_applyButton']&&(this['_applyButton']['isVisible']=_0x2c1114),this['_suggestButton']&&(this['_suggestButton']['isVisible']=_0x48650f);}}class AISuggestionContentPartHeaderView extends _0x5f37cd['View']{['toolbarView'];['stateView'];['titleLabelView'];['children'];constructor(_0x4ccc5b,{part:_0x2a9e12,uiIndex:_0x39bede,availableActions:_0xd92f95,areActionsDisabled:_0x588f8d}){super(_0x4ccc5b),this['set']('isEnabled',!0x0),this['set']('state','pending'),this['set']('isTrackChangesOn',!0x1),this['toolbarView']=new AISuggestionContentPartToolbarView(_0x4ccc5b,_0xd92f95,_0x588f8d),this['toolbarView']['on']('rejectSuggestion',()=>{this['fire']('rejectSuggestion',{'index':_0x2a9e12['index']});}),this['toolbarView']['on']('insertSuggestion',()=>{this['fire']('insertSuggestion',{'index':_0x2a9e12['index']});}),this['toolbarView']['on']('applySuggestion',()=>{this['fire']('applySuggestion',{'index':_0x2a9e12['index']});}),this['toolbarView']['bind']('isEnabled','isTrackChangesOn')['to'](this),this['stateView']=new AISuggestionContentPartStateView(_0x4ccc5b),this['titleLabelView']=new AISuggestionBodyContentPartTitleLabelView(_0x4ccc5b,_0x39bede),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',(_0x4d40b2,_0x268177,_0x54453d,_0x5616ce)=>{'pending'===_0x5616ce?this['children']['remove'](this['toolbarView']):this['children']['remove'](this['stateView']),'pending'===_0x54453d?this['children']['add'](this['toolbarView']):(this['stateView']['setState'](_0x54453d),this['children']['add'](this['stateView']));});}}class AISuggestionBodyContentPartTitleLabelView extends _0x5f37cd['View']{constructor(_0x1819fc,_0x105136){super(_0x1819fc),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__body__content-part__title__label']},'children':[Qt(_0x1819fc,'AI_SUGGESTION_CONTENT_PART_TITLE',_0x105136['toString']())]});}}class AISuggestionStreamableContentView extends _0x5f37cd['View']{['htmlStreamer'];constructor(_0x17993e){super(_0x17993e),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:_0x57a1fb,renderingStrategy:_0x74f3b8,abortSignal:_0x12cc8b}){const _0x3f84e5=_0x213159(_0x57a1fb['content'],!0x0);for(const _0x296fc8 of _0x126a31(_0x3f84e5))_0x168c18(_0x296fc8);'streaming'===_0x74f3b8?await this['htmlStreamer']['stream']({'document':_0x3f84e5,'targetElement':this['element'],'abortSignal':_0x12cc8b}):_0x329e18(this['element'],'<'+this['element']['tagName']+'>'+_0x2e8cdd(_0x3f84e5)+'</'+this['element']['tagName']+'>',{'childrenOnly':!0x0});}['clear'](){this['htmlStreamer']['reset'](),this['element']['innerHTML']='',this['element']['scrollTop']=0x0;}}class AISuggestionBodyViewContentPartView extends _0x5f37cd['View']{['_children'];['_headerView'];['_streamableContentView'];constructor(_0xa347e5,{part:_0x3a2c6b,uiIndex:_0x2a2255,areActionsDisabled:_0x2c4751,availableActions:_0xc536c7}){super(_0xa347e5);const _0x4a9513=this['bindTemplate'];this['set']('state','pending'),this['set']('isDone',!0x1),this['set']('isVisible',!0x1),this['set']('isActive',!0x1),this['set']('isEnabled',!0x1),this['set']('isTrackChangesOn',!0x1);const _0x14c3e6=()=>{this['isEnabled']=this['isDone']&&'pending'==this['state']&&!_0x2c4751;};this['on']('change:state',_0x14c3e6),this['on']('change:isDone',_0x14c3e6),_0x14c3e6(),this['_children']=this['createCollection'](),this['_headerView']=new AISuggestionContentPartHeaderView(_0xa347e5,{'part':_0x3a2c6b,'uiIndex':_0x2a2255,'availableActions':_0xc536c7,'areActionsDisabled':_0x2c4751}),this['_headerView']['bind']('isEnabled','state','isTrackChangesOn')['to'](this),this['_headerView']['delegate'](..._0x67706d)['to'](this),this['_streamableContentView']=new AISuggestionStreamableContentView(_0xa347e5),this['_children']['addMany']([this['_headerView'],this['_streamableContentView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-part',_0x4a9513['to']('state',_0xa1b6c2=>'ck-ai-suggestion__body__content-part_'+_0xa1b6c2),_0x4a9513['if']('isEnabled','ck-ai-suggestion__body__content-part_enabled'),_0x4a9513['if']('isActive','ck-ai-suggestion__body__content-part_active'),_0x4a9513['if']('isVisible','ck-hidden',_0x1071b9=>!_0x1071b9)]},'children':this['_children'],'on':{'mouseenter':_0x4a9513['to'](()=>{this['isEnabled']&&this['fire']('mouseOverSuggestion',{'index':_0x3a2c6b['index']});}),'mouseleave':_0x4a9513['to'](()=>{this['isEnabled']&&this['fire']('mouseLeaveSuggestion',{'index':_0x3a2c6b['index']});}),'click':_0x4a9513['to'](_0x23d136=>{const _0x1edc20=_0x23d136['target'];this['isEnabled']&&!this['_headerView']['toolbarView']['element']['contains'](_0x1edc20)&&this['fire']('showChangeInText',{'index':_0x3a2c6b['index']});})}});}async['updateContent']({part:_0x2e6d94,showUnchangedParts:_0x35af42=!0x1,abortSignal:_0x32dc7c}){this['partDefinition']=_0x2e6d94,this['isVisible']=this['partDefinition']['hasChanges']||_0x35af42,this['isVisible']&&await this['_streamableContentView']['update']({'part':_0x2e6d94,'renderingStrategy':'static','abortSignal':_0x32dc7c});}['markAsDone'](){this['isDone']=!0x0;}}class AISkeletonView extends _0x5f37cd['View']{constructor(_0x22712f,_0x4fee5e){super(_0x22712f),this['set']('isVisible',!0x0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-skeleton',this['bindTemplate']['if']('isVisible','ck-hidden',_0x388447=>!_0x388447)]},'children':this['_createSkeletonItems'](_0x4fee5e)});}['_createSkeletonItems'](_0x5c9806){const _0x5a91fb=['ck','ck-ai-skeleton__item'];return _0x5c9806['map'](_0x53fdb9=>{let _0x523cf8='';switch(_0x53fdb9['attributes']['align']){case'right':_0x523cf8='margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;';break;case'center':_0x523cf8='margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;';break;case'left':_0x523cf8='margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;';}return{'tag':_0x53fdb9['tag'],'attributes':{'class':[..._0x5a91fb,_0x53fdb9['attributes']['class']?_0x53fdb9['attributes']['class']:''],'style':'width:\x20'+_0x53fdb9['attributes']['width']+';\x20height:\x20'+_0x53fdb9['attributes']['height']+';'+_0x523cf8}};});}}const _0x1c9e8b={'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':_0x1c7908(0x5,'100%','44px','right'),'aiChatResources':_0x1c7908(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 _0x1c7908(_0x55c808,_0x2942db,_0xcca4a5,_0x4814be){return new Array(_0x55c808)['fill'](null)['map'](()=>({'tag':'div','attributes':{'width':_0x2942db,'height':_0xcca4a5,'align':_0x4814be}}));}class _0x3376aa extends _0x5f37cd['EmitterMixin'](){['queue']=[];['isProcessing']=!0x1;['_abortController'];async['enqueue'](_0x2698d9){const _0x4628b6=this['createTask'](_0x2698d9);return this['queue']['push'](_0x4628b6),this['_processQueue'](),_0x4628b6['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(_0x442681=>{this['once']('_queueEmpty',()=>{_0x442681();});}):Promise['resolve']();}async['_processQueue'](){if(!this['isProcessing']){this['_abortController']=new AbortController(),this['isProcessing']=!0x0;try{for(;this['queue']['length']&&this['isProcessing'];){const _0x1dc9b4=this['queue']['shift']();try{await _0x1dc9b4['callback'](this['_abortController']['signal']),_0x1dc9b4['resolve']();}catch(_0x296f64){_0x1dc9b4['reject'](_0x296f64);}}}finally{this['isProcessing']=!0x1,this['_abortController']=void 0x0;}this['fire']('_queueEmpty');}}['createTask'](_0x12741c){let _0x27b216,_0x1aed00;const _0xbcf27e=new Promise((_0x599dea,_0xa2b031)=>{_0x27b216=_0x599dea,_0x1aed00=_0xa2b031;});return{'callback':_0x12741c,'resolve':_0x27b216,'reject':_0x1aed00,'completePromise':_0xbcf27e};}}class AIChatFeedErrorItemView extends AIChatFeedItemView{constructor(_0x2c9db4){super(_0x2c9db4),this['extendTemplate']({'attributes':{'class':['ck-ai-notification','warning'===_0x2c9db4['level']?'ck-ai-notification_warning':'ck-ai-notification_error']}});}['render'](){super['render'](),this['setContent'](this['options']['initialContent']),this['markAsDone']();}['setContent'](_0x4b084e){this['element']['innerHTML']=_0x4b084e;}}const _0x42c794=['applySuggestion','insertSuggestion'];class AIChatFeedSuggestionItemActionsView extends _0x5f37cd['View']{['_applyChangesButton'];['_insertSuggestionsButton'];['children'];constructor(_0x45f7ad,_0x26f920=[..._0x42c794],_0x328939){super(_0x45f7ad);const _0xa9006f=this['bindTemplate'],_0x18ea7c=Boolean(_0x328939);if(this['set']('isEnabled',!_0x18ea7c),this['set']('isVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),_0x18ea7c){const _0x13f926=new _0x5f37cd['ButtonView'](_0x45f7ad);_0x13f926['set']({'label':Qt(_0x45f7ad,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'withText':!0x1,'icon':_0x5f37cd['IconInfo']}),_0x13f926['extendTemplate']({'attributes':{'data-cke-tooltip-class':'ck-ai-suggestion-content-part-disabled-actions-tooltip'}});const _0x3967e9=new _0x5f37cd['View'](_0x45f7ad);_0x3967e9['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__suggestion__actions__info'},'children':[{'tag':'p','children':[Qt(_0x45f7ad,'AI_SUGGESTION_DISABLED_FEED_MESSAGE'),_0x13f926]}]}),this['children']['add'](_0x3967e9);}else this['_applyChangesButton']=new _0x5f37cd['ButtonView'](_0x45f7ad),this['_applyChangesButton']['set']({'label':Qt(_0x45f7ad,'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),'withText':!0x0,'type':'button','isVisible':_0x26f920['includes']('applySuggestion'),'class':Vt}),this['_insertSuggestionsButton']=new _0x5f37cd['ButtonView'](_0x45f7ad),this['_insertSuggestionsButton']['set']({'label':Qt(_0x45f7ad,'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL'),'withText':!0x0,'type':'button','isVisible':_0x26f920['includes']('insertSuggestion'),'class':Ut}),this['_insertSuggestionsButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_applyChangesButton']['on']('execute',()=>{this['fire']('applySuggestion');}),[this['_applyChangesButton'],this['_insertSuggestionsButton']]['forEach'](_0x55957b=>{_0x55957b['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',_0xa9006f['if']('isVisible','ck-hidden',_0x2072d8=>!_0x2072d8)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_applyChangesButton']&&(this['_applyChangesButton']['isVisible']=!this['isTrackChangesOn']);});}['updateVisibility'](_0x2f4543){this['isVisible']=_0x2f4543;}['_switchButtonLabelsPlurality'](_0x36b3ea){this['_applyChangesButton']&&this['_insertSuggestionsButton']&&(_0x36b3ea?(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 _0x1d055a extends _0x5f37cd['View']{['children'];['balloonPanelView'];['bodyCollection'];constructor(_0x4b9075,_0x59b885){super(_0x4b9075),this['bodyCollection']=_0x59b885,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',_0x40c355=>!_0x40c355)]},'children':this['children']});const _0x448cb1=new _0x5f37cd['View'](this['locale']),_0x527fd2=new _0x5f37cd['IconView']();_0x527fd2['content']=_0x5f37cd['IconWeb'],_0x448cb1['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources__header']},'children':[_0x527fd2,{'tag':'span','children':[{'text':Qt(this['locale'],'AI_CHAT_SOURCES_HEADER')}]}]}),this['children']['add'](_0x448cb1),this['_setupBalloonPanel'](_0x4b9075);}['addSource'](_0x4e522d){this['children']['add'](new _0x4f5efb(this['locale'],_0x4e522d,this['balloonPanelView']));}['_setupBalloonPanel'](_0x61027c){this['balloonPanelView']=new _0x5f37cd['BalloonPanelView'](_0x61027c),this['balloonPanelView']['extendTemplate']({'attributes':{'class':['ck-ai-web-source__tooltip-balloon']}}),this['bodyCollection']['add'](this['balloonPanelView']);}}class _0x4f5efb extends _0x5f37cd['ButtonView']{['balloonPanelView'];['source'];constructor(_0x4086f8,_0x43f752,_0xe9ad70){super(_0x4086f8),this['source']=_0x43f752,this['balloonPanelView']=_0xe9ad70,this['set']({'label':_0x43f752['title'],'class':['ck\x20ck-ai-web-source'],'withText':!0x0});const _0x436276=this['bindTemplate'];if(this['extendTemplate']({'on':{'click':_0x436276['to'](()=>{window['open'](_0x43f752['url'],'_blank');}),'mouseenter':_0x436276['to'](()=>{this['_showTooltip']();}),'mouseleave':_0x436276['to'](()=>{this['_hideTooltip']();})}}),_0x43f752['favicon']){const _0x34efa1=new _0x5f37cd['View'](_0x4086f8);_0x34efa1['setTemplate']({'tag':'img','attributes':{'src':_0x43f752['favicon']||_0x5f37cd['IconWeb'],'alt':_0x43f752['title'],'class':['ck-ai-web-source__image']}}),this['children']['add'](_0x34efa1);}else this['set']('icon',_0x5f37cd['IconWeb']);}['_createTooltipContentView'](_0xeb2b1,_0x20d8b3){const _0x2ee81d=new _0x5f37cd['View'](_0xeb2b1),_0x387207=[];let _0x40612c;_0x20d8b3?.['favicon']?(_0x40612c=new _0x5f37cd['View'](_0xeb2b1),_0x40612c['setTemplate']({'tag':'img','attributes':{'src':_0x20d8b3['favicon'],'alt':_0x20d8b3['title'],'class':['ck-ai-web-source__tooltip-image']}})):(_0x40612c=new _0x5f37cd['IconView'](),_0x40612c['content']=_0x5f37cd['IconWeb'],_0x40612c['extendTemplate']({'attributes':{'alt':_0x20d8b3['title'],'class':['ck-ai-web-source__tooltip-image']}})),_0x387207['push'](_0x40612c);const _0x21ea1e=new _0x5f37cd['View'](_0xeb2b1);_0x21ea1e['setTemplate']({'tag':'a','attributes':{'class':['ck-ai-web-source__tooltip-url'],'href':_0x20d8b3['url']},'children':[{'text':new URL(_0x20d8b3['url'])?.['hostname']}]}),_0x387207['push'](_0x21ea1e);const _0xd58daa=new _0x5f37cd['View'](_0xeb2b1);_0xd58daa['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-web-source__tooltip-row']},'children':_0x387207});const _0x1ccb32=new _0x5f37cd['View'](_0xeb2b1);return _0x1ccb32['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip-title']},'children':[{'text':_0x20d8b3['title']['length']>0x190?_0x20d8b3['title']['substring'](0x0,0x190)+'...':_0x20d8b3['title']}]}),_0x2ee81d['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-source__tooltip']},'children':[_0xd58daa,_0x1ccb32]}),_0x2ee81d;}['_showTooltip'](){this['_updateTooltipContent'](),this['balloonPanelView']['pin']({'target':this['element'],'positions':[_0x5f37cd['BalloonPanelView']['defaultPositions']['northArrowSouth'],_0x5f37cd['BalloonPanelView']['defaultPositions']['northArrowSouthWest'],_0x5f37cd['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 _0x10d4be=this['_createTooltipContentView'](this['locale'],this['source']);this['balloonPanelView']['content']['add'](_0x10d4be);}}class AISuggestionBodyView extends _0x5f37cd['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(_0x278055,_0x5dc202){super(_0x278055);const {areActionsDisabled:_0x108551,showUnchangedParts:_0x2fc096,availableActions:_0x1a354d}=_0x5dc202;this['_areActionsDisabled']=_0x108551,this['_showUnchangedParts']=_0x2fc096,this['_availableActions']=_0x1a354d,this['set']('hasPendingParts',!0x1),this['set']('isTrackChangesOn',!0x1),this['_children']=this['createCollection'](),this['_skeletonView']=new AISkeletonView(_0x278055,_0x1c9e8b['aiSuggestionBody']),this['_skeletonView']['isVisible']=!0x0,this['_skeletonShownAt']=Date['now'](),this['_children']['add'](this['_skeletonView']),this['_updateContentPartsPromiseQueue']=new _0x3376aa(),this['_emptyPartsWarningView']=new AIChatFeedErrorItemView({'id':'empty-parts-warning','initialContent':Qt(_0x278055,'AI_SUGGESTION_EMPTY_PART_WARNING'),'level':'warning'}),this['_emptyPartsWarningView']['isVisible']=!0x1,this['_actionsView']=new AIChatFeedSuggestionItemActionsView(_0x278055,_0x5dc202['availableActions'],this['_areActionsDisabled']),this['_actionsView']['bind']('isTrackChangesOn')['to'](this),this['_sourcesView']=new _0x1d055a(this['locale'],_0x5dc202['bodyCollection']),_0x5dc202['areActionsDisabled']?this['_actionsView']['isEnabled']=!0x1:this['_actionsView']['bind']('isEnabled')['to'](this,'hasPendingParts'),this['_actionsView']['delegate'](..._0x67706d)['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'](_0x23661a=>_0x23661a instanceof AISuggestionBodyViewContentPartView);}async['updateContentParts']({parts:_0x4451cb,abortSignal:_0x25148e,skipLoadingEffects:_0x6fce14}){this['_cachedContentParts']['length']?_0x4451cb['forEach'](_0x4b421a=>{const _0x77515=this['_cachedContentParts']['findIndex'](_0x1eabbd=>_0x1eabbd['index']==_0x4b421a['index']);-0x1===_0x77515?this['_cachedContentParts']['push'](_0x4b421a):this['_cachedContentParts'][_0x77515]=_0x4b421a;}):this['_cachedContentParts']=_0x4451cb;const _0x2e727e=this['_showUnchangedParts']?_0x4451cb:_0x4451cb['filter'](_0x58bfad=>_0x58bfad['hasChanges']);this['_actionsView']['_switchButtonLabelsPlurality'](_0x2e727e['length']>0x1),_0x6fce14&&(this['_showSkeletonDebounced']['cancel'](),this['_skeletonView']['isVisible']=!0x1);for(const _0x4a59b5 of _0x2e727e)this['_updateContentPartsPromiseQueue']['enqueue'](async _0x83f35=>{let _0x12ac15=this['getPartView'](_0x4a59b5['index']);if(!_0x12ac15){if(_0x12ac15=new AISuggestionBodyViewContentPartView(this['locale'],{'part':_0x4a59b5,'uiIndex':this['_contentPartViews']['length']+0x1,'areActionsDisabled':this['_areActionsDisabled'],'availableActions':this['_availableActions']}),_0x12ac15['delegate'](..._0x67706d)['to'](this),_0x12ac15['bind']('isTrackChangesOn')['to'](this),!_0x6fce14&&(this['_showSkeletonDebounced']['cancel'](),await this['_awaitMinimumSkeletonDisplayTime'](_0x83f35),_0x83f35['aborted']))return;this['_skeletonView']['isVisible']=!0x1,this['_children']['add'](_0x12ac15,this['_children']['length']-0x1),this['hasPendingParts']=!0x0,_0x6fce14||this['_showSkeletonDebounced']();}await _0x12ac15['updateContent']({'part':_0x4a59b5,'showUnchangedParts':this['_showUnchangedParts'],'abortSignal':_0x83f35}),_0x12ac15['markAsDone']();});return _0x25148e?.['addEventListener']('abort',()=>{this['_updateContentPartsPromiseQueue']['abort'](),this['_showSkeletonDebounced']['cancel'](),this['_skeletonView']['isVisible']=!0x1;}),this['_updateContentPartsPromiseQueue']['queueEmptyPromise'];}['updatePartState'](_0x21cb15,_0x13b0cc){const _0x17c7b0=this['getPartView'](_0x21cb15);_0x17c7b0&&(_0x17c7b0['state']=_0x13b0cc),this['hasPendingParts']='pending'==_0x13b0cc||this['_contentPartViews']['some'](_0x3f4bc2=>'pending'==_0x3f4bc2['state']);}['setPartActive'](_0x7bdc67,_0xfd5676){if(!0x1===_0x7bdc67){for(const _0x4b34ff of this['_contentPartViews'])_0x4b34ff['isActive']=!0x1;}else{const _0x307edc=this['getPartView'](_0x7bdc67);_0x307edc&&(_0x307edc['isActive']=_0xfd5676);}}['updateSources'](_0x51e1f0){_0x51e1f0['forEach'](_0x22fb85=>this['_sourcesView']['addSource'](_0x22fb85)),this['_sourcesView']['isVisible']=!0x0;}['getPartView'](_0xd8c1a2){return this['_contentPartViews']['find'](_0x96f06b=>_0x96f06b['partDefinition']['index']==_0xd8c1a2)??null;}['markAsDone'](){if(!this['_showUnchangedParts']){const _0x4bd5bd=!this['_cachedContentParts']['find'](({hasChanges:_0x25215a})=>_0x25215a),_0x583964=!!this['_cachedContentParts']['find'](({hasChanges:_0x463976})=>!_0x463976);this['_emptyPartsWarningView']['isVisible']=0x0==this['_contentPartViews']['length']||_0x583964,_0x4bd5bd?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'](_0x13b1e1=>_0x13b1e1['markAsDone']()),this['_skeletonView']['isVisible']=!0x1,this['_showSkeletonDebounced']['cancel'](),this['_actionsView']['updateVisibility'](this['hasNonEmptyParts']);}async['_awaitMinimumSkeletonDisplayTime'](_0x24ca31){if(!this['_skeletonView']['isVisible']||null===this['_skeletonShownAt'])return;const _0x1601ba=0x3e8-(Date['now']()-this['_skeletonShownAt']);if(this['_skeletonShownAt']=null,_0x1601ba>0x0){const {promise:_0x4dc103,abortController:_0x39b04e}=_0x111562(_0x1601ba);_0x24ca31?.['addEventListener']('abort',()=>_0x39b04e['abort']()),await _0x4dc103['catch'](()=>{});}}get['hasNonEmptyParts'](){return this['_contentPartViews']['filter'](_0x2ef7e0=>_0x2ef7e0['partDefinition']['hasChanges'])['length']>0x0;}}class AISuggestionContainerView extends _0x5f37cd['View']{['bodyView'];['children'];['headerView'];constructor(_0x34784b,_0x3a6920,_0x549626){super(_0x34784b);const {showDiff:_0x56cc5a,areActionsDisabled:_0x58779e,showUnchangedParts:_0x1afa38,availableActions:_0xff6114}=_0x3a6920;this['set']('isTrackChangesOn',!0x1),this['set']('areChangesVisible',!0x1),this['children']=this['createCollection'](),this['headerView']=new AISuggestionHeaderView(_0x34784b,{'showDiff':_0x56cc5a}),this['headerView']['on']('toggleShowChanges',(_0x3e01a6,_0x2fc319)=>{this['areChangesVisible']=_0x2fc319['isOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x2fc319['isOn']});}),this['children']['add'](this['headerView']),this['bodyView']=new AISuggestionBodyView(_0x34784b,{'areActionsDisabled':_0x58779e,'showUnchangedParts':!!_0x1afa38,'availableActions':_0xff6114,'bodyCollection':_0x549626}),this['bodyView']['delegate'](..._0x67706d)['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'](_0x106cae){await this['bodyView']['updateContentParts'](_0x106cae);}['updateSources'](_0x3cd579){this['bodyView']['updateSources'](_0x3cd579);}['markAsDone'](){this['bodyView']['markAsDone'](),this['headerView']&&(this['headerView']['isShowChangesToggleVisible']=this['bodyView']['hasNonEmptyParts']);}}class AIChatFeedSuggestionItemView extends AIChatFeedItemView{['containerView'];constructor(_0x305bf4,_0xffbedf,_0x1f2d05){super(_0xffbedf),this['set']('isTrackChangesOn',!0x1),this['containerView']=new AISuggestionContainerView(_0x305bf4,{'showDiff':_0xffbedf['showDiff'],'areActionsDisabled':_0xffbedf['areActionsDisabled'],'availableActions':_0xffbedf['availableActions']},_0x1f2d05),this['containerView']['on']('toggleSuggestionDisplayMode',(_0xe64fea,_0x1bcef0)=>{this['fire']('toggleSuggestionDisplayMode',{'replyId':this['options']['id'],'showDiff':_0x1bcef0['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',(_0x35af2c,{index:_0x469f1d})=>{this['fire']('showChangeInText',{'replyId':this['options']['id'],'partIndex':_0x469f1d});}),this['containerView']['on']('applySuggestion',(_0x4204f9,{index:_0x2bc3e6}={})=>{this['fire']('applySuggestion',{'replyId':this['options']['id'],'partIndex':_0x2bc3e6});}),this['containerView']['on']('insertSuggestion',(_0xfc9937,{index:_0x2ceccf}={})=>{this['fire']('insertSuggestion',{'replyId':this['options']['id'],'partIndex':_0x2ceccf});}),this['containerView']['on']('rejectSuggestion',(_0x591814,{index:_0x4954bc})=>{this['fire']('rejectSuggestion',{'replyId':this['options']['id'],'partIndex':_0x4954bc});}),this['containerView']['on']('mouseOverSuggestion',(_0x471fcf,{index:_0x2297a9})=>{this['fire']('mouseOverSuggestion',{'replyId':this['options']['id'],'partIndex':_0x2297a9});}),this['containerView']['on']('mouseLeaveSuggestion',(_0x479fc5,{index:_0xf64cf5})=>{this['fire']('mouseLeaveSuggestion',{'replyId':this['options']['id'],'partIndex':_0xf64cf5});}),this['children']['addMany']([this['containerView']]),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-suggestion']}});}async['updateContent'](_0x2c3180){await this['containerView']['updateContent'](_0x2c3180);}['updatePartState'](_0x1804e3,_0x2c84df){this['containerView']['bodyView']['updatePartState'](_0x1804e3,_0x2c84df);}['setPartActive'](_0x126d34,_0x6dcae3){!0x1===_0x126d34?this['containerView']['bodyView']['setPartActive'](!0x1):this['containerView']['bodyView']['setPartActive'](_0x126d34,_0x6dcae3);}['updateSources'](_0x1b16b2){this['containerView']['updateSources'](_0x1b16b2);}['getPartView'](_0x13f7c3){return this['containerView']['bodyView']['getPartView'](_0x13f7c3);}['markAsDone'](){super['markAsDone'](),this['containerView']['markAsDone']();}}class AIChatFeedReplyItemView extends AIChatFeedItemView{['replyContainer'];['_bodyCollection'];constructor(_0x4fec8a,_0x280c0f,_0x3bfc7e){super(_0x280c0f),this['_bodyCollection']=_0x3bfc7e,this['locale']=_0x4fec8a,this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-reply']}}),this['replyContainer']=new _0x5f37cd['View'](),this['replyContainer']['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-ai-chat__feed__ai-reply-container','ck-ai-chat-content']}}),this['children']['add'](this['replyContainer']);}async['render'](){super['render'](),this['options']['initialContent']&&(await this['updateContent']({'parsedContent':_0x6747e8(this['options']['initialContent']),'renderingStrategy':'static'}),this['markAsDone']());}async['updateContent']({parsedContent:_0x522969,renderingStrategy:_0x41fd06,abortSignal:_0x336b85}){'streaming'===_0x41fd06?await this['streamIntoElement'](_0x522969,this['replyContainer']['element'],_0x336b85):this['replyContainer']['element']['innerHTML']=ti(_0x522969);}['updateSources'](_0x31e8fa){const _0x5725b7=new _0x1d055a(this['locale'],this['_bodyCollection']);_0x5725b7['children']['addMany'](_0x31e8fa['map'](_0x23ab85=>new _0x4f5efb(this['locale'],_0x23ab85,_0x5725b7['balloonPanelView']))),_0x5725b7['isVisible']=!0x0,this['children']['add'](_0x5725b7);}}class _0x3dc227 extends _0x5f37cd['SpinnerView']{constructor(_0x333769=void 0x0){super();const _0x488560=_0x333769?'ck-ai-spinner_'+_0x333769:'';this['extendTemplate']({'tag':'span','attributes':{'class':['ck-ai-spinner',_0x488560]}});}}const _0x1399d7={'file':_0x5f37cd['IconFileUpload'],'image':_0x5f37cd['IconImage'],'document':_0x5f37cd['IconDocument'],'web-resource':_0x5f37cd['IconLink'],'text':_0x5f37cd['IconFileUpload'],'selection':_0x5f37cd['IconSelection'],'mcp-tool-context':_0x5f37cd['IconDocument']},_0x33d441='ck-ai-chat-context-chip',_0x2d786d='ck-ai-chat-context-chip_wide',_0x547ebe='ck-ai-chat-context-chip_document',_0x1a3a60='ck-ai-chat-context-chip__label',_0x95fad0='ck-ai-chat-context-chip__type-icon',_0x3e568b='ck-ai-chat-context-controls__chip-tooltip',_0x588f44='n';class AIChatContextItemButtonView extends _0x5f37cd['ButtonView']{constructor(_0xe88443,_0x414ecd,_0x4629b2,_0x2af846,_0x53621f=!0x1){super(_0xe88443),this['_isAnimationOnEnterEnabled']=_0x2af846,this['_initializeProperties'](_0x414ecd,_0x4629b2,_0x53621f),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'](_0x1b9f40,_0x953437,_0x1edcd0){this['set']('label',_0x1b9f40['label']),this['set']('tooltip',!0x0),this['set']('itemType',_0x1b9f40['type']),this['set']('id',_0x1b9f40['uiId']),this['set']('readonly',_0x953437),this['set']('isLoading',_0x1edcd0);}['_setupTemplate'](){const _0x182d52=this['_createIconView'](),_0x8b8f62=this['_createRemoveButton'](),_0x1add45=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':this['_createTemplateAttributes'](_0x1add45),'children':this['_createTemplateChildren'](_0x182d52,_0x8b8f62,_0x1add45)});}['_createTemplateAttributes'](_0x2a5967){return{'class':[_0x33d441,_0x2a5967['if']('itemType',_0x547ebe,_0x423b44=>'document'==_0x423b44),_0x2a5967['if']('itemType',_0x2d786d,_0x3d76d8=>'selection'==_0x3d76d8)],'data-cke-tooltip-text':_0x2a5967['to']('label',_0x462dde),'data-cke-tooltip-position':_0x588f44,'data-cke-tooltip-class':_0x3e568b};}['_createTemplateChildren'](_0x28c8bd,_0x292d18,_0xaf8523){const _0x336394=this['_createLabelElement'](_0xaf8523),_0x4f2616=this['_createLoaderIcon']();return this['readonly']?[_0x28c8bd,_0x336394]:[_0x28c8bd,_0x4f2616,_0x336394,_0x292d18];}['_createLabelElement'](_0x2a2e80){return{'tag':'span','attributes':{'class':_0x1a3a60},'children':[{'text':_0x2a2e80['to']('label')}]};}['_createRemoveButton'](){const _0x482c56=new _0x5f37cd['ButtonView'](this['locale']);return _0x482c56['set']({'label':Qt(this['locale'],'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'),'icon':_0x5f37cd['IconCancel']}),this['_setupRemoveButtonEvent'](_0x482c56),_0x482c56;}['_setupRemoveButtonEvent'](_0x32ab92){_0x32ab92['on']('execute',()=>{this['fire']('removeContextItemChip',this['id']);});}['_createIconView'](){const _0x3f1078=this['bindTemplate'],_0x1c3c13=new _0x5f37cd['IconView']();return _0x1c3c13['content']=_0x1399d7[this['itemType']],_0x1c3c13['extendTemplate']({'attributes':{'class':[_0x95fad0,_0x3f1078['if']('isLoading','ck-hidden',_0xa1fc5c=>_0xa1fc5c)]}}),_0x1c3c13;}['_handleAnimationEndOnce'](_0x313c6d,_0x7e5977){if(!_0x313c6d)return;const _0x485f70=()=>{_0x7e5977(),_0x313c6d['removeEventListener']('animationend',_0x485f70),_0x313c6d['removeEventListener']('webkitAnimationEnd',_0x485f70);};_0x313c6d['addEventListener']('animationend',_0x485f70),_0x313c6d['addEventListener']('webkitAnimationEnd',_0x485f70);}['_createLoaderIcon'](){const _0x21903f=new _0x3dc227('small');return _0x21903f['bind']('isVisible')['to'](this,'isLoading',_0x293f24=>_0x293f24),_0x21903f;}}function _0x462dde(_0x2ed6b1){if(!_0x2ed6b1)return _0x2ed6b1;if(_0x2ed6b1['length']<=0x78)return _0x2ed6b1;const _0x5743d5=_0x2ed6b1['slice'](0x0,0x78),_0x28f1d6=_0x5743d5['lastIndexOf']('\x20');return(_0x28f1d6>0x0?_0x5743d5['slice'](0x0,_0x28f1d6):_0x5743d5)+'…';}const _0x3061db={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},_0x51f65f='300px';class AIChatChipsOverflowManager{['_locale'];['_config'];['_visibleChips'];['_overflowChips'];['_showMoreButtonView']=null;['_showMoreBalloonPanelView']=null;['_containerElement']=null;['_bodyCollection'];['_parentView']=null;['_intersectionObserver']=null;['_pendingCalculation']=!0x1;constructor(_0x4af15c,_0x14257f,_0xbdf876,_0x472f79,_0x3c4de1){this['_locale']=_0x4af15c,this['_visibleChips']=_0x14257f,this['_config']={..._0x3061db,..._0xbdf876,'cssClasses':{'controlsButton':'','calculationContainer':'ck-calculation-container',..._0xbdf876['cssClasses']}},this['_overflowChips']=new _0x5f37cd['Collection'](),this['_bodyCollection']=_0x472f79,this['_parentView']=_0x3c4de1||null;}['setContainerElement'](_0x5dbf3a){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_containerElement']=_0x5dbf3a,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 _0x527a4b=[...this['_visibleChips'],...this['_overflowChips']],_0x3a14d6=this['_createCalculationContainer'](),_0x24a647=this['_calculateOverflowInContainer'](_0x3a14d6,_0x527a4b),_0x170085=_0x3a14d6['_ancestorsToRestore'];_0x170085&&this['_restoreAncestorVisibility'](_0x170085),_0x3a14d6['remove'](),this['_applyOverflowResults'](_0x527a4b,_0x24a647);}['_createShowMoreButton'](){this['_showMoreButtonView']=this['_createShowMoreButtonView'](),this['_showMoreBalloonPanelView']=this['_createShowMoreBalloonPanelView'](),this['_showMoreButtonView']['render'](),this['_containerElement']['appendChild'](this['_showMoreButtonView']['element']),this['_showMoreButtonView']['on']('execute',()=>{this['_handleShowMoreButtonClick']();}),_0x5f37cd['clickOutsideHandler']({'emitter':this['_showMoreBalloonPanelView'],'contextElements':[this['_showMoreBalloonPanelView']['element'],this['_showMoreButtonView']['element']],'callback':()=>this['hideBalloonPanel'](),'activator':()=>this['_showMoreButtonView']['isOn']});}['_createShowMoreButtonView'](){const _0x43cb95=new _0x5f37cd['ButtonView'](this['_locale']);_0x43cb95['set']({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x577088=[this['_config']['cssClasses']['showMoreButton']];return this['_config']['cssClasses']['controlsButton']&&_0x577088['push'](this['_config']['cssClasses']['controlsButton']),_0x43cb95['extendTemplate']({'attributes':{'class':_0x577088}}),_0x43cb95;}['_createShowMoreBalloonPanelView'](){const _0x4ad22=new _0x5f37cd['BalloonPanelView'](this['_locale']);return _0x4ad22['extendTemplate']({'attributes':{'class':this['_config']['cssClasses']['showMoreBalloon']}}),this['_bodyCollection']['add'](_0x4ad22),_0x4ad22;}['_updateBalloonContent'](){if(this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['content']['clear'](),this['_overflowChips']['length']>0x0)){this['_overflowChips']['forEach'](_0x479c79=>{_0x479c79['disableAnimationOnEnter']();});const _0x47eb6c=new _0x5f37cd['View'](this['_locale']);_0x47eb6c['setTemplate']({'tag':'div','attributes':{'class':this['_config']['cssClasses']['overflowContainer']},'children':this['_overflowChips']}),this['_showMoreBalloonPanelView']['content']['add'](_0x47eb6c);}}['_handleShowMoreButtonClick'](){this['_showMoreButtonView']['isOn']?this['hideBalloonPanel']():this['showBalloonPanel']();}['_updateShowMoreButtonVisibility'](){const _0x3e6c99=this['_overflowChips']['length']>0x0;this['_showMoreButtonView']?.['element']&&(this['_showMoreButtonView']['element']['style']['display']=_0x3e6c99?'':'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'](_0x2af941){const _0x3ac612=this['_containerElement']?.['tagName']['toLowerCase']()||'div',_0x2e817b=this['_containerElement']?.['classList'];if(_0x2e817b){const _0x4d48d3=_0x2e817b[0x0]||'',_0x28d185=_0x2af941['querySelector']('.'+_0x4d48d3),_0x4ee723=_0x2af941['querySelector'](_0x3ac612);return _0x28d185||_0x4ee723||_0x2af941;}return _0x2af941['querySelector'](_0x3ac612)||_0x2af941;}['_calculateContainerWidth'](){const _0x9b1d3c=this['_parentView']?.['element']||this['_containerElement'];if(!_0x9b1d3c)return _0x51f65f;const _0xcf5b23=window['getComputedStyle'](_0x9b1d3c)['width'];if('auto'===_0xcf5b23||'0px'===_0xcf5b23||!_0xcf5b23){const _0x5e981b=_0x9b1d3c['parentElement'];if(_0x5e981b){const _0x11c298=window['getComputedStyle'](_0x5e981b);return'auto'!==_0x11c298['width']?_0x11c298['width']:_0x51f65f;}return _0x51f65f;}return _0xcf5b23;}['_applyCalculationStyles'](_0x2e65c7,_0x51ca50){this['_config']['cssClasses']['calculationContainer']&&_0x2e65c7['classList']['add'](this['_config']['cssClasses']['calculationContainer']),_0x2e65c7['style']['width']=_0x51ca50,_0x2e65c7['style']['position']='absolute',_0x2e65c7['style']['top']='-9999px',_0x2e65c7['style']['left']='-9999px',_0x2e65c7['style']['opacity']='0',_0x2e65c7['style']['pointerEvents']='none',_0x2e65c7['style']['zIndex']='-1',_0x2e65c7['style']['visibility']='visible\x20!important',_0x2e65c7['style']['display']='block\x20!important',_0x2e65c7['style']['boxSizing']='border-box';}['_restoreAncestorVisibility'](_0x38fe55){_0x38fe55['forEach'](({element:_0x1727f4,originalDisplay:_0x52a913,originalVisibility:_0x45ea85})=>{_0x1727f4['style']['display']=_0x52a913,_0x1727f4['style']['visibility']=_0x45ea85;});}['_makeAncestorsVisible'](_0x3e801c){const _0xa07a27=[];let _0x1f1fa2=_0x3e801c;for(;_0x1f1fa2&&_0x1f1fa2!==document['body'];){const _0x4df51e=window['getComputedStyle'](_0x1f1fa2);'none'!==_0x4df51e['display']&&'hidden'!==_0x4df51e['visibility']||(_0xa07a27['push']({'element':_0x1f1fa2,'originalDisplay':_0x1f1fa2['style']['display'],'originalVisibility':_0x1f1fa2['style']['visibility']}),_0x1f1fa2['style']['display']='block',_0x1f1fa2['style']['visibility']='visible'),_0x1f1fa2=_0x1f1fa2['parentElement'];}return _0xa07a27;}['_createContainerElements'](){let _0x24b9af,_0x5b0caf;return this['_parentView']?.['element']?(_0x24b9af=this['_parentView']['element']['cloneNode'](!0x0),_0x5b0caf=this['_findTargetContainer'](_0x24b9af)):(_0x24b9af=document['createElement']('div'),_0x5b0caf=_0x24b9af),{'calculationContainer':_0x24b9af,'targetContainer':_0x5b0caf};}['_createCalculationContainer'](){const {calculationContainer:_0x21a685,targetContainer:_0x287c4b}=this['_createContainerElements'](),_0x168700=this['_calculateContainerWidth']();this['_applyCalculationStyles'](_0x21a685,_0x168700);const _0x40ff06=this['_parentView']?.['element']||this['_containerElement'],_0x5e18fd=_0x40ff06?.['parentElement'];_0x5e18fd?_0x5e18fd['appendChild'](_0x21a685):document['body']['appendChild'](_0x21a685),_0x21a685['_targetContainer']=_0x287c4b;const _0x1bc277=this['_makeAncestorsVisible'](_0x5e18fd||null);return _0x21a685['offsetWidth'],_0x21a685['_ancestorsToRestore']=_0x1bc277,_0x21a685;}['_calculateOverflowInContainer'](_0x393270,_0x45d0af){const _0x55c8d3=_0x393270['_targetContainer']||_0x393270,_0x546e1f=[],{rowCount:_0x465591}=this['_renderChipsAndCountRows'](_0x55c8d3,_0x45d0af);if(_0x465591<=this['_config']['maxVisibleRows'])return _0x546e1f;const _0x3dfd31=_0x45d0af['slice']();for(;_0x3dfd31['length']>0x0;){if(this['_testButtonFit'](_0x393270,_0x55c8d3,_0x3dfd31)){const _0x345584=_0x45d0af['filter'](_0x3efd74=>!_0x3dfd31['includes'](_0x3efd74));_0x546e1f['push'](..._0x345584);break;}if(!_0x3dfd31['pop']())break;}return _0x546e1f;}['_renderChipsAndCountRows'](_0x4d6b56,_0xbf931d){_0x4d6b56['innerHTML']='',_0xbf931d['forEach'](_0x244263=>{if(_0x244263['element']){const _0x1fa9b8=_0x244263['element']['cloneNode'](!0x0);_0x4d6b56['appendChild'](_0x1fa9b8);}}),_0x4d6b56['offsetWidth'];const _0x379a3d=_0x4d6b56['children'],_0x5e1fb8=[];return Array['from'](_0x379a3d)['forEach'](_0x490758=>{const _0x2317fd=_0x490758['getBoundingClientRect']()['top'];_0x5e1fb8['some'](_0x6ab10b=>Math['abs'](_0x6ab10b-_0x2317fd)<this['_config']['rowDetectionTolerance'])||_0x5e1fb8['push'](_0x2317fd);}),{'rowCount':_0x5e1fb8['length']};}['_createMockButton'](){const _0x5a151f=document['createElement']('button');return _0x5a151f['className']=this['_config']['cssClasses']['showMoreButton'],this['_config']['cssClasses']['controlsButton']&&_0x5a151f['classList']['add'](this['_config']['cssClasses']['controlsButton']),_0x5a151f['textContent']='+\x201',_0x5a151f;}['_testButtonFit'](_0x3ce095,_0x5b2cf2,_0x213ed1){this['_renderChipsAndCountRows'](_0x5b2cf2,_0x213ed1);const _0x29aee5=this['_createMockButton']();_0x3ce095['appendChild'](_0x29aee5),_0x3ce095['offsetWidth'];const _0x18f53e=[..._0x5b2cf2['children'],_0x29aee5],_0x5abd15=[];_0x18f53e['forEach'](_0x13150a=>{const _0x2ced2f=_0x13150a['getBoundingClientRect']()['top'];_0x5abd15['some'](_0x25f31a=>Math['abs'](_0x25f31a-_0x2ced2f)<this['_config']['rowDetectionTolerance'])||_0x5abd15['push'](_0x2ced2f);});const _0x4ec140=_0x5abd15['length'];return _0x29aee5['remove'](),_0x4ec140<=this['_config']['maxVisibleRows'];}['_distributeChips'](_0x60f7c6,_0x45e8bf){this['_visibleChips']['clear'](),this['_overflowChips']['clear'](),_0x60f7c6['forEach'](_0x4db3ef=>{_0x45e8bf['includes'](_0x4db3ef)?this['_overflowChips']['add'](_0x4db3ef):this['_visibleChips']['add'](_0x4db3ef);});}['_updateOverflowUI'](_0x4a6b5f){if(_0x4a6b5f>0x0&&!this['_showMoreButtonView']&&this['_createShowMoreButton'](),_0x4a6b5f>0x0&&this['_showMoreButtonView']){const _0x163483=''+this['_config']['showMoreLabelPrefix']+(_0x4a6b5f<0x63?_0x4a6b5f:'99');this['_showMoreButtonView']['label']=_0x163483;}this['_updateBalloonContent'](),this['_updateShowMoreButtonVisibility'](),this['_repinBalloonPanel']();}['_applyOverflowResults'](_0x42007d,_0x42cf64){this['_distributeChips'](_0x42007d,_0x42cf64),this['_updateOverflowUI'](_0x42cf64['length']);}['_setupVisibilityObserver'](){this['_containerElement']&&'undefined'!=typeof IntersectionObserver&&(this['_intersectionObserver']=new IntersectionObserver(_0xc1cfeb=>{_0xc1cfeb[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 _0x108b2e=this['_containerElement']['getBoundingClientRect']();if(0x0===_0x108b2e['width']||0x0===_0x108b2e['height'])return!0x1;const _0x1a2b03=window['innerHeight']||document['documentElement']['clientHeight'],_0x3de5d6=window['innerWidth']||document['documentElement']['clientWidth'],_0x24a6fa=0xc8;return _0x108b2e['bottom']>=-0xc8&&_0x108b2e['top']<=_0x1a2b03+_0x24a6fa&&_0x108b2e['right']>=-0xc8&&_0x108b2e['left']<=_0x3de5d6+_0x24a6fa;}}const _0xcddd61='ck-ai-chat__feed__context-chips',_0x301521='ck-ai-chat-context-chips-wrapper',_0x5b9c4a='ck-ai-chat-context-chips-wrapper-balloon',_0x49ed45='ck-ai-chat-controls-button',_0x4b1ac8='ck-ai-chat-controls_context_show-more-button',_0x10e78c='ck-ai-chat-context-controls__show-more-balloon-panel';class AIChatFeedContextChipsView extends _0x5f37cd['View']{['_contextChips']=this['createCollection']();['_overflowManager'];['_bodyCollection'];constructor(_0x43eb79,_0x994f40,_0x1c0003){super(_0x43eb79),this['_bodyCollection']=_0x1c0003,this['_createContextChips'](_0x994f40);const _0x475495={'cssClasses':{'showMoreButton':_0x4b1ac8+'\x20'+Bt,'showMoreBalloon':_0x10e78c,'overflowContainer':_0x5b9c4a,'controlsButton':_0x49ed45}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x43eb79,this['_contextChips'],_0x475495,this['_bodyCollection'],this),this['setTemplate']({'tag':'div','attributes':{'class':[_0xcddd61,'ck','ck-reset_all']},'children':[{'tag':'div','attributes':{'class':_0x301521},'children':this['_contextChips']}]});}['render'](){super['render']();const _0x42b477=this['element']['querySelector']('.'+_0x301521);_0x42b477&&(this['_overflowManager']['setContainerElement'](_0x42b477),this['_overflowManager']['reorganizeChips']());}['destroy'](){super['destroy'](),this['_overflowManager']['destroy']();}['_createContextChips'](_0x432953){for(const _0x429b11 of _0x432953){const _0x12565b=new AIChatContextItemButtonView(this['locale'],_0x429b11,!0x0,!0x1);this['_contextChips']['add'](_0x12565b);}}}class AIChatFeedUserMessageItemView extends AIChatFeedItemView{['_contextChipsView']=null;['_locale'];['_bodyCollection'];['_messageContentView'];constructor(_0x14ca76,_0x1b666f,_0x357207){super(_0x1b666f),this['_locale']=_0x14ca76,this['_bodyCollection']=_0x357207,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'](_0x3a9dba=>!_0x3a9dba['hidden']),this['_bodyCollection']),this['_contextChipsView']['extendTemplate']({'attributes':{'class':'ck-ai-chat__feed__context-chips'}}),this['children']['add'](this['_contextChipsView']));}['_createMessageContentView'](){this['_messageContentView']=new _0x5f37cd['View'](this['_locale']),this['_messageContentView']['setTemplate']({'tag':'div','attributes':{'class':['ck-reset_all-excluded','ck-ai-chat__feed__message-content','ck-ai-chat-content']}}),this['children']['add'](this['_messageContentView']);}['render'](){super['render'](),this['_messageContentView']['element']['innerHTML']=this['options']['initialContent'],this['markAsDone']();}}class AIChatFeedInteractionHeaderView extends AIChatFeedItemView{['capabilities'];constructor(_0x444b7f,_0x3cbf16){super(_0x3cbf16);const {isWebSearchEnabled:_0x42b39e,isReasoningEnabled:_0x2d6fe3}=_0x3cbf16['capabilities'],_0x582bb6=[];let _0x40ab25='';_0x42b39e&&_0x2d6fe3?(_0x40ab25=Qt(_0x444b7f,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'),_0x582bb6['push'](_0x35b292(_0x5f37cd['IconWeb'])),_0x582bb6['push'](_0x35b292(_0x5f37cd['IconBulb']))):_0x42b39e?(_0x40ab25=Qt(_0x444b7f,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'),_0x582bb6['push'](_0x35b292(_0x5f37cd['IconWeb']))):_0x2d6fe3&&(_0x40ab25=Qt(_0x444b7f,'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'),_0x582bb6['push'](_0x35b292(_0x5f37cd['IconBulb']))),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__interaction-header',_0x40ab25?'':'ck-hidden']}});const _0x3b62dc=new _0x5f37cd['View']();_0x3b62dc['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__interaction-header__capabilities']},'children':[..._0x582bb6,{'tag':'span','attributes':{'class':['ck-ai-chat__feed__interaction-header__capabilities__text']},'children':[_0x40ab25]}]}),this['children']['add'](_0x3b62dc),this['capabilities']=_0x3cbf16['capabilities'];}}function _0x35b292(_0x2e97ae){const _0x1813b1=new _0x5f37cd['IconView']();return _0x1813b1['content']=_0x2e97ae,_0x1813b1;}const _0x50f9c9=['wheel','touchstart','pointerdown','keydown'],_0x195e06=['ArrowUp','ArrowDown','PageUp','PageDown','Home','End','\x20'];class _0x5f369b{['element'];['animationFrameId'];['isRunning'];['abortController'];['isUserPaused'];['scrollBehavior'];constructor(_0x78358b){this['element']=_0x78358b,this['animationFrameId']=null,this['isRunning']=!0x1,this['abortController']=new AbortController(),this['isUserPaused']=!0x1,this['scrollBehavior']='smooth';for(const _0x39e472 of _0x50f9c9){const _0x52baca='keydown'!==_0x39e472;this['element']['addEventListener'](_0x39e472,this['_onUserEvent']['bind'](this),{'passive':_0x52baca,'signal':this['abortController']['signal']});}}['start']({smooth:_0x326764=!0x0}={}){this['isRunning']||(this['isRunning']=!0x0,this['isUserPaused']=!0x1,this['scrollBehavior']=_0x326764?'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'](_0x49a24c){if(this['isRunning']){if('keydown'===_0x49a24c['type']){const _0x371fb2=_0x49a24c['key'];if(!_0x195e06['includes'](_0x371fb2))return;}_0x49a24c instanceof WheelEvent?_0x49a24c['deltaY']<0x0?this['isUserPaused']=!0x0:this['isUserPaused']=!this['_isAtBottom']():this['isUserPaused']=!0x0;}}['_isAtBottom'](){const {scrollTop:_0xab7afd,scrollHeight:_0xfc7626,clientHeight:_0x149d5d}=this['element'];return _0xfc7626-_0xab7afd-_0x149d5d<=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(_0x574e5a){super(_0x574e5a),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 _0x5f37cd['View']{['children'];['scrollManager'];['_bodyCollection'];constructor(_0x34ed16,_0x5273ec){super(_0x34ed16),this['_bodyCollection']=_0x5273ec,this['set']('loadingMessage',''),this['set']('isLoadingSkeletonVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),this['children']['delegate'](..._0x24fdf8)['to'](this),this['_setupTemplate']();}['render'](){super['render'](),this['scrollManager']=new _0x5f369b(this['element']);}['destroy'](){super['destroy'](),this['scrollManager']['destroy']();}['clear'](){this['children']['clear']();}['addItem'](_0x599d3b,_0x37c904){let _0x3777cb;return'ai-reply'===_0x599d3b?_0x3777cb=new AIChatFeedReplyItemView(this['locale'],_0x37c904,this['_bodyCollection']):'ai-suggestion-reply'===_0x599d3b?(_0x3777cb=new AIChatFeedSuggestionItemView(this['locale'],_0x37c904,this['_bodyCollection']),_0x3777cb['bind']('isTrackChangesOn')['to'](this)):_0x3777cb='user-message'===_0x599d3b?new AIChatFeedUserMessageItemView(this['locale'],_0x37c904,this['_bodyCollection']):'interaction-header'===_0x599d3b?new AIChatFeedInteractionHeaderView(this['locale'],_0x37c904):'custom-element'===_0x599d3b?new AIChatFeedCustomElementView(_0x37c904):new AIChatFeedErrorItemView(_0x37c904),this['children']['add'](_0x3777cb),_0x3777cb;}async['updateReplyItem']({id:_0x11d76a,parsedContent:_0xf57252,renderingStrategy:_0x558952,abortSignal:_0xf63c6f}){const _0x1deb77=this['getItemById'](_0x11d76a);if(!(_0x1deb77 instanceof AIChatFeedReplyItemView))throw new _0x5f37cd['CKEditorError']('ai-chat-feed-view-item-not-a-reply-item',null,{'itemView':_0x1deb77,'id':_0x11d76a,'parsedContent':_0xf57252});await _0x1deb77['updateContent']({'parsedContent':_0xf57252,'renderingStrategy':_0x558952,'abortSignal':_0xf63c6f});}async['updateWebSources'](_0x3e14f4,_0x1d756f){const _0x295db4=this['getItemById'](_0x3e14f4);if(_0x295db4 instanceof AIChatFeedSuggestionItemView)_0x295db4['updateSources'](_0x1d756f);else{if(!(_0x295db4 instanceof AIChatFeedReplyItemView))throw new _0x5f37cd['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-or-reply-item',null,{'itemView':_0x295db4,'id':_0x3e14f4,'sources':_0x1d756f});_0x295db4['updateSources'](_0x1d756f);}}async['updateSuggestionItem']({id:_0x270ae5,parts:_0x393d86,abortSignal:_0x492f65,skipLoadingEffects:_0x1405eb}){const _0x2c64b9=this['getItemById'](_0x270ae5);if(!(_0x2c64b9 instanceof AIChatFeedSuggestionItemView))throw new _0x5f37cd['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',null,{'itemView':_0x2c64b9,'id':_0x270ae5,'parts':_0x393d86});await _0x2c64b9['updateContent']({'parts':_0x393d86,'abortSignal':_0x492f65,'skipLoadingEffects':_0x1405eb});}['updateSuggestionPartState']({id:_0x527fdc,index:_0x19cdf1,state:_0x3029e8}){const _0x390f0f=this['getItemById'](_0x527fdc);if(!(_0x390f0f instanceof AIChatFeedSuggestionItemView))throw new _0x5f37cd['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x527fdc});_0x390f0f['updatePartState'](_0x19cdf1,_0x3029e8);}['setSuggestionPartActive']({id:_0x17133a,index:_0x2a2bdd,isActive:_0x5a2c65}){const _0x1dd564=this['getItemById'](_0x17133a);if(!(_0x1dd564 instanceof AIChatFeedSuggestionItemView))throw new _0x5f37cd['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x17133a});this['children']['filter'](_0x5eee08=>_0x5eee08 instanceof AIChatFeedSuggestionItemView)['forEach'](_0x37fdbd=>{_0x37fdbd['setPartActive'](!0x1);}),_0x1dd564['setPartActive'](_0x2a2bdd,_0x5a2c65);}['markItemAsDone'](_0x4ed994){this['getItemById'](_0x4ed994)['markAsDone']();}['getItemIds'](){return this['children']['map'](_0x4280c1=>_0x4280c1['options']['id']);}['removeItem'](_0x1756e0){this['children']['remove'](this['getItemById'](_0x1756e0));}['hasItem'](_0x241629){return!!this['children']['find'](_0x5ddb0d=>_0x5ddb0d['options']['id']['includes'](_0x241629));}['scrollToSuggestion'](_0x282af8,_0x5dd980){const _0x5352ac=this['getItemById'](_0x282af8);if(!(_0x5352ac instanceof AIChatFeedSuggestionItemView))return void _0x5f37cd['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item',{'replyId':_0x282af8,'partIndex':_0x5dd980});const _0x546fd9=_0x5352ac['getPartView'](_0x5dd980);_0x546fd9?_0x5f37cd['scrollAncestorsToShowTarget'](_0x546fd9['element'],0x14,this['element']['parentElement'],!0x0,!0x0):_0x5f37cd['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found',{'replyId':_0x282af8,'partIndex':_0x5dd980});}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed']},'children':this['_createTemplateChildren']()});}['_createTemplateChildren'](){const _0x87a847=this['_createSkeletonLoader']();return[this['_createFeedItems'](),_0x87a847,this['_createFeedLoader']()];}['_createSkeletonLoader'](){const _0x240d29=new AISkeletonView(this['locale'],_0x1c9e8b['aiFeed']);return _0x240d29['bind']('isVisible')['to'](this,'isLoadingSkeletonVisible'),_0x240d29;}['_createFeedItems'](){const _0x16aa0c=new _0x5f37cd['View'](this['locale']);return _0x16aa0c['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__items',this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden')]},'children':this['children']}),_0x16aa0c;}['_createFeedLoader'](){const _0x19bd65=new _0x5f37cd['View'](this['locale']);return _0x19bd65['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__loader',this['bindTemplate']['if']('loadingMessage','ck-hidden',_0x3f2ce7=>!_0x3f2ce7)]},'children':this['_createLoaderChildren']()}),_0x19bd65;}['_createLoaderChildren'](){const _0x3faea4=new _0x3dc227();return _0x3faea4['isVisible']=!0x0,[_0x3faea4,{'tag':'span','attributes':{'class':['ck','ck-ai-chat__loader-text']},'children':[{'text':this['bindTemplate']['to']('loadingMessage')}]}];}['getItemById'](_0x45f8ea){const _0x3f8f37=this['children']['find'](_0xba2cd6=>_0xba2cd6['options']['id']['includes'](_0x45f8ea));if(!_0x3f8f37)throw new _0x5f37cd['CKEditorError']('ai-chat-feed-view-item-not-found',this,{'id':_0x45f8ea});return _0x3f8f37;}['setLoadingMessage'](_0x14eb48){this['set']('loadingMessage',_0x14eb48);}['toggleLoadingSkeleton'](_0x192ed2){this['set']('isLoadingSkeletonVisible',_0x192ed2);}['startAutoScroll'](_0x254681={}){this['scrollManager']['start'](_0x254681);}['stopAutoScroll'](){this['scrollManager']['stop']();}}class AIChatPromptSuggestionsListView extends _0x5f37cd['ListView']{['filter'](){let _0x4dccec=0x0;for(const _0x174c2f of this['items'])_0x4dccec+=_0x174c2f['items']['length'];return{'resultsCount':_0x4dccec,'totalItemsCount':_0x4dccec};}}function _0x23137a(_0x2e666b){const _0x4b9d32=[];let _0xc9a86d=!0x1;for(const _0x2e802f of Array['from'](_0x2e666b['items'])){if('file'!==_0x2e802f['kind'])continue;const _0x190d07=_0x2e802f['webkitGetAsEntry']();if(_0x190d07?.['isDirectory']){_0xc9a86d=!0x0;continue;}const _0x41a05e=_0x2e802f['getAsFile']();_0x41a05e&&_0x4b9d32['push'](_0x41a05e);}return{'files':_0x4b9d32,'hasDirectory':_0xc9a86d};}const _0x56c3bd='ck-ai-chat__prompt-input_highlighted';class AIChatPromptInputView extends _0x5f37cd['AutocompleteView']{['submitButtonView'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;['_addContextButtonView'];['_queryViewResizeObserver'];constructor(_0x44810f,_0x2541c9){super(_0x44810f,{'queryView':{'label':'','creator':_0x5f37cd['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new AIChatPromptSuggestionsListView(_0x44810f),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this['set']('isEmpty',!0x0),this['set']('isUploadInProgress',!0x1),this['_addContextButtonView']=_0x2541c9,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',(_0x2f2bfe,_0x37a6c3)=>!_0x2f2bfe&&!_0x37a6c3),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0xf962ef,_0x588281)=>{this['isUploadInProgress']||this['isEmpty']||_0xf962ef['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x588281());}),this['queryView']['fieldView']['on']('update',()=>{this['isEmpty']=''===this['queryView']['fieldView']['element']['value']?.['trim']();}),this['queryView']['fieldView']['element']['addEventListener']('paste',_0x1b4038=>this['_handlePaste'](_0x1b4038)),this['element']['addEventListener']('drop',_0x5f17fd=>this['_handleDrop'](_0x5f17fd));}['_handlePaste'](_0x1d64e2){const _0x394499=_0x1d64e2['clipboardData'];if(!_0x394499)return;const {files:_0x2fe94e,hasDirectory:_0x47047c}=_0x23137a(_0x394499),_0x1f27f={'files':_0x2fe94e,'plainText':_0x394499['getData']('text/plain'),'hasDirectory':_0x47047c,'forceTextAttachment':!0x1,'preventDefault':()=>_0x1d64e2['preventDefault']()};this['fire']('promptInputPaste',_0x1f27f);}['_handleDrop'](_0x3ea1a6){const _0x4cb8b1=_0x3ea1a6['dataTransfer'];if(!_0x4cb8b1)return;const _0x4e41ad={'files':[],'plainText':_0x4cb8b1['getData']('text/uri-list')||_0x4cb8b1['getData']('text/plain'),'hasDirectory':!0x1,'forceTextAttachment':!0x1,'preventDefault':()=>_0x3ea1a6['preventDefault']()};this['fire']('promptInputPaste',_0x4e41ad);}['destroy'](){super['destroy'](),this['_queryViewResizeObserver']&&this['_queryViewResizeObserver']['destroy']();}['submit'](){const _0x311c4b=this['queryView']['fieldView']['element']['value']?.['trim']();if(!_0x311c4b)return this['queryView']['errorText']=Qt(this['locale'],'AI_CHAT_PROMPT_EMPTY_ERROR'),void(this['queryView']['fieldView']['hasError']=!0x0);this['queryView']['fieldView']['hasError']=!0x1;const _0x48e9f0=Tt(_0x311c4b);this['fire']('sendUserMessage',_0x48e9f0),this['queryView']['fieldView']['reset']();}['setPlaceholderText'](_0x52b169){this['queryView']['fieldView']['set']('placeholder',_0x52b169);}['focus'](_0xd02976=!0x1){super['focus'](),_0xd02976&&(this['element']['classList']['contains'](_0x56c3bd)||(this['element']['classList']['add'](_0x56c3bd),setTimeout(()=>{this['element']['classList']['remove'](_0x56c3bd);},0x320)));}['_createSubmitButton'](){const _0x1d3530=new _0x5f37cd['ButtonView'](this['locale']);return _0x1d3530['set']({'icon':_0x5f37cd['IconSubmit'],'label':Qt(this['locale'],'AI_CHAT_LABEL_SUBMIT'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-chat__prompt-submit-button\x20'+Vt,'isEnabled':!0x1}),_0x1d3530['on']('execute',()=>{this['submit']();}),_0x1d3530;}['setIsUploadInProgress'](_0x55839d){this['isUploadInProgress']=_0x55839d;}['_setUpAddContextButtonPositioning'](){const _0x4844fa=this['locale'],_0x2743ef=()=>{_0x5f37cd['global']['window']['requestAnimationFrame'](()=>{if(_0x5f37cd['isVisible'](this['element'])){const _0x13d12a=new _0x5f37cd['Rect'](this['queryView']['fieldView']['element']),_0x91561c=new _0x5f37cd['Rect'](this['_addContextButtonView']['element']),_0x4410c7=_0x13d12a['width'],_0xb8bbe4='rtl'===_0x4844fa['uiLanguageDirection']?'right':'left';_0x13d12a['excludeScrollbarsAndBorders']();const _0x27604c=_0x4410c7-_0x13d12a['width']+0x1;this['_addContextButtonView']['element']['style'][_0xb8bbe4]='calc('+(_0x4410c7-_0x91561c['width']-_0x27604c)+'px\x20-\x20var(--ck-spacing-tiny))';}});};this['queryView']['fieldView']['on']('update',_0x2743ef),this['on']('render',()=>{_0x2743ef(),this['_queryViewResizeObserver']=new _0x5f37cd['ResizeObserver'](this['queryView']['fieldView']['element'],()=>{_0x2743ef();});});}}class AIChatDropZoneView extends _0x5f37cd['View']{constructor(_0x5c2645){super(_0x5c2645);const _0x26a054=new _0x5f37cd['IconView']();_0x26a054['content']=_0x5f37cd['IconFileUpload'],this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-controls__drop-overlay']},'children':[_0x26a054,{'tag':'span','attributes':{'class':['ck-ai-chat-controls__drop-overlay__label']},'children':[{'text':Qt(_0x5c2645,'AI_CHAT_DROP_ZONE_HINT')}]}]});}['attach'](_0x26136f){let _0x40a26d=0x0;_0x26136f['addEventListener']('dragenter',_0x1ddd62=>{_0x1ddd62['dataTransfer']&&(_0x40a26d++,0x1===_0x40a26d&&this['fire']('dragEnter'),_0x26136f['classList']['add']('ck-ai-chat-controls_drag-over'));}),_0x26136f['addEventListener']('dragover',_0x72be78=>{_0x72be78['dataTransfer']&&_0x72be78['preventDefault']();}),_0x26136f['addEventListener']('dragleave',()=>{--_0x40a26d<=0x0&&(_0x40a26d=0x0,_0x26136f['classList']['remove']('ck-ai-chat-controls_drag-over'));}),_0x26136f['addEventListener']('drop',_0x1cca87=>{_0x1cca87['preventDefault'](),_0x40a26d=0x0,_0x26136f['classList']['remove']('ck-ai-chat-controls_drag-over'),this['_handleDrop'](_0x1cca87);});}['_handleDrop'](_0x3d8e8c){const _0x52a2c7=_0x3d8e8c['dataTransfer'];if(!_0x52a2c7)return;const {files:_0x962eba,hasDirectory:_0x55926f}=_0x23137a(_0x52a2c7),_0x1e4dd9={'files':_0x962eba,'plainText':_0x52a2c7['getData']('text/uri-list')||_0x52a2c7['getData']('text/plain'),'hasDirectory':_0x55926f,'forceTextAttachment':!0x0,'preventDefault':()=>{}};this['fire']('promptInputPaste',_0x1e4dd9);}}const _0x3b8917='ck-ai-chat__prompt-capabilities',_0x3b13e7='ck-ai-chat-controls-button',_0x20eccf='ck-ai-chat-controls-button--commands',_0x4fd44a='ck-ai-chat-controls__model-selection',_0x836575='ck-ai-chat-controls__model-selection__item-name',_0x17316a='ck-ai-chat-controls__model-selection__item-description',_0x301e61='ck-ai-chat-controls__model-selection__item-capabilities',_0x55f740='n';class AIChatPromptCapabilitiesView extends _0x5f37cd['View']{['_webSearchButton'];['_reasoningButton'];['_commandsButton'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_modelNameView'];constructor(_0x1cb396){super(_0x1cb396),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',_0x47b505=>'selector'===_0x47b505),this['_modelSelectionDropdown']['buttonView']['bind']('tooltip')['to'](this,'modelSelectorEnabled',_0x4c3fd9=>_0x4c3fd9?this['_modelSelectionDropdown']['buttonView']['label']:Qt(this['locale'],'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP')),this['_modelSelectionDropdown']['bind']('isEnabled')['to'](this,'modelSelectorEnabled',_0x550f81=>_0x550f81),this['_webSearchButton']['bind']('isOn')['to'](this,'webSearchActive',_0x2f5f9c=>_0x2f5f9c),this['_webSearchButton']['bind']('tooltip')['to'](this,'webSearchActive',_0x5d8d66=>Qt(this['locale'],_0x5d8d66?'AI_CHAT_DISABLE_WEB_SEARCH':'AI_CHAT_ENABLE_WEB_SEARCH')),this['_reasoningButton']['bind']('isOn')['to'](this,'reasoningActive',_0x1d374b=>_0x1d374b),this['_reasoningButton']['bind']('tooltip')['to'](this,'reasoningActive',_0xe4ca26=>Qt(this['locale'],_0xe4ca26?'AI_CHAT_DISABLE_REASONING':'AI_CHAT_ENABLE_REASONING')),this['setTemplate']({'tag':'div','attributes':{'class':[_0x3b8917]},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],this['_webSearchButton'],this['_reasoningButton'],this['_commandsButton']]}),this['_modelSelectionDropdownItems']=new _0x5f37cd['Collection'](),_0x5f37cd['addListToDropdown'](this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);}['setModelList'](_0x5cbb99,_0x253dc8){if(_0x253dc8)this['set']('modelDisplayMode','hidden');else{const _0x47471c=0x1===_0x5cbb99['length'];this['set']('modelDisplayMode',_0x47471c?'name':'selector');}if(this['_modelSelectionDropdownItems']['clear'](),_0x5cbb99?.['length'])for(const _0x2e8009 of _0x5cbb99){const _0x376ecf=new _0x5f37cd['UIModel']({'label':_0x2e8009['name'],'withText':!0x0,'role':'menuitemradio','id':_0x2e8009['id'],'model':_0x2e8009});_0x376ecf['bind']('isOn')['to'](this,'activeModelId',_0x567eb8=>_0x567eb8===_0x2e8009['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x376ecf,'labelView':new _0x2f8576(this['locale'],_0x2e8009)});}}['setWebSearch'](_0x354322){this['set']('webSearchActive',_0x354322);}['setReasoning'](_0x4ae643){this['set']('reasoningActive',_0x4ae643);}['setModel'](_0x582406){if(!_0x582406)return;this['activeModelId']=_0x582406['id'],this['activeModelName']=_0x582406['name']||_0x582406['id'],this['_modelSelectionDropdown']['buttonView']['set']('label',_0x582406['name']),this['_modelSelectionDropdown']['buttonView']['set']('tooltip',_0x582406['name']);const _0x2b0afe=_0x582406['capabilities']['webSearch']?.['enabled']??!0x1;this['set']('webSearchActive',!0x1),this['_webSearchButton']['set']('isOn',!0x1),this['_webSearchButton']['set']('isEnabled',_0x2b0afe),this['_webSearchButton']['set']('isVisible',_0x2b0afe);const _0x3c2865=_0x582406['capabilities']['reasoning']?.['enabled']??!0x1;this['set']('reasoningActive',!0x1),this['_reasoningButton']['set']('isOn',!0x1),this['_reasoningButton']['set']('isEnabled',_0x3c2865),this['_reasoningButton']['set']('isVisible',_0x3c2865);}['enableModelSelector'](){this['set']('modelSelectorEnabled',!0x0);}['disableModelSelector'](_0x2aeff2){this['set']('modelSelectorEnabled',!0x1),_0x2aeff2&&this['set']('modelDisplayMode','hidden');}['_createWebSearchButton'](){const _0x25d590=new _0x5f37cd['ButtonView']();return _0x25d590['set']({'label':Qt(this['locale'],'AI_CHAT_SEARCH_WEB'),'icon':_0x5f37cd['IconWeb'],'class':_0x3b13e7+'\x20'+Bt,'isToggleable':!0x0,'tooltipPosition':_0x55f740}),_0x25d590['on']('execute',()=>{this['fire']('toggleWebSearch');}),_0x25d590;}['_createReasoningButton'](){const _0x2aa7e9=new _0x5f37cd['ButtonView']();return _0x2aa7e9['set']({'label':Qt(this['locale'],'AI_CHAT_REASONING'),'icon':_0x5f37cd['IconBulb'],'class':_0x3b13e7+'\x20'+Bt,'isToggleable':!0x0,'tooltipPosition':_0x55f740}),_0x2aa7e9['on']('execute',()=>{this['fire']('toggleReasoning');}),_0x2aa7e9;}['_createCommandsButton'](){const _0x52f234=new _0x5f37cd['ButtonView']();return _0x52f234['set']({'label':Qt(this['locale'],'AI_CHAT_COMMANDS'),'icon':_0x5f37cd['IconAI'],'withText':!0x0,'class':_0x3b13e7+'\x20'+Bt,'isToggleable':!0x0,'tooltip':Qt(this['locale'],'AI_CHAT_COMMANDS'),'tooltipPosition':_0x55f740}),_0x52f234['extendTemplate']({'attributes':{'class':[_0x20eccf]}}),_0x52f234['on']('execute',()=>{console['log']('Commands\x20are\x20not\x20implemented\x20yet.'),alert('Commands\x20are\x20not\x20implemented\x20yet.');}),_0x52f234;}['_createModelSelectionDropdown'](){const _0x301859=_0x5f37cd['createDropdown'](this['locale']);return _0x301859['set']({'panelPosition':'ne','class':[_0x4fd44a]}),_0x301859['buttonView']['set']({'label':Qt(this['locale'],'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP'),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':_0x55f740,'class':Bt}),this['listenTo'](_0x301859,'execute',_0x222b3d=>{this['fire']('selectModel',_0x222b3d['source']['model']);}),_0x301859;}['_createModelNameView'](){const _0x43278b=new _0x22d804(this['locale']);return _0x43278b['bind']('text')['to'](this,'activeModelName',_0x5b84fb=>_0x5b84fb??''),_0x43278b['bind']('isVisible')['to'](this,'modelDisplayMode',_0x4acfd6=>'name'===_0x4acfd6),_0x43278b;}}let _0x2f8576=class ModelButtonLabelView extends _0x5f37cd['ButtonLabelView']{constructor(_0x3e86c4,_0x7be965){super();const _0x54704e=this['bindTemplate'],_0x228375=this['createCollection']();this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x54704e['to']('style'),'id':_0x54704e['to']('id')},'children':[{'tag':'div','attributes':{'class':[_0x836575]},'children':[{'text':_0x54704e['to']('text')}]},{'tag':'div','attributes':{'class':[_0x17316a]},'children':[{'tag':'span','children':[{'text':_0x7be965['description']}]}]},{'tag':'div','attributes':{'class':[_0x301e61]},'children':_0x228375}]}),_0x228375['addMany'](this['_getCapabilityParts'](_0x3e86c4,_0x5f37cd['IconWeb'],'AI_CHAT_SEARCH_WEB',_0x7be965['capabilities']['webSearch']?.['enabled']??!0x1)),_0x228375['addMany'](this['_getCapabilityParts'](_0x3e86c4,_0x5f37cd['IconBulb'],'AI_CHAT_REASONING',_0x7be965['capabilities']['reasoning']?.['enabled']??!0x1));}['_getCapabilityParts'](_0x177eff,_0x2825e9,_0x485467,_0x5647fc){const _0x584f95=new _0x5f37cd['IconView']();_0x584f95['content']=_0x2825e9;const _0x57a342=new _0x5f37cd['View'](_0x177eff);_0x57a342['setTemplate']({'tag':'span','children':[{'text':Qt(_0x177eff,_0x485467)+':\x20'}]});const _0x12b6e5=new _0x5f37cd['View'](_0x177eff);return _0x12b6e5['setTemplate']({'tag':'span','children':[{'text':Qt(_0x177eff,_0x5647fc?'AI_CHAT_CAPABILITIES_YES':'AI_CHAT_CAPABILITIES_NO')}]}),[_0x584f95,_0x57a342,_0x12b6e5];}},_0x22d804=class _0x22ba2b extends _0x5f37cd['View']{constructor(_0x488c41){super(_0x488c41),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x356167=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-chat-controls__model-name',_0x356167['if']('isVisible','ck-hidden',_0x2e533f=>!_0x2e533f)]},'children':[{'text':_0x356167['to']('text')}]});}};const _0x44249f='ck-ai-chat-context-controls__url-form',_0x2987c7='ck-ai-chat-context-controls__url-input-section';class AIChatContextPanelUrlInputView extends _0x5f37cd['View']{['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['urlInputField'];['backButton'];['confirmButton'];constructor(_0x506aeb){super(_0x506aeb),this['focusTracker']=new _0x5f37cd['FocusTracker'](),this['keystrokes']=new _0x5f37cd['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 _0x5f37cd['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'](_0x4a2ef5=>{this['focusTracker']['add'](_0x4a2ef5['element']),this['keystrokes']['listenTo'](_0x4a2ef5['element']);}),_0x5f37cd['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'](_0x44b190){this['urlInputField']['errorText']=_0x44b190,this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}['clearError'](){this['urlInputField']['errorText']=null,this['_updateConfirmButtonState']();}['_createBackButton'](){const _0x234ad5=new _0x5f37cd['ButtonView'](this['locale']);return _0x234ad5['set']({'icon':_0x5f37cd['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',(_0x240cf3,_0xbf01cd,_0x48f030)=>{_0x234ad5['set']({'class':['ck-button-icon\x20ck-button-back'+(_0x48f030?'':'\x20ck-hidden')]});}),_0x234ad5;}['_createUrlInputField'](){const _0x45eded=new _0x5f37cd['LabeledFieldView'](this['locale'],_0x5f37cd['createLabeledInputText']);return _0x45eded['set']({'label':Qt(this['locale'],'AI_CHAT_CONTEXT_URL_LABEL'),'class':'ck-labeled-field-view_empty'}),_0x45eded['fieldView']['set']({'placeholder':Qt(this['locale'],'AI_CHAT_CONTEXT_URL_PLACEHOLDER')}),_0x45eded;}['_createConfirmButton'](){const _0x52ac53=new _0x5f37cd['ButtonView'](this['locale']);return _0x52ac53['set']({'icon':_0x5f37cd['IconCheck'],'tooltip':Qt(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'tooltipPosition':'n','class':'ck-button-icon','type':'submit','isEnabled':!0x1}),_0x52ac53;}['_setupTemplate'](){const _0x475254=new _0x5f37cd['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'});_0x475254['children']['add'](this['backButton'],0x0),this['setTemplate']({'tag':'form','attributes':{'class':_0x44249f,'tabindex':'-1'},'children':[_0x475254,{'tag':'div','attributes':{'class':_0x2987c7},'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',_0x5d9678=>{_0x5d9678['stop'](),this['_handleSubmit']();});}['_setupKeystrokes'](){this['keystrokes']['set']('esc',(_0x5e46ba,_0x3bf141)=>{this['clear'](),this['fire']('cancel'),_0x3bf141();});}['_handleSubmit'](){const _0x5751cf=this['getValue']()['trim']();_0x5751cf?this['_isValidUrl'](_0x5751cf)?(this['clearError'](),this['fire']('submitUrl',_0x5751cf)):this['setError'](Qt(this['locale'],'AI_CHAT_CONTEXT_URL_INVALID_ERROR')):this['setError'](Qt(this['locale'],'AI_CHAT_CONTEXT_URL_EMPTY_ERROR'));}['_updateConfirmButtonState'](){const _0x1753ba=this['getValue']()['trim'](),_0x4d3771=!!this['urlInputField']['errorText'];this['confirmButton']['isEnabled']=_0x1753ba['length']>0x0&&!_0x4d3771;}['_isValidUrl'](_0xef9916){try{return!!new URL(_0xef9916);}catch{return!0x1;}}}const _0x9e0cec='ck-ai-chat-resources__item',_0x2531df='ck-ai-chat-resources__item--in-context',_0x3697a4='ck-ai-chat-resources__item-title',_0x3ad51c='ck-ai-chat-resources__item__icon';class AIChatResourceListItemView extends _0x5f37cd['ListItemView']{['resource'];['_titleView'];['_iconView'];constructor(_0x7d36f5,_0xf76a8a){super(_0x7d36f5),this['resource']=_0xf76a8a,this['set']('isInContext',!!_0xf76a8a['isInContext']),this['_titleView']=this['_createTitleView'](),this['_iconView']=this['_createIconView'](),this['_setupTemplate']();}['render'](){super['render']();}['getResourceIcon'](_0x4aff6f){if(_0x4aff6f['isInContext'])return _0x5f37cd['IconCheck'];switch(_0x4aff6f['type']){case'document':return _0x5f37cd['IconDocument'];case'web-resource':return _0x5f37cd['IconLink'];case'file':case'text':return _0x5f37cd['IconFileUpload'];default:return _0x5f37cd['IconDocumentOutline'];}}['highlightText'](_0x188a2c){if(!_0x188a2c||''===_0x188a2c['trim']())return void this['_titleView']['highlightText'](null);const _0x3490db=new RegExp(At(_0x188a2c),'gi');this['_titleView']['highlightText'](_0x3490db);}['updateResourceState'](_0x480582){this['resource']['isInContext']=_0x480582,this['isInContext']=_0x480582,this['_updateIcon']();}['_createTitleView'](){const _0x51cd0f=new _0x5f37cd['HighlightedTextView']();return _0x51cd0f['text']=this['resource']['label'],_0x51cd0f['extendTemplate']({'tag':'span','attributes':{'class':[_0x3697a4]}}),_0x51cd0f;}['_createIconView'](){const _0x32e573=new _0x5f37cd['IconView']();return _0x32e573['content']=this['getResourceIcon'](this['resource']),_0x32e573;}['_setupTemplate'](){const _0x4c8ab8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':[_0x9e0cec,_0x4c8ab8['if']('isVisible','ck-hidden',_0x1efe61=>!_0x1efe61),_0x4c8ab8['if']('isInContext',_0x2531df)]},'children':[{'tag':'div','attributes':{'class':[_0x3ad51c]},'children':[this['_iconView']]},this['_titleView']],'on':{'click':_0x4c8ab8['to']('execute')}});}['_updateIcon'](){this['_iconView']['content']=this['getResourceIcon'](this['resource']);}}const _0x28c653='ck-ai-chat-resources__list';class AIChatContextResourcesListView extends _0x5f37cd['ListView']{['_source'];constructor(_0xa840b8,_0xf921e8){super(_0xa840b8),this['_source']=_0xf921e8,this['extendTemplate']({'attributes':{'class':[_0x28c653]}});}['setResources'](_0x321a71,_0x536b16){this['items']['clear']();let _0xa142ca=_0x321a71;if(this['_source']['useDefaultFiltering']&&_0x536b16&&''!==_0x536b16['trim']()){const _0xcc85ed=new RegExp(_0x536b16['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),'gi');_0xa142ca=_0x321a71['filter'](_0x5480ac=>_0xcc85ed['test'](_0x5480ac['label']));}for(const _0x5e6edd of _0xa142ca){const _0xfc60f3=new AIChatResourceListItemView(this['locale'],_0x5e6edd);_0xfc60f3['on']('execute',()=>{this['_handleResourceSelection'](this['_source'],_0x5e6edd);}),this['items']['add'](_0xfc60f3);}this['_source']['useDefaultFiltering']&&this['highlightText'](_0x536b16);}['highlightText'](_0x44b8f0){this['_source']['useDefaultFiltering']&&this['items']['forEach'](_0x511218=>{_0x511218['highlightText'](_0x44b8f0);});}['updateResourceState'](_0x38e918,_0x1b6955){for(const _0x228ea8 of this['items']){const _0x3f5d2c=_0x228ea8;_0x3f5d2c['resource']['id']===_0x38e918&&_0x3f5d2c['updateResourceState'](_0x1b6955);}}['_handleResourceSelection'](_0x4b0015,_0x4f9bae){this['fire']('addResourceToContext',{'source':_0x4b0015,'resource':_0x4f9bae});}}class AIChatContextResourcesSearchInputView extends _0x5f37cd['LabeledFieldView']{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x3e50e0){const t=_0x3e50e0['t'],_0x313e39={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x5f37cd['createLabeledInputText'],'label':Qt(_0x3e50e0,'AI_CHAT_SEARCH_RESOURCES')};super(_0x3e50e0,_0x313e39['creator']),this['label']=_0x313e39['label'],this['_viewConfig']=_0x313e39,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x3e50e0,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x40d09b){this['fire']('search',_0x40d09b);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x5f37cd['IconView'](),this['iconView']['content']=_0x5f37cd['IconLoupe'],this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x2f9a98,t){this['resetButtonView']=new _0x5f37cd['ButtonView'](_0x2f9a98),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x5f37cd['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',_0x2d1962=>!_0x2d1962),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 _0x5f37cd['View']{['_searchView'];['_searchSection'];['_searchInputVisibleFrom'];['_resourcesListView'];['_skeletonLoader'];['_source'];['children'];['_latestLoadResourcesUid']=null;constructor(_0x251e15,_0x4f8fa7){super(_0x251e15),this['_source']=_0x4f8fa7['source'],this['_searchInputVisibleFrom']=_0x4f8fa7['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 _0x5f37cd['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 _0x25a6b9=new _0x5f37cd['View'](this['locale']);return _0x25a6b9['setTemplate']({'tag':'div','attributes':{'class':'ck\x20ck-search'},'children':[this['_searchView']]}),this['_searchView']['on']('search',(_0x18db10,_0x5e6710)=>{this['loadResources'](_0x5e6710),this['_source']['useDefaultFiltering']&&this['_resourcesListView']['highlightText'](_0x5e6710);}),_0x25a6b9;}['_createResourcesListView'](){const _0x218539=new AIChatContextResourcesListView(this['locale'],this['_source']);return _0x218539['delegate']('addResourceToContext')['to'](this),_0x218539['extendTemplate']({'attributes':{'class':this['bindTemplate']['if']('isLoading','ck-hidden')}}),_0x218539;}['_createSkeletonView'](){const _0x1e5352=new AISkeletonView(this['locale'],_0x1c9e8b['aiChatResources']);return _0x1e5352['bind']('isVisible')['to'](this,'isLoading'),_0x1e5352;}['render'](){super['render'](),this['loadResources']('');}['loadResources'](_0x2a79d3){const _0x320b91=_0x5f37cd['uid']();this['_latestLoadResourcesUid']=_0x320b91,this['fire']('loadSourceResources',{'sourceId':this['_source']['id'],'query':_0x2a79d3,'uid':_0x320b91}),this['isLoading']=!0x0;}['setResources'](_0x58ab6a,_0x5d57d5){if(_0x5d57d5&&_0x5d57d5!==this['_latestLoadResourcesUid'])return;const _0x21d82b=this['_source']['useDefaultFiltering']?this['_searchView']['getQuery']():'';this['_resourcesListView']['setResources'](_0x58ab6a,_0x21d82b),_0x58ab6a['length']>=this['_searchInputVisibleFrom']&&!this['children']['has'](this['_searchSection'])&&this['children']['add'](this['_searchSection'],0x0),requestAnimationFrame(()=>{this['isLoading']=!0x1;});}['updateResourceState'](_0x2dfb9c,_0xa57cb6){this['_resourcesListView']['updateResourceState'](_0x2dfb9c,_0xa57cb6);}}const _0x5bd4da='ck-ai-chat-context-controls__source-balloon-panel',tl='ck-button-icon\x20ck-button-back',_0x4dd6d2='ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source';class AIChatResourcesBalloonView{['_sourceResourceBalloons']=new Map();['_bodyCollection'];['_locale'];['_config'];constructor(_0x3f2e7e,_0x31ca2c,_0xa07e93){this['_locale']=_0x3f2e7e,this['_bodyCollection']=_0x31ca2c,this['_config']=_0xa07e93;}['showSourceResourcesBalloon']({source:_0x491971,withBackButton:_0x11663b}){let _0x1a011e=this['_sourceResourceBalloons']['get'](_0x491971['id']);_0x1a011e||(_0x1a011e=this['_createSourceResourceBalloonPanel'](),this['_sourceResourceBalloons']['set'](_0x491971['id'],_0x1a011e),this['_setupSingleResourceBalloonClickOutsideHandler'](_0x1a011e)),this['_addSourceResourceContent']({'balloonPanel':_0x1a011e,'source':_0x491971,'withBackButton':_0x11663b}),_0x1a011e['show']();const _0xc51450=this['_config']['getTargetElement']();_0xc51450&&_0x1a011e['pin']({'target':_0xc51450,'limiter':this['_config']['getLimiterElement']()});}['populateSourceResourceBalloon'](_0x5d7fc8,_0x47a8c4,_0x3f1789){const _0x17406f=this['_sourceResourceBalloons']['get'](_0x5d7fc8);if(!_0x17406f)return;const _0x703672=this['_getResourcesViewFromBalloon'](_0x17406f);_0x703672&&(_0x703672['setResources'](_0x47a8c4,_0x3f1789),_0x703672['once']('change:isLoading',()=>{_0x17406f['pin']({'target':this['_config']['getTargetElement'](),'limiter':this['_config']['getLimiterElement']()});}));}['closeSourceResourceBalloon'](_0x8b677b){const _0x56f616=this['_sourceResourceBalloons']['get'](_0x8b677b);_0x56f616&&requestAnimationFrame(()=>{_0x56f616['hide'](),this['_sourceResourceBalloons']['delete'](_0x8b677b),this['_config']['onBalloonClosed']();});}['closeAll'](){for(const _0x5f4e63 of Array['from'](this['_sourceResourceBalloons']['keys']()))this['closeSourceResourceBalloon'](_0x5f4e63);}['isAnyResourceBalloonVisible'](){for(const _0x51f936 of this['_sourceResourceBalloons']['values']())if(_0x51f936['isVisible'])return!0x0;return!0x1;}['updateResourceState'](_0xe6dd67,_0x265d2e,_0x2ac66b){const _0x50f832=this['_sourceResourceBalloons']['get'](_0xe6dd67);if(!_0x50f832||!_0x50f832['isVisible'])return;const _0x25de4a=this['_config']['getTargetElement']();if(!_0x25de4a)return;_0x50f832['pin']({'target':_0x25de4a,'limiter':this['_config']['getLimiterElement']()});const _0x5e64e2=this['_getResourcesViewFromBalloon'](_0x50f832);_0x5e64e2&&_0x5e64e2['updateResourceState'](_0x265d2e,_0x2ac66b);}['destroy'](){for(const _0x297592 of this['_sourceResourceBalloons']['values']())_0x297592['destroy']();this['_sourceResourceBalloons']['clear']();}['_createSourceResourceBalloonPanel'](){const _0x2e9388=new _0x5f37cd['BalloonPanelView'](this['_locale']);return _0x2e9388['extendTemplate']({'attributes':{'class':_0x5bd4da}}),this['_bodyCollection']['add'](_0x2e9388),_0x2e9388;}['_addSourceResourceContent']({balloonPanel:_0xb4d253,source:_0x43d5ed,withBackButton:_0xf12b79}){_0xb4d253['content']['clear']();const _0x3b62cd=this['_createBalloonHeader']({'balloonPanel':_0xb4d253,'source':_0x43d5ed,'withBackButton':_0xf12b79});_0xb4d253['content']['add'](_0x3b62cd);const _0x2b7c68=this['_createBalloonResourcesView'](_0x43d5ed);_0xb4d253['content']['add'](_0x2b7c68);}['_createBalloonHeader']({balloonPanel:_0x9f8288,source:_0x36c7ba,withBackButton:_0x355114}){const _0x110802=new _0x5f37cd['FormHeaderView'](this['_locale'],{'label':_0x36c7ba['label'],'class':_0x4dd6d2});return _0x355114&&_0x110802['children']['add'](this['_createBackButton'](_0x9f8288),0x0),_0x110802;}['_createBackButton'](_0x44e4ee){const _0x3671de=new _0x5f37cd['ButtonView'](this['_locale']);return _0x3671de['set']({'icon':_0x5f37cd['IconPreviousArrow'],'tooltip':Qt(this['_locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':tl}),_0x3671de['on']('execute',()=>{_0x44e4ee['hide'](),this['_config']['onBackToContext']();}),_0x3671de;}['_createBalloonResourcesView'](_0x1cf7b5){const _0x46d885=new AIChatContextResourcesView(this['_locale'],{'source':_0x1cf7b5,'searchInputVisibleFrom':this['_config']['searchInputVisibleFrom']});return _0x46d885['on']('loadSourceResources',(_0x3cefaf,_0x118a82)=>{this['_config']['onLoadSourceResources'](_0x118a82);}),_0x46d885['on']('addResourceToContext',(_0xca4813,_0x14e374)=>{this['_config']['onResourceSelected'](_0x14e374['source'],_0x14e374['resource']),this['closeSourceResourceBalloon'](_0x1cf7b5['id']);}),_0x46d885;}['_getResourcesViewFromBalloon'](_0x254dd9){const _0x98fef0=_0x254dd9['content']['get'](0x1);return _0x98fef0 instanceof AIChatContextResourcesView?_0x98fef0:null;}['_setupSingleResourceBalloonClickOutsideHandler'](_0x438c10){_0x5f37cd['clickOutsideHandler']({'emitter':_0x438c10,'contextElements':[_0x438c10['element']],'callback':()=>{_0x438c10['hide'](),this['_config']['onBalloonClosed']();},'activator':()=>_0x438c10['isVisible']});}}const _0x47cd3d=['addDocumentToContext','addFileToContext','addUrlToContext','addResourceToContext','removeContextItem','loadSourceResources','executeCustomItemCallback'],_0x57e267='ck-ai-chat-context-controls',_0x53cfc1='ck-ai-chat-context-controls__pending-contexts',_0x2f7235='ck-ai-chat-context-controls__add-context-balloon-panel',_0x2282f5='ck-ai-chat-context-controls__add-context-button',_0xff23ae='ck-ai-chat-context-controls__url-balloon-panel',_0x3b6cc5='ck-ai-chat-context-controls__balloon-button',_0x280067='ck-ai-chat-context-controls__balloon-button-source',_0x38e2b0='ck-ai-chat-controls-button',_0x6aa1ea='ck-ai-chat-context-chips-wrapper-balloon',_0x475eee='ck-ai-chat-controls_context_show-more-button',_0x688152='ck-ai-chat-context-controls__show-more-balloon-panel',_0x5ee638='ck-ai-chat',_0x3ed304=[_0x5f37cd['BalloonPanelView']['defaultPositions']['northArrowSouthWest'],_0x5f37cd['BalloonPanelView']['defaultPositions']['northArrowSouth'],_0x5f37cd['BalloonPanelView']['defaultPositions']['northArrowSouthEast'],_0x5f37cd['BalloonPanelView']['defaultPositions']['southArrowNorthWest'],_0x5f37cd['BalloonPanelView']['defaultPositions']['southArrowNorth'],_0x5f37cd['BalloonPanelView']['defaultPositions']['southArrowNorthEast']];class AIChatContextPanelView extends _0x5f37cd['View']{['addContextButtonView'];['_currentContextsChips']=this['createCollection']();['_conversationContextsChips']=this['createCollection']();['_overflowManager'];['_addContextBalloonPanelView'];['_urlBalloonPanelView'];['_urlInputView'];['_resourcesBalloonView'];['_addContextBalloonConfig'];['_hasExactlyOneSource']=!0x1;['bodyCollection'];constructor(_0x58bc60,_0x1fcf70){super(_0x58bc60),this['bodyCollection']=_0x1fcf70['bodyCollection'],this['_currentContextsChips']=this['createCollection'](),this['_conversationContextsChips']=this['createCollection'](),this['addContextButtonView']=this['_createAddContextButtonView'](_0x58bc60),this['_addContextBalloonPanelView']=this['_createAddContextBalloonPanelView'](_0x58bc60),this['_urlBalloonPanelView']=this['_createUrlBalloonPanelView'](_0x58bc60),this['_resourcesBalloonView']=this['_createResourcesBalloonView'](_0x58bc60,_0x1fcf70);const _0x28d9e2={'cssClasses':{'showMoreButton':_0x475eee+'\x20'+Bt,'showMoreBalloon':_0x688152,'overflowContainer':_0x6aa1ea,'controlsButton':_0x38e2b0}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x58bc60,this['_currentContextsChips'],_0x28d9e2,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'](_0xc736,_0x2c8ce4){const _0x17e997=this['_createContextButton'](_0xc736,'current',!0x0,_0x2c8ce4);this['_addContextToCollection'](_0x17e997,this['_currentContextsChips']),this['_overflowManager']['reorganizeChips']();}['removeContextItem'](_0x9fa1c5){this['_removeContextFromCollection'](_0x9fa1c5,this['_currentContextsChips']),this['_removeContextFromCollection'](_0x9fa1c5,this['_overflowManager']['overflowChips']),this['_overflowManager']['reorganizeChips']();}['setContextItemLoading'](_0x467488,_0x2f7609){let _0x2e85e3=this['_currentContextsChips']['find'](_0x1bbc24=>_0x1bbc24['id']===_0x467488);_0x2e85e3||(_0x2e85e3=this['_overflowManager']['overflowChips']['find'](_0x4aeea7=>_0x4aeea7['id']===_0x467488)),_0x2e85e3&&(_0x2e85e3['isLoading']=_0x2f7609);}['setConversationContext'](_0x46bd9f){this['_conversationContextsChips']['clear']();for(const _0x3f2822 of _0x46bd9f){const _0x22789b=this['_createContextButton'](_0x3f2822,'conversation',!0x1,!0x1);this['_addContextToCollection'](_0x22789b,this['_conversationContextsChips']);}}['clearCurrentContextItems'](){this['_currentContextsChips']['clear'](),this['_overflowManager']['clear']();}['clearConversationContextItems'](){this['_conversationContextsChips']['clear']();}['updateResourceState'](_0x39f000,_0x5dd962,_0x438da5){this['_resourcesBalloonView']['updateResourceState'](_0x39f000,_0x5dd962,_0x438da5);}['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;}['hideAllBalloons'](){this['hideAddContextBalloonPanel'](),this['hideUrlBalloonPanel'](),this['_resourcesBalloonView']['closeAll']();}['_showSourceResourcesBalloon']({source:_0x5a9dc6,withBackButton:_0x79fcac}){this['_resourcesBalloonView']['showSourceResourcesBalloon']({'source':_0x5a9dc6,'withBackButton':_0x79fcac}),this['addContextButtonView']['isOn']=!0x0;}['populateSourceResourceBalloon'](_0x525a45,_0x31cac3,_0x491f44,_0x1cdef2){this['_resourcesBalloonView']['populateSourceResourceBalloon'](_0x525a45,_0x491f44,_0x1cdef2);}['closeSourceResourceBalloon'](_0x12a0fe){this['_resourcesBalloonView']['closeSourceResourceBalloon'](_0x12a0fe),this['addContextButtonView']['isOn']=!0x1;}['setAddContextOptions'](_0x595d28){this['_setBalloonPanelContent'](this['_addContextBalloonPanelView'],this['locale'],_0x595d28),this['_setAddContextButtonEnabled'](_0x595d28);}['_setAddContextButtonEnabled'](_0x2d75ef){const _0x386c6b=!_0x2d75ef['document']['isHidden']&&_0x2d75ef['document']['enabled'],_0x301dd2=_0x2d75ef['urls']['enabled'],_0x51c991=_0x2d75ef['files']['enabled'],_0xebd8db=_0x2d75ef['sources']['length']>0x0,_0x17c4b9=_0x2d75ef['customItems']&&_0x2d75ef['customItems']['length']>0x0;this['addContextButtonView']['isEnabled']=_0x386c6b||_0x301dd2||_0x51c991||_0xebd8db||_0x17c4b9;}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':[_0x57e267,'ck-reset_all-excluded']},'children':[{'tag':'div','attributes':{'class':_0x53cfc1},'children':this['_currentContextsChips']}]});}['_bindEventHandlers'](){this['addContextButtonView']['on']('execute',()=>{this['_handleAddContextButtonClick']();});}['_createAddContextButtonView'](_0x1b1686){const _0x4b54e1=new _0x5f37cd['ButtonView'](_0x1b1686);return _0x4b54e1['set']({'label':Qt(_0x1b1686,'AI_CHAT_CONTEXT_ADD_CONTEXT'),'class':_0x38e2b0+'\x20'+_0x2282f5+'\x20'+Bt,'icon':_0x5f37cd['IconPaperClip'],'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x4b54e1;}['_createAddContextBalloonPanelView'](_0x3c6018){return this['_createBaseBalloonPanel'](_0x3c6018,_0x2f7235);}['_createUrlBalloonPanelView'](_0x19668f){const _0x33c448=this['_createBaseBalloonPanel'](_0x19668f,_0xff23ae);return this['_addUrlContent'](_0x33c448,_0x19668f),_0x33c448;}['_createResourcesBalloonView'](_0x4cf622,_0x193ac1){const _0x34d1d9={'searchInputVisibleFrom':_0x193ac1['searchInputVisibleFrom'],'onBackToContext':()=>{this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x3ed304});},'onResourceSelected':(_0x1d96b7,_0x326b19)=>{this['fire']('addResourceToContext',{'source':_0x1d96b7,'resource':_0x326b19});},'onLoadSourceResources':_0x2ec35d=>{this['fire']('loadSourceResources',_0x2ec35d);},'onBalloonClosed':()=>{this['addContextButtonView']['isOn']=!0x1;},'getLimiterElement':()=>this['_getLimiterElement'](),'getTargetElement':()=>this['addContextButtonView']['element']};return new AIChatResourcesBalloonView(_0x4cf622,_0x193ac1['bodyCollection'],_0x34d1d9);}['_getLimiterElement'](){return this['element']?.['closest']('.'+_0x5ee638)||document['body'];}['_createBaseBalloonPanel'](_0x4efc67,_0x15ad47){const _0x4c4c7=new _0x5f37cd['BalloonPanelView'](_0x4efc67);return _0x4c4c7['extendTemplate']({'attributes':{'class':_0x15ad47}}),this['bodyCollection']['add'](_0x4c4c7),_0x4c4c7;}['_setBalloonPanelContent'](_0x313218,_0x554755,_0x4dc626){if(_0x313218['content']['clear'](),!_0x4dc626['document']['isHidden']&&_0x4dc626['document']['enabled']){const _0x3a7063=this['_createBalloonButton'](_0x554755,{'label':Qt(_0x554755,'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'),'icon':_0x5f37cd['IconDocument']});_0x3a7063['on']('execute',()=>{this['fire']('addDocumentToContext'),this['hideAddContextBalloonPanel']();}),_0x313218['content']['add'](_0x3a7063);}if(_0x4dc626['urls']['enabled']){const _0x5cef2a=this['_createBalloonButton'](_0x554755,{'label':Qt(_0x554755,'AI_CHAT_CONTEXT_URL_LABEL'),'icon':_0x5f37cd['IconLink']});_0x5cef2a['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['showUrlBalloonPanel'](),this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x3ed304}),this['_urlInputView']['focus']();}),_0x313218['content']['add'](_0x5cef2a);}if(_0x4dc626['files']['enabled']){const _0x293627=new _0x5f37cd['FileDialogButtonView'](_0x554755);_0x293627['set']({'label':Qt(_0x554755,'AI_CHAT_CONTEXT_FILE_LABEL'),'icon':_0x5f37cd['IconBrowseFiles'],'withText':!0x0,'tooltip':!0x0,'class':_0x3b6cc5,'allowMultipleFiles':!0x0}),_0x293627['on']('execute',()=>{this['hideAddContextBalloonPanel']();}),_0x293627['on']('done',(_0x11536c,_0x2da310)=>{this['fire']('addFileToContext',_0x2da310);}),_0x293627['tooltip']=!0x0,_0x313218['content']['add'](_0x293627);}for(const _0x177abc of _0x4dc626['sources']){const _0x193970=this['_createBalloonButton'](_0x554755,{'label':_0x177abc['label'],'icon':_0x177abc['icon']||_0x5f37cd['IconDocumentOutline'],'type':'source'});_0x313218['content']['add'](_0x193970),_0x193970['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['_showSourceResourcesBalloon']({'source':_0x177abc,'withBackButton':!this['_hasExactlyOneSource']});});}for(const _0x14f7be of _0x4dc626['customItems']||[]){const _0x1bb444=this['_createBalloonButton'](_0x554755,{'label':_0x14f7be['label'],'icon':_0x14f7be['icon']||_0x5f37cd['IconDocumentOutline'],'type':'customItem'});_0x313218['content']['add'](_0x1bb444),_0x1bb444['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['fire']('executeCustomItemCallback',_0x14f7be);});}this['_hasExactlyOneSource']=0x1===_0x313218['content']['length'],this['_urlInputView']['withBackButton']=!this['_hasExactlyOneSource'];}['_addUrlContent'](_0x216559,_0x9f2ce0){this['_urlInputView']=new AIChatContextPanelUrlInputView(_0x9f2ce0),this['_urlInputView']['on']('submitUrl',(_0x2ef279,_0x22362e)=>{this['_handleUrlSubmit'](_0x22362e);}),this['_urlInputView']['on']('cancel',()=>{this['hideUrlBalloonPanel'](),this['_hasExactlyOneSource']||(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x3ed304}));}),this['_urlInputView']['on']('refreshBalloon',()=>{this['_urlBalloonPanelView']['isVisible']&&this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x3ed304});}),_0x216559['content']['add'](this['_urlInputView']);}['_createBalloonButton'](_0x4563d8,_0x3d043d){const _0x122722='source'===_0x3d043d['type']?new SourcesBalloonButtonView(_0x4563d8):new _0x5f37cd['ButtonView'](_0x4563d8);return _0x122722['set']({'label':_0x3d043d['label'],'icon':_0x3d043d['icon'],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3b6cc5}),_0x122722;}['_setupAllBalloonClickOutsideHandlers'](){this['_setupAddContextBalloonClickOutsideHandler'](),this['_setupUrlBalloonClickOutsideHandler']();}['_setupUrlBalloonClickOutsideHandler'](){_0x5f37cd['clickOutsideHandler']({'emitter':this['_urlBalloonPanelView'],'contextElements':[this['_urlBalloonPanelView']['element']],'callback':()=>{this['hideUrlBalloonPanel']();},'activator':()=>this['_urlBalloonPanelView']['isVisible']});}['_toggleAddContextBalloon'](_0x53d4a1){const _0x36e30c=this['_addContextBalloonConfig'];_0x36e30c['buttonView']['isOn']=_0x53d4a1,_0x53d4a1?_0x36e30c['balloonView']['show']():_0x36e30c['balloonView']['hide']();}['_setupAddContextBalloonClickOutsideHandler'](){const {balloonView:_0x5ef820,buttonView:_0x4a5516,hideMethod:_0x1a5332}=this['_addContextBalloonConfig'];_0x5f37cd['clickOutsideHandler']({'emitter':_0x5ef820,'contextElements':[_0x5ef820['element'],_0x4a5516['element']],'callback':()=>{_0x1a5332();},'activator':()=>_0x4a5516['isOn']&&!this['_urlBalloonPanelView']['isVisible']&&!this['_resourcesBalloonView']['isAnyResourceBalloonVisible']()});}['_createContextButton'](_0x495bdb,_0x5a4c45,_0x1f2ffd=!0x1,_0x216724=!0x1){const _0x2555da='conversation'===_0x5a4c45||!0x0===_0x495bdb['isReadOnly'],_0x53eb6d=new AIChatContextItemButtonView(this['locale'],_0x495bdb,_0x2555da,_0x1f2ffd,_0x216724);return _0x2555da||_0x53eb6d['on']('removeContextItemChip',()=>{this['fire']('removeContextItem',_0x53eb6d['id']);}),_0x53eb6d;}['_addContextToCollection'](_0x3a59bc,_0x4196e3){_0x4196e3['add'](_0x3a59bc,0x0);}['_removeContextFromCollection'](_0x547234,_0x309286){const _0x431638=_0x309286['find'](_0x876a9d=>_0x876a9d['id']===_0x547234);_0x431638&&_0x309286['remove'](_0x431638);}['_handleAddContextButtonClick'](){this['addContextButtonView']['isOn']?this['hideAddContextBalloonPanel']():(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x3ed304}),this['_hasExactlyOneSource']&&this['_addContextBalloonPanelView']['content']['get'](0x0)?.['fire']('execute'));}['_handleUrlSubmit'](_0x47e053){this['_urlInputView']['clear'](),this['hideUrlBalloonPanel'](),this['fire']('addUrlToContext',_0x47e053);}}class SourcesBalloonButtonView extends _0x5f37cd['ButtonView']{['arrowView'];constructor(_0xe4089e){super(_0xe4089e),this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':[_0x280067]}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0xf04d34=new _0x5f37cd['IconView']();return _0xf04d34['content']=_0x5f37cd['IconDropdownArrow'],_0xf04d34['extendTemplate']({'attributes':{'class':_0x280067+'__arrow'}}),_0xf04d34;}}class AIChatControlsLoaderView extends _0x5f37cd['View']{['_cancelButtonView'];['_loaderView'];constructor(_0x3c2b68){super(_0x3c2b68),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 _0x58ebe5=new _0x5f37cd['ButtonView'](this['locale']);return _0x58ebe5['set']({'label':Qt(this['locale'],'AI_CHAT_STOP_GENERATING'),'withText':!0x0,'class':Ut+'\x20ck-ai-button-stop-generating','icon':_0x5f37cd['IconStop']}),_0x58ebe5['on']('execute',()=>{this['fire']('abortPromptStream');}),_0x58ebe5;}['_createLoaderView'](){const _0x1e3444=new _0x5f37cd['View'](this['locale']);return _0x1e3444['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')}]}),_0x1e3444;}}class AIChatControlsView extends _0x5f37cd['View']{['_contextPanelView'];['_promptInputView'];['_dropZoneView'];['_promptCapabilitiesView'];['_loaderView'];['_modelUnavailableMessageView'];['_shouldRestorePromptInputFocus'];['_filesEnabled'];constructor(_0xd8718e,_0x572658){super(_0xd8718e),this['_filesEnabled']=_0x572658['filesEnabled'],this['_contextPanelView']=this['_createContextPanelView'](_0xd8718e,{'bodyCollection':_0x572658['bodyCollection'],'searchInputVisibleFrom':_0x572658['contextResourcesSearchInputVisibleFrom']}),this['_promptInputView']=this['_createPromptInputView'](_0xd8718e),this['_promptCapabilitiesView']=this['_createPromptCapabilitiesView'](_0xd8718e),this['_loaderView']=this['_createLoaderView'](_0xd8718e),this['_modelUnavailableMessageView']=this['_createModelUnavailableMessageView'](_0xd8718e),this['_dropZoneView']=new AIChatDropZoneView(_0xd8718e),this['_shouldRestorePromptInputFocus']=!0x1,this['_promptInputView']['delegate']('sendUserMessage','promptInputPaste')['to'](this),this['_dropZoneView']['delegate']('promptInputPaste')['to'](this),this['_dropZoneView']['on']('dragEnter',()=>this['_contextPanelView']['hideAllBalloons']()),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'](..._0x47cd3d)['to'](this),this['set']('isModelAvailable',!0x0),this['set']('isDisabled',!0x1);const _0x90fddd=this['bindTemplate'];this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-ai-chat-controls',_0x90fddd['if']('isDisabled','ck-ai-chat-controls-disabled')]},'children':[{'tag':'div','attributes':{'class':[_0x90fddd['if']('isLoading','ck-hidden',_0xe5fc0a=>_0xe5fc0a||!this['isModelAvailable']),_0x90fddd['if']('isModelAvailable','ck-hidden',_0x5c8bef=>!_0x5c8bef||this['isLoading'])]},'children':[this['_contextPanelView'],this['_promptInputView'],this['_promptCapabilitiesView']]},{'tag':'div','attributes':{'class':[_0x90fddd['if']('isLoading','ck-hidden',_0x58cb6f=>!_0x58cb6f)]},'children':[this['_loaderView']]},{'tag':'div','attributes':{'class':[_0x90fddd['if']('isModelAvailable','ck-hidden',_0x34a922=>_0x34a922)]},'children':[this['_modelUnavailableMessageView']]},this['_dropZoneView']]}),_0x5f37cd['clickOutsideHandler']({'emitter':this['_promptInputView'],'activator':()=>this['isLoading'],'contextElements':()=>[this['element']],'callback':()=>{this['_shouldRestorePromptInputFocus']=!0x1;}}),this['on']('change:isLoading',this['_handlePromptInputFocus'],{'priority':'low'});}['render'](){super['render'](),this['_filesEnabled']&&this['_dropZoneView']['attach'](this['element']);}['_createContextPanelView'](_0x3d3c01,_0xa16539){return new AIChatContextPanelView(_0x3d3c01,_0xa16539);}['_createPromptInputView'](_0x53e952){return new AIChatPromptInputView(_0x53e952,this['_contextPanelView']['addContextButtonView']);}['_createPromptCapabilitiesView'](_0x5b4823){return new AIChatPromptCapabilitiesView(_0x5b4823);}['_createLoaderView'](_0x510e67){return new AIChatControlsLoaderView(_0x510e67);}['_createModelUnavailableMessageView'](_0x9a9ab3){const _0x206def=new AIChatModelUnavailableMessageView(_0x9a9ab3);return _0x206def['delegate']('startConversation')['to'](this),_0x206def;}['_handlePromptInputFocus'](_0x3e6b5f,_0x5edab3,_0x3bfd9){_0x3bfd9?this['_shouldRestorePromptInputFocus']=!0x0:this['_shouldRestorePromptInputFocus']&&this['_promptInputView']['focus']();}['addContextItem'](_0x16372b,_0x397ca4){this['_contextPanelView']['addContextItem'](_0x16372b,_0x397ca4);}['removeContextItem'](_0x31f670){this['_contextPanelView']['removeContextItem'](_0x31f670);}['setContextItemLoading'](_0x3bb691,_0x35d80b){this['_contextPanelView']['setContextItemLoading'](_0x3bb691,_0x35d80b);}['setIsUploadInProgress'](_0xc8a7f5){this['_promptInputView']['setIsUploadInProgress'](_0xc8a7f5);}['setConversationContext'](_0x3dc8f2){this['_contextPanelView']['setConversationContext'](_0x3dc8f2);}['clearPendingContextUI'](){this['_contextPanelView']['clearCurrentContextItems']();}['clearConversationContextUI'](){this['_contextPanelView']['clearConversationContextItems']();}['updateResourceState'](_0x52c375,_0x2925da,_0x4ce9e3){this['_contextPanelView']['updateResourceState'](_0x52c375,_0x2925da,_0x4ce9e3);}['setWebSearch'](_0x29fd69){this['_promptCapabilitiesView']['setWebSearch'](_0x29fd69);}['setReasoning'](_0x30856e){this['_promptCapabilitiesView']['setReasoning'](_0x30856e);}['resetMessageInput'](){this['_promptInputView']['reset']();}['setAddContextOptions'](_0x279505){this['_contextPanelView']['setAddContextOptions'](_0x279505);}['setInputPlaceholder'](_0x2ec59c){this['_promptInputView']['setPlaceholderText'](_0x2ec59c);}['setModelList'](_0x4108be,_0xc99181){this['_promptCapabilitiesView']['setModelList'](_0x4108be,_0xc99181);}['setModel'](_0x530d38){_0x530d38?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](_0x530d38)):this['isModelAvailable']=!0x1;}['enableModelSelector'](){this['_promptCapabilitiesView']['enableModelSelector']();}['disableModelSelector'](_0xd50cef){this['_promptCapabilitiesView']['disableModelSelector'](_0xd50cef);}['populateSourceResourceBalloon'](_0x56d087,_0x499ca8,_0x42a0ac,_0x1ef1d0){this['_contextPanelView']['populateSourceResourceBalloon'](_0x56d087,_0x499ca8,_0x42a0ac,_0x1ef1d0);}['closeSourceResourceBalloon'](_0x5741b3){this['_contextPanelView']['closeSourceResourceBalloon'](_0x5741b3);}['focusPromptInput'](_0x5b5bf5=!0x1){this['_promptInputView']['focus'](_0x5b5bf5);}['setPromptInputValue'](_0xde63bf){this['_promptInputView']['queryView']['fieldView']['reset'](),this['_promptInputView']['queryView']['fieldView']['value']=_0xde63bf;}}class AIChatModelUnavailableMessageView extends _0x5f37cd['View']{constructor(_0x10b2c3){super(_0x10b2c3);const _0x389b33=new _0x5f37cd['ButtonView'](_0x10b2c3);_0x389b33['set']({'label':Qt(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON'),'withText':!0x0,'class':['ck-ai-chat-controls__start-new-chat-button'],'tooltip':''}),_0x389b33['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'},_0x389b33]}]});}}class _0x9094f7 extends _0x5f37cd['FormHeaderView']{['resizeButton'];constructor(_0x4ceffd,_0x553109){super(_0x4ceffd,{'label':_0x553109['label'],'class':'ck-ai-header\x20'+_0x553109['class'],'icon':_0x553109['icon']}),this['set']('isMaximized',!0x1),_0x553109['content']&&this['children']['add'](_0x553109['content']),_0x553109['showResizeButton']&&(this['resizeButton']=Ft(_0x4ceffd,this),this['children']['add'](this['resizeButton']));}}class _0x41e6f1 extends _0x5f37cd['View']{constructor(_0x39eea7){super(_0x39eea7),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-disclaimer__content']},'children':[{'text':Qt(_0x39eea7,'AI_DISCLAIMER_TEXT')}]}]});}}function _0x260284(_0x238ee0,_0x2fcef3){const _0x5e86ff=new _0x5f37cd['ButtonView'](_0x238ee0);return _0x5e86ff['set']({'label':Qt(_0x238ee0,'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':_0x5f37cd['IconPlus'],'class':'ck-ai-chat__start-conversation\x20'+Ut}),_0x5e86ff['on']('execute',()=>{_0x2fcef3['fire']('startConversation');}),_0x5e86ff;}class AIChatView extends _0x5f37cd['View']{['chatHeader'];['chatFeed'];['chatControls'];['chatDisclaimer'];['_bodyCollection'];constructor(_0x5ef0a5,_0x2f1e49){super(_0x5ef0a5),this['_bodyCollection']=new _0x5f37cd['BodyCollection'](_0x5ef0a5),this['_bodyCollection']['attachToDom']();const _0x56fd77=_0x260284(_0x5ef0a5,this);this['chatHeader']=new _0x9094f7(_0x5ef0a5,{'label':Qt(_0x5ef0a5,'AI_CHAT_HEADING'),'icon':_0x5f37cd['IconAIChat'],'class':'ck-ai-header_chat','content':_0x56fd77,'showResizeButton':_0x2f1e49['showResizeButton']}),this['chatHeader']['delegate']('resizeTabs')['to'](this),this['chatFeed']=new AIChatFeedView(_0x5ef0a5,this['_bodyCollection']),this['chatFeed']['delegate'](..._0x24fdf8)['to'](this),this['chatControls']=new AIChatControlsView(_0x5ef0a5,{'bodyCollection':this['_bodyCollection'],'contextResourcesSearchInputVisibleFrom':_0x2f1e49['contextResourcesSearchInputVisibleFrom'],'filesEnabled':_0x2f1e49['filesEnabled']}),this['chatControls']['delegate'](..._0x24fdf8)['to'](this),this['chatDisclaimer']=new _0x41e6f1(_0x5ef0a5),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat','ck-rounded-corners'],'dir':_0x5ef0a5['uiLanguageDirection']},'children':[this['chatHeader'],this['chatFeed'],this['chatControls'],this['chatDisclaimer']]});}['populateSourceResourceBalloon'](_0x2968cc,_0x417f5a,_0x2466a5,_0x297be8){this['chatControls']['populateSourceResourceBalloon'](_0x2968cc,_0x417f5a,_0x2466a5,_0x297be8);}['closeSourceResourceBalloon'](_0x16f633){this['chatControls']['closeSourceResourceBalloon'](_0x16f633);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}}class AIChatUI extends _0x5f37cd['ContextPlugin']{static get['requires'](){return[_0x3df542];}['_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(_0x58e94b){super(_0x58e94b);const _0x5d7e24=this['context']['plugins']['get']('AITabs');this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x3376aa(),this['_view']=new AIChatView(this['context']['locale'],{'showResizeButton':_0x5d7e24['showResizeButton'],'contextResourcesSearchInputVisibleFrom':this['context']['config']['get']('ai.chat.context.searchInputVisibleFrom'),'filesEnabled':!0x1!==this['context']['config']['get']('ai.chat.context.files.enabled')}),this['_view']['delegate']('resizeTabs')['to'](_0x5d7e24),this['_view']['delegate'](..._0x24fdf8)['to'](this),this['_view']['on']('toggleSuggestionDisplayMode',(_0x106f1e,{showDiff:_0x4d6430})=>{this['showDiff']=_0x4d6430;}),this['disableControls'](),_0x5d7e24['view']['addTab']({'id':'chat','buttonLabel':Qt(this['context']['locale'],'AI_CHAT_HEADING'),'buttonIcon':_0x5f37cd['IconAIChat'],'order':0x0,'content':this['_view']}),this['_view']['chatHeader']['bind']('isMaximized')['to'](_0x5d7e24['view'],'isMaximized',_0x193ffc=>_0x193ffc),this['_view']['chatControls']['bind']('isLoading')['to'](this,'isBusy',_0x6429f6=>_0x6429f6),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']()),this['bind']('isModelAvailable')['to'](this['_view']['chatControls'],'isModelAvailable');}['destroy'](){super['destroy'](),this['_titleAnimationInterval']&&clearInterval(this['_titleAnimationInterval']);}['createConversation'](_0x8c0c74){const _0x2e19cc=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'](_0x8c0c74['availableModels'],!this['context']['config']['get']('ai.models.showModelSelector')),this['addFeedItemStaticMessage']({'id':'conversation-start','staticMessage':_0x2e19cc}),this['fire']('conversationCreated');}async['addFeedItemStaticMessage']({id:_0x342189,staticMessage:_0x46b0c5}){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x342189,'initialContent':'<p>'+_0x46b0c5+'</p>'});});}async['addFeedItemUserMessage'](_0x43551b){const _0x35cb35=_0x43551b['attributes']?.['displayedPrompt']||_0x43551b['userMessage'];return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('user-message',{'contextItems':Array['from'](_0x43551b['contextItems']['values']()),'initialContent':'<p>'+_0x35cb35+'</p>','id':_0x43551b['id']});});}async['addFeedItemError']({errorMessage:_0x2f7429,id:_0x212563}){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('error-message',{'initialContent':'<p>'+_0x2f7429+'</p>','id':_0x212563});});}async['addFeedItemAIReply'](_0x121827){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x121827['interactionId']+':'+_0x121827['id']}),this['clearLoadingMessage']();});}async['addFeedItemAISuggestion'](_0x1bb2cc){const _0x3c0399=_0x1f8c08(this['context']),_0x3b6544=_0x3c0399['map'](_0x58cf24=>_0x58cf24['config']['get']('ai.availableReplyActions')||[..._0x42c794]);let _0x270d14=_0x3b6544['reduce']((_0x241aff,_0x1deadd)=>_0x241aff['filter'](_0x434b67=>_0x1deadd['includes'](_0x434b67)),_0x3b6544[0x0]||[..._0x42c794]);const _0x48cae2=_0x3c0399['every'](_0x4e798d=>_0x4e798d['plugins']['has']('TrackChanges')),_0x5aad4b=_0x3c0399['map'](_0x2b4829=>_0x2b4829['commands']['get']('trackChanges'));return _0x48cae2?this['_isTrackChangesCommandValueBound']||(this['_isTrackChangesCommandValueBound']=!0x0,this['_view']['chatFeed']['bind']('isTrackChangesOn')['toMany'](_0x5aad4b,'value',(..._0x4bf337)=>_0x4bf337['some'](_0x413608=>_0x413608))):_0x270d14=_0x270d14['filter'](_0x4e754f=>'insertSuggestion'!=_0x4e754f),this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-suggestion-reply',{'id':_0x1bb2cc['interactionId']+':'+_0x1bb2cc['id'],'areActionsDisabled':_0x1bb2cc['areActionsDisabled'],'showDiff':this['showDiff'],'availableActions':_0x270d14}),this['clearLoadingMessage']();});}async['addFeedInteractionHeader'](_0x5b94ce,_0x155b67){return this['_promiseQueue']['enqueue'](async()=>{const _0x539e2a=this['_view']['chatFeed']['children']['last'];if(_0x539e2a instanceof AIChatFeedInteractionHeaderView)return this['_view']['chatFeed']['children']['remove'](_0x539e2a),void this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x5b94ce['id'],'capabilities':{'isWebSearchEnabled':_0x539e2a['capabilities']['isWebSearchEnabled']||_0x155b67['isWebSearchEnabled'],'isReasoningEnabled':_0x539e2a['capabilities']['isReasoningEnabled']||_0x155b67['isReasoningEnabled']}});this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x5b94ce['id'],'capabilities':_0x155b67});});}async['addFeedItemCustomElement'](_0x2b0cfc,_0x21c5a1){let _0x54ccc7;return await this['_promiseQueue']['enqueue'](async()=>{_0x54ccc7=this['_view']['chatFeed']['addItem']('custom-element',{'content':_0x2b0cfc,'id':_0x21c5a1});}),_0x54ccc7;}['removeFeedItem'](_0x3aa1a2){this['_view']['chatFeed']['removeItem'](_0x3aa1a2);}['hasFeedItem'](_0x17d7e2){return this['_view']['chatFeed']['hasItem'](_0x17d7e2);}['updateFeedInteractionHeader'](_0x184f9d){const _0x587c81=this['_view']['chatFeed']['children']['find'](_0x4b2c39=>_0x4b2c39['options']['id']==_0x184f9d['id']&&_0x4b2c39 instanceof AIChatFeedInteractionHeaderView);_0x587c81&&_0x587c81['set']('isVisible',_0x184f9d['isVisible']);}async['updateFeedItemAIReplyContent'](_0x2b8359){const _0x3406da=_0x2b8359['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x247cb7=>{await this['_view']['chatFeed']['updateReplyItem']({..._0x2b8359,'abortSignal':_0x247cb7,'renderingStrategy':_0x3406da}),_0x2b8359['isDone']&&this['markFeedItemAsDone'](_0x2b8359['id']);});}['updateFeedItemAIReplySources'](_0x565417,_0x5c5984){this['_view']['chatFeed']['updateWebSources'](_0x565417,_0x5c5984);}async['updateFeedItemAIReplySuggestionContent'](_0x40f38f){return this['_promiseQueue']['enqueue'](async _0x3e3122=>{await this['_view']['chatFeed']['updateSuggestionItem']({..._0x40f38f,'abortSignal':_0x3e3122}),_0x40f38f['isDone']&&this['markFeedItemAsDone'](_0x40f38f['id']);});}['updateFeedItemAIReplySuggestionPartState'](_0x38dfcf){this['_view']['chatFeed']['updateSuggestionPartState'](_0x38dfcf);}['setFeedItemAIReplySuggestionPartActive'](_0x52b414){this['_view']['chatFeed']['setSuggestionPartActive'](_0x52b414);}['markFeedItemAsDone'](_0x1a0e1b){this['_view']['chatFeed']['markItemAsDone'](_0x1a0e1b);}['removeFeedInteraction'](_0x3614af){this['_view']['chatFeed']['getItemIds']()['filter'](_0x112979=>_0x112979['startsWith'](_0x3614af))['forEach'](_0x1c1b82=>this['_view']['chatFeed']['removeItem'](_0x1c1b82));}['startInteraction'](){const _0x1ec045=this['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1});this['setLoadingMessage'](_0x1ec045),this['_view']['chatControls']['disableModelSelector'](!this['context']['config']['get']('ai.models.showModelSelector')),this['isBusy']=!0x0,this['_view']['chatFeed']['startAutoScroll']();}['stopInteraction'](_0x20e523){this['_promiseQueue']['abort'](),this['_view']['chatFeed']['getItemIds']()['filter'](_0x417581=>_0x417581['startsWith'](_0x20e523['id']))['forEach'](_0x48cb8f=>this['markFeedItemAsDone'](_0x48cb8f)),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'](_0x20b4ac,_0x565cfc){this['_view']['chatControls']['addContextItem'](_0x20b4ac,_0x565cfc);}['removeContextItem'](_0x28749d){this['_view']['chatControls']['removeContextItem'](_0x28749d);}['setContextItemLoading'](_0xaf67ba,_0x11617f){this['_view']['chatControls']['setContextItemLoading'](_0xaf67ba,_0x11617f);}['setIsUploadInProgress'](_0x326381){this['_view']['chatControls']['setIsUploadInProgress'](_0x326381);}['setConversationContext'](_0x4ad25d){this['_view']['chatControls']['setConversationContext'](_0x4ad25d);}['clearPendingContextUI'](){this['_view']['chatControls']['clearPendingContextUI']();}['clearConversationContextUI'](){this['_view']['chatControls']['clearConversationContextUI']();}['updateResourceState'](_0x337485,_0x4914bf,_0x289677){this['_view']['chatControls']['updateResourceState'](_0x337485,_0x4914bf,_0x289677);}['resetMessageInput'](){this['_view']['chatControls']['resetMessageInput'](),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']());}['setAddContextOptions'](_0xa92066){this['_view']['chatControls']['setAddContextOptions'](_0xa92066);}['updateCapabilities'](_0x4c23b3){this['_view']['chatControls']['setWebSearch'](_0x4c23b3['isWebSearchEnabled']),this['_view']['chatControls']['setReasoning'](_0x4c23b3['isReasoningEnabled']),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder'](_0x4c23b3));}['setSelectedModel'](_0x27d953,_0x34a688){this['_view']['chatControls']['setModel'](_0x27d953),_0x34a688&&this['_view']['chatControls']['disableModelSelector'](!0x1);}['setFeedItemRenderingStrategy'](_0x3d76c5){this['feedItemRenderingStrategy']=_0x3d76c5;}['toggleLoadingSkeleton'](_0x4a501b){this['_view']['chatFeed']['toggleLoadingSkeleton'](_0x4a501b);}['resetConversationTitle'](){this['setConversationTitle'](Qt(this['context']['locale'],'AI_CHAT_HEADING'));}['setConversationTitle'](_0x22c083,_0x518408=!0x1){if(_0x518408&&!_0x5f37cd['_isMotionReduced']()&&_0x22c083['length'])return this['_view']['chatHeader']['label']='',void this['_animateConversationTitle'](_0x22c083);this['_view']['chatHeader']['label']=_0x22c083;}['setLoadingMessage'](_0x312144){this['_view']['chatFeed']['setLoadingMessage'](_0x312144);}['clearLoadingMessage'](){this['_view']['chatFeed']['setLoadingMessage']('');}['_animateConversationTitle'](_0x5cfded){let _0x20d728=0x0;clearInterval(this['_titleAnimationInterval']),this['_titleAnimationInterval']=setInterval(()=>{this['_view']['chatHeader']['label']=this['_view']['chatHeader']['label']+_0x5cfded[_0x20d728],_0x20d728++,_0x20d728===_0x5cfded['length']&&clearInterval(this['_titleAnimationInterval']);},0x1e);}['prepareLoadingMessage'](_0x544b9d){return _0x544b9d['isWebSearchEnabled']&&_0x544b9d['isReasoningEnabled']?Qt(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING'):_0x544b9d['isWebSearchEnabled']?Qt(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH'):_0x544b9d['isReasoningEnabled']?Qt(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REASONING'):Qt(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR');}['_getInputPlaceholder'](_0x1309ea){return _0x1309ea?_0x1309ea['isWebSearchEnabled']&&_0x1309ea['isReasoningEnabled']?Qt(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING'):_0x1309ea['isWebSearchEnabled']?Qt(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH'):_0x1309ea['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'](_0x5649be,_0x13d6ab,_0x4a6c6b,_0x50a12c){this['_view']['populateSourceResourceBalloon'](_0x5649be,_0x13d6ab,_0x4a6c6b,_0x50a12c);}['closeSourceResourceBalloon'](_0x16da2c){this['_view']['closeSourceResourceBalloon'](_0x16da2c);}['setPromptInputValue'](_0x59d6ae){this['_view']['chatControls']['setPromptInputValue'](_0x59d6ae);}['focusPromptInput'](_0x95b652=!0x1){this['_view']['chatControls']['focusPromptInput'](_0x95b652);}['scrollFeedToSuggestion'](_0x183db4,_0x5d89d6){this['_view']['chatFeed']['scrollToSuggestion'](_0x183db4,_0x5d89d6);}['startAutoScroll'](_0x1f04e5={}){this['_view']['chatFeed']['startAutoScroll'](_0x1f04e5);}['disableControls'](){this['_view']['chatControls']['isDisabled']=!0x0;}['enableControls'](){this['_view']['chatControls']['isDisabled']=!0x1;}}class AIChatHistorySectionListView extends _0x5f37cd['ListView']{['sections'];constructor(_0xdd58b,_0x1f7bcc){super(_0xdd58b),this['sections']=_0x1f7bcc,this['items']['addMany'](this['sections']),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__sections']}});}['filter'](_0x252111){let _0x45c8e9=0x0,_0x4d7985=0x0;for(const _0x5d4994 of this['sections']){const {resultsCount:_0x4f4bd6,totalItemsCount:_0x330b34}=_0x5d4994['filter'](_0x252111);_0x45c8e9+=_0x4f4bd6,_0x4d7985+=_0x330b34;}return{'resultsCount':_0x45c8e9,'totalItemsCount':_0x4d7985};}}class AIChatHistoryListView extends _0x5f37cd['ListItemView']{['title'];['itemsViews'];['_itemsListView'];constructor(_0x26eaa8,{title:_0x46f024,items:_0x71c7f7}){super(_0x26eaa8);const _0x584c89=this['bindTemplate'];this['set']('isVisible',!0x0),this['title']=_0x46f024,this['itemsViews']=_0x71c7f7;const _0x5466e4=new _0x5f37cd['View'](_0x26eaa8);_0x5466e4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__section-title']},'children':[this['title']]}),this['_itemsListView']=new _0x5f37cd['ListView'](_0x26eaa8),this['_itemsListView']['items']['addMany'](this['itemsViews']),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__section',_0x584c89['if']('isVisible','ck-hidden',_0x1ba128=>!_0x1ba128)]},'children':[_0x5466e4,this['_itemsListView']]});}['filter'](_0x58f98c){const _0x198dc9=this['itemsViews']['length'];let _0x195fa4=0x0;for(const _0x33efae of this['itemsViews']){if(_0x58f98c){const _0x5726bd=_0x33efae['isMatching'](_0x58f98c);_0x33efae['isVisible']=!!_0x5726bd,_0x33efae['highlightText'](_0x58f98c);}else _0x33efae['isVisible']=!0x0,_0x33efae['highlightText'](null);_0x33efae['isVisible']&&_0x195fa4++;}return this['isVisible']=_0x195fa4>0x0,{'resultsCount':_0x195fa4,'totalItemsCount':_0x198dc9};}['getItem'](_0x3e69d6){return this['itemsViews']['find'](_0x22e3d5=>_0x22e3d5['id']===_0x3e69d6);}['removeItem'](_0x223b0d){const _0x3dcaf0=this['itemsViews']['indexOf'](_0x223b0d);-0x1!==_0x3dcaf0&&(this['itemsViews']['splice'](_0x3dcaf0,0x1),this['_itemsListView']['items']['remove'](_0x223b0d));}}class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
_0x115c46(_0x5f37cd['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(_0x229dfc,_0x59e275){super(_0x229dfc);const _0x2ca6d1=this['bindTemplate'];this['set']('isEdit',!0x1),this['set']('isVisible',!0x0),this['set']('pinned',!!_0x59e275['pinned']),this['set']('loadingState',null),this['set']('title',_0x59e275['title']),this['id']=_0x59e275['id'];const {createdAt:_0x40b4d7,active:_0x4041c5=!0x1}=_0x59e275;this['_titleView']=new _0x5f37cd['HighlightedTextView'](),this['_titleView']['bind']('text')['to'](this,'title'),this['_titleView']['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__item-title']}});const _0x31a9d8=this['_createCheckView'](),_0x5da127=this['_createPinButtonView'](_0x229dfc),_0x58d86f=this['_createMenuDropdownView'](),_0x47bf63=this['_createEditInputView'](_0x229dfc),_0x4efcc5=this['_createAcceptEditButtonView'](_0x229dfc,_0x47bf63),_0x89b8ce=this['_createCancelEditButtonView'](_0x229dfc);this['actions']=this['createCollection'](),this['mainContent']=this['createCollection'](),this['mainContent']['add'](this['_titleView']),this['actions']['add'](_0x5da127),this['actions']['add'](_0x58d86f),this['on']('change:isEdit',(_0x3da5b0,_0x3da200,_0x128f91)=>{this['actions']['clear'](),this['mainContent']['clear'](),_0x128f91?(this['actions']['add'](_0x4efcc5),this['actions']['add'](_0x89b8ce),this['mainContent']['add'](_0x47bf63),_0x47bf63['element']['value']=this['title']||'',_0x47bf63['element']['focus']()):(this['actions']['add'](_0x5da127),this['actions']['add'](_0x58d86f),this['mainContent']['add'](this['_titleView']));}),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__item',_0x4041c5?'ck-ai-chat-history__item--active':'',_0x2ca6d1['if']('isVisible','ck-hidden',_0x15b2f4=>!_0x15b2f4),_0x2ca6d1['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',_0x2ca6d1['if']('loadingState','ck-hidden',_0x5ce3e3=>!!_0x5ce3e3)]},'children':_0x4041c5?[_0x31a9d8]:[]},{'tag':'div','attributes':{'class':['ck-ai-loader',_0x2ca6d1['if']('loadingState','ck-hidden',_0x1b38af=>!_0x1b38af)]},'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',_0x2ca6d1['if']('loadingState','ck-hidden',_0x2ed043=>!!_0x2ed043)]},'children':this['mainContent']},{'tag':'div','attributes':{'class':['ck-ai-loader__text',_0x2ca6d1['if']('loadingState','ck-hidden',_0x1b5760=>!_0x1b5760)]},'children':[{'text':_0x2ca6d1['to']('loadingState',_0x59c1b9=>_0x59c1b9?Qt(this['locale'],AIChatHistoryListItemView['LOADING_LABELS'][_0x59c1b9]):'')}]}]},{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-date']},'children':[_0x40b4d7]}]},{'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'](_0x45e4b0){this['set']('title',_0x45e4b0);}['updateLoadingState'](_0x406802,_0x41e7d6){this['set']('loadingState',_0x41e7d6?_0x406802:null);}['_createCheckView'](){const _0x19a65b=new _0x5f37cd['IconView']();return _0x19a65b['set']({'content':_0x5f37cd['IconCheck']}),_0x19a65b;}['_createPinButtonView'](_0x5834d3){const _0x562aea=new _0x5f37cd['ButtonView'](_0x5834d3);return _0x562aea['set']({'label':Qt(_0x5834d3,'AI_CHAT_HISTORY_PIN_BUTTON'),'icon':_0x5f37cd['IconPin'],'withText':!0x1,'tooltip':!0x0}),_0x562aea['bind']('isOn')['to'](this,'pinned'),_0x562aea['on']('execute',()=>{const _0x4cc35b=!this['pinned'];this['fire']('setConversationPinned',{'id':this['id'],'pinned':_0x4cc35b});}),_0x562aea;}['_createMenuDropdownView'](){const _0x316664=_0x5f37cd['createDropdown'](this['locale']),_0x2942e6=_0x316664['panelView']['children'];_0x316664['buttonView']['set']({'label':Qt(this['locale'],'AI_CHAT_HISTORY_SHOW_MORE_ITEMS'),'icon':_0x5f37cd['IconThreeHorizontalDots']}),_0x316664['panelPosition']='sw';const _0x1da8fe=new _0x5f37cd['ButtonView'](this['locale']);_0x1da8fe['label']=Qt(this['locale'],'AI_CHAT_HISTORY_EDIT_NAME'),_0x1da8fe['withText']=!0x0,_0x1da8fe['on']('execute',()=>{this['isEdit']=!0x0;});const _0x25ea9f=new _0x5f37cd['ButtonView'](this['locale']);_0x25ea9f['label']=Qt(this['locale'],'AI_CHAT_HISTORY_REMOVE'),_0x25ea9f['withText']=!0x0,_0x25ea9f['on']('execute',()=>{this['showConfirm'](Qt(this['locale'],'AI_CHAT_HISTORY_REMOVE_CONFIRM'),this['element'])['then'](()=>{this['fire']('removeConversation',{'id':this['id']});});});const _0x345797=new _0x5f37cd['ListView'](this['locale']),_0xfdd254=new _0x5f37cd['ListItemView'](this['locale']);_0xfdd254['children']['add'](_0x1da8fe);const _0x211b42=new _0x5f37cd['ListItemView'](this['locale']);return _0x211b42['children']['add'](_0x25ea9f),_0x345797['items']['addMany']([_0xfdd254,_0x211b42]),_0x2942e6['add'](_0x345797),_0x316664;}['_createEditInputView'](_0x28b514){const _0x1324aa=new _0x5f37cd['InputTextView'](_0x28b514),_0x58f796=_0x1324aa['bindTemplate'];return _0x1324aa['extendTemplate']({'on':{'keydown':_0x58f796['to'](_0x5221ff=>{'Enter'==_0x5221ff['key']&&this['_commitEditInputValue'](_0x1324aa);})}}),_0x1324aa;}['_createAcceptEditButtonView'](_0x2bd41f,_0x1e15be){const _0x3c64a3=new _0x5f37cd['ButtonView'](_0x2bd41f);return _0x3c64a3['set']({'icon':_0x5f37cd['IconCheck'],'withText':!0x1,'tooltip':Qt(_0x2bd41f,'AI_CHAT_HISTORY_ACCEPT')}),_0x3c64a3['extendTemplate']({'attributes':{'class':['ck-confirm-view-submit']}}),_0x3c64a3['on']('execute',()=>{this['_commitEditInputValue'](_0x1e15be);}),_0x3c64a3;}['_commitEditInputValue'](_0x5c2352){const _0x23c539=_0x5c2352['element']['value']||'';this['isEdit']=!0x1,this['fire']('editConversationTitle',{'id':this['id'],'title':_0x23c539});}['_createCancelEditButtonView'](_0x154088){const _0x1fde82=new _0x5f37cd['ButtonView'](_0x154088);return _0x1fde82['set']({'icon':_0x5f37cd['IconCancel'],'withText':!0x1,'tooltip':Qt(_0x154088,'AI_CHAT_HISTORY_CANCEL')}),_0x1fde82['extendTemplate']({'attributes':{'class':['ck-confirm-view-cancel']}}),_0x1fde82['on']('execute',()=>{this['isEdit']=!0x1,this['fire']('edit:cancel');}),_0x1fde82;}['_createSpinnerView'](){const _0x55b2d6=new _0x3dc227('tiny');return _0x55b2d6['isVisible']=!0x0,_0x55b2d6;}['isMatching'](_0xd0108){return'string'==typeof this['title']&&this['title']['match'](_0xd0108)?{'title':!0x0}:null;}['highlightText'](_0x55d045){this['_titleView']['highlightText'](_0x55d045);}}class AIChatHistoryView extends _0x5f37cd['View']{['headerView'];['searchView'];['mainErrorView'];['skeletonView'];['emptyView'];['sectionsView'];constructor(_0x5749d5,_0x3893cb){super(_0x5749d5),this['set']('hasItems',!0x1),this['set']('isLoading',!0x0),this['set']('errorMessage',''),this['set']('isSearchViewVisible',!0x1),this['set']('isEmptyViewVisible',!0x1),this['set']('isMainErrorViewVisible',!0x1);const _0x488ad2=_0x260284(_0x5749d5,this);this['headerView']=new _0x9094f7(_0x5749d5,{'label':Qt(_0x5749d5,'AI_CHAT_HISTORY_HEADING'),'icon':_0x5f37cd['IconAIHistory'],'class':'ck-ai-header_history','content':_0x488ad2,'showResizeButton':_0x3893cb}),this['headerView']['delegate']('resizeTabs')['to'](this),this['sectionsView']=new AIChatHistorySectionListView(_0x5749d5,[]),this['sectionsView']['delegate'](..._0x34bca8)['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',_0x15d9aa=>!_0x15d9aa)]}}),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 _0x589d75=new _0x5f37cd['SearchTextView'](this['locale'],{'filteredView':this['sectionsView'],'queryView':{'label':Qt(this['locale'],'AI_CHAT_HISTORY_SEARCH_LABEL')},'infoView':{'text':{'notFound':{'primary':_0x4c1324=>Qt(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY',_0x4c1324),'secondary':Qt(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY')}}}}),_0x495e04=this['_createErrorView']();return _0x495e04['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('errorMessage','ck-hidden',_0x4b3ec5=>!_0x4b3ec5)]}}),_0x589d75['on']('render',()=>{_0x589d75['children']['add'](_0x495e04,0x1);}),_0x589d75['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isSearchViewVisible','ck-hidden',_0x1d4d99=>!_0x1d4d99)]}}),_0x589d75;}['_createSkeletonView'](){const _0x321919=new AISkeletonView(this['locale'],_0x1c9e8b['aiHistory']);return _0x321919['bind']('isVisible')['to'](this,'isLoading'),_0x321919;}['_createErrorView'](){const _0x109b4d=new _0x5f37cd['View'](this['locale']),_0x4bbb0d=new _0x5f37cd['ButtonView'](this['locale']);_0x4bbb0d['set']({'withText':!0x1,'icon':_0x5f37cd['IconCancel'],'class':'ck-ai-notification_error__dismiss-button'}),_0x4bbb0d['bind']('isVisible')['to'](this,'hasItems',_0x1cafdd=>!!_0x1cafdd),_0x4bbb0d['on']('execute',()=>{this['errorMessage']='';});const _0x27fd8a=this['bindTemplate'];return _0x109b4d['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error']},'children':[{'tag':'p','children':[{'text':_0x27fd8a['to']('errorMessage')}]},_0x4bbb0d]}),_0x109b4d;}['_createEmptyStateView'](){const _0x119242=new _0x5f37cd['View'](this['locale']);return _0x119242['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__empty',this['bindTemplate']['if']('isEmptyViewVisible','ck-hidden',_0x2a7ebc=>!_0x2a7ebc)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-history__empty-message']},'children':[Qt(this['locale'],'AI_CHAT_HISTORY_EMPTY_MESSAGE')]}]}),_0x119242;}['_createListItemViews'](_0x275de5,_0x4b6331){const _0x54d71d=[];for(const _0x25e31a of _0x275de5){const _0x16d020=new AIChatHistoryListItemView(_0x4b6331,_0x25e31a);_0x16d020['delegate'](..._0x34bca8)['to'](this),_0x54d71d['push'](_0x16d020);}return _0x54d71d;}['updateHistoryItemsWithCategories'](_0x57a9ed){const _0x13b39b=this['locale']||'en',_0x5d82cf=[];for(const _0x22691b of _0x57a9ed){const _0x3dcad4=this['_createListItemViews'](_0x22691b['items'],_0x13b39b);_0x5d82cf['push'](new AIChatHistoryListView(_0x13b39b,{'title':_0x22691b['title'],'items':_0x3dcad4}));}this['sectionsView']['sections']=_0x5d82cf,this['sectionsView']['items']['clear'](),this['sectionsView']['items']['addMany'](_0x5d82cf),this['hasItems']=_0x57a9ed['some'](_0x5822ca=>_0x5822ca['items']['length']>0x0),this['_refreshSearch']();}['removeHistoryItem'](_0x4ae20b){for(const _0x33de9f of this['sectionsView']['sections']){const _0x2283f4=_0x33de9f['getItem'](_0x4ae20b);if(_0x2283f4){if(_0x33de9f['removeItem'](_0x2283f4),0x0===_0x33de9f['itemsViews']['length']){const _0x4c05cf=this['sectionsView']['sections']['indexOf'](_0x33de9f);-0x1!==_0x4c05cf&&(this['sectionsView']['sections']['splice'](_0x4c05cf,0x1),this['sectionsView']['items']['remove'](_0x33de9f));}this['hasItems']=this['sectionsView']['sections']['length']>0x0,this['_refreshSearch']();break;}}}['updateItemTitle'](_0x604336,_0x3270d1){for(const _0x1dc0c0 of this['sectionsView']['sections']){const _0x2576ff=_0x1dc0c0['getItem'](_0x604336);if(_0x2576ff){_0x2576ff['updateTitle'](_0x3270d1);break;}}}['updateItemLoadingState'](_0x3ab1a9,_0xdc08ac,_0x4b44f2){for(const _0x5ef0fc of this['sectionsView']['sections']){const _0x5a0ebd=_0x5ef0fc['getItem'](_0x3ab1a9);if(_0x5a0ebd){_0x5a0ebd['updateLoadingState'](_0xdc08ac,_0x4b44f2);break;}}}['_refreshSearch'](){if(this['hasItems']){const _0x2bd5a3=this['searchView']['queryView']['fieldView']?.['element']?.['value']||'';this['searchView']['search'](_0x2bd5a3);}}}const _0x34bca8=['showConversationHistory','removeConversation','editConversationTitle','setConversationPinned','selectConversation','startConversation'];class AIChatHistoryUI extends _0x5f37cd['ContextPlugin']{static get['requires'](){return[_0x3df542];}['_historyView'];static get['pluginName'](){return'AIChatHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3645a1){super(_0x3645a1);const _0x1bb216=this['context']['plugins']['get']('AITabs');this['_historyView']=new AIChatHistoryView(this['context']['locale'],_0x1bb216['showResizeButton']),this['_historyView']['delegate']('resizeTabs')['to'](_0x1bb216),this['_historyView']['delegate'](..._0x34bca8)['to'](this),this['_historyView']['headerView']['bind']('isMaximized')['to'](_0x1bb216['view'],'isMaximized',_0xc03396=>_0xc03396),_0x1bb216['view']['addTab']({'id':'history','buttonLabel':Qt(this['context']['locale'],'AI_CHAT_HISTORY_HEADING'),'buttonIcon':_0x5f37cd['IconAIHistory'],'order':0x0,'content':this['_historyView']});}['removeHistoryItem'](_0x15719b){this['_historyView']['removeHistoryItem'](_0x15719b);}['updateItems'](_0x2c589a){this['_historyView']['updateHistoryItemsWithCategories'](_0x2c589a);}['updateItemTitle'](_0x174088,_0x28bdc7){this['_historyView']['updateItemTitle'](_0x174088,_0x28bdc7);}['updateItemLoadingState'](_0x1a4680,_0x3182c9,_0x2882c8){this['_historyView']['updateItemLoadingState'](_0x1a4680,_0x3182c9,_0x2882c8);}['setLoadingSkeleton'](_0x2727fb){this['_historyView']['isLoading']=_0x2727fb;}['showError'](_0x2d2017){this['_historyView']['errorMessage']=_0x2d2017;}['hideError'](){this['_historyView']['errorMessage']='';}}class AIChatHistoryItem extends _0x5f37cd['ObservableMixin'](){['id'];['createdAt'];constructor({id:_0x399e34,title:_0x518de3,createdAt:_0x2c1b45,updatedAt:_0x3b8915,pinned:_0x43fd02}){super(),this['id']=_0x399e34,this['createdAt']=new Date(_0x2c1b45),this['set']('title',_0x518de3),this['set']('updatedAt',_0x3b8915?new Date(_0x3b8915):null),this['set']('pinned',_0x43fd02||!0x1);}['updateTitle'](_0x4ee682){this['set']('title',_0x4ee682),this['updatedAt']=new Date();}['updatePinned'](_0x50abfa){this['set']('pinned',_0x50abfa),this['updatedAt']=new Date();}}class AIChatHistoryConversations extends _0x5f37cd['EmitterMixin'](){['items']=[];['connector'];['group'];constructor({connector:_0x4aaf70,group:_0x131859}){super(),this['connector']=_0x4aaf70,this['group']=_0x131859;}async['init'](){try{const _0x437e38=this['connector']['fetchConversations'](this['group']),_0x3cb21e=await _0x437e38['getConversations']();this['loadItems'](_0x3cb21e);}catch(_0x503c2b){this['fire']('error',{'error':_0x503c2b,'operation':'init'});}}['addItem'](_0x451156){this['items']['push'](_0x451156);}async['removeItem'](_0x1a4beb){const _0x5746c0=this['items']['findIndex'](_0x5b2db0=>_0x5b2db0['id']===_0x1a4beb);if(-0x1===_0x5746c0)return!0x1;try{return await this['connector']['deleteConversation'](_0x1a4beb)['execute'](),this['items']['splice'](_0x5746c0,0x1),this['fire']('itemRemoved',{'itemId':_0x1a4beb}),!0x0;}catch(_0x1909e1){return this['fire']('error',{'error':_0x1909e1,'operation':'removeItem','itemId':_0x1a4beb}),!0x1;}}['getItem'](_0x5ce95b){return this['items']['find'](_0x57666a=>_0x57666a['id']===_0x5ce95b);}async['updateItemTitle'](_0x4bd45c,_0x1d7765){const _0x1f971d=this['getItem'](_0x4bd45c);if(!_0x1f971d)return!0x1;try{return await this['connector']['updateConversation'](_0x4bd45c,{'title':_0x1d7765})['getResult'](),_0x1f971d['updateTitle'](_0x1d7765),this['fire']('itemUpdated',{'itemId':_0x4bd45c,'updates':{'title':_0x1d7765}}),!0x0;}catch(_0x437d90){return this['fire']('error',{'error':_0x437d90,'operation':'updateItemTitle','itemId':_0x4bd45c}),!0x1;}}async['updateItemPinned'](_0x501dab,_0x1c344f){const _0xfa4fbd=this['getItem'](_0x501dab);if(!_0xfa4fbd)return!0x1;try{return await this['connector']['updateConversation'](_0x501dab,{'pinned':_0x1c344f})['getResult'](),_0xfa4fbd['updatePinned'](_0x1c344f),this['fire']('itemUpdated',{'itemId':_0x501dab,'updates':{'pinned':_0x1c344f}}),!0x0;}catch(_0x19e74d){return this['fire']('error',{'error':_0x19e74d,'operation':'updateItemPinned','itemId':_0x501dab}),!0x1;}}['loadItems'](_0x153ad3){try{this['items']=[],_0x153ad3['map'](_0x16243c=>{this['addItem'](new AIChatHistoryItem(_0x16243c));}),this['fire']('itemsLoaded',{'items':[...this['items']]});}catch(_0x4e68b0){this['fire']('error',{'error':_0x4e68b0,'operation':'loadItems'});}}['getItems'](_0xfbb102={}){const _0x48812f=void 0x0!==_0xfbb102['pinned']&&_0xfbb102['pinned'],_0x1d32b5=_0xfbb102['from']?new Date(_0xfbb102['from']['getFullYear'](),_0xfbb102['from']['getMonth'](),_0xfbb102['from']['getDate']()):null,_0x1a99d1=_0xfbb102['to']?new Date(_0xfbb102['to']['getFullYear'](),_0xfbb102['to']['getMonth'](),_0xfbb102['to']['getDate']()):null;return this['items']['filter'](_0x53b7e3=>{if(_0x53b7e3['pinned']!==_0x48812f)return!0x1;if(_0x1a99d1){const _0x2607b7=new Date(_0x53b7e3['createdAt']['getFullYear'](),_0x53b7e3['createdAt']['getMonth'](),_0x53b7e3['createdAt']['getDate']());return _0x1d32b5?_0x1d32b5['getTime']()===_0x1a99d1['getTime']()?_0x2607b7['getTime']()===_0x1d32b5['getTime']():_0x2607b7<_0x1a99d1&&_0x2607b7>=_0x1d32b5:_0x2607b7<_0x1a99d1;}return!0x0;});}}class AIChatHistoryController extends _0x5f37cd['ContextPlugin']{['_aiConnector'];['_aiChatHistoryUi'];['_aiChatController'];static get['requires'](){return[AIConnector,AIChatController,AIChatHistoryUI,_0x3df542];}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 _0x4bbfa5=this['context']['plugins']['get'](_0x3df542);try{const _0x587d56=this['_aiChatController']['getGroupId']();this['history']=new AIChatHistoryConversations({'connector':this['_aiConnector'],'group':_0x587d56}),this['listenTo'](this['_aiChatHistoryUi'],'removeConversation',(_0x12b601,_0x457179)=>{this['_setItemLoading'](_0x457179['id'],'remove'),this['_handleRemove'](_0x457179['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'editConversationTitle',(_0x20862f,_0x2d0d57)=>{this['_setItemLoading'](_0x2d0d57['id'],'rename'),this['_handleEditTitle'](_0x2d0d57['id'],_0x2d0d57['title']);}),this['listenTo'](this['history'],'itemUpdated',(_0x2cfd4d,_0x352720)=>{void 0x0!==_0x352720['updates']['title']&&this['_aiChatHistoryUi']['updateItemTitle'](_0x352720['itemId'],_0x352720['updates']['title']),void 0x0!==_0x352720['updates']['pinned']&&this['_updateHistoryItemsUI'](),this['_clearItemLoading'](_0x352720['itemId']);}),this['listenTo'](this['history'],'itemRemoved',(_0x186149,_0x57cb01)=>{this['_aiChatController']['_handleRemovedConversation'](_0x57cb01['itemId']),this['_aiChatHistoryUi']['removeHistoryItem'](_0x57cb01['itemId']),this['_clearItemLoading'](_0x57cb01['itemId']);}),this['listenTo'](this['history'],'itemsLoaded',()=>{this['_updateHistoryItemsUI']();}),this['listenTo'](this['history'],'error',(_0x3085e4,_0x3e804b)=>{this['_handleHistoryErrorUI'](_0x3e804b['error'],_0x3e804b['operation'],_0x3e804b['itemId']);}),this['listenTo'](this['_aiChatHistoryUi'],'selectConversation',(_0x495c1f,_0x1472ec)=>{this['_handleSelectConversation'](_0x1472ec['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'setConversationPinned',(_0x28d90e,_0x293ef0)=>{const _0x2974d7=_0x293ef0['pinned']?'pin':'unpin';this['_setItemLoading'](_0x293ef0['id'],_0x2974d7),this['_handleTogglePin'](_0x293ef0['id'],_0x293ef0['pinned']);}),this['listenTo'](this['_aiChatHistoryUi'],'startConversation',()=>{this['_aiChatController']['startConversation'](),_0x4bbfa5['view']['activateTab']('chat');}),this['listenTo'](this['_aiChatController'],'change:activeConversation',()=>{this['_updateHistoryItemsUI']();}),_0x4bbfa5['view']['on']('activateTab:history',()=>{this['_showConversationHistory']();});}catch(_0x182ddf){this['_handleHistoryErrorUI'](_0x182ddf,'init');}}async['_handleEditTitle'](_0xe28701,_0x10f870){await this['history']['updateItemTitle'](_0xe28701,_0x10f870);}async['_handleTogglePin'](_0x3c46dd,_0x38f229){await this['history']['updateItemPinned'](_0x3c46dd,_0x38f229);}async['_handleRemove'](_0x1ec712){await this['history']['removeItem'](_0x1ec712);}async['_handleSelectConversation'](_0x2b2678){await this['_aiChatController']['loadConversation'](_0x2b2678);}async['_showConversationHistory'](){this['_aiChatHistoryUi']['showError'](''),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x0),await this['history']['init'](),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_updateHistoryItemsUI'](){const _0x1bf03a=this['_aiChatController']['activeConversation']?.['id'],_0x560a1b=this['_getCategorizedItems']()['map'](_0x2f5101=>({'title':_0x2f5101['title'],'items':_0x2f5101['items']['map'](_0x282f18=>({'id':_0x282f18['id'],'title':_0x282f18['title']||Qt(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),'createdAt':new Date(_0x282f18['createdAt'])['toLocaleDateString'](),'active':_0x282f18['id']===_0x1bf03a,'pinned':_0x282f18['pinned']}))}));this['_aiChatHistoryUi']['updateItems'](_0x560a1b);}['_setItemLoading'](_0x400e3c,_0x3e0dc8){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x400e3c,_0x3e0dc8,!0x0);}['_clearItemLoading'](_0x1eb690){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x1eb690,null,!0x1);}['_handleHistoryErrorUI'](_0x4af106,_0x1dd307,_0x436926){const _0x18b9ff=this['_generateErrorMessage'](_0x1dd307,_0x436926);this['_aiChatHistoryUi']['showError'](_0x18b9ff),_0x436926&&this['_clearItemLoading'](_0x436926),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_generateErrorMessage'](_0x6e0034,_0x1726bd){const _0x531f98=_0x1726bd?this['history']['getItem'](_0x1726bd):null,_0x1f5167=_0x531f98?.['title']||Qt(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION');switch(_0x6e0034){case'updateItemTitle':return Qt(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE',_0x1f5167);case'updateItemPinned':{const _0x55a51c=Qt(this['context']['locale'],_0x531f98?.['pinned']?'AI_CHAT_HISTORY_UNPIN_ACTION':'AI_CHAT_HISTORY_PIN_ACTION');return Qt(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED',[_0x55a51c,_0x1f5167]);}case'removeItem':return Qt(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM',_0x1f5167);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 _0x4c9eba=new Date(),_0x1355d4=new Date(_0x4c9eba['getFullYear'](),_0x4c9eba['getMonth'](),_0x4c9eba['getDate']()),_0x52dbba=new Date(_0x1355d4);_0x52dbba['setDate'](_0x52dbba['getDate']()-0x1);const _0x563214=new Date(_0x1355d4);_0x563214['setDate'](_0x563214['getDate']()-0xe);const _0x137938=this['history']['getItems']({'pinned':!0x0}),_0x2cda15=this['history']['getItems']({'from':_0x1355d4,'to':_0x1355d4}),_0x362932=this['history']['getItems']({'from':_0x52dbba,'to':_0x52dbba}),_0x58e241=this['history']['getItems']({'from':_0x563214,'to':_0x52dbba}),_0x5b6f11=this['history']['getItems']({'to':_0x563214}),_0x5bd464=[];return _0x137938['length']>0x0&&_0x5bd464['push']({'title':Qt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_PINNED'),'items':_0x137938}),_0x2cda15['length']>0x0&&_0x5bd464['push']({'title':Qt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_TODAY'),'items':_0x2cda15}),_0x362932['length']>0x0&&_0x5bd464['push']({'title':Qt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_YESTERDAY'),'items':_0x362932}),_0x58e241['length']>0x0&&_0x5bd464['push']({'title':Qt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS'),'items':_0x58e241}),_0x5b6f11['length']>0x0&&_0x5bd464['push']({'title':Qt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LATER'),'items':_0x5b6f11}),_0x5bd464;}}class AIChatHistory extends _0x5f37cd['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 _0x5f37cd['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(_0x47670a){super(_0x47670a),this['context']['config']['define']('ai.chat.context',{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[],'alwaysAddSelection':!0x1,'paste':{'textThreshold':0x5dc}}),this['context']['config']['define']('ai.chat.initialConversation','new');}}class AIChatShortcutView extends _0x5f37cd['ButtonView']{['id'];constructor(_0x24805a,_0x54b53d){super(_0x24805a);const {id:_0x326be4,type:_0x3c713d,icon:_0x55eb0a}=_0x54b53d;this['id']=_0x326be4,this['set']({'label':_0x54b53d['label'],'withText':!0x0,'class':'ck-ai-chat-shortcut'}),this['extendTemplate']({'attributes':{'data-cke-ai-shortcut-id':_0x54b53d['id']}}),_0x55eb0a?this['icon']=_0x55eb0a:'chat'===_0x3c713d?this['icon']=_0x5f37cd['IconAIChat']:'review'===_0x3c713d?this['icon']=_0x5f37cd['IconAIReview']:'translate'===_0x3c713d&&(this['icon']=_0x5f37cd['IconAITranslate']);}}class AIChatShortcutsView extends _0x5f37cd['View']{['listView'];constructor(_0x337ab4,_0x23baf0){super(_0x337ab4),this['set']('isEnabled',!0x0);const _0x29b654=_0x23baf0['map'](_0x811598=>{const _0x27036b=new _0x5f37cd['ListItemView'](this['locale']),_0x44c54c=new AIChatShortcutView(this['locale'],_0x811598);return _0x44c54c['bind']('isEnabled')['to'](this),_0x27036b['children']['add'](_0x44c54c),_0x44c54c['delegate']('execute')['to'](this),_0x27036b;});this['listView']=new _0x5f37cd['ListView'](this['locale']),this['listView']['items']['addMany'](_0x29b654),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-shortcuts']},'children':[this['listView']]});}}const _0x8140c4='chat-shortcuts';class AIChatShortcuts extends _0x5f37cd['ContextPlugin']{['_shortcuts'];['_shortcutsView'];['_aiChatUI'];['_listenedConversation'];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 _0x3f3086=this['context']['plugins']['get']('AIChatController');this['_shortcuts']['length']&&(this['_validateShortcuts'](),this['_aiChatUI']['on']('conversationCreated',()=>{const _0x3e7dff=_0x3f3086['activeConversation'];_0x3e7dff['isFromHistory']||this['_injectShortcuts'](_0x3e7dff);}),this['listenTo'](_0x3f3086,'interactionStarted',()=>{this['_removeShortcuts']();}));}['_validateShortcuts'](){const _0x1baa63=['chat','review','translate'];this['_shortcuts']['forEach'](_0x402954=>{let _0x35cf6e=!0x0;if(_0x402954['id']&&_0x402954['label']&&_0x1baa63['includes'](_0x402954['type'])?'chat'===_0x402954['type']&&(_0x35cf6e='string'==typeof _0x402954['prompt']):_0x35cf6e=!0x1,!_0x35cf6e)throw new _0x5f37cd['CKEditorError']('ai-chat-shortcuts-invalid-config',this['context'],{'shortcut':_0x402954});});}['_injectShortcuts'](_0x51a7e2){this['_removeShortcuts'](),this['_shortcutsView']=new AIChatShortcutsView(this['context']['locale'],this['_shortcuts']),this['_shortcutsView']['render'](),this['_aiChatUI']['addFeedItemCustomElement'](this['_shortcutsView']['element'],_0x8140c4),this['_shortcutsView']['on']('execute',_0x41c835=>{const _0x49ff58=_0x41c835['source']['id'];this['_executeShortcut'](_0x49ff58);}),this['_listenedConversation']=_0x51a7e2,this['listenTo'](_0x51a7e2,'uploadProgressChanged',(_0x1e0718,_0x467bd8)=>{this['_shortcutsView']['isEnabled']=!_0x467bd8['isUploadInProgress'];});}['_removeShortcuts'](){const _0x40157a=this['context']['plugins']['get'](AIChatUI);_0x40157a['hasFeedItem'](_0x8140c4)&&_0x40157a['removeFeedItem'](_0x8140c4),this['_listenedConversation']&&(this['stopListening'](this['_listenedConversation'],'uploadProgressChanged'),this['_listenedConversation']=void 0x0),this['_shortcutsView']?.['destroy']();}['_executeShortcut'](_0x4e3d14){const _0x27e0e3=this['_shortcuts']['find'](_0x5b5ec2=>_0x5b5ec2['id']===_0x4e3d14),_0x25c5d8=_0x27e0e3['type'];'chat'===_0x25c5d8?this['_runChatShortcut'](_0x27e0e3):'review'===_0x25c5d8?_0x27e0e3['commandId']?this['_runReviewShortcut'](_0x27e0e3):this['_switchTab']('reviewMode'):'translate'===_0x25c5d8&&(_0x27e0e3['language']?this['_runTranslateShortcut'](_0x27e0e3):this['_switchTab']('translate'));}['_switchTab'](_0x55063b){if(!this['context']['plugins']['has']('AITabs'))throw new _0x5f37cd['CKEditorError']('ai-chat-shortcuts-ai-tabs-not-found',this['context'],{'tabName':_0x55063b});this['context']['plugins']['get']('AITabs')['view']['activateTab'](_0x55063b);}async['_runChatShortcut']({prompt:_0x4cc554,draftMode:_0x1e0b74,useWebSearch:_0x1271d2=!0x1,useReasoning:_0x91923f=!0x1,model:_0x5b1e98}){const _0x2f28f4=this['context']['plugins']['get']('AIChatController'),_0xbfc62b=_0x2f28f4['activeConversation'];let _0x4f8843;_0x4f8843=_0x5b1e98?await _0xbfc62b['chatModels']['getModel'](_0x5b1e98):await _0xbfc62b['chatModels']['getDefault'](),_0x4f8843&&await _0xbfc62b['setModel'](_0x4f8843),_0xbfc62b['setWebSearch'](_0x1271d2),_0xbfc62b['setReasoning'](_0x91923f),_0x2f28f4['addCurrentDocumentToChatContext'](),_0x1e0b74?(this['_aiChatUI']['setPromptInputValue'](_0x4cc554),this['_aiChatUI']['focusPromptInput'](!0x0)):_0x2f28f4['sendMessage']({'message':_0x4cc554});}['_runReviewShortcut']({commandId:_0x2339d8,model:_0x3fed9b,prompt:_0x5dc3b2,params:_0x75d00f}){if(!this['context']['plugins']['has']('AIReviewModeUI'))throw new _0x5f37cd['CKEditorError']('ai-chat-shortcuts-review-mode-not-found',this['context']);this['_switchTab']('reviewMode');const _0x4c59f0={'id':_0x2339d8,'isCustom':'custom'===_0x2339d8};_0x3fed9b&&_0x5dc3b2&&(_0x4c59f0['args']={'model':_0x3fed9b,'prompt':_0x5dc3b2}),_0x75d00f&&(_0x4c59f0['params']=_0x75d00f),this['context']['plugins']['get']('AIReviewModeUI')['fire']('runReviewCheck',_0x4c59f0);}['_runTranslateShortcut']({language:_0x7605e}){if(!this['context']['plugins']['has']('AITranslateUI'))throw new _0x5f37cd['CKEditorError']('ai-chat-shortcuts-translate-not-found',this['context']);this['_switchTab']('translate'),this['context']['plugins']['get']('AITranslateUI')['fire']('runReviewCheck',{'id':_0x7605e,'args':{'language':_0x7605e}});}}class _0x54e1c9 extends _0x5f37cd['Command']{constructor(_0x5515a1){super(_0x5515a1);const _0x4ea164=_0x5515a1['plugins']['get']('AITabs')['view'];this['bind']('value')['to'](_0x4ea164,'isVisible'),this['isEnabled']=!0x0;}['execute'](){const _0x52f09c=this['editor']['plugins']['get']('AITabs')['view'];_0x52f09c['isVisible']=!_0x52f09c['isVisible'];}}class AIToggleButtonUI extends _0x5f37cd['Plugin']{static get['requires'](){return[_0x3df542];}static get['pluginName'](){return'AIToggleButtonUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3d37f4=this['editor'];_0x3d37f4['commands']['add']('toggleAi',new _0x54e1c9(_0x3d37f4)),_0x3d37f4['ui']['componentFactory']['add']('toggleAi',()=>{const _0xe7386=this['_createAIUIButton'](_0x5f37cd['ButtonView']);return _0xe7386['set']({'tooltip':!0x0,'class':'ck-ai-toggle-button'}),_0xe7386;}),_0x3d37f4['ui']['componentFactory']['add']('menuBar:toggleAi',()=>{const _0x131aa4=this['_createAIUIButton'](_0x5f37cd['MenuBarMenuListItemButtonView']);return _0x131aa4['set']({'role':'menuitemcheckbox'}),_0x131aa4;});}['_createAIUIButton'](_0x14e62e){const _0x2d7221=this['editor'],_0x2f2512=_0x2d7221['commands']['get']('toggleAi'),_0x14d822=new _0x14e62e(_0x2d7221['locale']);return _0x14d822['set']({'label':Qt(_0x2d7221['locale'],'AI_TOGGLE_BUTTON_LABEL'),'icon':_0x5f37cd['IconAIAskAI'],'isToggleable':!0x0}),_0x14d822['bind']('isEnabled')['to'](_0x2f2512),_0x14d822['bind']('isOn')['to'](_0x2f2512,'value',_0x3f8c68=>!!_0x3f8c68),this['listenTo'](_0x14d822,'execute',()=>{_0x2f2512['execute']();}),_0x14d822;}}const _0x1a5c9f=['applySuggestion','insertSuggestion','showNext','showPrevious'];class _0xe96be3 extends _0x5f37cd['View']{['_errorView'];constructor(_0xec23){super(_0xec23),this['set']('_errorMessage',''),this['set']('_isErrorVisible',!0x1);}['showBlockingError'](_0x245cae){this['showError'](_0x245cae);}['showError'](_0x4ff22d){this['_errorView']||(this['_errorView']=this['_createErrorView']()),this['_errorMessage']=_0x4ff22d,this['_isErrorVisible']=!0x0;}['hideError'](){this['_isErrorVisible']=!0x1;}['_createErrorView'](){const _0x6ad867=new _0x5f37cd['View'](this['locale']),_0x2ce6c7=new _0x5f37cd['View'](this['locale']);return _0x2ce6c7['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__error-text']},'children':[{'text':this['bindTemplate']['to']('_errorMessage')}]}),_0x6ad867['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__error','ck-ai-balloon-error',this['bindTemplate']['if']('_isErrorVisible','ck-hidden',_0x57dd75=>!_0x57dd75)]},'children':[_0x2ce6c7]}),_0x6ad867;}}const _0x89756c=0xa;class _0x285687 extends _0x5f37cd['ContextPlugin']{static get['requires'](){return[AIEditing];}static get['pluginName'](){return'AIBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['isOpen']=!0x1;['_currentConfig'];['_editor'];['_isUpdatingMarkers']=!0x1;['open'](_0x1894bb){const {id:_0x5edade}=this['_currentConfig']??{};this['_currentConfig']=_0x1894bb,this['_editor']=_0x1894bb['targetEditor'];const {id:_0x227426}=this['_currentConfig'];this['isOpen']&&_0x5edade===_0x227426?this['_updateDialog']():this['_showDialog']();}['close'](){const _0x571a7b=this['_editor'];if(!_0x571a7b)return;const _0xfe013d=_0x571a7b['plugins']['get']('Dialog');_0xfe013d['isOpen']&&this['_currentConfig']&&_0xfe013d['id']===this['_currentConfig']['id']&&_0xfe013d['hide']();}['_updateDialog'](){const _0x331570=this['_editor']['plugins']['get']('Dialog'),{icon:_0x416dfc,title:_0x368b1b}=this['_currentConfig'];_0x331570['view']?.['headerView']&&(_0x331570['view']['headerView']['label']=_0x368b1b,_0x331570['view']['headerView']['iconView']&&_0x416dfc&&(_0x331570['view']['headerView']['iconView']['content']=_0x416dfc)),this['_isUpdatingMarkers']=!0x0,this['_showFakeVisualSelection'](),this['_isUpdatingMarkers']=!0x1,_0x331570['view']?.['updatePosition']();}['_showFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['showFakeVisualSelection']({'editor':this['_editor'],'ranges':this['_currentConfig']['ranges'],'id':'balloon','priority':0x64}),window['getSelection']()?.['removeAllRanges']();}['_hideFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['hideFakeVisualSelection']('balloon');}['_showDialog'](){const _0x3ea376=this['_editor']['plugins']['get']('Dialog'),{id:_0xba1b0c,title:_0xe0c32e,icon:_0x24190d,class:_0x509c5c,mainView:_0x3522d9}=this['_currentConfig'];_0x3522d9['delegate'](..._0x1a5c9f)['to'](this),_0x3ea376['show']({'title':_0xe0c32e,'icon':_0x24190d,'hasCloseButton':!0x0,'id':_0xba1b0c,'position':this['_calculateDialogPosition']['bind'](this),'className':'ck-ai-balloon\x20'+(_0x509c5c||''),'content':_0x3522d9,'onShow':_0x5862a9=>{this['_showFakeVisualSelection'](),this['_setupFakeVisualSelectionMarkerRemovalListener'](),_0x5862a9['view']?.['updatePosition']();const _0x43aa2e=this['_getSelectionElements']();_0x43aa2e&&_0x43aa2e[0x0]&&_0x5f37cd['scrollViewportToShowTarget']({'target':_0x43aa2e[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this['isOpen']=!0x0,_0x5862a9['once']('hide',()=>{this['fire']('beforeDialogClosed',{'id':_0xba1b0c});},{'priority':'high'});},'onHide':()=>{this['_hideFakeVisualSelection'](),this['_cleanupFakeVisualSelectionMarkerRemovalListener'](),this['fire']('dialogClosed',{'id':_0xba1b0c}),this['isOpen']=!0x1;}});}['_calculateDialogPosition'](_0x5f4955,_0x27466c){if(!_0x27466c){const _0x3c52f3=this['_getTargetRootDomRect']();if(!_0x3c52f3)return null;_0x27466c=_0x3c52f3;}const _0x34a5a4=this['_getSelectionElements']();if(!_0x34a5a4||0x0===_0x34a5a4['length'])return{'left':Math['round'](_0x27466c['left']+_0x27466c['width']/0x2-_0x5f4955['width']/0x2),'top':Math['round'](_0x27466c['top']+_0x27466c['height']/0x2-_0x5f4955['height']/0x2)};const _0x29a4d2=Math['round'](_0x27466c['left']+_0x27466c['width']/0x2-_0x5f4955['width']/0x2),_0x20589f=_0x34a5a4['map'](_0x1bf8ea=>new _0x5f37cd['Rect'](_0x1bf8ea)),_0x498389=_0x5f4955['height'];return{'left':_0x29a4d2,'top':this['_calculateOptimalTopPosition'](_0x20589f,_0x498389,_0x27466c)};}['_calculateOptimalTopPosition'](_0x3a88ef,_0x22a76f,_0x377fe7){const _0x89634c=new _0x5f37cd['Rect'](_0x5f37cd['global']['window']),_0x30289f=_0x3a88ef['map'](_0xab59c=>_0xab59c['getVisible']())['filter'](_0xf3a01c=>_0xf3a01c),_0x232142=_0x5f37cd['Rect']['getBoundingRect'](_0x30289f);if(!_0x232142)return Math['round'](_0x377fe7['top']+_0x377fe7['height']/0x2);const _0x30f4a1=_0x89634c['getIntersection'](_0x232142);if(!_0x30f4a1)return Math['round'](_0x377fe7['top']+_0x377fe7['height']/0x2);const _0x26e890=_0x377fe7['getVisible'](),_0x39b6a4=_0x26e890&&_0x232142['height']>_0x26e890['height'],_0x1266fe=_0x30f4a1['top'],_0x48573b=_0x30f4a1['bottom'];if(_0x39b6a4){const _0xb96adc=(_0x26e890||_0x89634c)['height']/0x2-_0x22a76f/0x2,_0x1bbd99=_0x1266fe-_0x89756c-_0x377fe7['top'],_0x17f00b=_0x377fe7['bottom']-_0x48573b-_0x89756c;return _0x1bbd99>=_0x22a76f?Math['max'](_0x89756c,_0x1266fe-_0x22a76f-_0x89756c):_0x17f00b>=_0x22a76f?_0x48573b+_0x89756c:Math['max'](_0x89756c,_0xb96adc);}const _0x5f1dc2=_0x1266fe-_0x22a76f,_0x71a208=_0x377fe7['bottom']-_0x48573b-_0x89756c,_0x2ff418=_0x1266fe-_0x89756c-_0x377fe7['top'];let _0x1d42fa;if(_0x71a208>=_0x22a76f)_0x1d42fa=_0x48573b+_0x89756c;else{if(_0x2ff418>=_0x22a76f)_0x1d42fa=_0x5f1dc2-_0x89756c;else _0x1d42fa=_0x1266fe+_0x232142['height']/0x2-_0x22a76f/0x2;}return _0x1d42fa;}['_setupFakeVisualSelectionMarkerRemovalListener'](){const _0x1a9a1e=this['_editor'];this['listenTo'](_0x1a9a1e['model']['document'],'change',()=>{if(!this['_isUpdatingMarkers']){for(const {name:_0x557148,data:{newRange:_0x55eed1}}of _0x1a9a1e['model']['document']['differ']['getChangedMarkers']())if(_0x557148['startsWith'](_0xc01959+':')&&(_0x55eed1&&(_0x55eed1['start']['isEqual'](_0x55eed1['end'])||'$graveyard'==_0x55eed1['root']['rootName'])||null==_0x55eed1)){const _0x2a225f=Qt(this['context']['locale'],'AI_BALLOON_SELECTION_REMOVED_ERROR');this['_currentConfig']['mainView']['showBlockingError'](_0x2a225f),this['fire']('selectionRemoved');}}});}['_cleanupFakeVisualSelectionMarkerRemovalListener'](){const _0x1d7b39=this['_editor'];this['_currentConfig']['mainView']['hideError'](),this['stopListening'](_0x1d7b39['model']['document']);}['_getSelectionElements'](){const _0x62d58d=this['_editor'];return _0x9c6d55(_0x62d58d['editing'],[..._0x62d58d['model']['markers']['getMarkersGroup']('ai-selection'),..._0x62d58d['model']['markers']['getMarkersGroup']('ai-balloon-selection')]);}['_getTargetRootDomRect'](){const _0x4868b5=this['_currentConfig']?.['ranges']?.[0x0]?.['root'];if(!_0x4868b5)return null;const _0x2a8149=this['_editor'],_0x4bfb9a=_0x2a8149['editing']['view']['document']['getRoot'](_0x4868b5['rootName']);if(!_0x4bfb9a)return null;const _0x5611b1=_0x2a8149['editing']['view']['domConverter']['mapViewToDom'](_0x4bfb9a);return _0x5611b1&&_0x5611b1 instanceof HTMLElement?new _0x5f37cd['Rect'](_0x5611b1):null;}}class _0x4ebd06 extends _0x5f37cd['ToolbarView']{['copyButton'];['likeButton'];['dislikeButton'];['showChangesButton'];['_config'];constructor(_0x551754,_0x4ec918={}){super(_0x551754),this['set']('isEnabled',!0x0),this['set']('isShowChangesOn',!0x1),this['_config']={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x4ec918};const _0x110e07=!(this['_config']['showCopy']||this['_config']['showChanges']||this['_config']['showLike']||this['_config']['showDislike']||this['_config']['customView']?.['length']);this['class']=_0x110e07?'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'](_0xbed9bb){this['showChangesButton']['isEnabled']=_0xbed9bb;}['_setupRatingButtons'](){this['likeButton']=new _0x5f37cd['ButtonView'](this['locale']),this['likeButton']['set']({'icon':_0x5f37cd['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 _0x5f37cd['ButtonView'](this['locale']),this['dislikeButton']['set']({'icon':_0x5f37cd['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 _0x5f37cd['ButtonView'](this['locale']),this['copyButton']['set']({'icon':_0x5f37cd['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 _0x21d3a4=new _0x5f37cd['IconView']();_0x21d3a4['set']({'content':_0x5f37cd['IconCheck']}),_0x21d3a4['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'](_0x21d3a4);}['_setupShowChangesButton'](){this['showChangesButton']=new _0x5f37cd['ButtonView'](this['locale']),this['showChangesButton']['set']({'icon':_0x5f37cd['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',_0x1679e0=>_0x1679e0?_0x5f37cd['IconShowChangesOn']:_0x5f37cd['IconShowChangesOff']),this['showChangesButton']['on']('execute',()=>{this['fire']('toggleShowChanges');});}}class AIChatBalloonView extends _0xe96be3{['children'];['nextButtonView'];['previousButtonView'];['focusCycler'];['_focusables'];['_focusTracker'];['_keystrokes'];['_config'];['_streamableContentView'];['_toolbarContainerView'];['_partToolbarView'];['_stateView'];['_miniToolbarView'];constructor(_0x131cc5,_0x39426d){super(_0x131cc5);const _0x2a2bf1=this['bindTemplate'];this['set']('showDiff',!0x1),this['set']('_state','pending'),this['_focusTracker']=new _0x5f37cd['FocusTracker'](),this['_keystrokes']=new _0x5f37cd['KeystrokeHandler'](),this['_focusables']=this['createCollection'](),this['focusCycler']=new _0x5f37cd['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_config']=_0x39426d,this['nextButtonView']=this['_createNextButtonView'](),this['previousButtonView']=this['_createPreviousButtonView'](),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x131cc5),this['_partToolbarView']=new AISuggestionContentPartToolbarView(_0x131cc5,_0x39426d['availableActions']),this['_partToolbarView']['delegate']('applySuggestion','insertSuggestion','rejectSuggestion')['to'](this),this['_togglePartToolbarButtonsVisibility'](_0x39426d),this['_stateView']=new AISuggestionContentPartStateView(_0x131cc5),this['_stateView']['isVisible']=!0x1,this['_miniToolbarView']=new _0x4ebd06(_0x131cc5,{'showChanges':'full'}),this['_miniToolbarView']['bind']('isShowChangesOn')['to'](this,'showDiff'),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['fire']('toggleSuggestionDisplayMode');}),this['_toolbarContainerView']=new AIChatBalloonToolbarContainerView(_0x131cc5,[this['_partToolbarView'],this['_stateView'],this['_miniToolbarView']]),this['children']=this['createCollection']([this['_streamableContentView'],this['_toolbarContainerView']]),this['on']('change:_state',(_0x2f594e,_0x608905,_0x239dd0,_0x326a4b)=>{let _0x2e4c45,_0x5a01b3;'pending'===_0x326a4b?(_0x2e4c45=this['_partToolbarView'],_0x5a01b3=this['_stateView']):(_0x2e4c45=this['_stateView'],_0x5a01b3=this['_partToolbarView']),this['_stateView']['setState'](_0x239dd0),_0x2e4c45['isVisible']=!0x1,_0x5a01b3['isVisible']=!0x0;}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-balloon-main',_0x2a2bf1['to']('_state',_0x4804b6=>'ck-ai-chat-balloon-main_state_'+_0x4804b6)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_togglePartToolbarButtonsVisibility'](_0x39426d);});}['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'](_0x2dcc04){_0x2dcc04?.['keepErrors']||this['hideError'](),await this['_streamableContentView']['update'](_0x2dcc04);}['clearContent'](){this['_streamableContentView']['clear']();}['setState'](_0x2aaa5b){this['_state']=_0x2aaa5b;}['showError'](_0x42eaf3){super['showError'](_0x42eaf3),this['children']['has'](this['_errorView'])||this['children']['add'](this['_errorView'],0x0);}['hideError'](){this['_isErrorVisible']&&(super['hideError'](),this['togglePartToolbarEnabled'](!0x0));}['showBlockingError'](_0x10f3a3){super['showBlockingError'](_0x10f3a3),this['togglePartToolbarEnabled'](!0x1);}['toggleRotatorButtonsVisibility'](_0x38ae44){this['nextButtonView']['isVisible']=this['previousButtonView']['isVisible']=_0x38ae44;}['togglePartToolbarEnabled'](_0x6a91ee){this['_partToolbarView']['isEnabled']=_0x6a91ee;}['_togglePartToolbarButtonsVisibility']({showApplyButton:_0x292250,showSuggestButton:_0x5b1d92}){_0x292250=_0x292250&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x5b1d92=_0x5b1d92&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_partToolbarView']['setButtonsVisibility']({'showApplyButton':_0x292250,'showSuggestButton':_0x5b1d92});}['_createNextButtonView'](){const _0xef4455=new _0x5f37cd['ButtonView'](this['locale']);return _0xef4455['set']({'icon':_0x5f37cd['IconChevronDown'],'label':Qt(this['locale'],'AI_BALLOON_NEXT_LABEL'),'isVisible':!0x0}),_0xef4455['on']('execute',()=>{this['fire']('showNext');}),_0xef4455;}['_createPreviousButtonView'](){const _0x483341=new _0x5f37cd['ButtonView'](this['locale']);return _0x483341['set']({'icon':_0x5f37cd['IconChevronUp'],'label':Qt(this['locale'],'AI_BALLOON_PREVIOUS_LABEL'),'isVisible':!0x0}),_0x483341['on']('execute',()=>{this['fire']('showPrevious');}),_0x483341;}}class AIChatBalloonToolbarContainerView extends _0x5f37cd['View']{constructor(_0xe72a9c,_0x549af9){super(_0xe72a9c),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-balloon__toolbar-container']},'children':_0x549af9});}}class AIChatBalloon extends _0x5f37cd['Plugin']{static get['requires'](){return[_0x5f37cd['Dialog'],_0x285687];}static get['pluginName'](){return'AIChatBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_chatBalloonView'];constructor(_0x4d28f3){super(_0x4d28f3),this['set']('showDiff',!0x1);}['open'](_0x2bb471){const _0x2db7a4=this['editor'];this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),_0x2db7a4['plugins']['get']('AIBalloon')['open']({..._0x2bb471,'id':'aiChatBalloon','class':'ck-ai-chat-balloon','mainView':this['_chatBalloonView']}),this['_toggleRotatorButtonsInDialogHeader'](_0x2bb471['showRotator']),this['_chatBalloonView']['togglePartToolbarEnabled'](!_0x2bb471['areActionsDisabled']),this['_restoreDefaultViewFocus']();}['close'](){this['editor']['plugins']['get']('AIBalloon')['close']();}['updateContent'](_0x5cfcc6){return this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),this['_chatBalloonView']['updateContent'](_0x5cfcc6);}['clearContent'](){this['_chatBalloonView']&&this['_chatBalloonView']['clearContent']();}['setState'](_0x551b06){this['_chatBalloonView']&&this['_chatBalloonView']['setState'](_0x551b06);}['_createChatBalloonView'](){const _0x4383b3=this['editor'],_0x466264=_0x4383b3['plugins']['get']('AIBalloon'),_0x40e569=_0x4383b3['commands']['get']('trackChanges');let _0x193254=_0x4383b3['config']['get']('ai.availableReplyActions')||[..._0x42c794];_0x4383b3['plugins']['has']('TrackChanges')||(_0x193254=_0x193254['filter'](_0x3c47b3=>'insertSuggestion'!=_0x3c47b3));const _0x8c6115=new AIChatBalloonView(_0x4383b3['locale'],{'availableActions':_0x193254,'showApplyButton':!0x0,'showSuggestButton':!!_0x40e569});return _0x8c6115['bind']('showDiff')['to'](this),_0x8c6115['delegate'](..._0x67706d)['to'](this),_0x8c6115['delegate']('showPrevious','showNext')['to'](this),_0x466264['delegate']('dialogClosed')['to'](this),_0x8c6115['on']('applySuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x8c6115['on']('insertSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x8c6115['on']('rejectSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x40e569&&_0x8c6115['bind']('isTrackChangesOn')['to'](_0x40e569,'value'),_0x8c6115['render'](),_0x8c6115;}['_toggleRotatorButtonsInDialogHeader'](_0x586d27){const _0x33b588=this['editor'],_0x540e6d=_0x33b588['plugins']['get']('Dialog')['view']['headerView']['children'];this['_chatBalloonView']['toggleRotatorButtonsVisibility'](_0x586d27),_0x540e6d['has'](this['_chatBalloonView']['previousButtonView'])||(_0x540e6d['addMany']([this['_chatBalloonView']['previousButtonView'],this['_chatBalloonView']['nextButtonView']],0x0),_0x33b588['plugins']['get']('AIBalloon')['once']('beforeDialogClosed',()=>{_0x540e6d['remove'](this['_chatBalloonView']['previousButtonView']),_0x540e6d['remove'](this['_chatBalloonView']['nextButtonView']);}));}['_restoreDefaultViewFocus'](){this['_chatBalloonView']['focus']();}}class AIEditorIntegration extends _0x5f37cd['Plugin']{static get['requires'](){return[AIToggleButtonUI,AIChatBalloon,SuggestionsConversion];}static get['pluginName'](){return'AIEditorIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _0x151610(_0x50a632){const {editor:_0x4f139b,action:_0x272697,withText:_0x201052=!0x1,withIcon:_0x2e703c=!0x0,isInDropdown:_0x6164fd=!0x0,shouldPreventFocus:_0x1a6991=!0x1,actionButtons:_0x2ff944}=_0x50a632;return()=>{const _0x23f6b9=_0x4f139b['locale'],_0x5cc845=new _0x5f37cd['ButtonView'](_0x23f6b9),_0x4121f9=_0x5cc845['bindTemplate'];_0x6164fd&&_0x5cc845['extendTemplate']({'on':{'mouseenter':_0x4121f9['to'](()=>{_0x1a6991&&_0x1a6991()||_0x5cc845['focus']();})}}),_0x2ff944['push']({'buttonView':_0x5cc845,'action':_0x272697});const _0x55b333=_0x272697['icon']??_0x272697['parent']?.['icon'];return _0x5cc845['set']({'label':_0x272697['label'],'withText':_0x201052,'role':'menuitem','icon':_0x2e703c?_0x55b333??_0x5f37cd['IconAIQuickActions']:void 0x0,'tooltip':!_0x201052,'class':'ck-ai-quick-actions-button','isEnabled':_0x272697['isEnabled']}),_0x5cc845['on']('execute',()=>{_0x4f139b['editing']['view']['focus'](),_0x4f139b['commands']['execute']('aiQuickAction',_0x272697);}),_0x5cc845;};}class DropdownMenuButtonWithHighlightView extends _0x5f37cd['ListItemButtonView']{['arrowView'];constructor(_0x3a7ad7,_0xe99901){super(_0x3a7ad7,_0xe99901);const _0xd57e39=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',_0x5a3b07=>String(_0x5a3b07)),'data-cke-tooltip-disabled':_0xd57e39['to']('isOn')},'on':{'mouseenter':_0xd57e39['to']('mouseenter')}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x508e61=new _0x5f37cd['IconView']();return _0x508e61['content']=_0x5f37cd['IconDropdownArrow'],_0x508e61['extendTemplate']({'attributes':{'class':'ck-dropdown-menu-list__nested-menu__button__arrow'}}),_0x508e61;}}class AIQuickActionsFilteredListView extends _0x5f37cd['ListView']{['_allListItems'];['_allSearchableItems'];constructor(_0xa914f2,_0x3e9c27,_0x2ba562){super(_0xa914f2),this['_allListItems']=_0x3e9c27,this['_allSearchableItems']=_0x2ba562;}['filter'](_0x5b300d){if(!_0x5b300d)return this['items']['clear'](),this['items']['addMany'](this['_allListItems']),this['_clearHighlight'](),{'resultsCount':this['_allListItems']['length'],'totalItemsCount':this['_allListItems']['length']};const _0x28161d=_0x5b300d['source']['toLowerCase']()['trim'](),_0x2e856a=this['_allSearchableItems']['filter'](_0x413ecd=>(_0x413ecd['groupLabel']?_0x413ecd['label']+'\x20('+_0x413ecd['groupLabel']+')':_0x413ecd['label'])['toLowerCase']()['includes'](_0x28161d));return this['items']['clear'](),this['items']['addMany'](_0x2e856a['sort']((_0x167ea2,_0x3d384d)=>{const _0x16bdb9=_0x167ea2['groupLabel'],_0x4a4816=_0x3d384d['groupLabel'];return _0x16bdb9||_0x4a4816?_0x16bdb9?0x1:-0x1:0x0;})['map'](_0x249c12=>_0x249c12['item'])),this['_highlightQuery'](_0x28161d,_0x2e856a),{'resultsCount':_0x2e856a['length'],'totalItemsCount':this['_allSearchableItems']['length']};}['_highlightQuery'](_0x461c5e,_0x5153c8){if(!_0x461c5e)return;const _0x1608f7=new RegExp(At(_0x461c5e),'gi');_0x5153c8['forEach'](_0x5b8f3e=>{_0x5b8f3e['highlightViews']&&_0x5b8f3e['highlightViews']['forEach'](_0x1b4ef4=>{'function'==typeof _0x1b4ef4['highlightText']&&_0x1b4ef4['highlightText'](_0x1608f7);});});}['_clearHighlight'](){this['_allSearchableItems']['forEach'](_0x5009e=>{_0x5009e['highlightViews']&&_0x5009e['highlightViews']['forEach'](_0x1b8c9a=>{'function'==typeof _0x1b8c9a['highlightText']&&_0x1b8c9a['highlightText'](null);});});}}const _0x296db8='menu',_0x5c830c='menuitem';class AIQuickActionsDropdownContentView extends _0x5f37cd['View']{['_bodyCollection'];['optionsListView'];['_searchTextView']=null;['_allSearchableItems']=[];['children'];['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['_openNestedPanels']=new Set();['_hasSearch'];['_actionButtons'];constructor(_0x5e0d9e,_0x31091a,_0x1c35f0,_0x2f7b5f,_0x5e7dd3=!0x1,_0x20833d=[]){const _0x2592a1=_0x5e0d9e['locale'];super(_0x2592a1),this['_bodyCollection']=_0x2f7b5f,this['_hasSearch']=_0x5e7dd3,this['_actionButtons']=_0x20833d;const _0x1f049a=this['_createListItems'](_0x5e0d9e,_0x31091a,_0x1c35f0);this['optionsListView']=new AIQuickActionsFilteredListView(_0x2592a1,_0x1f049a,this['_allSearchableItems']),this['optionsListView']['role']=_0x296db8,this['optionsListView']['items']['addMany'](_0x1f049a),this['focusTracker']=new _0x5f37cd['FocusTracker'](),this['keystrokes']=new _0x5f37cd['KeystrokeHandler'](),_0x5e7dd3&&(this['_searchTextView']=this['_createSearchTextView']()),this['_focusables']=_0x1f049a,this['focusCycler']=new _0x5f37cd['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes']}),_0x5e7dd3&&this['_searchTextView']&&this['focusCycler']['chain'](this['_searchTextView']['focusCycler']);const _0x222f39=_0x5e7dd3&&this['_searchTextView']?[this['_searchTextView']]:[this['optionsListView']];this['children']=new _0x5f37cd['ViewCollection'](_0x222f39),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions','ck-rounded-corners'],'dir':_0x2592a1['uiLanguageDirection']},'children':this['children']});}['_createSearchTextView'](){return new _0x5f37cd['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 _0x3a0312=this['_searchTextView']['queryView']['fieldView']['element']['ownerDocument']?.['activeElement'];return this['_searchTextView']['queryView']['fieldView']['element']['contains'](_0x3a0312);}['_createListItems'](_0x54e48f,_0x13ffd2,_0x311404){const _0x14594c=new _0x5f37cd['ViewCollection']();return _0x13ffd2['forEach'](_0x235622=>{if('actions'in _0x235622){const {listItem:_0x2d1807}=this['_createActionGroupButton'](_0x54e48f,_0x235622,_0x311404);_0x14594c['add'](_0x2d1807),_0x235622['actions']['forEach'](_0x3ae098=>{const {listItem:_0x5a97c6,highlightViews:_0x4eea4a}=this['_createSearchResultActionButton'](_0x54e48f,_0x3ae098,_0x235622['label'],_0x235622['icon']);this['_allSearchableItems']['push']({'item':_0x5a97c6,'label':_0x3ae098['label'],'groupLabel':_0x235622['label'],'highlightViews':_0x4eea4a});});}else{const {listItem:_0x4d5569}=this['_createActionButton'](_0x54e48f,_0x235622);_0x14594c['add'](_0x4d5569);const _0x29e3c4=_0x4d5569['children']['first'];if(_0x29e3c4){const {listItem:_0x4ad39c,highlightViews:_0x57ea77}=this['_createSearchResultActionButton'](_0x54e48f,_0x235622);this['_allSearchableItems']['push']({'item':_0x4ad39c,'label':_0x29e3c4['label']||'','highlightViews':_0x57ea77});}}}),_0x14594c;}['_createActionButton'](_0xbbb13f,_0x6495a7,_0x287a6c,_0x2a9a4e){const _0x28c481=new _0x5f37cd['ListItemView'](this['locale']);if(_0x287a6c&&_0x2a9a4e){const _0x15a875=new _0x5f37cd['ButtonView'](this['locale']),_0x1b69bb=_0x15a875['bindTemplate'],_0x38e063=new _0x5f37cd['HighlightedTextView']();_0x38e063['text']=_0x6495a7['label'];const _0x2f4db1=new _0x5f37cd['HighlightedTextView']();_0x2f4db1['text']=_0x287a6c;const _0x15fa20=new _0x5f37cd['IconView']();_0x15fa20['content']=_0x2a9a4e,_0x15fa20['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x3e9b9d=new _0x5f37cd['View'](this['locale']);_0x3e9b9d['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__open-paren'},'children':[{'text':'\x20('}]});const _0x267627=new _0x5f37cd['View'](this['locale']);return _0x267627['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__close-paren'},'children':[{'text':')'}]}),_0x15a875['set']({'label':_0x6495a7['label']+'\x20('+_0x287a6c+')','withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','tooltip':!0x1,'isEnabled':_0x6495a7['isEnabled']}),_0x15a875['setTemplate']({'tag':'button','attributes':{'class':['ck','ck-button','ck-button_with-text','ck-ai-quick-actions-button','ck-ai-quick-actions-button_with-group',_0x1b69bb['if']('isEnabled','ck-disabled',_0x585bfe=>!_0x585bfe)],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x38e063,_0x3e9b9d,_0x15fa20,_0x2f4db1,_0x267627],'on':{'mouseenter':_0x1b69bb['to'](()=>{this['_isSearchFocused']()||_0x15a875['focus']();}),'click':_0x1b69bb['to'](()=>{_0x15a875['fire']('execute');})}}),_0x15a875['on']('execute',()=>{_0x15a875['isEnabled']&&(_0xbbb13f['editing']['view']['focus'](),_0xbbb13f['commands']['execute']('aiQuickAction',_0x6495a7));}),_0x28c481['children']['add'](_0x15a875),this['_actionButtons']['push']({'buttonView':_0x15a875,'action':_0x6495a7}),{'listItem':_0x28c481,'highlightViews':[_0x38e063,_0x2f4db1]};}{const _0x56a377=new _0x5f37cd['ButtonLabelWithHighlightView'](),_0x5cbf86=new _0x5f37cd['ButtonView'](this['locale'],_0x56a377),_0x234a41=_0x5cbf86['bindTemplate'],_0x225fb6=_0x6495a7['icon']??_0x6495a7['parent']?.['icon'],_0x12ddc0=void 0x0!==_0x6495a7['icon'];return _0x5cbf86['set']({'label':_0x6495a7['label'],'withText':!0x0,'role':'menuitem','icon':_0x12ddc0?_0x225fb6??_0x5f37cd['IconAIQuickActions']:void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button','isEnabled':_0x6495a7['isEnabled']}),_0x5cbf86['extendTemplate']({'on':{'mouseenter':_0x234a41['to'](()=>{this['_isSearchFocused']()||_0x5cbf86['focus']();})}}),_0x5cbf86['on']('execute',()=>{_0xbbb13f['editing']['view']['focus'](),_0xbbb13f['commands']['execute']('aiQuickAction',_0x6495a7);}),_0x28c481['children']['add'](_0x5cbf86),this['_actionButtons']['push']({'buttonView':_0x5cbf86,'action':_0x6495a7}),{'listItem':_0x28c481,'highlightViews':[_0x56a377]};}}['_createSearchResultActionButton'](_0x1ccd7c,_0x4d8f1b,_0x497f30,_0x2856aa){return _0x497f30&&_0x2856aa?this['_createSearchResultGroupedActionButton'](_0x1ccd7c,_0x4d8f1b,_0x497f30,_0x2856aa):this['_createSearchResultIndividualActionButton'](_0x1ccd7c,_0x4d8f1b);}['_createSearchResultGroupedActionButton'](_0x78adfa,_0x650ba4,_0x109bcf,_0x24a0a8){const _0x342281=new _0x5f37cd['ListItemView'](this['locale']),_0x44fcf1=new _0x5f37cd['ButtonView'](this['locale']),_0x4b67b6=_0x44fcf1['bindTemplate'],{view:_0x910811,highlightView:_0x498d7c}=this['_createSearchResultGroupRow'](_0x109bcf,_0x24a0a8),{view:_0x149c39,highlightView:_0x2d854d}=this['_createSearchResultActionRow'](_0x650ba4['label']),_0x5288d5=this['_createSearchResultContentView'](_0x910811,_0x149c39);return _0x44fcf1['set']({'label':_0x650ba4['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,'isEnabled':_0x650ba4['isEnabled']}),_0x44fcf1['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',_0x4b67b6['if']('isEnabled','ck-disabled',_0x349adc=>!_0x349adc)],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x5288d5],'on':{'mouseenter':_0x4b67b6['to'](()=>{this['_isSearchFocused']()||_0x44fcf1['focus']();}),'click':_0x4b67b6['to'](()=>{this['_handleSearchResultButtonClick'](_0x44fcf1);})}}),this['_setupActionButtonExecution'](_0x44fcf1,_0x78adfa,_0x650ba4),_0x342281['children']['add'](_0x44fcf1),this['_actionButtons']['push']({'buttonView':_0x44fcf1,'action':_0x650ba4}),{'listItem':_0x342281,'highlightViews':[_0x498d7c,_0x2d854d]};}['_createSearchResultIndividualActionButton'](_0x484b63,_0x545fc5){const _0x151c5f=new _0x5f37cd['ListItemView'](this['locale']),_0xfb371f=new _0x5f37cd['ButtonLabelWithHighlightView'](),_0x3d7f3c=new _0x5f37cd['ButtonView'](this['locale'],_0xfb371f),_0x1aa7c6=_0x3d7f3c['bindTemplate'];return _0x3d7f3c['set']({'label':_0x545fc5['label'],'withText':!0x0,'role':'menuitem','icon':void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','isEnabled':_0x545fc5['isEnabled']}),_0x3d7f3c['extendTemplate']({'on':{'mouseenter':_0x1aa7c6['to'](()=>{this['_isSearchFocused']()||_0x3d7f3c['focus']();})}}),this['_setupActionButtonExecution'](_0x3d7f3c,_0x484b63,_0x545fc5),_0x151c5f['children']['add'](_0x3d7f3c),this['_actionButtons']['push']({'buttonView':_0x3d7f3c,'action':_0x545fc5}),{'listItem':_0x151c5f,'highlightViews':[_0xfb371f]};}['_createSearchResultGroupRow'](_0x11c417,_0x556007){const _0x364b37=new _0x5f37cd['View'](this['locale']),_0x5f14ce=new _0x5f37cd['IconView']();_0x5f14ce['content']=_0x556007,_0x5f14ce['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x5f496f=new _0x5f37cd['HighlightedTextView']();return _0x5f496f['text']=_0x11c417,_0x364b37['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__group-row'},'children':[_0x5f14ce,_0x5f496f]}),{'view':_0x364b37,'highlightView':_0x5f496f};}['_createSearchResultActionRow'](_0x2348a2){const _0x10f3ff=new _0x5f37cd['View'](this['locale']),_0x5b4366=new _0x5f37cd['HighlightedTextView']();return _0x5b4366['text']=_0x2348a2,_0x10f3ff['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__action-row'},'children':[_0x5b4366]}),{'view':_0x10f3ff,'highlightView':_0x5b4366};}['_createSearchResultContentView'](_0x30fec4,_0x189cde){const _0x234dea=new _0x5f37cd['View'](this['locale']);return _0x234dea['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__content'},'children':[_0x30fec4,_0x189cde]}),_0x234dea;}['_setupActionButtonExecution'](_0x3e16dd,_0x3f7bbc,_0x1bfecd){_0x3e16dd['on']('execute',()=>{_0x3e16dd['isEnabled']&&(_0x3f7bbc['editing']['view']['focus'](),_0x3f7bbc['commands']['execute']('aiQuickAction',_0x1bfecd));});}['_createActionGroupButton'](_0x59cd60,_0xc8aec8,_0x450d97){const _0x20bbf6=new _0x5f37cd['ListItemView'](this['locale']),_0x238103=new _0x5f37cd['ButtonLabelWithHighlightView'](),_0x4318ef=new DropdownMenuButtonWithHighlightView(this['locale'],_0x238103),_0x321254=_0x4318ef['bindTemplate'],_0x5c4f4e=this['_getPanelKeystroke'](_0x450d97),_0x368274=this['_createGroupActionsList'](_0x59cd60,_0xc8aec8['actions'],_0x450d97);_0x4318ef['set']({'label':_0xc8aec8['label'],'withText':!0x0,'role':_0x5c830c,'icon':_0xc8aec8['icon']??_0x5f37cd['IconAIQuickActions'],'isEnabled':_0xc8aec8['actions']['some'](_0x39492c=>_0x39492c['isEnabled'])}),_0x4318ef['extendTemplate']({'on':{'mouseenter':_0x321254['to'](()=>{this['_isSearchFocused']()||_0x4318ef['focus']();})}});const _0x28d799=new _0x5f37cd['BalloonPanelView'](this['locale']);return _0x28d799['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel']},'on':{'keydown':_0x321254['to'](_0x1fc6ed=>{this['_handlePanelKeydown'](_0x1fc6ed,_0x5c4f4e,_0x4318ef,_0x28d799);})}}),_0x4318ef['bind']('isOn')['to'](_0x28d799,'isVisible'),this['_bodyCollection']['add'](_0x28d799),_0x28d799['content']['add'](_0x368274),this['_setupGroupMenuBehavior'](_0x4318ef,_0x28d799),_0x20bbf6['children']['add'](_0x4318ef),this['_actionButtons']['push']({'buttonView':_0x4318ef,'action':_0xc8aec8}),{'listItem':_0x20bbf6,'highlightView':_0x238103};}['_createGroupActionsList'](_0x4c18f2,_0x157d05,_0x7ab49a){const _0xdf70b4=new _0x5f37cd['ListView'](this['locale']);return _0xdf70b4['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-list','ck-dropdown-menu-list']}}),_0x157d05['forEach'](_0x1fedd9=>{const _0x180838=new _0x5f37cd['ListItemView'](this['locale']),_0x5ca81f=_0x151610({'editor':_0x4c18f2,'action':_0x1fedd9,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this['_isSearchFocused'](),'actionButtons':this['_actionButtons']})();_0x180838['children']['add'](_0x5ca81f),_0x7ab49a['focusTracker']['add'](_0x5ca81f),_0xdf70b4['items']['add'](_0x180838);}),_0xdf70b4;}['_setupGroupMenuBehavior'](_0xc6aa29,_0x87f394){const _0x1f166c=_0xc6aa29['bindTemplate'],_0xd42fe3=this['_getButtonKeystroke'](_0xc6aa29);_0xc6aa29['extendTemplate']({'attributes':{'class':['ck-ai-quick-actions-group-button']},'on':{'mouseenter':_0x1f166c['to'](()=>{this['_showNestedPanel'](_0x87f394,_0xc6aa29);}),'mouseleave':_0x1f166c['to'](_0x4b9162=>{const _0x489163=_0x4b9162['relatedTarget'];this['_isMovingToNestedMenu'](_0x489163,_0x87f394)||this['_hideNestedPanel'](_0x87f394);}),'keydown':_0x1f166c['to'](_0x45d5e9=>{_0x45d5e9['key']==_0xd42fe3&&(this['_showNestedPanel'](_0x87f394,_0xc6aa29),_0x87f394['content']['get'](0x0)['focus']());})}}),_0x87f394['on']('render',()=>{_0x87f394['element']?.['addEventListener']('mouseleave',_0x15218b=>{const _0x3c7868=_0x15218b['relatedTarget'];_0xc6aa29['element']?.['contains'](_0x3c7868)||this['_isMovingToNestedMenu'](_0x3c7868,_0x87f394)||this['_hideNestedPanel'](_0x87f394);});});}['_showNestedPanel'](_0x1b015c,_0x32046d){this['_openNestedPanels']['forEach'](_0x161890=>{_0x161890!==_0x1b015c&&_0x161890['isVisible']&&_0x161890['hide']();}),_0x1b015c['show'](),_0x1b015c['pin']({'positions':[_0x5f37cd['DropdownMenuPanelPositioningFunctions']['eastSouth']],'target':_0x32046d['element'],'fitInViewport':!0x0}),this['_openNestedPanels']['add'](_0x1b015c);}['_hideNestedPanel'](_0x12a0c5){_0x12a0c5['hide'](),this['_openNestedPanels']['delete'](_0x12a0c5);}['_hideAllNestedPanels'](){this['_openNestedPanels']['forEach'](_0x2778c2=>_0x2778c2['hide']()),this['_openNestedPanels']['clear']();}['_isMovingToNestedMenu'](_0x594027,_0x5dccbd){if(!_0x594027)return!0x1;if(_0x5dccbd['element']?.['contains'](_0x594027))return!0x0;const _0x3ec9c1=_0x594027;return _0x3ec9c1['closest']&&(null!==_0x3ec9c1['closest']('.ck-ai-quick-actions-group-panel')||null!==_0x3ec9c1['closest']('.ck-ai-quick-actions-group-list')||null!==_0x3ec9c1['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'](_0x4b10c1){return'rtl'===_0x4b10c1['locale']['uiLanguageDirection']?'ArrowRight':'ArrowLeft';}['_getButtonKeystroke'](_0x1a5535){return'rtl'===_0x1a5535['locale']['uiLanguageDirection']?'ArrowLeft':'ArrowRight';}['_handlePanelKeydown'](_0x3e0ef5,_0x475360,_0x22acb4,_0x667e47){_0x3e0ef5['key']==_0x475360&&(_0x22acb4['focus'](),this['_hideNestedPanel'](_0x667e47));}['_handleSearchResultButtonClick'](_0x5e01e9){_0x5e01e9['fire']('execute');}}function _0x361f68(_0x48b68b){const {editor:_0x523273,content:_0x1da881,buttonDefinition:_0x3ad009,bodyCollection:_0x2590e4,hasSearch:_0x170681=!0x1,actionButtons:_0x3ec9fa}=_0x48b68b;return()=>{const _0x21f7f7=_0x523273['locale'],_0x1168b1=_0x523273['commands']['get']('aiQuickAction'),_0x4964c4=_0x5f37cd['createDropdown'](_0x21f7f7);_0x4964c4['bind']('isEnabled')['to'](_0x1168b1),_0x4964c4['buttonView']['set']({'icon':_0x3ad009['icon']??_0x5f37cd['IconAIQuickActions'],'label':_0x3ad009['label'],'tooltip':!0x0}),_0x4964c4['set']({'class':'ck-ai-quick-actions-dropdown'});const _0x1cf5cd=new AIQuickActionsDropdownContentView(_0x523273,_0x1da881,_0x4964c4,_0x2590e4,_0x170681,_0x3ec9fa);return _0x4964c4['panelView']['children']['add'](_0x1cf5cd),_0x170681&&_0x4964c4['on']('change:isOpen',(_0x344f27,_0x3e72b1,_0x1e7310)=>{if(_0x1e7310){if(_0x523273['plugins']['has']('AIEditing')){const _0x468897=_0x523273['plugins']['get'](AIEditing),_0x2237c4=_0x523273['model']['document']['selection'],_0x46dc2d=Array['from'](_0x2237c4['getRanges']());_0x46dc2d['length']>0x0&&_0x468897['showFakeVisualSelection']({'editor':_0x523273,'ranges':_0x46dc2d,'id':'quick-action','priority':0x14});}}else _0x523273['plugins']['has']('AIEditing')&&_0x523273['plugins']['get'](AIEditing)['hideFakeVisualSelection']('quick-action'),_0x1cf5cd['resetSearch']();}),_0x4964c4;};}const _0x1a3e31='<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>',_0x4fec00='<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>',_0x1c376b='<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>',_0x3e664f=/* #__PURE__ -- @preserve */
((()=>({'chat':'AIChat','action':'AIActions'}))());class AIQuickActionsUI extends _0x5f37cd['Plugin']{['_actionButtons']=[];['_menuBarGroupViews']=[];static get['requires'](){return[_0x5f37cd['BalloonToolbar'],AIConnector];}static get['pluginName'](){return'AIQuickActionsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x460f63=this['_getDefaultAndCustomActions']();this['_prepareQuickActionsDefinition'](_0x460f63),this['_initializeQuickActionsComponentsAndCommands'](),this['_initActionTypeQuickActions'](),this['_initChatTypeQuickActions']();}static['getDefaultQuickActions'](_0x3dcfa2){return function(_0x4023cc){const _0x57e050=new Intl['DisplayNames'](['en'],{'type':'language'})['of'](_0x4023cc['uiLanguage']),_0xbf0025=_0x57e050||'English',_0x253a79=[{'id':'ask-ai','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_ASK_AI'),'type':'chat','icon':_0x5f37cd['IconAIChatCommands']},{'id':'chat-commands','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_CHAT_COMMANDS'),'icon':_0x5f37cd['IconAIChatCommands'],'actions':[{'id':'explain','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_EXPLAIN'),'displayedPrompt':Qt(_0x4023cc,'AI_QUICK_ACTIONS_EXPLAIN'),'prompt':_0x1a3e31['replace']('%0',_0xbf0025),'type':'chat'},{'id':'summarize','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_SUMMARIZE'),'displayedPrompt':Qt(_0x4023cc,'AI_QUICK_ACTIONS_SUMMARIZE'),'prompt':_0x4fec00['replace']('%0',_0xbf0025),'type':'chat'},{'id':'highlight-key-points','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'displayedPrompt':Qt(_0x4023cc,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'prompt':_0x1c376b['replace']('%0',_0xbf0025),'type':'chat'}]},{'id':'improve-writing','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_IMPROVE_WRITING'),'type':'action','icon':_0x5f37cd['IconAIImproveWriting']},{'id':'continue','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_CONTINUE_WRITING'),'type':'action','icon':_0x5f37cd['IconAIContinueWriting']},{'id':'fix-grammar','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'),'type':'action','icon':_0x5f37cd['IconAIGrammarCheck']},{'id':'adjust-length','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_ADJUST_LENGTH'),'icon':_0x5f37cd['IconAIAdjustLength'],'actions':[{'id':'make-shorter','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_MAKE_SHORTER'),'type':'action'},{'id':'make-longer','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_MAKE_LONGER'),'type':'action'}]},{'id':'change-tone','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_CHANGE_TONE'),'icon':_0x5f37cd['IconAIChangeTone'],'actions':[{'id':'make-tone-casual','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_MORE_CASUAL'),'type':'action'},{'id':'make-tone-direct','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_MORE_DIRECT'),'type':'action'},{'id':'make-tone-friendly','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_MORE_FRIENDLY'),'type':'action'},{'id':'make-tone-confident','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_MORE_CONFIDENT'),'type':'action'},{'id':'make-tone-professional','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_MORE_PROFESSIONAL'),'type':'action'}]},{'id':'translate','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_TRANSLATE'),'icon':_0x5f37cd['IconAITranslate'],'actions':[{'id':'translate-to-english','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH'),'type':'action','actionName':'translate','args':{'language':'english'}},{'id':'translate-to-chinese','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_TRANSLATE_CHINESE'),'type':'action','actionName':'translate','args':{'language':'chinese'}},{'id':'translate-to-spanish','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_TRANSLATE_SPANISH'),'type':'action','actionName':'translate','args':{'language':'spanish'}},{'id':'translate-to-german','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_TRANSLATE_GERMAN'),'type':'action','actionName':'translate','args':{'language':'german'}},{'id':'translate-to-french','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_TRANSLATE_FRENCH'),'type':'action','actionName':'translate','args':{'language':'french'}},{'id':'translate-to-japanese','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE'),'type':'action','actionName':'translate','args':{'language':'japanese'}},{'id':'translate-to-portuguese','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE'),'type':'action','actionName':'translate','args':{'language':'portuguese'}},{'id':'translate-to-korean','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_TRANSLATE_KOREAN'),'type':'action','actionName':'translate','args':{'language':'korean'}},{'id':'translate-to-italian','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN'),'type':'action','actionName':'translate','args':{'language':'italian'}},{'id':'translate-to-russian','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN'),'type':'action','actionName':'translate','args':{'language':'russian'}}]},{'id':'other','label':Qt(_0x4023cc,'AI_QUICK_ACTIONS_OTHER'),'icon':_0x5f37cd['IconAIOther'],'actions':[]}];return _0x253a79;}(_0x3dcfa2);}['_getDefaultAndCustomActions'](){const _0x48cd6b=AIQuickActionsUI['getDefaultQuickActions'](this['editor']['locale']),_0x374672=(this['editor']['config']['get']('ai.quickActions.extraCommands')||[])['map'](_0x3a2e69=>({..._0x3a2e69,'type':'chat'===_0x3a2e69['type']?'chat':'action','icon':void 0x0}));return _0x48cd6b['find'](_0x511599=>'other'===_0x511599['id'])['actions']['push'](..._0x374672),_0x48cd6b;}async['_initActionTypeQuickActions'](){try{const _0x3d297a=new _0x5cc472({'connector':this['editor']['plugins']['get']('AIConnector'),'config':this['editor']['config']['get']('ai.models'),'locale':this['editor']['locale']}),_0x49321b=await _0x3d297a['getAll'](),_0x366225=(await _0x3d297a['getDefault']())?.['id'];this['_assignDefaultModelToCustomActions'](_0x366225),this['_enableButtonsByType']('action',_0x3ad2bd=>!!_0x49321b['find'](_0xf5e15d=>_0xf5e15d['id']===_0x3ad2bd['model'])||void 0x0===_0x3ad2bd['model']);}catch(_0x57b7da){const _0x38645b=new _0x5f37cd['CKEditorError']('ai-quick-actions-models-unable-to-retrieve',this,{'error':_0x57b7da});_0x5f37cd['logError'](_0x38645b['message']);}}['_initChatTypeQuickActions'](){if(!this['editor']['plugins']['has']('AIChatController'))return;const _0x2af031=this['editor']['plugins']['get']('AIChatController');this['listenTo'](_0x2af031,'change:isConversationReady',(_0x75959b,_0x4e5de3,_0x16988c)=>{_0x16988c&&this['_enableButtonsByType']('chat',()=>!0x0);}),_0x2af031['isConversationReady']&&this['_enableButtonsByType']('chat',()=>!0x0);}['_enableButtonsByType'](_0x41a888,_0x2b99fe){this['_quickActionsDefinition']['forEach'](_0x1c59cd=>{'actions'in _0x1c59cd?_0x1c59cd['actions']['forEach'](_0x3507b9=>{_0x3507b9['type']===_0x41a888&&(_0x3507b9['isEnabled']=_0x2b99fe(_0x3507b9));}):_0x1c59cd['type']===_0x41a888&&(_0x1c59cd['isEnabled']=_0x2b99fe(_0x1c59cd));}),this['_actionButtons']['forEach'](_0x341114=>{if(_0x521385(_0x341114['action']))return;if(_0x341114['action']['type']!==_0x41a888)return;const _0x2a1c72=_0x2b99fe(_0x341114['action']);if(_0x341114['action']['isEnabled']=_0x2a1c72,_0x341114['buttonView']['isEnabled']=_0x2a1c72,!_0x2a1c72&&_0x341114['action']['model']){const _0x1a7e33=new _0x5f37cd['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x341114['action']['id'],'modelId':_0x341114['action']['model']});_0x5f37cd['logError'](_0x1a7e33['message']);}}),this['_actionButtons']['filter'](_0x33bcd9=>_0x521385(_0x33bcd9['action']))['forEach'](_0x54aff6=>{_0x54aff6['buttonView']['isEnabled']=_0x54aff6['action']['actions']['some'](_0x5577b0=>_0x5577b0['isEnabled']);}),this['_menuBarGroupViews']['forEach'](({view:_0x147038,group:_0x4e41c8})=>{_0x147038['isEnabled']=_0x4e41c8['actions']['some'](_0xd4db1d=>_0xd4db1d['isEnabled']);});}['_assignDefaultModelToCustomActions'](_0x4490a2){this['_actionButtons']['forEach'](_0x1b993d=>{_0x521385(_0x1b993d['action'])||'action'===_0x1b993d['action']['type']&&(_0x1b993d['action']['model']||(_0x1b993d['action']['model']=_0x4490a2));});}['_initializeQuickActionsComponentsAndCommands'](){const _0x888339=new _0x5f37cd['BodyCollection'](this['editor']['locale']);_0x888339['attachToDom'](),this['_initializeQuickActionsDropdown'](_0x888339),this['_initializeQuickActionsMenuBar'](),this['_initializeQuickActionsComponents'](_0x888339);}['_initializeQuickActionsDropdown'](_0x173f1b){const _0x3dc377=this['editor']['config']['get']('ai.quickActions.isSearchEnabled')??!0x0;this['editor']['ui']['componentFactory']['add']('aiQuickActions',_0x361f68({'editor':this['editor'],'content':this['_quickActionsDefinition'],'buttonDefinition':{'icon':_0x5f37cd['IconAIQuickActions'],'label':Qt(this['editor']['locale'],'AI_QUICK_ACTIONS_HEADING')},'bodyCollection':_0x173f1b,'hasSearch':_0x3dc377,'actionButtons':this['_actionButtons']}));}['_prepareQuickActionsDefinition'](_0x37a840){this['_quickActionsDefinition']=_0x37a840['map'](_0x1a88e2=>{if('actions'in _0x1a88e2){const _0xb89f18=_0x1a88e2;return{..._0xb89f18,'actions':_0xb89f18['actions']['map'](_0x2d1fca=>{const {actions:_0x1a17b0,..._0x1c268f}=_0xb89f18;return{..._0x2d1fca,'isEnabled':!0x1,'parent':_0x1c268f};})['filter'](_0x58d220=>this['_shouldIncludeAction'](_0x58d220))};}return{..._0x1a88e2,'isEnabled':!0x1};})['filter'](_0x27778a=>'actions'in _0x27778a?_0x27778a['actions']['length']>0x0:this['_shouldIncludeAction'](_0x27778a));}['_shouldIncludeAction'](_0x3eb982){const _0x3b7d47=this['editor']['config']['get']('ai.quickActions.removeCommands')||[];return this['editor']['plugins']['has'](_0x3e664f[_0x3eb982['type']])&&!_0x3b7d47['includes'](_0x3eb982['id'])&&!('chat'===_0x3eb982['type']&&!0x1===this['editor']['config']['get']('ai.chat.context.document.enabled'));}['_initializeQuickActionsComponents'](_0x5c6eb4){this['_quickActionsDefinition']['forEach'](_0x47dc94=>{if('actions'in _0x47dc94){const _0x370663=_0x361f68({'editor':this['editor'],'content':_0x47dc94['actions'],'buttonDefinition':_0x47dc94,'bodyCollection':_0x5c6eb4,'actionButtons':this['_actionButtons']});this['editor']['ui']['componentFactory']['add'](_0x47dc94['id'],_0x370663),_0x47dc94['actions']['forEach'](_0x3d15c2=>{const _0x470c12=_0x151610({'editor':this['editor'],'action':_0x3d15c2,'actionButtons':this['_actionButtons']});this['editor']['ui']['componentFactory']['add'](_0x3d15c2['id'],_0x470c12);});}else{const _0x17b647=_0x151610({'editor':this['editor'],'action':_0x47dc94,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1,'actionButtons':this['_actionButtons']});this['editor']['ui']['componentFactory']['add'](_0x47dc94['id'],_0x17b647);}});}['_initializeQuickActionsMenuBar'](){this['editor']['ui']['componentFactory']['add']('menuBar:aiQuickActions',_0x4bc963=>{const _0x46476b=this['editor']['commands']['get']('aiQuickAction'),_0x2067e0=new _0x5f37cd['MenuBarMenuView'](_0x4bc963),_0x30ed10=Qt(_0x4bc963,'AI_QUICK_ACTIONS_HEADING');_0x2067e0['buttonView']['set']({'label':_0x30ed10,'icon':_0x5f37cd['IconAIQuickActions']});const _0x17d9d5=new _0x5f37cd['MenuBarMenuListView'](_0x4bc963);return _0x17d9d5['set']({'ariaLabel':_0x30ed10,'role':'menu'}),this['_quickActionsDefinition']['forEach'](_0x136c90=>{if('actions'in _0x136c90){const _0x36e7f5=_0x136c90,_0x599e64=new _0x5f37cd['MenuBarMenuListItemView'](_0x4bc963,_0x2067e0),_0x183ed1=new _0x5f37cd['MenuBarMenuView'](_0x4bc963),_0x2079af=new _0x5f37cd['MenuBarMenuListView'](_0x4bc963);_0x183ed1['buttonView']['set']({'label':_0x36e7f5['label'],'icon':_0x36e7f5['icon']}),_0x36e7f5['actions']['forEach'](_0x1c38f4=>{const _0x4255c7=new _0x5f37cd['MenuBarMenuListItemView'](_0x4bc963,_0x183ed1),_0x105c04=new _0x5f37cd['MenuBarMenuListItemButtonView'](_0x4bc963);_0x105c04['set']({'label':_0x1c38f4['label'],'icon':_0x1c38f4['icon'],'role':'menuitem','isEnabled':_0x1c38f4['isEnabled']}),_0x105c04['on']('execute',()=>{this['_executeQuickAction'](_0x1c38f4);}),this['_actionButtons']['push']({'buttonView':_0x105c04,'action':_0x1c38f4}),_0x105c04['delegate']('execute')['to'](_0x183ed1),_0x4255c7['children']['add'](_0x105c04),_0x2079af['items']['add'](_0x4255c7);}),_0x183ed1['isEnabled']=_0x36e7f5['actions']['some'](_0x59147b=>_0x59147b['isEnabled']),this['_menuBarGroupViews']['push']({'view':_0x183ed1,'group':_0x36e7f5}),_0x183ed1['panelView']['children']['add'](_0x2079af),_0x599e64['children']['add'](_0x183ed1),_0x17d9d5['items']['add'](_0x599e64);}else{const _0xf96d61=_0x136c90,_0x30a75f=new _0x5f37cd['MenuBarMenuListItemView'](_0x4bc963,_0x2067e0),_0x1caf79=new _0x5f37cd['MenuBarMenuListItemButtonView'](_0x4bc963);_0x1caf79['set']({'label':_0xf96d61['label'],'icon':_0xf96d61['icon'],'role':'menuitem','isEnabled':_0xf96d61['isEnabled']}),this['_actionButtons']['push']({'buttonView':_0x1caf79,'action':_0xf96d61}),_0x1caf79['on']('execute',()=>{this['_executeQuickAction'](_0xf96d61);}),_0x1caf79['delegate']('execute')['to'](_0x2067e0),_0x30a75f['children']['add'](_0x1caf79),_0x17d9d5['items']['add'](_0x30a75f);}}),(Object['values'](_0x3e664f)['some'](_0x1cbf60=>this['editor']['plugins']['has'](_0x1cbf60))?_0x2067e0['bind']('isEnabled')['to'](_0x46476b):_0x2067e0['set']({'isEnabled':!0x1}),_0x2067e0['panelView']['children']['add'](_0x17d9d5),_0x2067e0);});}['_executeQuickAction'](_0x4747d0){const _0x2ed98c=this['editor'];_0x2ed98c['editing']['view']['focus'](),_0x2ed98c['commands']['execute']('aiQuickAction',_0x4747d0);const _0x30deb3=_0x2ed98c['ui']['view']['menuBarView'];_0x30deb3&&_0x30deb3['close']&&_0x30deb3['close']();}}function _0x521385(_0x489631){return'actions'in _0x489631;}class AIQuickActionsCommand extends _0x5f37cd['Command']{['execute'](_0x32aaa1){switch(this['_expandSelectionIfCollapsed'](),_0x32aaa1['type']){case'chat':if(!this['editor']['plugins']['has']('AIChat')){const _0x2862b7=Qt(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIChat');throw new _0x5f37cd['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x2862b7});}this['_handleAIChatAction'](_0x32aaa1);break;case'action':if(!this['editor']['plugins']['has']('AIActions')){const _0x5efa38=Qt(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIActions');throw new _0x5f37cd['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x5efa38});}this['_handleAIActionsAction'](_0x32aaa1);}}async['_handleAIChatAction'](_0x1a36ee){const _0x50fc58=this['editor']['plugins']['get']('AIChatController'),_0x225f4d=this['editor']['plugins']['get']('AITabs')['view'];if(_0x225f4d['isVisible']||(_0x225f4d['isVisible']=!0x0),'chat'!==_0x225f4d['activeTab']&&_0x225f4d['activateTab']('chat'),'ask-ai'===_0x1a36ee['id'])_0x50fc58['removeSelectionFromChatContext'](),_0x50fc58['addSelectionToChatContext'](this['editor']),_0x50fc58['focusPromptInput']();else await _0x50fc58['startConversation']({'modelId':_0x1a36ee['model']}),_0x50fc58['removeSelectionFromChatContext'](),_0x50fc58['addSelectionToChatContext'](this['editor']),_0x50fc58['focusPromptInput'](),await _0x50fc58['sendMessage']({'message':_0x1a36ee['prompt']||_0x1a36ee['displayedPrompt']||_0x1a36ee['label'],'attributes':{'quickActionData':{'id':_0x1a36ee['id']},'displayedPrompt':_0x1a36ee['displayedPrompt']}});}['_expandSelectionIfCollapsed'](){const _0x4c319d=this['editor'],_0x4499b7=_0x4c319d['model']['document']['selection'];if(!_0x4499b7['isCollapsed'])return;const _0x33f328=_0x5f37cd['first'](_0x4499b7['getSelectedBlocks']())||_0x4c319d['model']['schema']['getLimitElement'](_0x4499b7);_0x4c319d['model']['change'](_0x3317ba=>{_0x3317ba['setSelection'](_0x33f328,'in');});}['_handleAIActionsActionLabel'](_0x12120d){return _0x12120d['parent']?.['label']&&'other'!==_0x12120d['parent']?.['id']?_0x12120d['parent']['label']+':\x20'+_0x12120d['label']:_0x12120d['label'];}async['_handleAIActionsAction'](_0x53e22b){const _0x26e8ad=this['editor']['plugins']['get']('AIActions'),_0xdc34f0=_0x53e22b['prompt']?{'userMessage':_0x53e22b['prompt'],'model':_0x53e22b['model']}:{'actionName':_0x53e22b['actionName']||_0x53e22b['id'],'args':_0x53e22b['args']},_0xd9c007=this['_handleAIActionsActionLabel'](_0x53e22b);await _0x26e8ad['executeAction'](_0xdc34f0,_0xd9c007,_0x53e22b['icon']);}}class AIQuickActionsEditing extends _0x5f37cd['Plugin']{static get['pluginName'](){return'AIQuickActionsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x12bf2a=this['editor'],_0x2c6ce4=new AIQuickActionsCommand(this['editor']);if(_0x12bf2a['commands']['add']('aiQuickAction',_0x2c6ce4),_0x12bf2a['plugins']['has']('AIChat')){const _0x36ec43=this['editor']['plugins']['get']('AIChatController');_0x12bf2a['model']['document']['selection']['on']('change:range',(_0x17a4ea,_0x3ba17e)=>{_0x3ba17e['directChange']&&_0x36ec43['removeSelectionFromChatContext']();});}}}class AIActionsReply extends _0x173ae1{['appendContent'](_0x21b16b,_0x387915='text'){'modification'===this['type']&&'text'===_0x387915&&(_0x387915=this['documentContextContent']['keys']()['next']()['value']),super['appendContent'](_0x21b16b,_0x387915);}['updateChangeGroups'](_0x412c29){const _0x1b1050=this['parsedContent']['get'](_0x412c29)['cloneNode'](!0x0);if(this['parsedMergedContent']['set'](_0x412c29,_0x1b1050),this['changeGroups']=[],0x0==_0x1b1050['childNodes']['length'])return;_0x4e0d99(this['documentContextContent']['get'](_0x412c29),this['parsedMergedContent']['get'](_0x412c29));const _0xc80470=_0xc5f19f(this['documentContextContent']['get'](_0x412c29)['children']['map'](_0x4fa357=>({'node':_0x4fa357,'id':_0x31b99b(_0x4fa357,'data-id')})),_0x1b1050['children']['map'](_0x18a7f0=>({'node':_0x18a7f0,'id':_0x31b99b(_0x18a7f0,'data-id')||_0x5f37cd['uid']()})),{'comparator':(_0x3ec55b,_0x31d607)=>_0x3ec55b['id']==_0x31d607['id'],'oneChangePerToken':!0x0});if(!this['isDone']||!this['isComplete']){for(;_0xc80470['length']&&_0xc80470[_0xc80470['length']-0x1]['removed'];)_0xc80470['pop']();}const _0x1ffbb1=_0xc80470['map'](_0x282123=>{const _0xe506c2=_0x282123['added']?'new':_0x282123['removed']?'removed':'modified';return{'node':_0x282123['value'][0x0]['node'],'type':_0xe506c2,'id':_0x282123['value'][0x0]['id']};}),_0x212c25=this['_documentIdToSource']['get'](_0x412c29);this['changeGroups']['push']({'changes':_0x1ffbb1,'state':'pending','index':this['changeGroups']['length'],'editor':_0x212c25['editor'],'rootName':_0x212c25['rootName'],'documentId':_0x412c29});}['_getDifferentChangeGroups'](_0x2be7f2,_0x3d3a30){return _0x3d3a30;}}class AIActionsInteraction extends AIInteraction{['content'];['version'];['editor'];['rootName'];['actionName'];['args'];['userMessage'];['model'];['hasError']=!0x1;['stoppedExplicitly']=!0x1;constructor(_0x3e5908){super(_0x3e5908),this['content']=_0x3e5908['content'],this['version']=_0x3e5908['version'],this['editor']=_0x3e5908['editor'],this['rootName']=_0x3e5908['rootName'],this['actionName']=_0x3e5908['actionName'],this['args']=_0x3e5908['args'],this['userMessage']=_0x3e5908['userMessage'],this['model']=_0x3e5908['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':'document','documents':[{'id':this['id'],'content':this['content'],'version':this['version'],'rootName':this['rootName'],'sessionId':_0x5f37cd['uid'](),'channelId':this['editor']['config']['get']('collaboration.channelId')}],'label':'Current\x20document','uiId':'current-document'};}['createReply'](_0x186713){const _0x471129=this['editor']['config']['get']('collaboration.channelId'),_0x1d4b40=new AIActionsReply({..._0x186713,'locale':this['locale'],'documentContextContent':[{'id':this['id'],'content':this['content'],'channelId':_0x471129,'rootName':this['rootName']}],'channelsToEditors':new Map([[_0x471129,this['editor']]])});return this['replies']['push'](_0x1d4b40),_0x1d4b40['delegate'](..._0x6ace29)['to'](this),this['fire']('replyCreated',_0x1d4b40),_0x1d4b40;}}class AIActionsBalloonToolbarView extends _0x5f37cd['ToolbarView']{constructor(_0xa682ea,_0x24780=!0x0,_0x4c45f7=!0x0){super(_0xa682ea),this['set']('isEnabled',!0x1),_0x24780&&(this['applyButton']=this['_createButton'](Qt(_0xa682ea,'AI_BALLOON_APPLY_BUTTON'),Vt),this['applyButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['applyButton'])),_0x4c45f7&&(this['suggestButton']=this['_createButton'](Qt(_0xa682ea,'AI_BALLOON_SUGGEST_BUTTON'),_0x24780?Ut:Vt),this['suggestButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['suggestButton'])),this['setButtonsVisibility']({'showApplyButton':_0x24780,'showSuggestButton':_0x4c45f7}),this['extendTemplate']({'attributes':{'class':['ck-ai-balloon__toolbar']}});}['setButtonsVisibility']({showApplyButton:_0xa5439f,showSuggestButton:_0xc524f1}){this['applyButton']&&(this['applyButton']['isVisible']=_0xa5439f),this['suggestButton']&&(this['suggestButton']['isVisible']=_0xc524f1);}['_createButton'](_0x3f36b5,_0xf2c21){const _0x43d242=new _0x5f37cd['ButtonView'](this['locale']);return _0x43d242['set']({'label':_0x3f36b5,'class':_0xf2c21,'isVisible':!0x0,'withText':!0x0}),_0x43d242;}}class AIActionsBalloonDisclaimerView extends _0x5f37cd['View']{constructor(_0x273422){super(_0x273422),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(_0x273422,'AI_DISCLAIMER_TEXT')}]}]});}}class AISuggestionLoaderView extends _0x5f37cd['View']{constructor(_0xf0a255){super(_0xf0a255),this['set']('isVisible',!0x0);const _0x4c27b0=new _0x3dc227('small');_0x4c27b0['isVisible']=!0x0;const _0x3e8ae8=new _0x5f37cd['View'](this['locale']);_0x3e8ae8['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',_0xe9a864=>!_0xe9a864)]},'children':[_0x4c27b0,_0x3e8ae8]});}}class AIActionsBalloonView extends _0xe96be3{['focusCycler'];['_config'];['_contentWrapper'];['_streamableContentView'];['_toolbarView'];['_miniToolbarView'];['_loaderView'];['_disclaimerView'];['_focusTracker'];['_keystrokes'];['_dialogContent'];['_focusables'];['_scrollManager'];['_navigationPreviousButton'];['_navigationNextButton'];['_navigationTryAgainButton'];['_navigationCounter'];constructor(_0x497f32,_0x1a631f){super(_0x497f32),this['set']('isBusy',!0x1),this['set']('isTrackChangesOn',!0x1),this['set']('_isLoading',!0x1),this['set']('_hasError',!0x1),this['_config']=_0x1a631f,this['_focusTracker']=new _0x5f37cd['FocusTracker'](),this['_keystrokes']=new _0x5f37cd['KeystrokeHandler'](),this['_focusables']=this['createCollection'](),this['focusCycler']=new _0x5f37cd['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_dialogContent']=new _0x5f37cd['ViewCollection'](),this['_addContentWrapper'](_0x1a631f),this['_addDisclaimerView'](),this['_addToolbar'](_0x1a631f),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'](_0x1a631f);});}['render'](){super['render']();for(const _0x208507 of this['_focusables'])this['_focusTracker']['add'](_0x208507['element']);this['_keystrokes']['listenTo'](this['element']),this['_initializeScrollManager']();}['destroy'](){super['destroy'](),this['_scrollManager']&&this['_scrollManager']['destroy']();}['focus'](_0x1ef683){-0x1===_0x1ef683?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['setIsLoading'](_0x3c4fc2){this['_isLoading']=_0x3c4fc2;}['setErrorState'](){this['_hasError']=!0x0,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x1);}['clearErrorState'](){this['_hasError']=!0x1,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x0);}['showError'](_0x287bfd){super['showError'](_0x287bfd),this['_dialogContent']['has'](this['_errorView'])||this['_dialogContent']['add'](this['_errorView'],0x0);}['hideError'](){super['hideError'](),this['clearErrorState']();}['showBlockingError'](_0x41e84d){super['showBlockingError'](_0x41e84d),this['setErrorState']();}['addMiniToolbarItem'](_0x20a0db){this['_miniToolbarView']['items']['has'](_0x20a0db)||this['_miniToolbarView']['items']['add'](_0x20a0db);}['removeMiniToolbarItem'](_0x1ad765){this['_miniToolbarView']['items']['has'](_0x1ad765)&&this['_miniToolbarView']['items']['remove'](_0x1ad765);}['showLoader'](){this['_loaderView']&&(this['_isLoading']=!0x0);}['hideLoader'](){this['_loaderView']&&(this['_isLoading']=!0x1);}['_toggleToolbarButtonsVisibility']({showApplyButton:_0x2d3b56,showSuggestButton:_0x57080e}){_0x2d3b56=_0x2d3b56&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x57080e=_0x57080e&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_toolbarView']['setButtonsVisibility']({'showApplyButton':_0x2d3b56,'showSuggestButton':_0x57080e});}async['updateContent'](_0x53ec1e){await this['_streamableContentView']['update'](_0x53ec1e);}['clearContent'](){this['_streamableContentView']['clear']();}['_addContentWrapper'](_0x3252f0){this['_contentWrapper']=new _0x5f37cd['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'](_0x3252f0['miniToolbarConfig'])]}),this['_dialogContent']['add'](this['_contentWrapper']);}['_addDisclaimerView'](){this['_disclaimerView']=new AIActionsBalloonDisclaimerView(this['locale']),this['_dialogContent']['add'](this['_disclaimerView']);}['_addToolbar']({showApplyButton:_0x505e37,showSuggestButton:_0x433e1f}){this['_toolbarView']=new AIActionsBalloonToolbarView(this['locale'],_0x505e37,_0x433e1f),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',(_0x25b973,_0x3b8122,_0x193c46)=>!(_0x25b973||_0x3b8122||_0x193c46)),this['_toggleToolbarButtonsVisibility']({'showApplyButton':_0x505e37,'showSuggestButton':_0x433e1f}),this['_dialogContent']['add'](this['_toolbarView']);}['_createMiniToolbar'](_0x36aa24){return this['_miniToolbarView']=new _0x4ebd06(this['locale'],_0x36aa24),this['_miniToolbarView']['delegate'](..._0x67706d)['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',(_0x4c6784,_0x55324f)=>!(_0x4c6784||_0x55324f)),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 _0xf4df75=new _0x5f37cd['ButtonView'](this['locale']),_0x3aec3f=new _0x5f37cd['ButtonView'](this['locale']),_0x3c0c62=new AIActionsBalloonNavigationCounterView(this['locale']),_0x4bb916=new _0x5f37cd['ButtonView'](this['locale']);_0xf4df75['set']({'icon':_0x5f37cd['IconRefresh'],'label':Qt(this['locale'],'AI_ACTIONS_TRY_AGAIN'),'tooltip':!0x0,'class':'ck-ai-custom-action-button\x20'+Bt}),_0x3aec3f['set']({'icon':_0x5f37cd['IconPreviousArrow'],'tooltip':Qt(this['locale'],'AI_ACTIONS_PREVIOUS_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-previous-button\x20'+Bt}),_0x4bb916['set']({'icon':_0x5f37cd['IconNextArrow'],'tooltip':Qt(this['locale'],'AI_ACTIONS_NEXT_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-next-button\x20'+Bt}),_0xf4df75['bind']('isEnabled')['to'](this,'isBusy',_0x54d3f9=>!_0x54d3f9),_0xf4df75['on']('execute',()=>{this['fire']('tryAgain');}),_0x3aec3f['bind']('isEnabled')['to'](this,'isBusy',_0x17e196=>!_0x17e196),_0x3aec3f['on']('execute',()=>{this['fire']('showPrevious');}),_0x4bb916['bind']('isEnabled')['to'](this,'isBusy',_0x4e934e=>!_0x4e934e),_0x4bb916['on']('execute',()=>{this['fire']('showNext');}),this['_navigationPreviousButton']=_0x3aec3f,this['_navigationCounter']=_0x3c0c62,this['_navigationNextButton']=_0x4bb916,this['_navigationTryAgainButton']=_0xf4df75;}['updateMiniToolbarButtons'](_0x4ac04e,_0x3ac5f2){this['_navigationPreviousButton']||this['_setupMiniToolbarButtons']();const _0x5277ed=_0x4ac04e>0x1;if(this['addMiniToolbarItem'](this['_navigationTryAgainButton']),_0x5277ed){this['addMiniToolbarItem'](this['_navigationPreviousButton']),this['addMiniToolbarItem'](this['_navigationCounter']),this['addMiniToolbarItem'](this['_navigationNextButton']);const _0xee8eb=_0x4ac04e-_0x3ac5f2;this['_navigationCounter']['setInteractionCount'](_0xee8eb+'/'+_0x4ac04e),this['_navigationPreviousButton']['isEnabled']=_0x3ac5f2<_0x4ac04e-0x1,this['_navigationNextButton']['isEnabled']=_0x3ac5f2>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'](_0x425237){this['_isLoading']=_0x425237;}['resetShowChangesButton'](){this['_miniToolbarView']['isShowChangesOn']=!0x1;}['_initializeScrollManager'](){const _0xbd4a86=this['_getScrollableElement']();_0xbd4a86&&!this['_scrollManager']&&(this['_scrollManager']=new _0x5f369b(_0xbd4a86));}['_getScrollableElement'](){return this['_streamableContentView']['element'];}}class AIActionsBalloonNavigationCounterView extends _0x5f37cd['View']{constructor(_0x5d881c){super(_0x5d881c);const _0x45f4e3=this['bindTemplate'];this['set']('interactionCount','1/1'),this['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-interaction-counter']},'children':[{'text':_0x45f4e3['to']('interactionCount')}]});}['setInteractionCount'](_0x1b3e91){this['set']('interactionCount',_0x1b3e91);}}class AIActions extends _0x5f37cd['Plugin']{static get['requires'](){return[AIConnector,_0x5f37cd['Dialog'],AIEditing,_0x285687,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(_0x3db391){super(_0x3db391),this['_bodyCollection']=new _0x5f37cd['BodyCollection'](this['editor']['locale']),this['_bodyCollection']['attachToDom'](),this['_aiConnector']=this['editor']['plugins']['get']('AIConnector'),this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x3376aa();}['stopInteraction'](){this['_stopInteraction']();}async['executeAction'](_0x548eb1,_0x15c8d4,_0x31ea6b){if(this['_stopInteraction'](),this['editor']['plugins']['has']('TableSelection')){if(this['editor']['plugins']['get']('TableSelection')['getSelectedTableCells']()){const {modelFragment:_0xe5e621,anchorData:_0x492eaa,root:_0x24e602}=this['_getExecuteDataInTable']();return this['_executeAction'](_0x548eb1,_0xe5e621,_0x492eaa,_0x24e602,_0x15c8d4,_0x31ea6b);}}const {modelFragment:_0x16cf6f,anchorData:_0x2a10c1,root:_0x5eac87}=this['_getExecuteDataRegular']();return this['_executeAction'](_0x548eb1,_0x16cf6f,_0x2a10c1,_0x5eac87,_0x15c8d4,_0x31ea6b);}async['destroy'](){return this['_stopInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_createActionsBalloonView'](){const _0x1df896=this['editor']['plugins']['has']('TrackChanges');let _0x53d246=this['editor']['config']['get']('ai.availableReplyActions')||[..._0x42c794];_0x1df896||(_0x53d246=_0x53d246['filter'](_0x3e7015=>'insertSuggestion'!=_0x3e7015));const _0x3dc812=this['editor']['commands']['get']('trackChanges'),_0x2fd3fc=new AIActionsBalloonView(this['editor']['locale'],{'showApplyButton':!0x0,'showSuggestButton':_0x1df896,'miniToolbarConfig':{'showChanges':'icon'},'availableActions':_0x53d246});return _0x2fd3fc['bind']('isBusy')['to'](this),_0x3dc812&&_0x2fd3fc['bind']('isTrackChangesOn')['to'](_0x3dc812,'value'),_0x2fd3fc['on']('tryAgain',()=>{this['_refreshInteraction']();}),_0x2fd3fc['on']('showPrevious',()=>{this['_navigateToPrevious']();}),_0x2fd3fc['on']('showNext',()=>{this['_navigateToNext']();}),_0x2fd3fc;}['_normalizeSelectionStart'](){const _0x367ac4=this['editor']['model'],_0x4e19c1=_0x367ac4['document']['selection'],_0x4f5430=_0x4e19c1['getFirstRange']();if(!_0x4f5430||_0x4f5430['isCollapsed'])return;const _0x3f6797=_0x5f37cd['first'](_0x4e19c1['getSelectedBlocks']());if(!_0x3f6797)return;const _0x3b4b9=_0x367ac4['createPositionAt'](_0x3f6797,0x0);_0x3b4b9['isAfter'](_0x4f5430['start'])&&_0x367ac4['change'](_0x2cf94c=>{_0x2cf94c['setSelection'](_0x2cf94c['createRange'](_0x3b4b9,_0x4f5430['end']));});}['_getExecuteDataRegular'](){const _0x404932=this['editor']['model']['document']['selection'],_0x4016d5=_0x404932['getFirstRange']()['start']['root'];if(_0x404932['isCollapsed']){const _0x592227=_0x5f37cd['first'](_0x404932['getSelectedBlocks']())||this['editor']['model']['schema']['getLimitElement'](_0x404932);this['editor']['model']['change'](_0x2dd05b=>{_0x2dd05b['setSelection'](_0x592227,'in');});}this['_normalizeSelectionStart']();const _0x44ee31=_0x404932['getFirstRange'](),_0x5ed453=this['_wrapWithCommonAncestors'](this['editor']['model']['getSelectedContent'](_0x404932),_0x44ee31['start'],_0x44ee31['end']);this['_copyMarkersToFragment'](_0x5ed453,_0x404932,{'isTableSelection':!0x1});const _0x428126=_0x404932['getFirstRange']()['start'],_0xfb109d=new Map();let _0x5c7cd0=_0x5ed453;for(let _0x4f8aca=0x0;_0x4f8aca<_0x428126['path']['length'];_0x4f8aca++)_0xfb109d['set'](_0x5c7cd0,_0x428126['path'][_0x4f8aca]),_0x5c7cd0=_0x5c7cd0['getChild'](0x0);return{'modelFragment':_0x5ed453,'anchorData':_0xfb109d,'root':_0x4016d5};}['_getExecuteDataInTable'](){const _0x4afef4=this['editor']['model']['document']['selection'],_0x518cf2=this['editor']['plugins']['get']('TableSelection'),_0x49ec5f=_0x4afef4['getFirstRange']()['start']['root'],_0x2dfa74=_0x518cf2['getSelectionAsFragment'](),_0x5a3f33=_0x4afef4['getFirstRange']()['start']['parent']['parent'],_0x331475=this['editor']['model']['createRange'](this['editor']['model']['createPositionBefore'](_0x5a3f33),this['editor']['model']['createPositionAfter'](_0x5a3f33)),_0x14e4f7=this['_wrapWithCommonAncestors'](_0x2dfa74,_0x331475['start'],_0x331475['end']);this['_copyMarkersToFragment'](_0x14e4f7,_0x4afef4,{'isTableSelection':!0x0});const _0x518f27=_0x4afef4['getFirstRange']()['start'],_0x40ab7b=new Map();let _0x9ece32=_0x14e4f7;for(let _0x3e9304=0x0;_0x3e9304<_0x518f27['path']['length'];_0x3e9304++)if(_0x40ab7b['set'](_0x9ece32,_0x518f27['path'][_0x3e9304]),_0x3e9304<_0x518f27['path']['length']-0x1)_0x9ece32=_0x9ece32['getChild'](0x0);else{let _0x26ba1a=_0x9ece32['nextSibling'];for(;_0x26ba1a;)_0x40ab7b['set'](_0x26ba1a,_0x518f27['path'][_0x3e9304]),_0x26ba1a=_0x26ba1a['nextSibling'];}return{'modelFragment':_0x14e4f7,'anchorData':_0x40ab7b,'root':_0x49ec5f};}async['_executeAction'](_0x16e61c,_0x5b66f3,_0x224726,_0x282373,_0x2c0cf9,_0x4a30a7){const _0x40095e=this['editor']['plugins']['get'](AIEditing),_0x2496b1=this['editor']['plugins']['get'](_0x285687),_0x7f4721=this['editor']['model']['document']['selection'],_0x1cd966=await _0x40095e['modelToDataWithIds'](_0x5b66f3,this['editor']),_0x26fd24=this['editor']['model']['document']['version'],_0x569b2c=[..._0x7f4721['getRanges']()];return this['_actionsBalloonView']||(this['_actionsBalloonView']=this['_createActionsBalloonView']()),this['_clearInteractionHistory'](),this['_clearErrorState'](),this['_balloonShowDiff']=!0x1,this['_actionsBalloonView']['resetShowChangesButton'](),this['_actionsBalloonView']['clearContent'](),_0x2496b1['open']({'targetEditor':this['editor'],'index':0x3e8*Math['random']()%0x3e8,'title':_0x2c0cf9,'icon':_0x4a30a7||_0x5f37cd['IconAIQuickActions'],'mainView':this['_actionsBalloonView'],'class':'ck-ai-actions-balloon','ranges':_0x569b2c,'id':'aiActionsBalloon'}),this['_setLoadingState'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x2496b1),this['_interactionParams']={'action':_0x16e61c,'content':_0x1cd966,'version':_0x26fd24,'aiBalloon':_0x2496b1,'modelFragment':_0x5b66f3,'anchorData':_0x224726,'root':_0x282373},this['_setupApplyListeners'](),this['listenTo'](_0x2496b1,'selectionRemoved',()=>{this['_stopInteraction'](),this['_actionsBalloonView']['disableMiniToolbarButtons']();}),this['listenTo'](_0x2496b1,'dialogClosed',(_0x1433ed,{id:_0x33afb6})=>{if('aiActionsBalloon'===_0x33afb6){for(const _0x228269 of this['_interactions']){if(0x0===_0x228269['replies']['length']||_0x228269['stoppedExplicitly'])continue;const _0x349e93=_0x228269['replies'][_0x228269['replies']['length']-0x1],_0x484dc0=_0x349e93['changeGroups'][0x0];_0x484dc0&&'pending'===_0x484dc0['state']&&_0x349e93['setChangeGroupState'](0x0,'rejected');}this['_stopInteraction'](),this['_clearInteractionHistory'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x2496b1);}}),this['_createInteraction'](_0x1cd966,_0x26fd24,_0x2496b1,_0x16e61c);}['_setupApplyListeners'](){if(!this['_interactionParams'])return;const {modelFragment:_0x1a3812,anchorData:_0x16ba53,root:_0x3b6cfd}=this['_interactionParams'];this['listenTo'](this['_actionsBalloonView'],'applySuggestion',()=>{this['_applyChanges'](_0x1a3812,_0x16ba53,_0x3b6cfd,!0x1);}),this['listenTo'](this['_actionsBalloonView'],'insertSuggestion',()=>{this['_applyChanges'](_0x1a3812,_0x16ba53,_0x3b6cfd,!0x0);});}['_wrapWithCommonAncestors'](_0x1233e8,_0x3f6d35,_0x3ba561){const _0x4ba5f3=this['editor']['model']['createRange'](_0x3f6d35,_0x3ba561)['getCommonAncestor'](),_0x168ba5=_0x4ba5f3['is']('documentFragment')?[]:_0x4ba5f3['getAncestors']({'includeSelf':!0x0})['slice'](0x1);if(_0x168ba5['length']){const _0x48c408=_0x168ba5['map'](_0x1e67a9=>_0x1e67a9['_clone'](!0x1));for(let _0x199005=0x1;_0x199005<_0x48c408['length'];_0x199005++)_0x48c408[_0x199005-0x1]['_appendChild'](_0x48c408[_0x199005]);return _0x48c408[_0x48c408['length']-0x1]['_appendChild'](_0x1233e8),new _0x5f37cd['ModelDocumentFragment'](_0x48c408[0x0]);}return _0x1233e8;}['_copyMarkersToFragment'](_0x126252,_0x529c13,_0x457dac={'isTableSelection':!0x1}){const _0x51faf5=this['editor']['model'],_0x2a0eec=Array['from'](_0x529c13['getRanges']()),_0x3588c9=_0x529c13['getFirstRange']()['start'];for(const _0x4fc1bb of _0x51faf5['markers']){if(_0x4fc1bb['name']['startsWith'](_0xc01959)||!_0x4fc1bb['affectsData'])continue;const _0x158768=_0x4fc1bb['getRange']();if(!_0x2a0eec['some'](_0x53cd28=>_0x53cd28['containsRange'](_0x158768,!0x0)))continue;const _0x5d7d9d=this['_regularCalculateMarkerPath'](_0x158768['start'],_0x3588c9,_0x457dac['isTableSelection']),_0x170903=this['_regularCalculateMarkerPath'](_0x158768['end'],_0x3588c9,_0x457dac['isTableSelection']),_0x328c11=_0x51faf5['createPositionFromPath'](_0x126252,_0x5d7d9d),_0x53621b=_0x51faf5['createPositionFromPath'](_0x126252,_0x170903);if(!_0x328c11['isEqual'](_0x53621b)){const _0x246ea0=_0x51faf5['createRange'](_0x328c11,_0x53621b);_0x126252['markers']['set'](_0x4fc1bb['name'],_0x246ea0);}}}['_regularCalculateMarkerPath'](_0x534e56,_0x4b0040,_0x8d3e99=!0x1){const _0x31b76a=[..._0x534e56['path']['slice']()];for(let _0x3f301b=0x0;_0x3f301b<Math['max'](_0x4b0040['path']['length'],_0x534e56['path']['length']);_0x3f301b++){const _0x3882e7=_0x4b0040['path'][_0x3f301b]||0x0,_0x394e7b=(_0x534e56['path'][_0x3f301b]||0x0)-_0x3882e7;if(_0x31b76a[_0x3f301b]=_0x394e7b,0x0!==_0x394e7b&&!_0x8d3e99)break;}return _0x31b76a;}async['_createInteraction'](_0x11a4d1,_0x465af5,_0x4403f5,_0x1eb55d){const _0x36967e=this['editor'],_0x3eefd3=_0x36967e['model']['document']['selection']['getFirstRange']()['start']['root'];this['_interactionParams']||(this['_interactionParams']={'action':_0x1eb55d,'content':_0x11a4d1,'version':_0x465af5,'aiBalloon':_0x4403f5,'modelFragment':this['editor']['model']['getSelectedContent'](this['editor']['model']['document']['selection']),'anchorData':new Map(),'root':_0x3eefd3});const _0x45f39c=new AIActionsInteraction({'connector':this['_aiConnector'],'locale':_0x36967e['locale'],'content':_0x11a4d1,'version':_0x465af5,'editor':_0x36967e,'rootName':_0x3eefd3['rootName'],..._0x1eb55d});this['_interactions']['push'](_0x45f39c);const _0xbe6448=(_0x59a0ed,_0x4efd31=!0x1,_0x545fc3='streaming')=>this['_promiseQueue']['enqueue'](async _0x455f4b=>{try{const _0x2711e7=_0x2f060b({'changeGroups':_0x59a0ed['changeGroups'],'documentContextContent':_0x59a0ed['documentContextContent'],'showDiff':_0x4efd31,'trimUnchanged':!0x1});_0x2711e7['length']&&await this['_actionsBalloonView']['updateContent']({'part':_0x2711e7[0x0],'renderingStrategy':_0x545fc3,'abortSignal':_0x455f4b});}catch(_0x59e092){if(this['_isAbortError'](_0x59e092))return;throw _0x59e092;}});_0x45f39c['on']('replyCreated',(_0x27d22b,_0x300153)=>{this['_actionsBalloonView']['hideLoader'](),this['_actionsBalloonView']['startAutoScroll'](),_0xbe6448(_0x300153)['catch'](_0x339416=>{this['_isAbortError'](_0x339416)||(console['error']('Error\x20updating\x20content\x20in\x20replyCreated:',_0x339416),this['_setErrorState'](_0x45f39c));});}),_0x45f39c['on']('replyContentUpdated',(_0x5c3212,_0x11b4a5)=>{_0xbe6448(_0x11b4a5)['catch'](_0x3940f1=>{this['_isAbortError'](_0x3940f1)||(console['error']('Error\x20updating\x20content\x20in\x20replyContentUpdated:',_0x3940f1),this['_setErrorState'](_0x45f39c));});}),_0x45f39c['on']('interactionFinished',async()=>{try{await this['_clearLoadingState'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),await this['_promiseQueue']['queueEmptyPromise'];}catch(_0x1168b4){this['_isAbortError'](_0x1168b4)||(console['error']('Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:',_0x1168b4),this['_setErrorState'](_0x45f39c));}finally{this['_actionsBalloonView']['stopAutoScroll']();}}),this['listenTo'](this['_actionsBalloonView'],'toggleSuggestionDisplayMode',async(_0x363b0d,{showDiff:_0x19c995})=>{try{this['_balloonShowDiff']=_0x19c995;const _0xaa8af3=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1];_0xaa8af3&&await _0xbe6448(_0xaa8af3,_0x19c995,'static');}catch(_0xfb6ea8){this['_isAbortError'](_0xfb6ea8)||(console['error']('Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:',_0xfb6ea8),this['_setErrorState'](_0x45f39c));}}),_0x45f39c['on']('replyChangeGroupStateUpdated',()=>{const _0x4b22d0={'positiveCount':_0x45f39c['replies']['reduce']((_0x22ea45,_0xb1fc0f)=>_0x22ea45+_0xb1fc0f['changeGroups']['filter'](_0x5d0950=>'accepted'===_0x5d0950['state'])['length'],0x0),'totalCount':_0x45f39c['replies']['reduce']((_0x383759,_0x4dc661)=>_0x383759+_0x4dc661['changeGroups']['length'],0x0)},_0x542ca6=_0x45f39c['actionCallId'],_0x2b6064=_0x45f39c['actionName'];_0x2b6064?this['_aiConnector']['upsertAIActionRating'](_0x2b6064,_0x542ca6,_0x4b22d0):this['_aiConnector']['upsertCustomAIActionRating'](_0x542ca6,_0x4b22d0);}),this['_setLoadingState']();try{const _0x4b1369=await _0x45f39c['start']();return this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),_0x4b1369;}catch(_0x40c68a){if(this['_isAbortError'](_0x40c68a))return;this['_actionsBalloonView']['hideLoader'](),this['_setErrorState'](_0x45f39c);}}['_applyChanges'](_0x1f2c71,_0x4ac3d7,_0x32b069,_0x4395e6){const _0x12d7fc=this['editor'];if(_0x4395e6&&!_0x12d7fc['plugins']['has']('TrackChanges'))throw new _0x5f37cd['CKEditorError']('ai-no-track-changes',null);const _0x26c157=this['editor']['plugins']['get'](DocumentCompare),_0x7055f7=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x7055f7||!_0x7055f7['replies']['length'])return;const _0x370fdc=_0x7055f7['replies'][_0x7055f7['replies']['length']-0x1],_0x5b28b8=_0x370fdc['changeGroups'];_0x370fdc['setChangeGroupState'](0x0,'accepted');let _0x34a034=_0x4fc9b8({'reply':_0x370fdc,'interaction':_0x7055f7,'groups':_0x5b28b8,'transform':!0x1,'documentCompare':_0x26c157,'documentCompareOptions':{'anchor':_0x12d7fc['model']['createPositionAt'](_0x1f2c71,0x0),'markDeletions':_0x4395e6}});_0x34a034=this['_filterOperationsOutsideRange'](_0x34a034,_0x4ac3d7);for(const _0x1ba2e3 of _0x34a034)this['_anchorOperation'](_0x4ac3d7,_0x1ba2e3,_0x32b069);const _0x216636=_0x7055f7['getDocumentContext']()['documents'][0x0]['version'],_0x2eaa61=_0x12d7fc['model']['document']['history']['getOperations'](_0x216636),_0x4615c3={'document':_0x12d7fc['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3b4f68=_0x5f37cd['transformOperationSets'](_0x34a034,_0x2eaa61,_0x4615c3)['operationsA'];_0x12d7fc['model']['change'](_0x2a17d6=>{if(_0x2a17d6['setSelection'](_0x12d7fc['model']['document']['selection']['focus']),_0x4395e6)_0x12d7fc['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x3b4f68);else{for(const _0x18c750 of _0x3b4f68)_0x18c750['baseVersion']=_0x12d7fc['model']['document']['version'],_0x339828(_0x12d7fc,_0x18c750),_0x2a17d6['batch']['addOperation'](_0x18c750),_0x12d7fc['model']['applyOperation'](_0x18c750);}}),this['editor']['plugins']['get']('AIBalloon')['close']();}['_filterOperationsOutsideRange'](_0x53ebed,_0x48c6a5){return _0x53ebed['filter'](_0x3d9cf9=>{if('rename'==_0x3d9cf9['type']){const _0x2c7683=_0x3d9cf9['position']['nodeAfter'];return!_0x48c6a5['has'](_0x2c7683);}if(_0x3d9cf9['type']['indexOf']('Attribute')>-0x1){const _0x42236f=_0x3d9cf9['range']['start']['nodeAfter'];return!_0x48c6a5['has'](_0x42236f);}return!0x0;});}['_anchorOperation'](_0x16ed4d,_0x191f57,_0x139fa6){const _0x3850f5=_0x191f57['clone']();for(const _0x39106d in _0x191f57){const _0x47f3e3=_0x191f57[_0x39106d];_0x47f3e3 instanceof _0x5f37cd['ModelRange']?_0x191f57[_0x39106d]=new _0x5f37cd['ModelRange'](_0x3132a3(_0x47f3e3['start']),_0x3132a3(_0x47f3e3['end'])):_0x47f3e3 instanceof _0x5f37cd['ModelPosition']&&(_0x191f57[_0x39106d]=_0x3132a3(_0x47f3e3));}if(['insert','move','remove','reinsert','split','merge']['includes'](_0x3850f5['type'])){if(_0x3850f5['isDocumentOperation']=!0x1,_0x3850f5['baseVersion']=null,'remove'==_0x3850f5['type']){const _0x47b8f8=_0x3850f5['sourcePosition'],_0x48d6a6=_0x3850f5['howMany'];new _0x5f37cd['_DetachOperation'](_0x47b8f8,_0x48d6a6)['_execute']();}else _0x3850f5['_execute']();}function _0x3132a3(_0x39878a){if('$graveyard'==_0x39878a['root']['rootName'])return _0x39878a;const _0x1cf3a8=[];let _0x555acc=_0x39878a['root'];for(let _0x360037=0x0;_0x360037<_0x39878a['path']['length'];_0x360037++){const _0x3a86da=_0x16ed4d['get'](_0x555acc)||0x0;_0x1cf3a8[_0x360037]=_0x39878a['path'][_0x360037]+_0x3a86da,_0x555acc=_0x555acc['getChildAtOffset'](_0x39878a['path'][_0x360037]);}return new _0x5f37cd['ModelPosition'](_0x139fa6,_0x1cf3a8,_0x39878a['stickiness']);}}['_refreshInteraction'](){if(!this['_interactionParams'])return;this['_interactions']['length']>0x0&&this['_stopInteraction'](),this['_currentInteractionIndex']=0x0,this['_balloonShowDiff']=!0x1;const {action:_0x9d109,content:_0x6952b,version:_0x2fb6db,aiBalloon:_0x22521d}=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'](_0x6952b,_0x2fb6db,_0x22521d,_0x9d109)['catch'](_0x845ae6=>{this['_isAbortError'](_0x845ae6)||console['error']('Error\x20refreshing\x20interaction:',_0x845ae6);});}['_isAbortError'](_0x5ed451){return!!_0x5ed451['message']&&_0x5ed451['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 _0x29a608=this['_interactions']['length'];this['_currentInteractionIndex']<_0x29a608-0x1&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']+0x1);}['_navigateToNext'](){this['_currentInteractionIndex']>0x0&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']-0x1);}async['_displayInteractionAtIndex'](_0x18f5ea){if(!this['_interactionParams'])return;this['_currentInteractionIndex']=_0x18f5ea;const _0x168e1d=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x168e1d)return;if(_0x168e1d['hasError'])return this['_setErrorState'](_0x168e1d),void this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);if(!_0x168e1d['replies']['length'])return;this['_actionsBalloonView']['hideError'](),this['_interactionParams']&&this['_clearErrorState']();const _0x38f45c=_0x168e1d['replies'][_0x168e1d['replies']['length']-0x1];if(_0x38f45c)try{const _0xfcfc90=_0x2f060b({'changeGroups':_0x38f45c['changeGroups'],'documentContextContent':_0x38f45c['documentContextContent'],'showDiff':this['_balloonShowDiff'],'trimUnchanged':!0x1});await new Promise(_0x564b9c=>setTimeout(_0x564b9c,0x32)),await this['_actionsBalloonView']['updateContent']({'part':_0xfcfc90[0x0],'renderingStrategy':'static','abortSignal':new AbortController()['signal']});}catch(_0x20e506){this['_isAbortError'](_0x20e506)||console['error']('Error\x20updating\x20content\x20during\x20navigation:',_0x20e506);}this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_setLoadingState'](){this['_actionsBalloonView']['setIsLoading'](!0x0),this['isBusy']=!0x0;}async['_setErrorState'](_0x559cf4){const _0x257933=Qt(this['editor']['locale'],'AI_ACTIONS_GENERIC_ERROR');this['_actionsBalloonView']['showError'](_0x257933),_0x559cf4['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 _0x5f37cd['Plugin']{static get['requires'](){return[AIQuickActionsUI,AIQuickActionsEditing,AIActions];}static get['pluginName'](){return'AIQuickActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xac9356){super(_0xac9356),_0xac9356['config']['define']('ai.quickActions',{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}class AIReviewCoreReviewCheckListItemResultsView extends _0x5f37cd['View']{['resultResponseView'];['acceptButtonView'];['dismissButtonView'];['infoButtonView'];['outdatedButtonView'];constructor(_0xe057fc,_0xf573cb){super(_0xe057fc),this['id']=_0xf573cb,this['set']('status','pending'),this['set']('changeId',_0xf573cb),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',(_0x18ace8,_0xdab25a)=>{_0xdab25a&&_0xdab25a['target']&&'A'===_0xdab25a['target']['tagName']&&_0xdab25a['preventDefault'](),this['fire']('activateChange',{'id':_0xf573cb,'source':this,'uiInteraction':'click'});}),this['on']('mouseover',()=>{this['fire']('activateChange',{'id':_0xf573cb,'source':this,'uiInteraction':'hover'});}),this['on']('mouseout',()=>{this['fire']('deactivateChange',{'origin':'panel','id':_0xf573cb,'source':this});});}['setItemAsActive'](){this['isActive']=!0x0;}['setItemAsInactive'](){this['isActive']=!0x1;}['_createResultResponseView'](){const _0x439ede=new _0x5f37cd['View'](this['locale']);return _0x439ede['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',_0x12c5ad=>!_0x12c5ad)]}}),_0x439ede;}['_createAcceptButtonView'](){const _0x49acad=new _0x5f37cd['ButtonView'](this['locale']);return _0x49acad['set']({'label':Qt(this['locale'],'AI_REVIEW_MODE_ACCEPT_CHANGE'),'withText':!0x0}),_0x49acad['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x32de10=>{this['fire']('acceptChange',{'id':this['changeId']}),_0x32de10['stopPropagation']();})},'attributes':{'class':[this['bindTemplate']['if']('status','ck-hidden',_0x49813b=>'pending'!==_0x49813b&&'accepted'!==_0x49813b),this['bindTemplate']['if']('status',Ut,_0x2740f7=>'pending'===_0x2740f7),this['bindTemplate']['if']('status',Bt,_0x32fc20=>'pending'!==_0x32fc20),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x11602e=>'accepted'===_0x11602e)]}}),this['on']('change:status',(_0x391e94,_0x19c925,_0x2fe66e)=>{_0x49acad['isEnabled']='pending'===_0x2fe66e,'accepted'===_0x2fe66e&&(_0x49acad['label']=Qt(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED'),_0x49acad['icon']=_0x5f37cd['IconCheck']);}),_0x49acad;}['_createDismissButtonView'](){const _0x4dfbf3=new _0x5f37cd['ButtonView'](this['locale']);return _0x4dfbf3['set']({'label':Qt(this['locale'],'AI_REVIEW_MODE_DISMISS_CHANGE'),'withText':!0x0}),_0x4dfbf3['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x531c90=>{this['fire']('dismissChange',{'id':this['changeId']}),_0x531c90['stopPropagation']();})},'attributes':{'class':[Bt,this['bindTemplate']['if']('status','ck-hidden',_0xa4ca42=>'pending'!==_0xa4ca42&&'rejected'!==_0xa4ca42),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-dismiss-button',_0x5ef2ca=>'pending'===_0x5ef2ca),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x51e21b=>'rejected'===_0x51e21b)]}}),this['on']('change:status',(_0x5c89ba,_0x6de2c6,_0x3038ad)=>{_0x4dfbf3['isEnabled']='pending'===_0x3038ad,'rejected'===_0x3038ad&&(_0x4dfbf3['label']=Qt(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_REJECTED'),_0x4dfbf3['icon']=_0x5f37cd['IconCancel']);}),_0x4dfbf3;}['_createInfoButtonView'](){const _0x49a7cc=new _0x5f37cd['ButtonView'](this['locale']);return _0x49a7cc['set']({'label':Qt(this['locale'],'AI_REVIEW_MODE_LEARN_MORE'),'icon':_0x5f37cd['IconInfo'],'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox','class':Bt+'\x20ck-ai_review__check-run-result-info-button\x20ck-hidden'}),_0x49a7cc['bind']('isOn')['to'](this,'isInfoToggleOn',_0x4a1ec0=>_0x4a1ec0),_0x49a7cc['on']('execute',()=>{this['isInfoToggleOn']=!this['isInfoToggleOn'];}),_0x49a7cc;}['_createOutdatedButtonView'](){const _0x35e19a=new _0x5f37cd['ButtonView'](this['locale']);return _0x35e19a['set']({'label':Qt(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED'),'icon':_0x5f37cd['IconOutdated'],'withText':!0x0,'isEnabled':!0x1}),_0x35e19a['extendTemplate']({'attributes':{'class':[Bt,'ck-ai_review__check-run-result-status-button',this['bindTemplate']['if']('status','ck-hidden',_0x4a16c9=>'outdated'!==_0x4a16c9)],'disabled':'disabled'}}),_0x35e19a;}}class AIReviewCoreBalloonSuggestionItemView extends _0x5f37cd['BalloonPanelView']{['resultItemView'];['_pinnedRectIndex']=void 0x0;['_pinnedTargetElement']=void 0x0;['_pinnedTargetChangeId']=void 0x0;constructor(_0x13e80f,_0x56b8f9){super(_0x13e80f),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']()),_0x56b8f9['add'](this);}['render'](){super['render'](),this['_setupClickOutsideHandler']();}['updateContent'](_0x74076b){this['resultItemView']['changeId']=_0x74076b['id'],this['resultItemView']['resultResponseView']['element']['innerHTML']=_0x74076b['contentDiffed'];}['showBalloon'](_0x579e27,_0x410bfd,_0x33fae4,_0xc59733,_0x3bfe4e,_0x29cc1f){const _0x4a7691=_0x410bfd();if(!_0x4a7691)return;this['updateContent'](_0x579e27),this['show']();const _0x5b7b22=Array['from'](_0x4a7691['getClientRects']())['reverse'](),_0x10f4d9=this['_getPointedRectIndexFromEvent'](_0x33fae4,_0x5b7b22),_0x12c469=_0x5b7b22[_0x10f4d9??0x0];'click'===_0xc59733?(this['isDiffActive']=!0x0,this['pin']({'target':()=>this['_getBestRectPositionOnClick'](_0x410bfd(),_0x10f4d9,_0x579e27['id'],_0x3bfe4e,_0x29cc1f)||_0x12c469})):'hover'===_0xc59733&&(this['isDiffActive']=!0x1,this['pin']({'target':()=>this['_getBestRectPositionOnHover'](_0x410bfd(),_0x10f4d9,_0x579e27['id'])||_0x12c469}));}['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'](){_0x5f37cd['clickOutsideHandler']({'emitter':this,'activator':()=>this['isVisible'],'contextElements':()=>{const _0x1e00fa=[this['element']];return this['_pinnedTargetElement']&&_0x1e00fa['push'](this['_pinnedTargetElement']),_0x1e00fa;},'callback':()=>{this['hide'](),this['unpin'](),this['deactivateChange'](),this['_pinnedTargetElement']=void 0x0,this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}});}['_createContentView'](){const _0x48a7cf=new _0x5f37cd['View']();return this['resultItemView']=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],''),this['resultItemView']['resultResponseView']['extendTemplate']({'attributes':{'class':['ck-content']}}),this['resultItemView']['delegate']('acceptChange','dismissChange')['to'](this),_0x48a7cf['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']]}]}),_0x48a7cf;}['_getBestRectPositionOnClick'](_0x205012,_0x3cef06,_0x528f8a,_0x18d710,_0x11d3ad){if(!_0x205012)return null;const _0x4daa2f=this['position']['replace']('arrow_',''),_0x50910e=Array['from'](_0x205012['getClientRects']());let _0x479eb4,_0x7ae5a2=_0x50910e['reverse']();return void 0x0!==_0x3cef06&&this['_isPinnedRectVisible'](_0x7ae5a2[_0x3cef06],_0x18d710,_0x11d3ad)?(_0x479eb4=_0x7ae5a2[_0x3cef06],this['_pinnedRectIndex']=_0x3cef06):this['_isPinnedRectVisible'](_0x7ae5a2[0x0],_0x18d710,_0x11d3ad)&&void 0x0===_0x3cef06?_0x479eb4=_0x7ae5a2[0x0]:(_0x7ae5a2='s'==_0x4daa2f[0x0]?[..._0x50910e]['reverse']():_0x50910e,_0x7ae5a2['forEach'](_0x34e130=>{this['_isPinnedRectVisible'](_0x34e130,_0x18d710,_0x11d3ad)&&(_0x479eb4=_0x34e130);})),this['_pinnedTargetChangeId']=_0x528f8a,this['_pinnedTargetElement']=_0x205012,_0x479eb4||_0x205012['getBoundingClientRect']();}['_getBestRectPositionOnHover'](_0x12c62e,_0xe0c5ba,_0x4a3f0f){if(!_0x12c62e)return null;const _0x18938f=Array['from'](_0x12c62e['getClientRects']())['reverse']();if(void 0x0===this['_pinnedRectIndex']&&void 0x0!==_0xe0c5ba&&this['_pinnedTargetChangeId']!==_0x4a3f0f)return this['_pinnedRectIndex']=_0xe0c5ba,this['_pinnedTargetElement']=_0x12c62e,this['_pinnedTargetChangeId']=_0x4a3f0f,_0x18938f[_0xe0c5ba];if(void 0x0!==this['_pinnedRectIndex']&&this['_pinnedTargetChangeId']===_0x4a3f0f){if(_0x12c62e!==this['_pinnedTargetElement'])return Array['from'](this['_pinnedTargetElement']['getClientRects']())['reverse']()[this['_pinnedRectIndex']];return _0x18938f[this['_pinnedRectIndex']];}return void 0x0!==_0xe0c5ba&&this['_pinnedTargetChangeId']!==_0x4a3f0f?(this['_pinnedRectIndex']=_0xe0c5ba,this['_pinnedTargetElement']=_0x12c62e,this['_pinnedTargetChangeId']=_0x4a3f0f,_0x18938f[_0xe0c5ba]):_0x12c62e['getBoundingClientRect']();}['_getPointedRectIndexFromEvent'](_0x1fe7f8,_0x1774d1){if(_0x1fe7f8)for(let _0x8b51d9=0x0;_0x8b51d9<_0x1774d1['length'];_0x8b51d9++){const _0x25f8a9=_0x1774d1[_0x8b51d9];if(_0x1fe7f8['clientX']>=_0x25f8a9['left']-0x3&&_0x1fe7f8['clientX']<=_0x25f8a9['right']+0x3&&_0x1fe7f8['clientY']>=_0x25f8a9['top']-0x3&&_0x1fe7f8['clientY']<=_0x25f8a9['bottom']+0x3)return _0x8b51d9;}}['_isPinnedRectVisible'](_0x3e7fa9,_0x305e5d,_0x25c6d4){const _0xd6b074=new _0x5f37cd['Rect'](_0x3e7fa9),_0x1f434a=_0x305e5d||document['documentElement'],_0x2af139=_0xd6b074['getIntersection'](_0x5f37cd['getConstrainedViewportRect'](_0x25c6d4)),_0x4c8031=new _0x5f37cd['Rect'](_0x1f434a)['getIntersection'](_0xd6b074);return!!(_0x2af139&&_0x4c8031&&_0xd6b074['width']>0x0);}}const _0x21aec2=['getReviewCheckList','runReviewCheck','abortReviewStream','toggleDiff','acceptAllChanges','leaveReviewCoreResultList','activateChange','deactivateChange','acceptChange','dismissChange','learnMore','finishReview','retryReview'];class _0x89e14d extends _0x5f37cd['ContextPlugin']{['_mainView'];['_balloonSuggestionView'];['_bodyCollection'];static get['requires'](){return[_0x3df542];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x378b68){super(_0x378b68),this['_bodyCollection']=new _0x5f37cd['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_mainView']=this['createMainView'](),this['_mainView']['delegate'](..._0x21aec2)['to'](this),this['_balloonSuggestionView']=new AIReviewCoreBalloonSuggestionItemView(this['context']['locale'],this['_bodyCollection']),this['_balloonSuggestionView']['delegate']('acceptChange','dismissChange','deactivateChange')['to'](this);}['init'](){const _0x508d21=this['context']['plugins']['get']('AITabs');this['registerTab'](_0x508d21);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}['setAvailableChecks'](_0x248b68){if(!this['_mainView']['reviewCheckListView']['hasChecks']()){const _0x1eb9af=!this['context']['config']['get']('ai.models.showModelSelector');this['_mainView']['reviewCheckListView']['setChecks'](_0x248b68,_0x1eb9af);}this['_mainView']['showReviewCheckListView']();}['showReviewCheckList'](){this['fire']('getReviewCheckList');}['showCheckRunResults'](_0x2c3aea){_0x2c3aea&&('error-general'!==_0x2c3aea['status']?'error-chunk'!==_0x2c3aea['status']?this['_mainView']['showReviewCheckResultsView']():this['showChunkErrorView']():this['showGeneralResultsErrorView']());}['showCheckRunResult'](_0x47755a){this['_mainView']['addCheckRunResult'](_0x47755a);}['showGeneralResultsErrorView'](){this['_mainView']['showGeneralResultsErrorView']();}['showGeneralReviewCoreErrorView'](_0x21e572){this['_mainView']['showGeneralReviewCoreErrorView'](_0x21e572??Qt(this['context']['locale'],'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE'));}['showChunkErrorView'](){this['_mainView']['showChunkErrorView']();}['setCheckResultTitle'](_0x5bcd04,_0x4b6d44){this['_mainView']['reviewCheckResultsView']['setTitle'](_0x5bcd04,_0x4b6d44);}['setActiveStateInResults'](_0x4a03bb){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x7859fb=>{_0x7859fb['id']===_0x4a03bb&&_0x7859fb['setItemAsActive']();});}['resetActiveStateInResults'](){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x5b194e=>_0x5b194e['setItemAsInactive']());}['updateChangeState'](_0x213e4a,_0x43b061){'accepted'===_0x43b061||'rejected'===_0x43b061||'outdated'===_0x43b061?this['_mainView']['reviewCheckResultsView']['hideResult'](_0x213e4a,_0x43b061):this['_mainView']['reviewCheckResultsView']['showResult'](_0x213e4a,_0x43b061);}['showReviewCompletedView'](){this['_mainView']['showReviewCompletedView']();}['showActionsWhenResultIsReady'](){this['_mainView']['showActionsWhenResultIsReady']();}['showNoChangesView'](){this['_mainView']['showNoChangesView']();}['hideActionsWhenResultIsReady'](){this['_mainView']['hideActionsWhenResultIsReady']();}['showChangeBalloon'](_0x28028e,_0x26e058,_0x1d39c8,_0xfd7ac3,_0x36b652,_0x3e7b63){this['_balloonSuggestionView']['showBalloon'](_0x28028e,_0x26e058,_0x1d39c8,_0xfd7ac3,_0x36b652,_0x3e7b63);}['hideChangeBalloon'](){this['_balloonSuggestionView']['hideBalloon']();}['hideDiffInBalloon'](){this['_balloonSuggestionView']['hideDiffInBalloon']();}['showDiffInBalloon'](){this['_balloonSuggestionView']['showDiffInBalloon']();}['getChangeElement'](_0x35e22b){const _0x5e080e=this['_mainView']['reviewCheckResultsView']['getResults']()['find'](_0x82cfbf=>_0x82cfbf['id']===_0x35e22b);return _0x5e080e?_0x5e080e['element']:null;}['deactivateChange'](){this['_balloonSuggestionView']['deactivateChange']();}}class _0x15d004 extends _0x5f37cd['View']{constructor(_0x45ff52){super(_0x45ff52),this['set']('isVisible',!0x1),this['set']('errorMessage','');const _0x51ad35=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__general-error-container',_0x51ad35['if']('isVisible','ck-hidden',_0xd6351e=>!_0xd6351e)]},'children':[{'tag':'p','attributes':{'class':'ck\x20ck-ai-notification\x20ck-ai-notification_error'},'children':[{'text':_0x51ad35['to']('errorMessage')}]}]});}}class _0x4380e7 extends _0x5f37cd['View']{['reviewCoreHeader'];['generalErrorView'];['reviewCheckListView'];['reviewCheckResultsView'];['reviewCompletedView'];constructor(_0x15c587,_0x48d411){super(_0x15c587),this['reviewCoreHeader']=_0x48d411['header'],this['generalErrorView']=new _0x15d004(_0x15c587),this['reviewCheckListView']=_0x48d411['list'],this['reviewCheckListView']['delegate'](..._0x21aec2)['to'](this),this['reviewCheckResultsView']=_0x48d411['results'],this['reviewCheckResultsView']['delegate'](..._0x21aec2)['to'](this),this['reviewCompletedView']=_0x48d411['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'](_0x47aba7){this['reviewCheckResultsView']['addResult'](_0x47aba7),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'](_0x58da67){this['generalErrorView']['set']('isVisible',!0x0),this['generalErrorView']['errorMessage']=_0x58da67;}['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 _0x5f37cd['ButtonView']{constructor(_0x1a1771,_0x334435){super(_0x334435),this['set']({'label':_0x1a1771,'withText':!0x0,'class':Vt}),this['on']('execute',()=>{this['fire']('finishReview');});}}class AIReviewCoreUICheckResultsView extends _0x5f37cd['ListItemView']{['_resultViews'];['_resultsHeader'];['_resultsBody'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x45d913,_0x1de70a){super(_0x45d913),this['_contents']=_0x1de70a,this['_resultViews']=new _0x5f37cd['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 _0x41e6f1(_0x45d913),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 _0x487108=this['_createCombinedSkeletonLoader'](),_0x508f26=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x508f26['if']('isLoading','ck-ai_review__check-run_loading',_0x564e18=>_0x564e18),_0x508f26['if']('isResultReady','ck-ai_review__check-run_ready',_0x58027e=>_0x58027e),_0x508f26['if']('isVisible','ck-hidden',_0x1dd8c3=>!_0x1dd8c3)]},'children':[this['_resultsHeader'],this['_errorMessageView'],this['_resultsBody'],_0x487108,this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear'](),this['_resultsBody']['element']&&(this['_resultsBody']['element']['scrollTop']=0x0);}['getResults'](){return this['_resultViews'];}['addResult'](_0x2fa1ae){const _0x47c030=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],_0x2fa1ae['id']);_0x47c030['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x47c030),_0x47c030['resultResponseView']['element']['innerHTML']=_0x2fa1ae['contentDiffed'];}['hideResult'](_0x2bb137,_0x255040){if('pending'===_0x255040)return;const _0x1b46f6=this['_resultViews']['find'](_0x3b2531=>_0x3b2531['id']===_0x2bb137);_0x1b46f6&&(_0x1b46f6['status']=_0x255040,_0x1b46f6['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x48a2a8,_0x74ff34){if('pending'!==_0x74ff34)return;const _0x54c840=this['_resultViews']['find'](_0x57a9f9=>_0x57a9f9['id']===_0x48a2a8);_0x54c840&&(_0x54c840['status']=_0x74ff34,_0x54c840['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x13a421,_0x1332ac){this['headerTitle']=_0x13a421,this['headerSubtitle']=_0x1332ac||'';}['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'],_0x1c9e8b['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x133227=new _0x5f37cd['View'](this['locale']),_0x37466a=[];for(let _0x349e6a=0x0;_0x349e6a<0x10;_0x349e6a++){const _0x4223e5=this['_createSkeletonLoader']();_0x4223e5['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x37466a['push'](_0x4223e5);}return _0x133227['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x1b6cf3=>!_0x1b6cf3)]},'children':_0x37466a}),_0x133227;}['_createResultsBodyView'](){const _0x2cca80=new _0x5f37cd['View'](this['locale']);return _0x2cca80['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x24f881=>_0x24f881)]},'children':this['_resultViews']}),_0x2cca80;}['_createErrorView'](){const _0x53e138=new _0x5f37cd['View'](this['locale']),_0x5b5a19=new _0x5f37cd['ButtonView'](this['locale']),t=this['locale']['t'];return _0x53e138['delegate']('retryReview')['to'](this),_0x5b5a19['set']({'label':t('Try\x20again'),'withText':!0x0,'class':Ut+'\x20ck-ai_review__check-run-error-retry-button'}),_0x5b5a19['on']('execute',()=>{this['fire']('retryReview');}),_0x53e138['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x1a5255=>!_0x1a5255),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x41fb1d=>'chunk'===_0x41fb1d)]},'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',_0x4d1016=>'chunk'===_0x4d1016)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x9d71dc=>'general'!==_0x9d71dc)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x44617b=>'chunk'!==_0x44617b)]},'children':[{'text':Qt(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x5b5a19]}),_0x53e138;}['_createCancelButtonView'](){const _0x4a9a21=new _0x5f37cd['ButtonView'](this['locale']);return _0x4a9a21['set']({'label':Qt(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':[Ut+'\x20ck-ai-button-stop-generating'],'icon':_0x5f37cd['IconStop']}),_0x4a9a21['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x392549=>_0x392549),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x439629=>_0x439629)]}}),_0x4a9a21['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x4a9a21;}['_createToggleDiffButtonView'](){const _0x4332de=new _0x5f37cd['ButtonView'](this['locale']);_0x4332de['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x4332de['bind']('isEnabled')['to'](this,'isError',_0x4b4076=>!_0x4b4076),_0x4332de['extendTemplate']({'attributes':{'class':[Ut,'ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1d6135=>!_0x1d6135),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2a8131=>_0x2a8131)]}});const _0x37978f=Qt(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x32f6e5=Qt(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x4332de['bind']('isOn')['to'](this,'isToggleDiffOn',_0x529688=>_0x529688),_0x4332de['bind']('icon')['to'](this,'isToggleDiffOn',_0x32e9e5=>_0x32e9e5?_0x5f37cd['IconEye']:_0x5f37cd['IconEyeCrossedOut']),_0x4332de['bind']('label')['to'](this,'isToggleDiffOn',_0x379eb5=>_0x379eb5?_0x37978f:_0x32f6e5),_0x4332de['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x4332de;}['_createAcceptAllButtonView'](){const _0x1473d4=new _0x5f37cd['ButtonView'](this['locale']);return _0x1473d4['set']({'label':Qt(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x1473d4['bind']('isEnabled')['to'](this,'isError',_0x461bc4=>!_0x461bc4),_0x1473d4['extendTemplate']({'attributes':{'class':[Vt,'ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4888e4=>!_0x4888e4),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1055be=>_0x1055be)]}}),_0x1473d4['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x1473d4;}['_createExitReviewButtonView'](){const _0x18d6c2=new _0x5f37cd['ButtonView'](this['locale']);return _0x18d6c2['set']({'label':Qt(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x18d6c2['extendTemplate']({'attributes':{'class':[Bt,'ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4bb7ea=>!_0x4bb7ea),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1aa15d=>_0x1aa15d)]}}),_0x18d6c2['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x18d6c2;}['_createResultHeaderView'](){const _0x29224f=new _0x5f37cd['View'](this['locale']),_0x515646=this['_createTitleView']();return _0x29224f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x154efc=>_0x154efc)]},'children':[_0x515646,{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x546838=>!_0x546838)],'title':Qt(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')},'children':[{'text':Qt(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x29224f;}['_createTitleView'](){const _0x59cb53=new _0x5f37cd['View'](this['locale']),_0x4c9d75=new _0x3dc227();return _0x4c9d75['bind']('isVisible')['to'](this,'isResultReady',_0x4b73cd=>!_0x4b73cd),_0x59cb53['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x391550=>_0x391550)]},'children':[_0x4c9d75,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content']},'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')}]}]}]}),_0x59cb53;}['_createFinishReviewButtonView'](){const _0x47b1a2=new AIReviewCoreFinishReviewButtonView(Qt(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x47b1a2['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x47b103=>!_0x47b103)]}}),_0x47b1a2['delegate']('finishReview')['to'](this),_0x47b1a2;}}class AIReviewCoreReviewCompletedView extends _0x5f37cd['ListItemView']{['_resultsHeader'];['_finishReviewButtonView'];constructor(_0xce2b19,_0x400766){super(_0xce2b19),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](_0x400766['buttonText']),this['_resultsHeader']=this['_createResultHeaderView'](_0x400766['headerText']);const _0x1aaeff=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed',_0x1aaeff['if']('isVisible','ck-hidden',_0x103a3d=>!_0x103a3d)]},'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':_0x400766['emptyResultsText']}]}]}]});}['_createFinishReviewButtonView'](_0x317094){const _0x571477=new AIReviewCoreFinishReviewButtonView(_0x317094,this['locale']);return _0x571477['delegate']('finishReview')['to'](this),_0x571477;}['_createResultHeaderView'](_0x543335){const _0x470bb4=new _0x5f37cd['View'](this['locale']);return _0x470bb4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title'],'title':_0x543335},'children':[{'text':_0x543335}]},{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header-buttons']},'children':[this['_finishReviewButtonView']]}]}),_0x470bb4;}}class _0x424b19 extends _0x5f37cd['View']{['_dropdownView'];['_defaultValue'];['_defaultLabel'];constructor(_0x9a274d,_0x3a19fa){super(_0x9a274d),this['_defaultValue']=_0x3a19fa['default']||(_0x3a19fa['data']['length']>0x0?_0x3a19fa['data'][0x0]['id']:''),this['_defaultLabel']=_0x3a19fa['data']['find'](_0x34e66d=>_0x34e66d['id']===this['_defaultValue'])?.['label']||'',this['set']('formValue',''),this['_dropdownView']=_0x5f37cd['createDropdown'](this['locale']);const _0x5ab277=this['_prepareListOptions'](_0x3a19fa['data']);_0x5f37cd['addListToDropdown'](this['_dropdownView'],_0x5ab277,{'role':'menu','ariaLabel':_0x3a19fa['label']}),this['_dropdownView']['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0}),this['_dropdownView']['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1fa4a5=>{_0x1fa4a5['stopPropagation']();})}}),this['listenTo'](this['_dropdownView'],'execute',_0x499468=>{this['formValue']=_0x499468['source']['model']['id'],this['_dropdownView']['buttonView']['label']=_0x499468['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'](_0x31c38f=[]){const _0x2ed827=new _0x5f37cd['Collection']();this['resetToDefault']();for(const _0x1e7e06 of _0x31c38f){const _0x5b5100=new _0x5f37cd['UIModel']({'label':_0x1e7e06['label'],'withText':!0x0,'role':'menuitemradio','id':_0x1e7e06['id'],'model':_0x1e7e06});_0x5b5100['bind']('isOn')['to'](this,'formValue',_0x34600f=>_0x34600f===_0x5b5100['id']);const _0x4251ce={'type':'button','model':_0x5b5100};_0x2ed827['add'](_0x4251ce);}return _0x2ed827;}}class _0x32b85a extends _0x5f37cd['ListItemView']{['_formItem']=null;constructor(_0x30c2e9,_0x988a51,_0x327d15){super(_0x30c2e9),this['argsKey']=_0x988a51?.['argsKey'];if('dropdown'===_0x988a51['formType'])this['_formItem']=new _0x424b19(this['locale'],_0x988a51);this['set']('value',''),this['bind']('value')['to'](this['_formItem'],'formValue');const _0x3ccc50=new _0x5f37cd['FormRowView'](this['locale'],{'children':[this['_formItem']],'class':[_0x327d15?'ck-form__row_with-submit':'']});_0x327d15&&_0x3ccc50['children']['add'](_0x327d15),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__form-item','ck-reset_all']},'children':[_0x3ccc50]});}['resetToDefault'](){this['_formItem']['resetToDefault']();}}class AIReviewCorePromptInputView extends _0x5f37cd['TextareaView']{['keystrokes'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;constructor(_0x1e6d6e){super(_0x1e6d6e),this['set']('isEmpty',!0x0),this['keystrokes']=new _0x5f37cd['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 _0x5f37cd['View']{['focusTracker']=new _0x5f37cd['FocusTracker']();['keystrokes']=new _0x5f37cd['KeystrokeHandler']();['focusCycler'];['_focusables']=new _0x5f37cd['ViewCollection']();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x4f7088,_0x1e57ea,_0x1beb00=!0x1){super(_0x4f7088),this['_check']=_0x1e57ea,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x1e57ea['defaultModel']?_0x1e57ea['defaultModel']['id']:'',this['_defaultLabel']=_0x1e57ea['defaultModel']?_0x1e57ea['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x5f37cd['LabeledFieldView'](this['locale'],()=>new AIReviewCorePromptInputView(_0x4f7088)),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 _0x5f37cd['Collection'](),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x1beb00),_0x5f37cd['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 _0x5f37cd['FormRowView'](this['locale'],{'children':[this['promptInputView']]}),new _0x5f37cd['FormRowView'](this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x580051,_0x3b4517)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x3b4517()):_0x3b4517();}),this['focusCycler']=new _0x5f37cd['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'](_0x5b34d1=>{this['_focusables']['add'](_0x5b34d1),this['focusTracker']['add'](_0x5b34d1['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 _0x3296cf of this['_getFormValidators']()){const _0x4e46cc=_0x3296cf();if(_0x4e46cc)return this['promptInputView']['errorText']=_0x4e46cc,!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 _0x3effe3=new _0x5f37cd['ButtonView'](this['locale']),t=this['locale']['t'];return _0x3effe3['set']({'label':t('Submit'),'withText':!0x0,'class':Vt}),_0x3effe3['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x3effe3;}['_createCancelButtonView'](){const _0x345419=new _0x5f37cd['ButtonView'](this['locale']),t=this['locale']['t'];return _0x345419['set']({'label':t('Cancel'),'withText':!0x0,'class':Bt}),_0x345419['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x27d888=>{_0x27d888['stopPropagation']();})}}),_0x345419['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x345419;}['_setModelList'](_0x4a9f10){this['_modelSelectionDropdownItems']['clear']();const _0x356031=this['_check']['models'];if(_0x4a9f10)this['set']('modelDisplayMode','hidden');else{const _0x13a300=0x1===_0x356031['length'];this['set']('modelDisplayMode',_0x13a300?'name':'selector');}if(this['resetToDefault'](),_0x356031?.['length']){0x1===_0x356031['length']&&this['set']('activeModelName',_0x356031[0x0]['name']||_0x356031[0x0]['id']);for(const _0x238a08 of _0x356031){const _0x419537=new _0x5f37cd['UIModel']({'label':_0x238a08['name'],'withText':!0x0,'role':'menuitemradio','id':_0x238a08['id'],'model':_0x238a08});_0x419537['bind']('isOn')['to'](this,'modelId',_0x14bad5=>_0x14bad5===_0x238a08['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x419537,'labelView':new ModelButtonLabelView(this['locale'],_0x238a08)});}}}['_createModelSelectionDropdown'](){const _0x26f4c9=_0x5f37cd['createDropdown'](this['locale']);return _0x26f4c9['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x26f4c9['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0,'class':Bt}),_0x26f4c9['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x4f8a67=>'selector'===_0x4f8a67),this['listenTo'](_0x26f4c9,'execute',_0x5e160f=>{this['modelId']=_0x5e160f['source']['model']['id'],_0x26f4c9['buttonView']['label']=_0x5e160f['source']['label'];}),_0x26f4c9;}['_createModelNameView'](){const _0x52497d=new _0x4cca3a(this['locale']);return _0x52497d['bind']('text')['to'](this,'activeModelName',_0x394abe=>_0x394abe??''),_0x52497d['bind']('isVisible')['to'](this,'modelDisplayMode',_0x39b5ee=>'name'===_0x39b5ee),_0x52497d;}['_createActionsFooterView'](){const _0x573e26=new _0x5f37cd['View'](this['locale']);return _0x573e26['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']]}]}),_0x573e26;}}class _0x4cca3a extends _0x5f37cd['View']{constructor(_0x355fa1){super(_0x355fa1),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x69f93c=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x69f93c['if']('isVisible','ck-hidden',_0x227a29=>!_0x227a29)]},'children':[{'text':_0x69f93c['to']('text')}]});}}class ModelButtonLabelView extends _0x5f37cd['ButtonLabelView']{constructor(_0x4d1509,_0x3ede89){super();const _0x530d85=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x530d85['to']('style'),'id':_0x530d85['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x530d85['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x3ede89['description']||'']}]}]});}}class AIReviewCoreReviewCommandListItemView extends _0x5f37cd['ListItemView']{['_formItemsCollection']=new _0x5f37cd['ViewCollection']();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x2218ed,_0xa65275,_0x43473e,_0x5d2789=!0x1){super(_0x2218ed),this['_hideModels']=_0x5d2789,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0xa65275['isParameterized']);const _0x459bc4=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',_0x1998f6=>_0x1998f6),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x17b491=>_0x17b491)],'style':{'--ck-ai-review-check-list-item-index':_0x43473e}},'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':_0xa65275['title']}]},_0x459bc4]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0xa65275['description']?[{'text':_0xa65275['description']}]:[]}]}]},..._0xa65275['isParameterized']?[this['_createParameterizedView'](_0xa65275)]:[],...'custom'===_0xa65275['id']?[this['_createCustomView'](_0xa65275,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0xa65275['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0xa65275['id'],'args':_0xa65275['useArgs']?_0xa65275['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x5f37cd['clickOutsideHandler']({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x2627a2=>{_0x2627a2['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x14d3b3=new _0x5f37cd['IconView']();return _0x14d3b3['content']=_0x5f37cd['IconChevronRight'],_0x14d3b3['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x14d3b3;}['_createParameterizedView'](_0x46ccfa){const _0x47305d=new _0x5f37cd['View'](),_0x55b7bc=this['_createFormView'](_0x46ccfa);return _0x47305d['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x2ecee3=>!_0x2ecee3)]},'children':[_0x55b7bc]}),_0x47305d;}['_createFormView'](_0x4f1f30){const _0xc1dfdf=new _0x5f37cd['View'](),_0x3f0a2a=Array['isArray'](_0x4f1f30['options'])?_0x4f1f30['options']:[],_0x41695c=new _0x5f37cd['ButtonView'](this['locale']),t=this['locale']['t'];_0x41695c['set']({'label':t('Submit'),'withText':!0x0,'class':Vt}),_0x41695c['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1144bf=>{_0x1144bf['stopPropagation']();})}}),_0x41695c['on']('execute',()=>{const _0x34913f=[],_0x8dae79={};this['_formItemsCollection']['forEach'](_0x3d1a97=>{_0x34913f['push'](_0x3d1a97['value']),_0x4f1f30['useArgs']&&_0x4f1f30['options']&&(_0x8dae79[_0x3d1a97['argsKey']]=_0x3d1a97['value']);}),this['fire']('runReviewCheck',{'id':_0x4f1f30['id'],'params':_0x34913f['length']?_0x34913f:void 0x0,'args':Object['keys'](_0x8dae79)['length']?_0x8dae79:void 0x0});});const _0x299765=_0x3f0a2a['length'];return _0x3f0a2a['forEach']((_0x1b7b64,_0x4143e2)=>{const _0x3d6708=_0x4143e2===_0x299765-0x1;this['_formItemsCollection']['add'](new _0x32b85a(this['locale'],_0x1b7b64,_0x3d6708?_0x41695c:null));}),_0xc1dfdf['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0xc1dfdf;}['_createCustomView'](_0x1c8f47,_0x18c387=!0x1){return this['_customCheckView']=new AIReviewCoreCustomCheckView(this['locale'],_0x1c8f47,_0x18c387),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',_0x1b5e0a=>!_0x1b5e0a)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x1c861b,_0x7d9a2e,_0x29471a)=>{_0x29471a||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}class AIReviewCoreReviewCheckListView extends _0x5f37cd['ListItemView']{['_checkViews'];constructor(_0x50800e){super(_0x50800e),this['_checkViews']=new _0x5f37cd['ViewCollection'](),this['_setupTemplate']();}['setChecks'](_0x11aae6,_0x5db891=!0x1){this['_checkViews']['clear']();for(const [_0x263ebf,_0x138bc6]of _0x11aae6['entries']()){const _0x1dbd94=new AIReviewCoreReviewCommandListItemView(this['locale'],_0x138bc6,_0x263ebf,_0x5db891);_0x1dbd94['delegate']('runReviewCheck')['to'](this),this['_checkViews']['add'](_0x1dbd94);}}['hasChecks'](){return this['_checkViews']['length']>0x0;}['resetAllParameterizedChecks'](){for(const _0x472ae of this['_checkViews'])_0x472ae instanceof AIReviewCoreReviewCommandListItemView&&_0x472ae['resetToDefault']();}['_setupTemplate'](){const _0x4cb7f5=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x4cb7f5['if']('isVisible','ck-hidden',_0x142f35=>!_0x142f35)]},'children':this['_checkViews']});}}class _0x498459 extends _0x89e14d{static get['pluginName'](){return'AIReviewModeUI';}['createMainView'](){const _0x43e170=this['context']['plugins']['get']('AITabs'),_0x5a591f=this['context']['locale'],_0x4e654f=new _0x9094f7(_0x5a591f,{'label':Qt(_0x5a591f,'AI_REVIEW_MODE'),'icon':_0x5f37cd['IconAIReview'],'class':'ck-ai-header_review','showResizeButton':_0x43e170['showResizeButton']});return _0x4e654f['delegate']('resizeTabs')['to'](_0x43e170),_0x4e654f['bind']('isMaximized')['to'](_0x43e170['view'],'isMaximized',_0x523275=>_0x523275),new _0x4380e7(this['context']['locale'],{'header':_0x4e654f,'list':new AIReviewCoreReviewCheckListView(_0x5a591f),'results':new AIReviewCoreUICheckResultsView(_0x5a591f,{'generalErrorText':Qt(_0x5a591f,'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x5a591f,{'headerText':Qt(_0x5a591f,'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'),'emptyResultsText':Qt(_0x5a591f,'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'),'buttonText':Qt(_0x5a591f,'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL')})});}['registerTab'](){const _0x4acd82=this['context']['plugins']['get']('AITabs');_0x4acd82['view']['on']('activateTab',(_0x2e7845,{newTab:_0x3f2ee1,oldTab:_0x5341e3})=>{'reviewMode'===_0x3f2ee1?this['fire']('getReviewCheckList'):'reviewMode'===_0x5341e3&&this['fire']('leaveReview');}),_0x4acd82['view']['addTab']({'id':'reviewMode','buttonLabel':Qt(this['context']['locale'],'AI_REVIEW_MODE'),'buttonIcon':_0x5f37cd['IconAIReview'],'order':0x0,'content':this['_mainView']});}}const _0x1850bf='review-',_0x4a7cf3=['softBreak'],_0x4a3665=['htmlScript','htmlStyle','htmlCustomElement'];class AIReviewCoreEditing extends _0x5f37cd['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(_0x395f5f){super(_0x395f5f),this['_domEmitter']=new(_0x5f37cd['DomEmitterMixin']())(),this['_eventEmitter']=new(_0x5f37cd['EmitterMixin']())();}get['emitter'](){return this['_eventEmitter'];}['afterInit'](){const _0x2141d6=_0x2f7d6c=>this['_scheduleAttachReviewEditingToEditor'](_0x2f7d6c);if(this['_registerGlobalBalloonBlurHandler'](),this['context']instanceof _0x5f37cd['Editor'])return void _0x2141d6(this['context']);const _0x1b22c3=this['context'];for(const _0x4d59a5 of _0x1b22c3['editors'])_0x2141d6(_0x4d59a5);this['listenTo'](_0x1b22c3['editors'],'add',(_0x37da7e,_0x171e07)=>{_0x2141d6(_0x171e07);}),this['listenTo'](_0x1b22c3['editors'],'remove',(_0x3099e6,_0x45d277)=>{for(const [_0x5c006f,_0x225d85]of this['_markers'])_0x225d85['editor']===_0x45d277&&(this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x5c006f,'changeId':_0x225d85['groupId']}),this['_markers']['delete'](_0x5c006f));});}['_scheduleAttachReviewEditingToEditor'](_0x50c21b){const _0x63bf27=()=>{'destroyed'!==_0x50c21b['state']&&_0x50c21b['conversion']&&this['_attachReviewEditingToEditor'](_0x50c21b);};if('ready'===_0x50c21b['state'])return void _0x63bf27();const _0x17011d=()=>{this['stopListening'](_0x50c21b,'ready',_0x17011d),_0x63bf27();};this['listenTo'](_0x50c21b,'ready',_0x17011d);}['_attachReviewEditingToEditor'](_0x344a14){this['_reviewEditingAttachedEditors']['has'](_0x344a14)||(_0x344a14['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x1850bf+'insert','view':(_0x54f200,{writer:_0x5c0bc8})=>{const _0x1515cc=this['_markers']['get'](_0x54f200['markerName']),_0x27d7f4={'class':'ck-ai_review-marker_add'+(this['_activeMarkers']['has'](_0x1515cc?.['id']||'')?'\x20ck-ai_review__change_active':''),'data-marker-id':_0x54f200['markerName']};return _0x5c0bc8['createUIElement']('span',_0x27d7f4,function(_0xee088b){const _0x1ee6c4=this['toDomElement'](_0xee088b);return _0x1ee6c4['innerHTML']=_0x1515cc?.['content']?.['asString']||'',_0x1ee6c4;});}}),_0x344a14['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x1850bf+'remove-only','view':_0x444116=>{const _0x24034f=this['_markers']['get'](_0x444116['markerName']),_0x148081=['ck-ai_review-marker_strikethrough'];return this['_activeMarkers']['has'](_0x24034f?.['id']||'')&&_0x148081['push']('ck-ai_review__change_active'),{'classes':_0x148081,'attributes':{'data-marker-id':_0x444116['markerName']}};}}),_0x344a14['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x1850bf+'remove-context','view':_0x3c6d53=>{const _0x1ad0c=this['_markers']['get'](_0x3c6d53['markerName']),_0x5a84f2=['ck-ai_review-marker_underline'];return this['_activeMarkers']['has'](_0x1ad0c?.['id']||'')&&_0x5a84f2['push']('ck-ai_review__change_active'),{'classes':_0x5a84f2,'attributes':{'data-marker-id':_0x3c6d53['markerName']}};}}),_0x344a14['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x1850bf+'remove-text','view':_0x311928=>{const _0x546f22=this['_markers']['get'](_0x311928['markerName']),_0x2bf1f6=['ck-ai_review-marker_hide'];return this['_activeMarkers']['has'](_0x546f22?.['id']||'')&&_0x2bf1f6['push']('ck-ai_review__change_active'),{'classes':_0x2bf1f6,'attributes':{'data-marker-id':_0x311928['markerName']}};}}),_0x344a14['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x1850bf+'suggestion-context','view':(_0x226488,{writer:_0x459360})=>_0x459360['createRawElement']('span',{'class':'ck-ai_review-marker_context-'+(_0x226488['isOpening']?'start':'end')})}),_0x344a14['conversion']['for']('downcast')['attributeToAttribute']({'model':_0x2ac16d,'view':_0x2a2b5f}),this['_updateMouseMarkerInteractionListeners'](_0x344a14),this['listenTo'](_0x344a14,'addRoot',()=>this['_updateMouseMarkerInteractionListeners'](_0x344a14),{'priority':'lowest'}),this['listenTo'](_0x344a14,'detachRoot',()=>this['_updateMouseMarkerInteractionListeners'](_0x344a14),{'priority':'lowest'}),_0x344a14['model']['document']['registerPostFixer'](_0x2c782e=>this['_validateMarkers'](_0x344a14,_0x2c782e)),_0x344a14['model']['document']['on']('change',()=>this['_handleMarkerChanges'](_0x344a14)),this['_reviewEditingAttachedEditors']['add'](_0x344a14));}['_updateMouseMarkerInteractionListeners'](_0x5b821a){let _0x45402e=this['_boundEditables']['get'](_0x5b821a);_0x45402e||(_0x45402e=new Map(),this['_boundEditables']['set'](_0x5b821a,_0x45402e));const _0x91d43e=new Set(_0x5b821a['ui']['getEditableElementsNames']());for(const _0x5a9388 of _0x91d43e){if(_0x45402e['has'](_0x5a9388))continue;const _0x546068=_0x5b821a['ui']['getEditableElement'](_0x5a9388);_0x45402e['set'](_0x5a9388,_0x546068),this['_attachMouseMarkerInteractionListeners'](_0x546068);}for(const [_0x43965f,_0x1b6b15]of _0x45402e)_0x91d43e['has'](_0x43965f)||(_0x45402e['delete'](_0x43965f),this['_domEmitter']['stopListening'](_0x1b6b15));}['_attachMouseMarkerInteractionListeners'](_0x45659d){this['_domEmitter']['listenTo'](_0x45659d,'mouseup',(_0x409f37,_0x373e1d)=>{const _0x52c37b=_0x373e1d['target'],_0x4633ee=this['_findMarkerElement'](_0x52c37b);if(!_0x4633ee)return;const _0x9567=_0x4633ee['getAttribute']('data-marker-id'),_0x3c1906=_0x9567['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerClicked',{'markerId':_0x9567,'changeId':_0x3c1906,'markerElement':()=>this['_findMarkerElementById'](_0x9567),'domEvent':_0x373e1d});},{'usePassive':!0x0,'priority':'highest'}),this['_domEmitter']['listenTo'](_0x45659d,'mouseover',(_0x2d4c2e,_0x2f52a5)=>{const _0x3fe72a=_0x2f52a5['target'],_0x1d7d01=_0x2f52a5['relatedTarget'];let _0x3bb093=this['_findMarkerElement'](_0x3fe72a);if(!_0x3bb093&&_0x1d7d01&&(_0x3bb093=this['_findMarkerElement'](_0x1d7d01)),!_0x3bb093)return;const _0x1abb5b=_0x3bb093['getAttribute']('data-marker-id'),_0x33933b=_0x1abb5b['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerHovered',{'changeId':_0x33933b,'markerElement':()=>this['_findMarkerElementById'](_0x1abb5b),'domEvent':_0x2f52a5});});}['_registerGlobalBalloonBlurHandler'](){this['_domEmitter']['listenTo'](document,'mouseover',ht((_0x1782d3,_0x14ad71)=>{const _0x1b6280=_0x14ad71['target'];if(this['_findMarkerElement'](_0x1b6280))return;_0x1b6280['closest']('.ck-reset.ck-ai_review-balloon-panel-suggestion')||this['_eventEmitter']['fire']('changeMarkerBlurred');},0xc8));}['getDocumentData'](){const _0x5bbd31=this['context']['plugins']['get']('AIEditing'),_0x63db25=_0x1f8c08(this['context']);if(!_0x63db25['length'])throw new _0x5f37cd['CKEditorError']('ai-get-editor-from-context-no-editor',this);const _0x22e477=new Set(),_0xc9b0fc=[],_0x5616fe=new Map();for(const _0x48349f of _0x63db25)for(const _0x46cddb of _0x48349f['model']['document']['getRoots']()){if('$graveyard'===_0x46cddb['rootName'])continue;const _0x462f19=this['_buildDocumentDataSliceForRoot'](_0x48349f,_0x46cddb,_0x5bbd31,_0x22e477);_0xc9b0fc['push'](_0x462f19['content']);for(const [_0x36e936,_0x1be240]of _0x462f19['elements'])_0x5616fe['set'](_0x36e936,_0x1be240);}return{'elements':_0x5616fe,'content':_0xc9b0fc['join']('')};}['_buildDocumentDataSliceForRoot'](_0x10ee6b,_0x5ebdf2,_0x2645cc,_0x2945d5){const _0x2be65a=_0x10ee6b['model'],_0x3b6651=new _0x5f37cd['ModelDocumentFragment']();for(const _0x569d55 of _0x5ebdf2['getChildren']())_0x3b6651['_appendChild'](_0x569d55['_clone'](!0x0));for(const _0x580289 of _0x2be65a['markers']){const _0xc93250=_0x580289['getRange']();_0xc93250&&_0xc93250['root']['rootName']===_0x5ebdf2['rootName']&&_0x3b6651['markers']['set'](_0x580289['name'],this['_changeRangeOwnerDocument'](_0xc93250['clone'](),_0x3b6651));}const _0xba91d=new Map(),_0x3207d0=_0x2be65a['document']['version'],_0x4b374e=new _0x5f37cd['ModelTreeWalker']({'ignoreElementEnd':!0x0,'startPosition':_0x2be65a['createPositionAt'](_0x3b6651,0x0)});for(const {item:_0x3ed178}of _0x4b374e){if(_0x3ed178['is']('element')&&_0x3ed178['name']&&_0x4a3665['includes'](_0x3ed178['name'])){const _0x361e99=this['_upsertDataId'](_0x3ed178,()=>_0x2645cc['_nextDataId'](_0x2945d5));_0x2945d5['add'](_0x361e99);}if(!_0x3ed178['is']('$textProxy'))continue;const _0x496101=_0x3ed178['parent'];if(!_0x496101||!_0x496101['is']('element'))continue;const _0x181295=this['_upsertDataId'](_0x496101,()=>_0x2645cc['_nextDataId'](_0x2945d5));_0x2945d5['add'](_0x181295);for(const _0x3cbd68 of _0x496101['getChildren']())_0x3cbd68['is']('element')&&(_0x3cbd68['name']&&_0x4a7cf3['includes'](_0x3cbd68['name'])||_0x2945d5['add'](this['_upsertDataId'](_0x3cbd68,()=>_0x2645cc['_nextDataId'](_0x2945d5))));let _0x2c914e=_0x496101;for(;_0x2c914e['parent']&&!_0x2c914e['parent']['is']('documentFragment');)_0x2c914e=_0x2c914e['parent'],_0x2c914e['hasAttribute'](_0x2ac16d)&&_0x2c914e['_removeAttribute'](_0x2ac16d);_0xba91d['set'](_0x181295,{'editor':_0x10ee6b,'rootName':_0x5ebdf2['rootName'],'path':_0x496101['getPath'](),'documentVersion':_0x3207d0,'getContent':this['_createGetContentUsingDataIdFn'](_0x2c914e['_clone'](!0x0),_0x181295,_0x10ee6b['data'])}),_0x4b374e['jumpTo'](_0x2be65a['createPositionAfter'](_0x496101));}return{'content':_0x10ee6b['data']['processor']['toData'](_0x10ee6b['data']['toView'](_0x3b6651)),'elements':_0xba91d};}['diffContent'](_0x178bd0,_0x30bf29,_0x33f1da,_0x276e57=!0x1){const {contentInitial:_0x2eb1dd,contentNew:_0xac3481}=this['_neutralizeChangesOnUnsupportedElements'](_0x30bf29,_0x33f1da),_0x20dc17=[],_0x5322fe=_0x178bd0['data']['parse'](_0xac3481,'$documentFragment'),_0x39e5cc=_0x178bd0['data']['parse'](_0x2eb1dd,'$documentFragment'),_0xeedf9c=_0x178bd0['model']['createPositionAt'](_0x39e5cc,0x0);if(this['_haveSingleTopLevelElement'](_0x5322fe)){if(!this['_hasSameTopLevelElement'](_0x39e5cc,_0x5322fe))return _0x20dc17;}else{const _0x3a42d6=_0x178bd0['model']['schema'];if(!this['_haveOnlyInlineContent'](_0x39e5cc,_0x3a42d6)||!this['_haveOnlyInlineContent'](_0x5322fe,_0x3a42d6))return _0x20dc17;}const _0x201aef=this['context']['plugins']['get']('DocumentCompare')['getDiff'](_0x2eb1dd,_0xac3481,{'targetEditor':_0x178bd0,'anchor':_0xeedf9c,'markDeletions':!0x0})['getOperations']()['filter'](_0xde902c=>'insert'===_0xde902c['type']||'marker'===_0xde902c['type']&&_0xde902c['name']['startsWith']('$markedRemove')),_0x57146e=this['_groupAdjacentOperations'](_0x201aef),_0x151845=[];if(_0x276e57){if(_0x57146e['length']){const _0x2fefc9=_0x57146e[0x0]['operations'][0x0],_0x3a56af='insert'===_0x2fefc9['type']?_0x2fefc9['position']:_0x2fefc9['newRange']['start'],_0x2bf1ea=this['_getPositionLimitingRange'](_0x3a56af,_0x178bd0,'inside'),_0x494223=_0x2bf1ea?_0x5322fe['getChild'](0x0)['getChildren']():_0x5322fe['getChildren'](),_0x2368ca=_0x2bf1ea||_0x178bd0['model']['createRangeIn'](_0x39e5cc),_0x48bc8f=[new _0x5f37cd['MarkerOperation']('$markedRemove:synthetic'+_0x5f37cd['uid'](),null,_0x2368ca,_0x178bd0['model']['document']['model']['markers'],!0x0,_0x178bd0['model']['document']['version']+0x1),new _0x5f37cd['InsertOperation'](_0x2368ca['end'],_0x494223,_0x178bd0['model']['document']['version']+0x2)];_0x151845['push']({'operations':_0x48bc8f,'operationsIsolated':_0x48bc8f,'groupOffset':0x0});}}else _0x151845['push'](..._0x57146e);let _0x3b5d16=0x0;return _0x178bd0['model']['change'](_0x314d02=>{for(let _0x1d680f=0x0;_0x1d680f<_0x151845['length'];_0x1d680f++){const _0x56e1ee=_0x151845[_0x1d680f],_0x1b18b3=_0x314d02['createDocumentFragment']();for(const _0x4294ab of _0x39e5cc['getChildren']())_0x314d02['append'](_0x4294ab['_clone'](!0x0),_0x1b18b3);for(const _0x3a4bca of _0x56e1ee['operationsIsolated'])if('insert'===_0x3a4bca['type']){const _0x215b47=_0x3a4bca;_0x215b47['baseVersion']=null,_0x215b47['isDocumentOperation']=!0x1,this['_changeOperationOwnerDocument'](_0x215b47,_0x1b18b3),_0x314d02['batch']['addOperation'](_0x3a4bca),_0x178bd0['model']['applyOperation'](_0x3a4bca);const _0x5dd462='suggestion:insertion:id:authorId:'+_0x3b5d16++,_0x2a96b2=_0x178bd0['model']['createRange'](_0x215b47['position'],_0x215b47['position']['getShiftedBy'](_0x215b47['howMany']));_0x1b18b3['markers']['set'](_0x5dd462,_0x2a96b2);}else{if('marker'===_0x3a4bca['type']&&_0x3a4bca['name']['startsWith']('$markedRemove')){const _0x21e1ed=_0x3a4bca,_0x55a56a='suggestion:deletion:id:authorId:'+_0x3b5d16++;this['_changeOperationOwnerDocument'](_0x21e1ed,_0x1b18b3),_0x1b18b3['markers']['set'](_0x55a56a,_0x21e1ed['newRange']);}}if(_0x276e57)_0x20dc17['push']({..._0x56e1ee,'context':this['_createGetContentFn'](_0x39e5cc,_0x178bd0['data']),'content':this['_createGetContentFn'](_0x39e5cc,_0x178bd0['data'])});else{const _0x2e5b56=this['_getChangeContext'](this['_changePositionOwnerDocument'](this['_getOperationStart'](_0x56e1ee['operationsIsolated'][0x0]),_0x1b18b3),this['_changePositionOwnerDocument'](this['_getOperationEnd'](_0x56e1ee['operationsIsolated'][_0x56e1ee['operationsIsolated']['length']-0x1]),_0x1b18b3),_0x178bd0);_0x1b18b3['markers']['set'](_0x1850bf+'suggestion-context',new _0x5f37cd['ModelRange'](_0x2e5b56['start'],_0x2e5b56['end'])),_0x20dc17['push']({..._0x56e1ee,'context':this['_createGetContextFn'](_0x1b18b3,_0x178bd0['data'],{'ellipsisBefore':_0x2e5b56['hasContentBefore'],'ellipsisAfter':_0x2e5b56['hasContentAfter']}),'content':this['_createGetContentFn'](_0x1b18b3,_0x178bd0['data'])});}}}),_0x20dc17;}['markChangePositionInEditorContent'](_0x13e6f1,_0x17ce5c){if(!_0x13e6f1['length'])return;const _0xd89821=_0x13e6f1[0x0]['parent']['id'],_0x362248=_0x17ce5c['elements']['get'](_0xd89821);if(!_0x362248)return void console['warn']('No\x20element\x20found\x20for\x20ID:\x20'+_0xd89821);const _0x4b1b73=_0x362248['path'],_0x50cb1e=_0x362248['editor'],_0x1a53a2=_0x50cb1e['model']['document']['getRoot'](_0x362248['rootName']);if(!_0x1a53a2)return void console['warn']('No\x20model\x20root\x20found\x20for\x20name:\x20'+_0x362248['rootName']);const _0x118b3a=_0x50cb1e['model']['document']['history']['getOperations'](_0x362248['documentVersion']),_0x14bce7=[];for(const _0x2955ee of _0x13e6f1){const _0x4ec535=_0x2955ee['operationsIsolated']['map'](_0x1baeff=>this['_translateOperationToEditorContent'](_0x1baeff,_0x4b1b73,_0x1a53a2));if(!_0x4ec535||!_0x4ec535['length'])continue;const _0x52b29c=_0x4ec535['every'](_0xa4e1ef=>'marker'===_0xa4e1ef['type']&&_0xa4e1ef['name']['startsWith']('$markedRemove')),_0x47f4d7={'document':_0x50cb1e['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x58b75f=_0x5f37cd['transformOperationSets'](_0x4ec535,_0x118b3a,_0x47f4d7)['operationsA'];for(const _0x38332d of _0x58b75f)if('insert'===_0x38332d['type']){const _0x2929ff=_0x38332d,_0x104092=_0x2929ff['nodes'];_0x50cb1e['model']['change'](_0x45a3d2=>{const _0x410b61=_0x45a3d2['createDocumentFragment']();for(const _0x2ee0ab of _0x104092)_0x45a3d2['append'](_0x2ee0ab['_clone'](!0x0),_0x410b61);_0x14bce7['push']({'start':_0x2929ff['position'],'end':_0x2929ff['position'],'type':'insert','groupId':_0x2955ee['id'],'content':{'asString':this['_createGetContentFn'](_0x410b61,_0x50cb1e['data'])(),'asFragment':_0x410b61}});});}else{if('marker'===_0x38332d['type']&&_0x38332d['name']['startsWith']('$markedRemove')){const _0x473949=_0x38332d;let _0x145dde='remove-text';if(_0x52b29c){const _0x5e562c=this['_findAdjacentContextDistance'](_0x473949['newRange']['start'],'backward',_0x50cb1e['model']['schema']),_0x108c7c=this['_findAdjacentContextDistance'](_0x473949['newRange']['end'],'forward',_0x50cb1e['model']['schema']);if(_0x5e562c||_0x108c7c){const _0x578bbe=_0x473949['newRange']['start']['getShiftedBy'](-_0x5e562c),_0x42bf23=_0x473949['newRange']['end']['getShiftedBy'](_0x108c7c);_0x14bce7['push']({'start':_0x578bbe,'end':_0x42bf23,'groupId':_0x2955ee['id'],'type':'remove-context'});}else _0x145dde='remove-only';}_0x14bce7['push']({'start':_0x473949['newRange']['start'],'end':_0x473949['newRange']['end'],'groupId':_0x2955ee['id'],'type':_0x145dde});}}}this['_insertMarkers'](_0x14bce7,_0x50cb1e);}['clearAllMarkers'](){const _0x374460=new Map();for(const _0x4d7404 of this['_markers']['keys']()){const _0x23ba7e=this['_markers']['get'](_0x4d7404);_0x23ba7e?.['editor']&&(_0x374460['has'](_0x23ba7e['editor'])||_0x374460['set'](_0x23ba7e['editor'],[]),_0x374460['get'](_0x23ba7e['editor'])['push'](_0x4d7404));}for(const [_0x283225,_0x54e370]of _0x374460)_0x283225['model']['change'](_0x198fcc=>{for(const _0x4dc9f9 of _0x54e370)_0x283225['model']['markers']['get'](_0x4dc9f9)&&_0x198fcc['removeMarker'](_0x4dc9f9);});this['_markers']['clear'](),this['_activeMarkers']['clear']();}['switchToReadOnly'](){for(const _0x43d66f of _0x1f8c08(this['context']))_0x43d66f['enableReadOnlyMode']('ai-review');}['switchToEdit'](){for(const _0x43814a of _0x1f8c08(this['context']))_0x43814a['disableReadOnlyMode']('ai-review');}['applyChange'](_0x358d21){const _0x429c57=_0x358d21['map'](_0x49beb2=>this['_getMarkersDataForGroup'](_0x49beb2))['flat'](),_0xad590e=new Map();for(const _0x255799 of _0x429c57)_0xad590e['has'](_0x255799['editor'])||_0xad590e['set'](_0x255799['editor'],[]),_0xad590e['get'](_0x255799['editor'])['push'](_0x255799);for(const [_0x223025,_0x125a3c]of _0xad590e){const _0x471c5d=_0x223025['model'];_0x471c5d['change'](_0x1a8c35=>{for(const _0x32d46e of _0x125a3c){const _0x180b80=_0x223025['model']['markers']['get'](_0x32d46e['id']);if(_0x180b80){if('insert'===_0x32d46e['type']){if(!_0x32d46e['content'])continue;_0x471c5d['insertContent'](_0x32d46e['content']['asFragment']||null,_0x180b80['getRange']()['start']);}else'remove-text'!==_0x32d46e['type']&&'remove-only'!==_0x32d46e['type']||_0x471c5d['deleteContent'](_0x471c5d['createSelection'](_0x180b80['getRange']()));_0x1a8c35['removeMarker'](_0x32d46e['id']),this['_markers']['delete'](_0x32d46e['id']);}}});}}['rejectChange'](_0x55cc8e){const _0x519b71=this['_getMarkersDataForGroup'](_0x55cc8e),_0x36ead5=new Map();for(const _0x34e40e of _0x519b71)_0x36ead5['has'](_0x34e40e['editor'])||_0x36ead5['set'](_0x34e40e['editor'],[]),_0x36ead5['get'](_0x34e40e['editor'])['push'](_0x34e40e);for(const [_0x1ffc31,_0x143b04]of _0x36ead5)_0x1ffc31['model']['change'](_0x48abe2=>{for(const _0x1433fc of _0x143b04)_0x48abe2['removeMarker'](_0x1433fc['id']),this['_markers']['delete'](_0x1433fc['id']);});}['getEditor'](){return _0x27cbdf(this['context']);}['getEditors'](){return _0x1f8c08(this['context']);}['getEditorForChange'](_0xbc10bc){const _0x297861=this['_getMarkersDataForGroup'](_0xbc10bc);return _0x297861[0x0]?.['editor'];}['getMarkerElementForChange'](_0x119c02){const _0x46664a=Array['from'](this['_markers']['values']())['filter'](_0x3e5fed=>_0x3e5fed['groupId']===_0x119c02);if(!_0x46664a['length'])return null;const _0x2b6cea=0x1===_0x46664a['length']?_0x46664a[0x0]:this['_sortMarkers'](_0x46664a)[0x0],_0x5b658a=_0x2b6cea['editor']['model']['markers']['get'](_0x2b6cea['id']);if(!_0x5b658a)return null;return{'modelRange':_0x5b658a['getRange'](),'getElement':()=>this['_findMarkerElementById'](_0x2b6cea['id'])};}['getContentElementForChange'](_0xbf94de){const _0x4481b5=Array['from'](this['_markers']['values']())['filter'](_0x1af541=>_0x1af541['groupId']===_0xbf94de);if(!_0x4481b5['length'])return null;const _0x212682=0x1===_0x4481b5['length']?_0x4481b5[0x0]:this['_sortMarkers'](_0x4481b5)[0x0],_0x466e91=_0x212682['editor'],_0x2a47ef=_0x466e91['model']['markers']['get'](_0x212682['id']);if(!_0x2a47ef)return null;const _0x467265=_0x2a47ef['getRange'](),_0x56bf43=_0x466e91['editing']['view']['getDomRoot'](_0x467265['root']['rootName'])||_0x466e91['editing']['view']['getDomRoot']();if(!_0x56bf43||!_0x467265)return null;let _0x94ff7c=_0x467265['start']['parent'];for(;_0x94ff7c['parent']&&!_0x94ff7c['parent']['is']('rootElement');)_0x94ff7c=_0x94ff7c['parent'];if(!_0x94ff7c||!_0x94ff7c['name'])return null;const _0x261c40=_0x56bf43['querySelector']('[data-marker-id=\x22'+_0x212682['id']+'\x22]');if(!_0x261c40)return null;let _0x7f0099=null;_0x466e91['model']['change'](_0x14b8eb=>{_0x7f0099=_0x14b8eb['createDocumentFragment'](),_0x14b8eb['append'](_0x94ff7c['_clone'](!0x0),_0x7f0099);});const _0x186b07=_0x466e91['data']['toView'](_0x7f0099)['getChild'](0x0);return _0x261c40['closest'](_0x186b07['name']);}['reactivateMarkers'](_0x2e98da){const _0x82b32b=this['_getMarkersDataForGroup'](_0x2e98da);if(!_0x82b32b['length'])return;const _0x478080=Array['from'](this['_activeMarkers'])['sort'](),_0x3fe2cf=Array['from'](new Set(_0x82b32b['map'](_0x411509=>_0x411509['id'])))['sort']();_0x478080['join']('|')!==_0x3fe2cf['join']('|')&&(this['setAllMarkersAsInactive'](),this['setMarkersInElementAsActive'](_0x2e98da));}['setMarkersInElementAsActive'](_0x4b8f50){const _0x552331=this['_getMarkersDataForGroup'](_0x4b8f50);if(!_0x552331['length'])return;const _0x2b8ace=_0x552331[0x0]['editor'],_0x4011c5=new Set(_0x552331['map'](_0x52ec9c=>_0x52ec9c['id'])),_0x179f0d=Array['from'](_0x4011c5['values']())['map'](_0x2f729c=>_0x2b8ace['model']['markers']['get'](_0x2f729c))['filter'](_0x3795e9=>!!_0x3795e9);_0x4011c5['forEach'](_0x1a9dde=>{this['_activeMarkers']['add'](_0x1a9dde);}),_0x2b8ace['model']['change'](()=>{_0x179f0d['forEach'](_0x417346=>{_0x2b8ace['editing']['reconvertMarker'](_0x417346);});});}['setAllMarkersAsInactive'](){const _0x47b426=Array['from'](this['_activeMarkers']);if(!_0x47b426['length'])return;this['_activeMarkers']['clear']();const _0x7cab3=new Map();for(const _0x46d7f1 of _0x47b426){const _0x4516af=this['_markers']['get'](_0x46d7f1);if(!_0x4516af)continue;const _0xfecf42=_0x4516af['editor'],_0x1b3842=_0xfecf42['model']['markers']['get'](_0x46d7f1);_0x1b3842&&(_0x7cab3['has'](_0xfecf42)||_0x7cab3['set'](_0xfecf42,[]),_0x7cab3['get'](_0xfecf42)['push'](_0x1b3842));}for(const [_0x2fd121,_0x4bfd8b]of _0x7cab3)_0x2fd121['model']['change'](()=>{_0x4bfd8b['forEach'](_0xcc2c6c=>{_0x2fd121['editing']['reconvertMarker'](_0xcc2c6c);});});}['_getPositionLimitingRange'](_0x21c36f,_0xc86d09,_0x2bdb03='outside'){if(!_0x21c36f)return null;let _0x24bdda=_0x21c36f['parent'];for(;_0x24bdda&&_0x24bdda['parent']&&!_0x24bdda['parent']['is']('rootElement')&&!_0xc86d09['model']['schema']['isLimit'](_0x24bdda)&&!_0xc86d09['model']['schema']['isBlock'](_0x24bdda);)_0x24bdda=_0x24bdda['parent'];if(!_0x24bdda||!_0x24bdda['name']||_0x24bdda['is']('rootElement'))return null;let _0x3d1b27=null;return _0xc86d09['model']['change'](_0x3faad5=>{_0x3d1b27='inside'===_0x2bdb03?_0x3faad5['createRangeIn'](_0x24bdda):_0x3faad5['createRangeOn'](_0x24bdda);}),_0x3d1b27;}['_validateMarkers'](_0x44c373,_0x31a354){const _0x1d9800=Array['from'](this['_markers']['keys']()),_0x3f448b=new Map();for(const _0x4de750 of _0x1d9800){const _0x52ff5d=_0x44c373['model']['markers']['get'](_0x4de750);if(!_0x52ff5d)continue;const _0x288747=_0x52ff5d['getStart']()['root']['rootName']+':'+_0x52ff5d['getStart']()['path'][0x0];_0x3f448b['has'](_0x288747)||_0x3f448b['set'](_0x288747,[]),_0x3f448b['get'](_0x288747)['push'](_0x52ff5d);}const _0x4a7526=new Set();for(const _0x4b4c7f of _0x44c373['model']['document']['differ']['getChanges']()){let _0x290138='',_0x592c01=null;if('insert'===_0x4b4c7f['type'])_0x592c01=new _0x5f37cd['ModelRange'](_0x4b4c7f['position'],_0x4b4c7f['position']['getShiftedBy'](_0x4b4c7f['length'])),_0x290138=_0x4b4c7f['position']['root']['rootName']+':'+_0x4b4c7f['position']['path'][0x0];else{if('remove'!==_0x4b4c7f['type'])continue;_0x592c01=new _0x5f37cd['ModelRange'](_0x4b4c7f['position']),_0x290138=_0x4b4c7f['position']['root']['rootName']+':'+_0x4b4c7f['position']['path'][0x0];}const _0x42add6=_0x3f448b['get'](_0x290138)||[];if(_0x42add6['length']){for(const _0x5d7144 of _0x42add6)if(_0x592c01['root']['rootName']===_0x5d7144['getRange']()['root']['rootName']&&('insert'!==_0x4b4c7f['type']||!_0x592c01['containsRange'](_0x5d7144['getRange']()))&&(_0x592c01['isIntersecting'](_0x5d7144['getRange']())||_0x592c01['start']['isTouching'](_0x5d7144['getRange']()['end'])||_0x592c01['end']['isTouching'](_0x5d7144['getRange']()['start']))){const _0x37698c=this['_parseMarkerName'](_0x5d7144['name']);Array['from'](this['_markers']['values']())['filter'](_0x1fb3e0=>_0x1fb3e0['groupId']===_0x37698c['groupId'])['forEach'](_0x297112=>_0x4a7526['add'](_0x297112['id']));}}}if(_0x4a7526['size']){for(const _0x426793 of _0x4a7526)_0x31a354['removeMarker'](_0x426793);return!0x0;}return!0x1;}['_handleMarkerChanges'](_0x13e627){for(const {name:_0x4d290e,data:_0x45423c}of _0x13e627['model']['document']['differ']['getChangedMarkers']()){if(!_0x4d290e['startsWith'](_0x1850bf))continue;const _0x454da0=_0x45423c['oldRange'],_0x22a3c2=_0x45423c['newRange'],_0x3c1cab=_0x454da0&&'$graveyard'===_0x454da0['root']['rootName'],_0x2203b5=_0x22a3c2&&'$graveyard'===_0x22a3c2['root']['rootName'];if(_0x3c1cab&&_0x2203b5)continue;const _0x336115=this['_parseMarkerName'](_0x4d290e);this['_markers']['get'](_0x4d290e)&&(_0x2203b5||!_0x22a3c2?this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x4d290e,'changeId':_0x336115['groupId']}):_0x3c1cab&&_0x22a3c2&&this['_eventEmitter']['fire']('changeMarkerRestored',{'markerId':_0x4d290e,'changeId':_0x336115['groupId']}));}}['_parseMarkerName'](_0x5618f9){const _0x437756=_0x5618f9['split'](':'),_0x1ed2ee=(_0x437756[0x1]||'')['split']('_');return{'prefix':_0x437756[0x0],'groupId':_0x1ed2ee[0x0],'suffix':_0x1ed2ee[0x1]};}['_translateOperationToEditorContent'](_0x21b937,_0x7d92e2,_0x51fda1){if('insert'===_0x21b937['type']){const _0x1c2695=_0x21b937;return new _0x5f37cd['InsertOperation'](this['_changePosition'](_0x7d92e2['concat'](_0x1c2695['position']['offset']),_0x51fda1),_0x1c2695['nodes'],_0x1c2695['baseVersion']);}if('marker'===_0x21b937['type']&&_0x21b937['name']['startsWith']('$markedRemove')){const _0x41d2fa=_0x21b937;return new _0x5f37cd['MarkerOperation'](_0x41d2fa['name'],_0x41d2fa['oldRange'],this['_changeRange'](_0x41d2fa['newRange'],_0x7d92e2['concat'](_0x41d2fa['newRange']['start']['offset']),_0x7d92e2['concat'](_0x41d2fa['newRange']['end']['offset']),_0x51fda1),_0x41d2fa['_markers'],_0x41d2fa['affectsData'],_0x41d2fa['baseVersion']);}return _0x21b937;}['_groupAdjacentOperations'](_0x2a934e){if(!_0x2a934e['length'])return[];const _0x52141d=[];let _0xee96de=0x0,_0x4a317d=0x0,_0x84fca5=[];for(let _0x123653=0x0;_0x123653<=_0x2a934e['length'];_0x123653++){const _0x59639f=_0x2a934e[_0x123653],_0x2e74ec=_0x2a934e[_0x123653-0x1];!_0x59639f||_0x2e74ec&&!this['_getOperationEnd'](_0x2e74ec)['isTouching'](this['_getOperationStart'](_0x59639f))?(_0x52141d['push']({'operations':_0x84fca5,'operationsIsolated':_0x84fca5['map'](_0x51b491=>this['_shiftOperation'](_0x51b491['clone'](),-_0x4a317d)),'groupOffset':_0xee96de}),_0x84fca5=_0x59639f?[_0x59639f]:[],_0x4a317d+=_0xee96de,_0xee96de=0x0):_0x84fca5['push'](_0x59639f),_0x59639f&&'insert'===_0x59639f['type']&&(_0xee96de+=_0x59639f['howMany']);}return _0x52141d;}['_findAdjacentContextDistance'](_0x526ed7,_0x3e764d,_0x47b5c5,_0x2ad597=0x1){const _0x4eb697=new _0x5f37cd['ModelTreeWalker']({'startPosition':_0x526ed7,'direction':_0x3e764d});let _0x534685=0x0;for(let _0x4b03dc=0x0;_0x4b03dc<_0x2ad597;_0x4b03dc++){let _0x3c0af1=0x0,_0x6fba8e=!0x1,_0x977296='forward'===_0x3e764d?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x5046ef}of _0x4eb697)if(_0x5046ef['is']('$textProxy')){const _0x398a44=_0x977296['exec'](_0x5046ef['data']);if(_0x398a44&&_0x398a44['length']){if(_0x3c0af1+='forward'===_0x3e764d?_0x398a44['index']+_0x398a44[0x0]['length']:_0x5046ef['data']['length']-_0x398a44['index'],_0x398a44[0x0]['length']!==_0x5046ef['data']['length'])break;_0x6fba8e=!0x0,_0x977296='forward'===_0x3e764d?/^\w+/:/\w+$/;}else{if(_0x6fba8e)break;_0x3c0af1+=_0x5046ef['offsetSize'];}}else{if(_0x5046ef['is']('element')){_0x47b5c5['isInline'](_0x5046ef)&&!_0x6fba8e&&(_0x3c0af1+=0x1);break;}}_0x534685+=_0x3c0af1,_0x4eb697['jumpTo'](_0x526ed7['getShiftedBy']('forward'===_0x3e764d?_0x534685:-_0x534685));}return _0x534685;}['_getChangeContext'](_0x4aae65,_0x26182d,_0x391a30){const _0x528ee6=_0x391a30['model']['schema'],_0x14b188=this['_findAdjacentContextDistance'](_0x4aae65,'backward',_0x528ee6,0x6),_0x24db5d=this['_findAdjacentContextDistance'](_0x26182d,'forward',_0x528ee6,0x6),_0x307680=_0x4aae65['getShiftedBy'](-_0x14b188),_0x2a3f46=_0x26182d['getShiftedBy'](_0x24db5d);return{'start':_0x307680,'end':_0x2a3f46,'hasContentBefore':!_0x307680['isAtStart'],'hasContentAfter':!_0x2a3f46['isAtEnd']};}['_insertMarkers'](_0x244d4b,_0x6952da){const _0x42ca02=this['context']['plugins']['get']('AIEditing'),_0x145e86=new Set();_0x6952da['model']['change'](_0x1d022f=>{for(const _0x23c65d of _0x244d4b){const _0x3fbe2b=''+_0x1850bf+_0x23c65d['type']+':'+_0x23c65d['groupId']+'_'+_0x42ca02['_nextDataId'](_0x145e86);this['_markers']['set'](_0x3fbe2b,{'id':_0x3fbe2b,'groupId':_0x23c65d['groupId'],'type':_0x23c65d['type'],'content':_0x23c65d['content'],'editor':_0x6952da}),_0x1d022f['addMarker'](_0x3fbe2b,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1d022f['createRange'](_0x23c65d['start'],_0x23c65d['end'])});}});}['_createGetContextFn'](_0x3030d1,_0xdb1798,_0x136d4f){let _0x36e9fc='';return()=>{if(!_0x36e9fc){const _0x43c3fc=_0xdb1798['toView'](_0x3030d1,{'showSuggestionHighlights':!0x0});let _0x8e4824=_0x43c3fc['getChild'](0x0);if(_0x8e4824['is']('containerElement')||(_0x8e4824=_0x43c3fc),!_0x8e4824)return'';let _0x54f0bc=!0x1;const _0x39cad3=[];for(const _0x49c9a1 of _0x8e4824['getChildren']())_0x49c9a1['is']('element','span')&&_0x49c9a1['hasClass']('ck-ai_review-marker_context-end')&&(_0x54f0bc=!0x1),_0x54f0bc&&_0x39cad3['push'](_0x49c9a1),_0x49c9a1['is']('element','span')&&_0x49c9a1['hasClass']('ck-ai_review-marker_context-start')&&(_0x54f0bc=!0x0);_0x8e4824['_removeChildren'](0x0,_0x8e4824['childCount']),_0x136d4f?.['ellipsisBefore']&&_0x8e4824['_appendChild']('…'),_0x8e4824['_appendChild'](_0x39cad3),_0x136d4f?.['ellipsisAfter']&&_0x8e4824['_appendChild']('…');const _0x2848bf=_0xdb1798['htmlProcessor']['domConverter']['viewToDom'](_0x43c3fc),_0x4fd4f4=_0xdb1798['htmlProcessor']['htmlWriter']['getHtml'](_0x2848bf);_0x36e9fc=this['_removeUnsupportedElements'](_0x4fd4f4);}return _0x36e9fc;};}['_createGetContentFn'](_0x29457a,_0x37d744){let _0x2f8f9c='';return()=>(_0x2f8f9c||(_0x2f8f9c=this['_removeUnsupportedElements'](_0x37d744['stringify'](_0x29457a,{'showSuggestionHighlights':!0x0}))),_0x2f8f9c);}['_createGetContentUsingDataIdFn'](_0xffb406,_0x3a27b2,_0x3cf0b1){let _0x2ed59d='';return()=>{if(!_0x2ed59d){const _0x2a6958=_0x3cf0b1['toView'](new _0x5f37cd['ModelDocumentFragment'](_0xffb406)),_0x52b7b1=_0x3cf0b1['htmlProcessor']['domConverter']['viewToDom'](_0x2a6958)['querySelector']('[data-id=\x22'+_0x3a27b2+'\x22]');_0x2ed59d=_0x52b7b1?.['outerHTML']||'';}return _0x2ed59d;};}['_removeUnsupportedElements'](_0x30550b){if(!_0x30550b)return'';const _0x19d284=_0x6747e8(_0x30550b,{'decodeEntities':!0x1}),_0x5891ad=_0x126a31(_0x19d284);if(!_0x5891ad['length'])return _0x30550b;for(const _0x456b17 of _0x5891ad)_0x168c18(_0x456b17);return _0x2e8cdd(_0x19d284,{'encodeEntities':!0x1});}['_neutralizeChangesOnUnsupportedElements'](_0x3a5421,_0x42a080){const _0x3871b1=_0x6747e8(_0x3a5421,{'decodeEntities':!0x1}),_0x47f96d=_0x6747e8(_0x42a080,{'decodeEntities':!0x1}),_0x31c72d=_0x126a31(_0x3871b1),_0x249fdf=_0x126a31(_0x47f96d);if(!_0x31c72d['length']&&!_0x249fdf['length'])return{'contentInitial':_0x3a5421,'contentNew':_0x42a080};const _0x533514=new Map();for(const _0x2c5008 of _0x31c72d)_0x533514['set'](_0x31b99b(_0x2c5008,'data-id'),_0x2c5008);for(const _0x43dcaf of _0x249fdf){const _0x2594f0=_0x31b99b(_0x43dcaf,'data-id'),_0x75766e=_0x2594f0?_0x533514['get'](_0x2594f0):void 0x0;_0x75766e?_0x554f27(_0x43dcaf,_0x213159(_0x75766e,!0x0)):_0x168c18(_0x43dcaf);}return{'contentInitial':_0x2e8cdd(_0x3871b1,{'encodeEntities':!0x1}),'contentNew':_0x2e8cdd(_0x47f96d,{'encodeEntities':!0x1})};}['_findMarkerElement'](_0x154c2f,_0x553cb4=0x5){let _0x279459=_0x154c2f,_0x4971f2=null;for(let _0x48897e=0x0;_0x48897e<_0x553cb4&&_0x279459;_0x48897e++){if(!_0x279459['className']){_0x279459=_0x279459['parentElement'];continue;}if(!(''+_0x279459['className'])['includes']('ck-ai_review-marker_')){_0x279459=_0x279459['parentElement'];continue;}if(!_0x279459['getAttribute']('data-marker-id'))break;_0x4971f2=_0x279459;break;}return _0x4971f2;}['_findMarkerElementById'](_0x464982){const _0x52c1ce=this['_markers']['get'](_0x464982);if(!_0x52c1ce)return null;const _0x17501c=_0x52c1ce['editor']['model']['markers']['get'](_0x464982);return _0x17501c?_0xd0cedc(_0x52c1ce['editor']['editing'],_0x17501c):null;}['_getMarkersDataForGroup'](_0x669502){return Array['from'](this['_markers']['values']())['filter'](_0x1bc2c7=>_0x1bc2c7['groupId']===_0x669502);}['_getOperationStart'](_0x4363d8){return'insert'===_0x4363d8['type']?_0x4363d8['position']:_0x4363d8['newRange']['start'];}['_getOperationEnd'](_0x265902,_0x12530e=!0x1){return'insert'===_0x265902['type']?_0x12530e?_0x265902['position']:_0x265902['position']['getShiftedBy'](_0x265902['howMany']):_0x265902['newRange']['end'];}['_shiftOperation'](_0x2c6831,_0x43b0aa){return'insert'===_0x2c6831['type']?_0x2c6831['position']=_0x2c6831['position']['getShiftedBy'](_0x43b0aa):'marker'===_0x2c6831['type']&&_0x2c6831['newRange']&&(_0x2c6831['newRange']=new _0x5f37cd['ModelRange'](_0x2c6831['newRange']['start']['getShiftedBy'](_0x43b0aa),_0x2c6831['newRange']['end']['getShiftedBy'](_0x43b0aa))),_0x2c6831;}['_changeOperationOwnerDocument'](_0x2e4fd1,_0x37de5d){'insert'===_0x2e4fd1['type']?_0x2e4fd1['position']=this['_changePositionOwnerDocument'](_0x2e4fd1['position'],_0x37de5d):'marker'===_0x2e4fd1['type']&&_0x2e4fd1['newRange']&&(_0x2e4fd1['newRange']=this['_changeRangeOwnerDocument'](_0x2e4fd1['newRange'],_0x37de5d));}['_changePositionOwnerDocument'](_0x1164b5,_0x535068){return new _0x5f37cd['ModelPosition'](_0x535068,_0x1164b5['path']);}['_changeRangeOwnerDocument'](_0x821097,_0x35534d){return new _0x5f37cd['ModelRange'](this['_changePositionOwnerDocument'](_0x821097['start'],_0x35534d),this['_changePositionOwnerDocument'](_0x821097['end'],_0x35534d));}['_changePosition'](_0x4da4e9,_0x432521){return new _0x5f37cd['ModelPosition'](_0x432521,[..._0x4da4e9]);}['_changeRange'](_0x2f6871,_0x5883a5,_0x25d08b,_0x50d274){return new _0x5f37cd['ModelRange'](this['_changePosition'](_0x5883a5,_0x50d274),this['_changePosition'](_0x25d08b,_0x50d274));}['_sortMarkers'](_0x4d9b9d){const _0x51bedb=_0x4456df=>{switch(_0x4456df){case'insert':return 0x0;case'remove-context':return 0x1;case'remove-only':return 0x2;case'remove-text':return 0x3;}};return _0x4d9b9d['sort']((_0x2b7690,_0x41b288)=>_0x51bedb(_0x2b7690['type'])-_0x51bedb(_0x41b288['type']));}['_hasSameTopLevelElement'](_0x3aa624,_0x339cbd){const _0x586071=_0x3aa624['getChild'](0x0),_0x76eb61=_0x339cbd['getChild'](0x0);return!(!_0x586071||!_0x76eb61)&&((!_0x586071['is']('element')||!_0x76eb61['is']('element')||_0x586071['name']===_0x76eb61['name'])&&!(_0x586071['is']('element')&&!_0x76eb61['is']('element')||!_0x586071['is']('element')&&_0x76eb61['is']('element')));}['_haveSingleTopLevelElement'](_0x8286e0){return 0x1===_0x8286e0['childCount'];}['_haveOnlyInlineContent'](_0x31fe81,_0x81c756){for(const _0x54b818 of _0x31fe81['getChildren']())if(_0x54b818['is']('element')&&!_0x81c756['isInline'](_0x54b818))return!0x1;return!0x0;}['_upsertDataId'](_0x45e30a,_0xbb5fc9){let _0x9303ea=_0x45e30a['getAttribute'](_0x2ac16d);return _0x9303ea||(_0x9303ea=_0xbb5fc9(),_0x45e30a['_setAttribute'](_0x2ac16d,_0x9303ea)),_0x9303ea;}}class AIReviewCheckResult extends _0x5f37cd['EmitterMixin'](){['id'];['contentNew'];['contentInitial'];['documentVersion'];constructor({id:_0x533d58,contentNew:_0x198208,contentInitial:_0x3eb1f6,documentVersion:_0x160068}){super(),this['id']=_0x533d58,this['contentNew']=_0x198208,this['contentInitial']=_0x3eb1f6,this['documentVersion']=_0x160068;}}class AIReviewCheckResultChange extends _0x5f37cd['ObservableMixin'](){['id'];['parent'];['_data'];['_editorOperations']=[];constructor(_0x430b6e,_0x1f0da0,_0x503d65){super(),this['id']=_0x430b6e,this['parent']=_0x503d65,this['_data']=_0x1f0da0,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 _0xb3f8c6 extends _0x5f37cd['ObservableMixin'](){['id']=_0x5f37cd['uid']();['callId'];['_results']=new Map();['_changes']=[];['_sourceCheck'];['_documentData'];['_aiConnector'];['_reviewParams'];['_reviewArgs'];['_activeRequest']=null;['_currentError'];['_wasAborted']=!0x1;constructor(_0x3b9cb9,_0x4f50d6,_0x7e29a8,_0x2a48f6,_0x214a9d){super(),this['_sourceCheck']=_0x4f50d6,this['_documentData']=_0x3b9cb9,this['_aiConnector']=_0x7e29a8,this['_reviewParams']=_0x2a48f6,this['_reviewArgs']=_0x214a9d,this['on']('change:status',(_0x221e03,_0x3d52d9,_0x4a68ec)=>{'aborted'==_0x4a68ec&&(this['_wasAborted']=!0x0),this['fire']('reviewCheckRunUpdated',{'status':_0x4a68ec,'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'](_0x70a1eb=>'pending'===_0x70a1eb['status']);}get['currentError'](){return this['_currentError'];}get['results'](){return Array['from'](this['_results']['values']());}['updateDocumentData'](_0x4b9761){this['_documentData']=_0x4b9761;}async['start'](){this['status']='loading',this['_currentError']=void 0x0;try{this['_activeRequest']=this['_createApiRequest']();const _0x5a71e0=await this['_activeRequest']['getStream']();this['status']='data';for await(const _0x2f5e58 of _0x5a71e0)'unmodified'!==_0x2f5e58['data']['operation']&&('error'!==_0x2f5e58['data']['operation']?'review-metadata'!==_0x2f5e58['event']?this['_addReviewCheckResult'](_0x2f5e58['data']['dataId'],_0x2f5e58['data']['textDelta']):this['callId']=_0x2f5e58['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(_0x3e772c){this['_currentError']=_0x3e772c,_0x3e772c instanceof Error&&_0x3e772c['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'](_0x1af510,_0x385832){const _0x35a205=this['_results']['get'](_0x1af510);if(!_0x35a205)return;if(0x0===_0x385832['length'])return;const _0x5a90e4=[];_0x385832['forEach']((_0x26ba34,_0x5ef5ef)=>{const _0x9d0beb=new AIReviewCheckResultChange(_0x35a205['id']+'-'+_0x5ef5ef,_0x26ba34,_0x35a205);_0x9d0beb['on']('change:status',()=>{this['fire']('reviewCheckResultChangeStatusUpdated',{'change':_0x9d0beb,'status':_0x9d0beb['status']});}),_0x9d0beb['on']('change:isActivated',()=>{_0x9d0beb['isActivated']?this['fire']('reviewCheckResultActivated',{'change':_0x9d0beb}):this['fire']('reviewCheckResultDeactivated',{'change':_0x9d0beb});}),this['_changes']['push'](_0x9d0beb),_0x5a90e4['push'](_0x9d0beb);}),this['fire']('reviewCheckResultReady',{'changes':_0x5a90e4,'result':_0x35a205,'source':this});}['abort'](){this['_activeRequest']&&(this['_activeRequest']['abortController']['abort'](),this['_activeRequest']=null,this['status']='aborted');}['isChangeActive'](_0x2567b6){const _0x297daf=this['_changes']['find'](_0x3ed877=>_0x3ed877['id']===_0x2567b6);return!(!_0x297daf||'pending'!==_0x297daf['status']);}['isAnyChangeActivated'](){return this['_changes']['some'](_0x31c129=>!0x0===_0x31c129['isActivated']);}['getActiveChanges'](){return this['_changes']['filter'](_0x22e305=>'pending'===_0x22e305['status']);}['getChangeById'](_0x3a2287){return this['_changes']['find'](_0x52bbf8=>_0x52bbf8['id']===_0x3a2287);}['markAllChangesAsAccepted'](){for(const _0x3686bd of this['_changes'])'pending'===_0x3686bd['status']&&(_0x3686bd['status']='accepted');this['_checkIfFinished']();}['markChangeAsAccepted'](_0x1b798f){const _0x2450a8=this['_changes']['find'](_0x559f8b=>_0x559f8b['id']===_0x1b798f);_0x2450a8&&'pending'===_0x2450a8['status']&&(_0x2450a8['status']='accepted'),this['_checkIfFinished']();}['markChangeAsRejected'](_0x257dee){const _0x2645d0=this['_changes']['find'](_0x287e25=>_0x287e25['id']===_0x257dee);_0x2645d0&&'pending'===_0x2645d0['status']&&(_0x2645d0['status']='rejected'),this['_checkIfFinished']();}['markChangeAsOutdated'](_0x2a615c){const _0x18c770=this['_changes']['find'](_0x489b55=>_0x489b55['id']===_0x2a615c);_0x18c770&&'pending'===_0x18c770['status']&&(_0x18c770['status']='outdated'),this['_checkIfFinished']();}['markChangeAsPending'](_0x432d51){const _0x410601=this['_changes']['find'](_0x13577e=>_0x13577e['id']===_0x432d51);_0x410601&&'outdated'===_0x410601['status']&&(_0x410601['status']='pending'),this['_checkIfFinished']();}['activateChange'](_0x385aba){this['_changes']['filter'](_0x2d6c88=>_0x2d6c88['isActivated']&&_0x2d6c88['id']!==_0x385aba)['forEach'](_0x4e0065=>{_0x4e0065['isActivated']=!0x1;});const _0x359151=this['_changes']['find'](_0x47607b=>_0x47607b['id']===_0x385aba);_0x359151&&'pending'===_0x359151['status']&&(_0x359151['isActivated']=!0x0);}['deactivateChange'](){this['_changes']['filter'](_0x330a21=>_0x330a21['isActivated'])['forEach'](_0x55dfb0=>{_0x55dfb0['isActivated']=!0x1;});}['forceReadyState'](){this['status']='ready';}async['sendRating'](_0x5965ec){if('initialized'===this['status']||'loading'===this['status']||'data'===this['status']||this['_wasAborted'])return;if(!this['callId']||0x0===this['_changes']['length'])return;let _0x2ff707;if(_0x5965ec){const _0x5a7c01=this['_changes']['find'](_0x4037c0=>_0x4037c0['id']===_0x5965ec);if(_0x5a7c01&&_0x5a7c01['isRated'])return;_0x5a7c01&&(_0x2ff707=_0x5a7c01['parent']['id'],_0x5a7c01['isRated']=!0x0);}const _0x369da4={'positiveCount':this['_changes']['filter'](_0x56ada8=>'accepted'===_0x56ada8['status'])['length'],'totalCount':this['_changes']['length']};this['_sendRatingRequest'](_0x369da4,this['callId'],_0x2ff707);}['_addReviewCheckResult'](_0x4d5bf5,_0x5514ac){const _0x15121b=this['_documentData']['elements']['get'](_0x4d5bf5);if(!_0x15121b)return;const _0x2dd817=_0x15121b['getContent']();if(_0x2dd817===_0x5514ac)return;const _0x54a3e9=new AIReviewCheckResult({'id':_0x4d5bf5,'contentInitial':_0x2dd817,'contentNew':_0x5514ac,'documentVersion':_0x15121b['documentVersion']});this['_results']['set'](_0x54a3e9['id'],_0x54a3e9),this['fire']('reviewCheckResultAdded',{'result':_0x54a3e9,'source':this,'editor':_0x15121b['editor']});}['_checkIfFinished'](){'finished'===this['status']&&(this['_changes']['filter'](_0x62b635=>'pending'===_0x62b635['status'])['length']>0x0&&(this['status']='ready')),'ready'===this['status']&&(0x0===this['_changes']['filter'](_0x26ca4f=>'pending'===_0x26ca4f['status'])['length']&&(this['status']='finished'));}}class AIReviewSystemCheckRun extends _0xb3f8c6{get['subTitle'](){if(!this['_reviewParams']||0x0===this['_reviewParams']['length'])return'';const _0x36ab1e=[];if(this['_reviewParams']['length']>0x0&&this['_sourceCheck']['options'])for(let _0x171212=0x0;_0x171212<this['_reviewParams']['length'];_0x171212++){if(!this['_reviewParams'][_0x171212]||!this['_sourceCheck']['options'][_0x171212])continue;const _0x5f01b5=this['_sourceCheck']['options'][_0x171212],_0x498b65=_0x5f01b5['data']?.['find'](_0x51e4ef=>_0x51e4ef['id']===this['_reviewParams'][_0x171212]);_0x498b65&&_0x36ab1e['push'](_0x498b65['label']);}return _0x36ab1e['join'](',\x20');}get['reviewName'](){return this['_composeReviewName']();}['_createApiRequest'](){return this['_aiConnector']['callSystemReview']({'reviewName':this['_composeReviewName'](),'content':this['_documentData']['content'],'args':this['_reviewArgs']});}['_sendRatingRequest'](_0x41e9fd,_0x3e92b8,_0x316472){return this['_aiConnector']['upsertAIReviewRating'](this['reviewName'],_0x3e92b8,_0x41e9fd,_0x316472);}['_composeReviewName'](){return!this['_reviewParams']||0x0===this['_reviewParams']['length']||this['_sourceCheck']['useArgs']?this['_sourceCheck']['apiId']:[this['_sourceCheck']['apiId'],...this['_reviewParams']]['join']('-');}}class AIReviewCoreController extends _0x5f37cd['ContextPlugin']{['_aiConnector'];['_aiReviewCoreUi'];['_aiReviewCoreEditing'];['_availableReviewChecks'];['_currentReviewCheckRun'];['_changeActivationSource']=null;static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_initRequiredPlugins'](),this['_initAvailableReviewChecks'](),this['_initUIListeners']();}async['_initAvailableReviewChecks'](){this['_availableReviewChecks']=await this['_getReviewChecks'](),this['_aiReviewCoreUi']['setAvailableChecks'](this['_availableReviewChecks']);}['_initUIListeners'](){this['listenTo'](this['_aiReviewCoreUi'],'getReviewCheckList',()=>{this['_availableReviewChecks']&&this['_aiReviewCoreUi']['setAvailableChecks'](this['_availableReviewChecks']);}),this['listenTo'](this['_aiReviewCoreUi'],'runReviewCheck',(_0x1e1cb5,_0x58d332)=>this['runCheck'](_0x58d332)),this['listenTo'](this['_aiReviewCoreUi'],'leaveReview',()=>{this['_onReviewRunLeave']();}),this['listenTo'](this['_aiReviewCoreUi'],'leaveReviewCoreResultList',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'abortReviewStream',()=>this['abort']()),this['listenTo'](this['_aiReviewCoreUi'],'finishReview',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'acceptAllChanges',()=>{if(!this['_currentReviewCheckRun'])return;const _0x177eaa=this['_currentReviewCheckRun']['getActiveChanges']();if(!_0x177eaa['length'])return;this['_aiReviewCoreEditing']['applyChange'](_0x177eaa['map'](_0x13306f=>_0x13306f['id']));const _0x5ad9c4=this['_currentReviewCheckRun'];_0x5ad9c4['markAllChangesAsAccepted'](),_0x5ad9c4['sendRating']();}),this['listenTo'](this['_aiReviewCoreUi'],'acceptChange',(_0x3d5ca2,_0xa2ab83)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0xa2ab83['id'])&&(this['_aiReviewCoreEditing']['applyChange']([_0xa2ab83['id']]),this['_currentReviewCheckRun']['markChangeAsAccepted'](_0xa2ab83['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0xa2ab83['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'dismissChange',(_0x5a5b50,_0x34547)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x34547['id'])&&(this['_aiReviewCoreEditing']['rejectChange'](_0x34547['id']),this['_currentReviewCheckRun']['markChangeAsRejected'](_0x34547['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x34547['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',(_0x2d0da3,_0x2f1224)=>{this['_onActivateChange'](_0x2f1224);}),this['listenTo'](this['_aiReviewCoreUi'],'deactivateChange',(_0x38a504,_0x10697f)=>{this['_onDeactivateChange'](_0x10697f);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerClicked',(_0x3b9929,_0x58f2d6)=>{this['_onChangeMarkerClicked'](_0x3b9929,_0x58f2d6);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerHovered',(_0x36bc63,_0x41285f)=>{this['_onChangeMarkerHovered'](_0x36bc63,_0x41285f);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerBlurred',()=>{this['_onChangeMarkerBlurred']();}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRemoved',(_0x2db6b6,_0x442dc5)=>{this['_onChangeMarkerRemoved'](_0x2db6b6,_0x442dc5);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRestored',(_0x393dfe,_0x3f712e)=>{this['_onChangeMarkerRestored'](_0x393dfe,_0x3f712e);});}async['runCheck'](_0x211a97){if(!this['_availableReviewChecks'])return;const _0xab4be8=this['_availableReviewChecks']['find'](_0x1ad76d=>_0x1ad76d['id']===_0x211a97['id']);if(_0xab4be8){this['_onReviewCheckRun'](_0x211a97),this['_aiReviewCoreEditing']['switchToReadOnly'](),this['_currentReviewCheckRun']=this['_createReviewCheckRun'](_0x211a97,_0xab4be8),this['_aiReviewCoreUi']['setCheckResultTitle'](this['_currentReviewCheckRun']['title'],this['_currentReviewCheckRun']['subTitle']),this['_currentReviewCheckRun']['on']('reviewCheckRunUpdated',(_0x5cb853,_0x237db3)=>{switch(_0x237db3['status']){case'data':case'loading':this['_aiReviewCoreUi']['showCheckRunResults'](_0x237db3);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 _0x5f37cd['CKEditorError']('ai-review-mode-check-run-general-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'error-chunk':this['_aiReviewCoreUi']['showChunkErrorView'](),this['_logError'](new _0x5f37cd['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'!==_0x237db3['status']&&'error-chunk'!==_0x237db3['status']&&'error-general'!==_0x237db3['status']||this['_currentReviewCheckRun']?.['sendRating']();}),this['_currentReviewCheckRun']['on']('reviewCheckResultAdded',(_0x55d9df,_0x1a2846)=>{if(!this['_currentReviewCheckRun'])throw new _0x5f37cd['CKEditorError']('ai-review-mode-no-current-check-run',this);const _0x56ae28=this['_diffContent'](_0x1a2846['editor'],_0x1a2846['result']['contentInitial'],_0x1a2846['result']['contentNew']);_0x1a2846['source']['addResultChanges'](_0x1a2846['result']['id'],_0x56ae28);}),this['_currentReviewCheckRun']['on']('reviewCheckResultReady',(_0x4a1ea4,_0x49d73a)=>{for(const _0x19a228 of _0x49d73a['changes'])this['_aiReviewCoreUi']['showCheckRunResult'](_0x19a228);this['_markChangePositionInEditorContent'](_0x49d73a['changes'],_0x49d73a['source']['documentData']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultChangeStatusUpdated',(_0x1847d3,_0x41c9b9)=>{this['_aiReviewCoreUi']['updateChangeState'](_0x41c9b9['change']['id'],_0x41c9b9['status']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultActivated',(_0x75bc08,_0x49e813)=>{this['_onReviewCheckResultActivated'](_0x49e813);}),this['_currentReviewCheckRun']['on']('reviewCheckResultDeactivated',()=>{this['_onReviewCheckResultDeactivated']();});try{await this['_currentReviewCheckRun']['start']();}catch(_0x55eb49){_0x55eb49 instanceof Error&&_0x55eb49['message']['includes']('ai-request-aborted')||(_0x55eb49 instanceof _0x5f37cd['CKEditorError']?this['_logError'](_0x55eb49):this['_logError'](new _0x5f37cd['CKEditorError']('ai-review-mode-check-run-failed',this,void 0x0,_0x55eb49)));}}else this['_logError'](new _0x5f37cd['CKEditorError']('ai-review-mode-source-check-not-found',this,{'checkId':_0x211a97['id']}));}['abort'](){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['abort']();}['getAvailableChecks'](){return this['_availableReviewChecks']??[];}['getCurrentCheckRun'](){return this['_currentReviewCheckRun'];}['_createReviewCheckRun'](_0xaf0cee,_0x19352c){return new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x19352c,this['_aiConnector'],_0xaf0cee['params'],_0xaf0cee['args']);}['_onChangeMarkerRemoved'](_0x1b6068,_0x4f38fa){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsOutdated'](_0x4f38fa['changeId']);}['_onChangeMarkerRestored'](_0x56d899,_0x6e6833){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsPending'](_0x6e6833['changeId']);}['_onCheckRunFinished'](){this['_aiReviewCoreUi']['showReviewCompletedView']();}['_initRequiredPlugins'](){this['_aiConnector']=this['context']['plugins']['get']('AIConnector');}['_onReviewRunLeave'](_0x3e8b1b=!0x1){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['hasModifications']||this['_currentReviewCheckRun']['sendRating'](),this['_currentReviewCheckRun']['stopListening'](),this['_currentReviewCheckRun']['abort'](),this['_currentReviewCheckRun']=void 0x0),_0x3e8b1b&&this['_aiReviewCoreUi']['showReviewCheckList'](),this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_aiReviewCoreEditing']['switchToEdit'](),this['_changeActivationSource']=null;for(const _0x2757cf of this['_aiReviewCoreEditing']['getEditors']())_0x2757cf['editing']['view']['change'](_0x361b6d=>{for(const _0x471696 of _0x2757cf['editing']['view']['document']['getRoots']())_0x361b6d['removeClass']('ck-ai_review-diff',_0x471696),_0x361b6d['removeClass']('ck-ai_review-highlights',_0x471696),_0x361b6d['removeClass']('ck-ai-translate-mode-content',_0x471696);});}['_logError'](_0x540214,_0x39b339=!0x1){_0x5f37cd['logError'](_0x540214['message']),_0x39b339||(_0x540214['message']['startsWith']('ai-review-mode-models-unable-to-retrieve')?this['_aiReviewCoreUi']['showGeneralReviewCoreErrorView']():this['_aiReviewCoreUi']['showGeneralResultsErrorView']());}['_scrollToChange'](_0x58d611){if('content'===this['_changeActivationSource']){const _0x2111a0=this['_aiReviewCoreUi']['getChangeElement'](_0x58d611);_0x2111a0&&_0x5f37cd['scrollAncestorsToShowTarget'](_0x2111a0['closest']('.ck-ai_review__check-run-result')||_0x2111a0);}else{if('panel'===this['_changeActivationSource']){const _0x170fe2=this['_getChangeContentElement'](_0x58d611);if(!_0x170fe2)return;const _0x1d574e={'target':_0x170fe2,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x5f37cd['scrollViewportToShowTarget'](_0x1d574e);}}}}class AIReviewCustomCheckRun extends _0xb3f8c6{['_prompt'];['_model'];constructor(_0x1a416f,_0x2a0108,_0xbfcc6f,_0x2093a7,_0x3b6dfe){super(_0xbfcc6f,_0x2093a7,_0x3b6dfe),this['_prompt']=_0x1a416f,this['_model']=_0x2a0108;}get['subTitle'](){return this['_prompt'];}['_createApiRequest'](){return this['_aiConnector']['callCustomReview']({'content':this['_documentData']['content'],'prompt':this['_prompt'],'model':this['_model']});}['_sendRatingRequest'](_0x1e2463,_0x3bf817,_0x548afd){return this['_aiConnector']['upsertCustomAIReviewRating'](_0x3bf817,_0x1e2463,_0x548afd);}}class _0x53b503{['id'];['commandId'];['title'];['description'];['isParameterized'];['useArgs'];['options'];['args'];get['apiId'](){return this['commandId'];}constructor(_0x557870){this['id']=_0x557870['id'],this['commandId']=_0x557870['commandId'],this['title']=_0x557870['title'],this['description']=_0x557870['description'],this['isParameterized']=_0x557870['isParameterized'],this['useArgs']=_0x557870['useArgs'],this['options']=_0x557870['options'],this['args']=_0x557870['args'];}}class AIReviewCheckExtra extends _0x53b503{['isExtra']=!0x0;['prompt'];['model'];['_defaultModel']=null;constructor(_0x4d495e,_0x5b67a1,_0x362e80){super(_0x4d495e),this['prompt']=_0x4d495e['prompt'],this['model']=_0x4d495e['model'],this['model']?this['_defaultModel']=_0x5b67a1['find'](_0xc9c235=>_0xc9c235['id']===this['model'])||null:this['_defaultModel']=_0x362e80;}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewExtraCheckRun extends AIReviewCustomCheckRun{get['subTitle'](){return'';}set['prompt'](_0x1ee77d){this['_prompt']=_0x1ee77d;}set['model'](_0x464325){this['_model']=_0x464325;}}class AIReviewCoreCheckRegistry extends _0x5f37cd['ContextPlugin']{static get['requires'](){return[AIConnector];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_cache'];['getChecksList'](){return this['_cache']||(this['_cache']=this['_loadChecksList']()),this['_cache'];}}const _0xc3fede=[{'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 AIReviewCheckList extends _0x5f37cd['ObservableMixin'](){['_checks']=[];['setupChecks'](_0x209679){this['_checks']=_0x209679['map'](_0x4027ae=>new _0x53b503(_0x4027ae));}get['checks'](){return this['_checks'];}['getCheckById'](_0x4e7e43){return this['checks']['find'](_0x2cdc1a=>_0x2cdc1a['id']===_0x4e7e43);}['removeCheckById'](_0x3f1c17){this['_checks']=this['_checks']['filter'](_0x24547b=>_0x24547b['id']!==_0x3f1c17);}}class AIReviewCheckCustom extends _0x53b503{['_models']=[];['_defaultModel']=null;constructor(_0xa9e08a,_0x4ffa31,_0x43cc30){super(_0xa9e08a),this['_models']=_0x4ffa31,this['_defaultModel']=_0x43cc30;}get['models'](){return this['_models'];}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewModeCheckList extends AIReviewCheckList{['_allModels']=[];['_recommendedModels']=[];['_defaultModel']=null;constructor(_0x1c12ce,_0x12246f,_0x557c20){super(),this['_allModels']=_0x1c12ce,this['_recommendedModels']=_0x12246f,this['_defaultModel']=_0x557c20;}get['allModels'](){return this['_allModels'];}['setupChecks'](_0x567296){this['_checks']=_0x567296['map'](_0x935c5f=>!0x0===_0x935c5f['isExtra']?new AIReviewCheckExtra(_0x935c5f,this['_allModels'],this['_defaultModel']):'custom'===_0x935c5f['id']?new AIReviewCheckCustom(_0x935c5f,this['_recommendedModels'],this['_defaultModel']):new _0x53b503(_0x935c5f));}}class AIReviewModeCheckRegistry extends AIReviewCoreCheckRegistry{static get['pluginName'](){return'AIReviewModeCheckRegistry';}['_modelsLoadError']=null;constructor(_0x14ecfb){super(_0x14ecfb),this['context']['config']['define']('ai.review.extraCommands',[]);}get['modelsLoadError'](){return this['_modelsLoadError'];}['getExtraChecks'](){return this['context']['config']['get']('ai.review.extraCommands')['map'](_0x2ddb96=>({'id':_0x2ddb96['id'],'commandId':_0x2ddb96['id'],'title':_0x2ddb96['label'],'description':_0x2ddb96['description'],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x2ddb96['prompt'],'model':_0x2ddb96['model']}));}async['_loadChecksList'](){const _0x22e4ef=[..._0xc3fede,...this['getExtraChecks']()]['map'](_0x19ab58=>_0x19ab58['isExtra']?_0x19ab58:this['_translateReviewCheck'](_0x19ab58)),_0x53761e=await this['_getModels'](),_0x41f7a0=new AIReviewModeCheckList(_0x53761e['all'],_0x53761e['recommended'],_0x53761e['default']);return _0x41f7a0['setupChecks'](_0x22e4ef),_0x41f7a0;}async['_getModels'](){const _0x123ba1=this['context']['plugins']['get']('AIConnector');try{const _0x5d1d85=new _0x5cc472({'connector':_0x123ba1,'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']}),_0x96632b={'all':await _0x5d1d85['getAll'](),'recommended':await _0x5d1d85['getAvailableModels'](),'default':await _0x5d1d85['getDefault']()};return this['_modelsLoadError']=null,_0x96632b;}catch(_0x357e46){return this['_modelsLoadError']=new _0x5f37cd['CKEditorError']('ai-review-mode-models-unable-to-retrieve',this,void 0x0,_0x357e46),_0x5f37cd['logError'](this['_modelsLoadError']['message']),{'all':[],'recommended':[],'default':null};}}['_translateReviewCheck'](_0x1ed5f1){const _0x226b67='AI_REVIEW_CHECK_'+_0x1ed5f1['id']['toUpperCase']()['replaceAll']('-','_'),_0x5b55d2={..._0x1ed5f1,'title':this['_translate'](_0x226b67+'_TITLE',_0x1ed5f1['title']),'description':this['_translate'](_0x226b67+'_DESCRIPTION',_0x1ed5f1['description'])};return _0x1ed5f1['options']&&(_0x5b55d2['options']=_0x1ed5f1['options']['map'](_0xe65c8f=>({..._0xe65c8f,'label':this['_translate'](_0x226b67+'_OPTIONS_LABEL',_0xe65c8f['label']||''),'data':_0xe65c8f['data']?_0xe65c8f['data']['map'](_0x2b7b1c=>({..._0x2b7b1c,'label':this['_translate'](_0x226b67+'_OPTIONS_DATA_'+_0x2b7b1c['id']['toUpperCase'](),_0x2b7b1c['label'])})):void 0x0}))),_0x5b55d2;}['_translate'](_0x3bf512,_0x2c427e){const _0x14ff95=Qt(this['context']['locale'],_0x3bf512);return _0x14ff95===_0x3bf512?_0x2c427e:_0x14ff95;}}class AIReviewModeController extends AIReviewCoreController{static get['pluginName'](){return'AIReviewModeController';}static get['requires'](){return[AIReviewModeCheckRegistry];}['_isDiffOn']=!0x1;['_usesAvailableCommandsConfig'];constructor(_0x1ce942){super(_0x1ce942),this['_usesAvailableCommandsConfig']=Boolean(this['context']['config']['get']('ai.review.availableCommands')),this['context']['config']['define']('ai.review.availableCommands',_0xc3fede['map'](_0x5c4612=>_0x5c4612['id']));}['init'](){super['init'](),this['listenTo'](this['_aiReviewCoreUi'],'toggleDiff',(_0x35dd4e,_0x182776)=>{this['_isDiffOn']=_0x182776['on'],this['_onDiffChange'](this['_isDiffOn']);});}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AIReviewModeUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x3725f7,_0x18b2f9){if(_0x3725f7['isCustom'])return new AIReviewCustomCheckRun(_0x3725f7['args']['prompt'],_0x3725f7['args']['model'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x18b2f9,this['_aiConnector']);if(_0x18b2f9['isExtra']){const _0x5cbed1=_0x18b2f9;return new AIReviewExtraCheckRun(_0x3725f7['args']?.['prompt']??_0x5cbed1['prompt'],_0x3725f7['args']?.['model']??_0x5cbed1['defaultModel']['id'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x18b2f9,this['_aiConnector']);}return new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x18b2f9,this['_aiConnector'],_0x3725f7['params'],_0x3725f7['args']);}['_onReviewCheckResultActivated'](_0x474b2f){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x474b2f['change']['id']),this['_scrollToChange'](_0x474b2f['change']['id']);const _0x153f43=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x474b2f['change']['id']);if(!_0x153f43)return;const _0x237840=this['_aiReviewCoreEditing']['getEditorForChange'](_0x474b2f['change']['id'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x474b2f['change'],()=>_0x153f43['getElement'](),void 0x0,'click',this['_getBalloonDomRoot'](_0x237840,_0x153f43['modelRange']['root']['rootName']),_0x237840?.['ui']?.['viewportOffset']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x474b2f['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreUi']['resetActiveStateInResults'](),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']();}['_onActivateChange'](_0x5b50f3){this['_currentReviewCheckRun']&&'click'===_0x5b50f3['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x5b50f3['id']));}['_onDeactivateChange'](_0x34a263){this['_currentReviewCheckRun']&&'balloon'===_0x34a263['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x4bcae2,_0x2d0710){if(!this['_currentReviewCheckRun'])return;this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x2d0710['changeId']);const _0x13e4fe=this['_currentReviewCheckRun']['getChangeById'](_0x2d0710['changeId']);if(!_0x13e4fe)return;const _0x2f6ad0=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x2d0710['changeId']),_0x5e30ed=this['_aiReviewCoreEditing']['getEditorForChange'](_0x2d0710['changeId'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x13e4fe,_0x2d0710['markerElement'],_0x2d0710['domEvent'],'click',this['_getBalloonDomRoot'](_0x5e30ed,_0x2f6ad0?.['modelRange']['root']['rootName']),_0x5e30ed?.['ui']?.['viewportOffset']);}['_onChangeMarkerHovered'](_0x44cd9e,_0x3ce577){if(!this['_currentReviewCheckRun'])return;if(this['_currentReviewCheckRun']['isAnyChangeActivated']())return;const _0x2c8acd=this['_currentReviewCheckRun']['getChangeById'](_0x3ce577['changeId']);if(!_0x2c8acd)return;const _0x5e8376=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x3ce577['changeId']),_0x466557=this['_aiReviewCoreEditing']['getEditorForChange'](_0x3ce577['changeId'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x2c8acd,_0x3ce577['markerElement'],_0x3ce577['domEvent'],'hover',this['_getBalloonDomRoot'](_0x466557,_0x5e8376?.['modelRange']['root']['rootName']),_0x466557?.['ui']?.['viewportOffset']);}['_onChangeMarkerBlurred'](){if(!this['_currentReviewCheckRun'])return;this['_currentReviewCheckRun']['isAnyChangeActivated']()||this['_aiReviewCoreUi']['hideChangeBalloon']();}['_getChangeContentElement'](_0x4a9a46){const _0x43895a=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x4a9a46);return _0x43895a?_0x43895a['getElement']():null;}['_markChangePositionInEditorContent'](_0x2ac2b4,_0x48f49c){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x2ac2b4,_0x48f49c);}['_diffContent'](_0x540709,_0x34831c,_0x452d05){return this['_aiReviewCoreEditing']['diffContent'](_0x540709,_0x34831c,_0x452d05,!0x1);}['_onReviewCheckRun'](){this['_onDiffChange'](this['_isDiffOn']);}['_onDiffChange'](_0x2c536b){_0x2c536b?this['_aiReviewCoreUi']['hideDiffInBalloon']():this['_aiReviewCoreUi']['showDiffInBalloon']();for(const _0x19237d of this['_aiReviewCoreEditing']['getEditors']())_0x19237d['editing']['view']['change'](_0x262130=>{for(const _0x20c433 of _0x19237d['editing']['view']['document']['getRoots']()){for(const _0x225a26 of _0x20c433['getClassNames']())_0x225a26['startsWith']('ck-ai_review-')&&_0x262130['removeClass'](_0x225a26,_0x20c433);_0x262130['addClass'](_0x2c536b?'ck-ai_review-diff':'ck-ai_review-highlights',_0x20c433);}});}['_getBalloonDomRoot'](_0x22f838,_0x4e6198){const _0x2b151a=_0x22f838['editing']['view'];if(_0x4e6198){const _0x108e83=_0x2b151a['getDomRoot'](_0x4e6198);if(_0x108e83)return _0x108e83;}return _0x2b151a['getDomRoot']()??void 0x0;}async['_getReviewChecks'](){const _0x4b3405=this['context']['plugins']['get']('AIReviewModeCheckRegistry'),_0xb58ca3=await _0x4b3405['getChecksList']();_0x4b3405['modelsLoadError']&&this['_logError'](_0x4b3405['modelsLoadError']);let _0x4f3532=_0xb58ca3['checks'];const _0x46cb73=this['context']['config']['get']('ai.review.availableCommands');return this['_logWarningForNonExistentChecks'](_0x46cb73,_0x4f3532),this['_usesAvailableCommandsConfig']&&(_0x4f3532=_0x46cb73['map'](_0x50fc32=>_0x4f3532['find'](_0x47059d=>_0x47059d['id']===_0x50fc32))['filter'](_0x342416=>!!_0x342416)),this['_filterChecksWithMissingModel'](_0x4f3532);}['_logWarningForNonExistentChecks'](_0x580dd2,_0x582267){const _0x5cfbd2=_0x580dd2['filter'](_0x19db6c=>!_0x582267['some'](_0x56305b=>_0x56305b['id']===_0x19db6c));if(_0x5cfbd2['length']){const _0x24e4e2=new _0x5f37cd['CKEditorError']('ai-review-mode-non-existent-commands-used',this,{'commandIds':_0x5cfbd2['join'](',\x20')});_0x5f37cd['logWarning'](_0x24e4e2['message']);}}['_filterChecksWithMissingModel'](_0x5bbbb6){const _0x25c783=[];return _0x5bbbb6['forEach'](_0x1ef968=>{(_0x1ef968 instanceof AIReviewCheckExtra&&!_0x1ef968['defaultModel']||_0x1ef968 instanceof AIReviewCheckCustom&&!_0x1ef968['models']['length'])&&_0x25c783['push'](_0x1ef968['id']);}),_0x25c783['length']&&_0x25c783['forEach'](_0x499f54=>{_0x5bbbb6=_0x5bbbb6['filter'](_0x3907b8=>_0x3907b8['id']!==_0x499f54);const _0x325b82=new _0x5f37cd['CKEditorError']('ai-review-mode-command-unavailable-due-to-missing-model',this,{'commandId':_0x499f54});_0x5f37cd['logError'](_0x325b82['message']);}),_0x5bbbb6;}}class AIRunResult{['_editor'];['_rootName'];['_channelId'];['_sessionId'];['_documentVersion'];['_contentRawOld'];['_contentRawNew'];['_error'];['_isAborted']=!0x1;constructor(_0x2b51e8){this['_editor']=_0x2b51e8['editor'],this['_rootName']=_0x2b51e8['rootName'],this['_channelId']=_0x2b51e8['channelId'],this['_sessionId']=_0x2b51e8['sessionId'];}get['status'](){return this['_error']?'error':this['_isAborted']?'aborted':void 0x0!==this['_contentRawNew']?'completed':'initialized';}get['editor'](){return this['_editor'];}get['rootName'](){return this['_rootName'];}get['channelId'](){return this['_channelId'];}get['sessionId'](){return this['_sessionId'];}get['documentVersion'](){return this['_documentVersion'];}set['documentVersion'](_0x5e64d1){this['_documentVersion']=_0x5e64d1;}get['contentRawOld'](){return this['_contentRawOld'];}set['contentRawOld'](_0x2f7827){this['_contentRawOld']=_0x2f7827;}get['contentRawNew'](){return this['_contentRawNew'];}set['contentRawNew'](_0x1bc68f){this['_contentRawNew']=_0x1bc68f;}get['contentOld'](){return this['_dropDataIds'](this['_contentRawOld']||'');}get['contentNew'](){return this['_dropDataIds'](this['_contentRawNew']||'');}get['error'](){return this['_error'];}set['error'](_0x4a4aaa){this['_error']=_0x4a4aaa;}['abort'](){this['_isAborted']=!0x0;}['_dropDataIds'](_0x57c38b){return _0x57c38b['replace'](/ data-id="[a-z0-9]+"/g,'');}}class AIReviewRunResult extends AIRunResult{['_affectedBlocks']=[];get['affectedBlocks'](){return this['_affectedBlocks'];}set['affectedBlocks'](_0x5cf4f3){this['_affectedBlocks']=_0x5cf4f3;}}class AIGateway extends _0x5f37cd['ContextPlugin']{static get['pluginName'](){return'AIGateway';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['apply'](_0x2f07f1,_0x2439bc){if('completed'!==_0x2f07f1['status'])throw new _0x5f37cd['CKEditorError']('ai-gateway-apply-invalid-status',this,{'status':_0x2f07f1['status']});const _0x5d9cb3=_0x2f07f1['editor'];if('suggest'===_0x2439bc&&!_0x5d9cb3['plugins']['has']('TrackChanges'))throw new _0x5f37cd['CKEditorError']('ai-no-track-changes',this);const _0x15e7f8='suggest'===_0x2439bc,_0x5ceedb=this['context']['plugins']['get'](DocumentCompare),_0x5beae3=_0x5d9cb3['model']['createPositionAt'](_0x5d9cb3['model']['document']['getRoot'](),0x0),_0x22834c=_0x5ceedb['getDiff'](_0x2f07f1['contentRawOld'],_0x2f07f1['contentRawNew'],{'anchor':_0x5beae3,'markDeletions':_0x15e7f8,'targetEditor':_0x5d9cb3}),_0x1ad52e=_0x5d9cb3['model']['document']['history']['getOperations'](_0x2f07f1['documentVersion']),_0x31fc81={'document':_0x5d9cb3['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x191b43=_0x5f37cd['transformOperationSets'](_0x22834c['getOperations'](),_0x1ad52e,_0x31fc81)['operationsA'];_0x5d9cb3['model']['change'](_0x12d60d=>{if(_0x15e7f8)_0x5d9cb3['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x191b43);else{for(const _0x5b3628 of _0x191b43)_0x5b3628['baseVersion']=_0x5d9cb3['model']['document']['version'],_0x339828(_0x5d9cb3,_0x5b3628),_0x12d60d['batch']['addOperation'](_0x5b3628),_0x5d9cb3['model']['applyOperation'](_0x5b3628);}});}['mergeChangesIntoContent'](_0x4d100d,_0x3b4cfe,_0x3aaa96){const _0x59540e=new _0x259075(),_0x31d37e=new _0x5b4b42();let _0x361312=_0x59540e['parseAndNormalizeHTML'](_0x3b4cfe);for(const _0x1fc1c0 of _0x4d100d)try{const _0x19ee57=_0x59540e['parseAndNormalizeHTML'](_0x1fc1c0['content']);_0x361312=_0x31d37e['merge'](_0x19ee57,_0x361312,{'cutAfterUnstable':!0x1,'replaceRemovedWith':void 0x0})['parsedContent'];}catch(_0xb7667e){throw new _0x5f37cd['CKEditorError']('ai-gateway-merge-failed',this,{..._0x1fc1c0},_0xb7667e);}return _0x297b1a(_0x3aaa96,_0x59540e['parseAndNormalizeHTML'](_0x3b4cfe),_0x361312,!0x1,!0x1)['content'];}}class AIReviewGateway extends _0x5f37cd['ContextPlugin']{static get['pluginName'](){return'AIReviewGateway';}static get['requires'](){return[AIReviewCoreEditing,AIReviewModeCheckRegistry,AIConnector,AIEditing,AIGateway];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['getAllCommands'](){const _0x32d23c=this['context']['plugins']['get']('AIReviewModeCheckRegistry');return(await _0x32d23c['getChecksList']())['checks']['map'](_0x2af1b4=>{const _0x3bfe81={'id':_0x2af1b4['id'],'title':_0x2af1b4['title'],'description':_0x2af1b4['description']};return'custom'!==_0x2af1b4['id']&&_0x2af1b4['options']?.['length']&&(_0x3bfe81['parameters']=_0x2af1b4['options'][0x0]['data']['map'](_0x526bd1=>({..._0x526bd1}))),_0x3bfe81;});}async['getAvailableModels'](){const _0xf76563=this['context']['plugins']['get']('AIConnector');return new _0x5cc472({'connector':_0xf76563,'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']})['getAll']();}async['runReview'](_0x596fe2,_0x306984){return await this['_runReviewCheck'](_0x596fe2,()=>this['_createReviewCheckRun'](_0x596fe2,_0x306984?.['parameterId']),_0x306984?.['signal']);}async['runCustomReview'](_0x49512f,_0x505441){return await this['_runReviewCheck']('custom',()=>this['_createCustomReviewCheckRun']('custom',_0x49512f,_0x505441?.['model']),_0x505441?.['signal']);}['applyReview'](_0x3a9836,_0x25d8fc){this['context']['plugins']['get']('AIGateway')['apply'](_0x3a9836,_0x25d8fc);}async['_runReviewCheck'](_0x290311,_0x521281,_0x466812){const _0x5355c7=_0x27cbdf(this['context']),_0x53ad23=new AIReviewRunResult({'editor':_0x5355c7,'rootName':_0x5355c7['model']['document']['getRootNames']()[0x0],'channelId':this['context']['config']['get']('collaboration.channelId'),'sessionId':_0x5355c7['plugins']['get']('AIEditing')['getSessionId'](_0x5355c7)});let _0x24e9d6,_0x52ba5a;if(_0x466812){if(_0x466812['aborted'])return _0x53ad23['abort'](),_0x53ad23;const _0x47473a=()=>{_0x53ad23['error']||(_0x53ad23['abort'](),_0x24e9d6&&_0x24e9d6['abort']());};_0x466812['addEventListener']('abort',_0x47473a),_0x52ba5a=()=>_0x466812['removeEventListener']('abort',_0x47473a);}try{_0x24e9d6=await _0x521281(),_0x53ad23['contentRawOld']=_0x24e9d6['documentData']['content'],_0x53ad23['documentVersion']=Array['from'](_0x24e9d6['documentData']['elements'])['find'](([,_0x4485e0])=>_0x4485e0['rootName']===_0x53ad23['rootName'])?.[0x1]['documentVersion']??0x1,_0x24e9d6['on']('reviewCheckRunUpdated',(_0x20b20f,_0x3d1cd8)=>{'aborted'===_0x3d1cd8['status']?_0x53ad23['abort']():'error-general'!==_0x3d1cd8['status']&&'error-chunk'!==_0x3d1cd8['status']||(_0x53ad23['error']=this['_normalizeError'](_0x3d1cd8['error'],'ai-reviewgateway-review-command-run-failed',{'checkId':_0x290311}));}),'aborted'!==_0x53ad23['status']&&await _0x24e9d6['start']();}catch(_0x1b575d){_0x53ad23['error']=this['_normalizeError'](_0x1b575d,'ai-reviewgateway-review-command-run-failed',{'checkId':_0x290311});}finally{_0x52ba5a&&_0x52ba5a();}if(!_0x24e9d6||'aborted'===_0x53ad23['status']||'error'===_0x53ad23['status'])return _0x53ad23;_0x53ad23['affectedBlocks']=_0x24e9d6['results']['map'](_0xd62761=>({'id':_0xd62761['id'],'content':_0xd62761['contentNew']}));try{_0x53ad23['contentRawNew']=_0x2e8cdd(this['context']['plugins']['get']('AIGateway')['mergeChangesIntoContent'](_0x53ad23['affectedBlocks'],_0x53ad23['contentRawOld'],_0x53ad23['editor']));}catch(_0x24109f){_0x53ad23['error']=this['_normalizeError'](_0x24109f,'ai-reviewgateway-review-command-run-failed',{'checkId':_0x290311});}return _0x53ad23;}async['_createReviewCheckRun'](_0x957e24,_0xf203d5){const _0x20c7de=(await this['context']['plugins']['get']('AIReviewModeCheckRegistry')['getChecksList']())['checks']['find'](_0x5b903e=>_0x5b903e['id']===_0x957e24);if(!_0x20c7de)throw new _0x5f37cd['CKEditorError']('ai-reviewgateway-unknown-command',this,{'checkId':_0x957e24});if(_0x20c7de instanceof AIReviewCheckCustom)throw new _0x5f37cd['CKEditorError']('ai-reviewgateway-not-a-system-command',this,{'checkId':_0x957e24});const _0x8b821d=this['context']['plugins']['get']('AIReviewCoreEditing')['getDocumentData'](),_0x8174e2=this['context']['plugins']['get']('AIConnector');if(_0x20c7de instanceof AIReviewCheckExtra){if(!_0x20c7de['defaultModel']?.['id'])throw new _0x5f37cd['CKEditorError']('ai-reviewgateway-missing-custom-command-model',this,{'checkId':_0x957e24});return new AIReviewExtraCheckRun(_0x20c7de['prompt'],_0x20c7de['defaultModel']['id'],_0x8b821d,_0x20c7de,_0x8174e2);}return new AIReviewSystemCheckRun(_0x8b821d,_0x20c7de,_0x8174e2,_0xf203d5?[_0xf203d5]:void 0x0);}async['_createCustomReviewCheckRun'](_0x3a4913,_0x102fe0,_0x2ba864){const _0x43e76c=(await this['context']['plugins']['get']('AIReviewModeCheckRegistry')['getChecksList']())['checks']['find'](_0x4ace0b=>_0x4ace0b['id']===_0x3a4913);if(!_0x43e76c)throw new _0x5f37cd['CKEditorError']('ai-reviewgateway-unknown-command',this,{'checkId':_0x3a4913});if(!(_0x43e76c instanceof AIReviewCheckCustom))throw new _0x5f37cd['CKEditorError']('ai-reviewgateway-not-a-custom-command',this,{'checkId':_0x3a4913});const _0x36d835=_0x2ba864??_0x43e76c['defaultModel']?.['id'];if(!_0x102fe0)throw new _0x5f37cd['CKEditorError']('ai-reviewgateway-missing-custom-command-prompt',this,{'checkId':_0x3a4913});if(!_0x36d835)throw new _0x5f37cd['CKEditorError']('ai-reviewgateway-missing-custom-command-model',this,{'checkId':_0x3a4913});return new AIReviewCustomCheckRun(_0x102fe0,_0x36d835,this['context']['plugins']['get']('AIReviewCoreEditing')['getDocumentData'](),_0x43e76c,this['context']['plugins']['get']('AIConnector'));}['_normalizeError'](_0x4cd6de,_0x596536,_0x8a75ef){let _0x1b14b7=_0x4cd6de;return _0x4cd6de instanceof _0x5f37cd['CKEditorError']||(_0x1b14b7=new _0x5f37cd['CKEditorError'](_0x596536,this,_0x8a75ef,_0x4cd6de)),_0x1b14b7;}}class _0xba4b3d extends _0x5f37cd['ContextPlugin']{static get['requires'](){return[AIReviewModeController,_0x498459,AIReviewCoreEditing,AIReviewGateway];}static get['pluginName'](){return'AIReviewMode';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['startReview'](_0x17b2ee,_0x383a8a){if(this['assertStartReviewPreconditions'](_0x17b2ee)instanceof AIReviewCheckCustom)throw new _0x5f37cd['CKEditorError']('ai-reviewmode-not-a-system-command',this,{'commandId':_0x17b2ee});const _0x561b73=this['context']['plugins']['get']('AIReviewModeController');await _0x561b73['runCheck']({'id':_0x17b2ee,'params':_0x383a8a?.['parameterId']?[_0x383a8a['parameterId']]:void 0x0});}async['startCustomReview'](_0x4be167,_0xf8e37a){if(!_0x4be167)throw new _0x5f37cd['CKEditorError']('ai-reviewmode-missing-custom-command-prompt',this);const _0x1a41b9=_0xc3fede['find'](_0x460cc0=>'custom'===_0x460cc0['commandId'])['id'],_0x5c2e42=this['assertStartReviewPreconditions'](_0x1a41b9),_0x1fd6b1=_0xf8e37a?.['model']??_0x5c2e42['defaultModel']?.['id'];if(!_0x1fd6b1)throw new _0x5f37cd['CKEditorError']('ai-reviewmode-missing-custom-command-model',this);const _0xac794c=this['context']['plugins']['get']('AIReviewModeController');await _0xac794c['runCheck']({'id':_0x1a41b9,'isCustom':!0x0,'args':{'prompt':_0x4be167,'model':_0x1fd6b1}});}['getAvailableCommands'](){return this['context']['plugins']['get']('AIReviewModeController')['getAvailableChecks']()['map'](_0x595852=>{const _0x2e2606={'id':_0x595852['id'],'title':_0x595852['title'],'description':_0x595852['description']};return'custom'!==_0x595852['id']&&_0x595852['options']?.['length']&&(_0x2e2606['parameters']=_0x595852['options'][0x0]['data']['map'](_0xc88710=>({..._0xc88710}))),_0x2e2606;});}['assertStartReviewPreconditions'](_0xf34468){const _0x4bf26d=this['context']['plugins']['get']('AIReviewModeController');if(_0x4bf26d['getCurrentCheckRun']())throw new _0x5f37cd['CKEditorError']('ai-reviewmode-review-already-running',this);const _0x48b87e=_0x4bf26d['getAvailableChecks']()['find'](_0x3719b0=>_0x3719b0['id']===_0xf34468);if(!_0x48b87e)throw new _0x5f37cd['CKEditorError']('ai-reviewmode-unknown-command',this,{'commandId':_0xf34468});const _0x577420=this['context']['plugins']['get']('AITabs')['view'];return _0x577420['isVisible']=!0x0,_0x577420['activateTab']('reviewMode'),_0x48b87e;}}class AITranslateCheckRun extends AIReviewSystemCheckRun{['_title'];constructor(_0x51fa31,_0x30edca,_0x51065c,_0x13e5b7,_0x393179,_0x31e0a5){super(_0x51fa31,_0x30edca,_0x51065c,_0x393179,_0x31e0a5),this['_title']=_0x13e5b7;}get['title'](){return this['_title'];}get['subTitle'](){return this['_sourceCheck']['title'];}}class AITranslateCheck extends _0x53b503{get['apiId'](){return'translate';}}class AITranslateCheckList extends AIReviewCheckList{['setupChecks'](_0x3d3f26){this['_checks']=_0x3d3f26['map'](_0x1ca7f9=>new AITranslateCheck(_0x1ca7f9));}}const _0x4a0262=[{'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'}];class AITranslateCheckRegistry extends AIReviewCoreCheckRegistry{static get['pluginName'](){return'AITranslateCheckRegistry';}constructor(_0x410e27){super(_0x410e27),this['context']['config']['define']('ai.translate.languages',_0x4a0262);}async['_loadChecksList'](){const _0x4e70f2=[],_0x43b106=this['context']['config']['get']('ai.translate.languages')||[];for(const _0x2018fd of _0x43b106)_0x4e70f2['push']({'title':_0x2018fd['label'],'id':_0x2018fd['id'],'commandId':_0x2018fd['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x2018fd['id']}});const _0x41a3df=new AITranslateCheckList();return _0x41a3df['setupChecks'](this['_translateChecks'](_0x4e70f2)),_0x41a3df;}['_translateChecks'](_0x19ba38){const _0xbdd012=this['context']['locale'];return _0x19ba38['map'](_0x1a82bf=>{const _0x83b485='AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_'+_0x1a82bf['title']['toUpperCase']()['replaceAll']('-','_'),_0xb7e540=Qt(_0xbdd012,_0x83b485);return{..._0x1a82bf,'title':_0xb7e540===_0x83b485?_0x1a82bf['title']:_0xb7e540};});}}class AITranslateController extends AIReviewCoreController{static get['pluginName'](){return'AITranslateController';}static get['requires'](){return[AITranslateCheckRegistry];}['_onCheckRunFinished'](){this['_onReviewRunLeave'](!0x0);}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AITranslateUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x410e10,_0x2dda75){return new AITranslateCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x2dda75,this['_aiConnector'],Qt(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),_0x410e10['params'],_0x410e10['args']);}['_onReviewCheckResultActivated'](_0x2769e0){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x2769e0['change']['id']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x2769e0['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreEditing']['setAllMarkersAsInactive'](),this['_aiReviewCoreUi']['resetActiveStateInResults']();}['_onActivateChange'](_0x490508){this['_currentReviewCheckRun']&&('hover'===_0x490508['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x490508['id'])),'click'===_0x490508['uiInteraction']&&this['_scrollToChange'](_0x490508['id']));}['_onDeactivateChange'](_0x355935){this['_currentReviewCheckRun']&&'panel'===_0x355935['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x3adfb2,_0x202e77){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x202e77['changeId']),this['_scrollToChange'](_0x202e77['changeId']));}['_onChangeMarkerHovered'](_0x1505ac,_0x23cc4f){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x23cc4f['changeId']),this['_aiReviewCoreEditing']['reactivateMarkers'](_0x23cc4f['changeId']));}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&'content'===this['_changeActivationSource']&&(this['_currentReviewCheckRun']['deactivateChange'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']());}['_getChangeContentElement'](_0x193590){return this['_aiReviewCoreEditing']['getContentElementForChange'](_0x193590);}['_markChangePositionInEditorContent'](_0x1d0c4f,_0x24a0b2){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x1d0c4f,_0x24a0b2);}['_diffContent'](_0x59a804,_0x1d240e,_0x199c4c){return this['_aiReviewCoreEditing']['diffContent'](_0x59a804,_0x1d240e,_0x199c4c,!0x0);}['_onReviewCheckRun'](){for(const _0x3cc78e of this['_aiReviewCoreEditing']['getEditors']())_0x3cc78e['editing']['view']['change'](_0x40641d=>{for(const _0x5e82a2 of _0x3cc78e['editing']['view']['document']['getRoots']())_0x40641d['addClass']('ck-ai-translate-mode-content',_0x5e82a2);});}async['_getReviewChecks'](){return(await this['context']['plugins']['get']('AITranslateCheckRegistry')['getChecksList']())['checks'];}}class AITranslateCheckResultsView extends AIReviewCoreUICheckResultsView{constructor(_0x5b4096,_0x404811){super(_0x5b4096,_0x404811),this['on']('set:isLoading',(_0x49d40b,_0x7c1f01,_0x2b63df)=>{_0x2b63df&&(this['headerTitle']=Qt(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE'));}),this['on']('set:isResultReady',(_0x1b88b9,_0x1241ee,_0x554489)=>{_0x554489&&(this['headerTitle']=Qt(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE'));});}['_createAcceptAllButtonView'](){const _0xd435b4=super['_createAcceptAllButtonView']();return _0xd435b4['set']('label',Qt(this['locale'],'AI_TRANSLATE_ACCEPT_ALL')),_0xd435b4;}['_createExitReviewButtonView'](){const _0x24ae8f=super['_createExitReviewButtonView']();return _0x24ae8f['set']('label',Qt(this['locale'],'AI_CHAT_HISTORY_CANCEL')),_0x24ae8f;}}class AITranslateCheckListView extends AIReviewCoreReviewCheckListView{['_setupTemplate'](){const _0xec6c79=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-translate__check-list-wrapper',_0xec6c79['if']('isVisible','ck-hidden',_0x1cef61=>!_0x1cef61)]},'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',_0xec6c79['if']('isVisible','ck-hidden',_0x33d647=>!_0x33d647)]},'children':this['_checkViews']}]});}}class AITranslateUI extends _0x89e14d{static get['pluginName'](){return'AITranslateUI';}['createMainView'](){const _0x1a6d4f=this['context']['plugins']['get']('AITabs'),_0x5be850=this['context']['locale'],_0xafb2c7=new _0x9094f7(_0x5be850,{'label':Qt(_0x5be850,'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'icon':_0x5f37cd['IconAITranslate'],'class':'ck-ai-header_review-translate','showResizeButton':_0x1a6d4f['showResizeButton']});_0xafb2c7['delegate']('resizeTabs')['to'](_0x1a6d4f),_0xafb2c7['bind']('isMaximized')['to'](_0x1a6d4f['view'],'isMaximized',_0x98b208=>_0x98b208);const _0x5ea4c9=new _0x4380e7(_0x5be850,{'header':_0xafb2c7,'list':new AITranslateCheckListView(_0x5be850),'results':new AITranslateCheckResultsView(_0x5be850,{'generalErrorText':Qt(_0x5be850,'AI_TRANSLATE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x5be850,{'headerText':Qt(_0x5be850,'AI_TRANSLATE_FINISH_HEADER_TITLE'),'emptyResultsText':Qt(_0x5be850,'AI_TRANSLATE_EMPTY_RESULTS_TEXT'),'buttonText':Qt(_0x5be850,'AI_TRANSLATE_FINISH_BUTTON_LABEL')})});return _0x5ea4c9['extendTemplate']({'attributes':{'class':'ck-ai-translate-mode'}}),_0x5ea4c9;}['registerTab'](){const _0x35f39a=this['context']['plugins']['get']('AITabs');_0x35f39a['view']['on']('activateTab',(_0x25cde5,{newTab:_0x54ae21,oldTab:_0x40ad82})=>{'translate'===_0x54ae21?this['fire']('getReviewCheckList'):'translate'===_0x40ad82&&this['fire']('leaveReview');}),_0x35f39a['view']['addTab']({'id':'translate','buttonLabel':Qt(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'buttonIcon':_0x5f37cd['IconAITranslate'],'order':0x0,'content':this['_mainView']});}}class AITranslate extends _0x5f37cd['ContextPlugin']{static get['requires'](){return[AITranslateController,AITranslateUI,AIReviewCoreEditing];}static get['pluginName'](){return'AITranslate';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x3b6bce extends _0x5f37cd['Command']{['_transformCallback'];constructor(_0x4cb15b,_0x115afb){super(_0x4cb15b),this['_transformCallback']=_0x115afb;}['execute'](){const _0x1e5107=this['editor']['model'],_0x1906f2=Array['from'](this['_getAffectedRanges']()),_0x471d64=Array['from'](_0x1e5107['document']['selection']['getRanges']());_0x1e5107['change'](_0x5c04e2=>{for(const _0x510e51 of _0x1906f2)this['_modifyContent'](_0x510e51,_0x5c04e2);_0x5c04e2['setSelection'](_0x471d64);});}['refresh'](){for(const _0x5def27 of this['_getAffectedRanges']())for(const _0x4acea9 of _0x5def27)if(_0x4acea9['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x2298ec=this['editor']['model'],_0xc9218f=_0x2298ec['document']['selection'];if(_0xc9218f['isCollapsed']){const _0x1d7467=this['_findAncestorTextBlock'](_0xc9218f['getFirstPosition']()['parent']);return _0x1d7467?[_0x2298ec['createRangeIn'](_0x1d7467)]:[];}return _0xc9218f['getRanges']();}['_modifyContent'](_0x5a4183,_0x4c6800){for(const _0x3dc064 of this['_getElementsAllowingText'](_0x5a4183)){const _0x172314=this['_getElementTextContent'](_0x3dc064),_0x3b8771=this['_transformCallback'](_0x172314);for(const _0x1b1215 of this['_getTextNodesRangeLimited'](_0x3dc064,_0x5a4183))this['_replaceTextNodeData'](_0x1b1215,_0x3b8771,_0x4c6800);}}['_findAncestorTextBlock'](_0x2c2540){const _0x3a886=this['editor']['model']['schema'];if(_0x2c2540['is']('element')&&_0x3a886['checkChild'](_0x2c2540,'$text'))return _0x2c2540;const _0xe206db=_0x2c2540['parent'];return!_0xe206db||_0x3a886['isLimit'](_0x2c2540)?null:this['_findAncestorTextBlock'](_0xe206db);}*['_getElementsAllowingText'](_0x1be5e7){const _0x5c689a=new Set();for(const {item:_0x4e2f57}of _0x1be5e7['getWalker']()){const _0x4e5cfa=this['_findAncestorTextBlock'](_0x4e2f57);_0x4e5cfa&&!_0x5c689a['has'](_0x4e5cfa)&&(_0x5c689a['add'](_0x4e5cfa),yield _0x4e5cfa);}}['_getElementTextContent'](_0x7a6ec0){return Array['from'](_0x7a6ec0['getChildren']())['reduce']((_0x2387a8,_0x1d466a)=>_0x2387a8+(_0x1d466a['is']('$text')?_0x1d466a['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0xc1931c,_0x7a7d7c){const _0x4fd81a=_0x7a7d7c['getIntersection'](this['editor']['model']['createRangeIn'](_0xc1931c));if(_0x4fd81a){for(const _0x226428 of _0x4fd81a['getItems']())_0x226428['is']('$textProxy')&&_0x226428['parent']==_0xc1931c&&(yield _0x226428);}}['_replaceTextNodeData'](_0x582fe0,_0x304b73,_0x654579){const _0x3eacbc=_0x304b73['substring'](_0x582fe0['startOffset'],_0x582fe0['endOffset']);if(_0x3eacbc===_0x582fe0['data'])return;const _0x47c70b=_0x582fe0['getAttributes']();this['editor']['model']['insertContent'](_0x654579['createText'](_0x3eacbc,_0x47c70b),_0x654579['createSelection'](_0x654579['createRangeOn'](_0x582fe0)));}}function _0x2d17e4(_0x16af91,_0x501164,..._0x22a75f){const t=_0x16af91['t'];switch(_0x501164){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',..._0x22a75f);default:return _0x501164;}}class CaseChangeEditing extends _0x5f37cd['Plugin']{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1882be=this['editor'],_0x3e7e9d=_0x1882be['locale']['contentLanguage'],_0x391be1=function(_0x508289=[]){return'function'==typeof _0x508289?_0x508289:(_0x3eb818,{wordIndex:_0xfae268})=>_0xfae268>0x0&&_0x508289['includes'](_0x3eb818);}(_0x1882be['config']['get']('caseChange.titleCase.excludeWords')),_0x1c8fee={'changeCaseUpper':new _0x3b6bce(_0x1882be,_0xf6dd90=>_0xf6dd90['toLocaleUpperCase'](_0x3e7e9d)),'changeCaseLower':new _0x3b6bce(_0x1882be,_0x54edbf=>_0x54edbf['toLocaleLowerCase'](_0x3e7e9d)),'changeCaseTitle':new _0x3b6bce(_0x1882be,_0x1b46a7=>function(_0xe56ede,_0x36fb25,_0x59a08){return function(_0x3f2239,_0x2599de){let _0x542f4b='',_0x30b7d3=0x0,_0x2513af=0x0;for(const _0x469f0c of _0x3f2239['matchAll'](/ +/g)){const _0x55ddfb=_0x469f0c['index'],_0x1d41b6=_0x3f2239['substring'](_0x30b7d3,_0x55ddfb);_0x1d41b6['length']&&(_0x542f4b+=_0x2599de(_0x1d41b6,_0x30b7d3,_0x2513af++)),_0x542f4b+=_0x469f0c[0x0],_0x30b7d3=_0x55ddfb+_0x469f0c[0x0]['length'];}const _0x1b5e22=_0x3f2239['substring'](_0x30b7d3);return _0x1b5e22['length']&&(_0x542f4b+=_0x2599de(_0x1b5e22,_0x30b7d3,_0x2513af)),_0x542f4b;}(_0xe56ede,(_0x3fb937,_0x290632,_0x247b29)=>{const _0x31edb3=_0x3fb937['toLocaleLowerCase'](_0x59a08);return _0x36fb25(_0x31edb3,{'charOffset':_0x290632,'wordIndex':_0x247b29,'blockText':_0xe56ede})?_0x31edb3:_0x31edb3['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x33376e=>_0x33376e['toLocaleUpperCase'](_0x59a08));});}(_0x1b46a7,_0x391be1,_0x3e7e9d))};for(const [_0x483879,_0x20fec4]of Object['entries'](_0x1c8fee))_0x1882be['commands']['add'](_0x483879,_0x20fec4),_0x20fec4['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x483879);});this['listenTo'](_0x1882be['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x1882be['keystrokes']['set']('shift+f3',(_0x1e605c,_0x58e2f1)=>{const _0x332496=_0x3d9730(this['editor']['locale']),_0x17c149=_0x332496[this['_currentCommandIndex']%_0x332496['length']]['commandName'];_0x1882be['execute'](_0x17c149),this['_currentCommandIndex']++,_0x58e2f1();});}['afterInit'](){!async function(_0xb14660){const _0x5c5fce=_0x2e9e67([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]),_0x2657bd=0x334129cd,_0x16d1e6=0x3346a21d^_0x2657bd,_0x3b2ef7=window[_0x2e9e67([0x44,0x61,0x74,0x65])][_0x2e9e67([0x6e,0x6f,0x77])](),_0x4bbdfe=_0xb14660[_0x2e9e67([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c1637=new window[(_0x2e9e67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x67d973=>{_0x4bbdfe[_0x2e9e67([0x6f,0x6e,0x63,0x65])](_0x2e9e67([0x72,0x65,0x61,0x64,0x79]),_0x67d973);}),_0x37e59a={[_0x2e9e67([0x6b,0x74,0x79])]:_0x2e9e67([0x45,0x43]),[_0x2e9e67([0x75,0x73,0x65])]:_0x2e9e67([0x73,0x69,0x67]),[_0x2e9e67([0x63,0x72,0x76])]:_0x2e9e67([0x50,0x2d,0x32,0x35,0x36]),[_0x2e9e67([0x78])]:_0x2e9e67([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]),[_0x2e9e67([0x79])]:_0x2e9e67([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]),[_0x2e9e67([0x61,0x6c,0x67])]:_0x2e9e67([0x45,0x53,0x32,0x35,0x36])},_0x50ae35=_0x4bbdfe[_0x2e9e67([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2e9e67([0x67,0x65,0x74])](_0x2e9e67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x32e609(){let _0x581f6e,_0x17836b=null,_0x29b5b3=null;try{if(_0x50ae35==_0x2e9e67([0x47,0x50,0x4c]))return _0x2e9e67([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x581f6e=_0x41ce56(),!_0x581f6e)return _0x2e9e67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x581f6e[_0x2e9e67([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x29b5b3=_0x1dd9e9(_0x581f6e[_0x2e9e67([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x581f6e[_0x2e9e67([0x6a,0x74,0x69])])),await _0x45a0d3()?_0x40a35b()?_0x57d152()?_0x2e9e67([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4807fc()?(_0x581f6e[_0x2e9e67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e9e67([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x17836b=_0x495cb9(_0x2e9e67([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x548435()):_0x2e9e67([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2e9e67([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2e9e67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2e9e67([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x57d152(){const _0x4c1f91=[_0x2e9e67([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2e9e67([0x74,0x72,0x69,0x61,0x6c])][_0x2e9e67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x581f6e[_0x2e9e67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3b2ef7/0x3e8:0xe10*_0x16d1e6;return _0x581f6e[_0x2e9e67([0x65,0x78,0x70])]<_0x4c1f91;}function _0x40a35b(){const _0x1071cd=_0x581f6e[_0x2e9e67([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1071cd&&(!!_0x1071cd[_0x2e9e67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e9e67([0x2a]))||(!!_0x1071cd[_0x2e9e67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e9e67([0x43,0x43]))||!!_0x1071cd[_0x2e9e67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e9e67([0x50,0x50]))));}function _0x4807fc(){const _0x43490c=_0x581f6e[_0x2e9e67([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x43490c||0x0==_0x43490c[_0x2e9e67([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x235d0c}=new URL(window[_0x2e9e67([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x43490c[_0x2e9e67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x235d0c))return!0x0;const _0x55c684=_0x235d0c[_0x2e9e67([0x73,0x70,0x6c,0x69,0x74])](_0x2e9e67([0x2e]));return _0x43490c[_0x2e9e67([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38f0e0=>_0x38f0e0[_0x2e9e67([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e9e67([0x2a])))[_0x2e9e67([0x6d,0x61,0x70])](_0x253ef8=>_0x253ef8[_0x2e9e67([0x73,0x70,0x6c,0x69,0x74])](_0x2e9e67([0x2e])))[_0x2e9e67([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4086cf=>_0x4086cf[_0x2e9e67([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x55c684[_0x2e9e67([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e9e67([0x6d,0x61,0x70])](_0xe34680=>Array(_0x55c684[_0x2e9e67([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xe34680[_0x2e9e67([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e9e67([0x66,0x69,0x6c,0x6c])](_0xe34680[0x0]===_0x2e9e67([0x2a])?_0x2e9e67([0x2a]):'')[_0x2e9e67([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xe34680))[_0x2e9e67([0x73,0x6f,0x6d,0x65])](_0x13d551=>_0x55c684[_0x2e9e67([0x65,0x76,0x65,0x72,0x79])]((_0x53162f,_0xc3da9c)=>_0x13d551[_0xc3da9c]===_0x53162f||_0x13d551[_0xc3da9c]===_0x2e9e67([0x2a])));}function _0x548435(){return _0x17836b&&_0x29b5b3?new window[(_0x2e9e67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ece53,_0x5a375a)=>{_0x17836b[_0x2e9e67([0x74,0x68,0x65,0x6e])](_0x4ece53,_0x5a375a),_0x29b5b3[_0x2e9e67([0x74,0x68,0x65,0x6e])](_0x32e651=>{_0x32e651!=_0x2e9e67([0x56,0x61,0x6c,0x69,0x64])&&_0x4ece53(_0x32e651);},_0x5a375a);}):_0x17836b||_0x29b5b3||_0x2e9e67([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1dd9e9(_0x22a71f,_0x2883f6){return new window[(_0x2e9e67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30981e=>{if(_0x4b2919())return _0x30981e(_0x2e9e67([0x56,0x61,0x6c,0x69,0x64]));_0x2d6f25(),_0x4bbdfe[_0x2e9e67([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2e9e67([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x24e7cb=!0x1;const _0x5444c3=_0x5f37cd['uid']();function _0x313de4(_0x3edf08){return!!_0x3edf08&&(typeof _0x3edf08===_0x2e9e67([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3edf08===_0x2e9e67([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3edf08[_0x2e9e67([0x74,0x68,0x65,0x6e])]===_0x2e9e67([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3edf08[_0x2e9e67([0x63,0x61,0x74,0x63,0x68])]===_0x2e9e67([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x49807b(_0x211002){_0x242d66(_0x211002)[_0x2e9e67([0x74,0x68,0x65,0x6e])](_0x3418d0=>{if(!_0x3418d0||_0x3418d0[_0x2e9e67([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2e9e67([0x6f,0x6b]))return _0x2e9e67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xec66e4(_0x4d653d(_0x5444c3+_0x2883f6))!=_0x3418d0[_0x2e9e67([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2e9e67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2e9e67([0x56,0x61,0x6c,0x69,0x64]);})[_0x2e9e67([0x74,0x68,0x65,0x6e])](_0x1324eb=>(_0x3db78a(),_0x1324eb),()=>{const _0x13812b=_0x29f63e();return null==_0x13812b?(_0x3db78a(),_0x2e9e67([0x56,0x61,0x6c,0x69,0x64])):_0x2e9e67(_0x3b2ef7-_0x13812b>(0x174dadcd^_0x2657bd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2e9e67([0x74,0x68,0x65,0x6e])](_0x30981e)[_0x2e9e67([0x63,0x61,0x74,0x63,0x68])](()=>{_0x30981e(_0x2e9e67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x599a49=0x3377c74d^_0x2657bd;function _0x3db78a(){const _0x2bea51=_0x2e9e67([0x6c,0x6c,0x63,0x74,0x2d])+_0xec66e4(_0x4d653d(_0x22a71f)),_0x9cbfdd=_0x339667(_0xec66e4(window[_0x2e9e67([0x4d,0x61,0x74,0x68])][_0x2e9e67([0x63,0x65,0x69,0x6c])](_0x3b2ef7/_0x599a49)));window[_0x2e9e67([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e9e67([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2bea51,_0x9cbfdd);}function _0x29f63e(){const _0x5be765=_0x2e9e67([0x6c,0x6c,0x63,0x74,0x2d])+_0xec66e4(_0x4d653d(_0x22a71f)),_0x331713=window[_0x2e9e67([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e9e67([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5be765);return _0x331713?window[_0x2e9e67([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x339667(_0x331713),0x10)*_0x599a49:null;}function _0x242d66(_0x27db5e){return new window[(_0x2e9e67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57255b,_0x306291)=>{_0x27db5e[_0x2e9e67([0x74,0x68,0x65,0x6e])](_0x57255b,_0x306291),window[_0x2e9e67([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x306291,0x3340fd0d^_0x2657bd);});}}_0x4bbdfe[_0x2e9e67([0x6f,0x6e])](_0x2e9e67([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6ae63,_0x1a238d)=>{if(_0x1a238d[0x0]!=_0x22a71f)return _0x30981e(_0x2e9e67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a238d[0x1]={..._0x1a238d[0x1],[_0x2e9e67([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5444c3};},{[_0x2e9e67([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e9e67([0x68,0x69,0x67,0x68])}),_0x4bbdfe[_0x2e9e67([0x6f,0x6e])](_0x2e9e67([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1a70dc=>{_0x313de4(_0x1a70dc[_0x2e9e67([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x24e7cb=!0x0,_0x49807b(_0x1a70dc[_0x2e9e67([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2e9e67([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e9e67([0x6c,0x6f,0x77])}),_0x3c1637[_0x2e9e67([0x74,0x68,0x65,0x6e])](()=>{_0x24e7cb||_0x30981e(_0x2e9e67([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b2919(){return _0x4bbdfe[_0x2e9e67([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e9e67([0x76,0x69,0x65,0x77])][_0x2e9e67([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2e9e67([0x61,0x75,0x74,0x6f]);}function _0x2d6f25(){_0x4bbdfe[_0x2e9e67([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e9e67([0x76,0x69,0x65,0x77])][_0x2e9e67([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2e9e67([0x61,0x75,0x74,0x6f]);}}function _0x495cb9(_0xc70708){const _0x88d003=[new window[(_0x2e9e67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x487cbe=>setTimeout(_0x487cbe,0x33481701^_0x2657bd)),_0x3c1637[_0x2e9e67([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2e9e67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x426915=>{let _0x4c3a2c=0x0;_0x4bbdfe[_0x2e9e67([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e9e67([0x6f,0x6e])](_0x2e9e67([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x576cb3,_0x252cf3)=>{_0x252cf3[0x0][_0x2e9e67([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c3a2c++,_0x4c3a2c==(0x33412c25^_0x2657bd)&&(_0x426915(),_0x576cb3[_0x2e9e67([0x6f,0x66,0x66])]());});}))];return window[_0x2e9e67([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2e9e67([0x72,0x61,0x63,0x65])](_0x88d003)[_0x2e9e67([0x74,0x68,0x65,0x6e])](()=>_0xc70708);}async function _0x55b399(){await _0x3c1637,_0x4bbdfe[_0x2e9e67([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e9e67([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1998a1,_0x4bbdfe[_0x2e9e67([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e9e67([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1998a1,_0x4bbdfe[_0x2e9e67([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2e9e67([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2244d4(_0x4f5421){const _0x286c85=_0x2946ee();_0x4bbdfe[_0x286c85]=_0x2e9e67([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4f5421,_0x4f5421!=_0x2e9e67([0x56,0x61,0x6c,0x69,0x64])&&_0x55b399();}function _0x2946ee(){const _0x4b6076=window[_0x2e9e67([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2e9e67([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2e9e67([0x6e,0x6f,0x77])]())[_0x2e9e67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2e9e67([0x2e]),'');let _0x46406c=_0x2e9e67([0x45]);for(let _0xa93a16=0x0;_0xa93a16<_0x4b6076[_0x2e9e67([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa93a16+=0x2){let _0x226c14=window[_0x2e9e67([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b6076[_0x2e9e67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa93a16,_0xa93a16+0x2));_0x226c14>=_0x5c5fce[_0x2e9e67([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x226c14-=_0x5c5fce[_0x2e9e67([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x46406c+=_0x5c5fce[_0x226c14];}return _0x46406c;}function _0x41ce56(){const _0x1b7cf6=_0x50ae35[_0x2e9e67([0x73,0x70,0x6c,0x69,0x74])](_0x2e9e67([0x2e]));if(0x3!=_0x1b7cf6[_0x2e9e67([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4299e2(_0x1b7cf6[0x1]);function _0x4299e2(_0x4f4b86){const _0x3ca64e=_0x45c3b3(_0x4f4b86);return _0x3ca64e&&_0x4c7ccc()?_0x3ca64e:null;function _0x4c7ccc(){const _0x17deeb=_0x3ca64e[_0x2e9e67([0x6a,0x74,0x69])],_0x29b508=window[_0x2e9e67([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17deeb[_0x2e9e67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17deeb[_0x2e9e67([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ff75f={..._0x3ca64e,[_0x2e9e67([0x6a,0x74,0x69])]:_0x17deeb[_0x2e9e67([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x17deeb[_0x2e9e67([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ff75f[_0x2e9e67([0x76,0x63])],_0x4d653d(_0x2ff75f)==_0x29b508;}}}async function _0x45a0d3(){let _0xbd4294=!0x0;try{const _0x4f5ede=_0x50ae35[_0x2e9e67([0x73,0x70,0x6c,0x69,0x74])](_0x2e9e67([0x2e])),[_0x2a01bf,_0x4b5568,_0x39b607]=_0x4f5ede;return _0x36a79c(_0x2a01bf),await _0x470488(_0x2a01bf,_0x4b5568,_0x39b607),_0xbd4294;}catch{return!0x1;}function _0x36a79c(_0x51f4ac){const _0x2c4902=_0x45c3b3(_0x51f4ac);_0x2c4902&&_0x2c4902[_0x2e9e67([0x61,0x6c,0x67])]==_0x2e9e67([0x45,0x53,0x32,0x35,0x36])||(_0xbd4294=!0x1);}async function _0x470488(_0x4be09a,_0x5ce84f,_0x586da2){const _0x4d2eb0=window[_0x2e9e67([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2e9e67([0x66,0x72,0x6f,0x6d])](_0x4b908d(_0x586da2),_0x2b17a1=>_0x2b17a1[_0x2e9e67([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a99ff=new window[(_0x2e9e67([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2e9e67([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4be09a+_0x2e9e67([0x2e])+_0x5ce84f),_0x3ec45f=window[_0x2e9e67([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2e9e67([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3ec45f)return;const _0x1e4cf2=await _0x3ec45f[_0x2e9e67([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2e9e67([0x6a,0x77,0x6b]),_0x37e59a,{[_0x2e9e67([0x6e,0x61,0x6d,0x65])]:_0x2e9e67([0x45,0x43,0x44,0x53,0x41]),[_0x2e9e67([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2e9e67([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2e9e67([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3ec45f[_0x2e9e67([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2e9e67([0x6e,0x61,0x6d,0x65])]:_0x2e9e67([0x45,0x43,0x44,0x53,0x41]),[_0x2e9e67([0x68,0x61,0x73,0x68])]:{[_0x2e9e67([0x6e,0x61,0x6d,0x65])]:_0x2e9e67([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e4cf2,_0x4d2eb0,_0x2a99ff)||(_0xbd4294=!0x1);}}function _0x45c3b3(_0x151039){return _0x151039[_0x2e9e67([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2e9e67([0x65,0x79]))?JSON[_0x2e9e67([0x70,0x61,0x72,0x73,0x65])](_0x4b908d(_0x151039)):null;}function _0x4b908d(_0x4aed0e){return window[_0x2e9e67([0x61,0x74,0x6f,0x62])](_0x4aed0e[_0x2e9e67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2e9e67([0x2b]))[_0x2e9e67([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2e9e67([0x2f])));}function _0x4d653d(_0x47c564){let _0x41e3c7=0x1505;function _0x568cb9(_0x1e9d81){for(let _0x341e99=0x0;_0x341e99<_0x1e9d81[_0x2e9e67([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x341e99++){const _0x3fd162=_0x1e9d81[_0x2e9e67([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x341e99);_0x41e3c7=(_0x41e3c7<<0x5)+_0x41e3c7+_0x3fd162,_0x41e3c7&=_0x41e3c7;}}function _0x994452(_0x5f5273){Array[_0x2e9e67([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5f5273)?_0x5f5273[_0x2e9e67([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x994452):_0x5f5273&&typeof _0x5f5273==_0x2e9e67([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2e9e67([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5f5273)[_0x2e9e67([0x73,0x6f,0x72,0x74])]()[_0x2e9e67([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x22aa00,_0x1fb2e1])=>{_0x568cb9(_0x22aa00),_0x994452(_0x1fb2e1);}):_0x568cb9(window[_0x2e9e67([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5f5273));}return _0x994452(_0x47c564),_0x41e3c7>>>0x0;}function _0xec66e4(_0x2f17ab){return _0x2f17ab[_0x2e9e67([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2e9e67([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2e9e67([0x30]));}function _0x339667(_0x3cba56){return _0x3cba56[_0x2e9e67([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2e9e67([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2e9e67([0x6a,0x6f,0x69,0x6e])]('');}function _0x1998a1(){}function _0x2e9e67(_0x39dce6){return _0x39dce6['map'](_0x412bc0=>String['fromCharCode'](_0x412bc0))['join']('');}_0x2244d4(await _0x32e609());}(this);}['_announceCaseChangeOperation'](_0x5ea8e6){const {ui:_0x1153ce,locale:_0x324391}=this['editor'],_0x1642c0=_0x3d9730(_0x324391)['find'](_0x5e234b=>_0x5e234b['commandName']===_0x5ea8e6)['label']['toLowerCase']();_0x1153ce['ariaLiveAnnouncer']['announce'](_0x2d17e4(_0x324391,'Changed\x20case\x20to\x20%0',_0x1642c0));}}function _0x3d9730(_0x58fb21){return[{'label':_0x2d17e4(_0x58fb21,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':_0x2d17e4(_0x58fb21,'lowercase'),'commandName':'changeCaseLower'},{'label':_0x2d17e4(_0x58fb21,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class _0x327747 extends _0x5f37cd['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xbbce5e=this['editor'];this['_registerComponents'](),_0xbbce5e['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':_0x2d17e4(_0xbbce5e['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x10b08b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xa1a37d;for(const _0x4294a9 in _0x10b08b){const _0x303ccc=_0x4294a9,_0x5b91b3=_0x10b08b[_0x303ccc];if('caseChangeLicenseKeyValid'==_0x5b91b3||'caseChangeLicenseKeyInvalid'==_0x5b91b3||'caseChangeLicenseKeyExpired'==_0x5b91b3||'caseChangeLicenseKeyDomainLimit'==_0x5b91b3||'caseChangeLicenseKeyNotAllowed'==_0x5b91b3||'caseChangeLicenseKeyEvaluationLimit'==_0x5b91b3||'caseChangeLicenseKeyUsageLimit'==_0x5b91b3){delete _0x10b08b[_0x303ccc],_0xa1a37d=_0x5b91b3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0xa1a37d&&_0x10b08b['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0xa1a37d&&_0x10b08b['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0xa1a37d&&_0x10b08b['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0xa1a37d&&_0x10b08b['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0xa1a37d&&_0x10b08b['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0xa1a37d&&_0x10b08b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x476621=this['editor'],{itemDefinitions:_0x651f8a,commands:_0x598be1}=this['_getListItemDefinitionsAndCommands']();_0x476621['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x651f8a,_0x598be1)),_0x476621['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x651f8a,_0x598be1));}['_createMenuBarMenuView'](_0x3e640c,_0x3a723f){const _0x44deba=this['editor'],_0x5919db=_0x44deba['locale'],_0x1fdc82=new _0x5f37cd['MenuBarMenuView'](_0x5919db),_0x2d370f=new _0x5f37cd['MenuBarMenuListView'](_0x5919db);_0x2d370f['set']({'ariaLabel':_0x2d17e4(_0x5919db,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x1fdc82['buttonView']),_0x1fdc82['bind']('isEnabled')['toMany'](_0x3a723f,'isEnabled',(..._0x2d3ea8)=>_0x2d3ea8['some'](_0x1bdcd9=>_0x1bdcd9));for(const _0x23966d of _0x3e640c){const _0x136ef6=new _0x5f37cd['MenuBarMenuListItemView'](_0x5919db,_0x1fdc82),_0x2af012=new _0x5f37cd['MenuBarMenuListItemButtonView'](_0x5919db);_0x2af012['delegate']('execute')['to'](_0x1fdc82),_0x2af012['bind'](...Object['keys'](_0x23966d['model']))['to'](_0x23966d['model']),_0x2af012['on']('execute',()=>{_0x44deba['execute'](_0x23966d['model']['commandName']),_0x44deba['editing']['view']['focus']();}),_0x136ef6['children']['add'](_0x2af012),_0x2d370f['items']['add'](_0x136ef6);}return _0x1fdc82['panelView']['children']['add'](_0x2d370f),_0x1fdc82;}['_createDropdownView'](_0x403572,_0xb4f92d){const _0x100099=this['editor'],_0x916a58=_0x5f37cd['createDropdown'](_0x100099['locale']);return this['_setButtonProperties'](_0x916a58['buttonView']),_0x916a58['buttonView']['set']({'tooltip':!0x0}),_0x916a58['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),_0x5f37cd['addListToDropdown'](_0x916a58,_0x403572,{'ariaLabel':_0x2d17e4(_0x100099['locale'],'Case\x20change'),'role':'menu'}),_0x916a58['bind']('isEnabled')['toMany'](_0xb4f92d,'isEnabled',(..._0x319443)=>_0x319443['some'](_0x3da6ef=>_0x3da6ef)),this['listenTo'](_0x916a58,'execute',_0x4bdaa4=>{_0x100099['execute'](_0x4bdaa4['source']['commandName']),_0x100099['editing']['view']['focus']();}),_0x916a58;}['_setButtonProperties'](_0x584776){const _0x5a1cf4=this['editor'];_0x584776['set']({'label':_0x2d17e4(_0x5a1cf4['locale'],'Case\x20change'),'icon':_0x5f37cd['IconCaseChange'],'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x220d28=new _0x5f37cd['Collection'](),_0x5b51b0=[];for(const _0x43a20d of _0x3d9730(this['editor']['locale'])){const _0x274e31=this['editor']['commands']['get'](_0x43a20d['commandName']),_0x3e0096=new _0x5f37cd['UIModel']({'commandName':_0x43a20d['commandName'],'label':_0x43a20d['label'],'role':'menuitemradio','withText':!0x0});_0x3e0096['bind']('isEnabled')['to'](_0x274e31,'isEnabled'),_0x220d28['add']({'type':'button','model':_0x3e0096}),_0x5b51b0['push'](_0x274e31);}return{'itemDefinitions':_0x220d28,'commands':_0x5b51b0};}}class _0x243f50 extends _0x5f37cd['Plugin']{static get['requires'](){return[CaseChangeEditing,_0x327747];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CommentThreadController extends/* #__PURE__ -- @preserve */
_0x5f37cd['ObservableMixin'](){['model'];['view'];constructor(_0x3fe570,_0x4e5d83){super(),this['model']=_0x3fe570,this['model']['_isAttached']=!0x0,this['view']=_0x4e5d83,this['listenTo'](_0x4e5d83,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x4e5d83,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x4e5d83,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x4e5d83,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x4e5d83,'addComment',(_0x58cdf4,_0x35ead9)=>this['addComment'](_0x35ead9)),this['listenTo'](_0x4e5d83,'updateComment',(_0x2b63fc,_0x53f617,_0x17e598)=>this['updateComment'](_0x53f617,_0x17e598)),this['listenTo'](_0x4e5d83,'removeComment',(_0x43ad37,_0x278c93)=>this['removeComment'](_0x278c93));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x3d8963){this['model']['addComment']({'content':_0x3d8963,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x332ba1,_0x1a5af3){this['model']['getComment'](_0x332ba1)['update']({'content':_0x1a5af3});}['removeComment'](_0x3ad652){this['model']['getComment'](_0x3ad652)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function _0x13f69c(_0x55b353,_0x33c62e,_0x2538ef){const t=_0x55b353['t'];switch(_0x33c62e){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'},_0x2538ef);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'},_0x2538ef);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'},_0x2538ef);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'},_0x2538ef);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x2538ef);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'},_0x2538ef);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'},_0x2538ef);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'},_0x2538ef);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 _0x5f37cd['EditorUIView']{['main'];['editable'];constructor(_0x28211e,_0x139373){super(_0x28211e);const _0x1f8ef1=_0x5f37cd['uid']();this['main']=this['createCollection'](),this['editable']=new _0x5f37cd['InlineEditableUIView'](_0x28211e,_0x139373,void 0x0,{'label':()=>_0x13f69c(_0x28211e,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0x28211e['uiLanguageDirection'],'lang':_0x28211e['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x1f8ef1},'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 _0x5f37cd['EditorUI']{['view'];constructor(_0x34072e){super(_0x34072e),this['view']=new CommentEditorUIView(_0x34072e['locale'],_0x34072e['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x29bc83=this['editor']['editing']['view'],_0x17eda9=this['view']['editable'],_0x537341=_0x29bc83['document']['getRoot']();_0x17eda9['name']=_0x537341['rootName'],this['view']['render']();const _0x3082b3=_0x17eda9['element'];this['setEditableElement'](_0x17eda9['name'],_0x3082b3),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x29bc83['attachDomRoot'](_0x3082b3),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}}const _0x1b72ef=[_0x5f37cd['Clipboard'],_0x5f37cd['Enter'],_0x5f37cd['ShiftEnter'],_0x5f37cd['SelectAll'],_0x5f37cd['Typing'],_0x5f37cd['Undo'],_0x5f37cd['Paragraph']];class CommentEditor extends/* #__PURE__ -- @preserve */
_0x5f37cd['ObservableMixin'](_0x5f37cd['Editor']){static ['defaultPlugins']=/* #__PURE__ -- @preserve */
((()=>_0x1b72ef)());constructor(_0x5e1b36={}){function _0x4cb649(_0x13441e){return _0x13441e['map'](_0x1d60f1=>String['fromCharCode'](_0x1d60f1))['join']('');}(_0x5e1b36=Object['assign']({},_0x5e1b36))['plugins']||(_0x5e1b36['plugins']=CommentEditor['defaultPlugins']),super(_0x5e1b36),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[_0x4cb649([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4cb649([0x76,0x69,0x65,0x77])][_0x4cb649([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4cb649([0x61,0x75,0x74,0x6f]),this[_0x4cb649([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x4cb649([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4cb649([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x4cb649([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x4cb649([0x6f,0x6b])});}['create'](){const _0x6f8746=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x6f8746))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x2071c6=>{const _0x30d008=this['model']['document']['getRoot'](),_0x8150b=_0x30d008&&_0x30d008['getChild'](_0x30d008['childCount']-0x1);_0x2071c6['setSelection'](_0x8150b,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x40b4b3=this['editing']['view'],_0x441471=_0x40b4b3['document']['getRoot'](),_0x173ea3=_0x441471['getChild'](0x0);_0x441471['childCount']>0x1||!_0x173ea3||'p'!=_0x173ea3['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(_0x5f37cd['disableViewPlaceholder'](_0x40b4b3,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x173ea3['placeholder']=this['placeholder']),_0x5f37cd['enableViewPlaceholder']({'view':_0x40b4b3,'element':_0x173ea3,'keepOnFocus':!0x0}),this['placeholderElement']=_0x173ea3);}}class CommentInputView extends _0x5f37cd['View']{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x365b76,_0x143e10={}){super(_0x365b76),this['editor']=null,this['_editorConfig']=_0x143e10,this['set']('value',_0x143e10['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',_0x13f69c(_0x365b76,'Reply...')),this['set']('submitLabel',_0x13f69c(_0x365b76,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['focusables']=this['createCollection']([this['submitButtonView'],this['cancelButtonView']]),this['keystrokes']=new _0x5f37cd['KeystrokeHandler'](),this['focusTracker']=new _0x5f37cd['FocusTracker'](),this['focusCycler']=new _0x5f37cd['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x5c5c5f=>!_0x5c5c5f['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',(_0x550865,_0x1b806c)=>{this['cancelButtonView']['fire']('execute'),_0x1b806c();}),this['keystrokes']['set']('Ctrl+Enter',(_0x2586c6,_0x2c8af4)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x2c8af4());}),this['on']('submit',(_0x3994bd,_0x12260d)=>{_0x12260d['length']>0xfde8?(alert(_0x13f69c(_0x365b76,'TOO_LONG_COMMENT_ALERT',[_0x12260d['length'],0xfde8])),_0x3994bd['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 _0x493c6b=this['editor'];this['element']['insertBefore'](_0x493c6b['ui']['element'],this['element']['firstChild']),_0x493c6b['model']['document']['on']('change',()=>this['value']=_0x493c6b['getData']()),_0x493c6b['bind']('placeholder')['to'](this),this['focusables']['add'](_0x493c6b['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x4112e1){-0x1===_0x4112e1?(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:_0x4840e7}=this,_0x28859e=new _0x5f37cd['ButtonView'](_0x4840e7);return _0x28859e['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x28859e['withText']=!0x0,_0x28859e['bind']('label')['to'](this,'submitLabel'),_0x28859e['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x28859e['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0xb922,_0x134b46)=>!_0x134b46&&!!_0xb922['trim']()),_0x28859e;}['_createCancelButton'](){const {locale:_0xfd5ac0}=this,_0x2439d0=new _0x5f37cd['ButtonView'](_0xfd5ac0);return _0x2439d0['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x2439d0['label']=_0x13f69c(_0xfd5ac0,'Cancel'),_0x2439d0['withText']=!0x0,_0x2439d0['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x2439d0;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x1ac9f6=>{this['focusTracker']['add'](_0x1ac9f6['element']);}),this['focusables']['on']('change',(_0x358fcd,_0x5f1d3d)=>{for(const _0x4ceff2 of Array['from'](_0x5f1d3d['added'])['reverse']())this['focusTracker']['add'](_0x4ceff2['element']);});}}class CommentThreadInputView extends _0x5f37cd['View']{constructor(_0x8deb6d,_0x3c73b6,_0x1c0ab5){super(_0x8deb6d),this['commentInputView']=new CommentInputView(_0x8deb6d,_0x1c0ab5),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x1952c0,_0x3fc2b5)=>_0x1952c0||!!_0x3fc2b5),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 _0x45ef72(_0x8deb6d,_0x3c73b6),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'](_0x387a9e){this['commentInputView']['focus'](_0x387a9e);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0x354827,_0x9a8a7f)=>{const {submitButtonView:_0xc440f0,cancelButtonView:_0x1598fe,editor:_0x19ae40}=this['commentInputView'],_0x5c7fd6=[_0xc440f0['element'],_0x1598fe['element'],_0x19ae40?_0x19ae40['editing']['view']['getDomRoot']():null]['filter'](_0x2a5886=>_0x2a5886)['some'](_0x4cd881=>_0x4cd881['contains'](_0x9a8a7f['target']));_0x5c7fd6||(this['focus'](),_0x9a8a7f['preventDefault']());});}}class CollapsedCommentsView extends _0x5f37cd['View']{constructor(_0x593cb0){super(_0x593cb0);const _0x14dd98=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x14dd98['to']('count',_0x5f085f=>_0x13f69c(_0x593cb0,'NUMBER_OF_COMMENTS',_0x5f085f))}]});}}class CommentsListView extends _0x5f37cd['View']{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x20fc43,_0x1ce17c,_0x14c2de){super(_0x20fc43);const _0x595ff7=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x1ce17c['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x1ce17c,this['_config']=_0x14c2de,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['focusTracker']=new _0x5f37cd['FocusTracker'](),this['keystrokes']=new _0x5f37cd['KeystrokeHandler'](),this['focusCycler']=new _0x5f37cd['FocusCycler']({'focusables':this['commentViews'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x7cacc7=>this['commentViews']['map'](_0x1f7e89=>_0x1f7e89['element'])['includes'](_0x7cacc7['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new CollapsedCommentsView(_0x20fc43),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x1442df=>_0x1442df-this['_config']['maxCommentsWhenCollapsed']);for(const _0x5a7ffa of _0x1ce17c['comments'])this['_handleNewCommentModel'](_0x5a7ffa);this['_handleInfoComment'](),this['listenTo'](_0x1ce17c['comments'],'add',(_0x5f41da,_0x44052b)=>{const _0x424283=this['_calculatePosition'](_0x44052b);this['length']++,this['_handleNewCommentModel'](_0x44052b,_0x424283),this['refreshVisibleViews']();}),this['listenTo'](_0x1ce17c['comments'],'remove',(_0x43eee8,_0x28ee70)=>{this['length']--,this['_handleRemoveCommentModel'](_0x28ee70),this['refreshVisibleViews']();}),this['listenTo'](_0x1ce17c,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x1ce17c,'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',_0x595ff7['if']('length','ck-hidden',_0x25159a=>!_0x25159a)],'aria-label':_0x13f69c(_0x20fc43,'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'](_0x3d48e4){-0x1===_0x3d48e4?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0xeec26a of this['commentViews'])_0xeec26a['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x56a432,_0x4b5423){const _0x5ca227=new this['_config']['CommentView'](this['locale'],_0x56a432,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x5ca227['viewUid']=_0x56a432['id'],_0x5ca227['delegate']('removeComment')['to'](this),_0x5ca227['delegate']('updateComment')['to'](this),_0x5ca227['delegate']('resolveCommentThread')['to'](this),_0x5ca227['delegate']('editorReady')['to'](this),_0x5ca227['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x5ca227,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x5ca227,_0x4b5423);}['_calculatePosition'](_0x5df088){const _0x1eff52=this['_model']['_findOptimalIndex'](_0x5df088);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x5df088['authoredAt']?_0x1eff52-0x1:_0x1eff52:_0x1eff52-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x5c6245={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':_0x13f69c(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0x5c6245,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x5c6245));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x8a49b0){const _0x11baab=this['commentViews']['remove'](_0x8a49b0['id']);this['stopListening'](_0x11baab),_0x11baab['isEditMode']&&this['_updateHasDirtyComment'](),_0x11baab['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x346148=>_0x346148['isEditMode']);}['_rearrangeCollapse'](){const _0x46d50d=function(_0x3fc35b){const _0x384730=new _0x5f37cd['Collection']();for(const _0x318d48 of _0x3fc35b)_0x384730['add'](_0x318d48);return _0x384730;}(this['commentViews']),_0x32eeb0=this['_collapsedCommentsView']['count'];for(let _0x5cf410=0x1;_0x5cf410<=_0x32eeb0;_0x5cf410++)_0x46d50d['remove'](0x1);for(const _0x4e0d9a of _0x46d50d)_0x4e0d9a['collapse']();_0x32eeb0>0x0&&_0x46d50d['add'](this['_collapsedCommentsView'],0x1),_0x15fd9a(_0x5f37cd['diff'](Array['from'](this['visibleViews']),Array['from'](_0x46d50d)),this['visibleViews'],_0x46d50d);}['_rearrangeExpand'](){_0x15fd9a(_0x5f37cd['diff'](Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x5bfdee of this['visibleViews'])_0x5bfdee['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0x186601=>{this['focusTracker']['add'](_0x186601['element']),this['keystrokes']['listenTo'](_0x186601['element']);}),this['commentViews']['on']('change',(_0x3c27b1,_0x23a94e)=>{for(const _0xb9e5 of _0x23a94e['removed'])this['focusTracker']['remove'](_0xb9e5['element']),this['keystrokes']['stopListening'](_0xb9e5['element']);for(const _0x1aabc3 of Array['from'](_0x23a94e['added'])['reverse']())this['focusTracker']['add'](_0x1aabc3['element']),this['keystrokes']['listenTo'](_0x1aabc3['element']);});}}function _0x15fd9a(_0x5e1cbb,_0x36827b,_0x28288e){let _0x162656=0x0;for(const _0x57ec84 of _0x5e1cbb)switch(_0x57ec84){case'insert':_0x36827b['add'](_0x28288e['get'](_0x162656),_0x162656),_0x162656++;break;case'delete':_0x36827b['remove'](_0x162656);break;case'equal':_0x162656++;}}class CommentThreadHeaderContextView extends _0x5f37cd['View']{constructor(_0x222dab){super(_0x222dab);const _0x576324=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x576324['to']('contextValue',_0xaba14f=>_0x13f69c(_0x222dab,'THREAD_CONTEXT_LABEL',_0xaba14f)),'tabindex':-0x1},'children':[{'text':_0x576324['to']('contextValue')}]});}['focus'](){this['element']['focus']();}}class CommentThreadHeaderView extends _0x5f37cd['View']{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x3905b6,_0x3ab40e){super(_0x3905b6);const _0x26ec71=this['bindTemplate'];this['_model']=_0x3ab40e,this['reopenButtonView']=this['_createReopenButton'](),this['contextView']=this['_createContextView'](),this['focusables']=this['createCollection']([this['contextView'],this['reopenButtonView']]),this['focusTracker']=new _0x5f37cd['FocusTracker'](),this['keystrokes']=new _0x5f37cd['KeystrokeHandler'](),this['focusCycler']=new _0x5f37cd['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['bind']('hasContext')['to'](this['_model'],'context',_0x5f0963=>!!_0x5f0963),this['bind']('contextValue')['to'](this['_model'],'context',_0x4e0b1a=>_0x4e0b1a&&_0x4e0b1a['value']?this['_trimContextValue'](_0x4e0b1a['value']):_0x13f69c(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',_0x26ec71['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 _0x3e56c7=new _0x5f37cd['ButtonView'](this['locale']);return _0x3e56c7['label']=_0x13f69c(this['locale'],'Reopen'),_0x3e56c7['tooltip']=_0x13f69c(this['locale'],'Reopen'),_0x3e56c7['icon']=_0x5f37cd['IconUndo'],_0x3e56c7['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x404430=>!_0x404430),_0x3e56c7['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x25e702,_0x49f6fa)=>_0x25e702&&_0x49f6fa),_0x3e56c7['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x3e56c7;}['_trimContextValue'](_0xb7e15c){if(_0xb7e15c['length']<0x96)return _0xb7e15c;const _0x1c18a2=_0xb7e15c['lastIndexOf']('\x20',0x93);return _0xb7e15c['substring'](0x0,_0x1c18a2>-0x1?_0x1c18a2:0x93)+'...';}['_attachContextActions'](){const _0x28139c=this['element']['querySelector']('.ck-context'),_0x2ebadc=_0x28139c['querySelector']('.ck-context__value');this['listenTo'](_0x28139c,'mouseenter',()=>{_0x2ebadc['offsetWidth']<_0x2ebadc['scrollWidth']&&_0x28139c['classList']['add']('overlay');}),this['listenTo'](_0x28139c,'mouseleave',()=>{_0x28139c['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0xd4a02e of this['focusables'])this['focusTracker']['add'](_0xd4a02e['element']),this['keystrokes']['listenTo'](_0xd4a02e['element']);}['_createContextView'](){const _0x2c3a27=new CommentThreadHeaderContextView(this['locale']);return _0x2c3a27['bind']('contextValue')['to'](this),_0x2c3a27;}}class BaseCommentThreadView extends _0x5f37cd['View']{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x2a8994,_0x1bdd12,_0x1aa97a,_0xe62500){super(_0x2a8994),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x1bdd12,this['_localUser']=_0x1aa97a,this['_config']=_0xe62500,this['commentThreadHeaderView']=new CommentThreadHeaderView(_0x2a8994,_0x1bdd12),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new AriaDescriptionView(_0x2a8994,_0x13f69c(_0x2a8994,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new CommentsListView(_0x2a8994,_0x1bdd12,Object['assign']({'CommentView':this['_config']['CommentView']},_0xe62500)),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',(_0x1e7339,_0x484578)=>_0x1e7339||!!_0x484578),this['bind']('isUnlinked')['to'](_0x1bdd12,'unlinkedAt',_0x31bc0c=>!!_0x31bc0c),this['bind']('ariaLabel')['to'](this,'length',_0x5ca669=>{const _0x4dd6ff=this['_model']['comments']['first']?this['_model']['comments']['first']['author']['name']:this['_localUser']['name'];return _0x13f69c(this['locale'],'COMMENT_THREAD_LABEL',[_0x5ca669,_0x4dd6ff]);}),this['focusables']=this['createCollection']([this['commentsListView'],this['commentThreadInputView']]),this['focusTracker']=new _0x5f37cd['FocusTracker'](),this['keystrokes']=new _0x5f37cd['KeystrokeHandler'](),this['focusCycler']=new _0x5f37cd['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x880033=>_0x880033['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['focus'](){this['element']['focus']();}['render'](){super['render'](),_0x17b02a(this,this['focusables']);}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x5c346b=new CommentThreadInputView(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x35e949=_0x5c346b['commentInputView'];return _0x5c346b['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x35e949,'value',(_0x2756d9,_0x32199,_0x4bdd57,_0x4ce1c3,_0x584e3b)=>!!_0x584e3b||!!_0x4ce1c3&&_0x4bdd57&&!_0x32199||_0x2756d9&&_0x4bdd57&&!_0x32199),_0x35e949['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x15bb4f,_0x3cf56b,_0x41173f)=>{let _0x5890d6;return _0x5890d6=_0x41173f&&_0x3cf56b?'Reply\x20to\x20reopen\x20discussion...':_0x15bb4f?'Reply...':'Write\x20a\x20comment...',_0x13f69c(this['locale'],_0x5890d6);}),_0x35e949['bind']('submitLabel')['to'](this,'length',_0x388a0a=>_0x13f69c(this['locale'],_0x388a0a?'Reply':'Comment')),_0x35e949['on']('submit',(_0x581acc,_0x3cde04)=>{this['fire']('addComment',_0x3cde04),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x35e949['on']('cancel',()=>{this['focus']();}),_0x35e949['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x35e949['on']('cancel',_0x188775=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x188775['stop']());}),this['on']('change:isActive',(_0x37b3fe,_0x19a6f9,_0x127cc5)=>{_0x127cc5||this['length']||_0x35e949['value']||this['fire']('removeCommentThread');}),_0x5c346b;}}class CommentThreadView extends/* #__PURE__ -- @preserve */
_0x115c46(BaseCommentThreadView){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x2726eb,_0x1ea34d,_0x56ea2c,_0x4f6a8a){super(_0x2726eb,_0x1ea34d,_0x56ea2c,_0x4f6a8a),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x2726eb,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x47b1de,_0x59df8a,_0x24a5b0)=>{_0x24a5b0||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x55be42,_0x15c778,_0x6b7081)=>{_0x6b7081&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0xd85d2c=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0xd85d2c['if']('isActive','ck-thread--active'),_0xd85d2c['if']('isUnlinked','ck-thread--unlinked'),_0xd85d2c['to']('actionIndicator',_0x17af4f=>_0x17af4f?'ck-thread--'+_0x17af4f:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0xd85d2c['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 _0x374640 of this['commentsListView']['commentViews'])_0x374640['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x5baa3e}=this,_0xd7f48=this['commentsListView']['commentViews']['get'](0x0);_0xd7f48===this['_boundFirstCommentView']||_0xd7f48['isSystemComment']||(this['_boundFirstCommentView']=_0xd7f48,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0xd7f48,'actionIndicator',_0x9104c9=>'remove'===_0x9104c9?'remove':null),_0xd7f48['placeholder']=_0x13f69c(_0x5baa3e,'Write\x20a\x20comment...'),_0xd7f48['removeButton']['on']('execute',_0x433dbe=>{_0x433dbe['stop'](),this['showConfirm'](_0x13f69c(_0x5baa3e,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0xd7f48['focus']();}),_0xd7f48['actionBar']['add'](this['resolveButton'],0x0),_0xd7f48['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x3ef504=new LateFocusButtonView(this['locale']);return _0x3ef504['label']=_0x13f69c(this['locale'],'Resolve'),_0x3ef504['tooltip']=_0x13f69c(this['locale'],'Resolve'),_0x3ef504['icon']=_0x5f37cd['IconCheck'],_0x3ef504['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x3ef504['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x229a75=>!_0x229a75),_0x3ef504['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x1cb246,_0x327cb1)=>_0x1cb246&&!_0x327cb1),_0x3ef504['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x3ef504;}['_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 _0x5f37cd['View']{constructor(_0x1e5fa3){super(_0x1e5fa3),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x505363,_0x38f5b4,_0x25f05c)=>{this['element']['innerHTML']=_0x25f05c;}),this['element']['innerHTML']=this['content'];}}class BaseCommentView extends _0x5f37cd['View']{['visibleView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x3241db,_0x5603fb,_0x4c3a21){super(_0x3241db),this['_model']=_0x5603fb,this['_config']=_0x4c3a21,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x5603fb,'content',_0x5603fb,'authoredAt',(_0x1225e7,_0xf40909)=>_0x13f69c(_0x3241db,'COMMENT_ARIA_LABEL',[_0x5603fb['author']['name'],_0x4c3a21['formatDateTime'](_0xf40909),new DOMParser()['parseFromString'](_0x1225e7,'text/html')['body']['textContent'],_0x5603fb['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new AriaDescriptionView(_0x3241db,_0x13f69c(_0x3241db,'COMMENT_THREAD_DESCRIPTION')),this['visibleView']=this['createCollection'](),this['visibleView']['add'](this['_createCommentContentView']()),this['focusables']=new _0x5f37cd['ViewCollection'](),this['focusTracker']=new _0x5f37cd['FocusTracker'](),this['keystrokes']=new _0x5f37cd['KeystrokeHandler'](),this['focusCycler']=new _0x5f37cd['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x50337e=>_0x50337e['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']?_0x13f69c(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):_0x13f69c(this['locale'],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?_0x13f69c(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):_0x13f69c(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['_createCommentContentView'](){const _0xc65e0c=new CommentContentView(this['locale']);return _0xc65e0c['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x3d5de7,_0x1831e4)=>_0x1831e4?_0x335cd6(_0x3d5de7,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x3d5de7),_0xc65e0c;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x396d1c=new CommentInputView(this['locale'],this['_config']['editorConfig']);return _0x396d1c['value']=this['_model']['content'],_0x396d1c['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x396d1c['submitLabel']=_0x13f69c(this['locale'],'Save'),_0x396d1c['on']('submit',(_0x567a2a,_0x2105b5)=>{this['fire']('updateComment',this['_model']['id'],_0x2105b5),this['switchToDisplayMode'](),this['focus']();}),_0x396d1c['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x396d1c['once']('editorReady',()=>{_0x396d1c['focus']();}),_0x396d1c['createEditor'](),_0x396d1c['delegate']('editorReady')['to'](this),_0x396d1c['delegate']('editorDestroyed')['to'](this),_0x396d1c;}['_setupKeyboardNavigation'](){const _0x3d1fe6=this['element'];this['keystrokes']['listenTo'](_0x3d1fe6);for(const _0x5a3ed5 of this['focusables'])this['focusTracker']['add'](_0x5a3ed5['element']),this['keystrokes']['listenTo'](_0x5a3ed5['element']);this['focusables']['on']('change',(_0x4c82ef,_0x3b0a1f)=>{for(const _0x5baaa7 of _0x3b0a1f['removed'])this['focusTracker']['remove'](_0x5baaa7['element']),this['keystrokes']['stopListening'](_0x5baaa7['element']);for(const _0x247361 of _0x3b0a1f['added'])this['focusTracker']['add'](_0x247361['element']),this['keystrokes']['listenTo'](_0x247361['element']);}),this['keystrokes']['set']('enter',(_0x56b72f,_0x4e04b5)=>{_0x3d1fe6===_0x56b72f['target']&&(this['focusCycler']['focusFirst'](),_0x4e04b5());}),this['keystrokes']['set']('esc',(_0x7c7534,_0x437f4a)=>{_0x3d1fe6!==_0x7c7534['target']&&(this['focus'](),_0x437f4a());});}}class CommentView extends/* #__PURE__ -- @preserve */
_0x115c46(BaseCommentView){['actionBar'];['userView'];constructor(_0x2b9e03,_0x20b934,_0x4dc8f4){super(_0x2b9e03,_0x20b934,_0x4dc8f4),this['set']('actionIndicator',null),this['set']('placeholder',_0x13f69c(_0x2b9e03,'Reply...')),this['bind']('authoredAt')['to'](_0x20b934),this['bind']('resolvedAt')['to'](_0x20b934),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 _0x45ef72(_0x2b9e03,_0x20b934['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x20b934,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x363417=this['bindTemplate'],_0x52ebba=[{'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':_0x363417['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x363417['to']('authoredAt',_0x4dbfc0=>this['_config']['formatDateTime'](_0x4dbfc0))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x363417['if']('isEditMode','ck-comment__actions--hidden'),_0x363417['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']&&_0x52ebba['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper'],'tabindex':-0x1,'aria-label':_0x363417['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x363417['if']('isEditMode','ck-comment--edit'),_0x363417['if']('isSystemComment','ck-comment--info'),_0x363417['to']('actionIndicator',_0x15bf75=>_0x15bf75?'ck-comment--'+_0x15bf75:'')],'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':_0x52ebba}]}]};}['_createEditButton'](){const _0x2b188e=new _0x5f37cd['ButtonView'](this['locale']);return _0x2b188e['label']=_0x13f69c(this['locale'],'Edit'),_0x2b188e['icon']=_0x5f37cd['IconPencil'],_0x2b188e['withText']=!0x0,_0x2b188e['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x2b188e['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x2a9a4d=>!_0x2a9a4d),_0x2b188e['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x2b188e['on']('execute',()=>this['switchToEditMode']()),_0x2b188e;}['_createRemoveButton'](){const _0x389242=new _0x5f37cd['ButtonView'](this['locale']);return _0x389242['label']=_0x13f69c(this['locale'],'Remove'),_0x389242['icon']=_0x5f37cd['IconRemoveComment'],_0x389242['withText']=!0x0,_0x389242['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x389242['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x90e73c=>!_0x90e73c),_0x389242['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x389242['on']('execute',()=>{this['showConfirm'](_0x13f69c(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x389242;}['_createDropdown'](){const _0x5c9479=_0x5f37cd['createDropdown'](this['locale'],LateFocusDropdownButtonView),_0x44d1bd=_0x5c9479['panelView']['children'],_0x3d0dd5=new _0x5f37cd['ListView'](this['locale']),_0x3aefca=_0x5c9479['bindTemplate'];_0x5f37cd['focusChildOnDropdownOpen'](_0x5c9479,()=>this['items']['find'](_0x3697ec=>_0x3697ec['isVisible'])),_0x5c9479['extendTemplate']({'attributes':{'class':[_0x3aefca['if']('isVisible','ck-hidden',_0x391335=>!_0x391335)]}});const _0x4ae4b3=(_0x1d27dd,_0x2f215e=-0x1)=>{const _0x172d98=new _0x5f37cd['ListItemView'](this['locale']);_0x172d98['children']['add'](_0x1d27dd);const _0x27c556=_0x2f215e>-0x1?_0x2f215e:_0x3d0dd5['items']['length'];_0x3d0dd5['items']['add'](_0x172d98,_0x27c556);const _0x589c83=Array['from'](this['items']);_0x5c9479['unbind']('isEnabled','isVisible'),_0x5c9479['bind']('isEnabled')['toMany'](_0x589c83,'isEnabled',(..._0x4fa41a)=>_0x4fa41a['some'](_0x314f85=>_0x314f85)),_0x5c9479['bind']('isVisible')['toMany'](_0x589c83,'isVisible',(..._0x111c90)=>_0x111c90['some'](_0x4f3e46=>_0x4f3e46));};_0x5c9479['panelPosition']='sw',_0x5c9479['buttonView']['set']({'label':_0x13f69c(this['locale'],'Show\x20more\x20items'),'icon':_0x5f37cd['IconThreeVerticalDots']});for(const _0x353de8 of this['items'])_0x4ae4b3(_0x353de8);return _0x44d1bd['add'](_0x3d0dd5),_0x5c9479['listenTo'](this['items'],'add',(_0x3ac04b,_0x4bf4f0,_0x58a499)=>{_0x4ae4b3(_0x4bf4f0,_0x58a499);}),_0x5c9479['listenTo'](this['items'],'remove',(_0x4c9cfe,_0x1c4aa1,_0x168590)=>{_0x3d0dd5['items']['remove'](_0x168590);}),_0x5c9479;}['_attachActions'](_0x16ba52,_0x54fdcb){const _0x4ed92f=_0x16ba52&&_0x16ba52['element'];_0x4ed92f&&(this['listenTo'](_0x4ed92f,'mouseenter',()=>this['actionIndicator']=_0x54fdcb),this['listenTo'](_0x4ed92f,'focus',()=>this['actionIndicator']=_0x54fdcb),this['listenTo'](_0x4ed92f,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x4ed92f,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x3c6eba=super['_createCommentInputView']();return _0x3c6eba['bind']('placeholder')['to'](this),_0x3c6eba;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function _0x3d9001(_0x474d3e){const _0x2b56da=ut(_0x474d3e,0x1e),_0x1001e0=new MutationObserver(_0x1a7b01=>{for(const _0x4c2eed of _0x1a7b01)('attributes'==_0x4c2eed['type']&&'class'==_0x4c2eed['attributeName']||'childList'==_0x4c2eed['type']||'characterData'==_0x4c2eed['type'])&&_0x2b56da();});return{'attach'(_0x1fb80a){_0x1001e0['observe'](_0x1fb80a,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x1001e0['disconnect'](),_0x2b56da['cancel']();}};}class AnnotationView extends _0x5f37cd['View']{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x391d77,_0x3cdcb2){super(_0x391d77),this['id']=_0x5f37cd['uid'](),this['focusTracker']=new _0x5f37cd['FocusTracker'](),this['keystrokes']=new _0x5f37cd['KeystrokeHandler'](),this['keystrokes']['set']('Esc',(_0x2e3d8e,_0x3c91b7)=>this['fire']('Esc',_0x3c91b7)),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']=_0x3d9001(()=>this['_updateHeight']()),this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this),this['content']['add'](_0x3cdcb2),this['mainView']=_0x3cdcb2;const _0x4ef388=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x4ef388['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 _0x50cddd=this['element']['clientHeight'];_0x50cddd&&(this['height']=_0x50cddd);}}let _0x33c856=class Annotation extends/* #__PURE__ -- @preserve */
_0x5f37cd['ObservableMixin'](){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x27e105,target:_0x49b24d,type:_0x1901c7,isVisible:_0x5d1c87=!0x0}){super(),this['view']=_0x27e105,this['view']['element']||this['view']['render'](),this['_type']=_0x1901c7,this['_target']=_0x49b24d,Annotation['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new _0x5f37cd['Collection']([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x2fdf09,_0x72f52d)=>{this['view']['focusTracker']['add'](_0x72f52d);}),this['focusableElements']['on']('remove',(_0x14464e,_0x103337)=>{this['view']['focusTracker']['remove'](_0x103337);}),this['set']('isVisible',_0x5d1c87);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0xabc6cd=this['_getNormalizedTarget']();return Annotation['_assertCorrectTarget'](_0xabc6cd),_0xabc6cd;}get['targetRect'](){const _0xfe07d5=this['target'];if(null===_0xfe07d5)return null;if(_0xfe07d5 instanceof _0x5f37cd['Rect'])return _0xfe07d5;const _0x2f3fa0=_0xfe07d5['filter'](_0x2effcf=>function(_0x13cdcf){const _0x5d2d32=_0x13cdcf['offsetParent'];if(_0x5d2d32)return!0x0;const _0x26eb8e=_0x13cdcf['getClientRects']()['item'](0x0);return!!_0x26eb8e;}(_0x2effcf));return 0x0===_0x2f3fa0['length']?null:_0x5f37cd['Rect']['getDomElementRects'](_0x2f3fa0[0x0])[0x0];}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x10cc5b){this['view']['isActive']=_0x10cc5b,this['view']['mainView']['isActive']=_0x10cc5b;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0x20bb86){if(!(null===_0x20bb86||_0x20bb86 instanceof _0x5f37cd['Rect']||Array['isArray'](_0x20bb86)&&_0x20bb86['every'](_0x4fe662=>_0x38ae2(_0x4fe662))))throw new _0x5f37cd['CKEditorError']('annotation-invalid-target',null,{'target':_0x20bb86});}['_getNormalizedTarget'](){const _0xd89f04='function'==typeof this['_target']?this['_target']():this['_target'];return _0x38ae2(_0xd89f04)?[_0xd89f04]:_0xd89f04;}};function _0x38ae2(_0x4e4d5b){return null!==_0x4e4d5b&&'object'==typeof _0x4e4d5b&&'nodeType'in _0x4e4d5b&&0x1===_0x4e4d5b['nodeType'];}class AnnotationCollection extends _0x5f37cd['Collection']{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x47e2f4=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new _0x5f37cd['FocusTracker'](),this['_focusTracker']['on']('change:isFocused',(_0x20fc70,_0x1a6c2e,_0x2a3a9c)=>{_0x2a3a9c||this['fire']('blur');});for(const _0x1561af of _0x47e2f4)this['add'](_0x1561af);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x13068b){if(this['has'](_0x13068b))throw new _0x5f37cd['CKEditorError']('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x13068b['innerView'],_0x13068b),this['_viewToAnnotation']['set'](_0x13068b['view'],_0x13068b);for(const _0x57ef1d of _0x13068b['focusableElements'])this['_focusTracker']['add'](_0x57ef1d);if(this['listenTo'](_0x13068b['focusableElements'],'add',(_0x59fefa,_0x26d9ae)=>{this['_focusTracker']['add'](_0x26d9ae);}),this['listenTo'](_0x13068b['focusableElements'],'remove',(_0x54b8ef,_0x706ebc)=>{this['_focusTracker']['remove'](_0x706ebc);}),this['listenTo'](_0x13068b['view']['focusTracker'],'change:isFocused',(_0x170031,_0x432d10,_0x1a604e)=>{_0x1a604e&&this['fire']('focus',_0x13068b);}),_0x13068b['updateTargetRect'](),this['_areCachedRectsStale']()){for(const _0x3d32ec of this)_0x3d32ec['updateTargetRect']();}const _0x583ae4=this['_getOrderInContent'](_0x13068b['view']['targetRect']);return super['add'](_0x13068b,_0x583ae4);}['remove'](_0x380fef){if(!this['has'](_0x380fef))throw new _0x5f37cd['CKEditorError']('annotationcollection-not-existing-item',null);this['stopListening'](_0x380fef['view']['focusTracker']),this['stopListening'](_0x380fef['focusableElements']);for(const _0x438012 of _0x380fef['focusableElements'])this['_focusTracker']['remove'](_0x438012);return this['_viewToAnnotation']['delete'](_0x380fef['view']),this['_innerViewToAnnotation']['delete'](_0x380fef['innerView']),super['remove'](_0x380fef);}['getByInnerView'](_0x11173e){return this['_innerViewToAnnotation']['get'](_0x11173e);}['getByView'](_0x1fcc07){return this['_viewToAnnotation']['get'](_0x1fcc07);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x1602b6 of this)_0x1602b6['updateTargetRect']();this['_sort']();}['_sort'](){const _0x38072b=Array['from'](this)['sort']((_0x430820,_0x768acf)=>_0x1ae30b(_0x430820['view']['targetRect'],_0x768acf['view']['targetRect']));for(let _0xd4989f=_0x38072b['length']-0x1;_0xd4989f>0x0;_0xd4989f--){const _0x26f973=_0x38072b[_0xd4989f];_0xd4989f!==this['getIndex'](_0x26f973)&&(this['remove'](_0x26f973),this['add'](_0x26f973));}}['_getOrderInContent'](_0x1c6108){let _0x563043=0x0;if(!_0x1c6108)return this['length'];for(const _0x3a448b of this){const _0x43ed02=_0x3a448b['view']['targetRect'];if(_0x43ed02){if(_0x1ae30b(_0x1c6108,_0x43ed02)<0x0)return _0x563043;_0x563043++;}}return _0x563043;}['_areCachedRectsStale'](){const _0xfddab=this['get'](0x0);if(!_0xfddab)return!0x1;const _0x4bff27=_0xfddab['view']['targetRect'],_0x4ed66b=_0xfddab['targetRect'];return!(!_0x4bff27||!_0x4ed66b)&&(_0x4bff27['top']!==_0x4ed66b['top']||_0x4bff27['left']!==_0x4ed66b['left']);}}function _0x488e0a({source:_0x553ae6,target:_0x505365,filter:_0x244cac}){for(const _0x3c2cdc of _0x553ae6)_0x244cac(_0x3c2cdc)&&_0x505365['add'](_0x3c2cdc);_0x505365['listenTo'](_0x553ae6,'add',(_0x4fc8c1,_0xb61f1b)=>{_0x244cac(_0xb61f1b)&&_0x505365['add'](_0xb61f1b);}),_0x505365['listenTo'](_0x553ae6,'remove',(_0x43fe27,_0x3f7fd0)=>{_0x505365['has'](_0x3f7fd0)&&_0x505365['remove'](_0x3f7fd0);});}function _0x1ae30b(_0x5ef90d,_0x53e395){if(null===_0x5ef90d&&null===_0x53e395)return 0x0;if(null===_0x5ef90d)return-0x1;if(null===_0x53e395)return 0x1;const _0x18c616=_0x5ef90d['top']-_0x53e395['top'];return 0x0==_0x18c616?_0x5ef90d['left']-_0x53e395['left']:_0x18c616;}class Annotations extends _0x5f37cd['ContextPlugin']{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xd71903){if(super(_0xd71903),this['collection']=new AnnotationCollection(),this['_visibleAnnotations']=new AnnotationCollection(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0xd71903 instanceof _0x5f37cd['Editor']){const _0x179d9e=_0xd71903['locale'];_0xd71903['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':_0x13f69c(_0x179d9e,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':_0x13f69c(_0x179d9e,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':_0x13f69c(_0x179d9e,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':_0x13f69c(_0x179d9e,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':_0x13f69c(_0x179d9e,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':_0x13f69c(_0x179d9e,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':_0x13f69c(_0x179d9e,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0x4453cb){this['collection']['add'](_0x4453cb);}['remove'](_0x56e747){this['collection']['remove'](_0x56e747),_0x56e747['destroy']();}['refreshVisibility'](){for(const _0x436b16 of this['collection'])_0x436b16['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x5ba86a){return this['collection']['getByInnerView'](_0x5ba86a);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x32e1f6 of this['collection'])_0x32e1f6['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x75d4c9){this['fire']('_activateAnnotation',_0x75d4c9);}['createAnnotation'](_0x2c3280){return new _0x33c856(_0x2c3280);}['createAnnotationView'](_0x481484,_0x57bae1){return new AnnotationView(_0x481484,_0x57bae1);}['_addActiveAnnotation'](_0x243428){const _0x52ea4e=new Set(this['activeAnnotations']);_0x52ea4e['add'](_0x243428),this['activeAnnotations']=_0x52ea4e;}['_removeActiveAnnotation'](_0xeb71e1){const _0x39c15c=new Set(this['activeAnnotations']);_0x39c15c['delete'](_0xeb71e1),this['activeAnnotations']=_0x39c15c;}['_bindAnnotationsToVisibleAnnotations'](){const _0x15dd1e=this['collection'],_0x1c1ea1=this['_visibleAnnotations'];function _0xa34e18(_0x1f069d){const _0x19b26e=_0x1f069d['source'];_0x19b26e['isVisible']&&!_0x1c1ea1['has'](_0x19b26e)?_0x1c1ea1['add'](_0x19b26e):!_0x19b26e['isVisible']&&_0x1c1ea1['has'](_0x19b26e)&&_0x1c1ea1['remove'](_0x19b26e),_0x19b26e['view']['focusTracker']['remove'](_0x19b26e['view']['element']),_0x19b26e['view']['focusTracker']['add'](_0x19b26e['view']['element']);}this['listenTo'](_0x15dd1e,'add',(_0x3c2941,_0x279e87)=>{_0x279e87['isVisible']&&_0x1c1ea1['add'](_0x279e87),this['listenTo'](_0x279e87,'change:isVisible',_0xa34e18);}),this['listenTo'](_0x15dd1e,'remove',(_0x17d237,_0xed65e8)=>{_0x1c1ea1['has'](_0xed65e8)&&_0x1c1ea1['remove'](_0xed65e8),this['stopListening'](_0xed65e8,'change:isVisible',_0xa34e18);});}['_setupEnterAnnotationKeystroke'](){const _0x1bff58=_0x2846f4=>{_0x2846f4['on']('ready',()=>{_0x2846f4['keystrokes']['set'](_0x472d0e,(_0xcfa77c,_0x39c86a)=>{const _0x4dd22b=_0x5f37cd['first'](this['activeAnnotations']['values']());_0x4dd22b&&(_0x4dd22b['view']['focus'](),_0x39c86a());});});};this['context']instanceof _0x5f37cd['Editor']?_0x1bff58(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0xf87ef,_0x40b50b)=>{_0x1bff58(_0x40b50b);});}['_setupEscapeAnnotationHandling'](){const _0x1b6138=_0x369315=>{const _0x56fec8=_0x369315['source'],_0x203634=[];let _0x33047f;if(Array['isArray'](_0x56fec8['target'])){_0x33047f=_0x56fec8['target'][0x0],this['context']instanceof _0x5f37cd['Editor']?_0x203634['push'](this['context']):this['context']['editors']&&_0x203634['push'](...this['context']['editors']);for(const _0x41c7cf of _0x203634)for(const _0x342297 of _0x41c7cf['editing']['view']['domRoots']['values']())if(_0x342297['contains'](_0x33047f))return void _0x41c7cf['editing']['view']['focus']();_0x33047f['focus']();}};this['listenTo'](this['collection'],'add',(_0x5e724e,_0x25850b)=>{this['listenTo'](_0x25850b,'escape',_0x1b6138,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x1f3148,_0x4eed38)=>{this['stopListening'](_0x4eed38,'escape',_0x1b6138);});}}const _0xae52af=Symbol('noChannel'),_0x573ac5={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};class CommentsRepository extends _0x5f37cd['ContextPlugin']{['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[Annotations,_0x5f37cd['PendingActions'],_0x4e0926];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4a4c71){super(_0x4a4c71),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x573ae1=this['context']['config'];_0x573ae1['define']('comments.maxCommentsWhenCollapsed',0x2),_0x573ae1['define']('comments.maxThreadTotalWeight',0x1f4),_0x573ae1['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x573ae1['define']('comments.CommentThreadView',CommentThreadView),_0x573ae1['define']('comments.CommentView',CommentView),_0x573ae1['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x4225ad=this['context']['plugins']['get'](Annotations);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x14022f,_0x1413a5)=>this['_addCommentThread'](_0x1413a5)),this['on']('submitCommentThread',(_0x5b8791,_0xb2dbff)=>this['_submitCommentThread'](_0xb2dbff)),this['on']('resolveCommentThread',(_0x2c4d89,_0x51ecaf)=>this['_resolveCommentThread'](_0x51ecaf)),this['on']('resolveCommentThread',(_0x2de7f7,_0xcac16f)=>this['_updateActiveAnnotation'](_0xcac16f),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x335808,_0x14d76b)=>this['_reopenCommentThread'](_0x14d76b)),this['on']('reopenCommentThread',(_0x4a3d3a,_0x4cbf69)=>this['_updateActiveAnnotation'](_0x4cbf69),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x461944,_0x1d278a)=>this['_removeCommentThread'](_0x1d278a)),this['on']('updateCommentThread',(_0x541aa9,_0xcb9afc)=>this['_updateCommentThread'](_0xcb9afc)),this['on']('updateCommentThread',(_0x50fbb0,_0x5b7a77)=>this['_updateActiveAnnotation'](_0x5b7a77),{'priority':'lowest'}),this['on']('addComment',(_0x3ae36d,_0x43e999)=>this['_addComment'](_0x43e999)),this['on']('updateComment',(_0xe6c34c,_0x12fbca)=>this['_updateComment'](_0x12fbca)),this['on']('removeComment',(_0x21f27f,_0x39d023)=>this['_removeComment'](_0x39d023)),this['on']('addComment',(_0x17ada2,{threadId:_0x252c3a,isFromAdapter:_0x518cd1})=>{if(_0x518cd1)return;const _0x12c57c=this['getCommentThread'](_0x252c3a),_0x2d1987=_0x12c57c&&this['_threadToController']['get'](_0x12c57c);_0x2d1987&&_0x2d1987['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x4225ad,'change:activeAnnotations',(_0x47bd59,_0xa374ab,_0x285a6e)=>{const _0x1ba6fb=Array['from'](_0x285a6e)['map'](_0x38dbed=>this['_viewToController']['get'](_0x38dbed['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x1ba6fb?_0x1ba6fb['model']:null;});}set['adapter'](_0x5cd4ca){if(this['_adapter'])throw new _0x5f37cd['CKEditorError']('commentsrepository-adapter-already-set');this['_adapter']=_0x5cd4ca;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x9cfe9f=_0xae52af,threadId:_0x24fcac=_0x5f37cd['uid'](),comments:_0x353a07=[],unlinkedAt:_0x7fa902=null,resolvedAt:_0x45f395=null,resolvedBy:_0xe17a95=null,target:_0x3b75f6=null,context:_0x522c21=null,attributes:_0x32f6f5={},isResolvable:_0x4e1309=!0x0,isSubmitted:_0x3250e7=!0x1,isFromAdapter:_0x16f571=!0x1}={}){return this['fire'](_0x9bd6c9('addCommentThread',_0x9cfe9f),{'channelId':_0x9cfe9f,'threadId':_0x24fcac,'comments':_0x353a07,'unlinkedAt':_0x7fa902,'resolvedAt':_0x45f395,'resolvedBy':_0xe17a95,'target':_0x3b75f6,'context':_0x522c21,'attributes':_0x32f6f5,'isFromAdapter':_0x16f571,'isResolvable':_0x4e1309,'isSubmitted':_0x3250e7}),this['getCommentThread'](_0x24fcac);}['openNewCommentThread']({channelId:_0x1e2fa6=_0xae52af,threadId:_0x1cd94b=_0x5f37cd['uid'](),target:_0x22a852,context:_0x1f1fce=null,isResolvable:_0x4c374b=!0x0}){if(this['_readOnlyChannels']['has'](_0x1e2fa6)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x22a852)throw new _0x5f37cd['CKEditorError']('commentsrepository-missing-target');const _0x1bd29e=this['addCommentThread']({'channelId':_0x1e2fa6,'threadId':_0x1cd94b,'target':_0x22a852,'context':_0x1f1fce,'isResolvable':_0x4c374b});if(!_0x1bd29e)return null;const _0x42ea28=this['_threadToController']['get'](_0x1bd29e),_0x165fbc=_0x42ea28['view']['commentThreadInputView']['commentInputView'],_0x339e2e=this['context']['plugins']['get'](Annotations),_0x5190e4=_0x339e2e['getByInnerView'](_0x42ea28['view']);return _0x339e2e['activate'](_0x5190e4),_0x165fbc['once']('editorReady',()=>_0x165fbc['focus']()),_0x1bd29e;}['hasCommentThread'](_0x333f57){if('string'!=typeof _0x333f57)throw new _0x5f37cd['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x333f57);}['updateCommentThread']({channelId:_0x25ee14=_0xae52af,threadId:_0xd3dab8,context:_0xd7acf8,unlinkedAt:_0x254b0a,attributes:_0x1616f8,isFromAdapter:_0x279503=!0x1}){return this['fire'](_0x9bd6c9('updateCommentThread',_0x25ee14),{'channelId':_0x25ee14,'threadId':_0xd3dab8,'context':_0xd7acf8,'unlinkedAt':_0x254b0a,'attributes':_0x1616f8,'isFromAdapter':_0x279503}),this['getCommentThread'](_0xd3dab8);}['getCommentThread'](_0x20989e){if('string'!=typeof _0x20989e)throw new _0x5f37cd['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x20989e);}['fetchCommentThread']({channelId:_0x327b6e,threadId:_0x1e9576}={}){const _0x36f4e4=this['getCommentThread'](_0x1e9576);if(_0x36f4e4)return Promise['resolve'](_0x36f4e4);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new _0x5f37cd['CKEditorError']('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x327b6e,'threadId':_0x1e9576})['then'](_0x4547ae=>this['hasCommentThread'](_0x1e9576)?this['getCommentThread'](_0x1e9576):_0x4547ae?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x327b6e},_0x4547ae)):void 0x0)['catch'](_0x36cd77=>{throw console['error'](_0x36cd77),new _0x5f37cd['CKEditorError']('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x449a4d,skipNotAttached:_0x35b808=!0x1,skipEmpty:_0x18dd78=!0x1,toJSON:_0x56b358=!0x1}={}){const _0x2dfc94=[];for(const _0x28a8cc of this['_threads']['values']())_0x449a4d&&_0x28a8cc['channelId']!==_0x449a4d||_0x35b808&&!_0x28a8cc['isAttached']||_0x18dd78&&0x0===_0x28a8cc['length']||_0x2dfc94['push'](_0x28a8cc);return _0x56b358?_0x2dfc94['map'](_0x87c9d1=>_0x87c9d1['toJSON']()):_0x2dfc94;}['getAnnotationForCommentThread'](_0x32b36a){const _0x2553c6=this['_threadToController']['get'](_0x32b36a);if(!_0x2553c6)return null;return this['context']['plugins']['get'](Annotations)['getByInnerView'](_0x2553c6['view'])||null;}['getCommentThreadForAnnotation'](_0x7d6fa7){const _0x48e879=this['_viewToController']['get'](_0x7d6fa7['innerView']);return _0x48e879?_0x48e879['model']:null;}['setActiveCommentThread'](_0x28ef34){const _0x28dd52=this['context']['plugins']['get'](Annotations);if(!_0x28ef34)return void(this['activeCommentThread']&&_0x28dd52['deactivateAll']());const _0x2da7a4=this['getCommentThread'](_0x28ef34);if(!_0x2da7a4)throw new _0x5f37cd['CKEditorError']('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x28ef34});if(!this['_threadToController']['has'](_0x2da7a4))throw new _0x5f37cd['CKEditorError']('commentsrepository-active-not-attached',null,{'threadId':_0x28ef34});const _0x273558=_0x28dd52['getByInnerView'](this['_threadToController']['get'](_0x2da7a4)['view']);_0x28dd52['activate'](_0x273558);}['switchReadOnly'](_0x1c74b6,_0x1c42b2){_0x1c74b6?this['_readOnlyChannels']['add'](_0x1c42b2):this['_readOnlyChannels']['delete'](_0x1c42b2),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x1cf8d8){return this['_readOnlyChannels']['has'](_0x1cf8d8)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0xca5cc3,_0xcbebc0){return new CommentThreadController(_0xca5cc3,_0xcbebc0);}['setPermissions'](_0x29026f,_0x2cb920=_0xae52af){this['_permissions']['set'](_0x2cb920,_0x29026f),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0xd54c48=_0xae52af){return this['_permissions']['has'](_0xd54c48)?this['_permissions']['get'](_0xd54c48):_0x573ac5;}['_addCommentThread']({channelId:_0x1d4dbe,threadId:_0x31f6c6,comments:_0x5c3667,unlinkedAt:_0x2d3ab4,resolvedAt:_0x541af0,resolvedBy:_0x2aef85,target:_0x288989,context:_0x2b8fda,attributes:_0x2cd6b7,isFromAdapter:_0xcbd714,isResolvable:_0x22e88b,isSubmitted:_0x1353fb}){if('string'!=typeof _0x31f6c6)throw new _0x5f37cd['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x31f6c6});if(this['hasCommentThread'](_0x31f6c6))throw new _0x5f37cd['CKEditorError']('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x31f6c6});const _0x14cfc4=new CommentThread(this,{'channelId':_0x1d4dbe,'id':_0x31f6c6,'context':_0x2b8fda,'attributes':_0x2cd6b7,'unlinkedAt':_0x2d3ab4,'resolvedAt':_0x541af0,'resolvedBy':_0x2aef85?this['context']['plugins']['get'](_0x4e0926)['getUser'](_0x2aef85):null,'isResolvable':_0x22e88b,'isSubmitted':_0x1353fb||_0xcbd714});this['_threads']['set'](_0x31f6c6,_0x14cfc4);for(const _0x444570 of _0x5c3667)_0x14cfc4['_add'](this['_createNewComment']({'threadId':_0x31f6c6,..._0x444570}));return _0x288989&&_0x14cfc4['attachTo'](_0x288989),_0xcbd714||!_0x14cfc4['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x1d4dbe,'threadId':_0x31f6c6});}['_submitCommentThread']({channelId:_0xb9e22f,threadId:_0x5e75c4}){if(!this['hasCommentThread'](_0x5e75c4))throw new _0x5f37cd['CKEditorError']('commentsrepository-missing-comment-thread',this);const _0x14a9e3=this['getCommentThread'](_0x5e75c4);if(_0x14a9e3['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x245639,comments:_0x4711ab,resolvedAt:_0x17da77,resolvedBy:_0x468bae,context:_0x5cd3ac,attributes:_0xf51282}=_0x14a9e3,_0x5cf5cf=this['context']['plugins']['get']('PendingActions'),_0x1f1f73=_0x5cf5cf['add'](_0x13f69c(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0xb9e22f,'threadId':_0x245639,'comments':_0x4711ab['map'](_0x2ff831=>_0x2ff831['toJSON']()),'resolvedAt':_0x17da77,'resolvedBy':_0x468bae?_0x468bae['id']:_0x468bae,'context':_0x5cd3ac,'attributes':_0xf51282})['then'](({comments:_0x43b6c0})=>{_0x5cf5cf['remove'](_0x1f1f73);for(const _0x327796 of _0x43b6c0)this['_updateComment']({'channelId':_0xb9e22f,'threadId':_0x5e75c4,'commentId':_0x327796['commentId'],'createdAt':_0x327796['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x55b168=>{throw console['error'](_0x55b168),new _0x5f37cd['CKEditorError']('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x40edd4,target:_0x2de845}){const _0x542ed7=this['getCommentThread'](_0x40edd4);if(!_0x542ed7)throw new _0x5f37cd['CKEditorError']('commentsrepository-attach-missing-comment-thread',this);const _0x36528d=this['context']['plugins']['get']('PendingActions'),_0x29bf61=this['context']['plugins']['get'](Annotations),_0x195cb4=this['_createCommentThreadView'](_0x542ed7),_0x1d7def=new CommentThreadController(_0x542ed7,_0x195cb4);let _0x2178b3=null;_0x195cb4['on']('change:isDirty',(_0x228d91,_0x374f81,_0x36ebd2)=>{_0x36ebd2?_0x2178b3=_0x36528d['add'](_0x13f69c(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x2178b3&&(_0x36528d['remove'](_0x2178b3),_0x2178b3=null);}),this['_threadToController']['set'](_0x542ed7,_0x1d7def),this['_viewToController']['set'](_0x195cb4,_0x1d7def);const _0x39b2bd=new AnnotationView(this['context']['locale'],_0x195cb4);_0x39b2bd['bind']('length')['to'](_0x195cb4),_0x39b2bd['bind']('isDirty')['to'](_0x195cb4,'isDirty',_0x195cb4,'length',(_0x559344,_0x4d7ca3)=>_0x559344||!_0x4d7ca3),_0x39b2bd['bind']('isActive')['to'](_0x195cb4),_0x39b2bd['type']='comment';const _0x434967=new _0x33c856({'view':_0x39b2bd,'target':_0x2de845,'type':'comment','isVisible':!_0x542ed7['archivedAt']&&!!('function'==typeof _0x2de845?_0x2de845():_0x2de845)});return _0x195cb4['on']('escape',()=>{_0x434967['fire']('escape');}),this['_bindAnnotationToEditors'](_0x195cb4,_0x434967),_0x29bf61['add'](_0x434967),_0x434967;}['_bindAnnotationToEditors'](_0x541ca3,_0xde943d){this['listenTo'](_0x541ca3,'editorReady',(_0x2a4ee7,_0x5198c0)=>{const _0x7be1f0=_0x5198c0['ui']['view']['body']['bodyCollectionContainer'];_0xde943d['focusableElements']['add'](_0x7be1f0),this['context']instanceof _0x5f37cd['Editor']&&this['context']['ui']['focusTracker']['add'](_0x7be1f0);},{'priority':'highest'}),this['listenTo'](_0x541ca3,'editorDestroyed',(_0x2e332b,_0x558bf2)=>{const _0x144e6a=_0x558bf2['ui']['view']['body']['bodyCollectionContainer'];_0xde943d['focusableElements']['has'](_0x144e6a)&&_0xde943d['focusableElements']['remove'](_0x144e6a),this['context']instanceof _0x5f37cd['Editor']&&this['context']['ui']['focusTracker']['remove'](_0x144e6a);});}['_unbindEditors'](_0x1f3896){this['stopListening'](_0x1f3896,'editorReady'),this['stopListening'](_0x1f3896,'editorDestroyed');}['_createCommentThreadView'](_0x46cbfd){const _0x394140=this['context']['plugins']['get'](_0x4e0926),{config:_0x2385d2,locale:_0x33c068}=this['context'],_0x170c2a=ta(_0x2385d2['get']('locale'),_0x33c068);return new(0x0,(_0x2385d2['get']('comments'))['CommentThreadView'])(_0x33c068,_0x46cbfd,_0x394140['me'],{'editorConfig':{..._0x2385d2['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x2385d2['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x2385d2['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x2385d2['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x2385d2['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x170c2a,'CommentView':_0x2385d2['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x59ec96,channelId:_0x46bccd,resolvedAt:_0x3ed31e,resolvedBy:_0x5270ba,isFromAdapter:_0x326807}){if(!this['hasCommentThread'](_0x59ec96))throw new _0x5f37cd['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x59ec96});const _0x19ef3f=this['getCommentThread'](_0x59ec96);if(_0x19ef3f['isResolved'])throw new _0x5f37cd['CKEditorError']('commentsrepository-resolved-comment-thread',null,{'threadId':_0x59ec96});const _0x96767a=this['context']['plugins']['get'](_0x4e0926);if(_0x19ef3f['resolvedBy']=_0x96767a['getUser'](_0x5270ba),_0x19ef3f['resolvedAt']=_0x3ed31e,_0x326807||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x488045=this['context']['plugins']['get']('PendingActions'),_0x5d2d3e=_0x488045['add'](_0x13f69c(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x46bccd,'threadId':_0x59ec96})['then'](({resolvedAt:_0x43d62f,resolvedBy:_0x14eebb})=>{_0x488045['remove'](_0x5d2d3e),_0x19ef3f['resolvedBy']['id']!==_0x14eebb&&(_0x19ef3f['resolvedBy']=_0x96767a['getUser'](_0x14eebb)),_0x19ef3f['resolvedAt']=_0x43d62f;})['catch'](_0x2b3b68=>{throw console['error'](_0x2b3b68),new _0x5f37cd['CKEditorError']('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x29ed3b,channelId:_0x2afaa6,isFromAdapter:_0x63b3ad}){if(!this['hasCommentThread'](_0x29ed3b))throw new _0x5f37cd['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x29ed3b});const _0x3b22cd=this['getCommentThread'](_0x29ed3b);if(!_0x3b22cd['isResolved'])throw new _0x5f37cd['CKEditorError']('commentsrepository-reopen-comment-thread',null,{'threadId':_0x29ed3b});if(_0x3b22cd['resolvedBy']=null,_0x3b22cd['resolvedAt']=null,_0x63b3ad||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x17598b=this['context']['plugins']['get']('PendingActions'),_0x5db67b=_0x17598b['add'](_0x13f69c(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x2afaa6,'threadId':_0x29ed3b})['then'](()=>_0x17598b['remove'](_0x5db67b))['catch'](_0x1575cd=>{throw console['error'](_0x1575cd),new _0x5f37cd['CKEditorError']('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x4abbd6,isFromAdapter:_0x5d0f7b}){const _0x13d1ce=this['getCommentThread'](_0x4abbd6);if(!_0x13d1ce)throw new _0x5f37cd['CKEditorError']('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x4abbd6),this['_threads']['delete'](_0x4abbd6),!_0x13d1ce['isSubmitted']||_0x5d0f7b||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x13b089=this['context']['plugins']['get']('PendingActions'),{channelId:_0x29a62c}=_0x13d1ce,_0x12c3d8=_0x13b089['add'](_0x13f69c(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x29a62c,'threadId':_0x4abbd6})['then'](()=>_0x13b089['remove'](_0x12c3d8))['catch'](_0x13f9b1=>{throw console['error'](_0x13f9b1),new _0x5f37cd['CKEditorError']('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x1a90b3,unlinkedAt:_0x53038d,context:_0x912034,attributes:_0x4d098a,isFromAdapter:_0x1dddd5}){if('string'!=typeof _0x1a90b3)throw new _0x5f37cd['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x1a90b3});if(!this['hasCommentThread'](_0x1a90b3))throw new _0x5f37cd['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x1a90b3});const _0x30435c=this['getCommentThread'](_0x1a90b3);let _0x5a8ce0=!0x1;if(void 0x0!==_0x912034&&_0x30435c['context']!==_0x912034&&(_0x30435c['context']=_0x912034,_0x5a8ce0=!0x0),void 0x0!==_0x53038d&&_0x30435c['unlinkedAt']!==_0x53038d&&(_0x30435c['unlinkedAt']=_0x53038d,_0x5a8ce0=!0x0),_0x4d098a&&!pt(_0x4d098a,_0x30435c['attributes'])&&(_0x30435c['attributes']=_0x4d098a,_0x5a8ce0=!0x0),!_0x5a8ce0)return Promise['resolve']();if(!_0x30435c['isSubmitted']||_0x1dddd5||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x428568=this['context']['plugins']['get']('PendingActions'),{channelId:_0x2003f8}=_0x30435c,_0x670678=_0x428568['add'](_0x13f69c(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x2003f8,'threadId':_0x1a90b3,'context':_0x912034,'unlinkedAt':_0x53038d,'attributes':_0x4d098a})['then'](()=>_0x428568['remove'](_0x670678))['catch'](_0x1a9872=>{throw console['error'](_0x1a9872),new _0x5f37cd['CKEditorError']('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x4d5e01){const _0x27e1a9=this['context']['plugins']['get'](Annotations),_0x550a38=this['getCommentThread'](_0x4d5e01);if(_0x550a38['_isAttached']=!0x1,this['_threadToController']['has'](_0x550a38)){const _0xa5dcbf=this['_threadToController']['get'](_0x550a38),_0x4148a5=_0xa5dcbf['view'],_0x84189e=_0x27e1a9['getByInnerView'](_0x4148a5);this['_threadToController']['delete'](_0x550a38),this['_viewToController']['delete'](_0x4148a5),_0x84189e&&_0x27e1a9['remove'](_0x84189e),_0xa5dcbf['destroy'](),_0x4148a5['destroy']()['then'](()=>{this['_unbindEditors'](_0x4148a5);});}}['_updateActiveAnnotation']({threadId:_0x2c00e2,resolvedAt:_0x291f88,unlinkedAt:_0x561d7f}){const _0x2528ef=!!_0x291f88,_0x1555e1=this['context']['plugins']['get'](Annotations),_0x3b6af3=this['getCommentThread'](_0x2c00e2);if(this['_threadToController']['has'](_0x3b6af3)){const _0x135cf7=this['_threadToController']['get'](_0x3b6af3)['view'],_0x356f59=_0x1555e1['getByInnerView'](_0x135cf7);_0x356f59&&(_0x2528ef&&_0x1555e1['_removeActiveAnnotation'](_0x356f59),_0x561d7f?_0x356f59['isVisible']=!0x1:_0x356f59['refreshVisibility']());}}['_getExternalAuthor'](_0x5c7c61){const _0x523391=this['context']['plugins']['get'](_0x4e0926),_0x50359f=_0x16cf9f('external:'+_0x5c7c61),_0x29a903=_0x523391['getUser'](_0x50359f);return _0x29a903||_0x523391['addUser']({'id':_0x50359f,'name':_0x5c7c61});}['_createNewComment']({threadId:_0x516441,commentId:_0x5d4e51=_0x5f37cd['uid'](),content:_0x519fb6,authorId:_0x5a9e39,createdAt:_0x2e6615,attributes:_0x510086}){if('string'!=typeof _0x5d4e51)throw new _0x5f37cd['CKEditorError']('commentsrepository-invalid-commentid');if('string'!=typeof _0x5a9e39)throw new _0x5f37cd['CKEditorError']('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x519fb6||!_0x519fb6['trim']())throw new _0x5f37cd['CKEditorError']('commentsrepository-invalid-comment-content');const _0x512bb5=this['context']['plugins']['get'](_0x4e0926)['getUser'](_0x5a9e39);if(!_0x512bb5)throw new _0x5f37cd['CKEditorError']('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x5a9e39});let _0x25977d=null,_0xa26bb4=_0x2e6615;return _0x510086?.['@external']&&(_0x25977d=this['_getExternalAuthor'](_0x510086['@external']['authorName']),_0xa26bb4=new Date(_0x510086['@external']['createdAt'])),new _0x5e5a2c(this,{'threadId':_0x516441,'id':_0x5d4e51,'author':_0x25977d||_0x512bb5,'creator':_0x512bb5,'content':_0x519fb6,'createdAt':_0x2e6615,'authoredAt':_0xa26bb4,'attributes':_0x510086});}['_addComment'](_0x5588d3){let {threadId:_0x1544be,content:_0x3c97f9,attributes:_0x3a8ab9,isFromAdapter:_0x3be2bb}=_0x5588d3;const _0x4dfd8c=this['getCommentThread'](_0x5588d3['threadId']);if(!_0x4dfd8c)throw new _0x5f37cd['CKEditorError']('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x34585c=this['_createNewComment'](_0x5588d3),{id:_0xa39c54}=_0x34585c;if(_0x4dfd8c['_add'](_0x34585c),_0x3be2bb||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x4dfd8c['isSubmitted'])return Promise['resolve']();const _0x415b27=this['context']['plugins']['get']('PendingActions'),{channelId:_0x41869d}=_0x4dfd8c,_0xf42a99=_0x415b27['add'](_0x13f69c(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x3a8ab9||(_0x3a8ab9={}),this['adapter']['addComment']({'channelId':_0x41869d,'threadId':_0x1544be,'commentId':_0xa39c54,'content':_0x3c97f9,'attributes':_0x3a8ab9})['then'](_0x49196f=>{_0x415b27['remove'](_0xf42a99),_0x49196f&&this['_updateComment']({'channelId':_0x41869d,'threadId':_0x1544be,'commentId':_0xa39c54,'createdAt':_0x49196f['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x2c5943=>{throw console['error'](_0x2c5943),new _0x5f37cd['CKEditorError']('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x194a2d,commentId:_0x17aa68,content:_0x452ca7,createdAt:_0x102532,attributes:_0x20cb99,isFromAdapter:_0x1be71c}){if(void 0x0!==_0x452ca7&&('string'!=typeof _0x452ca7||!_0x452ca7['trim']()['length']))throw new _0x5f37cd['CKEditorError']('commentsrepository-update-comment-invalid-content');const _0x48224d=this['getCommentThread'](_0x194a2d),_0x4b5070=_0x48224d['getComment'](_0x17aa68);if(!_0x4b5070)throw new _0x5f37cd['CKEditorError']('commentsrepository-update-missing-comment',this);let _0x96fc79=!0x1;if(_0x452ca7&&_0x452ca7!==_0x4b5070['content']&&(_0x4b5070['isEditable']||_0x1be71c)&&(_0x4b5070['content']=_0x452ca7,_0x96fc79=!0x0),_0x102532&&_0x102532!==_0x4b5070['createdAt']&&(_0x4b5070['createdAt']=_0x102532,_0x4b5070['attributes']&&_0x4b5070['attributes']['@external']||(_0x4b5070['authoredAt']=_0x102532),_0x96fc79=!0x0),_0x20cb99&&!pt(_0x20cb99,_0x4b5070['attributes'])&&(_0x4b5070['attributes']=_0x20cb99,_0x96fc79=!0x0),!_0x96fc79)return Promise['resolve']();if(_0x48224d['fire']('commentUpdated'),_0x1be71c||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x4eb13d=this['context']['plugins']['get']('PendingActions'),{channelId:_0x1b55d9}=this['getCommentThread'](_0x4b5070['threadId']),_0x1353af=_0x4eb13d['add'](_0x13f69c(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x1b55d9,'threadId':_0x194a2d,'commentId':_0x17aa68,'content':_0x452ca7,'attributes':_0x20cb99})['then'](()=>_0x4eb13d['remove'](_0x1353af))['catch'](_0x2838e7=>{throw console['error'](_0x2838e7),new _0x5f37cd['CKEditorError']('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0xf85114,commentId:_0x368b8b,isFromAdapter:_0x3ec05d}){const _0x25e5da=this['getCommentThread'](_0xf85114),_0x5dbb54=_0x25e5da['getComment'](_0x368b8b);if(!_0x5dbb54)throw new _0x5f37cd['CKEditorError']('commentsrepository-remove-missing-comment',this);if(_0x25e5da['_remove'](_0x5dbb54),_0x3ec05d||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x166a94=this['context']['plugins']['get']('PendingActions'),{channelId:_0x4732a6}=_0x25e5da,_0x2cbe4b=_0x166a94['add'](_0x13f69c(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x4732a6,'threadId':_0xf85114,'commentId':_0x368b8b})['then'](()=>_0x166a94['remove'](_0x2cbe4b))['catch'](_0x38a0bb=>{throw console['error'](_0x38a0bb),new _0x5f37cd['CKEditorError']('commentsrepository-remove-comment-internal-error',this);});}}class CommentThread extends/* #__PURE__ -- @preserve */
_0x5f37cd['ObservableMixin'](){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x229ce2,_0x26539c){super();const _0x461406=_0x26539c['isResolvable'];this['channelId']=_0x26539c['channelId'],this['id']=_0x26539c['id'],this['comments']=new _0x5f37cd['Collection'](),this['_repository']=_0x229ce2,this['_isAttached']=!0x1,this['_isSubmitted']=_0x26539c['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x229ce2,'_permissions',_0x229ce2,'_readOnlyChannels',()=>_0x229ce2['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x229ce2,'_permissions',()=>_0x229ce2['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x229ce2,'_permissions',()=>{const _0x1ed96c=_0x229ce2['getPermissions'](this['channelId']);return _0x1ed96c['write']||_0x1ed96c['admin'];}),this['bind']('isResolvable')['to'](_0x229ce2,'_permissions',()=>_0x461406&&_0x229ce2['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x26539c['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x3d3bd0,_0x5c6c41)=>_0x3d3bd0?_0x5c6c41?_0x3d3bd0<_0x5c6c41?_0x3d3bd0:_0x5c6c41:_0x3d3bd0:_0x5c6c41),this['set']('unlinkedAt',_0x26539c['unlinkedAt']||null),this['set']('resolvedAt',_0x26539c['resolvedAt']||null),this['set']('resolvedBy',_0x26539c['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x4981b3=>!!_0x4981b3),this['set']('attributes',_0x26539c['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x5cd5f6,_0x2a6799)=>_0x5cd5f6+_0x2a6799['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x35ef0d,id:_0x3187ea}=this;this['_repository']['fire'](_0x9bd6c9('submitCommentThread',_0x35ef0d),{'channelId':_0x35ef0d,'threadId':_0x3187ea});}['setUnlinkedAt'](_0x4a495f){this['_update']({'unlinkedAt':_0x4a495f});}['resolve']({resolvedAt:_0x2541de=new Date(),resolvedBy:_0xd2a7ad='',isFromAdapter:_0x710c7b=!0x1}={}){const _0x23c86f=this['_repository']['context']['plugins']['get'](_0x4e0926)['me'],{channelId:_0x551ccf,id:_0x1edfa6}=this;this['_repository']['fire'](_0x9bd6c9('resolveCommentThread',_0x551ccf),{'channelId':_0x551ccf,'threadId':_0x1edfa6,'resolvedAt':_0x2541de,'resolvedBy':_0xd2a7ad||_0x23c86f['id'],'isFromAdapter':_0x710c7b});}['reopen']({isFromAdapter:_0x3a41d3=!0x1}={}){const {channelId:_0x1565f4,id:_0x13f060}=this;this['_repository']['fire'](_0x9bd6c9('reopenCommentThread',_0x1565f4),{'channelId':_0x1565f4,'threadId':_0x13f060,'isFromAdapter':_0x3a41d3});}['setContext'](_0x20ac4a){this['context']||this['_update']({'context':_0x20ac4a});}['setAttribute'](_0x3bdc79,_0x1c58d8){const _0x23428e=_0x30292a(this['attributes']);ct(_0x23428e,_0x3bdc79,_0x1c58d8),this['_update']({'attributes':_0x23428e});}['removeAttribute'](_0x43642b){const _0x158603=_0x30292a(this['attributes']);nt(_0x158603,_0x43642b),this['_update']({'attributes':_0x158603});}['remove']({isFromAdapter:_0x5d821f=!0x1}={}){const {channelId:_0xb906f,id:_0x290043}=this;this['_repository']['fire'](_0x9bd6c9('removeCommentThread',_0xb906f),{'channelId':_0xb906f,'threadId':_0x290043,'isFromAdapter':_0x5d821f});}['attachTo'](_0x758c9f){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x758c9f});}['addComment'](_0x242d16){const {channelId:_0x3fc749,id:_0xd0924b}=this;this['_repository']['fire'](_0x9bd6c9('addComment',_0x3fc749,_0xd0924b),Object['assign']({'channelId':_0x3fc749,'threadId':_0xd0924b},_0x242d16));}['getComment'](_0x1c9956){if('string'!=typeof _0x1c9956)throw new _0x5f37cd['CKEditorError']('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x1c9956});return this['comments']['get'](_0x1c9956);}['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'](_0x59a7ee=>_0x59a7ee['toJSON']()),'attributes':this['attributes']};}['_add'](_0x59a468){return this['listenTo'](_0x59a468,'change:authoredAt',()=>{const _0x506390=this['_findOptimalIndex'](_0x59a468),_0x40987e=this['comments'];_0x506390-0x1!=_0x40987e['getIndex'](_0x59a468)&&_0x506390+0x1!=_0x40987e['getIndex'](_0x59a468)&&(this['_remove'](_0x59a468),this['_add'](_0x59a468));}),this['comments']['add'](_0x59a468,this['_findOptimalIndex'](_0x59a468));}['_update'](_0x48ba1f){const {channelId:_0x3a8b6a,id:_0x587604}=this;this['_repository']['fire'](_0x9bd6c9('updateCommentThread',_0x3a8b6a),{..._0x48ba1f,'channelId':_0x3a8b6a,'threadId':_0x587604});}['_remove'](_0x39ffb6){return this['stopListening'](_0x39ffb6),_0x39ffb6['destroy'](),this['comments']['remove'](_0x39ffb6);}['_findOptimalIndex'](_0x13fdf3){const _0x26c834=this['comments']['find'](_0x27d5ff=>new Date(_0x27d5ff['authoredAt'])['getTime']()>new Date(_0x13fdf3['authoredAt'])['getTime']());return _0x26c834?this['comments']['getIndex'](_0x26c834):this['length'];}}let _0x5e5a2c=class Comment extends/* #__PURE__ -- @preserve */
_0x5f37cd['ObservableMixin'](){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x132307,_0x35734e){super();const _0x53aae2=_0x132307['context']['plugins']['get'](_0x4e0926)['me'],_0x239b10=_0x132307['getCommentThread'](_0x35734e['threadId']),_0x3573b8=0x0===_0x239b10['comments']['length'],_0x3d48d0=_0x53aae2===_0x35734e['author'];this['id']=_0x35734e['id'],this['threadId']=_0x35734e['threadId'],this['author']=_0x35734e['author'],this['creator']=_0x35734e['creator'],this['isExternal']=Boolean(_0x35734e['attributes']&&_0x35734e['attributes']['@external']),this['set']('content',_0x35734e['content']),this['createdAt']=_0x35734e['createdAt']||new Date(),this['set']('authoredAt',_0x35734e['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x239b10,'resolvedAt'),this['set']('attributes',_0x35734e['attributes']||{}),this['bind']('isEditable')['to'](_0x132307,'_permissions',()=>{const _0xcba4b4=_0x132307['getPermissions'](_0x239b10['channelId'])['write'],_0x4196c1=_0x132307['getPermissions'](_0x239b10['channelId'])['modifyAll'];return _0x3d48d0&&_0xcba4b4||!_0x3d48d0&&_0x4196c1;}),this['bind']('isRemovable')['to'](_0x239b10,'isRemovable',_0x132307,'_permissions',_0x1f845c=>{const _0x4d3805=_0x132307['getPermissions'](_0x239b10['channelId'])['write'],_0x34b86e=_0x132307['getPermissions'](_0x239b10['channelId'])['modifyAll'];return _0x3d48d0&&_0x4d3805||_0x1f845c&&_0x3573b8||!_0x3d48d0&&_0x34b86e&&!_0x3573b8;}),this['bind']('isReadOnly')['to'](_0x239b10,'isReadOnly'),this['_repository']=_0x132307;}get['weight'](){return Math['max'](function(_0x28e17a){const _0x1a6611=document['createElement']('div');return _0x1a6611['innerHTML']=_0x28e17a,_0x1a6611['textContent']['length'];}(this['content']),0xc8);}['update'](_0xa8989d){const {threadId:_0x50abea,id:_0x53507b}=this;if(!this['_repository']['hasCommentThread'](_0x50abea))throw new _0x5f37cd['CKEditorError']('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x57314}=this['_repository']['getCommentThread'](_0x50abea);this['_repository']['fire'](_0x9bd6c9('updateComment',_0x57314,_0x50abea),{'channelId':_0x57314,'threadId':_0x50abea,'commentId':_0x53507b,..._0xa8989d});}['setAttribute'](_0x17df57,_0x49f06b){const _0x5b986c=_0x30292a(this['attributes']);ct(_0x5b986c,_0x17df57,_0x49f06b),this['update']({'attributes':_0x5b986c});}['removeAttribute'](_0x4afee9){const _0x42cac7=_0x30292a(this['attributes']);nt(_0x42cac7,_0x4afee9),this['update']({'attributes':_0x42cac7});}['remove'](_0x1f981a={}){if(!_0x1f981a['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x5e6eee,id:_0x2e542c}=this;if(!this['_repository']['hasCommentThread'](_0x5e6eee))throw new _0x5f37cd['CKEditorError']('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x4e5901}=this['_repository']['getCommentThread'](_0x5e6eee);this['_repository']['fire'](_0x9bd6c9('removeComment',_0x4e5901,_0x5e6eee),{'channelId':_0x4e5901,'threadId':_0x5e6eee,'commentId':_0x2e542c,..._0x1f981a});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}};function _0x9bd6c9(_0x5f3477,..._0x2236ca){for(const _0x31f202 of _0x2236ca)void 0x0!==_0x31f202&&(_0x5f3477+=':'+String(_0x31f202));return _0x5f3477;}class AddCommentThreadCommand extends _0x5f37cd['Command']{constructor(_0x27acda){super(_0x27acda),this['set']('hasContent',!0x1);}['refresh'](){const _0x2adb1c=this['editor']['model']['document']['selection'];this['isEnabled']=!0x0,this['hasContent']=!0x1;for(const _0x36b45b of _0x2adb1c['getRanges']())if(this['_hasContent'](_0x36b45b))return void(this['hasContent']=!0x0);}['execute']({threadId:_0xd3dc61=_0x5f37cd['uid'](),ranges:_0x391b6b,comment:_0x38d59a}={}){const _0x1d5d14=this['editor']['model'],_0x4d5c65=_0x391b6b??Array['from'](_0x1d5d14['document']['selection']['getRanges']()),_0x17d4cc=[];for(const _0x46a5b1 of _0x4d5c65)this['_hasContent'](_0x46a5b1)&&_0x17d4cc['push'](this['_trimToContent'](_0x46a5b1));if(!_0x17d4cc['length'])throw new _0x5f37cd['CKEditorError']('addcommentthreadcommand-incorrect-ranges',null);_0x38d59a&&this['_createCommentThread'](_0xd3dc61,_0x38d59a),this['_createMarkersFromRanges'](_0xd3dc61,_0x17d4cc,!!_0x38d59a);}['_createMarkersFromRanges'](_0x553880,_0x408563,_0x255507){this['editor']['model']['change'](_0x4ba132=>{for(const _0x5a16ae of _0x408563){const _0xc7406e=_0x5f37cd['uid']()['substr'](0x1,0x5),_0x1863cb='comment:'+_0x553880+':'+_0xc7406e;_0x4ba132['addMarker'](_0x1863cb,{'range':_0x5a16ae,'usingOperation':_0x255507,'affectsData':_0x255507});}});}['_createCommentThread'](_0x4c50b0,_0x120d90){const _0x22162d=this['editor']['plugins']['get']('CommentsRepository'),_0xf339ed=this['editor']['config']['get']('collaboration.channelId'),_0x10320=this['editor']['plugins']['get']('Users')['me'];if(!_0x10320)throw new _0x5f37cd['CKEditorError']('addcommentthreadcommand-user-not-found',null);_0x22162d['addCommentThread']({'threadId':_0x4c50b0,'channelId':_0xf339ed,'comments':[{'authorId':_0x10320['id'],'content':_0x120d90,'createdAt':new Date(),'attributes':{}}]});}['_hasContent'](_0x4de82c){for(const _0x24064d of _0x4de82c['getItems']())if(this['_itemIsContent'](_0x24064d))return!0x0;return!0x1;}['_itemIsContent'](_0x3aa1fa){return _0x3aa1fa['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x3aa1fa)&&!_0x3aa1fa['is']('element','tableCell');}['_trimToContent'](_0x25787c){const _0x38a3ac=_0x2400bd=>!this['_itemIsContent'](_0x2400bd['item']),_0x304523=_0x25787c['start']['getLastMatchingPosition'](_0x38a3ac),_0x221eee=_0x25787c['end']['getLastMatchingPosition'](_0x38a3ac,{'direction':'backward'});return this['editor']['model']['createRange'](_0x304523,_0x221eee);}}class EditorAnnotations extends _0x5f37cd['Plugin']{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'EditorAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4db526){super(_0x4db526),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x5b93fa=this['editor'],_0x3e9017=_0x5b93fa['model']['document']['selection'],_0x3bddd8=ht(()=>this['refreshSelectedViews'](),0xa);_0x3e9017['on']('change:range',(_0x1913f3,_0x43df17)=>{_0x43df17['directChange']&&(_0x3bddd8['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x5b93fa['editing']['view']['document'],'change:isFocused',(_0x41072b,_0x28cc2e,_0x971ddc)=>{_0x971ddc&&_0x3bddd8();}),this['listenTo'](_0x5b93fa['ui']['focusTracker'],'change:isFocused',(_0x9d7295,_0x346a30,_0x208493)=>{_0x208493||this['fire']('blur',{'isAnnotationTracked':_0x481917=>this['_editorAnnotationsData']['has'](_0x481917['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x1ff374){if(this['_editorAnnotations']['has'](_0x1ff374['view']))return;this['_editorAnnotations']['add'](_0x1ff374['view']),this['editor']['ui']['focusTracker']['add'](_0x1ff374['view']['element']);const _0x4df8d8=this['editor']['plugins']['get'](Annotations);this['listenTo'](_0x4df8d8['collection'],'remove',(_0x15d71a,_0x1ff0bc)=>{this['editor']['ui']['focusTracker']['remove'](_0x1ff0bc['view']['element']),this['_editorAnnotations']['delete'](_0x1ff0bc['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x267800){if('function'!=typeof _0x267800)throw new _0x5f37cd['CKEditorError']('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x267800);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x4eb362,annotations:_0x38c02d}){const _0x4254f4=[],_0x1b45ba=this['editor']['model']['document']['selection'],_0xc0356=Array['from'](_0x1b45ba['getRanges']());for(const [_0x23fd88,_0x5c88f3]of this['_editorAnnotationsData']){const _0x59e66b=_0x4791c6(_0x5c88f3),_0x198795=_0x38c02d['getByInnerView'](_0x23fd88);_0x59e66b&&_0x198795&&_0x4254f4['push']({'annotation':_0x198795,'range':_0x59e66b});}function _0x4791c6(_0x4a57ba){for(const _0x501057 of _0x4a57ba)for(const _0x3f48a8 of _0xc0356)if(_0x501057['containsRange'](_0x3f48a8,!_0x1b45ba['isCollapsed']))return _0x501057;return null;}return _0x4254f4['sort']((_0x461253,_0x266226)=>{const _0x13e5e0=_0x461253['range'],_0x11f23d=_0x266226['range'];if(!_0x13e5e0['isEqual'](_0x11f23d)){if(_0x13e5e0['containsRange'](_0x11f23d,!0x0))return 0x1;if(_0x11f23d['containsRange'](_0x13e5e0,!0x0))return-0x1;}return _0x461253['annotation']==_0x4eb362?-0x1:_0x266226['annotation']==_0x4eb362?0x1:0x0;})['map'](_0x50a83e=>_0x50a83e['annotation']);}get['_editorAnnotationsData'](){const _0x59beb6=new Map();for(const _0x214c64 of Array['from'](this['_dataCollectors']))for(const [_0x21102d,_0x186956]of _0x214c64())_0x59beb6['set'](_0x21102d,_0x186956);return _0x59beb6;}}class CommentsRestrictedEditingMode extends _0x5f37cd['Plugin']{['afterInit'](){const _0x3b61a0=this['editor'];if(!_0x3b61a0['plugins']['has']('RestrictedEditingModeEditing'))return;_0x3b61a0['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class CommentsImportWord extends _0x5f37cd['Plugin']{constructor(_0x6cb8c3){super(_0x6cb8c3),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x389313=this['editor'],_0x13d750=_0x389313['commands']['get']('importWord'),_0x186f1e=_0x389313['plugins']['get'](_0x4e0926);_0x13d750&&(_0x13d750['on']('execute',(_0x574bc5,[,_0xdd4f49])=>{_0xdd4f49['collaboration_features']={'comments':!0x0,'user_id':_0x186f1e['me']['id']};},{'priority':_0x5f37cd['priorities']['high']+0xa}),this['listenTo'](_0x13d750,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0xb26f11,_0x59220b){const {comment_threads:_0x1fe2b8}=_0x59220b;_0x1fe2b8&&_0x1fe2b8['forEach'](({thread_id:_0x4c4971,comments:_0x3fc0e7,is_resolved:_0x2de26e})=>{const _0x220623=new Date(),_0x5e99b5=_0x3fc0e7['map'](({author:_0x44d17f,content:_0xb5b0bb,created_at:_0x496826})=>({'content':_0xb5b0bb,'authorId':this['editor']['plugins']['get'](_0x4e0926)['me']['id'],'createdAt':_0x220623,'attributes':{'@external':{'authorName':_0x44d17f,'createdAt':_0x496826?new Date(_0x496826):new Date(),'source':'importWord'}}})),_0x5dbd87=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](CommentsRepository)['addCommentThread']({'channelId':_0x5dbd87,'threadId':_0x4c4971,'comments':_0x5e99b5,'resolvedAt':_0x2de26e?_0x220623:null});});}}class CommentsClipboard extends _0x5f37cd['Plugin']{constructor(_0x50c1a2){super(_0x50c1a2),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[_0x5f37cd['ClipboardMarkersUtils'],_0x5f37cd['ClipboardPipeline']];}['afterInit'](){const _0x1ee35c=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x1ee35c,'contentInsertion',(_0x53430a,_0x24fda2)=>this['_removeMarkersWithoutThreads'](_0x24fda2['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x47fc96){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x47fc96;const _0x5ebd77=this['editor']['plugins']['get']('CommentsRepository');for(const _0xc0e758 of _0x47fc96['keys']()){const [_0x22e8d0,_0x532cc9]=_0xc0e758['split'](':');'comment'!=_0x22e8d0||_0x5ebd77['hasCommentThread'](_0x532cc9)||_0x47fc96['delete'](_0xc0e758);}return _0x47fc96;}['_registerMarkerInClipboardPipeline'](){const _0x129d42=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x9d8445=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x9d8445&&_0x129d42['_registerMarkerToCopy']('comment',_0x9d8445);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x1e5e52){switch(_0x1e5e52){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}}function _0x51f7d0(_0x104a3f){const _0x326735=_0x104a3f['split'](':');return{'group':_0x326735[0x0],'id':_0x326735[0x1],'part':_0x326735[0x2]};}class ShowCommentHighlights extends _0x5f37cd['Plugin']{['init'](){this['overrideMarkerConverters'](),this['overrideHorizontalRuleConverter'](),this['overrideImageInlineConverter'](),this['overrideMediaEmbedConverter']();}['overrideMarkerConverters'](){this['editor']['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'comment','view':(_0x2374fa,_0x3ed488)=>{if(!_0x3ed488['options']['showCommentHighlights'])return null;if(_0x3ed488['options']['ignoreResolvedComments']){const {id:_0x32e46f}=_0x51f7d0(_0x2374fa['markerName']),_0x4d85b0=this['editor']['plugins']['get'](CommentsRepository);if(_0x4d85b0['getCommentThread'](_0x32e46f)?.['isResolved']&&_0x2374fa['item'])return _0x3ed488['consumable']['consume'](_0x2374fa['item'],'addMarker:'+_0x2374fa['markerName']),_0x3ed488['consumable']['consume'](_0x2374fa['item'],'removeMarker:'+_0x2374fa['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x1aefaf=>{_0x1aefaf['on']('addMarker:comment',(_0x1d88b3,_0xb1088c,_0x29b6fd)=>{if(!_0x29b6fd['options']['showCommentHighlights'])return;const _0x11e4e8=_0xb1088c['item'];if(!_0x11e4e8)return;const _0x2650ca=_0x29b6fd['mapper']['toViewElement'](_0x11e4e8);this['editor']['model']['schema']['isObject'](_0x11e4e8)&&_0x2650ca&&!_0x2650ca['getCustomProperty']('widget')&&_0x2650ca['is']('containerElement')&&_0x5f37cd['toWidget'](_0x2650ca,_0x29b6fd['writer']);},{'priority':'high'});});}['overrideHorizontalRuleConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x3c928a,{writer:_0x3736c3,options:_0x1c09cb})=>{if(!_0x1c09cb['showCommentHighlights'])return null;const _0x43efcb=_0x3736c3['createContainerElement']('div'),_0x13f4fa=_0x3736c3['createEmptyElement']('hr');return _0x3736c3['addClass']('ck-horizontal-line',_0x43efcb),_0x3736c3['insert'](_0x3736c3['createPositionAt'](_0x43efcb,0x0),_0x13f4fa),_0x43efcb;},'converterPriority':'high'});}['overrideImageInlineConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0x3f4e73,{writer:_0x12e9be,options:_0x4cef49})=>{if(!_0x4cef49['showCommentHighlights'])return null;const _0x35bf07=_0x12e9be['createContainerElement']('span'),_0x34ff34=_0x12e9be['createEmptyElement']('img');return _0x12e9be['addClass']('image-inline',_0x35bf07),_0x12e9be['insert'](_0x12e9be['createPositionAt'](_0x35bf07,0x0),_0x34ff34),_0x35bf07;},'converterPriority':'high'});}['overrideMediaEmbedConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x4b5577,{writer:_0x70a65f,options:_0x3086df})=>{if(_0x3086df['showCommentHighlights'])return _0x70a65f['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0x4a27d1,_0x42b678,_0x488f30)=>{_0x488f30['options']['showCommentHighlights']&&_0x4a27d1['stop']();},{'priority':'high'});}}class CommentsEditing extends _0x5f37cd['Plugin']{static get['requires'](){return[CommentsRepository,EditorAnnotations,_0x4e0926,CommentsRestrictedEditingMode,CommentsImportWord,CommentsClipboard,ShowCommentHighlights];}static get['pluginName'](){return'CommentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x332eed){super(_0x332eed),this['set']('isThreadsLoadingPaused',!0x0),_0x332eed['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x3dbe77,_0x4e2bf7,_0x1a003f,_0x5518b1)=>{const _0x4d3d8e=_0x332eed['plugins']['get'](CommentsRepository),_0x39ccb7=_0x1a003f?_0x51f7d0(_0x1a003f)['id']:null;_0x332eed['model']['change'](()=>{if(_0x39ccb7){const _0x423961=this['getAllMarkersForId'](_0x39ccb7);for(const _0x5e9a65 of _0x423961)_0x332eed['editing']['reconvertMarker'](_0x5e9a65);}if(_0x5518b1){const {id:_0x30019a}=_0x51f7d0(_0x5518b1),_0x20f353=_0x4d3d8e['getCommentThread'](_0x30019a);if(_0x20f353&&_0x20f353['unlinkedAt'])return;if(_0x20f353&&!_0x20f353['isAttached'])return;const _0x45ff2e=this['getAllMarkersForId'](_0x30019a);for(const _0x5dd240 of _0x45ff2e)_0x332eed['editing']['reconvertMarker'](_0x5dd240);}}),_0x39ccb7&&this['scrollToThreadMarker'](_0x39ccb7);}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0xe458c0=this['editor'],_0x5ef188=_0xe458c0['plugins']['get'](CommentsRepository),_0x32068c=_0xe458c0['config']['get']('collaboration.channelId'),_0x46ea2a=_0x5ef188['getCommentThreads']()['filter'](_0x24f4b1=>_0x24f4b1['channelId']!==_0x32068c);_0xe458c0['commands']['add']('addCommentThread',new AddCommentThreadCommand(_0xe458c0)),this['listenTo'](_0xe458c0,'change:isReadOnly',(_0x12432e,_0xc39964,_0x550276)=>{_0x5ef188['switchReadOnly'](_0x550276,_0xe458c0['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x5ef188,_0x3dc82d('addCommentThread',_0x32068c),(_0x21ad30,{threadId:_0x5eb031})=>{const _0x178554=this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x5eb031);_0x178554?.['unlinkedAt']&&this['_attachArchivedThread'](_0x5eb031);}),this['listenTo'](_0x5ef188,_0x3dc82d('removeCommentThread',_0x32068c),(_0x189575,{threadId:_0x55ebd6})=>{_0xe458c0['model']['enqueueChange']({'isUndoable':!0x1},_0x41da3a=>{const _0x3aa109=this['getAllMarkersForId'](_0x55ebd6);for(const _0x315f1c of _0x3aa109)_0x41da3a['removeMarker'](_0x315f1c);});}),this['listenTo'](_0x5ef188,_0x3dc82d('resolveCommentThread',_0x32068c),(_0x3c52f2,{threadId:_0x2e9925})=>{this['_reconvertMarkers'](_0x2e9925);const _0x22be8e=this['editor']['plugins']['get'](Annotations);(this['editor']['editing']['view']['hasDomSelection']||_0x22be8e['collection']['isFocused'])&&(this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x2e9925)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x5ef188,_0x3dc82d('reopenCommentThread',_0x32068c),(_0x48a898,{threadId:_0x6ac62c})=>{this['_reconvertMarkers'](_0x6ac62c);},{'priority':'low'}),this['listenTo'](_0x5ef188,_0x3dc82d('addComment',_0x32068c),(_0x1dff8d,{threadId:_0x861149,isFromAdapter:_0x16793b})=>{const _0x1cd67e=this['getAllMarkersForId'](_0x861149);if(_0x16793b||0x0==_0x1cd67e['length']||!_0x5ef188['hasCommentThread'](_0x861149))return;0x1===_0x5ef188['getCommentThread'](_0x861149)['length']&&_0xe458c0['model']['enqueueChange']({'isUndoable':!0x1},_0x23cb3a=>{for(const _0x59a8fa of _0x1cd67e)_0x23cb3a['updateMarker'](_0x59a8fa,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0x46ea2a);}['afterInit'](){!async function(_0x5b741b){const _0x521dc7=_0x403885([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]),_0xcb6f98=0x73460ab3,_0x57e09b=0x73418163^_0xcb6f98,_0x3de3a5=window[_0x403885([0x44,0x61,0x74,0x65])][_0x403885([0x6e,0x6f,0x77])](),_0x533b1b=_0x5b741b[_0x403885([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a0944=new window[(_0x403885([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x584dbd=>{_0x533b1b[_0x403885([0x6f,0x6e,0x63,0x65])](_0x403885([0x72,0x65,0x61,0x64,0x79]),_0x584dbd);}),_0x5dba30={[_0x403885([0x6b,0x74,0x79])]:_0x403885([0x45,0x43]),[_0x403885([0x75,0x73,0x65])]:_0x403885([0x73,0x69,0x67]),[_0x403885([0x63,0x72,0x76])]:_0x403885([0x50,0x2d,0x32,0x35,0x36]),[_0x403885([0x78])]:_0x403885([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]),[_0x403885([0x79])]:_0x403885([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]),[_0x403885([0x61,0x6c,0x67])]:_0x403885([0x45,0x53,0x32,0x35,0x36])},_0x69e479=_0x533b1b[_0x403885([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x403885([0x67,0x65,0x74])](_0x403885([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x537020(){let _0x1433fa,_0x1b83b8=null,_0x1b536d=null;try{if(_0x69e479==_0x403885([0x47,0x50,0x4c]))return _0x403885([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1433fa=_0x1f0629(),!_0x1433fa)return _0x403885([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1433fa[_0x403885([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b536d=_0xf3835(_0x1433fa[_0x403885([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1433fa[_0x403885([0x6a,0x74,0x69])])),await _0x253461()?_0x35fe45()?_0x46da8d()?_0x403885([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xd20d15()?(_0x1433fa[_0x403885([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x403885([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b83b8=_0x29af98(_0x403885([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc46990()):_0x403885([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x403885([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x403885([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x403885([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x46da8d(){const _0x535bbc=[_0x403885([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x403885([0x74,0x72,0x69,0x61,0x6c])][_0x403885([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1433fa[_0x403885([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3de3a5/0x3e8:0xe10*_0x57e09b;return _0x1433fa[_0x403885([0x65,0x78,0x70])]<_0x535bbc;}function _0x35fe45(){const _0x81c549=_0x1433fa[_0x403885([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x81c549)return!0x1;if(_0x81c549[_0x403885([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x403885([0x2a])))return!0x0;if(_0x81c549[_0x403885([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x403885([0x43,0x4d,0x54])))return!0x0;if(_0x81c549[_0x403885([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x403885([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x31f03f())return!0x0;if(_0x81c549[_0x403885([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x403885([0x52,0x43,0x4d,0x54]))){if(_0x503b74())return!0x0;if(_0x4bff0b()||_0x63d27b())return!0x0;}return!0x1;}function _0xd20d15(){const _0x3cb569=_0x1433fa[_0x403885([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3cb569||0x0==_0x3cb569[_0x403885([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x44b4ba}=new URL(window[_0x403885([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3cb569[_0x403885([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44b4ba))return!0x0;const _0xd24c29=_0x44b4ba[_0x403885([0x73,0x70,0x6c,0x69,0x74])](_0x403885([0x2e]));return _0x3cb569[_0x403885([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x227b08=>_0x227b08[_0x403885([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x403885([0x2a])))[_0x403885([0x6d,0x61,0x70])](_0x487e44=>_0x487e44[_0x403885([0x73,0x70,0x6c,0x69,0x74])](_0x403885([0x2e])))[_0x403885([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x179a01=>_0x179a01[_0x403885([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xd24c29[_0x403885([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x403885([0x6d,0x61,0x70])](_0x298fee=>Array(_0xd24c29[_0x403885([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x298fee[_0x403885([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x403885([0x66,0x69,0x6c,0x6c])](_0x298fee[0x0]===_0x403885([0x2a])?_0x403885([0x2a]):'')[_0x403885([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x298fee))[_0x403885([0x73,0x6f,0x6d,0x65])](_0xda7b64=>_0xd24c29[_0x403885([0x65,0x76,0x65,0x72,0x79])]((_0x3b46c1,_0x514b91)=>_0xda7b64[_0x514b91]===_0x3b46c1||_0xda7b64[_0x514b91]===_0x403885([0x2a])));}function _0xc46990(){return _0x1b83b8&&_0x1b536d?new window[(_0x403885([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b4c2a,_0x3890bd)=>{_0x1b83b8[_0x403885([0x74,0x68,0x65,0x6e])](_0x4b4c2a,_0x3890bd),_0x1b536d[_0x403885([0x74,0x68,0x65,0x6e])](_0x388944=>{_0x388944!=_0x403885([0x56,0x61,0x6c,0x69,0x64])&&_0x4b4c2a(_0x388944);},_0x3890bd);}):_0x1b83b8||_0x1b536d||_0x403885([0x56,0x61,0x6c,0x69,0x64]);}}function _0xf3835(_0x2cb4d7,_0x1410b2){return new window[(_0x403885([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43e4a8=>{if(_0x24ae63())return _0x43e4a8(_0x403885([0x56,0x61,0x6c,0x69,0x64]));_0x3b5cb5(),_0x533b1b[_0x403885([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x403885([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x156ea7=!0x1;const _0x3c0361=_0x5f37cd['uid']();function _0xd86959(_0x4d6b48){return!!_0x4d6b48&&(typeof _0x4d6b48===_0x403885([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4d6b48===_0x403885([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4d6b48[_0x403885([0x74,0x68,0x65,0x6e])]===_0x403885([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4d6b48[_0x403885([0x63,0x61,0x74,0x63,0x68])]===_0x403885([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d66f3(_0x2a1b24){_0x5013ed(_0x2a1b24)[_0x403885([0x74,0x68,0x65,0x6e])](_0x5a8177=>{if(!_0x5a8177||_0x5a8177[_0x403885([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x403885([0x6f,0x6b]))return _0x403885([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x156b3c(_0x8edf11(_0x3c0361+_0x1410b2))!=_0x5a8177[_0x403885([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x403885([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x403885([0x56,0x61,0x6c,0x69,0x64]);})[_0x403885([0x74,0x68,0x65,0x6e])](_0x187d63=>(_0x39637e(),_0x187d63),()=>{const _0x25cbe5=_0x50ef36();return null==_0x25cbe5?(_0x39637e(),_0x403885([0x56,0x61,0x6c,0x69,0x64])):_0x403885(_0x3de3a5-_0x25cbe5>(0x574a8eb3^_0xcb6f98)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x403885([0x74,0x68,0x65,0x6e])](_0x43e4a8)[_0x403885([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43e4a8(_0x403885([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x232924=0x7370e433^_0xcb6f98;function _0x39637e(){const _0x26f52e=_0x403885([0x6c,0x6c,0x63,0x74,0x2d])+_0x156b3c(_0x8edf11(_0x2cb4d7)),_0x57c430=_0x18ece5(_0x156b3c(window[_0x403885([0x4d,0x61,0x74,0x68])][_0x403885([0x63,0x65,0x69,0x6c])](_0x3de3a5/_0x232924)));window[_0x403885([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x403885([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26f52e,_0x57c430);}function _0x50ef36(){const _0x5e07e3=_0x403885([0x6c,0x6c,0x63,0x74,0x2d])+_0x156b3c(_0x8edf11(_0x2cb4d7)),_0x4cb223=window[_0x403885([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x403885([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e07e3);return _0x4cb223?window[_0x403885([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18ece5(_0x4cb223),0x10)*_0x232924:null;}function _0x5013ed(_0x3f4dd8){return new window[(_0x403885([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c1832,_0x4a3951)=>{_0x3f4dd8[_0x403885([0x74,0x68,0x65,0x6e])](_0x3c1832,_0x4a3951),window[_0x403885([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a3951,0x7347de73^_0xcb6f98);});}}_0x533b1b[_0x403885([0x6f,0x6e])](_0x403885([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x55922c,_0x13c2b1)=>{if(_0x13c2b1[0x0]!=_0x2cb4d7)return _0x43e4a8(_0x403885([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x13c2b1[0x1]={..._0x13c2b1[0x1],[_0x403885([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3c0361};},{[_0x403885([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x403885([0x68,0x69,0x67,0x68])}),_0x533b1b[_0x403885([0x6f,0x6e])](_0x403885([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x191dd2=>{_0xd86959(_0x191dd2[_0x403885([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x156ea7=!0x0,_0x3d66f3(_0x191dd2[_0x403885([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x403885([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x403885([0x6c,0x6f,0x77])}),_0x1a0944[_0x403885([0x74,0x68,0x65,0x6e])](()=>{_0x156ea7||_0x43e4a8(_0x403885([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x24ae63(){return _0x533b1b[_0x403885([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x403885([0x76,0x69,0x65,0x77])][_0x403885([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x403885([0x61,0x75,0x74,0x6f]);}function _0x3b5cb5(){_0x533b1b[_0x403885([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x403885([0x76,0x69,0x65,0x77])][_0x403885([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x403885([0x61,0x75,0x74,0x6f]);}}function _0x29af98(_0x5c3486){const _0x1cca31=[new window[(_0x403885([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4746df=>setTimeout(_0x4746df,0x734f347f^_0xcb6f98)),_0x1a0944[_0x403885([0x74,0x68,0x65,0x6e])](()=>new window[(_0x403885([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x268b84=>{let _0x4030fd=0x0;_0x533b1b[_0x403885([0x6d,0x6f,0x64,0x65,0x6c])][_0x403885([0x6f,0x6e])](_0x403885([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3afc56,_0x3fe03f)=>{_0x3fe03f[0x0][_0x403885([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4030fd++,_0x4030fd==(0x73460f5b^_0xcb6f98)&&(_0x268b84(),_0x3afc56[_0x403885([0x6f,0x66,0x66])]());});}))];return window[_0x403885([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x403885([0x72,0x61,0x63,0x65])](_0x1cca31)[_0x403885([0x74,0x68,0x65,0x6e])](()=>_0x5c3486);}async function _0x346b72(){await _0x1a0944,_0x533b1b[_0x403885([0x6d,0x6f,0x64,0x65,0x6c])][_0x403885([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x57db5d,_0x533b1b[_0x403885([0x6d,0x6f,0x64,0x65,0x6c])][_0x403885([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x57db5d,_0x533b1b[_0x403885([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x403885([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x31f03f(){return window[_0x403885([0x67,0x6c,0x6f,0x62])]&&window[_0x403885([0x67,0x6c,0x6f,0x62])][_0x403885([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x503b74(){return _0x2cc7af(_0x403885([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2cd13a(_0x403885([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x403885([0x73,0x74,0x61,0x74,0x65])]==_0x403885([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x4bff0b(){return _0x2cc7af(_0x403885([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 _0x63d27b(){return _0x2cc7af(_0x403885([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x274eee(_0x22c8b0){const _0x5be293=_0x3e3c2e();_0x533b1b[_0x5be293]=_0x403885([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x22c8b0,_0x22c8b0!=_0x403885([0x56,0x61,0x6c,0x69,0x64])&&_0x346b72();}function _0x3e3c2e(){const _0x4ad8ad=window[_0x403885([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x403885([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x403885([0x6e,0x6f,0x77])]())[_0x403885([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x403885([0x2e]),'');let _0x57ed32=_0x403885([0x4b]);for(let _0x16bf76=0x0;_0x16bf76<_0x4ad8ad[_0x403885([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16bf76+=0x2){let _0x34b2f7=window[_0x403885([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ad8ad[_0x403885([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16bf76,_0x16bf76+0x2));_0x34b2f7>=_0x521dc7[_0x403885([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x34b2f7-=_0x521dc7[_0x403885([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x57ed32+=_0x521dc7[_0x34b2f7];}return _0x57ed32;}function _0x1f0629(){const _0x1bfa1e=_0x69e479[_0x403885([0x73,0x70,0x6c,0x69,0x74])](_0x403885([0x2e]));if(0x3!=_0x1bfa1e[_0x403885([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x58ab3f(_0x1bfa1e[0x1]);function _0x58ab3f(_0x52fb36){const _0x5f1cab=_0x4c23bc(_0x52fb36);return _0x5f1cab&&_0x411b00()?_0x5f1cab:null;function _0x411b00(){const _0x3a9067=_0x5f1cab[_0x403885([0x6a,0x74,0x69])],_0x1611b0=window[_0x403885([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a9067[_0x403885([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a9067[_0x403885([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a2a42={..._0x5f1cab,[_0x403885([0x6a,0x74,0x69])]:_0x3a9067[_0x403885([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3a9067[_0x403885([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a2a42[_0x403885([0x76,0x63])],_0x8edf11(_0x4a2a42)==_0x1611b0;}}}async function _0x253461(){let _0x3aaa02=!0x0;try{const _0x2c966a=_0x69e479[_0x403885([0x73,0x70,0x6c,0x69,0x74])](_0x403885([0x2e])),[_0x3ee6cf,_0x78e798,_0x1a93e4]=_0x2c966a;return _0x1f9bec(_0x3ee6cf),await _0x5b36c2(_0x3ee6cf,_0x78e798,_0x1a93e4),_0x3aaa02;}catch{return!0x1;}function _0x1f9bec(_0x52fef6){const _0x7e7752=_0x4c23bc(_0x52fef6);_0x7e7752&&_0x7e7752[_0x403885([0x61,0x6c,0x67])]==_0x403885([0x45,0x53,0x32,0x35,0x36])||(_0x3aaa02=!0x1);}async function _0x5b36c2(_0x5d49b1,_0x2d4e85,_0x1e3675){const _0x2e1d8e=window[_0x403885([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x403885([0x66,0x72,0x6f,0x6d])](_0x22968e(_0x1e3675),_0x3db55a=>_0x3db55a[_0x403885([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x20f28=new window[(_0x403885([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x403885([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5d49b1+_0x403885([0x2e])+_0x2d4e85),_0x1819d5=window[_0x403885([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x403885([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1819d5)return;const _0x1f536c=await _0x1819d5[_0x403885([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x403885([0x6a,0x77,0x6b]),_0x5dba30,{[_0x403885([0x6e,0x61,0x6d,0x65])]:_0x403885([0x45,0x43,0x44,0x53,0x41]),[_0x403885([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x403885([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x403885([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1819d5[_0x403885([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x403885([0x6e,0x61,0x6d,0x65])]:_0x403885([0x45,0x43,0x44,0x53,0x41]),[_0x403885([0x68,0x61,0x73,0x68])]:{[_0x403885([0x6e,0x61,0x6d,0x65])]:_0x403885([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1f536c,_0x2e1d8e,_0x20f28)||(_0x3aaa02=!0x1);}}function _0x4c23bc(_0x5dcdc5){return _0x5dcdc5[_0x403885([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x403885([0x65,0x79]))?JSON[_0x403885([0x70,0x61,0x72,0x73,0x65])](_0x22968e(_0x5dcdc5)):null;}function _0x22968e(_0x47800f){return window[_0x403885([0x61,0x74,0x6f,0x62])](_0x47800f[_0x403885([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x403885([0x2b]))[_0x403885([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x403885([0x2f])));}function _0x8edf11(_0x207398){let _0x133b22=0x1505;function _0x38da48(_0x225635){for(let _0x400a80=0x0;_0x400a80<_0x225635[_0x403885([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x400a80++){const _0x4d1135=_0x225635[_0x403885([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x400a80);_0x133b22=(_0x133b22<<0x5)+_0x133b22+_0x4d1135,_0x133b22&=_0x133b22;}}function _0x225eb6(_0x17956f){Array[_0x403885([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x17956f)?_0x17956f[_0x403885([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x225eb6):_0x17956f&&typeof _0x17956f==_0x403885([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x403885([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x17956f)[_0x403885([0x73,0x6f,0x72,0x74])]()[_0x403885([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2b2091,_0xdf09ad])=>{_0x38da48(_0x2b2091),_0x225eb6(_0xdf09ad);}):_0x38da48(window[_0x403885([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x17956f));}return _0x225eb6(_0x207398),_0x133b22>>>0x0;}function _0x156b3c(_0x1677cb){return _0x1677cb[_0x403885([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x403885([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x403885([0x30]));}function _0x18ece5(_0x43895c){return _0x43895c[_0x403885([0x73,0x70,0x6c,0x69,0x74])]('')[_0x403885([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x403885([0x6a,0x6f,0x69,0x6e])]('');}function _0x2cc7af(_0x251f2d){return _0x533b1b[_0x403885([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x403885([0x68,0x61,0x73])](_0x251f2d);}function _0x2cd13a(_0x1abdbe){return _0x533b1b[_0x403885([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x403885([0x67,0x65,0x74])](_0x1abdbe);}function _0x57db5d(){}function _0x403885(_0x16bbce){return _0x16bbce['map'](_0x890563=>String['fromCharCode'](_0x890563))['join']('');}_0x274eee(await _0x537020());}(this);}['destroy'](){const _0x42dc67=this['editor']['plugins']['get'](CommentsRepository),_0x15063d=this['editor']['config']['get']('collaboration.channelId');for(const _0x225f8f of _0x42dc67['getCommentThreads']({'channelId':_0x15063d}))_0x42dc67['_detachCommentThread'](_0x225f8f['id']),_0x42dc67['_threads']['delete'](_0x225f8f['id']);super['destroy']();}['hasMarkerForId'](_0x5abff4){return this['getAllMarkersForId'](_0x5abff4)['length']>0x0;}['getAllMarkersForId'](_0x5ad49d){const _0x4789b1=[];for(const _0x546810 of this['editor']['model']['markers'])_0x546810['name']['startsWith']('comment:'+_0x5ad49d)&&_0x4789b1['push'](_0x546810);return _0x4789b1;}['scrollToThreadMarker'](_0x2ebb96){setTimeout(()=>{const _0x33d81e=this['_getTargetForId'](_0x2ebb96);if(!_0x33d81e)return;this['activeMarker']&&_0x51f7d0(this['activeMarker'])['id']===_0x2ebb96&&_0x5f37cd['scrollViewportToShowTarget']({'target':_0x33d81e[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x397ff5){this['editor']['model']['change'](()=>{for(const _0x55b737 of this['getAllMarkersForId'](_0x397ff5))this['editor']['editing']['reconvertMarker'](_0x55b737);});}['_attachArchivedThread'](_0x26f315){const _0x395cde=this['editor']['plugins']['get'](CommentsRepository),_0x99206b=this['editor']['plugins']['get'](EditorAnnotations),_0x502241=_0x395cde['getCommentThread'](_0x26f315);if(!_0x502241['isAttached']){const _0xd08b15=_0x502241['attachTo'](()=>this['_getTargetForId'](_0x502241['id']));_0x99206b['registerAnnotation'](_0xd08b15),_0x502241['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x1b8ee1=this['editor'],_0x6c861e=_0x1b8ee1['plugins']['get'](_0x4e0926);_0x1b8ee1['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x34ec2b,_0x40e762)=>{const {id:_0x50d851}=_0x51f7d0(_0x34ec2b['markerName']),_0xb52639=_0x1b8ee1['plugins']['get'](CommentsRepository)['getCommentThread'](_0x50d851),_0x25a662=this['activeMarker']&&_0x51f7d0(this['activeMarker'])['id']===_0x50d851;let _0x4e64f5;if(_0xb52639&&_0xb52639['isResolved']&&!_0x25a662&&_0x34ec2b['item'])return _0x40e762['consumable']['consume'](_0x34ec2b['item'],'addMarker:'+_0x34ec2b['markerName']),_0x40e762['consumable']['consume'](_0x34ec2b['item'],'removeMarker:'+_0x34ec2b['markerName']),null;const _0x30b0db=['ck-comment-marker'];return _0x25a662&&_0x30b0db['push']('ck-comment-marker--active'),_0x4e64f5=_0xb52639?.['length']?_0xb52639['comments']['first']['author']['id']:_0x6c861e['me']['id'],{'classes':_0x30b0db,'attributes':{'data-comment':_0x50d851,'data-author-id':_0x4e64f5}};}}),_0x1b8ee1['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x1c95a7,{options:_0x460ce2})=>{if(_0x460ce2['showCommentHighlights'])return null;const _0x547109=_0x1b8ee1['plugins']['get'](CommentsRepository),_0x26f7c9=_0x1b8ee1['model']['markers']['get'](_0x1c95a7),{id:_0x4629fa,part:_0x5f14f2}=_0x51f7d0(_0x1c95a7);return _0x26f7c9&&!_0x26f7c9['affectsData']||_0x460ce2['ignoreResolvedComments']&&_0x547109['getCommentThread'](_0x4629fa)?.['isResolved']?null:{'group':'comment','name':_0x5f14f2?_0x4629fa+':'+_0x5f14f2:_0x4629fa};}}),_0x1b8ee1['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x1be69c,{writer:_0x41e03a})=>_0x41e03a['createElement']('$marker',{'data-name':'comment:'+_0x1be69c['getAttribute']('id')})}),_0x1b8ee1['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x511503=this['editor'],_0x538806=_0x511503['plugins']['get'](CommentsRepository),_0x14cc86=new Set(),_0x3c6016=new Set();_0x511503['model']['document']['registerPostFixer'](_0x2df576=>{let _0x28ed9d=!0x1;for(const {name:_0x22a66c,data:_0x714c20}of _0x511503['model']['document']['differ']['getChangedMarkers']()){const {group:_0x1c4737,id:_0x10d573}=_0x51f7d0(_0x22a66c);let _0x2a6118=_0x714c20['newRange'];if('comment'!==_0x1c4737||!_0x2a6118)continue;const _0x2eca8b='$graveyard'===_0x2a6118['root']['rootName'];_0x2eca8b||(_0x2a6118=_0x402911(_0x2a6118,_0x511503['model']),!_0x2a6118||_0x2a6118['isCollapsed']||!_0x714c20['newRange']||_0x2a6118['isEqual'](_0x714c20['newRange']))?_0x511503['model']['hasContent'](_0x2a6118)&&!_0x2eca8b?this['isThreadsLoadingPaused']?_0x14cc86['add'](_0x22a66c):this['_handleThreadMarker'](_0x22a66c,_0x10d573):(_0x3c6016['add'](_0x22a66c),_0x14cc86['delete'](_0x22a66c),_0x2df576['removeMarker'](_0x22a66c),_0x28ed9d=!0x0):(_0x2df576['updateMarker'](_0x22a66c,{'range':_0x2a6118}),_0x28ed9d=!0x0);}return _0x28ed9d;}),this['on']('change:isThreadsLoadingPaused',(_0x11a05d,_0x1f6ef4,_0x12fdde)=>{if(!_0x12fdde&&_0x14cc86['size'])for(const _0x2647d3 of _0x14cc86){const {id:_0x556c97}=_0x51f7d0(_0x2647d3);_0x14cc86['delete'](_0x2647d3),_0x511503['model']['markers']['get'](_0x2647d3)&&this['_handleThreadMarker'](_0x2647d3,_0x556c97);}}),this['listenTo'](_0x511503['model']['document'],'change',()=>{for(const {name:_0x421f8e,data:{newRange:_0x21d7c0}}of _0x511503['model']['document']['differ']['getChangedMarkers']()){const {group:_0x15320f,id:_0x5af2f3}=_0x51f7d0(_0x421f8e);if('comment'!==_0x15320f)continue;const _0x3ab44b=_0x538806['getCommentThread'](_0x5af2f3),_0x27afcd=this['hasMarkerForId'](_0x5af2f3);_0x3ab44b&&(!_0x3ab44b['_hasTargetInContent']&&_0x21d7c0&&_0x511503['editing']['view']['once']('render',()=>{const _0x2599d5=_0x511503['plugins']['get'](Annotations),_0x2652dd=_0x538806['_threadToController']['get'](_0x3ab44b)['view'];_0x2599d5['getByInnerView'](_0x2652dd)['refreshVisibility']();},{'priority':'low'}),_0x3ab44b['_hasTargetInContent']=_0x27afcd||!!_0x21d7c0),_0x21d7c0||(_0x3c6016['add'](_0x421f8e),_0x14cc86['delete'](_0x421f8e));}for(const _0x494c9e of _0x3c6016){const {id:_0x5cad96}=_0x51f7d0(_0x494c9e),_0x5dd322=_0x538806['getCommentThread'](_0x5cad96);if(_0x14cc86['delete'](_0x494c9e),!_0x5dd322)continue;const _0x50f7be=this['hasMarkerForId'](_0x5cad96);_0x50f7be||_0x5dd322['isSubmitted']?_0x50f7be||_0x5dd322['unlinkedAt']||_0x5dd322['setUnlinkedAt'](new Date()):_0x5dd322['remove']();}_0x3c6016['clear']();});}['_handleInitialThreads'](_0x52afd5){_0x52afd5['forEach'](_0x174aec=>{_0x174aec['unlinkedAt']&&this['_attachArchivedThread'](_0x174aec['id']);});}['_getTargetForId'](_0x372f0d){const _0x39872c=this['editor'],_0x26dc9c=this['getAllMarkersForId'](_0x372f0d);return _0x9c6d55(_0x39872c['editing'],_0x26dc9c);}['_getTextContext'](_0x2b5ff6){const _0x222f7e=this['getAllMarkersForId'](_0x2b5ff6);let _0x2a9ab9='',_0x169dc6=!0x1;for(const _0x414ff0 of _0x222f7e){const _0x4e8ece=_0x414ff0['getRange']();for(const _0x4030c0 of Array['from'](_0x4e8ece['getItems']()))_0x4030c0['is']('$textProxy')?(_0x2a9ab9&&_0x169dc6&&(_0x2a9ab9+='\x20',_0x169dc6=!0x1),_0x2a9ab9+=_0x4030c0['data']):_0x169dc6=!0x0;_0x169dc6=!0x0;}return _0x2a9ab9['substring'](0x0,0x96);}['_attachMarkerToThread'](_0x4080f8,_0x41d78c){const _0x55e01b=this['editor'],_0x11a53f=_0x55e01b['plugins']['get'](CommentsRepository);let _0x151aeb=_0x11a53f['getCommentThread'](_0x41d78c);const _0x28a96f=_0x55e01b['config']['get']('collaboration.channelId'),_0x2ca04b=_0x55e01b['plugins']['get'](EditorAnnotations);if(_0x151aeb&&(_0x151aeb['unlinkedAt']&&_0x151aeb['setUnlinkedAt'](null),_0x151aeb['isAttached']))return _0x151aeb;return!this['getAllMarkersForId'](_0x41d78c)[0x0]['managedUsingOperations']?_0x55e01b['editing']['view']['once']('render',()=>{if(_0x11a53f['getCommentThread'](_0x41d78c))return;const _0x22544c=_0x55e01b['plugins']['get'](Annotations);_0x151aeb=_0x11a53f['openNewCommentThread']({'channelId':_0x28a96f,'threadId':_0x41d78c,'target':()=>this['_getTargetForId'](_0x41d78c),'context':{'type':'text','value':this['_getTextContext'](_0x41d78c)}});const _0x63c6ca=_0x11a53f['_threadToController']['get'](_0x151aeb)['view'],_0x27a4ab=_0x22544c['getByInnerView'](_0x63c6ca);_0x27a4ab&&_0x2ca04b['registerAnnotation'](_0x27a4ab);},{'priority':'low'}):_0x11a53f['fetchCommentThread']({'channelId':_0x28a96f,'threadId':_0x41d78c})['then'](_0x4bfb3d=>{if('destroyed'!==_0x55e01b['state']){if(_0x151aeb=_0x4bfb3d,_0x151aeb&&!_0x151aeb['isAttached']){const _0x5cadab=_0x151aeb['attachTo'](()=>this['_getTargetForId'](_0x41d78c));_0x2ca04b['registerAnnotation'](_0x5cadab),_0x151aeb['isResolved']&&this['_reconvertMarkers'](_0x41d78c);}else{if(!_0x151aeb){const _0x38d38b=this['getAllMarkersForId'](_0x41d78c);_0x55e01b['model']['change'](_0x5e40da=>{for(const _0x4ca507 of _0x38d38b)_0x5e40da['removeMarker'](_0x4ca507);});}}}}),_0x151aeb;}['_handleThreadMarker'](_0x2b2736,_0x1dd05b){const _0x59c520=this['_attachMarkerToThread'](_0x2b2736,_0x1dd05b);_0x59c520&&!_0x59c520['context']&&_0x59c520['setContext']({'type':'text','value':this['_getTextContext'](_0x1dd05b)});}['_initAriaMarkerChangeAnnouncements'](){const _0xac161c=this['editor'];_0x42a5b9(_0xac161c['model'],({left:_0x26d844,entered:_0x53e4a2})=>{for(const _0x39736e of _0x26d844)if(_0x41b225(_0x39736e)){_0xac161c['ui']['ariaLiveAnnouncer']['announce'](_0x13f69c(_0xac161c['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x421016 of _0x53e4a2)if(_0x41b225(_0x421016)){_0xac161c['ui']['ariaLiveAnnouncer']['announce'](_0x13f69c(_0xac161c['locale'],'ENTER_COMMENT_ANNOUNCEMENT',_0x5f37cd['getEnvKeystrokeText'](_0x472d0e)));break;}});}}function _0x3dc82d(_0x2b9f1a,_0x3c0cb6){return _0x3c0cb6?_0x2b9f1a+':'+_0x3c0cb6:_0x2b9f1a;}function _0x402911(_0x2f42e2,_0x51bd10){const _0x370812=_0x51bd10['schema'],_0x47ff9a=_0x51bd10['createRange'](_0x2f42e2['start']);for(const _0x419ca6 of _0x2f42e2['getWalker']()){const {type:_0x41e2e7,item:_0x3f9167,nextPosition:_0x3a1802}=_0x419ca6;if('text'===_0x41e2e7||_0x370812['isObject'](_0x3f9167)){const _0x38eb86=_0x51bd10['createPositionBefore'](_0x3f9167);_0x47ff9a['isCollapsed']&&(_0x47ff9a['start']=_0x38eb86),_0x47ff9a['end']=_0x3a1802;}}return _0x47ff9a;}function _0x41b225(_0x24e9f3){return'comment'===_0x51f7d0(_0x24e9f3['name'])['group'];}class CommentsUI extends _0x5f37cd['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 _0x8f031d=this['editor'],_0x55c3d5=_0x8f031d['plugins']['get'](CommentsRepository),_0x34acd5=_0x8f031d['plugins']['get'](CommentsEditing),_0x2d8308=_0x8f031d['plugins']['get'](Annotations),_0x3262bd=_0x8f031d['plugins']['get'](EditorAnnotations);_0x8f031d['ui']['componentFactory']['add']('comment',()=>{const _0x3c8106=this['_createUIButton'](_0x5f37cd['ButtonView']);return _0x3c8106['tooltip']=!0x0,_0x3c8106;}),_0x8f031d['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](_0x5f37cd['MenuBarMenuListItemButtonView'])),_0x3262bd['addSourceCollector'](()=>{const _0x190dc7=[];for(const [_0x3890bb,_0x2896c3]of _0x55c3d5['_threadToController']){const _0x3c379d=_0x34acd5['getAllMarkersForId'](_0x3890bb['id']),_0xfddd1=_0x3c379d['map'](_0x343cd3=>_0x343cd3['getRange']());_0x3c379d['length']>0x0&&_0x190dc7['push']([_0x2896c3['view'],_0xfddd1]);}return _0x190dc7;}),this['listenTo'](_0x2d8308,'change:activeAnnotations',(_0xe7d3cf,_0x2f37ef,_0x2a15ee)=>{const _0x53580f=Array['from'](_0x2a15ee)['map'](_0x487850=>_0x487850['innerView'])['find'](_0x478acc=>_0x55c3d5['_viewToController']['has'](_0x478acc));if(!_0x53580f)return void(_0x34acd5['activeMarker']=null);const _0x569432=_0x55c3d5['_viewToController']['get'](_0x53580f)['model']['id'],_0x51fa35='comment:'+_0x569432;_0x569432&&_0x34acd5['hasMarkerForId'](_0x569432)?_0x34acd5['activeMarker']=_0x51fa35:_0x34acd5['activeMarker']&&(_0x34acd5['activeMarker']=null);}),this['listenTo'](_0x55c3d5,'removeCommentThread',(_0x2fd4f2,{threadId:_0x2b12df,isFromAdapter:_0x21b220})=>{!_0x21b220&&_0x8f031d['ui']['focusTracker']['isFocused']&&_0x34acd5['hasMarkerForId'](_0x2b12df)&&_0x8f031d['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x55c3d5,'addComment',(_0x3c411b,{threadId:_0x10c478,isFromAdapter:_0xbcc673})=>{if(_0xbcc673||!_0x34acd5['hasMarkerForId'](_0x10c478)||!_0x55c3d5['hasCommentThread'](_0x10c478))return;0x1===_0x55c3d5['getCommentThread'](_0x10c478)['length']&&(_0x8f031d['editing']['view']['focus'](),_0x3c411b['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4a4d1b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3635ed;for(const _0x3d30e5 in _0x4a4d1b){const _0x2a818a=_0x3d30e5,_0x491195=_0x4a4d1b[_0x2a818a];if('commentsLicenseKeyValid'==_0x491195||'commentsLicenseKeyInvalid'==_0x491195||'commentsLicenseKeyExpired'==_0x491195||'commentsLicenseKeyDomainLimit'==_0x491195||'commentsLicenseKeyNotAllowed'==_0x491195||'commentsLicenseKeyEvaluationLimit'==_0x491195||'commentsLicenseKeyUsageLimit'==_0x491195){delete _0x4a4d1b[_0x2a818a],_0x3635ed=_0x491195,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x3635ed&&_0x4a4d1b['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x3635ed&&_0x4a4d1b['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x3635ed&&_0x4a4d1b['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x3635ed&&_0x4a4d1b['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x3635ed&&_0x4a4d1b['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyUsageLimit'==_0x3635ed&&_0x4a4d1b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_createUIButton'](_0xda1a10){const _0x3c498a=this['editor'],_0x645a20=new _0xda1a10(_0x3c498a['locale']),_0xd127ae=_0x3c498a['commands']['get']('addCommentThread');return _0x645a20['set']({'label':_0x13f69c(_0x3c498a['locale'],'Comment'),'icon':_0x5f37cd['IconAddComment']}),_0x645a20['bind']('isEnabled')['to'](_0xd127ae,'isEnabled',_0xd127ae,'hasContent',(_0x2211ff,_0x21bd8f)=>_0x2211ff&&_0x21bd8f),this['listenTo'](_0x645a20,'execute',()=>{_0xd127ae['execute']();}),_0x645a20;}}class CommentsOnly extends _0x5f37cd['Plugin']{static get['pluginName'](){return'CommentsOnly';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsEditing];}constructor(_0x37b973){super(_0x37b973),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x1b52fe,_0x56c889,_0x5bb4db)=>{_0x5bb4db?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x336c5d,_0x3e87f8]of this['editor']['commands'])_0x3e87f8['affectsData']&&'addCommentThread'!==_0x336c5d&&_0x3e87f8['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 _0xca9f72=this['editor']['editing']['view']['document'];this['listenTo'](_0xca9f72,'cut',_0x4df148=>_0x4df148['stop'](),{'priority':'highest'}),this['listenTo'](_0xca9f72,'clipboardInput',_0x21a9b9=>_0x21a9b9['stop'](),{'priority':'highest'}),this['listenTo'](_0xca9f72,'delete',_0x2a4847=>_0x2a4847['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x173460,_0x388e3e]of this['editor']['commands'])_0x388e3e['affectsData']&&'addCommentThread'!==_0x173460&&_0x388e3e['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 _0x5f37cd['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(_0xc20119){super(_0xc20119),this['activeUIs']=new Set(),this['_uis']=new Map(),this['uisData']=new Map();}['init'](){const _0x4729a3=this['context']['plugins']['get'](Annotations);this['listenTo'](_0x4729a3,'_activateAnnotation',(_0x17d092,_0x4f439b)=>{for(const _0x3ff4d2 of this['activeUIs']){const _0xdc2d79=this['_uis']['get'](_0x3ff4d2);(0x0,this['uisData']['get'](_0x3ff4d2)['filter'])(_0x4f439b)&&_0xdc2d79['setActiveAnnotation'](_0x4f439b);}}),this['listenTo'](_0x4729a3,'_deactivateAllAnnotations',()=>{for(const _0xec47fc of this['activeUIs']){this['_uis']['get'](_0xec47fc)['setActiveAnnotation'](null);}}),this['listenTo'](_0x4729a3['_visibleAnnotations'],'add',(_0x4e89d1,_0x50c960)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x50c960);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x3c13db){return this['activeUIs']['has'](_0x3c13db);}['activate'](_0x162622,_0x5a0688=this['defaultFilter']){const _0x49783f=this['context']['plugins']['get'](Annotations);if(!this['_uis']['has'](_0x162622))throw new _0x5f37cd['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x162622});this['isActive'](_0x162622)&&this['deactivate'](_0x162622),this['activeUIs']['add'](_0x162622);const _0x4feb6=new AnnotationCollection();_0x488e0a({'source':_0x49783f['_visibleAnnotations'],'target':_0x4feb6,'filter':_0x5a0688}),this['uisData']['set'](_0x162622,{'collection':_0x4feb6,'filter':_0x5a0688});const _0x2ca3bc=this['_uis']['get'](_0x162622);_0x2ca3bc['attach'](_0x4feb6),this['listenTo'](_0x2ca3bc,'change:activeAnnotation',(_0x4a4e54,_0x5cbce7,_0x236ce2,_0x45a116)=>{_0x45a116&&_0x49783f['_removeActiveAnnotation'](_0x45a116),_0x236ce2&&_0x49783f['_addActiveAnnotation'](_0x236ce2);});}['deactivate'](_0xc3a53c){if(this['activeUIs']['delete'](_0xc3a53c),!this['_uis']['has'](_0xc3a53c))throw new _0x5f37cd['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0xc3a53c});const _0x28cd23=this['_uis']['get'](_0xc3a53c);_0x28cd23['detach'](),this['stopListening'](_0x28cd23),this['uisData']['get'](_0xc3a53c)['collection']['destroy'](),this['uisData']['delete'](_0xc3a53c);}['switchTo'](_0x4ae4a4){if(!this['_uis']['has'](_0x4ae4a4))throw new _0x5f37cd['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x4ae4a4});const _0x3a7f9d=this['context']['plugins']['get'](Annotations),_0x36f14f=Array['from'](_0x3a7f9d['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x4ae4a4);const _0x15c561=this['_uis']['get'](_0x4ae4a4);_0x15c561['setActiveAnnotation'](_0x36f14f),_0x15c561['_setSelectedAnnotations']&&_0x36f14f&&_0x15c561['_setSelectedAnnotations']([_0x36f14f]);}['deactivateAll'](){for(const _0x375018 of this['activeUIs'])this['deactivate'](_0x375018);}['register'](_0x587193,_0x56ecee){if(this['_uis']['has'](_0x587193))throw new _0x5f37cd['CKEditorError']('annotationsuis-register-already-registered');if('function'!=typeof _0x56ecee['attach']||'function'!=typeof _0x56ecee['detach']||'function'!=typeof _0x56ecee['setActiveAnnotation'])throw new _0x5f37cd['CKEditorError']('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x587193,_0x56ecee);}['refilterAnnotations'](){const _0x34ed13=this['context']['plugins']['get'](Annotations)['collection'],_0x2d902c=new Map(),_0x119f02=Array['from'](this['activeUIs']);for(const _0x580910 of this['activeUIs']){const _0x309500=this['uisData']['get'](_0x580910)['collection'];for(const _0x267009 of _0x309500)_0x2d902c['set'](_0x267009,_0x580910);}for(const _0xc839f1 of _0x34ed13){const _0x29e6fc=_0x2d902c['get'](_0xc839f1);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0xc839f1);const _0x1c86ed=_0x119f02['find'](_0x1f0e05=>this['uisData']['get'](_0x1f0e05)['filter'](_0xc839f1));_0x29e6fc!==_0x1c86ed&&(_0x29e6fc&&this['uisData']['get'](_0x29e6fc)['collection']['remove'](_0xc839f1),_0x1c86ed&&this['uisData']['get'](_0x1c86ed)['collection']['add'](_0xc839f1));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['defaultFilter'](){return!0x0;}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x1db3f7){const _0x21e199=[];for(const _0xeaf497 of this['activeUIs']){(0x0,this['uisData']['get'](_0xeaf497)['filter'])(_0x1db3f7)&&_0x21e199['push'](_0xeaf497);}if(_0x21e199['length']>0x1)throw new _0x5f37cd['CKEditorError']('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x21e199,'annotationType':_0x1db3f7['type']});}}const th=/* #__PURE__ -- @preserve */
_0x5f37cd['toUnit']('px');class AnnotationsSidebarView extends _0x5f37cd['View']{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x1d0f45){super(_0x1d0f45);const _0x5ebba5=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 _0x5f37cd['FocusTracker'](),this['focusCycler']=new _0x5f37cd['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x5ebba5['to']('class')],'style':{'minHeight':_0x5ebba5['to']('minHeight',_0x541c64=>'number'==typeof _0x541c64?th(_0x541c64+0xa):null)},'dir':_0x1d0f45['uiLanguageDirection'],'role':'application','aria-label':_0x13f69c(_0x1d0f45,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':_0x13f69c(_0x1d0f45,'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',_0x1bfbbd=>{this['_updateItemPositionInFocusables'](_0x1bfbbd['source']);}),this['list']['forEach'](_0x3864f8=>{this['focusTracker']['add'](_0x3864f8['element']),this['_updateItemPositionInFocusables'](_0x3864f8);}),this['list']['on']('change',(_0x4e1149,_0x59ab0b)=>{for(const _0x174fad of _0x59ab0b['removed'])this['focusTracker']['remove'](_0x174fad['element']),this['focusables']['remove'](_0x174fad);for(const _0x52cb55 of _0x59ab0b['added'])this['focusTracker']['add'](_0x52cb55['element']),this['_updateItemPositionInFocusables'](_0x52cb55);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x3890f6){const _0x2fba02=this['focusables']['getIndex'](_0x3890f6);let _0x26b2bc,_0x36eca0;for(const _0x38b182 of this['focusables'])if(_0x3890f6['top']<_0x38b182['top']){_0x26b2bc=_0x38b182;break;}if(_0x36eca0=_0x26b2bc?this['focusables']['getIndex'](_0x26b2bc):this['focusables']['length'],-0x1!==_0x2fba02){if(_0x2fba02===_0x36eca0-0x1)return;this['focusables']['remove'](_0x3890f6),_0x36eca0=_0x26b2bc?this['focusables']['getIndex'](_0x26b2bc):this['focusables']['length'];}this['focusables']['add'](_0x3890f6,_0x36eca0);}}const _0x113227=/* #__PURE__ -- @preserve */
_0x5f37cd['toUnit']('px');class AnnotationsSidebarItemView extends _0x5f37cd['View']{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x3d6b9c){super(_0x3d6b9c),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x5f357e,_0x2e94f3)=>_0x5f357e+_0x2e94f3),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=_0x3d9001(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x5172da=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x5172da['to']('isAnimationDisabled',_0x34d52e=>_0x34d52e?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x5172da['to']('top',_0x26c465=>_0x113227(_0x26c465))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0xbe4825=this['element']['clientHeight'];_0xbe4825&&(this['height']=_0xbe4825);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class _0x1c5303 extends _0x5f37cd['ContextPlugin']{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3d03e9){super(_0x3d03e9),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 _0x31dce0=this['context']['config']['get']('sidebar.container');_0x31dce0&&this['setContainer'](_0x31dce0);}['setContainer'](_0x4a3cd2){if(!_0x16c0d7(_0x4a3cd2))throw new _0x5f37cd['CKEditorError']('sidebar-setcontainer-invalid-element');this['container']=_0x4a3cd2;}['_attachToContainer']({viewClass:_0x30b38d='',spaceBetweenItems:_0x597df2=0x19}={}){if(!_0x16c0d7(this['container']))throw new _0x5f37cd['CKEditorError']('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x30b38d,this['_spaceBetweenItems']=_0x597df2;}['rearrange']({removedAnnotation:_0x420281,previousAnnotation:_0x3e4583,nextAnnotation:_0x50184b}){const _0x22cac0=this['getSidebarItemView'](_0x420281);this['view']['list']['remove'](_0x22cac0),this['_destroySidebarItemView'](_0x420281),_0x3e4583&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x3e4583)),_0x50184b&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x50184b)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x29bd8d,activatedAnnotation:_0xd26aa6,disableAnimationOnActivatedAnnotation:_0x22f1a0}){if(this['_activeAnnotation']=_0xd26aa6,_0x29bd8d){_0x29bd8d['isActive']=!0x1;const _0x3e78ab=this['getSidebarItemView'](_0x29bd8d);_0x3e78ab&&_0x22f1a0&&(_0x3e78ab['isAnimationDisabled']=!0x1);}if(_0xd26aa6){const _0x5d637b=this['getSidebarItemView'](_0xd26aa6);_0x5d637b&&(_0xd26aa6['isActive']=!0x0,_0x22f1a0&&(_0x5d637b['isAnimationDisabled']=!0x0,_0x5d637b['top']+=0x1),this['_alignToTargetRect'](_0x5d637b));}}['_detachFromContainer'](_0x579490){if(this['view']['element']['remove'](),_0x579490){for(const _0x23583c of _0x579490)this['_destroySidebarItemView'](_0x23583c);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x3f7e70,_0x56d986){_0x56d986||(_0x56d986=_0x3f7e70['view']);const _0x220f19=new AnnotationsSidebarItemView(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x220f19,_0x3f7e70),this['_annotationToSidebarItemView']['set'](_0x3f7e70,_0x220f19),_0x220f19['content']['add'](_0x56d986),this['listenTo'](_0x3f7e70['view'],'change:targetRect',(_0x54ed68,_0x116a4d,_0x27afd0)=>{const _0x103407=this['_getTargetTop'](_0x3f7e70,_0x27afd0);_0x220f19['_targetTop']!=_0x103407&&(_0x220f19['_targetTop']=_0x103407,this['_setItemTop'](_0x220f19,_0x103407));}),this['listenTo'](_0x220f19,'change:top',()=>{this['_recalculate'](_0x220f19,'top');}),this['listenTo'](_0x220f19,'change:bottom',()=>{this['_recalculate'](_0x220f19,'bottom');}),this['_alignToTargetRect'](_0x220f19);const _0x21dd8c=this['_getItemBefore'](_0x220f19);if(_0x21dd8c)this['_alignAfterItem'](_0x21dd8c,_0x220f19)||this['_alignToTargetRect'](_0x220f19);else this['_alignToTargetRect'](_0x220f19);return this['_updateLastItem'](),this['view']['list']['add'](_0x220f19),_0x220f19;}['_alignForTopChange'](_0x254710){if(!_0x254710['content']['length'])return;const _0x492b76=this['_getItemBefore'](_0x254710);if(!_0x492b76)return;const _0x34a4cc=this['_sidebarItemViewToAnnotation']['get'](_0x492b76),_0x13e982=this['_activeAnnotation'];_0x13e982&&_0x13e982===_0x34a4cc?this['_alignAfterItem'](_0x492b76,_0x254710):this['_alignBeforeItem'](_0x254710,_0x492b76);}['_alignForBottomChange'](_0x50ccf0){if(!_0x50ccf0['content']['length'])return;const _0x1a1ef2=this['_getItemAfter'](_0x50ccf0);if(!_0x1a1ef2)return;const _0x8e788a=this['_sidebarItemViewToAnnotation']['get'](_0x1a1ef2),_0x45fc8e=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x1132fb=this['_activeAnnotation'];_0x1132fb&&_0x1132fb===_0x8e788a&&_0x45fc8e?(this['_alignBeforeItem'](_0x1a1ef2,_0x50ccf0),this['_alignAfterItem'](_0x50ccf0,_0x1a1ef2)):_0x1132fb&&_0x1132fb===_0x8e788a?this['_alignBeforeItem'](_0x1a1ef2,_0x50ccf0):this['_alignAfterItem'](_0x50ccf0,_0x1a1ef2);}['_recalculate'](_0x40a8ce,_0x568166){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x282d5c,changedProp:_0x46f1d7}of this['_recalculateBuffer'])'top'===_0x46f1d7?this['_alignForTopChange'](_0x282d5c):this['_alignForBottomChange'](_0x282d5c);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x40a8ce,'changedProp':_0x568166});}['getSidebarItemView'](_0x13bb78){return this['_annotationToSidebarItemView']['get'](_0x13bb78);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x5522f6){const _0x49f257=this['getSidebarItemView'](_0x5522f6);this['stopListening'](_0x49f257),this['stopListening'](_0x5522f6['view']),_0x49f257['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x5522f6),this['_sidebarItemViewToAnnotation']['delete'](_0x49f257);}['_createSidebarView'](){const _0x595630=new AnnotationsSidebarView(this['context']['locale']);return _0x595630['render'](),this['on']('change:_lastItem',(_0x12be7b,_0x13936d,_0x436a4e,_0x16efde)=>{_0x16efde&&_0x595630['unbind']('minHeight'),_0x436a4e?_0x595630['bind']('minHeight')['to'](_0x436a4e,'bottom'):_0x595630['minHeight']=null;}),_0x595630;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x48cdff){const _0x7cd6a8=this['_sidebarItemViewToAnnotation']['get'](_0x48cdff),_0x4b994b=_0x7cd6a8&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x7cd6a8)-0x1);return _0x4b994b&&this['getSidebarItemView'](_0x4b994b)||null;}['_getItemAfter'](_0x59356b){const _0x140039=this['_sidebarItemViewToAnnotation']['get'](_0x59356b),_0x5a7f57=_0x140039&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x140039)+0x1);return _0x5a7f57&&this['getSidebarItemView'](_0x5a7f57)||null;}['_alignBeforeItem'](_0x10641b,_0x479bc1){_0x10641b['updateHeight']();const _0x213433=_0x2837f1(_0x479bc1['bottom']+this['_spaceBetweenItems'],_0x10641b['top']);return!!_0x213433&&(this['_setItemTop'](_0x479bc1,_0x479bc1['top']-_0x213433),!0x0);}['_alignAfterItem'](_0x43a294,_0x334b5a){_0x43a294['updateHeight']();const _0x3bd81c=_0x2837f1(_0x43a294['bottom']+this['_spaceBetweenItems'],_0x334b5a['top']);return!!_0x3bd81c&&(this['_setItemTop'](_0x334b5a,_0x334b5a['top']+_0x3bd81c,!0x1),!0x0);}['_alignToTargetRect'](_0x114cc6){const _0x5cf3ae=this['_sidebarItemViewToAnnotation']['get'](_0x114cc6);if(!_0x5cf3ae||!_0x5cf3ae['target']||!_0x5cf3ae['targetRect'])return;const _0x550a0d=this['_getTargetTop'](_0x5cf3ae,_0x5cf3ae['targetRect']);this['_setItemTop'](_0x114cc6,_0x550a0d);}['_getTargetTop'](_0x18436d,_0x25755e){if(null===_0x25755e)return 0x0;if(_0x18436d['target']instanceof _0x5f37cd['Rect'])return _0x25755e['top'];{const _0x31e9c9=new _0x5f37cd['Rect'](this['view']['element'])['top'];return _0x25755e['top']-_0x31e9c9;}}['_setItemTop'](_0x2d309f,_0xd75c59,_0x1304e4=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x1304e4&&(_0xd75c59=Math['max'](_0xd75c59,this['_getMaxAvailableTop'](_0x2d309f))),_0x2d309f['top']=_0xd75c59;}['_getMaxAvailableTop'](_0xaa8d07){let _0x3da650=this['_getItemBefore'](_0xaa8d07),_0x767e19=0x0;for(;_0x3da650;)_0x3da650['updateHeight'](),_0x767e19+=this['_spaceBetweenItems']+_0x3da650['height'],_0x3da650=this['_getItemBefore'](_0x3da650);return _0x767e19;}}function _0x2837f1(_0x548731,_0x48232c){return Math['max'](_0x548731-_0x48232c,0x0);}function _0x16c0d7(_0x468426){return null!==_0x468426&&'object'==typeof _0x468426&&0x1===_0x468426['nodeType'];}class _0x27bbd6 extends _0x5f37cd['ContextPlugin']{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x1c5303,AnnotationsUIs];}static get['pluginName'](){return'WideSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xd33242){super(_0xd33242),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new _0x5f37cd['Collection'](),this['_refreshPositioningDebounced']=ht(()=>{_0xd33242['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x1d986f=this['context']['plugins']['get'](AnnotationsUIs),_0x27e5a3=this['context']['plugins']['get'](_0x1c5303);_0x1d986f['register']('wideSidebar',this),_0x27e5a3['container']&&_0x1d986f['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x359e43){if(_0x359e43===this['activeAnnotation'])return;const _0x3a158d=this['context']['plugins']['get'](_0x1c5303);_0x3a158d['_activeAnnotation']=_0x359e43;const _0x4df5e5=this['activeAnnotation'];_0x3a158d['refresh']({'blurredAnnotation':_0x4df5e5,'activatedAnnotation':_0x359e43}),this['activeAnnotation']=_0x359e43;}['attach'](_0x17d2d9){this['annotations']=_0x17d2d9;const _0x4a8e95=this['context']['plugins']['get'](_0x1c5303);if(_0x4a8e95['_annotations']=_0x17d2d9,this['isAttached'])throw new _0x5f37cd['CKEditorError']('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x4a8e95,'set:container',()=>{this['detach'](),this['listenTo'](_0x4a8e95,'change:container',_0x131ded=>{_0x131ded['off'](),this['attach'](_0x17d2d9);});}),_0x4a8e95['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x129e29=_0x4d9a09=>{_0x4d9a09['updateTargetRect'](),_0x4a8e95['addAnnotation'](_0x4d9a09);};for(const _0x4ce174 of _0x17d2d9)_0x129e29(_0x4ce174);this['listenTo'](_0x17d2d9,'add',(_0x5ac747,_0xb1df1)=>{_0x129e29(_0xb1df1);}),this['listenTo'](_0x17d2d9,'remove',(_0x10e4a5,_0x3f2d9f,_0x208837)=>{_0x4a8e95['rearrange']({'removedAnnotation':_0x3f2d9f,'previousAnnotation':_0x17d2d9['get'](_0x208837-0x1),'nextAnnotation':_0x17d2d9['get'](_0x208837+0x1)}),_0x3f2d9f===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x17d2d9,'focus',(_0x45391a,_0x393f24)=>{this['setActiveAnnotation'](_0x393f24);}),this['listenTo'](_0x17d2d9,'blur',()=>{this['setActiveAnnotation'](null);});const _0x452924=this['context']instanceof _0x5f37cd['Context']?this['context']['editors']:new _0x5f37cd['Collection']([this['context']]);for(const _0x4a28de of _0x452924)this['_integrateWithEditorAnnotations'](_0x4a28de);this['listenTo'](_0x452924,'add',(_0x13a04f,_0x31e56f)=>{this['listenTo'](_0x31e56f,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x31e56f);});}),this['listenTo'](_0x452924,'remove',(_0x20ce4d,_0x208d21)=>{_0x208d21['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x208d21['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new _0x5f37cd['CKEditorError']('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x56669f=this['context']['plugins']['get'](_0x1c5303);_0x56669f['_detachFromContainer'](this['annotations']),this['stopListening'](_0x56669f),this['stopListening'](this['annotations']),this['context']instanceof _0x5f37cd['Context']&&this['stopListening'](this['context']['editors']);for(const _0x1c7c0b of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x1c7c0b);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x16efa0){if(!_0x16efa0['plugins']['has']('EditorAnnotations'))return;const _0x505fbf=_0x16efa0['plugins']['get']('EditorAnnotations'),_0x368bf1=()=>{const _0x15c08c=_0x505fbf['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x15c08c[0x0]||null);};this['listenTo'](_0x505fbf,'refresh',_0x368bf1),this['listenTo'](_0x505fbf,'blur',(_0x2cba10,{isAnnotationTracked:_0x1a56ee})=>{this['activeAnnotation']&&_0x1a56ee(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x505fbf,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x334c85=>{_0x505fbf['hasDomSelection']()&&(_0x368bf1(),_0x334c85['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x505fbf);}['_destroyEditorAnnotationsIntegration'](_0x4f31f5){this['stopListening'](_0x4f31f5),this['_editorAnnotations']['remove'](_0x4f31f5);}}class AnnotationCounterButtonView extends _0x5f37cd['ButtonView']{['counterView'];constructor(_0x5b6735){super(_0x5b6735);const _0x4b9d28=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x5b3f4b,_0x1cb2ec)=>_0x5b3f4b?'...':_0x1cb2ec['toString']()),this['set']('annotationType',''),this['icon']=_0x5f37cd['IconAddComment'],this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new _0x5f37cd['View'](),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x4b9d28['to']('annotationType',_0x3d6d7a=>'ck-annotation-counter__badge--'+_0x3d6d7a),_0x4b9d28['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x4b9d28['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class _0x5eb0f6 extends _0x5f37cd['ContextPlugin']{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x1c5303,AnnotationsUIs];}static get['pluginName'](){return'NarrowSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1daf43){super(_0x1daf43),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=new(_0x5f37cd['DomEmitterMixin']())(),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new _0x5f37cd['Collection'](),this['_refreshPositioningDebounced']=ht(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](AnnotationsUIs)['register']('narrowSidebar',this),this['bodyCollection']=new _0x5f37cd['BodyCollection'](this['context']['locale']),this['balloonPanelView']=new _0x5f37cd['BalloonPanelView'](this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0x225a6a){this['annotations']=_0x225a6a;const _0x5462d0=this['context']['plugins']['get'](_0x1c5303),_0x10500b=this['balloonPanelView'];if(_0x5462d0['_annotations']=_0x225a6a,this['isAttached'])throw new _0x5f37cd['CKEditorError']('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x5462d0,'set:container',()=>{this['detach'](),this['listenTo'](_0x5462d0,'change:container',_0x2d7044=>{_0x2d7044['off'](),this['attach'](_0x225a6a);});}),_0x5462d0['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x123bcc=_0x371b3a=>{const _0x4a5970=new AnnotationCounterButtonView(this['context']['locale']);_0x5462d0['addAnnotation'](_0x371b3a,_0x4a5970),this['_annotationToNarrowView']['set'](_0x371b3a,_0x4a5970),_0x4a5970['bind']('isDirty','annotationType','number')['to'](_0x371b3a['view'],'isDirty','type','length'),_0x4a5970['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x10500b['content']['first']!==_0x371b3a['view']?(this['_showBalloon'](_0x371b3a),_0x371b3a['view']['element']['focus'](),this['setActiveAnnotation'](_0x371b3a)):this['setActiveAnnotation'](null);});};for(const _0x11b0e1 of _0x225a6a)_0x123bcc(_0x11b0e1);this['listenTo'](_0x225a6a,'add',(_0x3c44a2,_0x25aeab)=>{_0x123bcc(_0x25aeab);}),this['listenTo'](_0x225a6a,'remove',(_0x415f80,_0x3d42c6,_0x389605)=>{this['_annotationToNarrowView']['get'](_0x3d42c6)['destroy'](),this['_annotationToNarrowView']['delete'](_0x3d42c6),_0x5462d0['rearrange']({'removedAnnotation':_0x3d42c6,'previousAnnotation':_0x225a6a['get'](_0x389605-0x1),'nextAnnotation':_0x225a6a['get'](_0x389605+0x1)}),_0x3d42c6===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x225a6a,'focus',(_0x2a5d49,_0x3c0d95)=>{this['setActiveAnnotation'](_0x3c0d95);}),this['listenTo'](_0x225a6a,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x192584,_0xa79bc8)=>{_0xa79bc8['keyCode']===_0x5f37cd['keyCodes']['esc']&&_0x10500b['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x10500b['content']['first']),this['_hideBalloon'](),_0xa79bc8['stopPropagation'](),_0xa79bc8['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x2ecffd,_0x41851d)=>{const _0x3e2b71=_0x41851d['target'];_0x10500b['isVisible']&&_0x10500b['element']['contains'](_0x3e2b71)||_0x5462d0['view']['element']['contains'](_0x3e2b71)||_0x2ecffd['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x4b5614=>_0x4b5614['contains'](_0x3e2b71))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x22e1f8=this['context']instanceof _0x5f37cd['Context']?this['context']['editors']:new _0x5f37cd['Collection']([this['context']]);for(const _0x30aa10 of _0x22e1f8)this['_integrateWithEditorAnnotations'](_0x30aa10);this['listenTo'](_0x22e1f8,'add',(_0x3660c1,_0x5b996e)=>{this['listenTo'](_0x5b996e,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x5b996e);});}),this['listenTo'](_0x22e1f8,'remove',(_0x5916c0,_0x2fb862)=>{_0x2fb862['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x2fb862['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x5538f9){if(_0x5538f9===this['activeAnnotation'])return;const _0x49f8e9=this['context']['plugins']['get'](_0x1c5303);if(_0x49f8e9['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x5538f9,'disableAnimationOnActivatedAnnotation':!0x0}),_0x5538f9)_0x49f8e9['getSidebarItemView'](_0x5538f9)?this['_showBalloon'](_0x5538f9):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x5538f9;}['detach'](){if(!this['isAttached'])throw new _0x5f37cd['CKEditorError']('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x24db32=this['context']['plugins']['get'](_0x1c5303);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0x4950f0=>_0x4950f0['destroy']()),this['_annotationToNarrowView']['clear'](),_0x24db32['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof _0x5f37cd['Context']&&this['stopListening'](this['context']['editors']);for(const _0x1a5dbe of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x1a5dbe);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'](_0x2a108d){if(!_0x2a108d['plugins']['has']('EditorAnnotations'))return;const _0x45b47b=_0x2a108d['plugins']['get']('EditorAnnotations'),_0x4bbb18=this['context']['plugins']['get'](_0x1c5303),_0x2fc054=this['annotations'],_0x293e57=this['balloonPanelView'],_0x46893a=()=>{const _0x49de76=_0x45b47b['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x49de76),this['setActiveAnnotation'](_0x49de76[0x0]||null);};this['listenTo'](_0x45b47b,'refresh',_0x46893a),this['listenTo'](_0x45b47b,'blur',(_0x336731,{isAnnotationTracked:_0x1cf6ec})=>{this['activeAnnotation']&&_0x1cf6ec(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x45b47b,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x2fc054,'blur',_0x3c0dce=>{_0x45b47b['hasDomSelection']()&&_0x3c0dce['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x151fb8,_0x2e2248)=>{const _0x3f1a2c=_0x2e2248['target'];_0x293e57['isVisible']&&_0x293e57['element']['contains'](_0x3f1a2c)||_0x4bbb18['view']['element']['contains'](_0x3f1a2c)||this['activeAnnotation']&&_0x45b47b['hasDomSelection']()&&(_0x46893a(),_0x151fb8['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x45b47b);}['_destroyEditorAnnotationsIntegration'](_0x4577ec){_0x4577ec&&(this['stopListening'](_0x4577ec),this['_editorAnnotations']['remove'](_0x4577ec));}['_setSelectedAnnotations'](_0x3768bf){for(const _0x1c3eab of this['_selectedAnnotations'])_0x3768bf['includes'](_0x1c3eab)||this['_manuallyClosedAnnotationViews']['delete'](_0x1c3eab['view']);this['_selectedAnnotations']=_0x3768bf;}['_refreshPositioning'](){const _0x6abd39=this['balloonPanelView'];this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning'](),_0x6abd39['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x1202ae){if(this['_manuallyClosedAnnotationViews']['has'](_0x1202ae['view']))return;const _0x4df853=this['balloonPanelView']['content']['first'];_0x4df853!==_0x1202ae['view']?(_0x4df853&&this['_detachListeners'](_0x4df853),this['_attachListeners'](_0x1202ae['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x1202ae['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x1ff25e=this['balloonPanelView']['content']['first'],_0x2bcd99=_0x1ff25e&&this['annotations']['getByView'](_0x1ff25e);if(!_0x2bcd99||!this['_annotationToNarrowView']['has'](_0x2bcd99))return;const _0x1ff803=this['_annotationToNarrowView']['get'](_0x2bcd99)['element'],_0x85c330=(function(){const _0x3774f3=_0x5f37cd['BalloonPanelView']['defaultPositions'];return[_0x3774f3['southArrowNorthEast'],_0x3774f3['northArrowSouthEast'],_0x3774f3['southArrowNorth'],_0x3774f3['northArrowSouth'],_0x3774f3['southArrowNorthWest'],_0x3774f3['northArrowSouthWest']];}());this['balloonPanelView']['pin']({'target':_0x1ff803,'positions':_0x85c330});}['_hideBalloon'](){const _0x1e5f22=this['balloonPanelView'],_0xd31536=_0x1e5f22['content']['first'];_0xd31536&&(this['_detachListeners'](_0xd31536),_0x1e5f22['unpin'](),_0x1e5f22['content']['clear']());}['_attachListeners'](_0x41243a){this['listenTo'](_0x41243a,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x41243a,'Esc',(_0x335a8e,_0x3b37fb)=>{this['_manuallyClosedAnnotationViews']['add'](_0x41243a),this['_hideBalloon'](),_0x3b37fb();});}['_detachListeners'](_0x131fef){this['stopListening'](_0x131fef);}}class InlineAnnotations extends _0x5f37cd['Plugin']{['isAttached'];['annotations'];['_manuallyClosed'];['_balloon'];['_addedAnnotations'];['_selectedAnnotations'];['_forceRefresh'];['_refreshVisibilityDebounced'];static get['requires'](){return[EditorAnnotations,_0x5f37cd['ContextualBalloon'],AnnotationsUIs];}static get['pluginName'](){return'InlineAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x213775){super(_0x213775),_0x213775['editing']['view']['addObserver'](_0x5f37cd['MouseObserver']),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x213775['plugins']['get'](_0x5f37cd['ContextualBalloon']),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1,this['_refreshVisibilityDebounced']=ht(()=>{this['editor']['plugins']['get']('Annotations')['refreshVisibility']();},0xfa,{'leading':!0x1});}['init'](){const _0x2c6ad1=this['editor']['plugins']['get'](AnnotationsUIs);_0x2c6ad1['context']===this['editor']&&(_0x2c6ad1['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x4ea2b5,_0x2e97b2)=>{const _0x74277c=this['_balloon'];if(this['isAttached']&&_0x74277c['visibleView']){const _0x259bba=this['annotations']['getByView'](_0x74277c['visibleView']);_0x259bba&&this['_closeAnnotation'](_0x259bba),_0x2e97b2();}}));}['afterInit'](){const _0x57fa1a=this['editor']['plugins']['get'](AnnotationsUIs);_0x57fa1a['context']===this['editor']&&(_0x57fa1a['hasActive']()||_0x57fa1a['switchTo']('inline'));}['setActiveAnnotation'](_0x42cb4d){_0x42cb4d!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x42cb4d&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x42cb4d)&&this['_addAnnotationToBalloon'](_0x42cb4d,!0x0),_0x42cb4d['isActive']=!0x0),_0x42cb4d||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x42cb4d);}['attach'](_0x418814){this['annotations']=_0x418814;const _0x335c47=this['editor']['plugins']['get'](AnnotationsUIs),_0x5e0aac=this['_balloon'];if(this['isAttached'])throw new _0x5f37cd['CKEditorError']('inlineannotations-attach-already-attached',this);if(_0x335c47['context']!==this['editor'])throw new _0x5f37cd['CKEditorError']('inlineannotations-not-allowed-with-context',this);const _0x477896=this['editor']['plugins']['get'](EditorAnnotations);this['listenTo'](_0x477896,'refresh',()=>{const _0x51f7c6=_0x477896['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});var _0x1d4738,_0x28f9dc;!this['_forceRefresh']&&(_0x1d4738=_0x51f7c6,_0x28f9dc=this['_selectedAnnotations'],_0x1d4738['length']===_0x28f9dc['length']&&_0x1d4738['every'](_0x157e03=>_0x28f9dc['includes'](_0x157e03)))||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x51f7c6),this['setActiveAnnotation'](_0x51f7c6[0x0]||null));}),this['listenTo'](_0x477896,'blur',(_0x87e921,{isAnnotationTracked:_0x2697a6})=>{this['activeAnnotation']&&_0x2697a6(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x477896,'uiUpdate',()=>{this['_refreshVisibilityDebounced']();}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x5b1256,_0x3ea4a9,_0x34efb8)=>{_0x34efb8||this['setActiveAnnotation'](null);}),this['listenTo'](_0x418814,'remove',(_0x126e1b,_0x3564e7)=>{this['_removeAnnotationFromBalloon'](_0x3564e7),_0x3564e7===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x5e0aac,'change:visibleView',(_0x494c90,_0x11902f,_0x182db7,_0x42248a)=>{_0x42248a&&this['stopListening'](_0x42248a);const _0xebb6f7=_0x418814['getByView'](_0x182db7);_0x182db7&&_0xebb6f7&&(this['listenTo'](_0x182db7,'change:height',()=>{_0x5e0aac['updatePosition']();}),this['listenTo'](_0x182db7,'Esc',()=>{this['_closeAnnotation'](_0xebb6f7),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0xebb6f7&&this['setActiveAnnotation'](_0xebb6f7));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x5e0aac['visibleView']&&(_0x418814['getByView'](_0x5e0aac['visibleView'])&&_0x5e0aac['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 _0x5f37cd['CKEditorError']('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x19d495 of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x19d495);this['_refreshVisibilityDebounced']['cancel'](),this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['_refreshVisibilityDebounced']['cancel']();}['_setSelectedAnnotations'](_0x5de2b3){for(const _0x4cf4c7 of this['_selectedAnnotations'])_0x5de2b3['includes'](_0x4cf4c7)||this['_manuallyClosed']['delete'](_0x4cf4c7);for(const _0x209624 of this['annotations'])_0x5de2b3['includes'](_0x209624)||this['_removeAnnotationFromBalloon'](_0x209624);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x25f114 of _0x5de2b3)this['_addAnnotationToBalloon'](_0x25f114);}this['_selectedAnnotations']=_0x5de2b3;}['_addAnnotationToBalloon'](_0x20d7c5,_0x1666a6=!0x1){this['_manuallyClosed']['has'](_0x20d7c5)||(this['_addedAnnotations']['has'](_0x20d7c5)||this['_balloon']['hasView'](_0x20d7c5['view'])||(this['_addedAnnotations']['add'](_0x20d7c5),this['_balloon']['add']({'stackId':_0x20d7c5['view']['id'],'view':_0x20d7c5['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x20d7c5)}})),_0x1666a6&&this['_balloon']['showStack'](_0x20d7c5['view']['id']));}['_getBalloonTargetForAnnotation'](_0x7eb216){const _0x2826d7=_0x7eb216['target'],_0x20b3b8=this['editor']['editing']['view'],_0x58cb5a=_0x20b3b8['document']['selection']['getFirstRange'](),_0x598074=_0x20b3b8['domConverter']['viewRangeToDom'](_0x58cb5a);if(_0x598074['collapse'](!0x0),_0x2826d7){if(_0x2826d7 instanceof _0x5f37cd['Rect'])return _0x2826d7;let _0xaf297a=[];for(const _0x38afa8 of _0x2826d7)_0xaf297a['push'](..._0x5f37cd['Rect']['getDomElementRects'](_0x38afa8));_0xaf297a=function(_0x540284){const _0x9a764c=[];let _0x19a38d=_0x540284[0x0];for(let _0x3254ad=0x1;_0x3254ad<_0x540284['length'];_0x3254ad++)if(_0x5e7b24(_0x19a38d,_0x540284[_0x3254ad])){const _0x5df7dc=_0x540284[_0x3254ad]['width'];_0x19a38d['width']+=_0x5df7dc,_0x19a38d['right']+=_0x5df7dc;}else _0x9a764c['push'](_0x19a38d),_0x19a38d=_0x540284[_0x3254ad];return _0x9a764c['push'](_0x19a38d),_0x9a764c;}(_0xaf297a);const _0x4d1798=_0x598074['getBoundingClientRect']();return _0xaf297a['find'](_0x513f4e=>_0x513f4e['top']<=_0x4d1798['top']&&_0x513f4e['bottom']>=_0x4d1798['bottom']&&_0x513f4e['left']<=_0x4d1798['left']&&_0x513f4e['right']>=_0x4d1798['right'])||_0xaf297a[0x0];}return _0x7eb216['targetRect']||_0x598074;}['_removeAnnotationFromBalloon'](_0x55b133){this['_addedAnnotations']['has'](_0x55b133)&&this['_balloon']['hasView'](_0x55b133['view'])&&(this['_addedAnnotations']['delete'](_0x55b133),this['_balloon']['remove'](_0x55b133['view']));}['_closeAnnotation'](_0x33d338){this['_manuallyClosed']['add'](_0x33d338),this['_removeAnnotationFromBalloon'](_0x33d338);}}function _0x5e7b24(_0x132598,_0x1ef64d){return _0x132598['top']===_0x1ef64d['top']&&_0x132598['bottom']===_0x1ef64d['bottom']&&_0x132598['right']===_0x1ef64d['left'];}class CommentsArchiveView extends _0x5f37cd['View']{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0x2fcb80,_0x563429){super(_0x2fcb80),this['set']('isEmpty',!_0x563429['length']),this['focusTracker']=new _0x5f37cd['FocusTracker'](),this['_annotationViews']=_0x563429,this['_annotationViews']['delegate']('arrowup','arrowdown')['to'](this),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['focusCycler']=new _0x5f37cd['FocusCycler']({'focusables':_0x563429,'focusTracker':this['focusTracker']}),this['listenTo'](_0x563429,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x563429,'remove',(_0xbcfd92,_0x4e8c07)=>{_0x4e8c07['isActive']&&this['focus'](),_0x563429['length']||(this['isEmpty']=!0x0);});const _0xbd0023=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':_0x13f69c(_0x2fcb80,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x563429},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0xbd0023['if']('isEmpty','ck-hidden',_0x5c4321=>!_0x5c4321)]},'children':[{'text':_0x13f69c(_0x2fcb80,'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 _0x5af70d of this['_annotationViews'])this['focusTracker']['add'](_0x5af70d['element']);this['_annotationViews']['on']('change',(_0x373670,{added:_0x305528,removed:_0x4a50cb})=>{for(const _0x56717c of _0x305528)this['focusTracker']['add'](_0x56717c['element']);for(const _0x4fb32f of _0x4a50cb)this['focusTracker']['remove'](_0x4fb32f['element']);});}}class CommentsArchive extends _0x5f37cd['ContextPlugin']{static get['pluginName'](){return'CommentsArchive';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsRepository,Annotations];}constructor(_0x43c5c7){super(_0x43c5c7),this['archivedThreads']=new _0x5f37cd['Collection']();}['init'](){const _0x4a0f15=this['context'],_0xaf3d68=_0x4a0f15['plugins']['get'](CommentsRepository),_0x4ac336=_0x4a0f15['plugins']['get'](Annotations);this['listenTo'](_0xaf3d68,'addCommentThread',(_0x1d51b9,{threadId:_0x6531b5})=>{const _0x58a5ab=_0xaf3d68['getCommentThread'](_0x6531b5);_0x58a5ab['archivedAt']&&this['archivedThreads']['add'](_0x58a5ab,this['_calculatePosition'](_0x58a5ab['archivedAt'])),this['listenTo'](_0x58a5ab,'change:archivedAt',(_0x148274,_0x56b88a,_0x21fb1f)=>{_0x21fb1f?this['archivedThreads']['has'](_0x58a5ab)||this['archivedThreads']['add'](_0x58a5ab,this['_calculatePosition'](_0x58a5ab['archivedAt'])):this['archivedThreads']['has'](_0x58a5ab)&&this['archivedThreads']['remove'](_0x58a5ab);});}),this['listenTo'](_0xaf3d68,'removeCommentThread',(_0x9951b2,{threadId:_0x39ffb8})=>{const _0x3755f9=_0xaf3d68['getCommentThread'](_0x39ffb8);this['stopListening'](_0x3755f9),this['archivedThreads']['has'](_0x3755f9)&&this['archivedThreads']['remove'](_0x3755f9);},{'priority':'highest'}),this['listenTo'](_0x4ac336['collection'],'focus',(_0x2baf28,_0x347fd2)=>{_0x347fd2['isVisible']||(_0x347fd2['isActive']=!0x0,_0x4ac336['activate'](_0x347fd2));});}['_calculatePosition'](_0x5e715a){const _0x7f3867=[...this['archivedThreads']]['findIndex'](_0x1b8624=>_0x1b8624['archivedAt']<_0x5e715a);return _0x7f3867>-0x1?_0x7f3867:this['archivedThreads']['length'];}}class CommentsArchiveUI extends _0x5f37cd['Plugin']{['commentsArchiveView'];['annotationViews'];['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsArchive,_0x5f37cd['Dialog']];}constructor(_0x44ea03){super(_0x44ea03),this['annotationViews']=new _0x5f37cd['ViewCollection'](),this['_pendingThreads']=[];}['init'](){const _0x36f764=this['editor'],_0x317563=this['_hideDialogOnAnnotationEscape']['bind'](this);_0x36f764['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](_0x5f37cd['ButtonView'],!0x0)),_0x36f764['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x472779=this['_createCommentsArchiveButton'](_0x5f37cd['MenuBarMenuListItemButtonView']);return _0x472779['set']({'role':'menuitemcheckbox'}),_0x472779;});const _0x5cf161=_0x36f764['plugins']['get'](CommentsArchive),_0x3b0a64=_0x36f764['plugins']['get']('Annotations'),_0x57de00=_0x36f764['plugins']['get']('CommentsRepository');_0x5cf161['archivedThreads']['forEach'](_0x271362=>{this['_handleNewThread'](_0x271362);}),this['listenTo'](_0x5cf161['archivedThreads'],'add',(_0x2886b4,_0x2b3d81)=>{this['_handleNewThread'](_0x2b3d81);}),this['listenTo'](_0x3b0a64['collection'],'add',(_0x24d6dd,_0x822fa3)=>{const _0x4f431b=this['_pendingThreads']['find'](_0xb4a94c=>{const _0x1aac15=_0x57de00['_threadToController']['get'](_0xb4a94c);return _0x1aac15&&_0x822fa3['innerView']===_0x1aac15['view'];});if(_0x4f431b){const _0x498a0f=this['_calculatePosition'](_0x4f431b['archivedAt']);this['_addAnnotationToArchive'](_0x822fa3,_0x498a0f),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x4f431b),0x1);}}),this['listenTo'](_0x5cf161['archivedThreads'],'remove',(_0x174bed,_0x3cfd00)=>{const _0x136a38=_0x36f764['config']['get']('collaboration.channelId');if(!_0x136a38||_0x3cfd00['channelId']===_0x136a38){if(this['_pendingThreads']['includes'](_0x3cfd00))this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x3cfd00),0x1);else{const _0x5246df=_0x57de00['_threadToController']['get'](_0x3cfd00),_0x345c7b=_0x3b0a64['getByInnerView'](_0x5246df['view']);this['annotationViews']['remove'](_0x345c7b['view']),this['stopListening'](_0x345c7b),this['stopListening'](_0x345c7b['focusableElements']);}}}),this['listenTo'](_0x3b0a64['collection'],'add',(_0x5a7cb0,_0x29379f)=>{this['listenTo'](_0x29379f,'escape',_0x317563);}),this['listenTo'](_0x3b0a64['collection'],'remove',(_0x2e600b,_0x1dd88d)=>{this['stopListening'](_0x1dd88d,'escape',_0x317563);});}['_addAnnotationToArchive'](_0x35dc4b,_0x59fe14){this['listenTo'](_0x35dc4b,'set:isVisible',_0xc9b414=>{_0xc9b414['return']=!0x1,_0xc9b414['stop']();}),this['annotationViews']['add'](_0x35dc4b['view'],_0x59fe14);}['_handleNewThread'](_0x5333b3){const _0x138e69=this['editor']['plugins']['get']('CommentsRepository'),_0x2dcc35=this['editor']['plugins']['get']('Annotations'),_0x5d87cf=this['editor']['config']['get']('collaboration.channelId');if(!_0x5d87cf||_0x5333b3['channelId']===_0x5d87cf){const _0xc14527=_0x138e69['_threadToController']['get'](_0x5333b3);if(!_0xc14527)return void this['_pendingThreads']['push'](_0x5333b3);const _0x52a353=this['_calculatePosition'](_0x5333b3['archivedAt']),_0x2d323a=_0x2dcc35['getByInnerView'](_0xc14527['view']);_0x2d323a['isVisible']&&_0x2dcc35['_visibleAnnotations']['remove'](_0x2d323a),this['_addAnnotationToArchive'](_0x2d323a,_0x52a353);}}['_calculatePosition'](_0x481045){const _0xa9fcbc=this['editor']['config']['get']('collaboration.channelId'),_0x2210ae=[...this['editor']['plugins']['get'](CommentsArchive)['archivedThreads']]['filter'](_0x57d9c2=>_0x57d9c2['channelId']===_0xa9fcbc)['findIndex'](_0x8d1c34=>_0x8d1c34['archivedAt']<_0x481045);return _0x2210ae<0x0||_0x2210ae>this['annotationViews']['length']?this['annotationViews']['length']:_0x2210ae-0x1;}['_toggleDialog'](){const _0x454969=this['editor'],_0x335dbf=_0x454969['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new CommentsArchiveView(_0x454969['locale'],this['annotationViews'])),'commentsArchive'===_0x335dbf['id']?_0x335dbf['hide']():_0x335dbf['show']({'id':'commentsArchive','title':_0x13f69c(_0x454969['locale'],'COMMENTS_ARCHIVE'),'icon':_0x5f37cd['IconCommentsArchive'],'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':_0x5f37cd['DialogViewPosition']['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x2899e6,_0x5c579d=!0x1){const _0x1c0942=this['editor']['locale'],_0xdbf341=this['editor']['plugins']['get']('Dialog'),_0x54f3c1=new _0x2899e6(_0x1c0942);return _0x54f3c1['bind']('isEnabled')['to'](this,'isEnabled'),_0x54f3c1['bind']('isOn')['to'](_0xdbf341,'id',_0x4aede6=>'commentsArchive'===_0x4aede6),_0x54f3c1['set']({'label':_0x13f69c(_0x1c0942,'COMMENTS_ARCHIVE'),'icon':_0x5f37cd['IconCommentsArchive'],'isToggleable':!0x0}),_0x5c579d&&(_0x54f3c1['tooltip']=!0x0),this['listenTo'](_0x54f3c1,'execute',()=>this['_toggleDialog']()),_0x54f3c1;}['_hideDialogOnAnnotationEscape']=_0x136090=>{const _0x4a3a57=_0x136090['source'];if(!this['annotationViews']['has'](_0x4a3a57['view']))return;const _0x20003d=this['editor']['plugins']['get']('Dialog');_0x20003d['isOpen']&&'commentsArchive'===_0x20003d['id']&&(_0x20003d['hide'](),_0x136090['stop']());};}class Comments extends _0x5f37cd['Plugin']{static get['requires'](){return[CommentsRepository,CommentsEditing,CommentsUI,CommentsArchive,CommentsArchiveUI,CommentsOnly,_0x27bbd6,_0x5eb0f6,InlineAnnotations];}static get['pluginName'](){return'Comments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _0x15d5c2(_0x20b12e){let _0x1119d0='';for(const _0x394dd1 of _0x20b12e['getChildren']())_0x394dd1 instanceof _0x5f37cd['ModelText']&&(_0x1119d0+=_0x394dd1['data']);return _0x1119d0;}class DocumentOutlineUtils extends _0x5f37cd['Plugin']{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x3ceb09=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x9d6e90=[];_0x3ceb09['model']['document']['on']('change',ht(()=>{const _0x57f13f=_0x9d6e90;_0x9d6e90=this['_getOutlineDefinitions']();const _0x25ceca=_0x5f37cd['diff'](_0x57f13f,_0x9d6e90,(_0x41852d,_0x4d359d)=>_0x41852d['level']===_0x4d359d['level']&&_0x41852d['text']===_0x4d359d['text']&&_0x41852d['modelElement']===_0x4d359d['modelElement']),_0xf579dc=_0x5f37cd['diffToChanges'](_0x25ceca,_0x9d6e90),_0x1f6225=this['_getActiveHeading'](),_0x569411=_0x9d6e90['findIndex'](_0xf1b126=>_0xf1b126['modelElement']===_0x1f6225);_0xf579dc['length']&&this['fire']('change',{'outlineDefinitions':_0x9d6e90,'activeItemIndex':_0x569411,'outlineChanges':_0xf579dc}),this['fire']('activeItemIndex',{'index':_0x569411});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x8a2f4b=this['editor'],_0x29f7ac=[],_0x1d228d=this['_headingNames'];for(const _0x48630e of _0x8a2f4b['model']['document']['getRootNames']())_0x583ce3(_0x8a2f4b['model']['document']['getRoot'](_0x48630e));function _0x583ce3(_0x10a710){for(const _0x73908e of _0x10a710['getChildren']())_0x73908e['is']('element')&&(_0x1d228d['includes'](_0x73908e['name'])&&_0x29f7ac['push']({'level':_0x1d228d['indexOf'](_0x73908e['name'])+0x1,'text':_0x15d5c2(_0x73908e),'modelElement':_0x73908e}),_0x583ce3(_0x73908e));}return _0x29f7ac;}['_getActiveHeading'](){const _0x12b10c=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x590ce7=new _0x5f37cd['ModelTreeWalker']({'direction':'backward','startPosition':_0x12b10c});for(const _0x4758d2 of _0x590ce7)if(_0x4758d2['item']['is']('element')&&this['_headingNames']['includes'](_0x4758d2['item']['name']))return _0x4758d2['item'];}['_getHeadingNames'](){const _0x21b767=this['editor']['config']['get']('documentOutline.headings');return _0x21b767||function(_0x91ced0){const _0x4df13f=_0x91ced0['config']['get']('heading.options');return _0x4df13f?_0x4df13f['reduce']((_0x62046d,_0x25691a)=>('paragraph'!==_0x25691a['model']&&_0x62046d['push'](_0x25691a['model']),_0x62046d),[]):_0x91ced0['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x33e8f8=this['editor'],_0x5dede9=['h1','h2','h3','h4','h5','h6'],_0x1515c0=[];for(const _0x3643ea of _0x5dede9){const _0x533d86=_0x33e8f8['editing']['view']['domConverter']['domToView'](document['createElement'](_0x3643ea)),_0x5d5321=_0x33e8f8['data']['toModel'](_0x533d86)['getChild'](0x0);_0x5d5321?.['is']('element')&&_0x1515c0['push'](_0x5d5321['name']);}this['_headingNames']=_0x1515c0;}}function _0xde74bf(_0x13c992,_0x388b35){const t=_0x13c992['t'];switch(_0x388b35){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 _0x388b35;}}class DocumentOutlineItemView extends _0x5f37cd['View']{constructor(_0x3bc335,_0x3e3c32=!0x1){super(_0x3bc335);const _0x457415=this['bindTemplate'],_0x3b945d=_0x3e3c32?'['+_0xde74bf(_0x3bc335,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x1d8357=>!_0x1d8357),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x457415['to']('level',_0x1e3de1=>'ck-document-outline__item_level-'+_0x1e3de1),_0x457415['if']('isActive','ck-document-outline__item_active'),_0x457415['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x457415['to']('text')},'children':[{'text':_0x457415['to']('text',_0x4c8563=>_0x4c8563||_0x3b945d)}],'on':{'click':_0x457415['to']('click')}});}}class DocumentOutlineView extends _0x5f37cd['View']{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x3e6222,_0x71c81b=!0x1,_0x39eb6c){super(_0x3e6222),this['showEmptyHeadingText']=_0x71c81b,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x39eb6c,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0xcb6926,_0x229b67,_0x38e865,_0x170334)=>{this['_setActiveItem'](_0x170334,_0x38e865);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x3e6222['contentLanguageDirection'],'data-document-outline-empty-placeholder':_0xde74bf(_0x3e6222,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x21f2c9){_0x21f2c9['forEach'](_0x32db66=>{'insert'==_0x32db66['type']?this['_insertItem'](_0x32db66['index'],..._0x32db66['values']):'delete'==_0x32db66['type']&&this['_deleteItem'](_0x32db66['index'],_0x32db66['howMany']);});}['_setActiveItem'](_0x4e4505,_0x32a156){if(-0x1!==_0x4e4505){const _0x1e51db=this['items']['get'](_0x4e4505);_0x1e51db&&(_0x1e51db['isActive']=!0x1);}-0x1!==_0x32a156&&(this['items']['get'](_0x32a156)['isActive']=!0x0,this['_scrollToItem'](_0x32a156));}['_insertItem'](_0x4c79d6,..._0x5d9bdd){const _0x3180de=_0x5d9bdd['map']((_0x1a81d7,_0x5567c1)=>{const _0x4179bd=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0x4179bd['text']=_0x1a81d7['text'],_0x4179bd['level']=_0x1a81d7['level'],_0x4c79d6+_0x5567c1===this['activeItemIndex']&&(_0x4179bd['isActive']=!0x0),_0x4179bd;});this['items']['addMany'](_0x3180de,_0x4c79d6);}['_deleteItem'](_0x3c2f3e,_0x45461d){do{this['items']['remove'](_0x3c2f3e);}while(--_0x45461d);}['_handleItemClick'](_0x282025){const _0x385994=this['items']['getIndex'](_0x282025['source']);this['fire']('itemSelected',_0x385994);}['_scrollToItem'](_0x332bb2){_0x5f37cd['scrollAncestorsToShowTarget'](this['items']['get'](_0x332bb2)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class DocumentOutlineUI extends _0x5f37cd['Plugin']{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3eddb1){super(_0x3eddb1),this['view']=new DocumentOutlineView(_0x3eddb1['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 _0x567e36=this['editor'],_0x124492=_0x567e36['plugins']['get']('DocumentOutlineUtils');let _0x128bcd=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x567e36['config']['get']('documentOutline.container'))throw new _0x5f37cd['CKEditorError']('document-outline-container-not-provided',{'editor':_0x567e36});_0x567e36['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x124492['on']('change',this['_handleOutlineChange']['bind'](this)),_0x124492['on']('activeItemIndex',(_0x327645,{index:_0x5096fc})=>this['_setActiveViewItem'](_0x5096fc)),this['view']['on']('itemSelected',(_0x5d79ce,_0x5e52dc)=>{_0x128bcd=!0x0,this['_handleItemSelected'](_0x5e52dc);}),this['view']['listenTo'](_0x5f37cd['global']['document'],'scroll',()=>{_0x128bcd?_0x128bcd=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x5f37cd['global']['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x4ede74){const _0x2cbea7=_0x1b6f66([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]),_0x3c10b1=0x1cb264a3,_0x2aff61=0x1cb5ef73^_0x3c10b1,_0x225d40=window[_0x1b6f66([0x44,0x61,0x74,0x65])][_0x1b6f66([0x6e,0x6f,0x77])](),_0x541759=_0x4ede74[_0x1b6f66([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1652ac=new window[(_0x1b6f66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57b18f=>{_0x541759[_0x1b6f66([0x6f,0x6e,0x63,0x65])](_0x1b6f66([0x72,0x65,0x61,0x64,0x79]),_0x57b18f);}),_0x40373e={[_0x1b6f66([0x6b,0x74,0x79])]:_0x1b6f66([0x45,0x43]),[_0x1b6f66([0x75,0x73,0x65])]:_0x1b6f66([0x73,0x69,0x67]),[_0x1b6f66([0x63,0x72,0x76])]:_0x1b6f66([0x50,0x2d,0x32,0x35,0x36]),[_0x1b6f66([0x78])]:_0x1b6f66([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]),[_0x1b6f66([0x79])]:_0x1b6f66([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]),[_0x1b6f66([0x61,0x6c,0x67])]:_0x1b6f66([0x45,0x53,0x32,0x35,0x36])},_0x4cfbd1=_0x541759[_0x1b6f66([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b6f66([0x67,0x65,0x74])](_0x1b6f66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x420c16(){let _0x3bc71f,_0x2eb9ff=null,_0x10ea24=null;try{if(_0x4cfbd1==_0x1b6f66([0x47,0x50,0x4c]))return _0x1b6f66([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3bc71f=_0x49b816(),!_0x3bc71f)return _0x1b6f66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3bc71f[_0x1b6f66([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x10ea24=_0x280bf1(_0x3bc71f[_0x1b6f66([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3bc71f[_0x1b6f66([0x6a,0x74,0x69])])),await _0x19d3b9()?_0xafda67()?_0x1fb0f1()?_0x1b6f66([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2726a4()?(_0x3bc71f[_0x1b6f66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b6f66([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2eb9ff=_0x1660ea(_0x1b6f66([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe18cb5()):_0x1b6f66([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b6f66([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b6f66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1b6f66([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1fb0f1(){const _0x189386=[_0x1b6f66([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b6f66([0x74,0x72,0x69,0x61,0x6c])][_0x1b6f66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bc71f[_0x1b6f66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x225d40/0x3e8:0xe10*_0x2aff61;return _0x3bc71f[_0x1b6f66([0x65,0x78,0x70])]<_0x189386;}function _0xafda67(){const _0x539165=_0x3bc71f[_0x1b6f66([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x539165&&(!!_0x539165[_0x1b6f66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b6f66([0x2a]))||(!!_0x539165[_0x1b6f66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b6f66([0x44,0x4f]))||(!!_0x539165[_0x1b6f66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b6f66([0x50,0x50]))||!(!_0x539165[_0x1b6f66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b6f66([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x131c66()))));}function _0x2726a4(){const _0x42067f=_0x3bc71f[_0x1b6f66([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x42067f||0x0==_0x42067f[_0x1b6f66([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x16528e}=new URL(window[_0x1b6f66([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x42067f[_0x1b6f66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16528e))return!0x0;const _0x3adb86=_0x16528e[_0x1b6f66([0x73,0x70,0x6c,0x69,0x74])](_0x1b6f66([0x2e]));return _0x42067f[_0x1b6f66([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2dbcb7=>_0x2dbcb7[_0x1b6f66([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b6f66([0x2a])))[_0x1b6f66([0x6d,0x61,0x70])](_0x1acaf0=>_0x1acaf0[_0x1b6f66([0x73,0x70,0x6c,0x69,0x74])](_0x1b6f66([0x2e])))[_0x1b6f66([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15b301=>_0x15b301[_0x1b6f66([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3adb86[_0x1b6f66([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b6f66([0x6d,0x61,0x70])](_0x35e0b4=>Array(_0x3adb86[_0x1b6f66([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x35e0b4[_0x1b6f66([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b6f66([0x66,0x69,0x6c,0x6c])](_0x35e0b4[0x0]===_0x1b6f66([0x2a])?_0x1b6f66([0x2a]):'')[_0x1b6f66([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x35e0b4))[_0x1b6f66([0x73,0x6f,0x6d,0x65])](_0x393268=>_0x3adb86[_0x1b6f66([0x65,0x76,0x65,0x72,0x79])]((_0x2d0542,_0x1285cf)=>_0x393268[_0x1285cf]===_0x2d0542||_0x393268[_0x1285cf]===_0x1b6f66([0x2a])));}function _0xe18cb5(){return _0x2eb9ff&&_0x10ea24?new window[(_0x1b6f66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9fde9f,_0x39cfdc)=>{_0x2eb9ff[_0x1b6f66([0x74,0x68,0x65,0x6e])](_0x9fde9f,_0x39cfdc),_0x10ea24[_0x1b6f66([0x74,0x68,0x65,0x6e])](_0x2fa339=>{_0x2fa339!=_0x1b6f66([0x56,0x61,0x6c,0x69,0x64])&&_0x9fde9f(_0x2fa339);},_0x39cfdc);}):_0x2eb9ff||_0x10ea24||_0x1b6f66([0x56,0x61,0x6c,0x69,0x64]);}}function _0x280bf1(_0x19990d,_0x43a39c){return new window[(_0x1b6f66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37ba9d=>{if(_0x5e822e())return _0x37ba9d(_0x1b6f66([0x56,0x61,0x6c,0x69,0x64]));_0x596955(),_0x541759[_0x1b6f66([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b6f66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x435c3b=!0x1;const _0x2fdd04=_0x5f37cd['uid']();function _0x10c288(_0x295e62){return!!_0x295e62&&(typeof _0x295e62===_0x1b6f66([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x295e62===_0x1b6f66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x295e62[_0x1b6f66([0x74,0x68,0x65,0x6e])]===_0x1b6f66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x295e62[_0x1b6f66([0x63,0x61,0x74,0x63,0x68])]===_0x1b6f66([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5425d3(_0x3cf00e){_0x132250(_0x3cf00e)[_0x1b6f66([0x74,0x68,0x65,0x6e])](_0x4c8dbf=>{if(!_0x4c8dbf||_0x4c8dbf[_0x1b6f66([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b6f66([0x6f,0x6b]))return _0x1b6f66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x828d53(_0x27371a(_0x2fdd04+_0x43a39c))!=_0x4c8dbf[_0x1b6f66([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b6f66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b6f66([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b6f66([0x74,0x68,0x65,0x6e])](_0x1e6b8d=>(_0x3e14b1(),_0x1e6b8d),()=>{const _0x42c49b=_0x647dcd();return null==_0x42c49b?(_0x3e14b1(),_0x1b6f66([0x56,0x61,0x6c,0x69,0x64])):_0x1b6f66(_0x225d40-_0x42c49b>(0x38bee0a3^_0x3c10b1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b6f66([0x74,0x68,0x65,0x6e])](_0x37ba9d)[_0x1b6f66([0x63,0x61,0x74,0x63,0x68])](()=>{_0x37ba9d(_0x1b6f66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1261eb=0x1c848a23^_0x3c10b1;function _0x3e14b1(){const _0x1e67c1=_0x1b6f66([0x6c,0x6c,0x63,0x74,0x2d])+_0x828d53(_0x27371a(_0x19990d)),_0x538e16=_0x54e5a3(_0x828d53(window[_0x1b6f66([0x4d,0x61,0x74,0x68])][_0x1b6f66([0x63,0x65,0x69,0x6c])](_0x225d40/_0x1261eb)));window[_0x1b6f66([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b6f66([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e67c1,_0x538e16);}function _0x647dcd(){const _0x3c8c91=_0x1b6f66([0x6c,0x6c,0x63,0x74,0x2d])+_0x828d53(_0x27371a(_0x19990d)),_0x597035=window[_0x1b6f66([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b6f66([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c8c91);return _0x597035?window[_0x1b6f66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54e5a3(_0x597035),0x10)*_0x1261eb:null;}function _0x132250(_0x4603ea){return new window[(_0x1b6f66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x26cf61,_0x3b3b7e)=>{_0x4603ea[_0x1b6f66([0x74,0x68,0x65,0x6e])](_0x26cf61,_0x3b3b7e),window[_0x1b6f66([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b3b7e,0x1cb3b063^_0x3c10b1);});}}_0x541759[_0x1b6f66([0x6f,0x6e])](_0x1b6f66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1bc7c1,_0x41e9de)=>{if(_0x41e9de[0x0]!=_0x19990d)return _0x37ba9d(_0x1b6f66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x41e9de[0x1]={..._0x41e9de[0x1],[_0x1b6f66([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2fdd04};},{[_0x1b6f66([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b6f66([0x68,0x69,0x67,0x68])}),_0x541759[_0x1b6f66([0x6f,0x6e])](_0x1b6f66([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x46bb39=>{_0x10c288(_0x46bb39[_0x1b6f66([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x435c3b=!0x0,_0x5425d3(_0x46bb39[_0x1b6f66([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b6f66([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b6f66([0x6c,0x6f,0x77])}),_0x1652ac[_0x1b6f66([0x74,0x68,0x65,0x6e])](()=>{_0x435c3b||_0x37ba9d(_0x1b6f66([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e822e(){return _0x541759[_0x1b6f66([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b6f66([0x76,0x69,0x65,0x77])][_0x1b6f66([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b6f66([0x61,0x75,0x74,0x6f]);}function _0x596955(){_0x541759[_0x1b6f66([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b6f66([0x76,0x69,0x65,0x77])][_0x1b6f66([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b6f66([0x61,0x75,0x74,0x6f]);}}function _0x1660ea(_0x53951f){const _0x791f83=[new window[(_0x1b6f66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7927bd=>setTimeout(_0x7927bd,0x1cbb5a6f^_0x3c10b1)),_0x1652ac[_0x1b6f66([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b6f66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a6898=>{let _0x50a03d=0x0;_0x541759[_0x1b6f66([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b6f66([0x6f,0x6e])](_0x1b6f66([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x376016,_0x11ad76)=>{_0x11ad76[0x0][_0x1b6f66([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x50a03d++,_0x50a03d==(0x1cb2614b^_0x3c10b1)&&(_0x1a6898(),_0x376016[_0x1b6f66([0x6f,0x66,0x66])]());});}))];return window[_0x1b6f66([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b6f66([0x72,0x61,0x63,0x65])](_0x791f83)[_0x1b6f66([0x74,0x68,0x65,0x6e])](()=>_0x53951f);}async function _0x209653(){await _0x1652ac,_0x541759[_0x1b6f66([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b6f66([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x334802,_0x541759[_0x1b6f66([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b6f66([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x334802,_0x541759[_0x1b6f66([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b6f66([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x131c66(){return window[_0x1b6f66([0x67,0x6c,0x6f,0x62])]&&window[_0x1b6f66([0x67,0x6c,0x6f,0x62])][_0x1b6f66([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x3732b0(_0x56f282){const _0x50b4bd=_0x4a9bc5();_0x541759[_0x50b4bd]=_0x1b6f66([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])+_0x56f282,_0x56f282!=_0x1b6f66([0x56,0x61,0x6c,0x69,0x64])&&_0x209653();}function _0x4a9bc5(){const _0x4b8b0a=window[_0x1b6f66([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b6f66([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b6f66([0x6e,0x6f,0x77])]())[_0x1b6f66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b6f66([0x2e]),'');let _0x1140ff=_0x1b6f66([0x61]);for(let _0x34b45a=0x0;_0x34b45a<_0x4b8b0a[_0x1b6f66([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34b45a+=0x2){let _0x25c061=window[_0x1b6f66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b8b0a[_0x1b6f66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x34b45a,_0x34b45a+0x2));_0x25c061>=_0x2cbea7[_0x1b6f66([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x25c061-=_0x2cbea7[_0x1b6f66([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1140ff+=_0x2cbea7[_0x25c061];}return _0x1140ff;}function _0x49b816(){const _0x5b9118=_0x4cfbd1[_0x1b6f66([0x73,0x70,0x6c,0x69,0x74])](_0x1b6f66([0x2e]));if(0x3!=_0x5b9118[_0x1b6f66([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x10beef(_0x5b9118[0x1]);function _0x10beef(_0x43fda1){const _0x405729=_0x204f34(_0x43fda1);return _0x405729&&_0x2a9e75()?_0x405729:null;function _0x2a9e75(){const _0x7df669=_0x405729[_0x1b6f66([0x6a,0x74,0x69])],_0x4e42f6=window[_0x1b6f66([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7df669[_0x1b6f66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7df669[_0x1b6f66([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3971bf={..._0x405729,[_0x1b6f66([0x6a,0x74,0x69])]:_0x7df669[_0x1b6f66([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x7df669[_0x1b6f66([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3971bf[_0x1b6f66([0x76,0x63])],_0x27371a(_0x3971bf)==_0x4e42f6;}}}async function _0x19d3b9(){let _0x1b598d=!0x0;try{const _0x1352dc=_0x4cfbd1[_0x1b6f66([0x73,0x70,0x6c,0x69,0x74])](_0x1b6f66([0x2e])),[_0x7ccdb9,_0x55cc0c,_0x5b02ea]=_0x1352dc;return _0x5e1670(_0x7ccdb9),await _0xb7009a(_0x7ccdb9,_0x55cc0c,_0x5b02ea),_0x1b598d;}catch{return!0x1;}function _0x5e1670(_0xc09b66){const _0x4b2471=_0x204f34(_0xc09b66);_0x4b2471&&_0x4b2471[_0x1b6f66([0x61,0x6c,0x67])]==_0x1b6f66([0x45,0x53,0x32,0x35,0x36])||(_0x1b598d=!0x1);}async function _0xb7009a(_0xc980da,_0x58a214,_0x152d46){const _0x7beaa6=window[_0x1b6f66([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b6f66([0x66,0x72,0x6f,0x6d])](_0x13c83b(_0x152d46),_0x55866c=>_0x55866c[_0x1b6f66([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x90f6b7=new window[(_0x1b6f66([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b6f66([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc980da+_0x1b6f66([0x2e])+_0x58a214),_0x2189c0=window[_0x1b6f66([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b6f66([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2189c0)return;const _0x4311d2=await _0x2189c0[_0x1b6f66([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b6f66([0x6a,0x77,0x6b]),_0x40373e,{[_0x1b6f66([0x6e,0x61,0x6d,0x65])]:_0x1b6f66([0x45,0x43,0x44,0x53,0x41]),[_0x1b6f66([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b6f66([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b6f66([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2189c0[_0x1b6f66([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b6f66([0x6e,0x61,0x6d,0x65])]:_0x1b6f66([0x45,0x43,0x44,0x53,0x41]),[_0x1b6f66([0x68,0x61,0x73,0x68])]:{[_0x1b6f66([0x6e,0x61,0x6d,0x65])]:_0x1b6f66([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4311d2,_0x7beaa6,_0x90f6b7)||(_0x1b598d=!0x1);}}function _0x204f34(_0xfcdfca){return _0xfcdfca[_0x1b6f66([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b6f66([0x65,0x79]))?JSON[_0x1b6f66([0x70,0x61,0x72,0x73,0x65])](_0x13c83b(_0xfcdfca)):null;}function _0x13c83b(_0x59d113){return window[_0x1b6f66([0x61,0x74,0x6f,0x62])](_0x59d113[_0x1b6f66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b6f66([0x2b]))[_0x1b6f66([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b6f66([0x2f])));}function _0x27371a(_0x57a15b){let _0x22a657=0x1505;function _0x55a8de(_0x5aa005){for(let _0x53362b=0x0;_0x53362b<_0x5aa005[_0x1b6f66([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53362b++){const _0x405664=_0x5aa005[_0x1b6f66([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53362b);_0x22a657=(_0x22a657<<0x5)+_0x22a657+_0x405664,_0x22a657&=_0x22a657;}}function _0x4f3248(_0x240a1a){Array[_0x1b6f66([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x240a1a)?_0x240a1a[_0x1b6f66([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f3248):_0x240a1a&&typeof _0x240a1a==_0x1b6f66([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b6f66([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x240a1a)[_0x1b6f66([0x73,0x6f,0x72,0x74])]()[_0x1b6f66([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4bfdfd,_0x4c7c0a])=>{_0x55a8de(_0x4bfdfd),_0x4f3248(_0x4c7c0a);}):_0x55a8de(window[_0x1b6f66([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x240a1a));}return _0x4f3248(_0x57a15b),_0x22a657>>>0x0;}function _0x828d53(_0x470a32){return _0x470a32[_0x1b6f66([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b6f66([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b6f66([0x30]));}function _0x54e5a3(_0x41726b){return _0x41726b[_0x1b6f66([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b6f66([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b6f66([0x6a,0x6f,0x69,0x6e])]('');}function _0x334802(){}function _0x1b6f66(_0x5cc078){return _0x5cc078['map'](_0x530d55=>String['fromCharCode'](_0x530d55))['join']('');}_0x3732b0(await _0x420c16());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x38c188,{outlineDefinitions:_0x4af8e5,outlineChanges:_0xca3bca}){this['_currentOutlineDefinitions']=_0x4af8e5,this['view']['sync'](_0xca3bca);}['_setActiveViewItem'](_0x29b782){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x29b782]&&(this['view']['activeItemIndex']=_0x29b782);}['_handleItemSelected'](_0x391b05){const _0x380b5f=this['_currentOutlineDefinitions'][_0x391b05]['modelElement'];this['editor']['model']['change'](_0xa6be58=>{_0xa6be58['setSelection'](_0x380b5f,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x391b05);}['_updateActiveDefinitionOnViewportChange'](){const _0x2a6d2d=this['editor'];let _0x47f91a;for(const _0x1b2a77 of _0x2a6d2d['model']['document']['getRootNames']()){const _0x68f652=_0x2a6d2d['editing']['view']['getDomRoot'](_0x1b2a77),_0x435618=_0x68f652&&new _0x5f37cd['Rect'](_0x68f652)['getVisible']();if(_0x435618){const _0x21777e=new _0x5f37cd['Rect'](_0x5f37cd['global']['window'])['getIntersection'](_0x435618);_0x21777e&&(_0x47f91a=_0x21777e['top']+0.25*_0x21777e['height']);}}if(void 0x0===_0x47f91a)return;const _0x5ee5eb=_0x110c9c(_0x2a6d2d['editing'],this['_currentOutlineDefinitions'],_0x47f91a);_0x5ee5eb?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x5ee5eb)):this['_setActiveViewItem'](-0x1);}}function _0x110c9c(_0xa5e0b2,_0x344bf2,_0x241a99,_0x11ca3c=0x0,_0x24cb3d=_0x344bf2['length']-0x1){const _0x352dc0=Math['floor'](_0x11ca3c+(_0x24cb3d-_0x11ca3c)/0x2);if(_0x24cb3d>=_0x11ca3c){const _0x23fe2f=_0x344bf2[_0x352dc0],_0x1d0248=_0xa5e0b2['mapper']['toViewElement'](_0x23fe2f['modelElement']);if(!_0x1d0248)return null;const _0x244419=_0xa5e0b2['view']['domConverter']['mapViewToDom'](_0x1d0248);return new _0x5f37cd['Rect'](_0x244419)['bottom']>_0x241a99?_0x110c9c(_0xa5e0b2,_0x344bf2,_0x241a99,_0x11ca3c,_0x352dc0-0x1):_0x110c9c(_0xa5e0b2,_0x344bf2,_0x241a99,_0x352dc0+0x1,_0x24cb3d);}return _0x352dc0<0x0?null:_0x344bf2[_0x352dc0];}class DocumentOutline extends _0x5f37cd['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 _0x17bf55=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c27a5;for(const _0x586fac in _0x17bf55){const _0x5aef9f=_0x586fac,_0x21266c=_0x17bf55[_0x5aef9f];if('documentOutlineLicenseKeyValid'==_0x21266c||'documentOutlineLicenseKeyInvalid'==_0x21266c||'documentOutlineLicenseKeyExpired'==_0x21266c||'documentOutlineLicenseKeyDomainLimit'==_0x21266c||'documentOutlineLicenseKeyNotAllowed'==_0x21266c||'documentOutlineLicenseKeyEvaluationLimit'==_0x21266c||'documentOutlineLicenseKeyUsageLimit'==_0x21266c){delete _0x17bf55[_0x5aef9f],_0x4c27a5=_0x21266c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x4c27a5&&_0x17bf55['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x4c27a5&&_0x17bf55['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x4c27a5&&_0x17bf55['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x4c27a5&&_0x17bf55['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x4c27a5&&_0x17bf55['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x4c27a5&&_0x17bf55['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends _0x5f37cd['Command']{['execute'](){this['editor']['model']['change'](_0x3e2d95=>{this['editor']['model']['insertObject'](_0x3e2d95['createElement']('tableOfContents'));});}['refresh'](){const _0x3c4ccc=this['editor']['model'],_0x448b6f=_0x3c4ccc['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x448b6f&&_0x3c4ccc['schema']['findAllowedParent'](_0x448b6f,'tableOfContents'));}}class _0x278aa2 extends _0x5f37cd['Plugin']{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x1d0d20=this['editor'];if(_0x1d0d20['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x4ccc13,modelNames:_0x3d2bd8}=function(_0x3a908e){const _0x1f3ac9=new Set(),_0x406728=new Set();if(!_0x3a908e)return{'viewNames':_0x1f3ac9,'modelNames':_0x406728};for(const _0x1e253c of _0x3a908e){if('paragraph'===_0x1e253c['model'])continue;const _0x1e2d30='string'==typeof _0x1e253c['view']?_0x1e253c['view']:_0x1e253c['view']['name'];_0x1f3ac9['add'](_0x1e2d30),_0x406728['add'](_0x1e253c['model']);}return _0x1f3ac9['has']('h1')||(_0x1f3ac9['add']('h1'),_0x406728['add']('heading1')),{'viewNames':_0x1f3ac9,'modelNames':_0x406728};}(this['editor']['config']['get']('heading.options'));for(const _0x816316 of _0x4ccc13)this['_customUpcastHeadingsConversion'](_0x816316);for(const _0x451518 of _0x3d2bd8)this['_customDataDowncastHeadingsConversion'](_0x451518),_0x1d0d20['model']['schema']['isRegistered'](_0x451518)&&_0x1d0d20['model']['schema']['extend'](_0x451518,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x3d2bd8);}['_customUpcastHeadingsConversion'](_0x53167f){this['editor']['conversion']['for']('upcast')['add'](_0x1d778a=>_0x1d778a['on']('element:'+_0x53167f,(_0x8f8c44,_0x1ef60b,_0x48b70e)=>{const {consumable:_0x3a3be9,writer:_0x31e97c}=_0x48b70e,_0x571632=_0x1ef60b['viewItem']['getAttribute']('id'),_0x245905=_0x1ef60b['modelRange']?.['getContainedElement']();if(_0x245905)return _0x571632&&_0x571632['length']||_0x245905['hasAttribute']('headingId')?void(_0x3a3be9['consume'](_0x1ef60b['viewItem'],{'attributes':['id']})&&_0x31e97c['setAttribute']('headingId',_0x571632,_0x245905)):(_0x3a3be9['consume'](_0x1ef60b['viewItem'],{'attributes':['id']}),void _0x31e97c['setAttribute']('headingId',_0x5f37cd['uid'](),_0x245905));},{'priority':_0x5f37cd['priorities']['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x3478d0){this['editor']['conversion']['for']('downcast')['add'](_0xe65f7e=>_0xe65f7e['on']('attribute:headingId:'+_0x3478d0,(_0x5c660c,_0x2fdbe0,_0x246e65)=>{if(!_0x246e65['consumable']['consume'](_0x2fdbe0['item'],_0x5c660c['name']))return;const _0x105184=_0x2fdbe0['item']['getAttribute']('headingId'),_0x5d6f24=_0x246e65['mapper']['toViewElement'](_0x2fdbe0['item']);_0x246e65['writer']['setAttribute']('id',_0x105184,_0x5d6f24);}));}['_registerHeadingIdAttributePostfixer'](_0x3e079e){const _0x17519c=this['editor'],_0x25e989=new Set(),_0x514fbb=new Set();function _0x578b5a(_0x46f88c,_0x190b64){const _0x28e291=_0x5f37cd['uid']();return _0x514fbb['add'](_0x28e291),_0x46f88c['setAttribute']('headingId',_0x28e291,_0x190b64),_0x28e291;}function _0x9a347d(_0x50a3db,_0x32f6dc){_0x50a3db['removeAttribute']('headingId',_0x32f6dc);}_0x17519c['model']['document']['registerPostFixer'](_0x50c443=>{const _0x3d03c6=_0x17519c['model']['document']['differ']['getChanges']();let _0x343226=!0x1;for(const _0x357dc4 of _0x3d03c6)if('insert'==_0x357dc4['type']&&_0x357dc4['name']){if(_0x3e079e['has'](_0x357dc4['name'])){const _0x3c0256=_0x357dc4['attributes']['get']('headingId');'string'==typeof _0x3c0256?_0x25e989['has'](_0x3c0256)?(_0x578b5a(_0x50c443,_0x357dc4['position']['nodeAfter']),_0x343226=!0x0):_0x514fbb['add'](_0x3c0256):(_0x578b5a(_0x50c443,_0x357dc4['position']['nodeAfter']),_0x343226=!0x0);}else'string'==typeof _0x357dc4['attributes']['get']('headingId')&&(_0x9a347d(_0x50c443,_0x357dc4['position']['nodeAfter']),_0x343226=!0x0);}else{if('remove'==_0x357dc4['type']){const _0x22e23c=_0x357dc4['attributes']['get']('headingId');'string'==typeof _0x22e23c&&_0x25e989['delete'](_0x22e23c);}}return _0x343226;}),_0x17519c['model']['document']['on']('change',()=>{_0x514fbb['forEach'](_0x5521ee=>_0x25e989['add'](_0x5521ee)),_0x514fbb['clear']();});}}class TableOfContentsEditing extends _0x5f37cd['Plugin']{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5f37cd['Widget'],DocumentOutlineUtils,_0x278aa2];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x1fe891){super(_0x1fe891),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0xd07318=this['editor'],_0x30ba46=_0xd07318['editing']['view']['document'];_0xd07318['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0xd07318['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x30ba46,'click',(_0x5c35dd,_0x18e474)=>{if(!_0x18e474['target'])return;const _0x1c63ac=_0x18e474['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x1c63ac)&&(_0x18e474['domEvent']['preventDefault'](),_0x5c35dd['stop'](),this['_handleScrollToHeading'](_0x1c63ac));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0xd07318['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0xd07318));const _0x40d0a4=_0xd07318['config']['get']('tableOfContents.headings');if(_0x40d0a4&&_0x40d0a4['length'])this['listenTo'](_0xd07318['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x40d0a4),this['_updateTableOfContentsElements']();});else _0xd07318['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x42d9d1,_0x5a4085)=>{this['_currentOutlineDefinitions']=_0x5a4085['outlineDefinitions'],this['_updateTableOfContentsElements']();});this['listenTo'](_0xd07318['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x224daa){const _0x14a0d5=_0x3980a6([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]),_0x8111f=0x6b9b05fd,_0x55db8b=0x6b9c8e2d^_0x8111f,_0x4012cc=window[_0x3980a6([0x44,0x61,0x74,0x65])][_0x3980a6([0x6e,0x6f,0x77])](),_0x10e13a=_0x224daa[_0x3980a6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ce0dd=new window[(_0x3980a6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x100a6b=>{_0x10e13a[_0x3980a6([0x6f,0x6e,0x63,0x65])](_0x3980a6([0x72,0x65,0x61,0x64,0x79]),_0x100a6b);}),_0x13a185={[_0x3980a6([0x6b,0x74,0x79])]:_0x3980a6([0x45,0x43]),[_0x3980a6([0x75,0x73,0x65])]:_0x3980a6([0x73,0x69,0x67]),[_0x3980a6([0x63,0x72,0x76])]:_0x3980a6([0x50,0x2d,0x32,0x35,0x36]),[_0x3980a6([0x78])]:_0x3980a6([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]),[_0x3980a6([0x79])]:_0x3980a6([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]),[_0x3980a6([0x61,0x6c,0x67])]:_0x3980a6([0x45,0x53,0x32,0x35,0x36])},_0x4bfbac=_0x10e13a[_0x3980a6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3980a6([0x67,0x65,0x74])](_0x3980a6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3461a0(){let _0x34c618,_0x5ce787=null,_0x1f5aee=null;try{if(_0x4bfbac==_0x3980a6([0x47,0x50,0x4c]))return _0x3980a6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x34c618=_0x57c634(),!_0x34c618)return _0x3980a6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x34c618[_0x3980a6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1f5aee=_0x6afda(_0x34c618[_0x3980a6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x34c618[_0x3980a6([0x6a,0x74,0x69])])),await _0x2c2e85()?_0xb90184()?_0x5e2a1b()?_0x3980a6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x223ebd()?(_0x34c618[_0x3980a6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3980a6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ce787=_0x4ab4a9(_0x3980a6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5cae55()):_0x3980a6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3980a6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3980a6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3980a6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e2a1b(){const _0x330024=[_0x3980a6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3980a6([0x74,0x72,0x69,0x61,0x6c])][_0x3980a6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x34c618[_0x3980a6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4012cc/0x3e8:0xe10*_0x55db8b;return _0x34c618[_0x3980a6([0x65,0x78,0x70])]<_0x330024;}function _0xb90184(){const _0xdae49f=_0x34c618[_0x3980a6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xdae49f&&(!!_0xdae49f[_0x3980a6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3980a6([0x2a]))||(!!_0xdae49f[_0x3980a6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3980a6([0x54,0x4f,0x43]))||(!!_0xdae49f[_0x3980a6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3980a6([0x50,0x50]))||!(!_0xdae49f[_0x3980a6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3980a6([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x56154a()))));}function _0x223ebd(){const _0x222bed=_0x34c618[_0x3980a6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x222bed||0x0==_0x222bed[_0x3980a6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x112e72}=new URL(window[_0x3980a6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x222bed[_0x3980a6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x112e72))return!0x0;const _0xb007a5=_0x112e72[_0x3980a6([0x73,0x70,0x6c,0x69,0x74])](_0x3980a6([0x2e]));return _0x222bed[_0x3980a6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3532c2=>_0x3532c2[_0x3980a6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3980a6([0x2a])))[_0x3980a6([0x6d,0x61,0x70])](_0x521155=>_0x521155[_0x3980a6([0x73,0x70,0x6c,0x69,0x74])](_0x3980a6([0x2e])))[_0x3980a6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49a5ff=>_0x49a5ff[_0x3980a6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xb007a5[_0x3980a6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3980a6([0x6d,0x61,0x70])](_0x570d4f=>Array(_0xb007a5[_0x3980a6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x570d4f[_0x3980a6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3980a6([0x66,0x69,0x6c,0x6c])](_0x570d4f[0x0]===_0x3980a6([0x2a])?_0x3980a6([0x2a]):'')[_0x3980a6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x570d4f))[_0x3980a6([0x73,0x6f,0x6d,0x65])](_0x15db86=>_0xb007a5[_0x3980a6([0x65,0x76,0x65,0x72,0x79])]((_0x6fadfd,_0x12d2d7)=>_0x15db86[_0x12d2d7]===_0x6fadfd||_0x15db86[_0x12d2d7]===_0x3980a6([0x2a])));}function _0x5cae55(){return _0x5ce787&&_0x1f5aee?new window[(_0x3980a6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20edd6,_0xb5daa3)=>{_0x5ce787[_0x3980a6([0x74,0x68,0x65,0x6e])](_0x20edd6,_0xb5daa3),_0x1f5aee[_0x3980a6([0x74,0x68,0x65,0x6e])](_0x2d7fcb=>{_0x2d7fcb!=_0x3980a6([0x56,0x61,0x6c,0x69,0x64])&&_0x20edd6(_0x2d7fcb);},_0xb5daa3);}):_0x5ce787||_0x1f5aee||_0x3980a6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x6afda(_0x379f5d,_0x2fd23f){return new window[(_0x3980a6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x65bda3=>{if(_0x224d41())return _0x65bda3(_0x3980a6([0x56,0x61,0x6c,0x69,0x64]));_0x38b1da(),_0x10e13a[_0x3980a6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3980a6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4afaac=!0x1;const _0x569c2b=_0x5f37cd['uid']();function _0x1356ba(_0x124858){return!!_0x124858&&(typeof _0x124858===_0x3980a6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x124858===_0x3980a6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x124858[_0x3980a6([0x74,0x68,0x65,0x6e])]===_0x3980a6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x124858[_0x3980a6([0x63,0x61,0x74,0x63,0x68])]===_0x3980a6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x10b443(_0x5b52aa){_0x58691e(_0x5b52aa)[_0x3980a6([0x74,0x68,0x65,0x6e])](_0x114b32=>{if(!_0x114b32||_0x114b32[_0x3980a6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3980a6([0x6f,0x6b]))return _0x3980a6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a239e(_0x431bcb(_0x569c2b+_0x2fd23f))!=_0x114b32[_0x3980a6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3980a6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3980a6([0x56,0x61,0x6c,0x69,0x64]);})[_0x3980a6([0x74,0x68,0x65,0x6e])](_0x59852e=>(_0x4bb2b8(),_0x59852e),()=>{const _0x577d54=_0x491afb();return null==_0x577d54?(_0x4bb2b8(),_0x3980a6([0x56,0x61,0x6c,0x69,0x64])):_0x3980a6(_0x4012cc-_0x577d54>(0x4f9781fd^_0x8111f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3980a6([0x74,0x68,0x65,0x6e])](_0x65bda3)[_0x3980a6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x65bda3(_0x3980a6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x52c9a6=0x6badeb7d^_0x8111f;function _0x4bb2b8(){const _0x2feebd=_0x3980a6([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a239e(_0x431bcb(_0x379f5d)),_0x52ccc0=_0x307afe(_0x4a239e(window[_0x3980a6([0x4d,0x61,0x74,0x68])][_0x3980a6([0x63,0x65,0x69,0x6c])](_0x4012cc/_0x52c9a6)));window[_0x3980a6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3980a6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2feebd,_0x52ccc0);}function _0x491afb(){const _0x99d24e=_0x3980a6([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a239e(_0x431bcb(_0x379f5d)),_0x1cab80=window[_0x3980a6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3980a6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x99d24e);return _0x1cab80?window[_0x3980a6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x307afe(_0x1cab80),0x10)*_0x52c9a6:null;}function _0x58691e(_0xf3b3b8){return new window[(_0x3980a6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f25ba,_0x1acf79)=>{_0xf3b3b8[_0x3980a6([0x74,0x68,0x65,0x6e])](_0x2f25ba,_0x1acf79),window[_0x3980a6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1acf79,0x6b9ad13d^_0x8111f);});}}_0x10e13a[_0x3980a6([0x6f,0x6e])](_0x3980a6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5c9d9b,_0x35fb48)=>{if(_0x35fb48[0x0]!=_0x379f5d)return _0x65bda3(_0x3980a6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x35fb48[0x1]={..._0x35fb48[0x1],[_0x3980a6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x569c2b};},{[_0x3980a6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3980a6([0x68,0x69,0x67,0x68])}),_0x10e13a[_0x3980a6([0x6f,0x6e])](_0x3980a6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x32be43=>{_0x1356ba(_0x32be43[_0x3980a6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4afaac=!0x0,_0x10b443(_0x32be43[_0x3980a6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3980a6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3980a6([0x6c,0x6f,0x77])}),_0x1ce0dd[_0x3980a6([0x74,0x68,0x65,0x6e])](()=>{_0x4afaac||_0x65bda3(_0x3980a6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x224d41(){return _0x10e13a[_0x3980a6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3980a6([0x76,0x69,0x65,0x77])][_0x3980a6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3980a6([0x61,0x75,0x74,0x6f]);}function _0x38b1da(){_0x10e13a[_0x3980a6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3980a6([0x76,0x69,0x65,0x77])][_0x3980a6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3980a6([0x61,0x75,0x74,0x6f]);}}function _0x4ab4a9(_0x1304bc){const _0x2cb0ec=[new window[(_0x3980a6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e733e=>setTimeout(_0x2e733e,0x6b923b31^_0x8111f)),_0x1ce0dd[_0x3980a6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3980a6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f92ff=>{let _0x34312a=0x0;_0x10e13a[_0x3980a6([0x6d,0x6f,0x64,0x65,0x6c])][_0x3980a6([0x6f,0x6e])](_0x3980a6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xe3b3eb,_0x47c8d6)=>{_0x47c8d6[0x0][_0x3980a6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34312a++,_0x34312a==(0x6b9b0015^_0x8111f)&&(_0x4f92ff(),_0xe3b3eb[_0x3980a6([0x6f,0x66,0x66])]());});}))];return window[_0x3980a6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3980a6([0x72,0x61,0x63,0x65])](_0x2cb0ec)[_0x3980a6([0x74,0x68,0x65,0x6e])](()=>_0x1304bc);}async function _0x1b0b56(){await _0x1ce0dd,_0x10e13a[_0x3980a6([0x6d,0x6f,0x64,0x65,0x6c])][_0x3980a6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3329e4,_0x10e13a[_0x3980a6([0x6d,0x6f,0x64,0x65,0x6c])][_0x3980a6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3329e4,_0x10e13a[_0x3980a6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3980a6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x56154a(){return window[_0x3980a6([0x67,0x6c,0x6f,0x62])]&&window[_0x3980a6([0x67,0x6c,0x6f,0x62])][_0x3980a6([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x1842c4(_0x1c91fc){const _0x435e3e=_0x5a1b3c();_0x10e13a[_0x435e3e]=_0x3980a6([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])+_0x1c91fc,_0x1c91fc!=_0x3980a6([0x56,0x61,0x6c,0x69,0x64])&&_0x1b0b56();}function _0x5a1b3c(){const _0x2fd872=window[_0x3980a6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3980a6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3980a6([0x6e,0x6f,0x77])]())[_0x3980a6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3980a6([0x2e]),'');let _0x4188a6=_0x3980a6([0x6d]);for(let _0x15b25b=0x0;_0x15b25b<_0x2fd872[_0x3980a6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15b25b+=0x2){let _0x24d6d0=window[_0x3980a6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fd872[_0x3980a6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15b25b,_0x15b25b+0x2));_0x24d6d0>=_0x14a0d5[_0x3980a6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24d6d0-=_0x14a0d5[_0x3980a6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4188a6+=_0x14a0d5[_0x24d6d0];}return _0x4188a6;}function _0x57c634(){const _0xb2f34a=_0x4bfbac[_0x3980a6([0x73,0x70,0x6c,0x69,0x74])](_0x3980a6([0x2e]));if(0x3!=_0xb2f34a[_0x3980a6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4708cc(_0xb2f34a[0x1]);function _0x4708cc(_0x17e076){const _0x4d6ba4=_0x2ae61c(_0x17e076);return _0x4d6ba4&&_0x11ce21()?_0x4d6ba4:null;function _0x11ce21(){const _0x319f14=_0x4d6ba4[_0x3980a6([0x6a,0x74,0x69])],_0x1dfaa8=window[_0x3980a6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x319f14[_0x3980a6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x319f14[_0x3980a6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5a1b59={..._0x4d6ba4,[_0x3980a6([0x6a,0x74,0x69])]:_0x319f14[_0x3980a6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x319f14[_0x3980a6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5a1b59[_0x3980a6([0x76,0x63])],_0x431bcb(_0x5a1b59)==_0x1dfaa8;}}}async function _0x2c2e85(){let _0x210e79=!0x0;try{const _0x4488bb=_0x4bfbac[_0x3980a6([0x73,0x70,0x6c,0x69,0x74])](_0x3980a6([0x2e])),[_0x2feaa8,_0x324faa,_0x32b029]=_0x4488bb;return _0x5efdc0(_0x2feaa8),await _0x29fa02(_0x2feaa8,_0x324faa,_0x32b029),_0x210e79;}catch{return!0x1;}function _0x5efdc0(_0xcb7f5f){const _0x323937=_0x2ae61c(_0xcb7f5f);_0x323937&&_0x323937[_0x3980a6([0x61,0x6c,0x67])]==_0x3980a6([0x45,0x53,0x32,0x35,0x36])||(_0x210e79=!0x1);}async function _0x29fa02(_0x1f42c3,_0x2904d6,_0x17012f){const _0x1c7e90=window[_0x3980a6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3980a6([0x66,0x72,0x6f,0x6d])](_0x1ea5a4(_0x17012f),_0x25c90a=>_0x25c90a[_0x3980a6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x526f36=new window[(_0x3980a6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3980a6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1f42c3+_0x3980a6([0x2e])+_0x2904d6),_0x33c6d4=window[_0x3980a6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3980a6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x33c6d4)return;const _0x248271=await _0x33c6d4[_0x3980a6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3980a6([0x6a,0x77,0x6b]),_0x13a185,{[_0x3980a6([0x6e,0x61,0x6d,0x65])]:_0x3980a6([0x45,0x43,0x44,0x53,0x41]),[_0x3980a6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3980a6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3980a6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x33c6d4[_0x3980a6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3980a6([0x6e,0x61,0x6d,0x65])]:_0x3980a6([0x45,0x43,0x44,0x53,0x41]),[_0x3980a6([0x68,0x61,0x73,0x68])]:{[_0x3980a6([0x6e,0x61,0x6d,0x65])]:_0x3980a6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x248271,_0x1c7e90,_0x526f36)||(_0x210e79=!0x1);}}function _0x2ae61c(_0x3e1727){return _0x3e1727[_0x3980a6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3980a6([0x65,0x79]))?JSON[_0x3980a6([0x70,0x61,0x72,0x73,0x65])](_0x1ea5a4(_0x3e1727)):null;}function _0x1ea5a4(_0x256cdd){return window[_0x3980a6([0x61,0x74,0x6f,0x62])](_0x256cdd[_0x3980a6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3980a6([0x2b]))[_0x3980a6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3980a6([0x2f])));}function _0x431bcb(_0x2a5b89){let _0x26d395=0x1505;function _0x492309(_0x4e1901){for(let _0x567c7e=0x0;_0x567c7e<_0x4e1901[_0x3980a6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x567c7e++){const _0x1517d6=_0x4e1901[_0x3980a6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x567c7e);_0x26d395=(_0x26d395<<0x5)+_0x26d395+_0x1517d6,_0x26d395&=_0x26d395;}}function _0x3b3b20(_0x4392a0){Array[_0x3980a6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4392a0)?_0x4392a0[_0x3980a6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3b3b20):_0x4392a0&&typeof _0x4392a0==_0x3980a6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3980a6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4392a0)[_0x3980a6([0x73,0x6f,0x72,0x74])]()[_0x3980a6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3b6b06,_0x3eae89])=>{_0x492309(_0x3b6b06),_0x3b3b20(_0x3eae89);}):_0x492309(window[_0x3980a6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4392a0));}return _0x3b3b20(_0x2a5b89),_0x26d395>>>0x0;}function _0x4a239e(_0x1a869b){return _0x1a869b[_0x3980a6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3980a6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3980a6([0x30]));}function _0x307afe(_0x58d1f1){return _0x58d1f1[_0x3980a6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3980a6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3980a6([0x6a,0x6f,0x69,0x6e])]('');}function _0x3329e4(){}function _0x3980a6(_0x364ba9){return _0x364ba9['map'](_0x472da5=>String['fromCharCode'](_0x472da5))['join']('');}_0x1842c4(await _0x3461a0());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x29af16=>{'$graveyard'!==_0x29af16['rootName']&&this['editor']['editing']['reconvertItem'](_0x29af16);});}['_trackNewToCElements'](){for(const _0x34edb3 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x34edb3['type']||'tableOfContents'!==_0x34edb3['name'])return;this['_tableOfContentsElements']['add'](_0x34edb3['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x87f4ab){const _0x661bee=this['editor'],_0x5f0dd7=[];for(const _0xad8aca of _0x661bee['model']['document']['getRootNames']())_0x573c46(_0x661bee['model']['document']['getRoot'](_0xad8aca));function _0x573c46(_0x388153){for(const _0x3c0cfc of _0x388153['getChildren']())_0x3c0cfc['is']('element')&&(_0x87f4ab['includes'](_0x3c0cfc['name'])&&_0x5f0dd7['push']({'level':_0x87f4ab['indexOf'](_0x3c0cfc['name'])+0x1,'text':_0x15d5c2(_0x3c0cfc),'modelElement':_0x3c0cfc}),_0x573c46(_0x3c0cfc));}return _0x5f0dd7;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x5b69f4=this['editor']['conversion'];_0x5b69f4['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x5b69f4['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x16df23,{writer:_0x124304})=>this['_createTableOfContents'](_0x124304,!0x0)}),_0x5b69f4['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0xe7e52f,{writer:_0x47083a})=>{this['_tableOfContentsElements']['add'](_0xe7e52f);const _0x2a92d7=this['_createTableOfContents'](_0x47083a);return _0x5f37cd['toWidget'](_0x2a92d7,_0x47083a,{'label':_0xde74bf(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'](_0x179b44,_0x23176c=!0x1){const {locale:_0x169776}=this['editor'],_0x5e64c3=_0x179b44['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x23176c&&{'data-table-of-contents-label':_0xde74bf(_0x169776,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x23176c&&_0x179b44['insert'](_0x179b44['createPositionAt'](_0x5e64c3,'end'),_0x179b44['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x179b44['createText'](_0xde74bf(_0x169776,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x2592f3=_0x23176c?'':'['+_0xde74bf(_0x169776,'Empty\x20heading')+']';let _0x5807b4=_0x5e64c3;return this['_currentOutlineDefinitions']['forEach']((_0x4aa9f8,_0x2d6010,_0x25a0f4)=>{const _0x10824b=this['editor']['model']['hasContent'](_0x4aa9f8['modelElement'],{'ignoreWhitespaces':!0x0}),_0x54fe74=_0x10824b?_0x4aa9f8['text']:_0x2592f3,_0x333258=_0x4aa9f8['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x4ec928=_0x179b44['createContainerElement']('a',{'href':'#'+_0x333258,...!_0x23176c&&{'tabindex':'-1'}},[_0x179b44['createText'](_0x54fe74)]),_0x1cd997=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x179b44['setCustomProperty']('tableOfContentsHeadingIndex',_0x2d6010,_0x4ec928);const _0x3486c8=_0x179b44['createContainerElement']('li',null,[_0x10824b||!_0x23176c&&_0x1cd997?_0x4ec928:_0x179b44['createText']('')]),_0x45e4cf=_0x2d6010?_0x25a0f4[_0x2d6010-0x1]['level']:0x0,_0xaad71b=Math['abs'](_0x4aa9f8['level']-_0x45e4cf);if(_0x4aa9f8['level']>_0x45e4cf){const _0x24c5c0=_0x506bd3(_0x3486c8,_0xaad71b,_0x179b44);_0x179b44['insert'](_0x179b44['createPositionAt'](_0x5807b4,'end'),_0x24c5c0);}else{const _0x3a9ac1=function(_0x46c421,_0xcd8ea3){return _0x46c421['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x4d562b=>_0x4d562b['is']('element','ol'))[_0xcd8ea3];}(_0x5807b4,_0xaad71b);_0x179b44['insert'](_0x179b44['createPositionAt'](_0x3a9ac1,'end'),_0x3486c8);}_0x5807b4=_0x3486c8;}),_0x5e64c3;}['_handleScrollToHeading'](_0x49f3d9){const _0x58334b=this['_currentOutlineDefinitions'][_0x49f3d9]['modelElement'];this['editor']['model']['change'](_0x35ebac=>{_0x35ebac['setSelection'](_0x58334b,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x43a356,_0x1d1b3a)=>{const _0x20960c=_0x1d1b3a['mapper'],_0x1d1406=_0x20960c['findMappedViewAncestor'](_0x1d1b3a['viewPosition']),_0x1ec6e8=_0x20960c['toModelElement'](_0x1d1406);_0x1ec6e8['is']('element','tableOfContents')&&(_0x1d1b3a['modelPosition']=this['editor']['model']['createPositionAt'](_0x1ec6e8,0x0),_0x43a356['stop']());};}}function _0x506bd3(_0x18e939,_0x1c73bf,_0x419f01){return 0x1===_0x1c73bf?_0x419f01['createContainerElement']('ol',null,[_0x18e939]):_0x419f01['createContainerElement']('ol',null,[_0x419f01['createContainerElement']('li',null,[_0x506bd3(_0x18e939,_0x1c73bf-0x1,_0x419f01)])]);}class TableOfContentsUI extends _0x5f37cd['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4debe1=this['editor'];_0x4debe1['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x490134=this['_createButton'](_0x5f37cd['ButtonView']);return _0x490134['tooltip']=!0x0,_0x490134;}),_0x4debe1['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x5f37cd['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x39a422=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3c599c;for(const _0xe79758 in _0x39a422){const _0x44550b=_0xe79758,_0x3fd784=_0x39a422[_0x44550b];if('tableOfContentsLicenseKeyValid'==_0x3fd784||'tableOfContentsLicenseKeyInvalid'==_0x3fd784||'tableOfContentsLicenseKeyExpired'==_0x3fd784||'tableOfContentsLicenseKeyDomainLimit'==_0x3fd784||'tableOfContentsLicenseKeyNotAllowed'==_0x3fd784||'tableOfContentsLicenseKeyEvaluationLimit'==_0x3fd784||'tableOfContentsLicenseKeyUsageLimit'==_0x3fd784){delete _0x39a422[_0x44550b],_0x3c599c=_0x3fd784,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x3c599c&&_0x39a422['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x3c599c&&_0x39a422['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x3c599c&&_0x39a422['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x3c599c&&_0x39a422['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x3c599c&&_0x39a422['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x3c599c&&_0x39a422['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x582079){const _0x241f1=this['editor'],_0x233c4d=_0x241f1['locale'],_0x5956a3=_0x241f1['commands']['get']('insertTableOfContents'),_0x419f91=new _0x582079(_0x233c4d);return _0x419f91['set']({'label':_0xde74bf(_0x233c4d,'Table\x20of\x20contents'),'icon':_0x5f37cd['IconTableOfContents']}),_0x419f91['bind']('isEnabled')['to'](_0x5956a3,'isEnabled'),this['listenTo'](_0x419f91,'execute',()=>{_0x241f1['execute']('insertTableOfContents'),_0x241f1['editing']['view']['focus']();}),_0x419f91;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContents extends _0x5f37cd['Plugin']{static get['requires'](){return[TableOfContentsEditing,TableOfContentsUI];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x2da6aa='https://ckeditor.com/docs/ckeditor5/latest';class EmailConfigurationLogger extends _0x5f37cd['Plugin']{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4b2cb8){super(_0x4b2cb8),_0x4b2cb8['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x24fb44){const _0x3329bd=_0x5c7c9f([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]),_0x199700=0x7780c648,_0x3ad853=0x77874d98^_0x199700,_0x4d0c36=window[_0x5c7c9f([0x44,0x61,0x74,0x65])][_0x5c7c9f([0x6e,0x6f,0x77])](),_0x9cd0bc=_0x24fb44[_0x5c7c9f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2230b5=new window[(_0x5c7c9f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d4531=>{_0x9cd0bc[_0x5c7c9f([0x6f,0x6e,0x63,0x65])](_0x5c7c9f([0x72,0x65,0x61,0x64,0x79]),_0x2d4531);}),_0x364af4={[_0x5c7c9f([0x6b,0x74,0x79])]:_0x5c7c9f([0x45,0x43]),[_0x5c7c9f([0x75,0x73,0x65])]:_0x5c7c9f([0x73,0x69,0x67]),[_0x5c7c9f([0x63,0x72,0x76])]:_0x5c7c9f([0x50,0x2d,0x32,0x35,0x36]),[_0x5c7c9f([0x78])]:_0x5c7c9f([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]),[_0x5c7c9f([0x79])]:_0x5c7c9f([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]),[_0x5c7c9f([0x61,0x6c,0x67])]:_0x5c7c9f([0x45,0x53,0x32,0x35,0x36])},_0x4a1eb3=_0x9cd0bc[_0x5c7c9f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c7c9f([0x67,0x65,0x74])](_0x5c7c9f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1e524e(){let _0x24954c,_0x43be98=null,_0x4762c5=null;try{if(_0x4a1eb3==_0x5c7c9f([0x47,0x50,0x4c]))return _0x5c7c9f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x24954c=_0x28da62(),!_0x24954c)return _0x5c7c9f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x24954c[_0x5c7c9f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4762c5=_0x2402a9(_0x24954c[_0x5c7c9f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x24954c[_0x5c7c9f([0x6a,0x74,0x69])])),await _0x56b150()?_0x3853de()?_0x5dd2ce()?_0x5c7c9f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x215226()?(_0x24954c[_0x5c7c9f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c7c9f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x43be98=_0x4cc089(_0x5c7c9f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x544e6e()):_0x5c7c9f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c7c9f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c7c9f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5c7c9f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5dd2ce(){const _0x38441c=[_0x5c7c9f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c7c9f([0x74,0x72,0x69,0x61,0x6c])][_0x5c7c9f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24954c[_0x5c7c9f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d0c36/0x3e8:0xe10*_0x3ad853;return _0x24954c[_0x5c7c9f([0x65,0x78,0x70])]<_0x38441c;}function _0x3853de(){const _0x11529e=_0x24954c[_0x5c7c9f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x11529e&&(!!_0x11529e[_0x5c7c9f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c7c9f([0x2a]))||!!_0x11529e[_0x5c7c9f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c7c9f([0x45,0x43,0x48])));}function _0x215226(){const _0x1dd247=_0x24954c[_0x5c7c9f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1dd247||0x0==_0x1dd247[_0x5c7c9f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x42ec31}=new URL(window[_0x5c7c9f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1dd247[_0x5c7c9f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42ec31))return!0x0;const _0x4b6f43=_0x42ec31[_0x5c7c9f([0x73,0x70,0x6c,0x69,0x74])](_0x5c7c9f([0x2e]));return _0x1dd247[_0x5c7c9f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38c0b9=>_0x38c0b9[_0x5c7c9f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c7c9f([0x2a])))[_0x5c7c9f([0x6d,0x61,0x70])](_0x26b866=>_0x26b866[_0x5c7c9f([0x73,0x70,0x6c,0x69,0x74])](_0x5c7c9f([0x2e])))[_0x5c7c9f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xea4da7=>_0xea4da7[_0x5c7c9f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b6f43[_0x5c7c9f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c7c9f([0x6d,0x61,0x70])](_0x44e10c=>Array(_0x4b6f43[_0x5c7c9f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x44e10c[_0x5c7c9f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c7c9f([0x66,0x69,0x6c,0x6c])](_0x44e10c[0x0]===_0x5c7c9f([0x2a])?_0x5c7c9f([0x2a]):'')[_0x5c7c9f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x44e10c))[_0x5c7c9f([0x73,0x6f,0x6d,0x65])](_0x461c37=>_0x4b6f43[_0x5c7c9f([0x65,0x76,0x65,0x72,0x79])]((_0x800ef8,_0x41c07a)=>_0x461c37[_0x41c07a]===_0x800ef8||_0x461c37[_0x41c07a]===_0x5c7c9f([0x2a])));}function _0x544e6e(){return _0x43be98&&_0x4762c5?new window[(_0x5c7c9f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5249c5,_0x3d7a35)=>{_0x43be98[_0x5c7c9f([0x74,0x68,0x65,0x6e])](_0x5249c5,_0x3d7a35),_0x4762c5[_0x5c7c9f([0x74,0x68,0x65,0x6e])](_0x2a9e2c=>{_0x2a9e2c!=_0x5c7c9f([0x56,0x61,0x6c,0x69,0x64])&&_0x5249c5(_0x2a9e2c);},_0x3d7a35);}):_0x43be98||_0x4762c5||_0x5c7c9f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2402a9(_0x497b64,_0x45e082){return new window[(_0x5c7c9f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x560f22=>{if(_0x3d44ef())return _0x560f22(_0x5c7c9f([0x56,0x61,0x6c,0x69,0x64]));_0xd6770e(),_0x9cd0bc[_0x5c7c9f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c7c9f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4ab892=!0x1;const _0x2bb987=_0x5f37cd['uid']();function _0x90c51c(_0x4ccf59){return!!_0x4ccf59&&(typeof _0x4ccf59===_0x5c7c9f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4ccf59===_0x5c7c9f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4ccf59[_0x5c7c9f([0x74,0x68,0x65,0x6e])]===_0x5c7c9f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4ccf59[_0x5c7c9f([0x63,0x61,0x74,0x63,0x68])]===_0x5c7c9f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x34b5a6(_0x1f2509){_0x2b6c5e(_0x1f2509)[_0x5c7c9f([0x74,0x68,0x65,0x6e])](_0xa82a8c=>{if(!_0xa82a8c||_0xa82a8c[_0x5c7c9f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c7c9f([0x6f,0x6b]))return _0x5c7c9f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b32c7(_0x5e6153(_0x2bb987+_0x45e082))!=_0xa82a8c[_0x5c7c9f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c7c9f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c7c9f([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c7c9f([0x74,0x68,0x65,0x6e])](_0x478470=>(_0x12dae1(),_0x478470),()=>{const _0x388d08=_0x584552();return null==_0x388d08?(_0x12dae1(),_0x5c7c9f([0x56,0x61,0x6c,0x69,0x64])):_0x5c7c9f(_0x4d0c36-_0x388d08>(0x538c4248^_0x199700)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c7c9f([0x74,0x68,0x65,0x6e])](_0x560f22)[_0x5c7c9f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x560f22(_0x5c7c9f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x176b93=0x77b628c8^_0x199700;function _0x12dae1(){const _0x5c03f2=_0x5c7c9f([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b32c7(_0x5e6153(_0x497b64)),_0x455f3e=_0x157c08(_0x2b32c7(window[_0x5c7c9f([0x4d,0x61,0x74,0x68])][_0x5c7c9f([0x63,0x65,0x69,0x6c])](_0x4d0c36/_0x176b93)));window[_0x5c7c9f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c7c9f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5c03f2,_0x455f3e);}function _0x584552(){const _0xa6b3f5=_0x5c7c9f([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b32c7(_0x5e6153(_0x497b64)),_0x31dd25=window[_0x5c7c9f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c7c9f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa6b3f5);return _0x31dd25?window[_0x5c7c9f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x157c08(_0x31dd25),0x10)*_0x176b93:null;}function _0x2b6c5e(_0x3ae4c0){return new window[(_0x5c7c9f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x27099f,_0x5c864d)=>{_0x3ae4c0[_0x5c7c9f([0x74,0x68,0x65,0x6e])](_0x27099f,_0x5c864d),window[_0x5c7c9f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5c864d,0x77811288^_0x199700);});}}_0x9cd0bc[_0x5c7c9f([0x6f,0x6e])](_0x5c7c9f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x91f65a,_0x4980fc)=>{if(_0x4980fc[0x0]!=_0x497b64)return _0x560f22(_0x5c7c9f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4980fc[0x1]={..._0x4980fc[0x1],[_0x5c7c9f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2bb987};},{[_0x5c7c9f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c7c9f([0x68,0x69,0x67,0x68])}),_0x9cd0bc[_0x5c7c9f([0x6f,0x6e])](_0x5c7c9f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x8a809e=>{_0x90c51c(_0x8a809e[_0x5c7c9f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4ab892=!0x0,_0x34b5a6(_0x8a809e[_0x5c7c9f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c7c9f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c7c9f([0x6c,0x6f,0x77])}),_0x2230b5[_0x5c7c9f([0x74,0x68,0x65,0x6e])](()=>{_0x4ab892||_0x560f22(_0x5c7c9f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3d44ef(){return _0x9cd0bc[_0x5c7c9f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c7c9f([0x76,0x69,0x65,0x77])][_0x5c7c9f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c7c9f([0x61,0x75,0x74,0x6f]);}function _0xd6770e(){_0x9cd0bc[_0x5c7c9f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c7c9f([0x76,0x69,0x65,0x77])][_0x5c7c9f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c7c9f([0x61,0x75,0x74,0x6f]);}}function _0x4cc089(_0x16a076){const _0x4ae8e8=[new window[(_0x5c7c9f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x63e38b=>setTimeout(_0x63e38b,0x7789f884^_0x199700)),_0x2230b5[_0x5c7c9f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c7c9f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x184e9d=>{let _0x3d0a8b=0x0;_0x9cd0bc[_0x5c7c9f([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c7c9f([0x6f,0x6e])](_0x5c7c9f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c49ff,_0x297da0)=>{_0x297da0[0x0][_0x5c7c9f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3d0a8b++,_0x3d0a8b==(0x7780c3a0^_0x199700)&&(_0x184e9d(),_0x4c49ff[_0x5c7c9f([0x6f,0x66,0x66])]());});}))];return window[_0x5c7c9f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c7c9f([0x72,0x61,0x63,0x65])](_0x4ae8e8)[_0x5c7c9f([0x74,0x68,0x65,0x6e])](()=>_0x16a076);}async function _0x2018f4(){await _0x2230b5,_0x9cd0bc[_0x5c7c9f([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c7c9f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xe648,_0x9cd0bc[_0x5c7c9f([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c7c9f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xe648,_0x9cd0bc[_0x5c7c9f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c7c9f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5bd22e(_0x1cd481){const _0x2e5859=_0x3602ce();_0x9cd0bc[_0x2e5859]=_0x5c7c9f([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])+_0x1cd481,_0x1cd481!=_0x5c7c9f([0x56,0x61,0x6c,0x69,0x64])&&_0x2018f4();}function _0x3602ce(){const _0x23f697=window[_0x5c7c9f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c7c9f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c7c9f([0x6e,0x6f,0x77])]())[_0x5c7c9f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c7c9f([0x2e]),'');let _0x4fbdec=_0x5c7c9f([0x75]);for(let _0x4b1949=0x0;_0x4b1949<_0x23f697[_0x5c7c9f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b1949+=0x2){let _0x48a9d5=window[_0x5c7c9f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23f697[_0x5c7c9f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b1949,_0x4b1949+0x2));_0x48a9d5>=_0x3329bd[_0x5c7c9f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x48a9d5-=_0x3329bd[_0x5c7c9f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4fbdec+=_0x3329bd[_0x48a9d5];}return _0x4fbdec;}function _0x28da62(){const _0x157e3c=_0x4a1eb3[_0x5c7c9f([0x73,0x70,0x6c,0x69,0x74])](_0x5c7c9f([0x2e]));if(0x3!=_0x157e3c[_0x5c7c9f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x513ca9(_0x157e3c[0x1]);function _0x513ca9(_0x27b27b){const _0x9322a1=_0x5ba409(_0x27b27b);return _0x9322a1&&_0x2f8794()?_0x9322a1:null;function _0x2f8794(){const _0x54fa7c=_0x9322a1[_0x5c7c9f([0x6a,0x74,0x69])],_0x37c9d5=window[_0x5c7c9f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54fa7c[_0x5c7c9f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54fa7c[_0x5c7c9f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x25af6f={..._0x9322a1,[_0x5c7c9f([0x6a,0x74,0x69])]:_0x54fa7c[_0x5c7c9f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x54fa7c[_0x5c7c9f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x25af6f[_0x5c7c9f([0x76,0x63])],_0x5e6153(_0x25af6f)==_0x37c9d5;}}}async function _0x56b150(){let _0x274de=!0x0;try{const _0x406bb1=_0x4a1eb3[_0x5c7c9f([0x73,0x70,0x6c,0x69,0x74])](_0x5c7c9f([0x2e])),[_0x56a4c4,_0xf73aff,_0x2fba18]=_0x406bb1;return _0x5cee55(_0x56a4c4),await _0x2eb699(_0x56a4c4,_0xf73aff,_0x2fba18),_0x274de;}catch{return!0x1;}function _0x5cee55(_0x30350b){const _0x966991=_0x5ba409(_0x30350b);_0x966991&&_0x966991[_0x5c7c9f([0x61,0x6c,0x67])]==_0x5c7c9f([0x45,0x53,0x32,0x35,0x36])||(_0x274de=!0x1);}async function _0x2eb699(_0x32c68,_0x897e75,_0x4e421e){const _0x2a4843=window[_0x5c7c9f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c7c9f([0x66,0x72,0x6f,0x6d])](_0x2a6943(_0x4e421e),_0x49af80=>_0x49af80[_0x5c7c9f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2c6ccb=new window[(_0x5c7c9f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c7c9f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x32c68+_0x5c7c9f([0x2e])+_0x897e75),_0x1f655f=window[_0x5c7c9f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c7c9f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1f655f)return;const _0x5e0301=await _0x1f655f[_0x5c7c9f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c7c9f([0x6a,0x77,0x6b]),_0x364af4,{[_0x5c7c9f([0x6e,0x61,0x6d,0x65])]:_0x5c7c9f([0x45,0x43,0x44,0x53,0x41]),[_0x5c7c9f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c7c9f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c7c9f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1f655f[_0x5c7c9f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c7c9f([0x6e,0x61,0x6d,0x65])]:_0x5c7c9f([0x45,0x43,0x44,0x53,0x41]),[_0x5c7c9f([0x68,0x61,0x73,0x68])]:{[_0x5c7c9f([0x6e,0x61,0x6d,0x65])]:_0x5c7c9f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5e0301,_0x2a4843,_0x2c6ccb)||(_0x274de=!0x1);}}function _0x5ba409(_0xb646a){return _0xb646a[_0x5c7c9f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c7c9f([0x65,0x79]))?JSON[_0x5c7c9f([0x70,0x61,0x72,0x73,0x65])](_0x2a6943(_0xb646a)):null;}function _0x2a6943(_0xf70e01){return window[_0x5c7c9f([0x61,0x74,0x6f,0x62])](_0xf70e01[_0x5c7c9f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c7c9f([0x2b]))[_0x5c7c9f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c7c9f([0x2f])));}function _0x5e6153(_0x5e6648){let _0x21dc90=0x1505;function _0x14407d(_0x331847){for(let _0xa8127=0x0;_0xa8127<_0x331847[_0x5c7c9f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa8127++){const _0x4f8249=_0x331847[_0x5c7c9f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa8127);_0x21dc90=(_0x21dc90<<0x5)+_0x21dc90+_0x4f8249,_0x21dc90&=_0x21dc90;}}function _0x58dc16(_0xf05c31){Array[_0x5c7c9f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xf05c31)?_0xf05c31[_0x5c7c9f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x58dc16):_0xf05c31&&typeof _0xf05c31==_0x5c7c9f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c7c9f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xf05c31)[_0x5c7c9f([0x73,0x6f,0x72,0x74])]()[_0x5c7c9f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1fcaae,_0x3f0c56])=>{_0x14407d(_0x1fcaae),_0x58dc16(_0x3f0c56);}):_0x14407d(window[_0x5c7c9f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xf05c31));}return _0x58dc16(_0x5e6648),_0x21dc90>>>0x0;}function _0x2b32c7(_0x56b4c8){return _0x56b4c8[_0x5c7c9f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c7c9f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c7c9f([0x30]));}function _0x157c08(_0x34a254){return _0x34a254[_0x5c7c9f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c7c9f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c7c9f([0x6a,0x6f,0x69,0x6e])]('');}function _0xe648(){}function _0x5c7c9f(_0x50cfcd){return _0x50cfcd['map'](_0xb7ec05=>String['fromCharCode'](_0xb7ec05))['join']('');}_0x5bd22e(await _0x1e524e());}(this);}['_logSuppressibleWarning'](_0xee211b,_0x3de84c){if(this['_isSuppressedLog'](_0xee211b,_0x3de84c))return;const _0x57fa9c=_0x2da6aa+'/support/error-codes.html#error-'+_0xee211b;console['warn']('%cEmailConfigurationHelper%c\x20'+_0xee211b,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x3de84c?[_0x3de84c]:[],'\x0aRead\x20more:\x20'+_0x57fa9c);}['_logSuppressibleInfo'](_0x1407bc,_0x2a2bb8,_0x50c1dc){if(this['_isSuppressedLog'](_0x1407bc))return;let _0x2a960c=_0x2a2bb8;_0x50c1dc&&(_0x2a960c+='\x0aRead\x20more:\x20'+(_0x2da6aa+'/'+_0x50c1dc)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x1407bc,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x2a960c);}['_checkUnsupportedPlugin'](_0x1e38bd,_0x3e910a){this['editor']['plugins']['has'](_0x1e38bd)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x1e38bd,..._0x3e910a});}['_validateConfigColorValue'](_0x4a0f06){const _0x5c8a42=this['editor']['config']['get'](_0x4a0f06);if(!_0x5c8a42)return;const _0x2e07d0=Array['isArray'](_0x5c8a42),_0x455f9b=_0x2e07d0?_0x5c8a42:[_0x5c8a42];for(const [_0x195c7a,_0x6b4622]of _0x455f9b['entries']()){const _0x21d90e='string'==typeof _0x6b4622?_0x6b4622:_0x6b4622['color'];_0x5a66e7(_0x21d90e)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x2e07d0?_0x4a0f06+'['+_0x195c7a+']':_0x4a0f06,'color':_0x21d90e});}}['_validateConfigColorFormat'](_0x43c973){const _0x13b4db=this['editor']['config']['get'](_0x43c973);_0x13b4db&&_0x196e7b(_0x13b4db)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x43c973,'format':_0x13b4db});}['_isSuppressedLog'](_0x18e40a,_0x6bf806){const _0x1a958e=this['editor']['config']['get']('email.logs');return!!_0x1a958e['suppressAll']||(!('function'!=typeof _0x1a958e['suppress']||!_0x1a958e['suppress'](_0x18e40a,_0x6bf806))||!(!Array['isArray'](_0x1a958e['suppress'])||!_0x1a958e['suppress']['includes'](_0x18e40a)));}}const _0x3e7e21=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function _0x5a66e7(_0x404c0f){return!!_0x404c0f&&_0x3e7e21['some'](_0x219d7d=>_0x404c0f['includes'](_0x219d7d+'('));}function _0x196e7b(_0x21784b){return!!_0x21784b&&_0x3e7e21['includes'](_0x21784b);}class HighlightEmailIntegration extends _0x5f37cd['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 _0x5dd9c3=function(_0x4b439c){var _0x4f288b,_0x24f254,_0x30795a=_0x4b439c,_0x1a3355={'a':0x0,'b':0x0,'c':0x0},_0x2dbe30=[];return _0x4f288b=function(_0x13b8c2,_0x30649a){var _0x32f070,_0x3ac181,_0xeea667,_0x507277,_0x14809b,_0x371cef;if(_0x13b8c2['test'](_0x30795a)){for(_0x3ac181=0x0,_0xeea667=(_0x32f070=_0x30795a['match'](_0x13b8c2))['length'];_0x3ac181<_0xeea667;_0x3ac181+=0x1)_0x1a3355[_0x30649a]+=0x1,_0x507277=_0x32f070[_0x3ac181],_0x14809b=_0x30795a['indexOf'](_0x507277),_0x371cef=_0x507277['length'],_0x2dbe30['push']({'selector':_0x4b439c['substr'](_0x14809b,_0x371cef),'type':_0x30649a,'index':_0x14809b,'length':_0x371cef}),_0x30795a=_0x30795a['replace'](_0x507277,Array(_0x371cef+0x1)['join']('\x20'));}},_0x24f254=function(_0x2992eb){var _0x511fa2,_0x6b808a,_0x4229e6,_0x4046ec;if(_0x2992eb['test'](_0x30795a)){for(_0x6b808a=0x0,_0x4229e6=(_0x511fa2=_0x30795a['match'](_0x2992eb))['length'];_0x6b808a<_0x4229e6;_0x6b808a+=0x1)_0x4046ec=_0x511fa2[_0x6b808a],_0x30795a=_0x30795a['replace'](_0x4046ec,Array(_0x4046ec['length']+0x1)['join']('A'));}},_0x24f254(/\\[0-9A-Fa-f]{6}\s?/g),_0x24f254(/\\[0-9A-Fa-f]{1,5}\s/g),_0x24f254(/\\./g),(function(){var _0x40f184,_0x24552a,_0x53d7d2,_0x9e4f57,_0x4ca997=/{[^]*/gm;if(_0x4ca997['test'](_0x30795a)){for(_0x24552a=0x0,_0x53d7d2=(_0x40f184=_0x30795a['match'](_0x4ca997))['length'];_0x24552a<_0x53d7d2;_0x24552a+=0x1)_0x9e4f57=_0x40f184[_0x24552a],_0x30795a=_0x30795a['replace'](_0x9e4f57,Array(_0x9e4f57['length']+0x1)['join']('\x20'));}}()),_0x4f288b(/(\[[^\]]+\])/g,'b'),_0x4f288b(/(#[^\#\s\+>~\.\[:\)]+)/g,'a'),_0x4f288b(/(\.[^\s\+>~\.\[:\)]+)/g,'b'),_0x4f288b(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,'c'),_0x4f288b(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,'b'),_0x4f288b(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,'b'),_0x30795a=(_0x30795a=(_0x30795a=(_0x30795a=(_0x30795a=(_0x30795a=_0x30795a['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'),_0x4f288b(/([^\s\+>~\.\[:]+)/g,'c'),_0x2dbe30['sort'](function(_0x2841c6,_0x1fb7bc){return _0x2841c6['index']-_0x1fb7bc['index'];}),{'selector':_0x4b439c,'specificity':'0,'+_0x1a3355['a']['toString']()+','+_0x1a3355['b']['toString']()+','+_0x1a3355['c']['toString'](),'specificityArray':[0x0,_0x1a3355['a'],_0x1a3355['b'],_0x1a3355['c']],'parts':_0x2dbe30};};function _0x5e3fa6(_0x261286){const _0x11321c=[];let _0x4577ab='',_0x551bcf=0x0;for(;_0x551bcf<_0x261286['length'];){const _0x16f16b=_0x261286[_0x551bcf];if('('===_0x16f16b){const _0x1f7739=_0x2d2c79(_0x261286,_0x551bcf+0x1);if(-0x1===_0x1f7739)return[];_0x4577ab+=_0x261286['slice'](_0x551bcf,_0x1f7739+0x1),_0x551bcf=_0x1f7739+0x1;}else','!==_0x16f16b||_0x4577ab['endsWith']('\x5c')?(_0x4577ab+=_0x16f16b,_0x551bcf++):(_0x11321c['push'](_0x4577ab['trim']()),_0x4577ab='',_0x551bcf++);}return _0x4577ab['trim']()&&_0x11321c['push'](_0x4577ab['trim']()),_0x11321c['filter'](Boolean);}function _0x2d2c79(_0x40f118,_0x4eb4e9){let _0x441dd6=0x1;for(let _0x171e13=_0x4eb4e9;_0x171e13<_0x40f118['length'];_0x171e13++){const _0x30476b=_0x40f118[_0x171e13];if('('===_0x30476b)_0x441dd6++;else{if(')'===_0x30476b&&(_0x441dd6--,0x0===_0x441dd6))return _0x171e13;}}return-0x1;}function _0x4ca26e(_0x4a630a){return _0x4a630a['replace'](/!\s*important/i,'')['trim']();}function _0x59badc(_0x1a840b,_0x2e30dd){const _0xcc2810=new Map(),_0x49c205=_0x11babd=>_0xcc2810['has'](_0x11babd)?_0xcc2810['get'](_0x11babd):_0x1a840b(_0x11babd);for(const [_0x58074a,_0x3ae050]of _0x2e30dd['getStylesEntries']())if(_0x3ae050&&_0x58074a['startsWith']('--')){const _0x1c7063=_0x132ff4(_0x49c205,_0x3ae050);_0xcc2810['set'](_0x58074a,_0x1c7063),_0x2e30dd['remove'](_0x58074a);}for(const [_0x11b07e,_0x33fed7]of _0x2e30dd['getStylesEntries']())if(_0x33fed7){const _0x512bbc=_0x132ff4(_0x49c205,_0x33fed7);_0x2e30dd['set'](_0x11b07e,_0x512bbc);}return _0xcc2810;}function _0x132ff4(_0x21bbdc,_0x21537b){return function(_0x3ee92e,_0x289e24){let _0x443ad6='',_0xe082db=0x0;for(;_0xe082db<_0x3ee92e['length'];){const _0xb6ad23=_0x3ee92e['indexOf']('var(',_0xe082db);if(-0x1===_0xb6ad23){_0x443ad6+=_0x3ee92e['slice'](_0xe082db);break;}_0x443ad6+=_0x3ee92e['slice'](_0xe082db,_0xb6ad23);const _0x18fe8e=_0xb6ad23+0x4,_0x111053=_0x2d2c79(_0x3ee92e,_0x18fe8e);_0x443ad6+=_0x289e24(_0x3ee92e['substring'](_0x18fe8e,_0x111053)),_0xe082db=_0x111053+0x1;}return _0x443ad6;}(_0x21537b,_0x2ce433=>{const [_0x4e72ab,_0x243da5]=_0x5e3fa6(_0x2ce433),_0x4de5e4=_0x21bbdc(_0x4e72ab);return void 0x0!==_0x4de5e4?_0x4de5e4:_0x243da5?_0x132ff4(_0x21bbdc,_0x243da5):'var('+_0x4e72ab+')';});}async function _0x211a0c(_0x466517){const _0x327e54=[await _0x5f37cd['collectStylesheets'](_0x466517['stylesheets']),_0x466517['inlineCss']]['filter'](_0x57d216=>_0x57d216&&_0x57d216['length'])['join']('\x0a'),_0x37e476=await async function(_0xd7579e,_0x9d6d78){const _0x5f22f2=new CSSStyleSheet();return await _0x5f22f2['replace'](_0x9d6d78),_0x352e28(Array['from'](_0x5f22f2['cssRules'])['filter'](_0x40484a=>_0x40484a instanceof CSSStyleRule))['flatMap'](({selectorText:_0x57a487,contentCssText:_0x5e46dd})=>{const _0x1c55b8=_0x5e3fa6(_0x57a487),_0x2fcb5d=new _0x5f37cd['StylesMap'](_0xd7579e)['setTo'](_0x5e46dd);return _0x1c55b8['map'](_0x223d5d=>{const _0x41bc8c=function(_0x4084d3){const _0x4999a4=':where(';let _0x50535b=_0x4084d3,_0x301335=0x0;for(let _0x3f135b=0x0;_0x3f135b<0x64;_0x3f135b++){const _0x1f3e50=_0x50535b['indexOf'](_0x4999a4,_0x301335);if(-0x1===_0x1f3e50)break;let _0x8c67d=0x0;for(let _0x4fe509=0x0;_0x4fe509<_0x1f3e50;_0x4fe509++)'('===_0x50535b[_0x4fe509]?_0x8c67d++:')'===_0x50535b[_0x4fe509]&&_0x8c67d--;if(_0x8c67d>0x0){_0x301335=_0x1f3e50+_0x4999a4['length'];continue;}let _0x58aeb2=-0x1;for(let _0x1b5870=_0x1f3e50+_0x4999a4['length'],_0x1e4647=0x1;_0x1b5870<_0x50535b['length'];_0x1b5870++)if('('===_0x50535b[_0x1b5870]?_0x1e4647++:')'===_0x50535b[_0x1b5870]&&_0x1e4647--,!_0x1e4647){_0x58aeb2=_0x1b5870;break;}-0x1!==_0x58aeb2?(_0x50535b=_0x50535b['slice'](0x0,_0x1f3e50)+_0x50535b['slice'](_0x58aeb2+0x1),_0x301335=_0x1f3e50):_0x301335=_0x1f3e50+_0x4999a4['length'];}return _0x50535b['replace'](/\s+/g,'\x20')['trim']();}(_0x223d5d),_0x4428be=_0x41bc8c?function(_0x3da88f){var _0x497b15,_0x57f331,_0xc846f2,_0x410af0,_0xd3f375=[];for(_0xc846f2=0x0,_0x410af0=(_0x497b15=_0x3da88f['split'](','))['length'];_0xc846f2<_0x410af0;_0xc846f2+=0x1)(_0x57f331=_0x497b15[_0xc846f2])['length']>0x0&&_0xd3f375['push'](_0x5dd9c3(_0x57f331));return _0xd3f375;}(_0x41bc8c)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x2fcb5d,'flatSelector':_0x223d5d,'specificity':_0x4428be};});})['sort']((_0x31a8e2,_0x134ba8)=>function(_0x470c3e,_0x123b6b){var _0x4722a4,_0x48f007,_0x531bc3;if('string'==typeof _0x470c3e){if(-0x1!==_0x470c3e['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x4722a4=_0x5dd9c3(_0x470c3e)['specificityArray'];}else{if(!Array['isArray'](_0x470c3e))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x470c3e['filter'](function(_0x22c940){return'number'==typeof _0x22c940;})['length'])throw'Invalid\x20specificity\x20array';_0x4722a4=_0x470c3e;}if('string'==typeof _0x123b6b){if(-0x1!==_0x123b6b['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x48f007=_0x5dd9c3(_0x123b6b)['specificityArray'];}else{if(!Array['isArray'](_0x123b6b))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x123b6b['filter'](function(_0x4152e9){return'number'==typeof _0x4152e9;})['length'])throw'Invalid\x20specificity\x20array';_0x48f007=_0x123b6b;}for(_0x531bc3=0x0;_0x531bc3<0x4;_0x531bc3+=0x1){if(_0x4722a4[_0x531bc3]<_0x48f007[_0x531bc3])return-0x1;if(_0x4722a4[_0x531bc3]>_0x48f007[_0x531bc3])return 0x1;}return 0x0;}(_0x31a8e2['specificity'],_0x134ba8['specificity']));}(_0x466517['stylesProcessor'],_0x327e54),_0x3442ed=function(_0x2e5cf6){const _0x32ff2c=new Map();for(const {stylesMap:_0x231ddf,flatSelector:_0x4d57b8}of _0x2e5cf6){if(':root'!==_0x4d57b8)continue;const _0x474b39=_0x59badc(_0x32ff2c['get']['bind'](_0x32ff2c),_0x231ddf);for(const [_0x4165f4,_0x2f1a68]of _0x474b39)_0x32ff2c['set'](_0x4165f4,_0x2f1a68);}return _0x32ff2c;}(_0x37e476);return{'parsedCssRules':_0x37e476,'rootCssVariables':_0x3442ed};}function _0x352e28(_0x19de2f,_0x13cfca=''){return _0x19de2f['flatMap'](_0x392dc2=>{const {selectorText:_0x53fad7,cssText:_0x1779b5,cssRules:_0x36cd8e}=_0x392dc2;if(!_0x53fad7)return[];const _0x31fff1=_0x53fad7['replace'](/&/g,_0x13cfca);let _0x57e264=_0x1779b5['replace'](_0x53fad7,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x36cd8e||!_0x36cd8e['length'])return[{'selectorText':_0x31fff1,'contentCssText':_0x57e264}];for(const _0x37150b of _0x36cd8e)_0x57e264=_0x57e264['replace'](_0x37150b['cssText'],'')['trim']();return[{'selectorText':_0x31fff1,'contentCssText':_0x57e264},..._0x352e28(Array['from'](_0x36cd8e),_0x31fff1)];});}function _0x1a33bc(_0x1d540e,_0x2d86b7){const _0x19164e=new _0x5f37cd['StylesMap'](_0x1d540e);for(const _0x13c84a of _0x2d86b7){let _0x69e64b=null;if(_0x69e64b='string'==typeof _0x13c84a?new _0x5f37cd['StylesMap'](_0x1d540e)['setTo'](_0x13c84a):_0x13c84a,_0x69e64b){for(const [_0x1a4e9f,_0x25dc02]of _0x69e64b['getStylesEntries']())_0x19164e['set'](_0x1a4e9f,_0x25dc02);}}return _0x19164e;}class ExportInlineStylesCommand extends _0x5f37cd['Command']{['_stylesProcessor'];constructor(_0x45bc5f){super(_0x45bc5f),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x5f37cd['addMarginStylesRules'](this['_stylesProcessor']),_0x5f37cd['addPaddingStylesRules'](this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x2ceaf9){const _0x5bb2cf=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x5a99fa}=this['editor']['locale'],{rootName:_0x2e3860='main',dataControllerDowncastOptions:_0x360dff={},transformations:_0x526389=_0x5bb2cf['transformations']||[]}=_0x2ceaf9||{};this['isBusy']=!0x0,this['refresh']();const _0xd3c8ab=this['_getRootDataHTMLFragment'](_0x2e3860,_0x360dff),_0x154588=_0x5f37cd['createElement'](_0xd3c8ab['ownerDocument'],'div',{'dir':_0x5a99fa,'class':'ck-content'},[_0xd3c8ab]);return this['_collectAndApplyStyles'](_0x526389,_0x154588)['then'](()=>{const _0x3ad9d1=function(_0x47cdb5){const _0xb52767=_0x47cdb5['ownerDocument']['createDocumentFragment']();for(;_0x47cdb5['firstChild'];)_0xb52767['appendChild'](_0x47cdb5['firstChild']);return _0xb52767;}(_0x154588),_0x5b132b=_0x154588['getAttribute']('style');if(_0x5b132b)for(const _0x3aa09c of _0x3ad9d1['children']){const _0x10f692=_0x3aa09c['getAttribute']('style'),_0x1ca1ce=_0x1a33bc(this['_stylesProcessor'],[_0x5b132b,_0x10f692]);_0x3aa09c['setAttribute']('style',_0x4bc537(_0x1ca1ce));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x3ad9d1);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x15d856,_0x1fbdd0){const {data:_0x39f8a2,model:_0x328242}=this['editor'],_0x573033=_0x328242['document']['getRoot'](_0x15d856),_0x2ac6c1=_0x39f8a2['toView'](_0x573033,_0x1fbdd0);return _0x39f8a2['htmlProcessor']['domConverter']['viewToDom'](_0x2ac6c1);}async['_collectAndApplyStyles'](_0xdba4f1,_0x182d21){const {stylesheets:_0x386cf4,inlineCss:_0x3cfb28,stripCssClasses:_0x18cff9}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x55d127,rootCssVariables:_0x51761}=await _0x211a0c({'stylesheets':_0x386cf4||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x3cfb28}),_0x27c9fe=[];this['_processElementTree']({'transformations':_0xdba4f1,'parsedCssRules':_0x55d127,'element':_0x182d21,'stripCssClasses':_0x18cff9,'parentCSSVariablesLookup':_0x51761['get']['bind'](_0x51761),'runAfterDocumentTransformation':_0x4593e5=>{_0x27c9fe['unshift'](_0x4593e5);}});for(const _0x2b5635 of _0x27c9fe)_0x2b5635();}['_processElementTree']({element:_0x51ccf6,parsedCssRules:_0x5c4d57,parentCSSVariablesLookup:_0x1ddc7b,runAfterDocumentTransformation:_0x1b7327,stripCssClasses:_0x1c07e3,transformations:_0x3d3271}){const {stylesMap:_0x3be89c,localCSSVariables:_0x9e3601}=function(_0x2dc62d){const _0x4d1f6a=_0x2dc62d['element']['getAttribute']('style')||'',_0x7e56a6=_0x2dc62d['parsedCssRules']['filter'](_0x309871=>_0x2dc62d['element']['matches'](_0x309871['flatSelector']))['map'](_0x236a7e=>_0x236a7e['stylesMap']),_0x26cfd3=_0x1a33bc(_0x2dc62d['stylesProcessor'],[..._0x7e56a6,_0x4d1f6a]);return{'localCSSVariables':_0x59badc(_0x2dc62d['fallbackCSSVariablesLookup'],_0x26cfd3),'stylesMap':_0x26cfd3};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x1ddc7b,'parsedCssRules':_0x5c4d57,'element':_0x51ccf6}),_0x343e7b=[];for(const _0x7cd94b of _0x3d3271){const _0x223cba=_0x7cd94b(_0x51ccf6,_0x3be89c,{'runAfterDocumentTransformation':_0x1b7327,'runAfterChildrenTransformation':_0x2a1f49=>{_0x343e7b['unshift'](_0x2a1f49);}});_0x223cba&&_0x223cba instanceof HTMLElement&&(_0x51ccf6=_0x223cba);}_0x3be89c['size']?_0x51ccf6['setAttribute']('style',_0x4bc537(_0x3be89c)):_0x51ccf6['removeAttribute']('style');const _0x461898=_0x5866c8=>_0x9e3601['has'](_0x5866c8)?_0x9e3601['get'](_0x5866c8):_0x1ddc7b(_0x5866c8);for(const _0x5908fc of _0x51ccf6['children'])_0x5908fc instanceof HTMLElement&&this['_processElementTree']({'element':_0x5908fc,'parsedCssRules':_0x5c4d57,'stripCssClasses':_0x1c07e3,'transformations':_0x3d3271,'parentCSSVariablesLookup':_0x461898,'runAfterDocumentTransformation':_0x1b7327});_0x1c07e3&&_0x51ccf6['removeAttribute']('class');for(const _0x1def26 of _0x343e7b)_0x1def26();}}function _0x4bc537(_0x264951){return _0x264951['getStylesEntries']()['map'](_0x4cea48=>_0x4cea48['join'](':'))['join'](';')+';';}class ExportInlineStylesEditing extends _0x5f37cd['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(_0x353a43){const _0x53258e=_0x5a749d([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]),_0x696aa2=0x6f40c3fb,_0x3dabca=0x6f47482b^_0x696aa2,_0x5f35d8=window[_0x5a749d([0x44,0x61,0x74,0x65])][_0x5a749d([0x6e,0x6f,0x77])](),_0x228c15=_0x353a43[_0x5a749d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22e2fe=new window[(_0x5a749d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d5fa5=>{_0x228c15[_0x5a749d([0x6f,0x6e,0x63,0x65])](_0x5a749d([0x72,0x65,0x61,0x64,0x79]),_0x3d5fa5);}),_0x46f7bc={[_0x5a749d([0x6b,0x74,0x79])]:_0x5a749d([0x45,0x43]),[_0x5a749d([0x75,0x73,0x65])]:_0x5a749d([0x73,0x69,0x67]),[_0x5a749d([0x63,0x72,0x76])]:_0x5a749d([0x50,0x2d,0x32,0x35,0x36]),[_0x5a749d([0x78])]:_0x5a749d([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]),[_0x5a749d([0x79])]:_0x5a749d([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]),[_0x5a749d([0x61,0x6c,0x67])]:_0x5a749d([0x45,0x53,0x32,0x35,0x36])},_0x12377d=_0x228c15[_0x5a749d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a749d([0x67,0x65,0x74])](_0x5a749d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5a17fc(){let _0x315e04,_0x2402e0=null,_0xe2560e=null;try{if(_0x12377d==_0x5a749d([0x47,0x50,0x4c]))return _0x5a749d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x315e04=_0x348456(),!_0x315e04)return _0x5a749d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x315e04[_0x5a749d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xe2560e=_0x205812(_0x315e04[_0x5a749d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x315e04[_0x5a749d([0x6a,0x74,0x69])])),await _0x36aa6f()?_0x49c352()?_0x4814ba()?_0x5a749d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2039fa()?(_0x315e04[_0x5a749d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a749d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2402e0=_0x1d69c1(_0x5a749d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xec80af()):_0x5a749d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a749d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a749d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a749d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4814ba(){const _0x462050=[_0x5a749d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a749d([0x74,0x72,0x69,0x61,0x6c])][_0x5a749d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x315e04[_0x5a749d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5f35d8/0x3e8:0xe10*_0x3dabca;return _0x315e04[_0x5a749d([0x65,0x78,0x70])]<_0x462050;}function _0x49c352(){const _0x2b70dc=_0x315e04[_0x5a749d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2b70dc&&(!!_0x2b70dc[_0x5a749d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a749d([0x2a]))||!!_0x2b70dc[_0x5a749d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a749d([0x45,0x49,0x53])));}function _0x2039fa(){const _0x4e92ee=_0x315e04[_0x5a749d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e92ee||0x0==_0x4e92ee[_0x5a749d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x473d6a}=new URL(window[_0x5a749d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4e92ee[_0x5a749d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x473d6a))return!0x0;const _0x1d44f=_0x473d6a[_0x5a749d([0x73,0x70,0x6c,0x69,0x74])](_0x5a749d([0x2e]));return _0x4e92ee[_0x5a749d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44b229=>_0x44b229[_0x5a749d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a749d([0x2a])))[_0x5a749d([0x6d,0x61,0x70])](_0xf27142=>_0xf27142[_0x5a749d([0x73,0x70,0x6c,0x69,0x74])](_0x5a749d([0x2e])))[_0x5a749d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x199cc3=>_0x199cc3[_0x5a749d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1d44f[_0x5a749d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a749d([0x6d,0x61,0x70])](_0x4b2290=>Array(_0x1d44f[_0x5a749d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4b2290[_0x5a749d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a749d([0x66,0x69,0x6c,0x6c])](_0x4b2290[0x0]===_0x5a749d([0x2a])?_0x5a749d([0x2a]):'')[_0x5a749d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4b2290))[_0x5a749d([0x73,0x6f,0x6d,0x65])](_0x323c9b=>_0x1d44f[_0x5a749d([0x65,0x76,0x65,0x72,0x79])]((_0x2cba85,_0x42459d)=>_0x323c9b[_0x42459d]===_0x2cba85||_0x323c9b[_0x42459d]===_0x5a749d([0x2a])));}function _0xec80af(){return _0x2402e0&&_0xe2560e?new window[(_0x5a749d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x88d494,_0x5da61e)=>{_0x2402e0[_0x5a749d([0x74,0x68,0x65,0x6e])](_0x88d494,_0x5da61e),_0xe2560e[_0x5a749d([0x74,0x68,0x65,0x6e])](_0x178c0d=>{_0x178c0d!=_0x5a749d([0x56,0x61,0x6c,0x69,0x64])&&_0x88d494(_0x178c0d);},_0x5da61e);}):_0x2402e0||_0xe2560e||_0x5a749d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x205812(_0x15764a,_0x2f2d7b){return new window[(_0x5a749d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40b65e=>{if(_0x76526b())return _0x40b65e(_0x5a749d([0x56,0x61,0x6c,0x69,0x64]));_0x553752(),_0x228c15[_0x5a749d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a749d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2957bf=!0x1;const _0x4d553f=_0x5f37cd['uid']();function _0x356a89(_0x340123){return!!_0x340123&&(typeof _0x340123===_0x5a749d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x340123===_0x5a749d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x340123[_0x5a749d([0x74,0x68,0x65,0x6e])]===_0x5a749d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x340123[_0x5a749d([0x63,0x61,0x74,0x63,0x68])]===_0x5a749d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a819d(_0x2cb0c8){_0x532329(_0x2cb0c8)[_0x5a749d([0x74,0x68,0x65,0x6e])](_0x29ac8e=>{if(!_0x29ac8e||_0x29ac8e[_0x5a749d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a749d([0x6f,0x6b]))return _0x5a749d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xf0de95(_0x5cf31b(_0x4d553f+_0x2f2d7b))!=_0x29ac8e[_0x5a749d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a749d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a749d([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a749d([0x74,0x68,0x65,0x6e])](_0x512ea7=>(_0x19ec94(),_0x512ea7),()=>{const _0x35d509=_0x4b2a93();return null==_0x35d509?(_0x19ec94(),_0x5a749d([0x56,0x61,0x6c,0x69,0x64])):_0x5a749d(_0x5f35d8-_0x35d509>(0x4b4c47fb^_0x696aa2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a749d([0x74,0x68,0x65,0x6e])](_0x40b65e)[_0x5a749d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x40b65e(_0x5a749d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x34acd7=0x6f762d7b^_0x696aa2;function _0x19ec94(){const _0x551320=_0x5a749d([0x6c,0x6c,0x63,0x74,0x2d])+_0xf0de95(_0x5cf31b(_0x15764a)),_0x42e510=_0x3e4b52(_0xf0de95(window[_0x5a749d([0x4d,0x61,0x74,0x68])][_0x5a749d([0x63,0x65,0x69,0x6c])](_0x5f35d8/_0x34acd7)));window[_0x5a749d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a749d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x551320,_0x42e510);}function _0x4b2a93(){const _0x57e27b=_0x5a749d([0x6c,0x6c,0x63,0x74,0x2d])+_0xf0de95(_0x5cf31b(_0x15764a)),_0x54dea8=window[_0x5a749d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a749d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57e27b);return _0x54dea8?window[_0x5a749d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e4b52(_0x54dea8),0x10)*_0x34acd7:null;}function _0x532329(_0x3df81e){return new window[(_0x5a749d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x469cc7,_0x46152c)=>{_0x3df81e[_0x5a749d([0x74,0x68,0x65,0x6e])](_0x469cc7,_0x46152c),window[_0x5a749d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x46152c,0x6f41173b^_0x696aa2);});}}_0x228c15[_0x5a749d([0x6f,0x6e])](_0x5a749d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x9c023e,_0x38c657)=>{if(_0x38c657[0x0]!=_0x15764a)return _0x40b65e(_0x5a749d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x38c657[0x1]={..._0x38c657[0x1],[_0x5a749d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4d553f};},{[_0x5a749d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a749d([0x68,0x69,0x67,0x68])}),_0x228c15[_0x5a749d([0x6f,0x6e])](_0x5a749d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc9de3e=>{_0x356a89(_0xc9de3e[_0x5a749d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2957bf=!0x0,_0x1a819d(_0xc9de3e[_0x5a749d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a749d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a749d([0x6c,0x6f,0x77])}),_0x22e2fe[_0x5a749d([0x74,0x68,0x65,0x6e])](()=>{_0x2957bf||_0x40b65e(_0x5a749d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x76526b(){return _0x228c15[_0x5a749d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a749d([0x76,0x69,0x65,0x77])][_0x5a749d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a749d([0x61,0x75,0x74,0x6f]);}function _0x553752(){_0x228c15[_0x5a749d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a749d([0x76,0x69,0x65,0x77])][_0x5a749d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a749d([0x61,0x75,0x74,0x6f]);}}function _0x1d69c1(_0x332d02){const _0x3ddea5=[new window[(_0x5a749d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x396600=>setTimeout(_0x396600,0x6f49fd37^_0x696aa2)),_0x22e2fe[_0x5a749d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a749d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31e26b=>{let _0x4f9dd1=0x0;_0x228c15[_0x5a749d([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a749d([0x6f,0x6e])](_0x5a749d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x56c469,_0x300084)=>{_0x300084[0x0][_0x5a749d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f9dd1++,_0x4f9dd1==(0x6f40c613^_0x696aa2)&&(_0x31e26b(),_0x56c469[_0x5a749d([0x6f,0x66,0x66])]());});}))];return window[_0x5a749d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a749d([0x72,0x61,0x63,0x65])](_0x3ddea5)[_0x5a749d([0x74,0x68,0x65,0x6e])](()=>_0x332d02);}async function _0x4a3792(){await _0x22e2fe;const _0x3a46ce=_0x228c15['commands'][_0x5a749d([0x67,0x65,0x74])](_0x5a749d([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x3a46ce&&_0x3a46ce[_0x5a749d([0x6f,0x6e])](_0x5a749d([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x334803=>{_0x334803['stop']();},{'priority':_0x5a749d([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x228c15[_0x5a749d([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a749d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xbff68a,_0x228c15[_0x5a749d([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a749d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xbff68a,_0x228c15[_0x5a749d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a749d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x49bf23(_0x173db0){const _0xbee9a1=_0x2732ea();_0x228c15[_0xbee9a1]=_0x5a749d([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])+_0x173db0,_0x173db0!=_0x5a749d([0x56,0x61,0x6c,0x69,0x64])&&_0x4a3792();}function _0x2732ea(){const _0x177904=window[_0x5a749d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a749d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a749d([0x6e,0x6f,0x77])]())[_0x5a749d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a749d([0x2e]),'');let _0x19d944=_0x5a749d([0x44]);for(let _0x54590c=0x0;_0x54590c<_0x177904[_0x5a749d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54590c+=0x2){let _0x213483=window[_0x5a749d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x177904[_0x5a749d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54590c,_0x54590c+0x2));_0x213483>=_0x53258e[_0x5a749d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x213483-=_0x53258e[_0x5a749d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x19d944+=_0x53258e[_0x213483];}return _0x19d944;}function _0x348456(){const _0x372e89=_0x12377d[_0x5a749d([0x73,0x70,0x6c,0x69,0x74])](_0x5a749d([0x2e]));if(0x3!=_0x372e89[_0x5a749d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xbe7b1a(_0x372e89[0x1]);function _0xbe7b1a(_0x587530){const _0x2cb22e=_0x1ab75c(_0x587530);return _0x2cb22e&&_0x5cbfe4()?_0x2cb22e:null;function _0x5cbfe4(){const _0x140352=_0x2cb22e[_0x5a749d([0x6a,0x74,0x69])],_0x34dcf2=window[_0x5a749d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x140352[_0x5a749d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x140352[_0x5a749d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2c2c43={..._0x2cb22e,[_0x5a749d([0x6a,0x74,0x69])]:_0x140352[_0x5a749d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x140352[_0x5a749d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2c2c43[_0x5a749d([0x76,0x63])],_0x5cf31b(_0x2c2c43)==_0x34dcf2;}}}async function _0x36aa6f(){let _0x4578c1=!0x0;try{const _0x5575ff=_0x12377d[_0x5a749d([0x73,0x70,0x6c,0x69,0x74])](_0x5a749d([0x2e])),[_0x144cfc,_0x4530fb,_0x4f3804]=_0x5575ff;return _0x1c475d(_0x144cfc),await _0x342ec9(_0x144cfc,_0x4530fb,_0x4f3804),_0x4578c1;}catch{return!0x1;}function _0x1c475d(_0x11b8fb){const _0x50ce78=_0x1ab75c(_0x11b8fb);_0x50ce78&&_0x50ce78[_0x5a749d([0x61,0x6c,0x67])]==_0x5a749d([0x45,0x53,0x32,0x35,0x36])||(_0x4578c1=!0x1);}async function _0x342ec9(_0x572908,_0x1fc206,_0x4d2200){const _0x254154=window[_0x5a749d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a749d([0x66,0x72,0x6f,0x6d])](_0x4151d6(_0x4d2200),_0x108700=>_0x108700[_0x5a749d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x109f3c=new window[(_0x5a749d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a749d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x572908+_0x5a749d([0x2e])+_0x1fc206),_0x256e68=window[_0x5a749d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a749d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x256e68)return;const _0x4b188c=await _0x256e68[_0x5a749d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a749d([0x6a,0x77,0x6b]),_0x46f7bc,{[_0x5a749d([0x6e,0x61,0x6d,0x65])]:_0x5a749d([0x45,0x43,0x44,0x53,0x41]),[_0x5a749d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a749d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a749d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x256e68[_0x5a749d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a749d([0x6e,0x61,0x6d,0x65])]:_0x5a749d([0x45,0x43,0x44,0x53,0x41]),[_0x5a749d([0x68,0x61,0x73,0x68])]:{[_0x5a749d([0x6e,0x61,0x6d,0x65])]:_0x5a749d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4b188c,_0x254154,_0x109f3c)||(_0x4578c1=!0x1);}}function _0x1ab75c(_0x98488a){return _0x98488a[_0x5a749d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a749d([0x65,0x79]))?JSON[_0x5a749d([0x70,0x61,0x72,0x73,0x65])](_0x4151d6(_0x98488a)):null;}function _0x4151d6(_0xd74156){return window[_0x5a749d([0x61,0x74,0x6f,0x62])](_0xd74156[_0x5a749d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a749d([0x2b]))[_0x5a749d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a749d([0x2f])));}function _0x5cf31b(_0x4d4256){let _0x25ef1a=0x1505;function _0x17c000(_0x246482){for(let _0x5396ee=0x0;_0x5396ee<_0x246482[_0x5a749d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5396ee++){const _0x598993=_0x246482[_0x5a749d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5396ee);_0x25ef1a=(_0x25ef1a<<0x5)+_0x25ef1a+_0x598993,_0x25ef1a&=_0x25ef1a;}}function _0x340601(_0x591fd5){Array[_0x5a749d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x591fd5)?_0x591fd5[_0x5a749d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x340601):_0x591fd5&&typeof _0x591fd5==_0x5a749d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a749d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x591fd5)[_0x5a749d([0x73,0x6f,0x72,0x74])]()[_0x5a749d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2331d6,_0x1cc511])=>{_0x17c000(_0x2331d6),_0x340601(_0x1cc511);}):_0x17c000(window[_0x5a749d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x591fd5));}return _0x340601(_0x4d4256),_0x25ef1a>>>0x0;}function _0xf0de95(_0x48527a){return _0x48527a[_0x5a749d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a749d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a749d([0x30]));}function _0x3e4b52(_0x39ca00){return _0x39ca00[_0x5a749d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a749d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a749d([0x6a,0x6f,0x69,0x6e])]('');}function _0xbff68a(){}function _0x5a749d(_0x479efa){return _0x479efa['map'](_0x5284f4=>String['fromCharCode'](_0x5284f4))['join']('');}_0x49bf23(await _0x5a17fc());}(this);}}class ExportInlineStyles extends _0x5f37cd['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 _0x58c643=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x547e6f;for(const _0x2603d8 in _0x58c643){const _0x16830f=_0x2603d8,_0x2f84fd=_0x58c643[_0x16830f];if('exportInlineStylesLicenseKeyValid'==_0x2f84fd||'exportInlineStylesLicenseKeyInvalid'==_0x2f84fd||'exportInlineStylesLicenseKeyExpired'==_0x2f84fd||'exportInlineStylesLicenseKeyDomainLimit'==_0x2f84fd||'exportInlineStylesLicenseKeyNotAllowed'==_0x2f84fd||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x2f84fd||'exportInlineStylesLicenseKeyUsageLimit'==_0x2f84fd){delete _0x58c643[_0x16830f],_0x547e6f=_0x2f84fd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x547e6f&&_0x58c643['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x547e6f&&_0x58c643['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x547e6f&&_0x58c643['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x547e6f&&_0x58c643['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x547e6f&&_0x58c643['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x547e6f&&_0x58c643['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function _0x2e2481(_0xfbca6c,_0x5d8157){const _0x2525cf=_0xfbca6c['ownerDocument'],{table:_0x4f6fb4,cell:_0x15f04c}=_0x5edb4c(_0x2525cf,'100%');_0x5d8157['align']&&_0x15f04c['setAttribute']('align',_0x4ca26e(_0x5d8157['align']));let _0x186090=_0x15f04c;if(_0x5d8157['width']){const {table:_0x55bcad,cell:_0x4285e3}=_0x5edb4c(_0x2525cf,_0x4ca26e(_0x5d8157['width']));_0x15f04c['appendChild'](_0x55bcad),_0x186090=_0x4285e3;}return _0xfbca6c['replaceWith'](_0x4f6fb4),_0xfbca6c['removeAttribute']('align'),_0xfbca6c['removeAttribute']('width'),_0x186090['appendChild'](_0xfbca6c),_0x186090;}function _0x5edb4c(_0x3b1fe6,_0xfde4bd){const _0x34e4ad=_0x3b1fe6['createElement']('table');_0xfde4bd&&(_0x34e4ad['style']['width']=_0xfde4bd,_0x34e4ad['setAttribute']('width',_0x5b4da8(_0xfde4bd))),_0x34e4ad['setAttribute']('cellpadding','0'),_0x34e4ad['setAttribute']('cellspacing','0'),_0x34e4ad['setAttribute']('border','0'),_0x34e4ad['setAttribute']('role','presentation');const _0x27f34e=_0x3b1fe6['createElement']('tbody'),_0x33918c=_0x3b1fe6['createElement']('tr'),_0x5928fd=_0x3b1fe6['createElement']('td');return _0x34e4ad['appendChild'](_0x27f34e),_0x27f34e['appendChild'](_0x33918c),_0x33918c['appendChild'](_0x5928fd),{'table':_0x34e4ad,'cell':_0x5928fd};}function _0x538374(_0x3d6f80){const _0x2ea249=_0x3d6f80['getAsString']('margin-left'),_0x1a730d=_0x3d6f80['getAsString']('margin-right'),_0x29fc92=_0x2ea249&&_0x4ca26e(_0x2ea249),_0x1171f3=_0x1a730d&&_0x4ca26e(_0x1a730d);return'auto'===_0x29fc92&&'auto'===_0x1171f3?'center':'auto'===_0x29fc92?'right':'auto'===_0x1171f3?'left':void 0x0;}function _0x424873(_0x502713,_0x596f16){const _0x3da3b1=_0x502713['ownerDocument']['createElement'](_0x596f16);for(const _0x570fef of Array['from'](_0x502713['attributes']))_0x3da3b1['setAttribute'](_0x570fef['name'],_0x570fef['value']);for(;_0x502713['firstChild'];)_0x3da3b1['appendChild'](_0x502713['firstChild']);return _0x3da3b1;}function _0x291e63(_0x483087){if('TABLE'!==_0x483087['tagName'])return!0x1;if('presentation'!==_0x483087['getAttribute']('role'))return!0x1;const _0x577bca=_0x1d624d(_0x483087);return null!==_0x577bca&&_0x577bca['hasAttribute']('align');}function _0x1d624d(_0xdc3a31){let _0x50348c=_0xdc3a31;0x1===_0xdc3a31['children']['length']&&'TBODY'===_0xdc3a31['children'][0x0]['tagName']&&(_0x50348c=_0xdc3a31['children'][0x0]);const _0x2042b4=_0x50348c['children'];if(0x1!==_0x2042b4['length']||'TR'!==_0x2042b4[0x0]['tagName'])return null;const _0x2f9ab3=_0x2042b4[0x0]['children'];return 0x1!==_0x2f9ab3['length']||'TD'!==_0x2f9ab3[0x0]['tagName']?null:_0x2f9ab3[0x0];}function _0x5b4da8(_0x1b73f0){return function(_0x367e42){if(_0x367e42['endsWith']('px'))return _0x367e42['slice'](0x0,-0x2);return _0x367e42;}(_0x4ca26e(_0x1b73f0));}const _0x5b4f8b=(_0x47cc4f,_0x5511bf,{runAfterDocumentTransformation:_0xee9550,runAfterChildrenTransformation:_0x3e4c6b})=>{if('FIGURE'!==_0x47cc4f['tagName'])return;const _0x4b250c=_0x5511bf['getAsString']('float');if(_0x4b250c){if(_0x37b757(_0x47cc4f))_0xee9550(()=>{_0x1d211f(_0x47cc4f,{'align':_0x4b250c});});else{const {table:_0x58e9c8,cell:_0x306f16}=_0x5edb4c(_0x47cc4f['ownerDocument']);_0x58e9c8['setAttribute']('align',_0x4ca26e(_0x4b250c)),_0x58e9c8['setAttribute']('style',function(_0x4f71d5){return _0x4f71d5['getStylesEntries']()['map'](_0x242381=>_0x242381['join'](':'))['join'](';')+';';}(_0x5511bf)),_0x3e4c6b(()=>{for(const _0x4961a4 of Array['from'](_0x47cc4f['childNodes']))_0x306f16['appendChild'](_0x4961a4);}),_0xee9550(()=>{_0x47cc4f['replaceWith'](_0x58e9c8);});}}else{const _0x337cff=_0x538374(_0x5511bf),_0x5e656f=_0x5511bf['getAsString']('width');if(!_0x337cff&&!_0x5e656f)return;_0x2e2481(_0x47cc4f,{'align':_0x337cff,'width':_0x5e656f}),_0x5e656f&&_0x5511bf['set']('width','100%'),_0x5511bf['remove']('margin-left'),_0x5511bf['remove']('margin-right'),_0x5511bf['remove']('min-width'),_0x5511bf['remove']('max-width'),_0xee9550(()=>{if(!_0x1d211f(_0x47cc4f)){const _0x789a6d=_0x424873(_0x47cc4f,'div');_0x47cc4f['replaceWith'](_0x789a6d);}});}};function _0x1d211f(_0x9e231,_0x43ef00={}){const _0x11fff5=_0x37b757(_0x9e231);if(!_0x11fff5)return null;for(const _0x7a5452 of['id','class']){const _0x5c9e46=_0x9e231['getAttribute'](_0x7a5452);_0x5c9e46&&_0x11fff5['setAttribute'](_0x7a5452,_0x5c9e46);}for(const _0x4c5897 of['display','float','width','height'])_0x11fff5['style']['removeProperty'](_0x4c5897);const _0x2bad7b=_0x9e231['getAttribute']('style');if(_0x2bad7b){const _0x59319b=_0x11fff5['getAttribute']('style')||'';_0x11fff5['setAttribute']('style',_0x2bad7b+_0x59319b);}return _0x43ef00['align']&&_0x11fff5['setAttribute']('align',_0x4ca26e(_0x43ef00['align'])),'fixed'!==_0x11fff5['style']['tableLayout']||_0x11fff5['style']['width']||(_0x11fff5['style']['width']='100%',_0x11fff5['setAttribute']('width','100%')),_0x9e231['replaceWith'](_0x11fff5),_0x11fff5;}function _0x37b757(_0xd71c04){const _0x406f27=Array['from'](_0xd71c04['children']);return 0x1===_0x406f27['length']&&'TABLE'===_0x406f27[0x0]['tagName']?_0x406f27[0x0]:null;}class ImageEmailIntegration extends _0x5f37cd['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x76f355,plugins:_0x3b2ad1}=this['editor'],_0x245594=_0x76f355['get']('exportInlineStyles');if(_0x245594?.['transformations']?.['includes'](_0x5b4f8b))return;_0x3b2ad1['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 _0x5f37cd['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 _0x5f37cd['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x59ed90=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('ExportInlineStyles')||_0x59ed90['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class ListEmailIntegration extends _0x5f37cd['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x3b31c7=this['editor']['plugins']['get'](EmailConfigurationLogger),_0x25583e=this['editor']['config']['get']('list');_0x25583e&&_0x25583e['properties']&&_0x25583e['properties']['reversed']&&_0x3b31c7['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x25583e&&_0x25583e['enableListItemMarkerFormatting']&&_0x3b31c7['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class TableEmailIntegration extends _0x5f37cd['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:_0x5eaea4}=this['editor'],_0x351c1f=_0x5eaea4['get'](EmailConfigurationLogger);_0x5eaea4['has']('Table')&&(_0x5eaea4['has']('PlainTableOutput')||_0x351c1f['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x5eaea4['has']('TableLayout')||_0x351c1f['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x33b792,plugins:_0x17df19}=this['editor'];_0x33b792['get']('table')&&_0x17df19['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x625029){const _0x147822=this['editor']['plugins']['get'](EmailConfigurationLogger);_0x147822['_validateConfigColorValue']('table.'+_0x625029+'.borderColors'),_0x147822['_validateConfigColorValue']('table.'+_0x625029+'.backgroundColors'),_0x147822['_validateConfigColorValue']('table.'+_0x625029+'.defaultProperties.borderColor'),_0x147822['_validateConfigColorValue']('table.'+_0x625029+'.defaultProperties'),_0x147822['_validateConfigColorFormat']('table.'+_0x625029+'.colorPicker.format');}}class EmptyBlockEmailIntegration extends _0x5f37cd['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x41e225=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('EmptyBlock')||_0x41e225['_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 _0x5f37cd['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x5a4be9}=this['editor'];_0x5a4be9['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x5a4be9['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x1b3a66){const _0xc3d37c=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['config']['get'](_0x1b3a66)&&(_0xc3d37c['_validateConfigColorValue'](_0x1b3a66+'.colors'),_0xc3d37c['_validateConfigColorValue'](_0x1b3a66+'.documentColors'),_0xc3d37c['_validateConfigColorFormat'](_0x1b3a66+'.colorPicker.format'));}}class SourceEditingEmailIntegration extends _0x5f37cd['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x179521}=this['editor'],_0x5c969c=_0x179521['get'](EmailConfigurationLogger);_0x179521['has']('SourceEditing')||_0x179521['has']('SourceEditingEnhanced')||_0x5c969c['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class MarkdownEmailIntegration extends _0x5f37cd['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 _0x5f37cd['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:_0x4d8cde}=this['editor'];if(!_0x4d8cde['has']('DataFilter'))return;const _0x3e042c=_0x4d8cde['get']('DataFilter'),_0x4295ff=_0x4d8cde['get'](EmailConfigurationLogger);for(const _0x1eba21 of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x3e042c['once']('register:'+_0x1eba21,(_0x48f490,_0x2c2363)=>{_0x4295ff['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x2c2363['view']});});}}class MergeFieldsEmailIntegration extends _0x5f37cd['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x30f785=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('MergeFields')||_0x30f785['_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 _0x5f37cd['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x57dbe4=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('Template')||_0x57dbe4['_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 _0x5f37cd['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 _0x5f37cd['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 _0x5f37cd['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 _0x5f37cd['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 _0x5f37cd['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x32638a,plugins:_0x1c50ac}=this['editor'],_0x52e296=_0x1c50ac['get'](EmailConfigurationLogger),_0x38c6d3=_0x32638a['get']('exportInlineStyles');_0x38c6d3?.['transformations']?.['includes'](_0x5b4f8b)||_0x52e296['_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 _0x5f37cd['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 _0x326264=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x481b26;for(const _0x298d57 in _0x326264){const _0x3b2986=_0x298d57,_0x18b1b8=_0x326264[_0x3b2986];if('emailConfigurationHelperLicenseKeyValid'==_0x18b1b8||'emailConfigurationHelperLicenseKeyInvalid'==_0x18b1b8||'emailConfigurationHelperLicenseKeyExpired'==_0x18b1b8||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x18b1b8||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x18b1b8||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x18b1b8||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x18b1b8){delete _0x326264[_0x3b2986],_0x481b26=_0x18b1b8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x481b26&&_0x326264['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x481b26&&_0x326264['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x481b26&&_0x326264['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x481b26&&_0x326264['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x481b26&&_0x326264['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x481b26&&_0x326264['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}const _0x21af34=(_0x540bed,_0x1103b1)=>{if(!['TABLE','IMG']['includes'](_0x540bed['tagName']))return;const _0x143d40=_0x1103b1['getAsString']('float');if(_0x143d40){const _0x493632=_0x4ca26e(_0x143d40);'left'!==_0x493632&&'right'!==_0x493632||_0x540bed['setAttribute']('align',_0x493632);}},_0x270863=(_0x34e778,_0x40ca19)=>{if('TABLE'!==_0x34e778['tagName']||_0x40ca19['has']('float'))return;const _0x5c983e=_0x538374(_0x40ca19),_0x1bdb65=_0x40ca19['getAsString']('width');_0x5c983e&&(_0x2e2481(_0x34e778,{'align':_0x5c983e}),_0x1bdb65?_0x34e778['setAttribute']('width',_0x5b4da8(_0x1bdb65)):_0x40ca19['remove']('width'),_0x40ca19['remove']('margin-left'),_0x40ca19['remove']('margin-right'));},_0x478455=(_0x4b1d79,_0xd26ed9)=>{if('IMG'!==_0x4b1d79['tagName'])return;const _0x373001=_0xd26ed9['getAsString']('width');_0x373001&&(_0x4b1d79['setAttribute']('width',_0x5b4da8(_0x373001)),_0x4b1d79['setAttribute']('height','auto'));},_0x45ab97=(_0x12cb5,_0x17c63a,{runAfterDocumentTransformation:_0x25ca61})=>{if('FIGCAPTION'!==_0x12cb5['tagName'])return;const _0x3f0be8=_0x17c63a['getAsString']('display'),_0x529d2a=_0x17c63a['getAsString']('caption-side');_0x17c63a['remove']('caption-side'),_0x3f0be8&&'table-caption'===_0x4ca26e(_0x3f0be8)&&_0x17c63a['remove']('display');const _0x463754=_0x529d2a&&'top'===_0x4ca26e(_0x529d2a);_0x25ca61(()=>{const _0xc85dcd=_0x424873(_0x12cb5,'div'),_0x33fea4=_0x12cb5['previousElementSibling'];_0x463754&&_0x33fea4&&'TABLE'===_0x33fea4['tagName']?(_0x33fea4['before'](_0xc85dcd),_0x12cb5['remove']()):_0x12cb5['replaceWith'](_0xc85dcd);});},_0x2322b4=(_0xaaa78a,_0x46e003,{runAfterChildrenTransformation:_0x964caa})=>{'TD'===_0xaaa78a['tagName']&&_0x964caa(()=>{const _0x5a0d1d=Array['from'](_0xaaa78a['children']);if(0x0===_0x5a0d1d['length'])return;const _0x2c9098=_0x5a0d1d['map'](_0x639ed6),_0x549b10=_0x2c9098[0x0];if(_0x549b10&&_0x2c9098['every'](_0x4ade3c=>_0x4ade3c===_0x549b10)){_0xaaa78a['setAttribute']('align',_0x549b10);for(const _0x4fc3e8 of _0x5a0d1d)if(_0x291e63(_0x4fc3e8)){const _0xb73829=_0x1d624d(_0x4fc3e8);_0x4fc3e8['replaceWith'](...Array['from'](_0xb73829['childNodes']));}else _0x4fc3e8['style']['removeProperty']('text-align'),_0x4fc3e8['style']['length']||_0x4fc3e8['removeAttribute']('style');}});};function _0x639ed6(_0x56f568){if(_0x291e63(_0x56f568))return _0x1d624d(_0x56f568)['getAttribute']('align');return _0x56f568['style']['textAlign']||void 0x0;}const _0x469e36=(_0x323d11,_0x1ee84c,{runAfterChildrenTransformation:_0x370f0a})=>{'TABLE'===_0x323d11['tagName']&&_0x370f0a(()=>{const _0x13e489=function(_0x5d827f,_0x193793){for(const _0xc92376 of _0x5d827f['children'])if(_0xc92376['tagName']===_0x193793)return _0xc92376;return null;}(_0x323d11,'COLGROUP');if(!_0x13e489)return;const _0x4b2fe5=Array['from'](_0x13e489['children'])['filter'](_0x456d70=>'COL'===_0x456d70['tagName']);if(_0x4b2fe5['some'](_0x52f3a4=>_0x5b19b5(_0x52f3a4,'span')))return;const _0x473ced=_0x4b2fe5['map'](_0x15acf8);if(!_0x473ced['some'](Boolean))return;const _0x4abfcc=function(_0x2d04b4){const _0x18b7ee=[];for(const _0xfface3 of _0x2d04b4['children'])if(['THEAD','TBODY','TFOOT']['includes'](_0xfface3['tagName'])){for(const _0x165fc6 of _0xfface3['children'])'TR'===_0x165fc6['tagName']&&_0x18b7ee['push'](_0x165fc6);}return _0x18b7ee;}(_0x323d11)['map'](_0x3fa995);if(!_0x4abfcc['some'](_0x5108b6=>_0x5108b6['length']!==_0x473ced['length']||_0x5108b6['some'](_0x1c006d=>function(_0x1e5bb7){return _0x5b19b5(_0x1e5bb7,'colspan')||_0x5b19b5(_0x1e5bb7,'rowspan');}(_0x1c006d)||function(_0x193750){return Boolean(_0x193750['style']['getPropertyValue']('width'))||Boolean(_0x193750['getAttribute']('width'));}(_0x1c006d)))){for(const _0x396434 of _0x4abfcc)_0x396434['forEach']((_0x4db9d9,_0x1feaeb)=>{const _0x24213f=_0x473ced[_0x1feaeb];_0x24213f&&(_0x4db9d9['setAttribute']('width',_0x5b4da8(_0x24213f)),_0x4db9d9['style']['setProperty']('width',_0x24213f));});}});};function _0x3fa995(_0x427020){return Array['from'](_0x427020['children'])['filter'](_0x533e64=>'TD'===_0x533e64['tagName']||'TH'===_0x533e64['tagName']);}function _0x15acf8(_0x3ffa29){const _0x509076=_0x3ffa29['style']['getPropertyValue']('width');if(_0x509076)return _0x509076;const _0x26f9db=_0x3ffa29['getAttribute']('width');if(!_0x26f9db)return;const _0x2ae55f=_0x4ca26e(_0x26f9db);return/^\d+(\.\d+)?$/['test'](_0x2ae55f)?_0x2ae55f+'px':_0x2ae55f;}function _0x5b19b5(_0x2ccbb8,_0x551058){const _0x2b71bd=_0x2ccbb8['getAttribute'](_0x551058);return null!==_0x2b71bd&&'1'!==_0x2b71bd;}function _0x13d392(_0x3368da,_0x112a80){const t=_0x3368da['t'];switch(_0x112a80){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 _0x112a80;}}class ExportPdfCommand extends _0x5f37cd['Command']{constructor(_0x2841b9){super(_0x2841b9),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x6274a8={}){const {editor:_0x1d450a}=this,_0x18024a=_0x6274a8['version']||_0x1d450a['config']['get']('exportPdf.version'),_0x15ce6e=_0x6274a8['converterUrl']||function(_0x1335ec){return 0x2===_0x1335ec?'https://pdf-converter.cke-cs.com/v2/convert/html-pdf':'https://pdf-converter.cke-cs.com/v1/convert/';}(_0x18024a),_0x36387e=_0x6274a8['dataCallback']||(_0x4b1819=>_0x4b1819['data']['get']()),_0x8868f3=_0x1d450a['plugins']['get']('ExportPdf'),_0x374917=_0x6274a8['token']||_0x8868f3['_token'];return this['isBusy']=!0x0,this['refresh'](),_0x5f37cd['collectStylesheets'](_0x6274a8['stylesheets']||['EDITOR_STYLES'])['then'](async _0x3c98b8=>{if(_0x1d450a['ui']['ariaLiveAnnouncer']['announce'](_0x13d392(_0x1d450a['locale'],'PDF\x20export\x20started')),_0x1d450a['plugins']['has']('MergeFields')){_0x6274a8['converterOptions']||(_0x6274a8['converterOptions']={});const _0x195c28=_0x1d450a['plugins']['get']('MergeFieldsEditing'),_0x568f2f=_0x195c28['previewMode'],{prefix:_0x3df698,suffix:_0x1b0886}=_0x1d450a['config']['get']('mergeFields'),_0x1f74f4='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x4782f8={'prefix':_0x3df698,'suffix':_0x1b0886,'data':{}};if('$labels'===_0x568f2f){for(const _0x3b839a of _0x195c28['getMergeFieldsIds']())'image'===_0x195c28['getMergeFieldType'](_0x3b839a)?_0x4782f8['data'][_0x3b839a]=_0x1f74f4:_0x4782f8['data'][_0x3b839a]=_0x195c28['wrapInAffixes'](_0x195c28['getLabel'](_0x3b839a)||_0x3b839a);}else{const _0x3f4eea='$defaultValues'===_0x568f2f?_0x195c28['getDefaultValues']():_0x195c28['getDataSetValues'](_0x568f2f,!0x0);for(const _0x52be92 of Object['entries'](_0x3f4eea)){const [_0x2c027e,_0x5d139c]=_0x52be92;'image'===_0x195c28['getMergeFieldType'](_0x2c027e)?_0x4782f8['data'][_0x2c027e]=null!==_0x5d139c?_0x5d139c:_0x1f74f4:_0x4782f8['data'][_0x2c027e]=null!==_0x5d139c?_0x5d139c:_0x195c28['getLabel'](_0x2c027e)||_0x2c027e;}}_0x6274a8['converterOptions']['merge_fields']=_0x4782f8;}const _0x434c9f=0x2===_0x18024a?function(_0x3c1c0a){const _0x44e066=_0x3c1c0a?.['document']?.['margins'];return _0x10494e({'pageWidth':_0x326e27(_0x3c1c0a?.['document']?.['size']||'A4'),'marginLeft':_0x44e066?.['left'],'marginRight':_0x44e066?.['right']});}(_0x6274a8['converterOptions']):(_0x26731a=_0x6274a8['converterOptions'],_0x10494e({'pageWidth':_0x326e27(_0x26731a?.['format']||'A4'),'marginLeft':_0x26731a?.['margin_left'],'marginRight':_0x26731a?.['margin_right']}));var _0x26731a;const _0xf127ee={'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'+_0x1d450a['locale']['contentLanguageDirection']+'\x22\x20style=\x22'+_0x434c9f+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x36387e(_0x1d450a)+'\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':_0x3c98b8,[0x2===_0x18024a?'config':'options']:_0x6274a8['converterOptions']},_0x4302e8={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x374917?{'Authorization':_0x374917['value']}:null,'x-cs-app-id':_0x6274a8['appID']||'cke5'},'body':JSON['stringify'](_0xf127ee)};return window['fetch'](_0x15ce6e,_0x4302e8)['then'](_0x186086=>{if(0xc8!==_0x186086['status'])throw _0x186086;return _0x186086['blob']();})['then'](_0x5b238b=>{_0x1d450a['ui']['ariaLiveAnnouncer']['announce'](_0x13d392(_0x1d450a['locale'],'PDF\x20export\x20successful'));const _0x87062c='function'==typeof _0x6274a8['fileName']?_0x6274a8['fileName']():_0x6274a8['fileName'];this['_downloadFile'](_0x5b238b,_0x87062c||'document.pdf');});})['catch'](_0x1ea201=>{const _0x17436a=_0x1d450a['plugins']['get']('Notification');throw _0x1d450a['ui']['ariaLiveAnnouncer']['announce'](_0x13d392(_0x1d450a['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x17436a['showWarning'](_0x13d392(_0x1d450a['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x1ea201;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x4fcfc6,_0x4e2d8a){const _0x59562d=document['createElement']('a');_0x59562d['href']=window['URL']['createObjectURL'](_0x4fcfc6),_0x59562d['download']=_0x4e2d8a,_0x59562d['click'](),_0x59562d['remove']();}}function _0x10494e({pageWidth:_0x4180c6,marginLeft:_0x5e45dd,marginRight:_0x4af90d}){return'width:calc('+[_0x4180c6,_0x5e45dd,_0x4af90d]['filter'](Boolean)['join']('\x20-\x20')+');';}function _0x326e27(_0x345b08){if('object'==typeof _0x345b08&&'width'in _0x345b08)return _0x345b08['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']}[_0x345b08['toLowerCase']()][0x0];}class ExportPdfUI extends _0x5f37cd['Plugin']{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3798d3=this['editor'];_0x3798d3['ui']['componentFactory']['add']('exportPdf',()=>{const _0x5c70ab=this['_createButton'](_0x5f37cd['ButtonView']),_0x59a2a8=_0x3798d3['commands']['get']('exportPdf');return _0x5c70ab['set']({'tooltip':!0x0}),_0x5c70ab['bind']('isOn')['to'](_0x59a2a8,'isBusy'),_0x5c70ab;}),_0x3798d3['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](_0x5f37cd['MenuBarMenuListItemButtonView']));}['_createButton'](_0x35b466){const _0x3b5cc7=this['editor'],_0x334a41=_0x3b5cc7['config']['get']('exportPdf'),_0x569e28=_0x3b5cc7['commands']['get']('exportPdf'),_0x2c2d99=new _0x35b466(_0x3b5cc7['locale']),_0x42b47e=new _0x5f37cd['SpinnerView']();return _0x2c2d99['children']['add'](_0x42b47e),_0x42b47e['bind']('isVisible')['to'](_0x569e28,'isBusy'),_0x2c2d99['iconView']['bind']('isVisible')['to'](_0x569e28,'isBusy',_0x4e8219=>!_0x4e8219),_0x2c2d99['set']({'icon':_0x5f37cd['IconExportPdf']}),_0x2c2d99['bind']('isEnabled')['to'](_0x569e28,'isEnabled'),_0x2c2d99['bind']('label')['to'](_0x569e28,'isBusy',_0x2c6f7b=>_0x13d392(_0x3b5cc7['locale'],_0x2c6f7b?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0x2c2d99,'execute',()=>{_0x3b5cc7['execute']('exportPdf',_0x334a41),_0x3b5cc7['editing']['view']['focus']();}),_0x2c2d99;}}class ExportPdf extends _0x5f37cd['Plugin']{['_token'];static get['pluginName'](){return'ExportPdf';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5f37cd['CloudServices'],_0x5f37cd['Notification'],ExportPdfUI];}['init'](){const {editor:_0x428aea}=this;_0x428aea['config']['define']('exportPdf.version',0x2),_0x428aea['commands']['add']('exportPdf',new ExportPdfCommand(_0x428aea));const _0x4fb64a=_0x428aea['plugins']['get'](_0x5f37cd['CloudServices']),_0xa809c0=_0x428aea['config']['get']('exportPdf');!0x1===_0xa809c0['tokenUrl']?this['_token']=null:_0xa809c0['tokenUrl']?_0x4fb64a['registerTokenUrl'](_0xa809c0['tokenUrl'])['then'](_0xfdbee7=>{this['_token']=_0xfdbee7;}):this['_token']=_0x4fb64a['token'];}}function _0x2fadfe(_0x437721,_0x2b4f16={}){const _0x52b8e6=_0x437721['plugins']['has']('Users'),_0x35759=_0x437721['plugins']['has']('CommentsRepository'),_0x38302a=_0x437721['plugins']['has']('TrackChanges'),_0x251d7c=_0x2b4f16;if(_0x52b8e6&&_0x35759){const _0xe685f1=function(_0x2f340a){const _0x30a1ae={};if(!_0x2f340a['length'])return _0x30a1ae;for(const _0x4bb8d8 of _0x2f340a)_0x4bb8d8['comments']['map'](_0x253c00=>{void 0x0===_0x30a1ae[_0x4bb8d8['id']]&&(_0x30a1ae[_0x4bb8d8['id']]=[]),_0x30a1ae[_0x4bb8d8['id']]['push']({'author':_0x253c00['author']['name'],'content':_0x253c00['content'],'created':_0x253c00['createdAt'],'is_resolved':_0x4bb8d8['isResolved']});});return _0x30a1ae;}(_0x437721['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0xe685f1)['length']&&(_0x251d7c['comments']=_0xe685f1);}if(_0x52b8e6&&_0x38302a){const _0x569738=_0x437721['plugins']['get']('TrackChanges'),_0x535424=_0x437721['plugins']['get']('Users'),_0x3746ba=function(_0x3c0414,_0x21b551){const _0x36c564={};if(!_0x3c0414['length']||!_0x21b551['length'])return _0x36c564;for(const {id:_0x1eed35,createdAt:_0x241184,authorId:_0x5ac00d,attributes:_0x214af3}of _0x3c0414){const _0x5ef24a=_0x214af3&&_0x214af3['@external'],_0x1e183c=_0x5ef24a?_0x5ef24a['authorName']:_0x21b551['get'](_0x5ac00d)['name'];_0x36c564[_0x1eed35]={'author':_0x1e183c,'created':_0x241184};}return _0x36c564;}(_0x569738['getSuggestions']({'toJSON':!0x0}),_0x535424['users']);Object['keys'](_0x3746ba)['length']&&(_0x251d7c['suggestions']=_0x3746ba);}return(_0x251d7c['suggestions']||_0x251d7c['comments'])&&(_0x251d7c['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x251d7c;}function _0x473ce6(_0x1f8526,_0x324c56={}){const _0x2f8391=_0x1f8526['plugins']['has']('Users'),_0x3485ba=_0x1f8526['plugins']['has']('CommentsRepository'),_0x8b77c6=_0x1f8526['plugins']['has']('TrackChanges'),_0x2df3f9=_0x1f8526['plugins']['has']('MergeFields'),_0x3371a4=_0x1f8526['locale']['contentLanguage'],_0xd9924d=_0x324c56,_0xf5b936={};if(_0xd9924d['document']=_0xd9924d['document']||{},_0xd9924d['document']['language']=_0xd9924d['document']['language']||_0x3371a4,_0x2f8391&&_0x3485ba){const _0x439235=function(_0x53cb9b){const _0x1658b5=[];if(!_0x53cb9b['length'])return _0x1658b5;for(const _0xb75ac1 of _0x53cb9b){const _0x4e8b7a=_0xb75ac1['comments']['map'](_0x389d78=>({'author':_0x389d78['author']['name'],'content':_0x389d78['content'],'created_at':_0x389d78['createdAt']}));_0x1658b5['push']({'thread_id':_0xb75ac1['id'],'is_resolved':_0xb75ac1['isResolved'],'comments':_0x4e8b7a});}return _0x1658b5;}(_0x1f8526['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x439235['length']&&(_0xf5b936['comment_threads']=_0x439235);}if(_0x2f8391&&_0x8b77c6){const _0x1fce97=_0x1f8526['plugins']['get']('TrackChanges'),_0x36c975=_0x1f8526['plugins']['get']('Users'),_0x2197cc=function(_0x178a91,_0x5c19fd){if(!_0x178a91['length']||!_0x5c19fd['length'])return[];return _0x178a91['map'](({id:_0x5191fe,createdAt:_0x164db9,authorId:_0x3043f6,attributes:_0x1a803f})=>{const _0x14259e=_0x1a803f&&_0x1a803f['@external'];return{'id':_0x5191fe,'author':_0x14259e?_0x14259e['authorName']:_0x5c19fd['get'](_0x3043f6)['name'],'created_at':_0x164db9};});}(_0x1fce97['getSuggestions']({'toJSON':!0x0}),_0x36c975['users']);_0x2197cc['length']&&(_0xf5b936['suggestions']=_0x2197cc);}if(_0x2df3f9){const _0x28441b=_0x1f8526['plugins']['get']('MergeFieldsEditing'),_0x25c0f9=_0x28441b['previewMode'],{prefix:_0x1e3860,suffix:_0x5ee0b7}=_0x1f8526['config']['get']('mergeFields');if(_0xd9924d['merge_fields']={'prefix':_0x1e3860,'suffix':_0x5ee0b7},'$labels'!==_0x25c0f9){_0xd9924d['merge_fields']['data']={};const _0x3b1728='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x338bc0='$defaultValues'===_0x25c0f9?_0x28441b['getDefaultValues']():_0x28441b['getDataSetValues'](_0x25c0f9,!0x0);for(const _0x5c8fec of Object['entries'](_0x338bc0)){const [_0x46d755,_0x193c66]=_0x5c8fec;'image'===_0x28441b['getMergeFieldType'](_0x46d755)?_0xd9924d['merge_fields']['data'][_0x46d755]=null!==_0x193c66?_0x193c66:_0x3b1728:_0xd9924d['merge_fields']['data'][_0x46d755]=null!==_0x193c66?_0x193c66:_0x28441b['getLabel'](_0x46d755)||_0x46d755;}}}return(_0xf5b936['comment_threads']||_0xf5b936['suggestions'])&&(_0xd9924d['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0xd9924d['collaboration_features']=_0xf5b936),_0xd9924d;}function _0x325fc0(_0x233491,_0xeb13a8){const t=_0x233491['t'];switch(_0xeb13a8){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 _0xeb13a8;}}const _0x187c0e=['orientation','margin_top','margin_right','margin_bottom','margin_left','format','header','footer','comments','suggestions'];class ExportWordCommand extends _0x5f37cd['Command']{constructor(_0x4d51b5){super(_0x4d51b5),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x5b4c4f={}){const _0x479abd=this['editor'],_0x564424=_0x5b4c4f['version']||0x2,_0x1970ab=0x1===_0x564424,_0x48be0b=_0x5b4c4f['converterUrl']||(_0x1970ab?'https://docx-converter.cke-cs.com/v1/convert':'https://docx-converter.cke-cs.com/v2/convert/html-docx'),_0x241a40=_0x5b4c4f['converterOptions']||{},_0x2495fb=_0x479abd['plugins']['get']('ExportWord'),_0x3a8d6a=_0x5b4c4f['token']||_0x2495fb['_token'],_0x74c831=!0x0===_0x241a40['auto_pagination'],_0x34082a=_0x5b4c4f['dataCallback']||(_0x594e3c=>_0x594e3c['data']['get']({'pagination':_0x74c831}));return 0x2===_0x564424&&function(_0x18145a){for(const _0x3980e0 of _0x187c0e)if(void 0x0!==_0x18145a[_0x3980e0])return!0x0;return!0x1;}(_0x241a40)&&_0x5f37cd['logWarning']('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),_0x5f37cd['collectStylesheets'](_0x5b4c4f['stylesheets']||['EDITOR_STYLES'])['then'](async _0x4862b5=>{_0x479abd['ui']['ariaLiveAnnouncer']['announce'](_0x325fc0(_0x479abd['locale'],'Word\x20document\x20export\x20started'));const _0x5bdda2=await _0x34082a(_0x479abd),_0x37feb9={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x479abd['locale']['contentLanguageDirection']+'\x22>'+_0x5bdda2+'</div>','css':_0x4862b5,[_0x1970ab?'options':'config']:{..._0x241a40,..._0x1970ab?_0x2fadfe(_0x479abd,_0x241a40):_0x473ce6(_0x479abd,_0x241a40)}},_0x20ad9c={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x3a8d6a?{'Authorization':_0x3a8d6a['value']}:null},'body':JSON['stringify'](_0x37feb9)};return window['fetch'](_0x48be0b,_0x20ad9c)['then'](_0x538498=>{if(0xc8!==_0x538498['status'])throw _0x538498;return _0x538498['blob']();})['then'](_0xdf2877=>{_0x479abd['ui']['ariaLiveAnnouncer']['announce'](_0x325fc0(_0x479abd['locale'],'Word\x20document\x20export\x20successful'));const _0x3907a0='function'==typeof _0x5b4c4f['fileName']?_0x5b4c4f['fileName']():_0x5b4c4f['fileName'];this['_downloadFile'](_0xdf2877,_0x3907a0||'document.docx');});})['catch'](_0x173761=>{const _0x2cc032=_0x479abd['plugins']['get']('Notification');throw _0x479abd['ui']['ariaLiveAnnouncer']['announce'](_0x325fc0(_0x479abd['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x2cc032['showWarning'](_0x325fc0(_0x479abd['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x173761;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x43098d,_0x46afdb){const _0xf3ca77=document['createElement']('a');_0xf3ca77['href']=window['URL']['createObjectURL'](_0x43098d),_0xf3ca77['download']=_0x46afdb,_0xf3ca77['click'](),_0xf3ca77['remove']();}}class ExportWordUI extends _0x5f37cd['Plugin']{static get['pluginName'](){return'ExportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x319373=this['editor'];_0x319373['ui']['componentFactory']['add']('exportWord',()=>{const _0x2c7c51=_0x319373['commands']['get']('exportWord'),_0x4bd2aa=this['_createButton'](_0x5f37cd['ButtonView']);return _0x4bd2aa['set']({'tooltip':!0x0}),_0x4bd2aa['bind']('isOn')['to'](_0x2c7c51,'isBusy'),_0x4bd2aa;}),_0x319373['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](_0x5f37cd['MenuBarMenuListItemButtonView']));}['_createButton'](_0x200149){const _0x32f07f=this['editor'],_0x28d2e2=_0x32f07f['config']['get']('exportWord')||{},_0x3a1702=_0x32f07f['commands']['get']('exportWord'),_0x157cb4=new _0x200149(_0x32f07f['locale']),_0x783f2a=new _0x5f37cd['SpinnerView']();return _0x157cb4['children']['add'](_0x783f2a),_0x783f2a['bind']('isVisible')['to'](_0x3a1702,'isBusy'),_0x157cb4['iconView']['bind']('isVisible')['to'](_0x3a1702,'isBusy',_0x5c8290=>!_0x5c8290),_0x157cb4['set']({'icon':_0x5f37cd['IconExportWord']}),_0x157cb4['bind']('isEnabled')['to'](_0x3a1702,'isEnabled'),_0x157cb4['bind']('label')['to'](_0x3a1702,'isBusy',_0x4a239a=>_0x325fc0(_0x32f07f['locale'],_0x4a239a?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x157cb4,'execute',()=>{_0x32f07f['execute']('exportWord',_0x28d2e2),_0x32f07f['editing']['view']['focus']();}),_0x157cb4;}}class ExportWord extends _0x5f37cd['Plugin']{['_token'];static get['pluginName'](){return'ExportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5f37cd['CloudServices'],_0x5f37cd['Notification'],ExportWordUI];}['init'](){const _0x258639=this['editor'],_0x1f2ed6=_0x258639['config']['get']('exportWord')||{};_0x258639['commands']['add']('exportWord',new ExportWordCommand(_0x258639));const _0x197562=_0x258639['plugins']['get'](_0x5f37cd['CloudServices']);!0x1===_0x1f2ed6['tokenUrl']?this['_token']=null:_0x1f2ed6['tokenUrl']?_0x197562['registerTokenUrl'](_0x1f2ed6['tokenUrl'])['then'](_0x9cc139=>{this['_token']=_0x9cc139;}):this['_token']=_0x197562['token'];}}class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x968f5b,_0x5ce79f){this['_model']=_0x968f5b,this['_elementName']=_0x5ce79f['elementName'],this['_getElementKey']=_0x5ce79f['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x94bd35){const _0x21bba6=new Set(),_0xf493f9=new Map();for(const _0x237c9a of _0x94bd35){if('insert'===_0x237c9a['type']&&'$text'!==_0x237c9a['name']&&_0x237c9a['position']['nodeAfter']){const _0x3adba0=this['_model']['createRangeOn'](_0x237c9a['position']['nodeAfter']);for(const _0x16b179 of _0x3adba0['getItems']()){if(!_0x16b179['is']('element',this['_elementName']))continue;const _0x5deb16=this['_getElementKey'](_0x16b179);_0xf493f9['has'](_0x5deb16)||_0xf493f9['set'](_0x5deb16,[]),_0xf493f9['get'](_0x5deb16)['push'](_0x16b179);}}if('remove'===_0x237c9a['type']&&_0x237c9a['name']===this['_elementName']){const _0x3572e3=this['_getElementKey']({'getAttribute':_0x4c0845=>_0x237c9a['attributes']['get'](_0x4c0845)});_0x21bba6['add'](_0x3572e3);}}for(const [_0xf55a5,_0x1235f1]of this['_trackedElements'])'$graveyard'===_0x1235f1['root']['rootName']&&_0x21bba6['add'](_0xf55a5);for(const _0x1cf2b7 of _0x21bba6)this['_trackedElements']['delete'](_0x1cf2b7);for(const [_0x338205,_0x82678d]of _0xf493f9)this['_trackedElements']['set'](_0x338205,_0x82678d[_0x82678d['length']-0x1]);const _0x1e2bcc=new Set();for(const [_0x32c92b,_0x50311a]of _0xf493f9)_0x21bba6['has'](_0x32c92b)&&(_0x1e2bcc['add'](_0x50311a[0x0]),_0x50311a['length']>0x1?_0xf493f9['set'](_0x32c92b,_0x50311a['slice'](0x1)):_0xf493f9['delete'](_0x32c92b),_0x21bba6['delete'](_0x32c92b));return{'removed':Array['from'](_0x21bba6),'inserted':Array['from'](_0xf493f9['values']())['flat'](),'moved':Array['from'](_0x1e2bcc)};}}class FootnotesTracker extends _0x5f37cd['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(_0x48fa17){super(_0x48fa17),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x56afa9=>_0x56afa9['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x19a78d=>_0x19a78d['getAttribute']('footnoteId')});}['init'](){const {editor:_0x530fca}=this,{model:_0x30e4d8,data:_0x482980}=_0x530fca;_0x30e4d8['document']['registerPostFixer'](_0x30947b=>{const _0x539336=_0x30e4d8['document']['differ']['getChanges']();let _0xdfeea=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x30947b,_0x539336)&&(_0xdfeea=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x30947b,_0x539336)&&(_0xdfeea=!0x0),this['_handleFootnoteReferencesChanges'](_0x30947b,_0x539336)&&(_0xdfeea=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x30947b)&&(_0xdfeea=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x30947b)&&(_0xdfeea=!0x0),this['_sortFootnoteDefinitions'](_0x30947b)&&(_0xdfeea=!0x0),_0xdfeea;}),this['listenTo'](_0x30e4d8['document'],'change:data',()=>{_0x30e4d8['enqueueChange']({'isUndoable':!0x1},_0x2dc438=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x2dc438);});},{'priority':'low'}),this['listenTo'](_0x482980,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5cb2bc){return this['_footnotes']['find'](_0x2a523d=>_0x2a523d['id']===_0x5cb2bc)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x2ae3c7){this['_footnoteFormatter']=_0x2ae3c7;}['_updateFootnotesCounters'](_0x1616e5,_0x478f92=0x0){let _0x2d245a=!0x1;for(let _0x3795b3=_0x478f92;_0x3795b3<this['_footnotes']['length'];_0x3795b3++)this['_updateFootnoteRefCounter'](_0x1616e5,_0x3795b3)&&(_0x2d245a=!0x0);return _0x2d245a;}['_insertEmptyFootnotesDefinitionsContainer'](_0x212638,_0x2fa9ae){const _0x247244=_0x212638['createElement']('footnotesDefinitions',{});return _0x212638['append'](_0x247244,_0x2fa9ae),this['_footnotesDefinitions']=_0x247244,_0x247244;}['_ensureFootnotesDefinitionsContainerExists'](_0x125f33){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x3b5545=this['_footnotes'][0x0]['reference']['root'],_0x2e1624=this['_insertEmptyFootnotesDefinitionsContainer'](_0x125f33,_0x3b5545);for(const _0x4f4c5a of this['_footnotes'])_0x4f4c5a['definition']['parent']||_0x125f33['insert'](_0x4f4c5a['definition'],_0x2e1624,'end');this['_updateFootnotesCounters'](_0x125f33);}['_handleFootnotesDefinitionsObjectChanges'](_0x3799ec,_0x123a1c){let _0xcee66b=!0x1;const {inserted:_0x57230d,removed:_0x3dcb72,moved:_0x3db581}=this['_footnoteDefsContainerTracker']['getChanges'](_0x123a1c);if(_0x3db581['length']&&(this['_footnotesDefinitions']=_0x3db581[0x0]),_0x57230d['length']){if(_0x57230d['length']>0x1||this['_footnotesDefinitions']&&_0x57230d['some'](_0x4797f0=>_0x4797f0!==this['_footnotesDefinitions'])){const _0x5006e4=_0x3799ec['createElement']('footnotesDefinitions',{}),_0xe3e3d6=[];this['_footnotesDefinitions']&&_0xe3e3d6['push'](this['_footnotesDefinitions']),_0xe3e3d6['push'](..._0x57230d),_0x3799ec['insert'](_0x5006e4,_0xe3e3d6[0x0],'before');for(const _0x2732ff of _0xe3e3d6)_0x3799ec['move'](_0x3799ec['createRangeIn'](_0x2732ff),_0x3799ec['createPositionAt'](_0x5006e4,'end')),_0x3799ec['remove'](_0x2732ff);this['_footnotesDefinitions']=_0x5006e4,this['_updateFootnotesCounters'](_0x3799ec),_0xcee66b=!0x0;}else this['_footnotesDefinitions']=_0x57230d[0x0];}if(_0x3dcb72['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x215935 of this['_footnotes'])_0x3799ec['remove'](_0x215935['reference']),_0xcee66b=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0xcee66b;}['_handleFootnoteDefinitionsChanges'](_0x22aaef,_0x1d823d){let _0x2a1043=!0x1;const _0x4a2321=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3c7ee2,moved:_0x2e17fb}=this['_footnoteDefsTracker']['getChanges'](_0x1d823d);for(const _0x293c87 of[..._0x2e17fb,..._0x3c7ee2]){const _0x3e3298=_0x293c87['getAttribute']('footnoteId'),_0x397923=this['getFootnote'](_0x3e3298);_0x397923&&(_0x397923['definition']=_0x293c87),_0x10ca63(_0x22aaef,_0x4a2321,_0x293c87)&&(_0x2a1043=!0x0);}return _0x2a1043;}['_handleFootnoteReferencesChanges'](_0x4488c7,_0x292133){let _0x5ed2e5=!0x1;const {removed:_0x172a5f,inserted:_0x22ead3,moved:_0x43a7b8}=this['_footnoteRefsTracker']['getChanges'](_0x292133);for(const _0x36b9ec of _0x172a5f)this['_handleRemoveFootnoteReferenceById'](_0x4488c7,_0x36b9ec)&&(_0x5ed2e5=!0x0);for(const _0xa46109 of _0x22ead3)this['_handleInsertedFootnoteReference'](_0x4488c7,_0xa46109)&&(_0x5ed2e5=!0x0);for(const _0x526595 of _0x43a7b8)this['_handleMovedFootnoteReference'](_0x4488c7,_0x526595)&&(_0x5ed2e5=!0x0);return _0x5ed2e5;}['_handleFootnotesDefinitionsObjectSync'](_0x32a346){if(!this['_footnotesDefinitions'])return!0x1;let _0x590852=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x32d95c=[];for(const _0x8c158e of this['_footnotesDefinitions']['getChildren']()){const _0x6520cf=_0x8c158e['getAttribute']('footnoteId');this['getFootnote'](_0x6520cf)||(_0x32d95c['unshift'](_0x8c158e),_0x590852=!0x0);}for(const _0x480b07 of _0x32d95c)_0x32a346['remove'](_0x480b07);}const _0x328db8=new Set(),_0x342b34=[];for(const _0x456d26 of this['_footnotesDefinitions']['getChildren']()){const _0x307d16=_0x456d26['getAttribute']('footnoteId');_0x328db8['has'](_0x307d16)?(_0x342b34['unshift'](_0x456d26),_0x590852=!0x0):_0x328db8['add'](_0x307d16);}for(const _0x442675 of _0x342b34)_0x32a346['remove'](_0x442675);return this['_footnotesDefinitions']['childCount']||(_0x32a346['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x590852=!0x0),_0x590852;}['_handleInsertedFootnoteReference'](_0x292c87,_0x2edef0){if(this['_footnotes']['find'](_0x4af5a2=>_0x4af5a2['reference']===_0x2edef0))return!0x1;let _0x1d8401=!0x1;const _0x1f8f51=_0x2edef0['getAttribute']('footnoteId'),_0xfcb897=this['_footnotes']['findIndex'](_0x1a08d1=>_0x1a08d1['id']===_0x1f8f51);-0x1!==_0xfcb897&&(_0x292c87['remove'](this['_footnotes'][_0xfcb897]['reference']),this['_footnotes']['splice'](_0xfcb897,0x1),_0x1d8401=!0x0);let _0x412905=this['_footnotesDefinitions']?function(_0x41d569,_0x171ac6){for(const _0x1d68eb of _0x41d569['getChildren']())if(_0x1d68eb['getAttribute']('footnoteId')===_0x171ac6)return _0x1d68eb;return null;}(this['_footnotesDefinitions'],_0x1f8f51):null;_0x412905||(_0x412905=_0x292c87['createElement']('footnoteDefinition',{'footnoteId':_0x1f8f51}),this['_footnotesDefinitions']&&(_0x292c87['insert'](_0x412905,this['_footnotesDefinitions'],'end'),_0x1d8401=!0x0));const _0x1ea17f={'id':_0x1f8f51,'reference':_0x2edef0,'definition':_0x412905},_0x3d3869=_0x8e24bb(this['editor']['model'],this['_footnotes'],_0x2edef0);this['_footnotes']['splice'](_0x3d3869,0x0,_0x1ea17f);let _0x37b531=_0x3d3869;return-0x1!==_0xfcb897&&(_0x37b531=Math['min'](_0x3d3869,_0xfcb897)),this['_updateFootnotesCounters'](_0x292c87,_0x37b531)&&(_0x1d8401=!0x0),_0x1d8401;}['_handleRemoveFootnoteReferenceById'](_0x508f5b,_0x251f6c){const _0x4cf494=this['_footnotes']['findIndex'](_0x1beebb=>_0x1beebb['id']===_0x251f6c);if(-0x1===_0x4cf494)return!0x1;let _0x435dcc=!0x1;const _0x37173a=this['_footnotes'][_0x4cf494];return'$graveyard'!==_0x37173a['definition']['root']['rootName']&&(_0x508f5b['remove'](_0x37173a['definition']),_0x435dcc=!0x0),this['_footnotes']['splice'](_0x4cf494,0x1),this['_updateFootnotesCounters'](_0x508f5b,_0x4cf494)&&(_0x435dcc=!0x0),_0x435dcc;}['_handleMovedFootnoteReference'](_0x33777c,_0x1cef5c){const _0x1ab618=_0x1cef5c['getAttribute']('footnoteId'),_0x35ba30=this['_footnotes']['findIndex'](_0xde9927=>_0xde9927['id']===_0x1ab618),_0x43f347=this['_footnotes'][_0x35ba30];let _0x2848ed=!0x1;_0x43f347['reference']=_0x1cef5c,this['_footnotes']['splice'](_0x35ba30,0x1);const _0xa7f8d3=_0x8e24bb(this['editor']['model'],this['_footnotes'],_0x1cef5c);return this['_footnotes']['splice'](_0xa7f8d3,0x0,_0x43f347),this['_updateFootnotesCounters'](_0x33777c,Math['min'](_0x35ba30,_0xa7f8d3))&&(_0x2848ed=!0x0),_0x2848ed;}['_updateFootnoteRefCounter'](_0x5195df,_0x51cf85){if(!this['_footnotesDefinitions'])return!0x1;const _0x2a93c5=this['_footnotes'][_0x51cf85];let _0x4b4479;return _0x4b4479=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x2a93c5,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x51cf85+0x1}):String(_0x51cf85+0x1),_0x2a93c5['reference']['getAttribute']('footnoteCounter')!=_0x4b4479&&(_0x5195df['setAttribute']('footnoteCounter',_0x4b4479,_0x2a93c5['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3361b9){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0xe40337,_0x47daec){if(_0xe40337['length']!==_0x47daec['length'])return!0x1;for(let _0x584890=0x0;_0x584890<_0xe40337['length'];_0x584890++)if(_0xe40337[_0x584890]!==_0x47daec[_0x584890])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x32a0f6=>_0x32a0f6['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x542e44=>_0x542e44['getAttribute']('footnoteId'))))return!0x1;let _0xf0a981=!0x1;for(let _0x237ea4=0x0;_0x237ea4<this['_footnotes']['length'];_0x237ea4++){const _0xbfe433=this['_footnotes'][_0x237ea4],_0x2fd81e=_0x3361b9['createPositionBefore'](_0xbfe433['definition']),_0x4429c3=_0x3361b9['createPositionAt'](this['_footnotesDefinitions'],_0x237ea4);_0x2fd81e['isEqual'](_0x4429c3)||(_0x3361b9['move'](_0x3361b9['createRangeOn'](_0xbfe433['definition']),_0x4429c3),_0xf0a981=!0x0);}return _0xf0a981;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3365be){if(!this['_footnotes']['length'])return!0x1;const {model:_0x58b96e}=this['editor'];let _0x37fbc5=!0x1;for(let _0x25ce1e=0x0;_0x25ce1e<this['_footnotes']['length']-0x1;_0x25ce1e++){const _0x446e57=this['_footnotes'][_0x25ce1e],_0x2eaa3b=this['_footnotes'][_0x25ce1e+0x1],_0x1b78c0=_0x58b96e['createPositionBefore'](_0x446e57['reference']),_0x26f424=_0x58b96e['createPositionBefore'](_0x2eaa3b['reference']);'after'===_0x1b78c0['compareWith'](_0x26f424)&&(this['_handleMovedFootnoteReference'](_0x3365be,_0x446e57['reference']),_0x25ce1e=-0x1,_0x37fbc5=!0x0);}return _0x37fbc5;}}function _0x10ca63(_0x273fba,_0x10b20f,_0x3d8ae6){if(_0x3d8ae6['childCount'])return!0x1;const _0x34c7ee=_0x10b20f?'paragraph':'footnoteInlineContent';return _0x273fba['insert'](_0x273fba['createElement'](_0x34c7ee),_0x3d8ae6),!0x0;}function _0x8e24bb(_0x4968cd,_0x2e7320,_0x2841a9){if(0x0===_0x2e7320['length'])return 0x0;const _0x40eb0f=_0x4968cd['createPositionBefore'](_0x2841a9);for(let _0x101a23=0x0;_0x101a23<_0x2e7320['length'];_0x101a23++){const _0x32910f=_0x2e7320[_0x101a23],_0x35e330=_0x4968cd['createPositionBefore'](_0x32910f['reference']);if('before'===_0x40eb0f['compareWith'](_0x35e330))return _0x101a23;}const _0x24935e=_0x2841a9['root'];let _0x2226db=-0x1;for(let _0xdd2c2a=_0x2e7320['length']-0x1;_0xdd2c2a>=0x0;_0xdd2c2a--)if(_0x2e7320[_0xdd2c2a]['reference']['root']===_0x24935e){_0x2226db=_0xdd2c2a;break;}if(-0x1!==_0x2226db)return _0x2226db+0x1;const _0x118a40=_0x4968cd['document']['getRootNames'](),_0x1433a7=_0x118a40['indexOf'](_0x24935e['rootName']),_0x33d070=_0x118a40[_0x1433a7+0x1];if(_0x33d070){for(let _0x3583fd=0x0;_0x3583fd<_0x2e7320['length'];_0x3583fd++)if(_0x2e7320[_0x3583fd]['reference']['root']['rootName']===_0x33d070)return _0x3583fd;}return _0x2e7320['length'];}class InsertFootnoteCommand extends _0x5f37cd['Command']{['refresh'](){const _0x457dcc=this['editor']['model']['document']['selection'],_0x16d898=this['_getPositionToInsertFootnote'](_0x457dcc);this['isEnabled']=!!_0x16d898;}['execute'](_0x3c7f83){const {editor:_0x12d4b6}=this,{model:_0x206edd}=_0x12d4b6,{selection:_0x18479f}=_0x206edd['document'],_0x578b90=this['_getPositionToInsertFootnote'](_0x18479f);if(!_0x578b90)return;const _0x4dce81=_0x12d4b6['plugins']['get']('FootnotesEditing'),_0x31ba0a=_0x3c7f83?.['footnoteId']??_0x5f37cd['uid']();!function(_0x56d5e3){return'string'==typeof _0x56d5e3&&_0x56d5e3['length']>0x0&&!/\s/['test'](_0x56d5e3)&&!/^\d/['test'](_0x56d5e3);}(_0x31ba0a)?_0x5f37cd['logWarning']('insert-footnote-command-executed-with-invalid-id'):(_0x206edd['change'](_0x331b9d=>{const _0x408af4=_0x331b9d['createElement']('footnoteRef',{'footnoteId':_0x31ba0a});_0x206edd['insertObject'](_0x408af4,_0x578b90,null);}),_0x4dce81['_moveSelectionToFootnoteDefinition'](_0x31ba0a));}['_getPositionToInsertFootnote'](_0x1c89b5){const {model:_0x59a9b6}=this['editor'],{schema:_0x48fa4a}=_0x59a9b6,_0xc158cc=_0x1c89b5['getFirstRange']();for(const _0x13d319 of _0xc158cc['getItems']())if(_0x48fa4a['isBlock'](_0x13d319)||_0x48fa4a['isObject'](_0x13d319))return null;const _0x5b64b5=_0xc158cc['end'];return _0x48fa4a['checkChild'](_0x5b64b5,'footnoteRef')?_0x5b64b5:null;}}class FootnotesEditing extends _0x5f37cd['Plugin']{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x499622}=this;_0x499622['config']['define']('footnotes.multiBlock',!0x0),_0x499622['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x499622)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xb1e440){const _0x3b50cb=_0x2ba668([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]),_0x37b405=0x47a28506,_0x2fb4e5=0x47a50ed6^_0x37b405,_0x8b84fe=window[_0x2ba668([0x44,0x61,0x74,0x65])][_0x2ba668([0x6e,0x6f,0x77])](),_0x4c47df=_0xb1e440[_0x2ba668([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x358c36=new window[(_0x2ba668([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x444e9d=>{_0x4c47df[_0x2ba668([0x6f,0x6e,0x63,0x65])](_0x2ba668([0x72,0x65,0x61,0x64,0x79]),_0x444e9d);}),_0xf11cc6={[_0x2ba668([0x6b,0x74,0x79])]:_0x2ba668([0x45,0x43]),[_0x2ba668([0x75,0x73,0x65])]:_0x2ba668([0x73,0x69,0x67]),[_0x2ba668([0x63,0x72,0x76])]:_0x2ba668([0x50,0x2d,0x32,0x35,0x36]),[_0x2ba668([0x78])]:_0x2ba668([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]),[_0x2ba668([0x79])]:_0x2ba668([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]),[_0x2ba668([0x61,0x6c,0x67])]:_0x2ba668([0x45,0x53,0x32,0x35,0x36])},_0xb96d4a=_0x4c47df[_0x2ba668([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2ba668([0x67,0x65,0x74])](_0x2ba668([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4aa8ec(){let _0x217efc,_0x5e14cc=null,_0x56a80e=null;try{if(_0xb96d4a==_0x2ba668([0x47,0x50,0x4c]))return _0x2ba668([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x217efc=_0x327acd(),!_0x217efc)return _0x2ba668([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x217efc[_0x2ba668([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x56a80e=_0x2485e0(_0x217efc[_0x2ba668([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x217efc[_0x2ba668([0x6a,0x74,0x69])])),await _0x2fd909()?_0x295cc9()?_0x336714()?_0x2ba668([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2ab317()?(_0x217efc[_0x2ba668([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ba668([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e14cc=_0x4fc018(_0x2ba668([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x306d05()):_0x2ba668([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2ba668([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2ba668([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2ba668([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x336714(){const _0x2bf11f=[_0x2ba668([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2ba668([0x74,0x72,0x69,0x61,0x6c])][_0x2ba668([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x217efc[_0x2ba668([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x8b84fe/0x3e8:0xe10*_0x2fb4e5;return _0x217efc[_0x2ba668([0x65,0x78,0x70])]<_0x2bf11f;}function _0x295cc9(){const _0x35329a=_0x217efc[_0x2ba668([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x35329a&&(!!_0x35329a[_0x2ba668([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ba668([0x2a]))||!!_0x35329a[_0x2ba668([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ba668([0x46,0x4f,0x4f])));}function _0x2ab317(){const _0x504e9a=_0x217efc[_0x2ba668([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x504e9a||0x0==_0x504e9a[_0x2ba668([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2cf2ba}=new URL(window[_0x2ba668([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x504e9a[_0x2ba668([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf2ba))return!0x0;const _0x1ac96c=_0x2cf2ba[_0x2ba668([0x73,0x70,0x6c,0x69,0x74])](_0x2ba668([0x2e]));return _0x504e9a[_0x2ba668([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21a5c6=>_0x21a5c6[_0x2ba668([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ba668([0x2a])))[_0x2ba668([0x6d,0x61,0x70])](_0x4f83be=>_0x4f83be[_0x2ba668([0x73,0x70,0x6c,0x69,0x74])](_0x2ba668([0x2e])))[_0x2ba668([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3832c2=>_0x3832c2[_0x2ba668([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ac96c[_0x2ba668([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ba668([0x6d,0x61,0x70])](_0x526469=>Array(_0x1ac96c[_0x2ba668([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x526469[_0x2ba668([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ba668([0x66,0x69,0x6c,0x6c])](_0x526469[0x0]===_0x2ba668([0x2a])?_0x2ba668([0x2a]):'')[_0x2ba668([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x526469))[_0x2ba668([0x73,0x6f,0x6d,0x65])](_0xc78302=>_0x1ac96c[_0x2ba668([0x65,0x76,0x65,0x72,0x79])]((_0x5b1281,_0x461c07)=>_0xc78302[_0x461c07]===_0x5b1281||_0xc78302[_0x461c07]===_0x2ba668([0x2a])));}function _0x306d05(){return _0x5e14cc&&_0x56a80e?new window[(_0x2ba668([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30fdf8,_0x3424b6)=>{_0x5e14cc[_0x2ba668([0x74,0x68,0x65,0x6e])](_0x30fdf8,_0x3424b6),_0x56a80e[_0x2ba668([0x74,0x68,0x65,0x6e])](_0x2f8ab2=>{_0x2f8ab2!=_0x2ba668([0x56,0x61,0x6c,0x69,0x64])&&_0x30fdf8(_0x2f8ab2);},_0x3424b6);}):_0x5e14cc||_0x56a80e||_0x2ba668([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2485e0(_0x55efa8,_0x5881c1){return new window[(_0x2ba668([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29753f=>{if(_0x2a1ed0())return _0x29753f(_0x2ba668([0x56,0x61,0x6c,0x69,0x64]));_0xcaff64(),_0x4c47df[_0x2ba668([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2ba668([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5c4772=!0x1;const _0x4c7aaf=_0x5f37cd['uid']();function _0x583c42(_0x421360){return!!_0x421360&&(typeof _0x421360===_0x2ba668([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x421360===_0x2ba668([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x421360[_0x2ba668([0x74,0x68,0x65,0x6e])]===_0x2ba668([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x421360[_0x2ba668([0x63,0x61,0x74,0x63,0x68])]===_0x2ba668([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x46e051(_0x4f67d6){_0x505aac(_0x4f67d6)[_0x2ba668([0x74,0x68,0x65,0x6e])](_0x496fb9=>{if(!_0x496fb9||_0x496fb9[_0x2ba668([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2ba668([0x6f,0x6b]))return _0x2ba668([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x471f8b(_0x2a1178(_0x4c7aaf+_0x5881c1))!=_0x496fb9[_0x2ba668([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2ba668([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2ba668([0x56,0x61,0x6c,0x69,0x64]);})[_0x2ba668([0x74,0x68,0x65,0x6e])](_0x1612e2=>(_0x55e6c1(),_0x1612e2),()=>{const _0x4624a2=_0x5dc9f3();return null==_0x4624a2?(_0x55e6c1(),_0x2ba668([0x56,0x61,0x6c,0x69,0x64])):_0x2ba668(_0x8b84fe-_0x4624a2>(0x63ae0106^_0x37b405)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2ba668([0x74,0x68,0x65,0x6e])](_0x29753f)[_0x2ba668([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29753f(_0x2ba668([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3eeadd=0x47946b86^_0x37b405;function _0x55e6c1(){const _0x2e4c03=_0x2ba668([0x6c,0x6c,0x63,0x74,0x2d])+_0x471f8b(_0x2a1178(_0x55efa8)),_0x23216b=_0x3adbbb(_0x471f8b(window[_0x2ba668([0x4d,0x61,0x74,0x68])][_0x2ba668([0x63,0x65,0x69,0x6c])](_0x8b84fe/_0x3eeadd)));window[_0x2ba668([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ba668([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e4c03,_0x23216b);}function _0x5dc9f3(){const _0x265826=_0x2ba668([0x6c,0x6c,0x63,0x74,0x2d])+_0x471f8b(_0x2a1178(_0x55efa8)),_0x5c38b8=window[_0x2ba668([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ba668([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x265826);return _0x5c38b8?window[_0x2ba668([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3adbbb(_0x5c38b8),0x10)*_0x3eeadd:null;}function _0x505aac(_0x3f4259){return new window[(_0x2ba668([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe94670,_0x16f13e)=>{_0x3f4259[_0x2ba668([0x74,0x68,0x65,0x6e])](_0xe94670,_0x16f13e),window[_0x2ba668([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x16f13e,0x47a351c6^_0x37b405);});}}_0x4c47df[_0x2ba668([0x6f,0x6e])](_0x2ba668([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x24a00c,_0x45bd09)=>{if(_0x45bd09[0x0]!=_0x55efa8)return _0x29753f(_0x2ba668([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x45bd09[0x1]={..._0x45bd09[0x1],[_0x2ba668([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4c7aaf};},{[_0x2ba668([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ba668([0x68,0x69,0x67,0x68])}),_0x4c47df[_0x2ba668([0x6f,0x6e])](_0x2ba668([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x253f0a=>{_0x583c42(_0x253f0a[_0x2ba668([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5c4772=!0x0,_0x46e051(_0x253f0a[_0x2ba668([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2ba668([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ba668([0x6c,0x6f,0x77])}),_0x358c36[_0x2ba668([0x74,0x68,0x65,0x6e])](()=>{_0x5c4772||_0x29753f(_0x2ba668([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2a1ed0(){return _0x4c47df[_0x2ba668([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ba668([0x76,0x69,0x65,0x77])][_0x2ba668([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2ba668([0x61,0x75,0x74,0x6f]);}function _0xcaff64(){_0x4c47df[_0x2ba668([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ba668([0x76,0x69,0x65,0x77])][_0x2ba668([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2ba668([0x61,0x75,0x74,0x6f]);}}function _0x4fc018(_0x579c74){const _0xc5a172=[new window[(_0x2ba668([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40549c=>setTimeout(_0x40549c,0x47abbbca^_0x37b405)),_0x358c36[_0x2ba668([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2ba668([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa3976f=>{let _0x1fbf7e=0x0;_0x4c47df[_0x2ba668([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ba668([0x6f,0x6e])](_0x2ba668([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd05c38,_0x50caed)=>{_0x50caed[0x0][_0x2ba668([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fbf7e++,_0x1fbf7e==(0x47a280ee^_0x37b405)&&(_0xa3976f(),_0xd05c38[_0x2ba668([0x6f,0x66,0x66])]());});}))];return window[_0x2ba668([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2ba668([0x72,0x61,0x63,0x65])](_0xc5a172)[_0x2ba668([0x74,0x68,0x65,0x6e])](()=>_0x579c74);}async function _0xccdb4(){await _0x358c36,_0x4c47df[_0x2ba668([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ba668([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa26909,_0x4c47df[_0x2ba668([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ba668([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa26909,_0x4c47df[_0x2ba668([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2ba668([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x222410(_0x597036){const _0x53915a=_0x3d386a();_0x4c47df[_0x53915a]=_0x2ba668([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x597036,_0x597036!=_0x2ba668([0x56,0x61,0x6c,0x69,0x64])&&_0xccdb4();}function _0x3d386a(){const _0x36724=window[_0x2ba668([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2ba668([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2ba668([0x6e,0x6f,0x77])]())[_0x2ba668([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2ba668([0x2e]),'');let _0x2a151b=_0x2ba668([0x75]);for(let _0x598847=0x0;_0x598847<_0x36724[_0x2ba668([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x598847+=0x2){let _0x14ac46=window[_0x2ba668([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36724[_0x2ba668([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x598847,_0x598847+0x2));_0x14ac46>=_0x3b50cb[_0x2ba668([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x14ac46-=_0x3b50cb[_0x2ba668([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2a151b+=_0x3b50cb[_0x14ac46];}return _0x2a151b;}function _0x327acd(){const _0x587f73=_0xb96d4a[_0x2ba668([0x73,0x70,0x6c,0x69,0x74])](_0x2ba668([0x2e]));if(0x3!=_0x587f73[_0x2ba668([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5af557(_0x587f73[0x1]);function _0x5af557(_0x26fe1d){const _0x1e0dcd=_0x4f5bf7(_0x26fe1d);return _0x1e0dcd&&_0x6b73ff()?_0x1e0dcd:null;function _0x6b73ff(){const _0x1707d4=_0x1e0dcd[_0x2ba668([0x6a,0x74,0x69])],_0x1d8613=window[_0x2ba668([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1707d4[_0x2ba668([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1707d4[_0x2ba668([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f5919={..._0x1e0dcd,[_0x2ba668([0x6a,0x74,0x69])]:_0x1707d4[_0x2ba668([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1707d4[_0x2ba668([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f5919[_0x2ba668([0x76,0x63])],_0x2a1178(_0x1f5919)==_0x1d8613;}}}async function _0x2fd909(){let _0x141cc6=!0x0;try{const _0x2e3bc0=_0xb96d4a[_0x2ba668([0x73,0x70,0x6c,0x69,0x74])](_0x2ba668([0x2e])),[_0x277faa,_0x102bfa,_0x46ad0e]=_0x2e3bc0;return _0x40a177(_0x277faa),await _0x39ce55(_0x277faa,_0x102bfa,_0x46ad0e),_0x141cc6;}catch{return!0x1;}function _0x40a177(_0x55ad41){const _0x4d5c1d=_0x4f5bf7(_0x55ad41);_0x4d5c1d&&_0x4d5c1d[_0x2ba668([0x61,0x6c,0x67])]==_0x2ba668([0x45,0x53,0x32,0x35,0x36])||(_0x141cc6=!0x1);}async function _0x39ce55(_0x5972e7,_0x5c3df6,_0xc79306){const _0x387dd4=window[_0x2ba668([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2ba668([0x66,0x72,0x6f,0x6d])](_0x5ddce1(_0xc79306),_0x27624e=>_0x27624e[_0x2ba668([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3c3c07=new window[(_0x2ba668([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2ba668([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5972e7+_0x2ba668([0x2e])+_0x5c3df6),_0x5f3f9a=window[_0x2ba668([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2ba668([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5f3f9a)return;const _0x4ba8e6=await _0x5f3f9a[_0x2ba668([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2ba668([0x6a,0x77,0x6b]),_0xf11cc6,{[_0x2ba668([0x6e,0x61,0x6d,0x65])]:_0x2ba668([0x45,0x43,0x44,0x53,0x41]),[_0x2ba668([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2ba668([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2ba668([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5f3f9a[_0x2ba668([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2ba668([0x6e,0x61,0x6d,0x65])]:_0x2ba668([0x45,0x43,0x44,0x53,0x41]),[_0x2ba668([0x68,0x61,0x73,0x68])]:{[_0x2ba668([0x6e,0x61,0x6d,0x65])]:_0x2ba668([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ba8e6,_0x387dd4,_0x3c3c07)||(_0x141cc6=!0x1);}}function _0x4f5bf7(_0x42c240){return _0x42c240[_0x2ba668([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2ba668([0x65,0x79]))?JSON[_0x2ba668([0x70,0x61,0x72,0x73,0x65])](_0x5ddce1(_0x42c240)):null;}function _0x5ddce1(_0x4b7a23){return window[_0x2ba668([0x61,0x74,0x6f,0x62])](_0x4b7a23[_0x2ba668([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2ba668([0x2b]))[_0x2ba668([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2ba668([0x2f])));}function _0x2a1178(_0x7542af){let _0x6f99cc=0x1505;function _0x5ccdac(_0x589e27){for(let _0xc06151=0x0;_0xc06151<_0x589e27[_0x2ba668([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc06151++){const _0x265025=_0x589e27[_0x2ba668([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xc06151);_0x6f99cc=(_0x6f99cc<<0x5)+_0x6f99cc+_0x265025,_0x6f99cc&=_0x6f99cc;}}function _0x2e47ad(_0x25917f){Array[_0x2ba668([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x25917f)?_0x25917f[_0x2ba668([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2e47ad):_0x25917f&&typeof _0x25917f==_0x2ba668([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2ba668([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x25917f)[_0x2ba668([0x73,0x6f,0x72,0x74])]()[_0x2ba668([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x194ed9,_0x551fba])=>{_0x5ccdac(_0x194ed9),_0x2e47ad(_0x551fba);}):_0x5ccdac(window[_0x2ba668([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x25917f));}return _0x2e47ad(_0x7542af),_0x6f99cc>>>0x0;}function _0x471f8b(_0x31b989){return _0x31b989[_0x2ba668([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2ba668([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2ba668([0x30]));}function _0x3adbbb(_0x1f378d){return _0x1f378d[_0x2ba668([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2ba668([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2ba668([0x6a,0x6f,0x69,0x6e])]('');}function _0xa26909(){}function _0x2ba668(_0x126ec5){return _0x126ec5['map'](_0x59152b=>String['fromCharCode'](_0x59152b))['join']('');}_0x222410(await _0x4aa8ec());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2b0a63){const {plugins:_0x46d7df,editing:_0x1f6b6a,model:_0x1a1d69}=this['editor'],_0x98f78c=_0x46d7df['get'](FootnotesTracker)['getFootnote'](_0x2b0a63);return!!_0x98f78c&&(_0x1a1d69['change'](_0x193c75=>{_0x193c75['setSelection'](_0x193c75['createPositionAt'](_0x98f78c['definition'],'end'));}),_0x1f6b6a['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x20a69c){const {plugins:_0x2eb9f4,editing:_0x1a79a4,model:_0x56c4df}=this['editor'],_0x453d8c=_0x2eb9f4['get'](FootnotesTracker)['getFootnote'](_0x20a69c);return!!_0x453d8c&&(_0x56c4df['change'](_0x144675=>{_0x144675['setSelection'](_0x453d8c['reference'],'on');}),_0x1a79a4['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3ed081}=this['editor']['model'],_0x338285=this['editor']['config']['get']('footnotes.multiBlock');_0x3ed081['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3ed081['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3ed081['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x338285?_0x3ed081['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3ed081['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3ed081['addChildCheck'](_0x223852=>{for(const _0x204832 of _0x223852)if('footnoteDefinition'===_0x204832['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4321a2}=this,{conversion:_0x4cc5a8,editing:_0x571159}=_0x4321a2,{t:t}=_0x4321a2['locale'];_0x4cc5a8['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x36cefe,{writer:_0x517b12,consumable:_0x53a1de})=>{const _0x3fe4ac=_0x36cefe['getChild'](0x0);if(!_0x3fe4ac||!_0x3fe4ac['is']('element','a'))return null;const _0x34b850=_0x3fe4ac['getAttribute']('href')||'';if(!_0x34b850['startsWith']('#'))return null;const _0x27e53d=_0x34b850['replace'](/^#/,'');if(!_0x27e53d)return null;_0x53a1de['consume'](_0x3fe4ac,{'name':!0x0,'attributes':['href']});for(const {item:_0x3ec9d8}of _0x571159['view']['createRangeIn'](_0x3fe4ac))_0x3ec9d8['is']('$textProxy')?_0x53a1de['consume'](_0x3ec9d8['textNode'],{'name':!0x0}):_0x3ec9d8['is']('element')&&_0x53a1de['consume'](_0x3ec9d8,{'name':!0x0});return _0x517b12['createElement']('footnoteRef',{'footnoteId':_0x27e53d});}}),_0x4cc5a8['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x124e79,{writer:_0x4071f2})=>_0x30ad86(_0x124e79,_0x4071f2)}),_0x4cc5a8['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1a8e1f,{writer:_0x5343c0})=>{const _0x4ecd83=_0x1a8e1f['getAttribute']('footnoteCounter');return _0x5f37cd['toWidget'](_0x30ad86(_0x1a8e1f,_0x5343c0),_0x5343c0,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4ecd83)});}});}['_defineDefinitionsConverters'](){const {editor:_0xb8c541}=this,{t:t}=_0xb8c541['locale'],{conversion:_0x3f52e8}=_0xb8c541;_0x3f52e8['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3f52e8['for']('upcast')['add'](_0x41b6f6=>{_0x41b6f6['on']('element:ol',(_0x258608,_0x359468,_0x59e8e4)=>{const _0x2ab332=_0x359468['viewItem'];if(!_0x2ab332['hasClass']('footnotes-list')||!_0x359468['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x59e8e4['consumable']['consume'](_0x2ab332,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x28f802,modelCursor:_0x528cee}=_0x59e8e4['convertChildren'](_0x359468['viewItem'],_0x359468['modelCursor']);_0x359468['modelRange']=_0x28f802,_0x359468['modelCursor']=_0x528cee;}),_0x41b6f6['on']('element:hr',(_0x2d43ed,_0x2f315e,_0x2f3f8e)=>{const _0x91537c=_0x2f315e['viewItem'];_0x91537c['hasClass']('footnotes-divider')&&_0x2f315e['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2f3f8e['consumable']['consume'](_0x91537c,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3f52e8['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4a8098,{writer:_0x50f7ef})=>_0x103ef6(_0x50f7ef)}),_0x3f52e8['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x47f3ec,{writer:_0x42cc75})=>{const _0x56d4eb=_0x103ef6(_0x42cc75,{'data-footnotes-list-label':t('Footnotes')}),_0x456b7e=_0x5f37cd['toWidget'](_0x56d4eb,_0x42cc75,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x42cc75['setCustomProperty']('footnotesDefinitions',!0x0,_0x456b7e),_0x456b7e;}});}['_defineDefinitionConverters'](){const {editor:_0x2d2fea}=this,{conversion:_0x2dd10d,locale:_0x1dd226}=_0x2d2fea,_0x1feab3=_0x2d2fea['config']['get']('footnotes.multiBlock');_0x2dd10d['for']('upcast')['add'](_0x589e7b=>{_0x589e7b['on']('element:li',(_0x30aa2d,_0x161c68,_0x413961)=>{const _0x5172af=_0x161c68['viewItem'];if(!_0x5172af['hasClass']('footnote-definition')||!_0x5172af['getAttribute']('id'))return;const _0xebdc32=_0x5172af['parent'];if(!_0xebdc32['is']('element','ol')||!_0xebdc32['hasClass']('footnotes-list'))return;if(!_0x413961['consumable']['test'](_0x5172af,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x50e2f6=_0x413961['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5172af['getAttribute']('id')});if(!_0x413961['safeInsert'](_0x50e2f6,_0x161c68['modelCursor']))return;_0x413961['consumable']['consume'](_0x5172af,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x31ff48=Array['from'](_0x5172af['getChildren']())['find'](_0x292090=>_0x292090['is']('element')&&_0x292090['hasClass']('footnote-content'));for(const _0x33c383 of _0x5172af['getChildren']())_0x33c383['is']('element')&&(_0x413961['consumable']['consume'](_0x33c383,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x413961['consumable']['consume'](_0x33c383,{'name':!0x0,'classes':'footnote-content'}));if(_0x31ff48){if(_0x1feab3)_0x413961['convertChildren'](_0x31ff48,_0x50e2f6);else{const _0x4cde1a=_0x413961['writer']['createElement']('footnoteInlineContent');_0x413961['writer']['insert'](_0x4cde1a,_0x50e2f6),_0x413961['convertChildren'](_0x31ff48,_0x4cde1a);}}_0x413961['updateConversionResult'](_0x50e2f6,_0x161c68);});}),_0x2dd10d['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4655f7,{writer:_0x37e1fe})=>_0x437041(_0x4655f7,_0x37e1fe,_0x1dd226,{'dataPipeline':!0x0})}),_0x2dd10d['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x438a7e,{writer:_0x158e24})=>_0x437041(_0x438a7e,_0x158e24,_0x1dd226)});}['_defineBogusParagraphConverters'](){const {editor:_0x1761f0}=this,{conversion:_0xe38495}=_0x1761f0;_0x1761f0['config']['get']('footnotes.multiBlock')?(_0xe38495['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':_0x320393(),'converterPriority':'high'}),_0xe38495['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':_0x320393({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1761f0['model']['document'],'change:data',()=>{!function(_0x3e2621,_0x459103){const _0x4d2fbb=_0x3e2621['document']['differ'],_0x23a3c1=new Set();for(const _0x13a62c of _0x4d2fbb['getChanges']()){const _0x3096e9='attribute'==_0x13a62c['type']?_0x13a62c['range']['start']['parent']:_0x13a62c['position']['parent'];_0x3096e9['is']('element','footnoteDefinition')&&_0x23a3c1['add'](_0x3096e9);}for(const _0x298114 of _0x23a3c1['values']()){const _0x4e63c8=Array['from'](_0x298114['getChildren']())['filter'](_0x4c2a8e=>tu(_0x4c2a8e,_0x459103['mapper']));for(const _0xde58bb of _0x4e63c8)_0x459103['reconvertItem'](_0xde58bb);}}(_0x1761f0['model'],_0x1761f0['editing']);})):(_0xe38495['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':_0x320393()}),_0xe38495['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x541a6a,{writer:_0x598c8e})=>{const _0x13d7c7=_0x598c8e['createContainerElement']('span');return _0x598c8e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x13d7c7),_0x13d7c7;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4dab2c}=this,{editing:_0x1e384,t:t}=_0x4dab2c,_0x59b2b9=_0x4dab2c['model']['document']['selection'];_0x4dab2c['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4dab2c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1e384['view']['document'],'enter',(_0xf708de,_0x467541)=>{const _0x5cf2d9=function(_0x2a8829){const _0x81e582=_0x2a8829['getSelectedElement']();if(_0x81e582?.['is']('element','footnoteRef'))return _0x81e582;return null;}(_0x59b2b9);if(_0x5cf2d9){const _0x17f145=_0x5cf2d9['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x17f145),_0x467541['preventDefault'](),_0xf708de['stop']();}},{'context':_0x5f37cd['isWidget']});}['_defineClickHandlers'](){const {editor:_0x51559c}=this,{editing:_0x471c09}=_0x51559c;_0x51559c['editing']['view']['addObserver'](_0x5f37cd['PointerObserver']),_0x51559c['editing']['view']['addObserver'](_0x5f37cd['ClickObserver']);let _0x530bcd=!0x1;this['listenTo'](_0x471c09['view']['document'],'pointerdown',(_0x30c95b,_0x277822)=>{const {target:_0x41bb69}=_0x277822,_0x3b1ebd=_0x471c09['view']['document']['selection'];_0x530bcd=!!(_0x41bb69?.['is']('element','a')&&_0x41bb69['parent']?.['is']('element','sup')&&_0x41bb69['parent']['hasClass']('footnote'))&&_0x3b1ebd['getSelectedElement']()===_0x41bb69['parent'];},{'priority':'high'}),this['listenTo'](_0x471c09['view']['document'],'click',(_0x2c7e76,_0x5ef2ac)=>{const {target:_0x11b4f8}=_0x5ef2ac;if(!_0x11b4f8?.['is']('element','a'))return;if(_0x11b4f8['parent']?.['is']('element','sup')&&_0x11b4f8['parent']['hasClass']('footnote')&&!_0x530bcd)return void _0x5ef2ac['preventDefault']();let _0x3e48e8=_0x11b4f8['getAttribute']('href');if(!_0x3e48e8?.['startsWith']('#'))return;_0x3e48e8=_0x3e48e8['slice'](0x1);let _0x16cf3d=!0x1;(_0x3e48e8['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3e48e8['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3e48e8))&&(_0x16cf3d=!0x0),_0x16cf3d&&(_0x5ef2ac['preventDefault'](),_0x2c7e76['stop']());},{'priority':'high','context':'$capture'});}}function _0x320393({dataPipeline:_0x400fde}={}){return(_0x1fec23,{writer:_0x46878a})=>{if(!_0xfdd342(_0x1fec23))return null;if(!_0x400fde)return _0x46878a['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x450b59=_0x46878a['createContainerElement']('p');return _0x46878a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x450b59),_0x450b59;};}function _0xfdd342(_0x10a410){const {parent:_0x46509d}=_0x10a410;if(!_0x46509d?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x46509d['childCount'])return!0x1;for(const _0x2a1ca2 of _0x10a410['getAttributeKeys']())if(!_0x2a1ca2['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2a1ca2)return!0x1;return!0x0;}function tu(_0x588c9a,_0x3df104){if(!_0x588c9a['is']('element','paragraph'))return!0x1;const _0x3145b3=_0x3df104['toViewElement'](_0x588c9a);return!!_0x3145b3&&_0xfdd342(_0x588c9a)!==_0x3145b3['is']('element','span');}function _0x504943(_0x36ada3){return _0x5f37cd['isWidget'](_0x36ada3)&&_0x36ada3['is']('containerElement')&&!!_0x36ada3['getCustomProperty']('footnotesDefinitions');}function _0x103ef6(_0x13e52e,_0x5066a9={}){const _0x227036=_0x13e52e['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xaeaab0=_0x13e52e['createContainerElement']('ol',{'class':'footnotes-list'},_0x13e52e['createSlot']());return _0x13e52e['createContainerElement']('div',{'class':'footnotes',..._0x5066a9},[_0x227036,_0xaeaab0]);}function _0x30ad86(_0x2455fe,_0x55627d){const _0x1b9eab=_0x2455fe['getAttribute']('footnoteId'),_0x293597=_0x2455fe['getAttribute']('footnoteCounter'),_0x4738a9=_0x55627d['createUIElement']('a',{'href':'#'+_0x1b9eab},function(_0x393929){const _0x475d53=this['toDomElement'](_0x393929);return _0x475d53['textContent']=_0x293597,_0x475d53;}),_0x2d142b=_0x55627d['createContainerElement']('sup',{'id':'ref-'+_0x1b9eab,'class':'footnote'},[_0x4738a9]);return _0x2d142b['getFillerOffset']=()=>null,_0x2d142b;}function _0x437041(_0x124673,_0x460bb1,_0x9f49db,{dataPipeline:_0x58f4dd}={}){const {t:t}=_0x9f49db,_0x31ed60=_0x124673['getAttribute']('footnoteId'),_0x2966df=_0x460bb1['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x31ed60},function(_0x325fe8){const _0x232e5d=this['toDomElement'](_0x325fe8);return _0x232e5d['innerText']='^',_0x232e5d;}),_0x46c218=_0x58f4dd?_0x460bb1['createContainerElement']('div',{'class':'footnote-content'}):_0x5f37cd['toWidgetEditable'](_0x460bb1['createEditableElement']('div',{'class':'footnote-content'}),_0x460bb1,{'label':t('Footnote\x20content.')});return _0x460bb1['insert'](_0x460bb1['createPositionAt'](_0x46c218,0x0),_0x460bb1['createSlot']()),_0x460bb1['createContainerElement']('li',{'class':'footnote-definition','id':_0x31ed60},[_0x2966df,_0x46c218]);}class FootnotesClipboard extends _0x5f37cd['Plugin']{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,_0x5f37cd['ClipboardPipeline']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x24f99a}=this,{plugins:_0x2a5cd5,model:_0x26ab7a}=_0x24f99a,_0x5e7207=_0x2a5cd5['get'](_0x5f37cd['ClipboardPipeline']),_0x2c9bc=_0x2a5cd5['get'](FootnotesTracker);this['listenTo'](_0x5e7207,'outputTransformation',(_0x2e3d10,_0x421d9e)=>{const _0x25b012=_0xa740d1(_0x26ab7a['createRangeIn'](_0x421d9e['content']));if(!_0x25b012['length'])return;const _0x3dfe13=_0x2c9bc['getFootnotes'](),_0x1a12e6=_0x25b012['reduce']((_0x43c2c9,_0x58bcb6)=>{const _0x570567=_0x3dfe13['find'](_0xa5b4d2=>_0xa5b4d2['id']===_0x58bcb6);if(_0x570567){const _0x5925de=_0x24f99a['data']['toView'](_0x570567['definition'],{'isClipboardPipeline':!0x0}),_0x425daa=_0x24f99a['data']['htmlProcessor']['toData'](_0x5925de);_0x43c2c9[_0x570567['id']]=_0x425daa;}return _0x43c2c9;},Object['create'](null));_0x421d9e['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x1a12e6));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x4cb35d}=this,{model:_0x2d1181,plugins:_0x356192}=_0x4cb35d,{view:_0x1d3cfd}=_0x4cb35d['editing'],_0x92962f=_0x356192['get'](_0x5f37cd['ClipboardPipeline']),_0x3d5c04=_0x356192['get'](FootnotesTracker),_0x32d7e7=_0x4cb35d['config']['get']('footnotes.multiBlock');let _0x221861=null;this['listenTo'](_0x1d3cfd['document'],'clipboardInput',(_0x450b26,_0x947c8b)=>{const _0xc9ace9=_0x947c8b['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x221861=_0xc9ace9?JSON['parse'](_0xc9ace9):null;}),this['listenTo'](_0x92962f,'contentInsertion',(_0x24cab2,_0x3ff896)=>{const _0x5bddcb=_0x3ff896['sourceEditorId']===this['editor']['id'];_0x5bddcb&&'drop'===_0x3ff896['method']||_0x2d1181['change'](_0x13dff6=>{let _0x37f3d5=_0x3d5c04['getFootnotesDefinitionsObjectElement']();const _0x5395e4=!!_0x37f3d5&&Array['from'](_0x2d1181['document']['selection']['getSelectedBlocks']())['includes'](_0x37f3d5);if(!_0x221861&&function(_0x41021b){for(const {item:_0x5006bd}of _0x41021b)if(_0x5006bd['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x2d1181['createRangeIn'](_0x3ff896['content']))&&(_0x221861=function(_0x1d0551,_0x38ae83){const _0x1a449f=_0x1e4d0b(_0x1d0551,_0x38ae83);if(!_0x1a449f)return null;const _0x3bb051=Object['create'](null);for(const _0x1dba78 of _0x1a449f['getChildren']())_0x1dba78['is']('element','footnoteDefinition')&&_0x1dba78['hasAttribute']('footnoteId')&&(_0x3bb051[_0x1dba78['getAttribute']('footnoteId')]=_0x1d0551['cloneElement'](_0x1dba78,!0x0));return Object['keys'](_0x3bb051)['length']?_0x3bb051:null;}(_0x13dff6,_0x3ff896['content'])),(_0x37f3d5&&!_0x5395e4||!_0x37f3d5&&!_0x221861)&&function(_0x1bbf30,_0xf841c1){const _0x1617db=[];for(const {item:_0x5673fc}of _0x1bbf30['createRangeIn'](_0xf841c1))_0x5673fc['is']('element','footnotesDefinitions')&&_0x1617db['push'](_0x5673fc);for(const _0x4460f4 of _0x1617db)_0x1bbf30['remove'](_0x4460f4);}(_0x13dff6,_0x3ff896['content']),!_0x221861)return;const {selection:_0x5389d7}=_0x2d1181['document'],_0x5855b0=_0x5389d7['getFirstRange']()['root'];_0x37f3d5&&!_0x5395e4||(_0x37f3d5=_0x1e4d0b(_0x13dff6,_0x3ff896['content']),_0x37f3d5||=_0x3d5c04['_insertEmptyFootnotesDefinitionsContainer'](_0x13dff6,_0x5855b0));const _0x5ddca3=Array['from'](_0x5389d7['getRanges']())['flatMap'](_0xa740d1),_0xfbd306=function(_0x227558,_0x1cf632,_0x51692a){const _0xa471a1=Object['create'](null);for(const {item:_0x231299}of _0x227558['createRangeIn'](_0x1cf632))if(_0x231299['is']('element','footnoteRef')){const _0x4d566f=_0x231299['getAttribute']('footnoteId');if(!_0x51692a(_0x4d566f))continue;_0xa471a1[_0x4d566f]||(_0xa471a1[_0x4d566f]=_0x5f37cd['uid']()),_0x227558['setAttribute']('footnoteId',_0xa471a1[_0x4d566f],_0x231299);}return _0xa471a1;}(_0x13dff6,_0x3ff896['content'],_0x5deaa4=>{if(!_0x5bddcb)return!0x0;return!!_0x3d5c04['getFootnote'](_0x5deaa4)&&!_0x5ddca3['includes'](_0x5deaa4);});for(const [_0x2a97fb,_0x47c45c]of Object['entries'](_0x221861)){const _0xa107e=_0xfbd306[_0x2a97fb]||_0x2a97fb;let _0x568674;if('string'!=typeof _0x47c45c)_0x568674=_0x47c45c,_0xa107e!==_0x2a97fb&&_0x13dff6['setAttribute']('footnoteId',_0xa107e,_0x568674);else{_0x568674=_0x13dff6['createElement']('footnoteDefinition',{'footnoteId':_0xa107e});const _0x5c759b=_0x4cb35d['data']['htmlProcessor']['toView'](_0x47c45c);let _0x5b8137;if(_0x32d7e7)_0x5b8137=_0x4cb35d['data']['toModel'](_0x5c759b,_0x568674);else{_0x5b8137=_0x13dff6['createElement']('footnoteInlineContent');const _0x2e825d=_0x4cb35d['data']['toModel'](_0x5c759b,_0x5b8137);_0x13dff6['insert'](_0x2e825d,_0x5b8137);}_0x13dff6['append'](_0x5b8137,_0x568674);}_0x13dff6['insert'](_0x568674,_0x37f3d5,'end');}_0x221861=null;});});}}function _0x1e4d0b(_0x5196f9,_0x13f8bc){for(const {item:_0x1e30f3}of _0x5196f9['createRangeIn'](_0x13f8bc))if(_0x1e30f3['is']('element','footnotesDefinitions'))return _0x1e30f3;return null;}function _0xa740d1(_0x244763){const _0x5eb56a=new Set();for(const {item:_0x580d43}of _0x244763)_0x580d43['is']('element','footnoteRef')&&_0x5eb56a['add'](_0x580d43['getAttribute']('footnoteId'));return Array['from'](_0x5eb56a);}class FootnotesUI extends _0x5f37cd['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1ca903}=this,{componentFactory:_0x2f278d}=_0x1ca903['ui'];_0x2f278d['add']('insertFootnote',_0x336435(_0x1ca903,_0x5f37cd['ButtonView'])),_0x2f278d['add']('menuBar:insertFootnote',_0x336435(_0x1ca903,_0x5f37cd['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x114de8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xa526f6;for(const _0x4f696a in _0x114de8){const _0x122ac6=_0x4f696a,_0x46a984=_0x114de8[_0x122ac6];if('footnotesLicenseKeyValid'==_0x46a984||'footnotesLicenseKeyInvalid'==_0x46a984||'footnotesLicenseKeyExpired'==_0x46a984||'footnotesLicenseKeyDomainLimit'==_0x46a984||'footnotesLicenseKeyNotAllowed'==_0x46a984||'footnotesLicenseKeyEvaluationLimit'==_0x46a984||'footnotesLicenseKeyUsageLimit'==_0x46a984){delete _0x114de8[_0x122ac6],_0xa526f6=_0x46a984,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xa526f6&&_0x114de8['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xa526f6&&_0x114de8['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xa526f6&&_0x114de8['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xa526f6&&_0x114de8['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xa526f6&&_0x114de8['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0xa526f6&&_0x114de8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function _0x336435(_0x4db91a,_0x599c0b){const _0x5415cd=_0x4db91a['commands']['get']('insertFootnote');return _0xfdf83b=>{const {t:t}=_0xfdf83b,_0x53df8b=new _0x599c0b(_0xfdf83b),_0x49eddd=_0x53df8b instanceof _0x5f37cd['MenuBarMenuListItemButtonView'];return _0x53df8b['bind']('isEnabled')['to'](_0x5415cd,'isEnabled'),_0x53df8b['set']({'label':t(_0x49eddd?'Footnote':'Insert\x20footnote'),'icon':_0x5f37cd['IconFootnote'],'tooltip':!0x0}),_0x53df8b['on']('execute',()=>{_0x5415cd['execute'](),_0x4db91a['editing']['view']['focus']();}),_0x53df8b;};}class Footnotes extends _0x5f37cd['Plugin']{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[FootnotesEditing,FootnotesClipboard,FootnotesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x2a747c=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],_0x503f27=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),_0x3db0b6=[..._0x2a747c,'arabic-indic','lower-alpha','upper-alpha'];class FootnotesStyleCommand extends _0x5f37cd['Command']{['refresh'](){const {editor:_0x2e47a8}=this,_0x18aeac=_0x2e47a8['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x18aeac,this['value']=_0x18aeac?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x38b5b4}){const {editor:_0x58a24c}=this,_0x13a158=_0x58a24c['plugins']['get'](FootnotesTracker),_0x38323c=_0x13a158['getFootnotesDefinitionsObjectElement']();_0x38323c&&_0x3db0b6['includes'](_0x38b5b4)&&_0x58a24c['model']['change'](_0x500cba=>{_0x500cba['setAttribute']('footnotesListStyle',_0x38b5b4,_0x38323c),_0x13a158['_updateFootnotesCounters'](_0x500cba);});}}class FootnotesStartCommand extends _0x5f37cd['Command']{['refresh'](){const {editor:_0x3bae42}=this,_0x2ae184=_0x3bae42['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2ae184,this['value']=_0x2ae184?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x1375e2}){const {editor:_0x1a0a7e}=this,_0x2a3795=_0x1a0a7e['plugins']['get'](FootnotesTracker),_0x72e8c4=_0x2a3795['getFootnotesDefinitionsObjectElement']();_0x72e8c4&&Number['isInteger'](_0x1375e2)&&_0x1a0a7e['model']['change'](_0x17bea7=>{_0x17bea7['setAttribute']('footnotesListStart',_0x1375e2,_0x72e8c4),_0x2a3795['_updateFootnotesCounters'](_0x17bea7);});}}function _0x16e09d(_0x24b3c2,_0x3eae52){let _0x57e512='',_0x1d7d55=_0x24b3c2;for(;_0x1d7d55>0x0;){const _0x4e47cb=(_0x1d7d55-0x1)%0x1a;_0x57e512=String['fromCharCode'](0x61+_0x4e47cb)+_0x57e512,_0x1d7d55=Math['floor']((_0x1d7d55-0x1)/0x1a);}return _0x3eae52?_0x57e512['toUpperCase']():_0x57e512;}const _0x3c7d71=[{'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 _0x36c7d3(_0x2deef1,_0x205443){let _0x2ae188='',_0x385e70=_0x2deef1;for(const {value:_0x5c63bd,numeral:_0x3fc569}of _0x3c7d71)for(;_0x385e70>=_0x5c63bd;)_0x2ae188+=_0x3fc569,_0x385e70-=_0x5c63bd;return _0x205443?_0x2ae188:_0x2ae188['toLowerCase']();}const _0x5a7593=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class FootnotesPropertiesEditing extends _0x5f37cd['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:_0x32d3f0}=this;_0x32d3f0['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x32d3f0['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x32d3f0['config']['define']('footnotes.footnotesProperties.listStyles',[..._0x2a747c]),_0x32d3f0['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x32d3f0)),_0x32d3f0['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x32d3f0)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x2e106b}=this,{schema:_0x3535c1}=_0x2e106b['model'];_0x3535c1['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x58613d}=this,{conversion:_0x1f349f,model:_0x5a019d}=_0x58613d,{schema:_0x19bb4e}=_0x5a019d;_0x1f349f['for']('upcast')['add'](_0xf89c51=>{_0xf89c51['on']('element:ol',(_0x2794dd,_0x18606d,_0x4e6d72)=>{const _0x581056=_0x18606d['viewItem'],_0x48ab9e=_0x18606d['modelCursor']?.['parent'];_0x581056['hasClass']('footnotes-list')&&_0x48ab9e?.['is']('element','footnotesDefinitions')&&(function(_0x4291c8,_0x40a1b0,_0x41c10c,_0x11f88a){if(!_0x11f88a['checkAttribute'](_0x40a1b0,'footnotesListStart'))return;let _0x25121d=0x1;const _0x16f677=_0x41c10c['consumable']['consume'](_0x4291c8,{'attributes':'start'});if(_0x16f677){const _0x284559=Number['parseInt'](_0x4291c8['getAttribute']('start'),0xa);Number['isNaN'](_0x284559)||(_0x25121d=_0x284559);}!_0x16f677&&_0x40a1b0['hasAttribute']('footnotesListStart')||_0x41c10c['writer']['setAttribute']('footnotesListStart',_0x25121d,_0x40a1b0);}(_0x581056,_0x48ab9e,_0x4e6d72,_0x19bb4e),function(_0x334d10,_0x4a1c7a,_0x2227a4,_0x239881){if(!_0x239881['checkAttribute'](_0x4a1c7a,'footnotesListStyle'))return;let _0x6d7776='decimal',_0x819332=!0x1;if(_0x2227a4['consumable']['consume'](_0x334d10,{'attributes':'type'})){const _0x308769={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x334d10['getAttribute']('type')];_0x308769&&(_0x6d7776=_0x308769),_0x819332=!0x0;}if(_0x2227a4['consumable']['consume'](_0x334d10,{'styles':'list-style-type'})){const _0x48ac60=_0x4a0792(_0x334d10['getStyle']('list-style-type'));_0x48ac60&&(_0x6d7776=_0x48ac60),_0x819332=!0x0;}!_0x819332&&_0x4a1c7a['hasAttribute']('footnotesListStyle')||_0x2227a4['writer']['setAttribute']('footnotesListStyle',_0x6d7776,_0x4a1c7a);}(_0x581056,_0x48ab9e,_0x4e6d72,_0x19bb4e));});}),_0x1f349f['for']('downcast')['add'](_0x3b2db6=>{_0x3b2db6['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5977bc,_0x3ac5f0,_0x4d3859)=>{if(!_0x4d3859['consumable']['consume'](_0x3ac5f0['item'],_0x5977bc['name']))return;const _0xfa7e21=_0x1ee4cd(_0x3ac5f0['item'],_0x4d3859['mapper']),{attributeNewValue:_0x4ec73b}=_0x3ac5f0;null==_0x4ec73b||0x1===_0x4ec73b?_0x4d3859['writer']['removeAttribute']('start',_0xfa7e21):_0x4d3859['writer']['setAttribute']('start',String(_0x4ec73b),_0xfa7e21);}),_0x3b2db6['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x44e608,_0xaa2a18,_0x2dd4c2)=>{if(!_0x2dd4c2['consumable']['consume'](_0xaa2a18['item'],_0x44e608['name']))return;const _0x3ee7df=_0x1ee4cd(_0xaa2a18['item'],_0x2dd4c2['mapper']),{attributeNewValue:_0x34ca39}=_0xaa2a18;_0x34ca39&&'decimal'!==_0x34ca39?_0x2dd4c2['writer']['setStyle']('list-style-type',_0x34ca39,_0x3ee7df):_0x2dd4c2['writer']['removeStyle']('list-style-type',_0x3ee7df);});});}['_definePostfixer'](){const {editor:_0x315353}=this,{model:_0x26cbd3}=_0x315353,_0x5c64bf=_0x315353['plugins']['get'](FootnotesTracker),_0x297aae=this['_getDefaultListStyle'](),_0x4fcd11=this['_getDefaultStartIndex']();_0x26cbd3['document']['registerPostFixer'](_0x1a2cbd=>{const _0x10d1dc=_0x26cbd3['document']['differ']['getChanges']();let _0x529b48=!0x1;for(const _0x3b17a6 of _0x10d1dc){if('insert'!==_0x3b17a6['type']||'$text'===_0x3b17a6['name'])continue;const _0x161bd8=_0x26cbd3['createRangeOn'](_0x3b17a6['position']['nodeAfter']);for(const _0xd7e1ac of _0x161bd8['getItems']())_0xd7e1ac['is']('element','footnotesDefinitions')&&(!_0xd7e1ac['hasAttribute']('footnotesListStart')&&_0x26cbd3['schema']['checkAttribute'](_0xd7e1ac,'footnotesListStart')&&(_0x1a2cbd['setAttribute']('footnotesListStart',_0x4fcd11,_0xd7e1ac),_0x529b48=!0x0),!_0xd7e1ac['hasAttribute']('footnotesListStyle')&&_0x26cbd3['schema']['checkAttribute'](_0xd7e1ac,'footnotesListStyle')&&(_0x1a2cbd['setAttribute']('footnotesListStyle',_0x297aae,_0xd7e1ac),_0x529b48=!0x0));}return _0x529b48&&_0x5c64bf['_updateFootnotesCounters'](_0x1a2cbd),_0x529b48;});}['_defineFormatter'](){const {editor:_0x3983ce}=this;_0x3983ce['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0xa2f9f9=>this['_formatFootnoteListValue'](_0xa2f9f9));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0xf40209,value:_0x5e3e9c,digits:_0x1e87d9}){const _0x167be2=_0xf40209['getAttribute']('footnotesListStyle'),_0x5ae4c6=_0xf40209['getAttribute']('footnotesListStart'),_0x265b96=Math['floor'](_0x5e3e9c)+(_0x5ae4c6??0x1)-0x1;switch(_0x167be2){case'decimal-leading-zero':return function(_0x21a467,_0x49866e){return String(_0x21a467)['padStart'](_0x49866e,'0');}(_0x265b96,Math['max'](0x2,_0x1e87d9));case'lower-alpha':case'lower-latin':return _0x16e09d(_0x265b96,!0x1);case'upper-alpha':case'upper-latin':return _0x16e09d(_0x265b96,!0x0);case'lower-roman':return _0x36c7d3(_0x265b96,!0x1);case'upper-roman':return _0x36c7d3(_0x265b96,!0x0);case'arabic-indic':return function(_0x23e2a6){return String(_0x23e2a6)['replace'](/\d/g,_0x1c7a6f=>_0x5a7593[Number(_0x1c7a6f)]);}(_0x265b96);default:return String(_0x265b96);}}}function _0x4a0792(_0x4adb78){if('string'==typeof _0x4adb78){const _0x1a3fd3=_0x503f27[_0x4adb78];if(_0x1a3fd3)return _0x1a3fd3;if(_0x3db0b6['includes'](_0x4adb78))return _0x4adb78;}return null;}function _0x1ee4cd(_0x145410,_0x1be53e){const _0x3bf1fa=_0x1be53e['toViewElement'](_0x145410);return Array['from'](_0x3bf1fa['getChildren']())['find'](_0x116319=>_0x116319['is']('element','ol')&&_0x116319['hasClass']('footnotes-list'));}class FootnotesDefinitionsPropertiesView extends _0x5f37cd['View']{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x5f37cd['FocusTracker']();['keystrokes']=new _0x5f37cd['KeystrokeHandler']();['focusables']=new _0x5f37cd['ViewCollection']();['focusCycler'];constructor(_0x2401b3,{styleButtonViews:_0x507260,styleGridAriaLabel:_0x365d91}){super(_0x2401b3),(this['focusCycler']=new _0x5f37cd['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'](_0x507260,_0x365d91),[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 _0xb213d6 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0xb213d6['element']);_0x5f37cd['addKeyboardHandlingForGrid']({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x5f37cd['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 _0x156a13=_0x51a9ea=>_0x51a9ea['stopPropagation']();this['keystrokes']['set']('arrowright',_0x156a13),this['keystrokes']['set']('arrowleft',_0x156a13),this['keystrokes']['set']('arrowup',_0x156a13),this['keystrokes']['set']('arrowdown',_0x156a13);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x252f5e,_0x1c0757){const _0x4d98ef=new _0x5f37cd['View'](this['locale']);return _0x4d98ef['children']=_0x4d98ef['createCollection'](),_0x4d98ef['children']['addMany'](_0x252f5e),_0x4d98ef['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1c0757,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4d98ef['children']}),_0x4d98ef['children']['delegate']('execute')['to'](this),_0x4d98ef['focus']=function(){for(const _0x44d6fe of this['children'])if(_0x44d6fe instanceof _0x5f37cd['ButtonView']&&_0x44d6fe['isOn'])return void _0x44d6fe['focus']();this['children']['first']['focus']();},_0x4d98ef['focusTracker']=new _0x5f37cd['FocusTracker'](),_0x4d98ef['keystrokes']=new _0x5f37cd['KeystrokeHandler'](),_0x4d98ef['render'](),_0x4d98ef['keystrokes']['listenTo'](_0x4d98ef['element']),this['children']['add'](_0x4d98ef),_0x4d98ef;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x278bb4=this['_createStartIndexPropertyView'](),_0xe30be=[_0x278bb4],_0x3ca102=new _0x5f37cd['CollapsibleView'](this['locale'],_0xe30be);return _0x3ca102['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3ca102['buttonView']['bind']('isEnabled')['toMany'](_0xe30be,'isEnabled',(..._0x534460)=>_0x534460['some'](_0x5c859f=>_0x5c859f)),_0x3ca102['buttonView']['on']('change:isEnabled',(_0x124600,_0x4e85b9,_0x380ece)=>{_0x380ece||(_0x3ca102['isCollapsed']=!0x0);}),this['children']['add'](_0x3ca102),[_0x278bb4,_0x3ca102];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4f9be4=new _0x5f37cd['LabeledFieldView'](this['locale'],_0x5f37cd['createLabeledInputNumber']);return _0x4f9be4['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4f9be4['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4f9be4['fieldView']['on']('input',()=>{const _0xedf6f2=_0x4f9be4['fieldView']['element'],_0x3902fa=_0xedf6f2['valueAsNumber'];Number['isNaN'](_0x3902fa)?_0x4f9be4['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0xedf6f2['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3902fa}):_0x4f9be4['errorText']=t(_0x3902fa<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4f9be4;}}class FootnotesPropertiesUI extends _0x5f37cd['Plugin']{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5f37cd['ContextualBalloon'],_0x5f37cd['WidgetToolbarRepository']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1a4257}=this,{componentFactory:_0x4c0dd5}=_0x1a4257['ui'];_0x1a4257['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4c0dd5['add']('footnotesStyle',function(_0x529ae8){return _0x5a63a6=>{const {t:t}=_0x5a63a6,_0x3cead5=_0x529ae8['commands']['get']('footnotesStyle'),_0x37613c=_0x5f37cd['createDropdown'](_0x5a63a6),{buttonView:_0x1cadb1}=_0x37613c;return _0x37613c['class']='ck-footnotes-styles-dropdown',_0x37613c['bind']('isEnabled')['to'](_0x3cead5,'isEnabled'),_0x1cadb1['set']({'label':t('Footnotes\x20style'),'icon':_0x5f37cd['IconFootnote'],'tooltip':!0x0}),_0x37613c['once']('change:isOpen',()=>{const _0x2cbf5b=function({editor:_0x5aa512,dropdownView:_0x223845}){const {t:t}=_0x5aa512['locale'],_0x5ed05d=t('Footnotes\x20definitions\x20styles'),_0xd29b69=function(_0x536899){const {t:t}=_0x536899['locale'],_0x5b348f=_0x536899['config']['get']('footnotes.footnotesProperties.listStyles'),_0x52f6a0=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x5f37cd['IconListStyleDecimal']},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x5f37cd['IconListStyleDecimalLeadingZero']},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x5f37cd['IconListStyleLowerRoman']},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x5f37cd['IconListStyleUpperRoman']},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x5f37cd['IconListStyleLowerLatin']},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x5f37cd['IconListStyleUpperLatin']},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x5f37cd['IconListStyleArabicIndic']}];return _0x5b348f['map'](_0x30a88b=>{const _0x30c432=_0x4a0792(_0x30a88b),_0x3f21ac=_0x52f6a0['find'](_0x1daf16=>_0x1daf16['style']===_0x30c432);return function(_0x11b171,_0x1b65d1){const {locale:_0x3be892}=_0x11b171,{label:_0x2f3011,icon:_0x47d276,tooltip:_0x56425c,style:_0x5f4a38}=_0x1b65d1,_0x3a4696=_0x11b171['commands']['get']('footnotesStyle'),_0x2a07b8=new _0x5f37cd['ButtonView'](_0x3be892);return _0x2a07b8['set']({'label':_0x2f3011,'icon':_0x47d276,'tooltip':_0x56425c}),_0x2a07b8['bind']('isOn')['to'](_0x3a4696,'value',_0x2c6b0e=>_0x2c6b0e===_0x5f4a38),_0x2a07b8['bind']('isEnabled')['to'](_0x3a4696,'isEnabled'),_0x2a07b8['on']('execute',()=>{_0x11b171['execute']('footnotesStyle',{'value':_0x5f4a38}),_0x11b171['editing']['view']['focus']();}),_0x2a07b8;}(_0x536899,_0x3f21ac);});}(_0x5aa512),_0x324f26=new FootnotesDefinitionsPropertiesView(_0x5aa512['locale'],{'styleGridAriaLabel':_0x5ed05d,'styleButtonViews':_0xd29b69}),_0x45c2ef=_0x5aa512['commands']['get']('footnotesStart');return _0x324f26['startIndexFieldView']['bind']('isEnabled')['to'](_0x45c2ef),_0x324f26['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x45c2ef),_0x324f26['on']('footnotesListStart',(_0x24ca09,_0x5da3b6)=>{_0x5aa512['execute']('footnotesStart',{'value':_0x5da3b6['startIndex']});}),_0x324f26['delegate']('execute')['to'](_0x223845),_0x324f26;}({'editor':_0x529ae8,'dropdownView':_0x37613c});_0x37613c['panelView']['children']['add'](_0x2cbf5b);}),_0x37613c;};}(_0x1a4257));}['afterInit'](){const {editor:_0x50dcc3}=this,{t:t}=_0x50dcc3['locale'],_0x4953f8=_0x50dcc3['plugins']['get'](_0x5f37cd['WidgetToolbarRepository']),{defaultPositions:_0x4b56e5}=_0x5f37cd['BalloonPanelView'];_0x4953f8['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x50dcc3['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x48b862=>{let _0x552b14=_0x48b862['getFirstPosition']()?.['parent'];return _0x552b14?.['is']('$text')&&(_0x552b14=_0x552b14['parent']),_0x552b14?.['is']('element')?_0x552b14['findAncestor'](_0x504943):null;},'positions':[_0x4b56e5['southArrowNorth'],_0x4b56e5['southArrowNorthMiddleWest'],_0x4b56e5['southArrowNorthMiddleEast'],_0x4b56e5['southArrowNorthWest'],_0x4b56e5['southArrowNorthEast'],_0x4b56e5['northArrowSouth'],_0x4b56e5['northArrowSouthMiddleWest'],_0x4b56e5['northArrowSouthMiddleEast'],_0x4b56e5['northArrowSouthWest'],_0x4b56e5['northArrowSouthEast'],_0x4b56e5['viewportStickyNorth']]});}}class FootnotesProperties extends _0x5f37cd['Plugin']{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[FootnotesPropertiesEditing,FootnotesPropertiesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0xaf1de6='copyFormat',_0x473e77='pasteFormat',_0x3376c1='ck-format-painter-active';class CopyFormatCommand extends _0x5f37cd['Command']{constructor(_0x5806ec){super(_0x5806ec),this['value']=void 0x0,this['on']('change:isEnabled',(_0x4eb3fb,_0x4fab3a,_0x5698b2)=>{_0x5698b2||this['reset']();}),this['on']('change:value',()=>_0x5806ec['commands']['get'](_0x473e77)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x36431b=this['editor']['model'],_0x2c3a36=_0x36431b['document']['selection'];return Object['fromEntries'](Array['from'](_0x2c3a36['getAttributes']())['filter'](([_0x5b80eb])=>_0x36431b['schema']['getAttributeProperties'](_0x5b80eb)['isFormatting']));}}class PasteFormatCommand extends _0x5f37cd['Command']{constructor(_0x3b5cec){super(_0x3b5cec),this['_removeFormatCommand']=new _0x5f37cd['RemoveFormatCommand'](_0x3b5cec);}['execute'](_0x1646b4={}){const _0x13b34f=this['editor']['model'],_0x1cb037=_0x13b34f['document']['selection'],_0x11189d=Array['from'](_0x1cb037['getRanges']()),_0x50b5e2=_0x1cb037['isCollapsed']?[this['_createRangeOnEntireWord'](_0x13b34f,_0x1cb037)]:_0x11189d;_0x13b34f['change'](_0x77e924=>{_0x77e924['setSelection'](_0x50b5e2),this['_removeFormatCommand']['execute']();for(const _0x3a1c3e in _0x1646b4)for(const _0x200eaf of _0x13b34f['schema']['getValidRanges'](_0x50b5e2,_0x3a1c3e))_0x77e924['setAttribute'](_0x3a1c3e,_0x1646b4[_0x3a1c3e],_0x200eaf);_0x77e924['setSelection'](_0x11189d);});}['_createRangeOnEntireWord'](_0x1ad975,_0x1a13e0){const _0x3a49bd=_0x1ad975['createSelection'](_0x1a13e0);_0x1ad975['modifySelection'](_0x3a49bd,{'unit':'word','direction':'backward'});const _0x28c844=_0x3a49bd['getFirstPosition']();_0x1ad975['modifySelection'](_0x3a49bd,{'unit':'word','direction':'forward'});const _0xe68536=_0x3a49bd['getLastPosition']();return _0x1ad975['createRange'](_0x28c844,_0xe68536);}}class FormatPainterEditing extends _0x5f37cd['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1fb940=this['editor'];_0x1fb940['commands']['add'](_0xaf1de6,new CopyFormatCommand(_0x1fb940)),_0x1fb940['commands']['add'](_0x473e77,new PasteFormatCommand(_0x1fb940)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x261a0e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x28282c;for(const _0x106ea4 in _0x261a0e){const _0x1960dc=_0x106ea4,_0x16ef6b=_0x261a0e[_0x1960dc];if('formatPainterLicenseKeyValid'==_0x16ef6b||'formatPainterLicenseKeyInvalid'==_0x16ef6b||'formatPainterLicenseKeyExpired'==_0x16ef6b||'formatPainterLicenseKeyDomainLimit'==_0x16ef6b||'formatPainterLicenseKeyNotAllowed'==_0x16ef6b||'formatPainterLicenseKeyEvaluationLimit'==_0x16ef6b||'formatPainterLicenseKeyUsageLimit'==_0x16ef6b){delete _0x261a0e[_0x1960dc],_0x28282c=_0x16ef6b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x28282c&&_0x261a0e['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x28282c&&_0x261a0e['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x28282c&&_0x261a0e['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x28282c&&_0x261a0e['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x28282c&&_0x261a0e['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x28282c&&_0x261a0e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function _0xdee25a(_0x4ce8ec,_0x36a88a){const t=_0x4ce8ec['t'];switch(_0x36a88a){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 _0x36a88a;}}class FormatPainterUI extends/* #__PURE__ -- @preserve */
_0x5f37cd['DomEmitterMixin'](_0x5f37cd['Plugin']){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2f2290=this['editor'];_0x2f2290['editing']['view']['addObserver'](_0x5f37cd['ClickObserver']),_0x2f2290['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':_0xdee25a(_0x2f2290['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':_0xdee25a(_0x2f2290['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x2f2290['ui']['componentFactory']['add']('formatPainter',_0x1a7ca2=>{const _0x2045ad=_0x5f37cd['createDropdown'](_0x1a7ca2,_0x5f37cd['SplitButtonView']),_0x32d221=_0x2f2290['commands']['get'](_0xaf1de6);_0x2045ad['buttonView']['set']({'label':_0xdee25a(_0x2f2290['locale'],'Paint\x20formatting'),'icon':_0x5f37cd['IconPaintRoller'],'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x2045ad['class']='ck-format-painter-dropdown',_0x32d221&&(_0x2045ad['bind']('isEnabled')['to'](_0x32d221,'isEnabled'),this['listenTo'](_0x32d221,'change:isEnabled',(_0x37da00,_0x5e6667,_0xce8c43)=>{_0xce8c43||this['_finishPainting']();}),_0x2045ad['buttonView']['bind']('isOn')['to'](_0x32d221,'value',_0x16f170=>!!_0x16f170),this['listenTo'](_0x2f2290,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x32d221,'change:value',(_0x1f72a3,_0x250acb,_0x516f11)=>{this['_toggleSpecialCursor'](!!_0x516f11);}));const _0x5d5086=new _0x5f37cd['UIModel']({'withText':!0x0,'label':_0xdee25a(_0x2f2290['locale'],'Continuous\x20painting'),'tooltip':_0xdee25a(_0x2f2290['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x5f37cd['addListToDropdown'](_0x2045ad,new _0x5f37cd['Collection']([{'type':'switchbutton','model':_0x5d5086}]),{'role':'menu'});const _0x4d28db=()=>{this['_copyFormatting'](),this['listenTo'](_0x5f37cd['global']['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x5d5086['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x2045ad,'execute',()=>{_0x5d5086['isOn']=!_0x5d5086['isOn'];}),this['listenTo'](_0x2045ad['buttonView'],'execute',()=>{_0x2f2290['editing']['view']['focus'](),_0x2045ad['buttonView']['isOn']?this['_finishPainting']():_0x4d28db();}),_0x2f2290['keystrokes']['set']('Ctrl+Alt+C',(_0x2db39d,_0x4a33c3)=>{_0x4d28db(),_0x5d5086['isOn']=!0x0,_0x4a33c3();},{'priority':'high'}),_0x2f2290['keystrokes']['set']('Ctrl+Alt+V',(_0x50105a,_0x57c105)=>{_0x2045ad['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x5d5086['isOn']||this['_finishPainting'](),_0x57c105());},{'priority':'high'}),_0x2f2290['keystrokes']['set']('Esc',(_0x3902fb,_0x39e153)=>{_0x2045ad['buttonView']['isOn']&&(_0x5d5086['isOn']=!0x1,this['_finishPainting'](),_0x2f2290['ui']['ariaLiveAnnouncer']['announce'](_0xdee25a(_0x2f2290['locale'],'Painting\x20cancelled.')),_0x39e153());}),_0x2045ad;});}['afterInit'](){!async function(_0x17f3a8){const _0xa0d166=_0x266d0b([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]),_0x242e69=0x4597e011,_0x4caa70=0x45906bc1^_0x242e69,_0x47a20b=window[_0x266d0b([0x44,0x61,0x74,0x65])][_0x266d0b([0x6e,0x6f,0x77])](),_0x1f893b=_0x17f3a8[_0x266d0b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3e884b=new window[(_0x266d0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f8760=>{_0x1f893b[_0x266d0b([0x6f,0x6e,0x63,0x65])](_0x266d0b([0x72,0x65,0x61,0x64,0x79]),_0x4f8760);}),_0x263001={[_0x266d0b([0x6b,0x74,0x79])]:_0x266d0b([0x45,0x43]),[_0x266d0b([0x75,0x73,0x65])]:_0x266d0b([0x73,0x69,0x67]),[_0x266d0b([0x63,0x72,0x76])]:_0x266d0b([0x50,0x2d,0x32,0x35,0x36]),[_0x266d0b([0x78])]:_0x266d0b([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]),[_0x266d0b([0x79])]:_0x266d0b([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]),[_0x266d0b([0x61,0x6c,0x67])]:_0x266d0b([0x45,0x53,0x32,0x35,0x36])},_0x1084f8=_0x1f893b[_0x266d0b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x266d0b([0x67,0x65,0x74])](_0x266d0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1e3b7c(){let _0x253d6a,_0xd0d4ca=null,_0x5e52e9=null;try{if(_0x1084f8==_0x266d0b([0x47,0x50,0x4c]))return _0x266d0b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x253d6a=_0x4e46e3(),!_0x253d6a)return _0x266d0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x253d6a[_0x266d0b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e52e9=_0x140cc(_0x253d6a[_0x266d0b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x253d6a[_0x266d0b([0x6a,0x74,0x69])])),await _0x2f1478()?_0x3ae2d5()?_0x2fa5ca()?_0x266d0b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xfe17b3()?(_0x253d6a[_0x266d0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x266d0b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd0d4ca=_0x79740f(_0x266d0b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2b0c02()):_0x266d0b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x266d0b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x266d0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x266d0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2fa5ca(){const _0x3fc2ca=[_0x266d0b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x266d0b([0x74,0x72,0x69,0x61,0x6c])][_0x266d0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x253d6a[_0x266d0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x47a20b/0x3e8:0xe10*_0x4caa70;return _0x253d6a[_0x266d0b([0x65,0x78,0x70])]<_0x3fc2ca;}function _0x3ae2d5(){const _0x41d21d=_0x253d6a[_0x266d0b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x41d21d&&(!!_0x41d21d[_0x266d0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x266d0b([0x2a]))||(!!_0x41d21d[_0x266d0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x266d0b([0x46,0x50]))||(!!_0x41d21d[_0x266d0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x266d0b([0x50,0x50]))||!(!_0x41d21d[_0x266d0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x266d0b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x214446()))));}function _0xfe17b3(){const _0x36d6c2=_0x253d6a[_0x266d0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x36d6c2||0x0==_0x36d6c2[_0x266d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x12c08b}=new URL(window[_0x266d0b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x36d6c2[_0x266d0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12c08b))return!0x0;const _0x1f51ab=_0x12c08b[_0x266d0b([0x73,0x70,0x6c,0x69,0x74])](_0x266d0b([0x2e]));return _0x36d6c2[_0x266d0b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x348073=>_0x348073[_0x266d0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x266d0b([0x2a])))[_0x266d0b([0x6d,0x61,0x70])](_0x3d9c07=>_0x3d9c07[_0x266d0b([0x73,0x70,0x6c,0x69,0x74])](_0x266d0b([0x2e])))[_0x266d0b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2aead8=>_0x2aead8[_0x266d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1f51ab[_0x266d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x266d0b([0x6d,0x61,0x70])](_0x5f1c1c=>Array(_0x1f51ab[_0x266d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5f1c1c[_0x266d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x266d0b([0x66,0x69,0x6c,0x6c])](_0x5f1c1c[0x0]===_0x266d0b([0x2a])?_0x266d0b([0x2a]):'')[_0x266d0b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5f1c1c))[_0x266d0b([0x73,0x6f,0x6d,0x65])](_0x2375a7=>_0x1f51ab[_0x266d0b([0x65,0x76,0x65,0x72,0x79])]((_0x245e82,_0x5a9ddb)=>_0x2375a7[_0x5a9ddb]===_0x245e82||_0x2375a7[_0x5a9ddb]===_0x266d0b([0x2a])));}function _0x2b0c02(){return _0xd0d4ca&&_0x5e52e9?new window[(_0x266d0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x35cba5,_0x29dfe4)=>{_0xd0d4ca[_0x266d0b([0x74,0x68,0x65,0x6e])](_0x35cba5,_0x29dfe4),_0x5e52e9[_0x266d0b([0x74,0x68,0x65,0x6e])](_0x336300=>{_0x336300!=_0x266d0b([0x56,0x61,0x6c,0x69,0x64])&&_0x35cba5(_0x336300);},_0x29dfe4);}):_0xd0d4ca||_0x5e52e9||_0x266d0b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x140cc(_0xd90589,_0x3e0398){return new window[(_0x266d0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56942e=>{if(_0x235454())return _0x56942e(_0x266d0b([0x56,0x61,0x6c,0x69,0x64]));_0xe9078a(),_0x1f893b[_0x266d0b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x266d0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5b1a27=!0x1;const _0x9419f0=_0x5f37cd['uid']();function _0x11d3a2(_0x29cb28){return!!_0x29cb28&&(typeof _0x29cb28===_0x266d0b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x29cb28===_0x266d0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x29cb28[_0x266d0b([0x74,0x68,0x65,0x6e])]===_0x266d0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x29cb28[_0x266d0b([0x63,0x61,0x74,0x63,0x68])]===_0x266d0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x59e10d(_0xf13211){_0x5af261(_0xf13211)[_0x266d0b([0x74,0x68,0x65,0x6e])](_0x55b196=>{if(!_0x55b196||_0x55b196[_0x266d0b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x266d0b([0x6f,0x6b]))return _0x266d0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ec761(_0x4ad182(_0x9419f0+_0x3e0398))!=_0x55b196[_0x266d0b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x266d0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x266d0b([0x56,0x61,0x6c,0x69,0x64]);})[_0x266d0b([0x74,0x68,0x65,0x6e])](_0x52d350=>(_0x3af27a(),_0x52d350),()=>{const _0x140f3f=_0x23b1bd();return null==_0x140f3f?(_0x3af27a(),_0x266d0b([0x56,0x61,0x6c,0x69,0x64])):_0x266d0b(_0x47a20b-_0x140f3f>(0x619b6411^_0x242e69)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x266d0b([0x74,0x68,0x65,0x6e])](_0x56942e)[_0x266d0b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x56942e(_0x266d0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5dcedd=0x45a10e91^_0x242e69;function _0x3af27a(){const _0xd2535=_0x266d0b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ec761(_0x4ad182(_0xd90589)),_0x10d016=_0x455ea(_0x2ec761(window[_0x266d0b([0x4d,0x61,0x74,0x68])][_0x266d0b([0x63,0x65,0x69,0x6c])](_0x47a20b/_0x5dcedd)));window[_0x266d0b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x266d0b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd2535,_0x10d016);}function _0x23b1bd(){const _0x48088e=_0x266d0b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ec761(_0x4ad182(_0xd90589)),_0x27e6fe=window[_0x266d0b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x266d0b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48088e);return _0x27e6fe?window[_0x266d0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x455ea(_0x27e6fe),0x10)*_0x5dcedd:null;}function _0x5af261(_0x458520){return new window[(_0x266d0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a0952,_0x5f08e8)=>{_0x458520[_0x266d0b([0x74,0x68,0x65,0x6e])](_0x5a0952,_0x5f08e8),window[_0x266d0b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5f08e8,0x459634d1^_0x242e69);});}}_0x1f893b[_0x266d0b([0x6f,0x6e])](_0x266d0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x10d930,_0x45e0f1)=>{if(_0x45e0f1[0x0]!=_0xd90589)return _0x56942e(_0x266d0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x45e0f1[0x1]={..._0x45e0f1[0x1],[_0x266d0b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x9419f0};},{[_0x266d0b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x266d0b([0x68,0x69,0x67,0x68])}),_0x1f893b[_0x266d0b([0x6f,0x6e])](_0x266d0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30dde5=>{_0x11d3a2(_0x30dde5[_0x266d0b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5b1a27=!0x0,_0x59e10d(_0x30dde5[_0x266d0b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x266d0b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x266d0b([0x6c,0x6f,0x77])}),_0x3e884b[_0x266d0b([0x74,0x68,0x65,0x6e])](()=>{_0x5b1a27||_0x56942e(_0x266d0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x235454(){return _0x1f893b[_0x266d0b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x266d0b([0x76,0x69,0x65,0x77])][_0x266d0b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x266d0b([0x61,0x75,0x74,0x6f]);}function _0xe9078a(){_0x1f893b[_0x266d0b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x266d0b([0x76,0x69,0x65,0x77])][_0x266d0b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x266d0b([0x61,0x75,0x74,0x6f]);}}function _0x79740f(_0x5b041f){const _0xb9fb26=[new window[(_0x266d0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfefea7=>setTimeout(_0xfefea7,0x459ededd^_0x242e69)),_0x3e884b[_0x266d0b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x266d0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x517a80=>{let _0x3169cd=0x0;_0x1f893b[_0x266d0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x266d0b([0x6f,0x6e])](_0x266d0b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x577a3c,_0x1e99bc)=>{_0x1e99bc[0x0][_0x266d0b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3169cd++,_0x3169cd==(0x4597e5f9^_0x242e69)&&(_0x517a80(),_0x577a3c[_0x266d0b([0x6f,0x66,0x66])]());});}))];return window[_0x266d0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x266d0b([0x72,0x61,0x63,0x65])](_0xb9fb26)[_0x266d0b([0x74,0x68,0x65,0x6e])](()=>_0x5b041f);}async function _0x46f704(){await _0x3e884b,_0x1f893b[_0x266d0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x266d0b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1e2b29,_0x1f893b[_0x266d0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x266d0b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1e2b29,_0x1f893b[_0x266d0b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x266d0b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x214446(){return window[_0x266d0b([0x67,0x6c,0x6f,0x62])]&&window[_0x266d0b([0x67,0x6c,0x6f,0x62])][_0x266d0b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x298f23(_0x45ed6d){const _0x450e1a=_0x545e8a();_0x1f893b[_0x450e1a]=_0x266d0b([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x45ed6d,_0x45ed6d!=_0x266d0b([0x56,0x61,0x6c,0x69,0x64])&&_0x46f704();}function _0x545e8a(){const _0x502168=window[_0x266d0b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x266d0b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x266d0b([0x6e,0x6f,0x77])]())[_0x266d0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x266d0b([0x2e]),'');let _0x3322ea=_0x266d0b([0x51]);for(let _0x2dbc4d=0x0;_0x2dbc4d<_0x502168[_0x266d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2dbc4d+=0x2){let _0x4334df=window[_0x266d0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x502168[_0x266d0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2dbc4d,_0x2dbc4d+0x2));_0x4334df>=_0xa0d166[_0x266d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4334df-=_0xa0d166[_0x266d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3322ea+=_0xa0d166[_0x4334df];}return _0x3322ea;}function _0x4e46e3(){const _0x51e95=_0x1084f8[_0x266d0b([0x73,0x70,0x6c,0x69,0x74])](_0x266d0b([0x2e]));if(0x3!=_0x51e95[_0x266d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5d2d08(_0x51e95[0x1]);function _0x5d2d08(_0x40b353){const _0x5dd540=_0x54beca(_0x40b353);return _0x5dd540&&_0x5c46c5()?_0x5dd540:null;function _0x5c46c5(){const _0x1f808b=_0x5dd540[_0x266d0b([0x6a,0x74,0x69])],_0x42c7cf=window[_0x266d0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f808b[_0x266d0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f808b[_0x266d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1ef5f9={..._0x5dd540,[_0x266d0b([0x6a,0x74,0x69])]:_0x1f808b[_0x266d0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1f808b[_0x266d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1ef5f9[_0x266d0b([0x76,0x63])],_0x4ad182(_0x1ef5f9)==_0x42c7cf;}}}async function _0x2f1478(){let _0xe5ad48=!0x0;try{const _0x34750a=_0x1084f8[_0x266d0b([0x73,0x70,0x6c,0x69,0x74])](_0x266d0b([0x2e])),[_0x3544be,_0x31e2c3,_0x394017]=_0x34750a;return _0x5f2b3f(_0x3544be),await _0x1cf42d(_0x3544be,_0x31e2c3,_0x394017),_0xe5ad48;}catch{return!0x1;}function _0x5f2b3f(_0x75a72f){const _0x51c83c=_0x54beca(_0x75a72f);_0x51c83c&&_0x51c83c[_0x266d0b([0x61,0x6c,0x67])]==_0x266d0b([0x45,0x53,0x32,0x35,0x36])||(_0xe5ad48=!0x1);}async function _0x1cf42d(_0x16f473,_0x372adb,_0x5763fb){const _0x56269e=window[_0x266d0b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x266d0b([0x66,0x72,0x6f,0x6d])](_0xb26ba7(_0x5763fb),_0x401ca9=>_0x401ca9[_0x266d0b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa769f8=new window[(_0x266d0b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x266d0b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x16f473+_0x266d0b([0x2e])+_0x372adb),_0x322d2a=window[_0x266d0b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x266d0b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x322d2a)return;const _0x196b7b=await _0x322d2a[_0x266d0b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x266d0b([0x6a,0x77,0x6b]),_0x263001,{[_0x266d0b([0x6e,0x61,0x6d,0x65])]:_0x266d0b([0x45,0x43,0x44,0x53,0x41]),[_0x266d0b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x266d0b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x266d0b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x322d2a[_0x266d0b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x266d0b([0x6e,0x61,0x6d,0x65])]:_0x266d0b([0x45,0x43,0x44,0x53,0x41]),[_0x266d0b([0x68,0x61,0x73,0x68])]:{[_0x266d0b([0x6e,0x61,0x6d,0x65])]:_0x266d0b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x196b7b,_0x56269e,_0xa769f8)||(_0xe5ad48=!0x1);}}function _0x54beca(_0xa0801c){return _0xa0801c[_0x266d0b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x266d0b([0x65,0x79]))?JSON[_0x266d0b([0x70,0x61,0x72,0x73,0x65])](_0xb26ba7(_0xa0801c)):null;}function _0xb26ba7(_0x416f90){return window[_0x266d0b([0x61,0x74,0x6f,0x62])](_0x416f90[_0x266d0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x266d0b([0x2b]))[_0x266d0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x266d0b([0x2f])));}function _0x4ad182(_0x39e5af){let _0x100489=0x1505;function _0x1deb5e(_0x28dc0d){for(let _0x19611f=0x0;_0x19611f<_0x28dc0d[_0x266d0b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19611f++){const _0x48d45f=_0x28dc0d[_0x266d0b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19611f);_0x100489=(_0x100489<<0x5)+_0x100489+_0x48d45f,_0x100489&=_0x100489;}}function _0x51b9df(_0x2df790){Array[_0x266d0b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2df790)?_0x2df790[_0x266d0b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51b9df):_0x2df790&&typeof _0x2df790==_0x266d0b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x266d0b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2df790)[_0x266d0b([0x73,0x6f,0x72,0x74])]()[_0x266d0b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3f26c5,_0x5c7bba])=>{_0x1deb5e(_0x3f26c5),_0x51b9df(_0x5c7bba);}):_0x1deb5e(window[_0x266d0b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2df790));}return _0x51b9df(_0x39e5af),_0x100489>>>0x0;}function _0x2ec761(_0x23160f){return _0x23160f[_0x266d0b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x266d0b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x266d0b([0x30]));}function _0x455ea(_0x1672d5){return _0x1672d5[_0x266d0b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x266d0b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x266d0b([0x6a,0x6f,0x69,0x6e])]('');}function _0x1e2b29(){}function _0x266d0b(_0x58b651){return _0x58b651['map'](_0x251542=>String['fromCharCode'](_0x251542))['join']('');}_0x298f23(await _0x1e3b7c());}(this);}['_toggleSpecialCursor'](_0x27e9a2){this['editor']['editing']['view']['change'](_0x158f09=>{for(const _0x5688d9 of this['editor']['editing']['view']['document']['roots'])_0x27e9a2?_0x158f09['addClass'](_0x3376c1,_0x5688d9):_0x158f09['removeClass'](_0x3376c1,_0x5688d9);});}['_copyFormatting'](){const {editor:_0x5c86f9}=this;_0x5c86f9['execute'](_0xaf1de6),_0x5c86f9['ui']['ariaLiveAnnouncer']['announce'](_0xdee25a(_0x5c86f9['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x7c38c7}=this,_0x5bd061=_0x7c38c7['commands']['get'](_0xaf1de6)['value'];_0x7c38c7['execute'](_0x473e77,_0x5bd061),_0x7c38c7['ui']['ariaLiveAnnouncer']['announce'](_0xdee25a(_0x7c38c7['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](_0xaf1de6)['reset'](),this['stopListening'](_0x5f37cd['global']['window']['document'],'mouseup');}}class FormatPainter extends _0x5f37cd['Plugin']{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _0x2672b9(_0x30f5f1,_0x121a06){const t=_0x30f5f1['t'];switch(_0x121a06){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 _0x121a06;}}class ImportWordUI extends _0x5f37cd['Plugin']{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3cfb13=this['editor'];_0x3cfb13['ui']['componentFactory']['add']('importWord',()=>{const _0x2936f4=this['_createButton'](_0x5f37cd['FileDialogButtonView']),_0x4f4b36=_0x3cfb13['commands']['get']('importWord');return _0x2936f4['bind']('isOn')['to'](_0x4f4b36,'isBusy'),_0x2936f4['tooltip']=!0x0,_0x2936f4;}),_0x3cfb13['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x5f37cd['MenuBarMenuListItemFileDialogButtonView']));}['_createButton'](_0x3b7332){const _0x48ca96=this['editor'],_0x32e525=_0x48ca96['commands']['get']('importWord'),_0x4fd6ec=new _0x3b7332(_0x48ca96['locale']),_0x4203bf=new _0x5f37cd['SpinnerView']();return _0x4fd6ec['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x4fd6ec['set']({'icon':_0x5f37cd['IconImportWord']}),_0x4fd6ec['bind']('isEnabled')['to'](_0x32e525),_0x4fd6ec['bind']('label')['to'](_0x32e525,'isBusy',_0x3e2154=>_0x2672b9(_0x48ca96['locale'],_0x3e2154?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x4203bf['bind']('isVisible')['to'](_0x32e525,'isBusy'),_0x4fd6ec['iconView']['bind']('isVisible')['to'](_0x32e525,'isBusy',_0x19b727=>!_0x19b727),_0x4fd6ec['children']['add'](_0x4203bf),_0x4fd6ec['on']('done',(_0x5d6b0c,_0x32d3a9)=>{_0x48ca96['execute']('importWord',_0x32d3a9[0x0],{}),_0x48ca96['editing']['view']['focus']();}),_0x4fd6ec;}}class ImportWordCommand extends _0x5f37cd['Command']{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x5de32e){super(_0x5de32e),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x824a5b,_0x39ff26)=>{const _0x1f7c36=new DataTransfer();_0x1f7c36['setData']('text/html',_0x39ff26['html']);const _0x5272c0=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x3aefcf=>{this['_importMarker']['stopListening'](),_0x3aefcf['setSelection'](_0x5272c0),_0x5de32e['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x1f7c36,'content':_0x1f7c36['getData']('text/html')});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3926a3,_0x53390e={}){if(this['isBusy'])return Promise['resolve']();const _0x3db5b8=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x282cf9,suffix:_0x34c1ab}=this['editor']['config']['get']('mergeFields');_0x53390e['merge_fields']={'prefix':_0x282cf9,'suffix':_0x34c1ab};}const _0x5616da={'url':_0x3db5b8['converterUrl'],'file':_0x3926a3,'serviceConfig':{..._0x53390e,'formatting':_0x3db5b8['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x5616da)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x44710a=this['editor']['model'],_0x4946e0=_0x44710a['schema'],_0xd68ad3=_0x44710a['document']['selection'],_0x5bb8a0=_0x5f37cd['first'](_0xd68ad3['getSelectedBlocks']());return!!_0x5bb8a0&&_0x4946e0['checkChild'](_0x5bb8a0['parent'],'paragraph');}['_prepareForImport'](){const _0x227851=this['editor'],_0x48f3ef=_0x227851['model'],_0x587361=_0x48f3ef['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x227851['model']['createBatch']({'isUndoable':!0x0}),_0x48f3ef['enqueueChange'](this['_undoStepBatch'],_0x4b2adc=>{_0x587361['isCollapsed']||_0x48f3ef['deleteContent'](_0x587361,{'leaveUnmerged':!0x0});const _0x3aa35d=_0x587361['getFirstPosition'](),_0x1197d3=_0x5f37cd['first'](_0x587361['getSelectedBlocks']());let _0x27093c;_0x27093c=_0x1197d3['is']('element','paragraph')&&_0x1197d3['isEmpty']?_0x3aa35d:_0x3aa35d['isAtStart']?_0x48f3ef['createPositionBefore'](_0x1197d3):_0x3aa35d['isAtEnd']?_0x48f3ef['createPositionAfter'](_0x1197d3):_0x4b2adc['split'](_0x3aa35d)['position'],this['_importMarker']=_0x4b2adc['addMarker']('importWord:'+_0x5f37cd['uid'](),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x5f37cd['ModelRange'](_0x27093c)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x5a4a9a=this['editor']['model'];_0x5a4a9a['markers']['has'](this['_importMarker'])&&_0x5a4a9a['enqueueChange'](this['_undoStepBatch'],_0x1ce054=>{_0x1ce054['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}async['_sendImportRequest']({url:_0x3432e9,file:_0x422e77,serviceConfig:_0x3a9697}){const _0xa46d68=this['editor'],_0x310ed2=await _0xa46d68['plugins']['get']('ImportWordEditing')['getToken'](),_0x59afbf=new FormData();_0x59afbf['set']('config',JSON['stringify'](_0x3a9697)),_0x59afbf['set']('file',_0x422e77);const _0x13b44b={'method':'POST','headers':{},'body':_0x59afbf,'signal':this['_abortController']['signal']};return _0x310ed2&&(_0x13b44b['headers']['Authorization']=_0x310ed2['value']),fetch(_0x3432e9,_0x13b44b);}['_handleImportResponse'](_0x4b0db6){return _0x4b0db6['ok']?_0x4b0db6['json']()['then'](_0x205828=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',{..._0x205828,'undoStepBatch':this['_undoStepBatch']});}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x5f37cd['logWarning']('import-word-plugin-import-cancelled');const _0x8c196=this['editor'],_0x2103e8=_0x2672b9(_0x8c196['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x8c196['plugins']['get']('Notification')['showWarning'](_0x2103e8),_0x5f37cd['logError']('import-word-plugin-conversion-failed');}}class ImportWordEditing extends _0x5f37cd['Plugin']{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5f37cd['Notification'],_0x5f37cd['ClipboardPipeline'],_0x5f37cd['CloudServices']];}['init'](){const _0x47f7c5=this['editor'],_0x5404df=_0x47f7c5['plugins']['get'](_0x5f37cd['CloudServices']);_0x47f7c5['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x47f7c5['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x47f7c5['commands']['add']('importWord',new ImportWordCommand(_0x47f7c5));const {tokenUrl:_0x4ff64e}=_0x47f7c5['config']['get']('importWord');if(_0x4ff64e){const {tokenUrl:_0x3c2cb7}=_0x47f7c5['config']['get']('cloudServices')||{};this['_token']=_0x4ff64e===_0x3c2cb7?Promise['resolve'](_0x5404df['token']):_0x5404df['registerTokenUrl'](_0x4ff64e);}else this['_token']=Promise['resolve'](null);}['getToken'](){return this['_token'];}}class ImportWord extends _0x5f37cd['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 _0x5f37cd['Command']{['refresh'](){const _0x179c7b=this['editor']['model']['document'],_0x5e7938=_0x5f37cd['first'](_0x179c7b['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x5e7938)&&this['_canHaveLineHeight'](_0x5e7938),this['value']=this['isEnabled']&&_0x5e7938['getAttribute']('lineHeight');}['execute'](_0x2749a3={}){const _0x2971fd=this['editor']['model'],_0x296856=_0x2971fd['document']['selection'],_0x4e1c97=_0x2749a3['value'];_0x2971fd['change'](_0x3ddbb2=>{const _0x1ce024=Array['from'](_0x296856['getSelectedBlocks']())['filter'](_0x1377f6=>this['_canHaveLineHeight'](_0x1377f6));for(const _0x178400 of _0x1ce024)_0x4e1c97?_0x3ddbb2['setAttribute']('lineHeight',_0x4e1c97,_0x178400):_0x3ddbb2['removeAttribute']('lineHeight',_0x178400);});}['_canHaveLineHeight'](_0x230c2f){return this['editor']['model']['schema']['checkAttribute'](_0x230c2f,'lineHeight');}}const _0x225aac={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 _0x10e16b(_0xe8b994){return'string'==typeof _0xe8b994&&'default'===_0xe8b994['toLowerCase']();}function _0x294be4(_0x97cfb9){return _0x97cfb9['options']['map'](_0x553bdf=>{return _0x10e16b(_0x553bdf)?{'title':String(_0x97cfb9['defaultValue']),'model':'default'}:('number'==typeof _0x553bdf&&(_0x553bdf=String(_0x553bdf)),'string'!=typeof _0x553bdf?_0x553bdf:parseFloat(_0x553bdf)?{'title':_0x553bdf,'model':_0x553bdf,'view':{'name':'span','styles':{'line-height':_0x553bdf}}}:'string'==typeof(_0x5e631f=_0x553bdf)?_0x225aac[_0x5e631f]:_0x225aac[_0x5e631f['model']]);var _0x5e631f;})['filter'](_0x62d17a=>void 0x0!==_0x62d17a);}class LineHeightTodoListIntegration extends _0x5f37cd['Plugin']{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x99c0e9,conversion:_0x359db9}=this['editor'];if(!_0x99c0e9['has']('ListEditing')||!_0x99c0e9['has']('TodoListEditing'))return;_0x99c0e9['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x3b6b83,_0x26a1a6,_0x3bd201,_0x147123,_0x53fe83){'todo'==_0x53fe83['getAttribute']('listType')&&_0x26a1a6&&(_0x3b6b83['addClass']('ck-list-marker-line-height',_0x3bd201),_0x3b6b83['setStyle']('--ck-content-list-marker-line-height',_0x26a1a6,_0x3bd201));}}),_0x359db9['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x359db9['for']('upcast')['add'](_0xa71f1c=>{_0xa71f1c['on']('element:li',function(_0x146d12){const _0x3976aa=new _0x5f37cd['Matcher'](_0x146d12);return(_0x2e34f3,_0x302b9e,_0x41aa34)=>{const _0x5a6b72=_0x3976aa['match'](_0x302b9e['viewItem']);if(!_0x5a6b72)return;const _0x44a93f=_0x5a6b72['match'];_0x44a93f['name']=!0x1,_0x41aa34['consumable']['consume'](_0x302b9e['viewItem'],_0x44a93f);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class LineHeightEditing extends _0x5f37cd['Plugin']{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[LineHeightTodoListIntegration];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x422027){super(_0x422027),_0x422027['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x10e4db=this['editor'];this['_validateConfig'](),_0x10e4db['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x10e4db['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x10e4db['commands']['add']('lineHeight',new LineHeightCommand(_0x10e4db)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x483181){const _0x89659b=_0x329a91([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]),_0x3ac3d7=0x45ddd215,_0x3c0da3=0x45da59c5^_0x3ac3d7,_0x47271f=window[_0x329a91([0x44,0x61,0x74,0x65])][_0x329a91([0x6e,0x6f,0x77])](),_0x2492d0=_0x483181[_0x329a91([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x56b0d3=new window[(_0x329a91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xef1fc1=>{_0x2492d0[_0x329a91([0x6f,0x6e,0x63,0x65])](_0x329a91([0x72,0x65,0x61,0x64,0x79]),_0xef1fc1);}),_0x4808b5={[_0x329a91([0x6b,0x74,0x79])]:_0x329a91([0x45,0x43]),[_0x329a91([0x75,0x73,0x65])]:_0x329a91([0x73,0x69,0x67]),[_0x329a91([0x63,0x72,0x76])]:_0x329a91([0x50,0x2d,0x32,0x35,0x36]),[_0x329a91([0x78])]:_0x329a91([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]),[_0x329a91([0x79])]:_0x329a91([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]),[_0x329a91([0x61,0x6c,0x67])]:_0x329a91([0x45,0x53,0x32,0x35,0x36])},_0x2b4285=_0x2492d0[_0x329a91([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x329a91([0x67,0x65,0x74])](_0x329a91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e988a(){let _0xfe1a2e,_0x2b3dbe=null,_0x4d720c=null;try{if(_0x2b4285==_0x329a91([0x47,0x50,0x4c]))return _0x329a91([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xfe1a2e=_0x52be94(),!_0xfe1a2e)return _0x329a91([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xfe1a2e[_0x329a91([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d720c=_0x4471d2(_0xfe1a2e[_0x329a91([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xfe1a2e[_0x329a91([0x6a,0x74,0x69])])),await _0x230036()?_0x3789a9()?_0x18ba07()?_0x329a91([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1d76bc()?(_0xfe1a2e[_0x329a91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x329a91([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b3dbe=_0x446467(_0x329a91([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4a893d()):_0x329a91([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x329a91([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x329a91([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x329a91([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x18ba07(){const _0x38d9a5=[_0x329a91([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x329a91([0x74,0x72,0x69,0x61,0x6c])][_0x329a91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfe1a2e[_0x329a91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x47271f/0x3e8:0xe10*_0x3c0da3;return _0xfe1a2e[_0x329a91([0x65,0x78,0x70])]<_0x38d9a5;}function _0x3789a9(){const _0x3ef2d3=_0xfe1a2e[_0x329a91([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ef2d3&&(!!_0x3ef2d3[_0x329a91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x329a91([0x2a]))||!!_0x3ef2d3[_0x329a91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x329a91([0x4c,0x48])));}function _0x1d76bc(){const _0x247312=_0xfe1a2e[_0x329a91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x247312||0x0==_0x247312[_0x329a91([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x308e43}=new URL(window[_0x329a91([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x247312[_0x329a91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x308e43))return!0x0;const _0x2c5472=_0x308e43[_0x329a91([0x73,0x70,0x6c,0x69,0x74])](_0x329a91([0x2e]));return _0x247312[_0x329a91([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f43da=>_0x4f43da[_0x329a91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x329a91([0x2a])))[_0x329a91([0x6d,0x61,0x70])](_0x4b735=>_0x4b735[_0x329a91([0x73,0x70,0x6c,0x69,0x74])](_0x329a91([0x2e])))[_0x329a91([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x317f4e=>_0x317f4e[_0x329a91([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2c5472[_0x329a91([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x329a91([0x6d,0x61,0x70])](_0x5e1547=>Array(_0x2c5472[_0x329a91([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5e1547[_0x329a91([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x329a91([0x66,0x69,0x6c,0x6c])](_0x5e1547[0x0]===_0x329a91([0x2a])?_0x329a91([0x2a]):'')[_0x329a91([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5e1547))[_0x329a91([0x73,0x6f,0x6d,0x65])](_0x20afc9=>_0x2c5472[_0x329a91([0x65,0x76,0x65,0x72,0x79])]((_0x5413aa,_0x3d0cf1)=>_0x20afc9[_0x3d0cf1]===_0x5413aa||_0x20afc9[_0x3d0cf1]===_0x329a91([0x2a])));}function _0x4a893d(){return _0x2b3dbe&&_0x4d720c?new window[(_0x329a91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x680742,_0x4dc497)=>{_0x2b3dbe[_0x329a91([0x74,0x68,0x65,0x6e])](_0x680742,_0x4dc497),_0x4d720c[_0x329a91([0x74,0x68,0x65,0x6e])](_0x3edd64=>{_0x3edd64!=_0x329a91([0x56,0x61,0x6c,0x69,0x64])&&_0x680742(_0x3edd64);},_0x4dc497);}):_0x2b3dbe||_0x4d720c||_0x329a91([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4471d2(_0x232a9e,_0x41a28f){return new window[(_0x329a91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb0700a=>{if(_0x463f03())return _0xb0700a(_0x329a91([0x56,0x61,0x6c,0x69,0x64]));_0x3ad67b(),_0x2492d0[_0x329a91([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x329a91([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x42cb65=!0x1;const _0xce2e33=_0x5f37cd['uid']();function _0x370a58(_0x1e8fcc){return!!_0x1e8fcc&&(typeof _0x1e8fcc===_0x329a91([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1e8fcc===_0x329a91([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1e8fcc[_0x329a91([0x74,0x68,0x65,0x6e])]===_0x329a91([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1e8fcc[_0x329a91([0x63,0x61,0x74,0x63,0x68])]===_0x329a91([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5aeb61(_0xc18c41){_0x5a5e69(_0xc18c41)[_0x329a91([0x74,0x68,0x65,0x6e])](_0x256f1e=>{if(!_0x256f1e||_0x256f1e[_0x329a91([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x329a91([0x6f,0x6b]))return _0x329a91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5b772a(_0x243219(_0xce2e33+_0x41a28f))!=_0x256f1e[_0x329a91([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x329a91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x329a91([0x56,0x61,0x6c,0x69,0x64]);})[_0x329a91([0x74,0x68,0x65,0x6e])](_0x29c1a7=>(_0x5c2c4f(),_0x29c1a7),()=>{const _0x727aef=_0x1a6473();return null==_0x727aef?(_0x5c2c4f(),_0x329a91([0x56,0x61,0x6c,0x69,0x64])):_0x329a91(_0x47271f-_0x727aef>(0x61d15615^_0x3ac3d7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x329a91([0x74,0x68,0x65,0x6e])](_0xb0700a)[_0x329a91([0x63,0x61,0x74,0x63,0x68])](()=>{_0xb0700a(_0x329a91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4b9dca=0x45eb3c95^_0x3ac3d7;function _0x5c2c4f(){const _0x4a1526=_0x329a91([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b772a(_0x243219(_0x232a9e)),_0x19b1fb=_0x280a0e(_0x5b772a(window[_0x329a91([0x4d,0x61,0x74,0x68])][_0x329a91([0x63,0x65,0x69,0x6c])](_0x47271f/_0x4b9dca)));window[_0x329a91([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x329a91([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a1526,_0x19b1fb);}function _0x1a6473(){const _0x1ca4a5=_0x329a91([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b772a(_0x243219(_0x232a9e)),_0x34a099=window[_0x329a91([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x329a91([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ca4a5);return _0x34a099?window[_0x329a91([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x280a0e(_0x34a099),0x10)*_0x4b9dca:null;}function _0x5a5e69(_0x12d22a){return new window[(_0x329a91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36feba,_0x990f38)=>{_0x12d22a[_0x329a91([0x74,0x68,0x65,0x6e])](_0x36feba,_0x990f38),window[_0x329a91([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x990f38,0x45dc06d5^_0x3ac3d7);});}}_0x2492d0[_0x329a91([0x6f,0x6e])](_0x329a91([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16b11c,_0x3af34b)=>{if(_0x3af34b[0x0]!=_0x232a9e)return _0xb0700a(_0x329a91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3af34b[0x1]={..._0x3af34b[0x1],[_0x329a91([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xce2e33};},{[_0x329a91([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x329a91([0x68,0x69,0x67,0x68])}),_0x2492d0[_0x329a91([0x6f,0x6e])](_0x329a91([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x48a891=>{_0x370a58(_0x48a891[_0x329a91([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x42cb65=!0x0,_0x5aeb61(_0x48a891[_0x329a91([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x329a91([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x329a91([0x6c,0x6f,0x77])}),_0x56b0d3[_0x329a91([0x74,0x68,0x65,0x6e])](()=>{_0x42cb65||_0xb0700a(_0x329a91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x463f03(){return _0x2492d0[_0x329a91([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x329a91([0x76,0x69,0x65,0x77])][_0x329a91([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x329a91([0x61,0x75,0x74,0x6f]);}function _0x3ad67b(){_0x2492d0[_0x329a91([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x329a91([0x76,0x69,0x65,0x77])][_0x329a91([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x329a91([0x61,0x75,0x74,0x6f]);}}function _0x446467(_0x94b0e1){const _0x39f4bf=[new window[(_0x329a91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe9a420=>setTimeout(_0xe9a420,0x45d4ecd9^_0x3ac3d7)),_0x56b0d3[_0x329a91([0x74,0x68,0x65,0x6e])](()=>new window[(_0x329a91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x311c42=>{let _0x89aa71=0x0;_0x2492d0[_0x329a91([0x6d,0x6f,0x64,0x65,0x6c])][_0x329a91([0x6f,0x6e])](_0x329a91([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b358e,_0x38f4aa)=>{_0x38f4aa[0x0][_0x329a91([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x89aa71++,_0x89aa71==(0x45ddd7fd^_0x3ac3d7)&&(_0x311c42(),_0x1b358e[_0x329a91([0x6f,0x66,0x66])]());});}))];return window[_0x329a91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x329a91([0x72,0x61,0x63,0x65])](_0x39f4bf)[_0x329a91([0x74,0x68,0x65,0x6e])](()=>_0x94b0e1);}async function _0x545e6d(){await _0x56b0d3,_0x2492d0[_0x329a91([0x6d,0x6f,0x64,0x65,0x6c])][_0x329a91([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2e0d37,_0x2492d0[_0x329a91([0x6d,0x6f,0x64,0x65,0x6c])][_0x329a91([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2e0d37,_0x2492d0[_0x329a91([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x329a91([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xc1e956(_0xa37551){const _0xc6d55f=_0x34890a();_0x2492d0[_0xc6d55f]=_0x329a91([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa37551,_0xa37551!=_0x329a91([0x56,0x61,0x6c,0x69,0x64])&&_0x545e6d();}function _0x34890a(){const _0x59f92f=window[_0x329a91([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x329a91([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x329a91([0x6e,0x6f,0x77])]())[_0x329a91([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x329a91([0x2e]),'');let _0x5a6b2e=_0x329a91([0x50]);for(let _0x576e8e=0x0;_0x576e8e<_0x59f92f[_0x329a91([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x576e8e+=0x2){let _0x140354=window[_0x329a91([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59f92f[_0x329a91([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x576e8e,_0x576e8e+0x2));_0x140354>=_0x89659b[_0x329a91([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x140354-=_0x89659b[_0x329a91([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a6b2e+=_0x89659b[_0x140354];}return _0x5a6b2e;}function _0x52be94(){const _0x50f277=_0x2b4285[_0x329a91([0x73,0x70,0x6c,0x69,0x74])](_0x329a91([0x2e]));if(0x3!=_0x50f277[_0x329a91([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2abb77(_0x50f277[0x1]);function _0x2abb77(_0x21b43d){const _0x244c5d=_0x1639a0(_0x21b43d);return _0x244c5d&&_0x1b1153()?_0x244c5d:null;function _0x1b1153(){const _0x203055=_0x244c5d[_0x329a91([0x6a,0x74,0x69])],_0x56ce28=window[_0x329a91([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x203055[_0x329a91([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x203055[_0x329a91([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50f7a9={..._0x244c5d,[_0x329a91([0x6a,0x74,0x69])]:_0x203055[_0x329a91([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x203055[_0x329a91([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50f7a9[_0x329a91([0x76,0x63])],_0x243219(_0x50f7a9)==_0x56ce28;}}}async function _0x230036(){let _0x4b5d60=!0x0;try{const _0x47dafb=_0x2b4285[_0x329a91([0x73,0x70,0x6c,0x69,0x74])](_0x329a91([0x2e])),[_0x1be753,_0x5de721,_0x45bb3c]=_0x47dafb;return _0x19c460(_0x1be753),await _0x445b27(_0x1be753,_0x5de721,_0x45bb3c),_0x4b5d60;}catch{return!0x1;}function _0x19c460(_0x30ae79){const _0x313c52=_0x1639a0(_0x30ae79);_0x313c52&&_0x313c52[_0x329a91([0x61,0x6c,0x67])]==_0x329a91([0x45,0x53,0x32,0x35,0x36])||(_0x4b5d60=!0x1);}async function _0x445b27(_0x365af5,_0x3a3bcc,_0x57eb7a){const _0x2a9476=window[_0x329a91([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x329a91([0x66,0x72,0x6f,0x6d])](_0x27d8bd(_0x57eb7a),_0x1721fa=>_0x1721fa[_0x329a91([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2227ce=new window[(_0x329a91([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x329a91([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x365af5+_0x329a91([0x2e])+_0x3a3bcc),_0x4a9f0a=window[_0x329a91([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x329a91([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4a9f0a)return;const _0x4f4e97=await _0x4a9f0a[_0x329a91([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x329a91([0x6a,0x77,0x6b]),_0x4808b5,{[_0x329a91([0x6e,0x61,0x6d,0x65])]:_0x329a91([0x45,0x43,0x44,0x53,0x41]),[_0x329a91([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x329a91([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x329a91([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4a9f0a[_0x329a91([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x329a91([0x6e,0x61,0x6d,0x65])]:_0x329a91([0x45,0x43,0x44,0x53,0x41]),[_0x329a91([0x68,0x61,0x73,0x68])]:{[_0x329a91([0x6e,0x61,0x6d,0x65])]:_0x329a91([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4f4e97,_0x2a9476,_0x2227ce)||(_0x4b5d60=!0x1);}}function _0x1639a0(_0x3438a8){return _0x3438a8[_0x329a91([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x329a91([0x65,0x79]))?JSON[_0x329a91([0x70,0x61,0x72,0x73,0x65])](_0x27d8bd(_0x3438a8)):null;}function _0x27d8bd(_0x1ba29a){return window[_0x329a91([0x61,0x74,0x6f,0x62])](_0x1ba29a[_0x329a91([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x329a91([0x2b]))[_0x329a91([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x329a91([0x2f])));}function _0x243219(_0x1ef71a){let _0x7acb43=0x1505;function _0x4efcae(_0x45027d){for(let _0x48ad89=0x0;_0x48ad89<_0x45027d[_0x329a91([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48ad89++){const _0x420970=_0x45027d[_0x329a91([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x48ad89);_0x7acb43=(_0x7acb43<<0x5)+_0x7acb43+_0x420970,_0x7acb43&=_0x7acb43;}}function _0x17fcd4(_0x915a30){Array[_0x329a91([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x915a30)?_0x915a30[_0x329a91([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x17fcd4):_0x915a30&&typeof _0x915a30==_0x329a91([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x329a91([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x915a30)[_0x329a91([0x73,0x6f,0x72,0x74])]()[_0x329a91([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1e2d72,_0x581c1e])=>{_0x4efcae(_0x1e2d72),_0x17fcd4(_0x581c1e);}):_0x4efcae(window[_0x329a91([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x915a30));}return _0x17fcd4(_0x1ef71a),_0x7acb43>>>0x0;}function _0x5b772a(_0xcabb68){return _0xcabb68[_0x329a91([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x329a91([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x329a91([0x30]));}function _0x280a0e(_0x39a3d7){return _0x39a3d7[_0x329a91([0x73,0x70,0x6c,0x69,0x74])]('')[_0x329a91([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x329a91([0x6a,0x6f,0x69,0x6e])]('');}function _0x2e0d37(){}function _0x329a91(_0x3991c6){return _0x3991c6['map'](_0x2b045e=>String['fromCharCode'](_0x2b045e))['join']('');}_0xc1e956(await _0x4e988a());}(this);}['_validateConfig'](){const _0x357081=this['editor'];if(!_0x357081['config']['get']('lineHeight.supportAllValues'))return;const _0xd26784=_0x357081['config']['get']('lineHeight.options')['filter'](_0x4b9d77=>'string'==typeof _0x4b9d77&&(!_0x10e16b(_0x4b9d77)&&isNaN(Number(_0x4b9d77))));if(_0xd26784['length'])throw new _0x5f37cd['CKEditorError']('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0xd26784});}['_prepareAnyValueConverters'](){const _0x1c617c=this['editor'],_0x6af32=this['editor']['config']['get']('lineHeight.defaultValue');_0x1c617c['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x52359d=>String(_0x52359d)===String(_0x6af32)?null:{'key':'style','value':{'line-height':_0x52359d}}}),_0x1c617c['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x1e7e91=>{let _0x1a09b3=_0x1e7e91['getStyle']('line-height');return _0x5f37cd['isPercentageStyleValue'](_0x1a09b3)&&(_0x1a09b3=String(Number(_0x1a09b3['slice'](0x0,-0x1))/0x64)),String(_0x1a09b3)===String(_0x6af32)?null:_0x1a09b3;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x3c02a3=this['editor'],_0x2ff7e1=this['editor']['config']['get']('lineHeight.defaultValue'),_0x3ce860=function(_0x12049f,_0xc73b10){const _0x192683={'model':{'key':_0x12049f,'values':[]},'view':{}};for(const _0x4e8398 of _0xc73b10)'class'===_0x4e8398['view']?.['key']?(_0x192683['model']['values']['push'](_0x4e8398['model']),_0x192683['view'][_0x4e8398['model']]={'key':'class','value':_0x4e8398['view']['value']}):(_0x192683['model']['values']['push'](_0x4e8398['model']),_0x192683['view'][_0x4e8398['model']]={'key':'style','value':'line-height:'+_0x4e8398['model']+';'});return _0x192683;}('lineHeight',_0x294be4(this['editor']['config']['get']('lineHeight'))['filter'](_0x6dfc5b=>_0x6dfc5b['model']));_0x3c02a3['conversion']['attributeToAttribute'](_0x3ce860),_0x3c02a3['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x1aa65b=>{let _0x1acdfe=_0x1aa65b['getStyle']('line-height');return _0x5f37cd['isPercentageStyleValue'](_0x1acdfe)&&(_0x1acdfe=String(Number(_0x1acdfe['slice'](0x0,-0x1))/0x64)),_0x1acdfe===String(_0x2ff7e1)?null:_0x3ce860['model']['values']['includes'](_0x1acdfe)?_0x1acdfe:null;}}});}}class LineHeightUI extends _0x5f37cd['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x309238={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x309238),this['_registerMenuBarComponent'](_0x309238),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x27e05b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xfeddb5;for(const _0x5a4128 in _0x27e05b){const _0x369701=_0x5a4128,_0x1b8e29=_0x27e05b[_0x369701];if('lineHeightLicenseKeyValid'==_0x1b8e29||'lineHeightLicenseKeyInvalid'==_0x1b8e29||'lineHeightLicenseKeyExpired'==_0x1b8e29||'lineHeightLicenseKeyDomainLimit'==_0x1b8e29||'lineHeightLicenseKeyNotAllowed'==_0x1b8e29||'lineHeightLicenseKeyEvaluationLimit'==_0x1b8e29||'lineHeightLicenseKeyUsageLimit'==_0x1b8e29){delete _0x27e05b[_0x369701],_0xfeddb5=_0x1b8e29,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0xfeddb5&&_0x27e05b['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0xfeddb5&&_0x27e05b['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0xfeddb5&&_0x27e05b['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0xfeddb5&&_0x27e05b['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0xfeddb5&&_0x27e05b['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0xfeddb5&&_0x27e05b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x497bce=this['editor'],t=_0x497bce['t'],_0x5b7300=_0x497bce['config']['get']('lineHeight'),_0x91ac7={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x294be4(_0x5b7300)['map'](_0x477f02=>{const _0x4c6008=_0x91ac7[_0x477f02['title']];return _0x4c6008&&_0x4c6008!=_0x477f02['title']&&(_0x477f02=Object['assign']({},_0x477f02,{'title':_0x4c6008})),_0x477f02;});}['_prepareListOptions'](){const _0x1cbb22=this['editor']['commands']['get']('lineHeight'),_0x3ce346=this['editor']['config']['get']('lineHeight.defaultValue'),_0x5af8a4=this['_getLocalizedLineHeightOptions'](),_0x3742f5=new _0x5f37cd['Collection'](),_0x48ade1=_0x5dd19b=>'default'===_0x5dd19b||String(_0x3ce346)===_0x5dd19b;for(const _0x4372f7 of _0x5af8a4){const _0x1ee2d7={'type':'button','model':new _0x5f37cd['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x4372f7['title'],'withText':!0x0})};_0x48ade1(_0x4372f7['model'])?(_0x1ee2d7['model']['bind']('isOn')['to'](_0x1cbb22,'value',_0x14a9c4=>!_0x14a9c4),_0x1ee2d7['model']['commandParam']=void 0x0):(_0x1ee2d7['model']['bind']('isOn')['to'](_0x1cbb22,'value',_0x273160=>_0x273160===_0x4372f7['model']),_0x1ee2d7['model']['commandParam']=_0x4372f7['model']),_0x3742f5['add'](_0x1ee2d7);}if(this['_shouldRenderCustomValueOption']()){const _0x37f3cf=this['_getCustomValueOptionDefinition'](_0x5af8a4);_0x3742f5['add'](_0x37f3cf);}return _0x3742f5;}['_getCustomValueOptionDefinition'](_0xa7ba4c){const _0x25c330=this['editor'],t=_0x25c330['t'],_0x12dc3b=_0x25c330['commands']['get']('lineHeight'),_0x36143e=_0xa7ba4c['map'](_0x54f060=>_0x54f060['model']),_0x4506bf={'type':'button','model':new _0x5f37cd['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x4506bf['model']['bind']('commandParam')['to'](_0x12dc3b,'value'),_0x4506bf['model']['bind']('isOn')['to'](_0x12dc3b,'value',_0x3d1db4=>!!_0x3d1db4&&!_0x36143e['includes'](String(_0x3d1db4))),_0x4506bf['model']['bind']('label')['to'](_0x12dc3b,'value',_0x45551a=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x45551a))),_0x4506bf;}['_registerToolbarComponent']({accessibleLabel:_0x4144e3,options:_0x4b2d64}){const _0x17d726=this['editor'],_0x3fe37a=_0x17d726['commands']['get']('lineHeight');_0x17d726['ui']['componentFactory']['add']('lineHeight',_0x3fe963=>{const _0x8f8d7e=_0x5f37cd['createDropdown'](_0x3fe963);return _0x5f37cd['addListToDropdown'](_0x8f8d7e,_0x4b2d64,{'role':'menu','ariaLabel':_0x4144e3}),_0x8f8d7e['buttonView']['set']({'label':_0x4144e3,'tooltip':!0x0,'icon':_0x5f37cd['IconLineHeight']}),_0x8f8d7e['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x8f8d7e['bind']('isEnabled')['to'](_0x3fe37a),this['listenTo'](_0x8f8d7e,'execute',_0x3cf851=>{_0x17d726['execute'](_0x3cf851['source']['commandName'],{'value':_0x3cf851['source']['commandParam']}),_0x17d726['editing']['view']['focus']();}),_0x8f8d7e['once']('change:isOpen',()=>{const _0x423bb8=_0x8f8d7e['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x8f8d7e,_0x4b2d64,_0x423bb8);}),_0x8f8d7e;});}['_registerMenuBarComponent']({accessibleLabel:_0x53ac9d,options:_0x40f257}){const _0x232ac4=this['editor'],_0x3e5018=_0x232ac4['commands']['get']('lineHeight');_0x232ac4['ui']['componentFactory']['add']('menuBar:lineHeight',_0xde615e=>{const _0x31254f=new _0x5f37cd['MenuBarMenuView'](_0xde615e);_0x31254f['buttonView']['set']({'label':_0x53ac9d,'icon':_0x5f37cd['IconLineHeight']}),_0x31254f['bind']('isEnabled')['to'](_0x3e5018);const _0x2e8c2c=new _0x5f37cd['MenuBarMenuListView'](_0xde615e);for(const _0x2b78a3 of _0x40f257){const _0x536118=new _0x5f37cd['MenuBarMenuListItemView'](_0xde615e,_0x31254f),_0x4c1e5c=new _0x5f37cd['MenuBarMenuListItemButtonView'](_0xde615e);_0x4c1e5c['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x4c1e5c['bind'](...Object['keys'](_0x2b78a3['model']))['to'](_0x2b78a3['model']),_0x4c1e5c['delegate']('execute')['to'](_0x31254f),_0x4c1e5c['on']('execute',()=>{_0x232ac4['execute'](_0x2b78a3['model']['commandName'],{'value':_0x2b78a3['model']['commandParam']}),_0x232ac4['editing']['view']['focus']();}),_0x536118['children']['add'](_0x4c1e5c),_0x2e8c2c['items']['add'](_0x536118);}return _0x31254f['panelView']['children']['add'](_0x2e8c2c),this['_attachCustomOptionVisibilityHandler'](_0x31254f,_0x40f257,_0x2e8c2c),_0x31254f;});}['_attachCustomOptionVisibilityHandler'](_0x1755d3,_0xc0fc12,_0x4b9c8c){if(!this['_shouldRenderCustomValueOption']())return;const _0xf97ed7=()=>{if(!_0x1755d3['isOpen'])return;_0x4b9c8c['items']['last']['isVisible']=Boolean(_0xc0fc12['last']['model']['isOn']);};_0xf97ed7(),_0x1755d3['on']('change:isOpen',()=>{_0xf97ed7();});}}class LineHeight extends _0x5f37cd['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 _0x5f37cd['Command']{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x5d35ce,_0x121492,_0x43bb5c){super(_0x5d35ce),this['defaultListMarkerStyle']=_0x121492,this['_listDefinitions']=_0x43bb5c,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3429d1={}){const _0x339ab5=this['editor']['model'],_0x5cbb9a=_0x3429d1['listMarkerStyle']||this['defaultListMarkerStyle'];_0x339ab5['change'](()=>{const _0x441440=this['_getListTypeFromListMarkerStyle'](_0x5cbb9a);if(!_0x441440)return;const _0x2e0135=_0x441440+'List';this['editor']['execute'](_0x2e0135,{'additionalAttributes':{'listMarkerStyle':_0x5cbb9a}});});}['_getValue'](){const _0x30197d=_0x5f37cd['first'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x30197d)?_0x30197d['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0xb1dbbe=this['editor'],_0x499049=_0xb1dbbe['commands']['get']('customNumberedList'),_0x1b3cdf=_0xb1dbbe['commands']['get']('customBulletedList');return _0x499049['isEnabled']||_0x1b3cdf['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x72d32c){const _0x59d2a0=this['_listDefinitions']['find'](_0x2082b0=>_0x2082b0['listMarkerStyle']==_0x72d32c);return _0x59d2a0?_0x59d2a0['listType']:null;}}class MultiLevelListEditing extends _0x5f37cd['Plugin']{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5f37cd['ListEditing']];}constructor(_0x5b5239){super(_0x5b5239);const _0xa4872d=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x234977=>_0x234977+'.'}]},..._0xa4872d];}['init'](){const _0x14fa10=this['editor'],_0x2e5a73=_0x14fa10['model'],_0x5aea34=_0x14fa10['editing']['view'],_0x5de6e3=_0x14fa10['plugins']['get'](_0x5f37cd['ListEditing']);_0x14fa10['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x14fa10,'legal',this['_listDefinitions'])),_0x2e5a73['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x2e5a73['schema']['addAttributeCheck']((_0x4fbffd,_0x3d2ae5)=>{const _0x223d00=_0x4fbffd['last'];if('listMarker'==_0x3d2ae5||'listMarkerStyle'==_0x3d2ae5)return!(!_0x223d00['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x4c42a5=>_0x4c42a5['listType']==_0x223d00['getAttribute']('listType')))&&void 0x0;});for(const _0x3645a5 of this['_listDefinitions'])_0x14fa10['conversion']['for']('upcast')['add'](_0x48addc=>{_0x48addc['on']('element:'+('customNumbered'==_0x3645a5['listType']?'ol':'ul'),_0x33965b(_0x3645a5,_0x2e5a73['schema']),{'priority':'low'});}),_0x5de6e3['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x370259,_0x5db7ec,_0x23c862){_0x5db7ec==_0x3645a5['listMarkerStyle']?(_0x370259['addClass'](['multi-level-list',_0x3645a5['className']],_0x23c862),_0x370259['setStyle']('list-style-type','none',_0x23c862)):(_0x370259['removeClass'](['multi-level-list',_0x3645a5['className']],_0x23c862),_0x370259['removeStyle']('list-style-type',_0x23c862));}}),_0x5de6e3['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x4defef,_0x2561f2,{dataPipeline:_0x33ba62}){if(!_0x2561f2['hasAttribute']('listMarker'))return null;if(_0x2561f2['getAttribute']('listType')!=_0x3645a5['listType']||_0x2561f2['getAttribute']('listMarkerStyle')!=_0x3645a5['listMarkerStyle'])return null;const _0x177129=String(_0x2561f2['getAttribute']('listMarker')),_0x26f0bc=this['canInjectMarkerIntoElement'](_0x2561f2);return _0x4defef['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x33ba62&&{'contenteditable':'false','data-multi-level-list-marker':_0x177129}},function(_0x522ed8){const _0x5ea5d8=this['toDomElement'](_0x522ed8);return _0x26f0bc?(_0x5ea5d8['appendChild'](_0x5f37cd['createElement'](_0x522ed8,'span',{},_0x33ba62?_0x522ed8['createTextNode'](_0x177129):[])),_0x5ea5d8['appendChild'](_0x522ed8['createTextNode']('\u00a0'))):_0x33ba62&&_0x5ea5d8['appendChild'](_0x522ed8['createTextNode'](_0x177129)),_0x5ea5d8;});},'canInjectMarkerIntoElement':_0x5ced94=>_0x2e5a73['schema']['checkChild'](_0x5ced94,'$text')&&_0x2e5a73['schema']['checkChild'](_0x5ced94,'$inlineObject')&&!_0x2e5a73['schema']['isLimit'](_0x5ced94)&&_0x5ced94['getAttribute']('listType')==_0x3645a5['listType']&&_0x5ced94['getAttribute']('listMarkerStyle')==_0x3645a5['listMarkerStyle']});_0x14fa10['conversion']['for']('upcast')['add'](_0x3c6c12=>{_0x3c6c12['on']('element:span',function(_0x693353){return(_0x1ec609,_0x3815ae,{writer:_0x2ecee5,consumable:_0x2ce07f})=>{const _0x8fdf20=_0x3815ae['modelCursor'],_0x1b8948=_0x8fdf20['parent'],_0x324b20=_0x3815ae['viewItem'];if(_0x2ce07f['consume'](_0x324b20,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x8fdf20['isAtStart']&&_0x1b8948['hasAttribute']('listType')&&_0x324b20['childCount']>0x0){const _0x334aaf=_0x693353['createRangeIn'](_0x324b20);let _0x470903='';for(const _0x26e55d of _0x334aaf['getItems']())_0x26e55d['is']('$textProxy')?(_0x470903+=_0x26e55d['data']['trim'](),_0x2ce07f['consume'](_0x26e55d['textNode'])):_0x2ce07f['consume'](_0x26e55d,{'name':!0x0});_0x2ecee5['setAttribute']('listMarker',_0x470903['trim'](),_0x1b8948);}};}(_0x5aea34));}),_0x5de6e3['on']('postFixer',(_0x185c87,{listNodes:_0x3ba48d,writer:_0x19b08c})=>{const _0x5bd2ca=[];for(const {node:_0x505f70,previousNodeInList:_0x13239f}of _0x3ba48d){const _0x2c8dbc=_0x505f70['getAttribute']('listType'),_0x9cd712=_0x505f70['getAttribute']('listMarkerStyle')||('customNumbered'==_0x2c8dbc?'legal':void 0x0),_0x10c821=this['_listDefinitions']['find'](_0x2e54d8=>_0x2e54d8['listType']==_0x2c8dbc&&_0x2e54d8['listMarkerStyle']==_0x9cd712);if('customNumbered'!=_0x2c8dbc&&'customBulleted'!=_0x2c8dbc&&(_0x505f70['hasAttribute']('listMarker')&&(_0x19b08c['removeAttribute']('listMarker',_0x505f70),_0x185c87['return']=!0x0),_0x505f70['hasAttribute']('listMarkerStyle')&&(_0x19b08c['removeAttribute']('listMarkerStyle',_0x505f70),_0x185c87['return']=!0x0)),!_0x10c821){'customBulleted'!=_0x2c8dbc||_0x9cd712||(_0x19b08c['setAttribute']('listType','bulleted',_0x505f70),_0x185c87['return']=!0x0);continue;}_0x505f70['hasAttribute']('listMarkerStyle')||(_0x19b08c['setAttribute']('listMarkerStyle',_0x9cd712,_0x505f70),_0x185c87['return']=!0x0);const _0x1bdd39=_0x505f70['getAttribute']('listIndent');if(_0x13239f&&_0x13239f['getAttribute']('listItemId')==_0x505f70['getAttribute']('listItemId'))continue;if(_0x5bd2ca['length']=_0x1bdd39+0x1,_0x14fa10['config']['get']('list.enableSkipLevelLists')){for(let _0x524600=0x0;_0x524600<_0x1bdd39;_0x524600++)void 0x0===_0x5bd2ca[_0x524600]&&(_0x5bd2ca[_0x524600]=0x1);}_0x13239f||_0x5bd2ca[_0x1bdd39]?_0x13239f&&_0x13239f['getAttribute']('listType')!=_0x10c821['listType']?_0x5bd2ca[_0x1bdd39]=0x1:_0x5bd2ca[_0x1bdd39]++:_0x5bd2ca[_0x1bdd39]=_0x505f70['getAttribute']('listStart')||0x1;const _0x4c782f=_0x4f36c0(_0x1bdd39,_0x10c821,_0x5bd2ca);_0x505f70['getAttribute']('listMarker')!=_0x4c782f&&(_0x19b08c['setAttribute']('listMarker',_0x4c782f,_0x505f70),_0x185c87['return']=!0x0);}}),_0x5de6e3['on']('checkElement',(_0x4a0b98,{modelElement:_0x3ff7c1,viewElement:_0x25efc5})=>{const _0xd91f11=_0x3ff7c1['getAttribute']('listType');if('customNumbered'!=_0xd91f11&&'customBulleted'!=_0xd91f11)return;if(_0x2e5a73['schema']['checkChild'](_0x3ff7c1,'$text'))return;const _0x364fcc=_0x5f37cd['_isFirstBlockOfListItem'](_0x3ff7c1);let _0xf8027e=!0x1;const _0x13a60d=_0x5aea34['createPositionBefore'](_0x25efc5)['getWalker']({'direction':'backward'});for(const {item:_0x33fbe1}of _0x13a60d)if(_0x33fbe1['is']('element')){if(_0x14fa10['editing']['mapper']['toModelElement'](_0x33fbe1))break;if(_0x33fbe1['getCustomProperty']('listItemMarker')){_0xf8027e=!0x0;break;}}_0xf8027e!=_0x364fcc&&(_0x4a0b98['return']=!0x0,_0x4a0b98['stop']());});const _0x2df019=_0x14fa10['editing']['view']['document'];this['listenTo'](_0x2df019,'clipboardOutput',(_0x43f819,_0x3f015a)=>{const _0x4813ad=new _0x5f37cd['Matcher']({'name':'span','classes':'multi-level-list__marker'}),_0x410143=new _0x5f37cd['Matcher']({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x4f0aae=new _0x5f37cd['ViewUpcastWriter'](_0x3f015a['content']['document']),_0x3e5425=[];for(const _0x3b2f44 of _0x4f0aae['createRangeIn'](_0x3f015a['content'])['getItems']())_0x3b2f44['is']('element')&&_0x4813ad['match'](_0x3b2f44)&&_0x3e5425['push'](_0x3b2f44),_0x3b2f44['is']('element')&&_0x410143['match'](_0x3b2f44)&&_0x4f0aae['removeStyle']('list-style-type',_0x3b2f44);for(const _0x278271 of _0x3e5425)_0x4f0aae['remove'](_0x278271);});}['afterInit'](){!async function(_0x3f631e){const _0x30c77e=_0x921875([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]),_0x18c343=0xf46a94a,_0x4099f8=0xf41229a^_0x18c343,_0xf7c9c=window[_0x921875([0x44,0x61,0x74,0x65])][_0x921875([0x6e,0x6f,0x77])](),_0x8f7474=_0x3f631e[_0x921875([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ce515=new window[(_0x921875([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x503b8b=>{_0x8f7474[_0x921875([0x6f,0x6e,0x63,0x65])](_0x921875([0x72,0x65,0x61,0x64,0x79]),_0x503b8b);}),_0x1c5570={[_0x921875([0x6b,0x74,0x79])]:_0x921875([0x45,0x43]),[_0x921875([0x75,0x73,0x65])]:_0x921875([0x73,0x69,0x67]),[_0x921875([0x63,0x72,0x76])]:_0x921875([0x50,0x2d,0x32,0x35,0x36]),[_0x921875([0x78])]:_0x921875([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]),[_0x921875([0x79])]:_0x921875([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]),[_0x921875([0x61,0x6c,0x67])]:_0x921875([0x45,0x53,0x32,0x35,0x36])},_0x15a53e=_0x8f7474[_0x921875([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x921875([0x67,0x65,0x74])](_0x921875([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x16d43c(){let _0x4421b0,_0x3527db=null,_0x3e20d3=null;try{if(_0x15a53e==_0x921875([0x47,0x50,0x4c]))return _0x921875([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4421b0=_0xaaa3fd(),!_0x4421b0)return _0x921875([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4421b0[_0x921875([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e20d3=_0xd9b2ee(_0x4421b0[_0x921875([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4421b0[_0x921875([0x6a,0x74,0x69])])),await _0x328494()?_0x58318b()?_0x4e234a()?_0x921875([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2449e0()?(_0x4421b0[_0x921875([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x921875([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3527db=_0x240011(_0x921875([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x178bae()):_0x921875([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x921875([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x921875([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x921875([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4e234a(){const _0x32d43a=[_0x921875([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x921875([0x74,0x72,0x69,0x61,0x6c])][_0x921875([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4421b0[_0x921875([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf7c9c/0x3e8:0xe10*_0x4099f8;return _0x4421b0[_0x921875([0x65,0x78,0x70])]<_0x32d43a;}function _0x58318b(){const _0x1f12ce=_0x4421b0[_0x921875([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f12ce&&(!!_0x1f12ce[_0x921875([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x921875([0x2a]))||!!_0x1f12ce[_0x921875([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x921875([0x4d,0x4c,0x4c])));}function _0x2449e0(){const _0x2b161d=_0x4421b0[_0x921875([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b161d||0x0==_0x2b161d[_0x921875([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d29e0}=new URL(window[_0x921875([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2b161d[_0x921875([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d29e0))return!0x0;const _0x5aa2a1=_0x1d29e0[_0x921875([0x73,0x70,0x6c,0x69,0x74])](_0x921875([0x2e]));return _0x2b161d[_0x921875([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43f045=>_0x43f045[_0x921875([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x921875([0x2a])))[_0x921875([0x6d,0x61,0x70])](_0x465bee=>_0x465bee[_0x921875([0x73,0x70,0x6c,0x69,0x74])](_0x921875([0x2e])))[_0x921875([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45c61f=>_0x45c61f[_0x921875([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5aa2a1[_0x921875([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x921875([0x6d,0x61,0x70])](_0xdd304=>Array(_0x5aa2a1[_0x921875([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xdd304[_0x921875([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x921875([0x66,0x69,0x6c,0x6c])](_0xdd304[0x0]===_0x921875([0x2a])?_0x921875([0x2a]):'')[_0x921875([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xdd304))[_0x921875([0x73,0x6f,0x6d,0x65])](_0x466198=>_0x5aa2a1[_0x921875([0x65,0x76,0x65,0x72,0x79])]((_0x2c01a1,_0x1e79eb)=>_0x466198[_0x1e79eb]===_0x2c01a1||_0x466198[_0x1e79eb]===_0x921875([0x2a])));}function _0x178bae(){return _0x3527db&&_0x3e20d3?new window[(_0x921875([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2242f0,_0x468858)=>{_0x3527db[_0x921875([0x74,0x68,0x65,0x6e])](_0x2242f0,_0x468858),_0x3e20d3[_0x921875([0x74,0x68,0x65,0x6e])](_0x1f5ef0=>{_0x1f5ef0!=_0x921875([0x56,0x61,0x6c,0x69,0x64])&&_0x2242f0(_0x1f5ef0);},_0x468858);}):_0x3527db||_0x3e20d3||_0x921875([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd9b2ee(_0x4f43b1,_0x3c23d1){return new window[(_0x921875([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50b3fc=>{if(_0x146476())return _0x50b3fc(_0x921875([0x56,0x61,0x6c,0x69,0x64]));_0x107447(),_0x8f7474[_0x921875([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x921875([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3fb506=!0x1;const _0x27fc40=_0x5f37cd['uid']();function _0x2235c6(_0x2c3b7b){return!!_0x2c3b7b&&(typeof _0x2c3b7b===_0x921875([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2c3b7b===_0x921875([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2c3b7b[_0x921875([0x74,0x68,0x65,0x6e])]===_0x921875([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2c3b7b[_0x921875([0x63,0x61,0x74,0x63,0x68])]===_0x921875([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c15c4(_0x2d13cd){_0x5b40f7(_0x2d13cd)[_0x921875([0x74,0x68,0x65,0x6e])](_0x1a81db=>{if(!_0x1a81db||_0x1a81db[_0x921875([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x921875([0x6f,0x6b]))return _0x921875([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x50ca79(_0x4db2d0(_0x27fc40+_0x3c23d1))!=_0x1a81db[_0x921875([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x921875([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x921875([0x56,0x61,0x6c,0x69,0x64]);})[_0x921875([0x74,0x68,0x65,0x6e])](_0x78f91b=>(_0x2b011b(),_0x78f91b),()=>{const _0x4abc91=_0x89a790();return null==_0x4abc91?(_0x2b011b(),_0x921875([0x56,0x61,0x6c,0x69,0x64])):_0x921875(_0xf7c9c-_0x4abc91>(0x2b4a2d4a^_0x18c343)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x921875([0x74,0x68,0x65,0x6e])](_0x50b3fc)[_0x921875([0x63,0x61,0x74,0x63,0x68])](()=>{_0x50b3fc(_0x921875([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5dad5f=0xf7047ca^_0x18c343;function _0x2b011b(){const _0x5d798e=_0x921875([0x6c,0x6c,0x63,0x74,0x2d])+_0x50ca79(_0x4db2d0(_0x4f43b1)),_0x3de1c0=_0x4f05c3(_0x50ca79(window[_0x921875([0x4d,0x61,0x74,0x68])][_0x921875([0x63,0x65,0x69,0x6c])](_0xf7c9c/_0x5dad5f)));window[_0x921875([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x921875([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d798e,_0x3de1c0);}function _0x89a790(){const _0x3291db=_0x921875([0x6c,0x6c,0x63,0x74,0x2d])+_0x50ca79(_0x4db2d0(_0x4f43b1)),_0x5bfe3d=window[_0x921875([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x921875([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3291db);return _0x5bfe3d?window[_0x921875([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f05c3(_0x5bfe3d),0x10)*_0x5dad5f:null;}function _0x5b40f7(_0x31fc8b){return new window[(_0x921875([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e15c5,_0x4fba5b)=>{_0x31fc8b[_0x921875([0x74,0x68,0x65,0x6e])](_0x5e15c5,_0x4fba5b),window[_0x921875([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4fba5b,0xf477d8a^_0x18c343);});}}_0x8f7474[_0x921875([0x6f,0x6e])](_0x921875([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5bf289,_0x39613)=>{if(_0x39613[0x0]!=_0x4f43b1)return _0x50b3fc(_0x921875([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x39613[0x1]={..._0x39613[0x1],[_0x921875([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x27fc40};},{[_0x921875([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x921875([0x68,0x69,0x67,0x68])}),_0x8f7474[_0x921875([0x6f,0x6e])](_0x921875([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ac16e=>{_0x2235c6(_0x1ac16e[_0x921875([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3fb506=!0x0,_0x4c15c4(_0x1ac16e[_0x921875([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x921875([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x921875([0x6c,0x6f,0x77])}),_0x3ce515[_0x921875([0x74,0x68,0x65,0x6e])](()=>{_0x3fb506||_0x50b3fc(_0x921875([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x146476(){return _0x8f7474[_0x921875([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x921875([0x76,0x69,0x65,0x77])][_0x921875([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x921875([0x61,0x75,0x74,0x6f]);}function _0x107447(){_0x8f7474[_0x921875([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x921875([0x76,0x69,0x65,0x77])][_0x921875([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x921875([0x61,0x75,0x74,0x6f]);}}function _0x240011(_0x208b1c){const _0x32cf1d=[new window[(_0x921875([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xebafa2=>setTimeout(_0xebafa2,0xf4f9786^_0x18c343)),_0x3ce515[_0x921875([0x74,0x68,0x65,0x6e])](()=>new window[(_0x921875([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c3e06=>{let _0x430113=0x0;_0x8f7474[_0x921875([0x6d,0x6f,0x64,0x65,0x6c])][_0x921875([0x6f,0x6e])](_0x921875([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2688cc,_0x312011)=>{_0x312011[0x0][_0x921875([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x430113++,_0x430113==(0xf46aca2^_0x18c343)&&(_0x1c3e06(),_0x2688cc[_0x921875([0x6f,0x66,0x66])]());});}))];return window[_0x921875([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x921875([0x72,0x61,0x63,0x65])](_0x32cf1d)[_0x921875([0x74,0x68,0x65,0x6e])](()=>_0x208b1c);}async function _0x112e4f(){await _0x3ce515,_0x8f7474[_0x921875([0x6d,0x6f,0x64,0x65,0x6c])][_0x921875([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x361385,_0x8f7474[_0x921875([0x6d,0x6f,0x64,0x65,0x6c])][_0x921875([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x361385,_0x8f7474[_0x921875([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x921875([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x41d4b7(_0xf970ef){const _0x16c0ea=_0x2b3a30();_0x8f7474[_0x16c0ea]=_0x921875([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xf970ef,_0xf970ef!=_0x921875([0x56,0x61,0x6c,0x69,0x64])&&_0x112e4f();}function _0x2b3a30(){const _0x1b39f6=window[_0x921875([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x921875([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x921875([0x6e,0x6f,0x77])]())[_0x921875([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x921875([0x2e]),'');let _0x1a1ba4=_0x921875([0x75]);for(let _0x382fa7=0x0;_0x382fa7<_0x1b39f6[_0x921875([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x382fa7+=0x2){let _0x295b1d=window[_0x921875([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b39f6[_0x921875([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x382fa7,_0x382fa7+0x2));_0x295b1d>=_0x30c77e[_0x921875([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x295b1d-=_0x30c77e[_0x921875([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1a1ba4+=_0x30c77e[_0x295b1d];}return _0x1a1ba4;}function _0xaaa3fd(){const _0x2fcfd9=_0x15a53e[_0x921875([0x73,0x70,0x6c,0x69,0x74])](_0x921875([0x2e]));if(0x3!=_0x2fcfd9[_0x921875([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x817bc(_0x2fcfd9[0x1]);function _0x817bc(_0x329d7f){const _0x474f8e=_0xc1a78(_0x329d7f);return _0x474f8e&&_0x2b786e()?_0x474f8e:null;function _0x2b786e(){const _0x12968f=_0x474f8e[_0x921875([0x6a,0x74,0x69])],_0x524d56=window[_0x921875([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12968f[_0x921875([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x12968f[_0x921875([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xe01950={..._0x474f8e,[_0x921875([0x6a,0x74,0x69])]:_0x12968f[_0x921875([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x12968f[_0x921875([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xe01950[_0x921875([0x76,0x63])],_0x4db2d0(_0xe01950)==_0x524d56;}}}async function _0x328494(){let _0xc622db=!0x0;try{const _0x19923c=_0x15a53e[_0x921875([0x73,0x70,0x6c,0x69,0x74])](_0x921875([0x2e])),[_0xbca469,_0x1eab48,_0x187bd5]=_0x19923c;return _0x534a68(_0xbca469),await _0x3a8284(_0xbca469,_0x1eab48,_0x187bd5),_0xc622db;}catch{return!0x1;}function _0x534a68(_0x57c633){const _0x3e111e=_0xc1a78(_0x57c633);_0x3e111e&&_0x3e111e[_0x921875([0x61,0x6c,0x67])]==_0x921875([0x45,0x53,0x32,0x35,0x36])||(_0xc622db=!0x1);}async function _0x3a8284(_0x59cb86,_0x4fd20f,_0x222a04){const _0x402013=window[_0x921875([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x921875([0x66,0x72,0x6f,0x6d])](_0x57eebb(_0x222a04),_0x382b41=>_0x382b41[_0x921875([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x15a9ca=new window[(_0x921875([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x921875([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x59cb86+_0x921875([0x2e])+_0x4fd20f),_0x1ccdc2=window[_0x921875([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x921875([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1ccdc2)return;const _0xe6d805=await _0x1ccdc2[_0x921875([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x921875([0x6a,0x77,0x6b]),_0x1c5570,{[_0x921875([0x6e,0x61,0x6d,0x65])]:_0x921875([0x45,0x43,0x44,0x53,0x41]),[_0x921875([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x921875([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x921875([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1ccdc2[_0x921875([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x921875([0x6e,0x61,0x6d,0x65])]:_0x921875([0x45,0x43,0x44,0x53,0x41]),[_0x921875([0x68,0x61,0x73,0x68])]:{[_0x921875([0x6e,0x61,0x6d,0x65])]:_0x921875([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe6d805,_0x402013,_0x15a9ca)||(_0xc622db=!0x1);}}function _0xc1a78(_0x2d248b){return _0x2d248b[_0x921875([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x921875([0x65,0x79]))?JSON[_0x921875([0x70,0x61,0x72,0x73,0x65])](_0x57eebb(_0x2d248b)):null;}function _0x57eebb(_0x193674){return window[_0x921875([0x61,0x74,0x6f,0x62])](_0x193674[_0x921875([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x921875([0x2b]))[_0x921875([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x921875([0x2f])));}function _0x4db2d0(_0x71de9d){let _0xaca58b=0x1505;function _0x28f747(_0x21e8ef){for(let _0x44c17c=0x0;_0x44c17c<_0x21e8ef[_0x921875([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44c17c++){const _0x535f66=_0x21e8ef[_0x921875([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44c17c);_0xaca58b=(_0xaca58b<<0x5)+_0xaca58b+_0x535f66,_0xaca58b&=_0xaca58b;}}function _0x46a00(_0x2a5756){Array[_0x921875([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2a5756)?_0x2a5756[_0x921875([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x46a00):_0x2a5756&&typeof _0x2a5756==_0x921875([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x921875([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2a5756)[_0x921875([0x73,0x6f,0x72,0x74])]()[_0x921875([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4904db,_0x4585e0])=>{_0x28f747(_0x4904db),_0x46a00(_0x4585e0);}):_0x28f747(window[_0x921875([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2a5756));}return _0x46a00(_0x71de9d),_0xaca58b>>>0x0;}function _0x50ca79(_0x1b8d28){return _0x1b8d28[_0x921875([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x921875([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x921875([0x30]));}function _0x4f05c3(_0x47a55f){return _0x47a55f[_0x921875([0x73,0x70,0x6c,0x69,0x74])]('')[_0x921875([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x921875([0x6a,0x6f,0x69,0x6e])]('');}function _0x361385(){}function _0x921875(_0xe76e85){return _0xe76e85['map'](_0x147359=>String['fromCharCode'](_0x147359))['join']('');}_0x41d4b7(await _0x16d43c());}(this);}}function _0x4f36c0(_0x50ca85,_0x13db43,_0x1ba626){let _0x22cd2c=_0x13db43['listMarkers'][_0x50ca85%_0x13db43['listMarkers']['length']];if(void 0x0===_0x22cd2c['showMarkerPath']||_0x22cd2c['showMarkerPath'])return _0x1ba626['slice'](0x0,_0x50ca85+0x1)['map']((_0x413266,_0x42d6b3)=>(_0x22cd2c=_0x13db43['listMarkers'][_0x42d6b3%_0x13db43['listMarkers']['length']],_0x1a7845(_0x22cd2c['marker'],_0x413266)))['join']('');{const _0x11b78e=_0x1ba626[_0x1ba626['length']-0x1];return _0x1a7845(_0x22cd2c['marker'],_0x11b78e);}}function _0x1a7845(_0x289d6b,_0x1d3ae5){return'function'==typeof _0x289d6b?_0x289d6b(_0x1d3ae5):_0x289d6b;}function _0x33965b(_0x509da5,_0x18d0fe){return(_0x5729b4,_0x69dd50,_0x10587a)=>{const _0x5cc22f=_0x69dd50['viewItem'];if(_0x69dd50['modelRange']||Object['assign'](_0x69dd50,_0x10587a['convertChildren'](_0x69dd50['viewItem'],_0x69dd50['modelCursor'])),!_0x10587a['consumable']['test'](_0x5cc22f,{'classes':_0x509da5['className']}))return;const _0x1f7f71=Array['from'](_0x69dd50['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x2b31b9=>_0x18d0fe['checkAttribute'](_0x2b31b9,'listItemId'));if(!_0x1f7f71['length'])return;_0x10587a['consumable']['consume'](_0x5cc22f,{'classes':_0x509da5['className']}),_0x10587a['consumable']['consume'](_0x5cc22f,{'classes':'multi-level-list'}),_0x10587a['consumable']['consume'](_0x5cc22f,{'styles':'list-style-type'});const _0x58e9be=_0x1f7f71[0x0]['getAttribute']('listIndent');for(const _0x474a85 of _0x1f7f71)_0x474a85['getAttribute']('listIndent')==_0x58e9be&&(_0x10587a['writer']['setAttribute']('listType',_0x509da5['listType'],_0x474a85),_0x10587a['writer']['setAttribute']('listMarkerStyle',_0x509da5['listMarkerStyle'],_0x474a85));};}function _0xf2c4bb(_0x34ca6b,_0x223307){const _0x1dcbd0=_0x34ca6b['t'],t=_0x34ca6b['t'];switch(_0x223307){case'Start\x20at':return _0x1dcbd0('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x1dcbd0('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x1dcbd0('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x1dcbd0('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 _0x223307;}}class MultiLevelListView extends _0x5f37cd['View']{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x5f37cd['FocusTracker']();['keystrokes']=new _0x5f37cd['KeystrokeHandler']();['focusables']=new _0x5f37cd['ViewCollection']();['focusCycler'];constructor(_0x7f6ecc,{enabledProperties:_0x363eb2,styleButtonViews:_0x1a94b5,styleGridAriaLabel:_0x4d99f8}){super(_0x7f6ecc);const _0x2e9db3=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x5f37cd['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x363eb2['styles']?(this['stylesView']=this['_createStylesView'](_0x1a94b5,_0x4d99f8),this['children']['add'](this['stylesView'])):_0x2e9db3['push']('ck-multi-level-list-properties_without-styles'),_0x363eb2['startIndex']&&(this['_addListPropertyViews'](_0x363eb2),_0x2e9db3['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x2e9db3},'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 _0x34607c of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x34607c['element']);_0x5f37cd['addKeyboardHandlingForGrid']({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x5f37cd['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 _0x5e2b0c=_0x4fdabf=>_0x4fdabf['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5e2b0c),this['keystrokes']['set']('arrowleft',_0x5e2b0c),this['keystrokes']['set']('arrowup',_0x5e2b0c),this['keystrokes']['set']('arrowdown',_0x5e2b0c);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x1e8664,_0x4a59ee){const _0x4d2580=new _0x5f37cd['View'](this['locale']);return _0x4d2580['children']=_0x4d2580['createCollection'](),_0x4d2580['children']['addMany'](_0x1e8664),_0x4d2580['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4a59ee,'class':['ck','ck-multi-level-list-styles']},'children':_0x4d2580['children']}),_0x4d2580['children']['delegate']('execute')['to'](this),_0x4d2580['focus']=function(){this['children']['first']['focus']();},_0x4d2580['focusTracker']=new _0x5f37cd['FocusTracker'](),_0x4d2580['keystrokes']=new _0x5f37cd['KeystrokeHandler'](),_0x4d2580['render'](),_0x4d2580['keystrokes']['listenTo'](_0x4d2580['element']),_0x4d2580;}['_addListPropertyViews'](_0x12cb15){const _0x5ca410=[];_0x12cb15['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x5ca410['push'](this['startIndexFieldView'])),_0x12cb15['styles']?(this['additionalPropertiesCollapsibleView']=new _0x5f37cd['CollapsibleView'](this['locale'],_0x5ca410),this['additionalPropertiesCollapsibleView']['set']({'label':_0xf2c4bb(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x5ca410,'isEnabled',(..._0x402e22)=>_0x402e22['some'](_0x1c244b=>_0x1c244b)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x4f9024,_0x1ac292,_0x4c3c17)=>{_0x4c3c17||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x5ca410);}['_createStartIndexField'](){const _0x51c551=new _0x5f37cd['LabeledFieldView'](this['locale'],_0x5f37cd['createLabeledInputNumber']);return _0x51c551['set']({'label':_0xf2c4bb(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x51c551['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x51c551['fieldView']['on']('input',()=>{const _0x14c245=_0x51c551['fieldView']['element'],_0x4f0c2b=_0x14c245['valueAsNumber'];Number['isNaN'](_0x4f0c2b)?_0x51c551['errorText']=_0xf2c4bb(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x14c245['checkValidity']()?this['fire']('listStart',{'startIndex':_0x4f0c2b}):_0x51c551['errorText']=_0xf2c4bb(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x51c551;}}class MultiLevelListUI extends _0x5f37cd['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x55f35a=this['editor'];_0x55f35a['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x1fa7cf,parentCommandName:_0x40dd37,buttonLabel:_0x52a9af,buttonIcon:_0x3deb05,styleGridAriaLabel:_0x24580e,styleDefinitions:_0x8a6741}){const _0x48c140=_0x1fa7cf['commands']['get'](_0x40dd37),_0x4c2740=_0x1fa7cf['config']['get']('list.properties')||{},_0x44bc06=_0x1fa7cf['plugins']['has']('ListProperties'),_0x3e6a6a=_0x4c2740['startIndex'];if(!_0x44bc06||!_0x3e6a6a)return _0x33f98c=>{const _0x199bc3=new _0x5f37cd['ButtonView'](_0x33f98c);return _0x199bc3['set']({'label':_0x52a9af,'icon':_0x3deb05,'tooltip':!0x0,'isToggleable':!0x0}),_0x199bc3['bind']('isOn')['to'](_0x48c140,'value',_0x4daf2b=>!!_0x4daf2b),_0x199bc3['on']('execute',()=>{_0x1fa7cf['execute'](_0x40dd37),_0x1fa7cf['editing']['view']['focus']();}),_0x199bc3;};return _0x8ffbef=>{const _0x46ad42=_0x5f37cd['createDropdown'](_0x8ffbef,_0x5f37cd['SplitButtonView']),_0x319adb=_0x46ad42['buttonView'];return _0x46ad42['bind']('isEnabled')['to'](_0x48c140),_0x46ad42['class']='ck-list-styles-dropdown',_0x319adb['on']('execute',()=>{_0x1fa7cf['execute'](_0x40dd37),_0x1fa7cf['editing']['view']['focus']();}),_0x319adb['set']({'label':_0x52a9af,'icon':_0x3deb05,'tooltip':!0x0,'isToggleable':!0x0}),_0x319adb['bind']('isOn')['to'](_0x48c140,'value',_0x1431cc=>!!_0x1431cc),_0x46ad42['once']('change:isOpen',()=>{const _0x336d60=function({editor:_0x52e20d,dropdownView:_0x3bcc45,styleDefinitions:_0x42d897,styleGridAriaLabel:_0x5a81ac}){const _0x14a6d6=_0x52e20d['locale'],_0x42548b=_0x52e20d['config']['get']('list.properties'),_0x51b5eb=null;_0x42548b['reversed']=!0x1,_0x42d897['length']||(_0x42548b['styles']=!0x1);const _0x1a419b=new MultiLevelListView(_0x14a6d6,{'styleGridAriaLabel':_0x5a81ac,'enabledProperties':_0x42548b,'styleButtonViews':_0x51b5eb});if(_0x42548b['startIndex']){const _0x302c0a=_0x52e20d['commands']['get']('listStart');_0x1a419b['startIndexFieldView']['bind']('isEnabled')['to'](_0x302c0a),_0x1a419b['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x302c0a),_0x1a419b['on']('listStart',(_0x2ea91,_0x53877a)=>_0x52e20d['execute']('listStart',_0x53877a));}return _0x1a419b['delegate']('execute')['to'](_0x3bcc45),_0x1a419b;}({'editor':_0x1fa7cf,'dropdownView':_0x46ad42,'styleGridAriaLabel':_0x24580e,'styleDefinitions':_0x8a6741});_0x46ad42['panelView']['children']['add'](_0x336d60);}),_0x46ad42['on']('execute',()=>{_0x1fa7cf['editing']['view']['focus']();}),_0x46ad42;};}({'editor':_0x55f35a,'parentCommandName':'multiLevelList','buttonLabel':_0xf2c4bb(_0x55f35a['locale'],'Multi-level\x20List'),'buttonIcon':_0x5f37cd['IconMultiLevelList'],'styleGridAriaLabel':_0xf2c4bb(_0x55f35a['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x55f35a['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0xe9d0e0=_0x55f35a['commands']['get']('multiLevelList'),_0x19fe3d=new _0x5f37cd['MenuBarMenuListItemButtonView'](_0x55f35a['locale']);return _0x19fe3d['set']({'label':_0xf2c4bb(_0x55f35a['locale'],'Multi-level\x20List'),'icon':_0x5f37cd['IconMultiLevelList']}),_0x19fe3d['bind']('isEnabled')['to'](_0xe9d0e0),_0x19fe3d['bind']('isOn')['to'](_0xe9d0e0,'value',_0x4cd1fd=>!!_0x4cd1fd),_0x19fe3d['on']('execute',()=>{_0x55f35a['execute']('multiLevelList'),_0x55f35a['editing']['view']['focus']();}),_0x19fe3d;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2f6471=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x291f95;for(const _0x27876b in _0x2f6471){const _0x5e8b5f=_0x27876b,_0x59f0f2=_0x2f6471[_0x5e8b5f];if('multiLevelListLicenseKeyValid'==_0x59f0f2||'multiLevelListLicenseKeyInvalid'==_0x59f0f2||'multiLevelListLicenseKeyExpired'==_0x59f0f2||'multiLevelListLicenseKeyDomainLimit'==_0x59f0f2||'multiLevelListLicenseKeyNotAllowed'==_0x59f0f2||'multiLevelListLicenseKeyEvaluationLimit'==_0x59f0f2||'multiLevelListLicenseKeyUsageLimit'==_0x59f0f2){delete _0x2f6471[_0x5e8b5f],_0x291f95=_0x59f0f2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x291f95&&_0x2f6471['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x291f95&&_0x2f6471['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x291f95&&_0x2f6471['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x291f95&&_0x2f6471['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x291f95&&_0x2f6471['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x291f95&&_0x2f6471['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class MultiLevelList extends _0x5f37cd['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 _0x5f37cd['Command']{['refresh'](){const _0x4217c8=this['editor']['model'],_0x1f14cd=_0x4217c8['schema']['checkChild'](_0x4217c8['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x1f14cd;}['execute'](_0x515448){if(!_0x515448||'string'!=typeof _0x515448)return;const _0x309301=this['editor']['model'];_0x309301['change'](_0x4bd4cb=>{_0x309301['deleteContent'](_0x309301['document']['selection']);const _0x4c2718=_0x4bd4cb['createElement']('mergeField',{'id':_0x515448});for(const [_0x27ea6c,_0x43ece1]of _0x309301['document']['selection']['getAttributes']())_0x309301['schema']['checkAttribute'](_0x4c2718,_0x27ea6c)&&_0x4bd4cb['setAttribute'](_0x27ea6c,_0x43ece1,_0x4c2718);_0x309301['insertContent'](_0x4c2718,_0x309301['document']['selection'],0x0,{'setSelection':'after'});});}}class InsertMergeFieldBlockCommand extends _0x5f37cd['Command']{['refresh'](){const _0x17f284=this['editor']['model'],_0x27b0fb=_0x17f284['document']['selection'];this['isEnabled']=function(_0x26503b,_0x22cdf8){const _0x20941b=_0x5f37cd['findOptimalInsertionRange'](_0x26503b,_0x22cdf8);let _0x411e9e=_0x20941b['start']['parent'];return _0x411e9e['isEmpty']&&!_0x22cdf8['schema']['isLimit'](_0x411e9e)&&(_0x411e9e=_0x411e9e['parent']),_0x22cdf8['schema']['checkChild'](_0x411e9e,'mergeFieldBlock');}(_0x27b0fb,_0x17f284);}['execute'](_0x142225,_0x489254){if(!_0x142225||'string'!=typeof _0x142225)return;const _0xe6d7e9=this['editor']['model'];_0xe6d7e9['change'](_0x2c7ec4=>{const _0x1129a8=_0x2c7ec4['createElement']('mergeFieldBlock',{'id':_0x142225});_0xe6d7e9['insertObject'](_0x1129a8,_0xe6d7e9['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x489254?void 0x0:'auto'});});}}class InsertMergeFieldImageCommand extends _0x5f37cd['Command']{constructor(_0x5719eb){super(_0x5719eb),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}['execute'](_0x196328,_0xdacc7d){if(!_0x196328||'string'!=typeof _0x196328)return;const _0x25cbbb=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x3ef901=_0x25cbbb['getMergeFieldWidth'](_0x196328),_0x5e560c=_0x25cbbb['getMergeFieldHeight'](_0x196328);this['editor']['execute']('insertImage',{'source':{'src':_0x25cbbb['wrapInAffixes'](_0x196328),'width':_0x3ef901,'height':_0x5e560c},'breakBlock':_0xdacc7d&&_0xdacc7d['breakBlock']});}}class _0x49424d extends _0x5f37cd['Command']{constructor(_0x1a8d4c){super(_0x1a8d4c);const _0x1b7169=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x1b7169,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x260a53){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x260a53;}}const _0x550647=/^[a-zA-Z0-9_.-]+$/;class MergeFieldsEditing extends _0x5f37cd['Plugin']{['availablePreviewModes'];['flattenedMergeFieldDefinitions']=[];['_mergeFieldElements'];['_mergeFieldPrefix'];['_mergeFieldSuffix'];['_mergeFieldRegExp'];['_shouldPreviewHtmlValues'];static get['requires'](){return[_0x5f37cd['ImageUtils'],_0x5f37cd['ImageEditing']];}static get['pluginName'](){return'MergeFieldsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x590959){super(_0x590959),_0x590959['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0x590959['config']['define']('mergeFields.dataSets',[]),_0x590959['config']['define']('mergeFields.definitions',[]),_0x590959['config']['define']('mergeFields.prefix','{{'),_0x590959['config']['define']('mergeFields.suffix','}}'),_0x590959['config']['define']('mergeFields.previewHtmlValues',!0x1),_0x590959['config']['define']('mergeFields.sanitizeHtml',_0x32ae6e=>(_0x5f37cd['logWarning']('merge-fields-provide-sanitize-function'),{'html':_0x32ae6e,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0x590959['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0x590959['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0x590959['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0x582c57='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0x4151ab='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0x582c57+'[^'+(_0x582c57+_0x4151ab)+'\x20]+'+_0x4151ab+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0x39a934=_0x590959['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0x39a934),this['set']('previewMode',_0x39a934),this['_mergeFieldElements']=new Set();}['init'](){const _0x59cb4e=this['editor'];_0x59cb4e['commands']['add']('insertMergeField',new InsertMergeFieldCommand(_0x59cb4e)),_0x59cb4e['commands']['add']('insertMergeFieldBlock',new InsertMergeFieldBlockCommand(_0x59cb4e)),_0x59cb4e['commands']['add']('insertMergeFieldImage',new InsertMergeFieldImageCommand(_0x59cb4e)),_0x59cb4e['commands']['add']('previewMergeFields',new _0x49424d(_0x59cb4e)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x27f7d,_0x5145fc,_0xbc5a2f)=>{this['_validatePreviewMode'](_0xbc5a2f),this['refreshMergeFields']();}),this['listenTo'](_0x59cb4e['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0x59cb4e['editing']['mapper']['on']('viewToModelPosition',_0x5f37cd['viewToModelPositionOutsideModelElement'](_0x59cb4e['model'],_0x119bc4=>_0x119bc4['hasClass']('ck-merge-field'))),_0x59cb4e['editing']['mapper']['on']('viewToModelPosition',_0x5f37cd['viewToModelPositionOutsideModelElement'](_0x59cb4e['model'],_0x2e9641=>_0x2e9641['hasClass']('ck-merge-field-block'))),_0x59cb4e['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}['afterInit'](){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),async function(_0x54fb83){const _0x556731=_0x2a5fe1([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]),_0x49118f=0x6bd72268,_0x3e5c12=0x6bd0a9b8^_0x49118f,_0x57ac46=window[_0x2a5fe1([0x44,0x61,0x74,0x65])][_0x2a5fe1([0x6e,0x6f,0x77])](),_0x24ee8c=_0x54fb83[_0x2a5fe1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x209499=new window[(_0x2a5fe1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47a595=>{_0x24ee8c[_0x2a5fe1([0x6f,0x6e,0x63,0x65])](_0x2a5fe1([0x72,0x65,0x61,0x64,0x79]),_0x47a595);}),_0x57d33b={[_0x2a5fe1([0x6b,0x74,0x79])]:_0x2a5fe1([0x45,0x43]),[_0x2a5fe1([0x75,0x73,0x65])]:_0x2a5fe1([0x73,0x69,0x67]),[_0x2a5fe1([0x63,0x72,0x76])]:_0x2a5fe1([0x50,0x2d,0x32,0x35,0x36]),[_0x2a5fe1([0x78])]:_0x2a5fe1([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]),[_0x2a5fe1([0x79])]:_0x2a5fe1([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]),[_0x2a5fe1([0x61,0x6c,0x67])]:_0x2a5fe1([0x45,0x53,0x32,0x35,0x36])},_0x5af24b=_0x24ee8c[_0x2a5fe1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2a5fe1([0x67,0x65,0x74])](_0x2a5fe1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x8a8238(){let _0x1cc14b,_0x24f9cd=null,_0x5f0f9c=null;try{if(_0x5af24b==_0x2a5fe1([0x47,0x50,0x4c]))return _0x2a5fe1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1cc14b=_0x54274e(),!_0x1cc14b)return _0x2a5fe1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1cc14b[_0x2a5fe1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5f0f9c=_0x4f87ad(_0x1cc14b[_0x2a5fe1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1cc14b[_0x2a5fe1([0x6a,0x74,0x69])])),await _0xd74d97()?_0x290fd0()?_0xd9e047()?_0x2a5fe1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4aa089()?(_0x1cc14b[_0x2a5fe1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2a5fe1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x24f9cd=_0x13db5a(_0x2a5fe1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x43c206()):_0x2a5fe1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2a5fe1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2a5fe1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2a5fe1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xd9e047(){const _0x279468=[_0x2a5fe1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2a5fe1([0x74,0x72,0x69,0x61,0x6c])][_0x2a5fe1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cc14b[_0x2a5fe1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x57ac46/0x3e8:0xe10*_0x3e5c12;return _0x1cc14b[_0x2a5fe1([0x65,0x78,0x70])]<_0x279468;}function _0x290fd0(){const _0x1e4689=_0x1cc14b[_0x2a5fe1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1e4689&&(!!_0x1e4689[_0x2a5fe1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a5fe1([0x2a]))||!!_0x1e4689[_0x2a5fe1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a5fe1([0x4d,0x46])));}function _0x4aa089(){const _0x3751d1=_0x1cc14b[_0x2a5fe1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3751d1||0x0==_0x3751d1[_0x2a5fe1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x592ae7}=new URL(window[_0x2a5fe1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3751d1[_0x2a5fe1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x592ae7))return!0x0;const _0x59405e=_0x592ae7[_0x2a5fe1([0x73,0x70,0x6c,0x69,0x74])](_0x2a5fe1([0x2e]));return _0x3751d1[_0x2a5fe1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9ac003=>_0x9ac003[_0x2a5fe1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a5fe1([0x2a])))[_0x2a5fe1([0x6d,0x61,0x70])](_0xce3f02=>_0xce3f02[_0x2a5fe1([0x73,0x70,0x6c,0x69,0x74])](_0x2a5fe1([0x2e])))[_0x2a5fe1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38df37=>_0x38df37[_0x2a5fe1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x59405e[_0x2a5fe1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a5fe1([0x6d,0x61,0x70])](_0x2ac155=>Array(_0x59405e[_0x2a5fe1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2ac155[_0x2a5fe1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2a5fe1([0x66,0x69,0x6c,0x6c])](_0x2ac155[0x0]===_0x2a5fe1([0x2a])?_0x2a5fe1([0x2a]):'')[_0x2a5fe1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2ac155))[_0x2a5fe1([0x73,0x6f,0x6d,0x65])](_0x147e4e=>_0x59405e[_0x2a5fe1([0x65,0x76,0x65,0x72,0x79])]((_0x8bff2f,_0x3f9312)=>_0x147e4e[_0x3f9312]===_0x8bff2f||_0x147e4e[_0x3f9312]===_0x2a5fe1([0x2a])));}function _0x43c206(){return _0x24f9cd&&_0x5f0f9c?new window[(_0x2a5fe1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4fbc4c,_0x52483d)=>{_0x24f9cd[_0x2a5fe1([0x74,0x68,0x65,0x6e])](_0x4fbc4c,_0x52483d),_0x5f0f9c[_0x2a5fe1([0x74,0x68,0x65,0x6e])](_0x3826c4=>{_0x3826c4!=_0x2a5fe1([0x56,0x61,0x6c,0x69,0x64])&&_0x4fbc4c(_0x3826c4);},_0x52483d);}):_0x24f9cd||_0x5f0f9c||_0x2a5fe1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4f87ad(_0xae32a2,_0x1cf01f){return new window[(_0x2a5fe1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4fbb3e=>{if(_0x34fb30())return _0x4fbb3e(_0x2a5fe1([0x56,0x61,0x6c,0x69,0x64]));_0x1e8801(),_0x24ee8c[_0x2a5fe1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2a5fe1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x569fcf=!0x1;const _0x2b1ae8=_0x5f37cd['uid']();function _0x23b9c8(_0x22ebb7){return!!_0x22ebb7&&(typeof _0x22ebb7===_0x2a5fe1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x22ebb7===_0x2a5fe1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x22ebb7[_0x2a5fe1([0x74,0x68,0x65,0x6e])]===_0x2a5fe1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x22ebb7[_0x2a5fe1([0x63,0x61,0x74,0x63,0x68])]===_0x2a5fe1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x30c6eb(_0x41e3d3){_0xd05d35(_0x41e3d3)[_0x2a5fe1([0x74,0x68,0x65,0x6e])](_0x517417=>{if(!_0x517417||_0x517417[_0x2a5fe1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2a5fe1([0x6f,0x6b]))return _0x2a5fe1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2cd0a4(_0x6ad339(_0x2b1ae8+_0x1cf01f))!=_0x517417[_0x2a5fe1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2a5fe1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2a5fe1([0x56,0x61,0x6c,0x69,0x64]);})[_0x2a5fe1([0x74,0x68,0x65,0x6e])](_0x293d9b=>(_0x341d7d(),_0x293d9b),()=>{const _0x20e7f9=_0x21bef1();return null==_0x20e7f9?(_0x341d7d(),_0x2a5fe1([0x56,0x61,0x6c,0x69,0x64])):_0x2a5fe1(_0x57ac46-_0x20e7f9>(0x4fdba668^_0x49118f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2a5fe1([0x74,0x68,0x65,0x6e])](_0x4fbb3e)[_0x2a5fe1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4fbb3e(_0x2a5fe1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x51c7ea=0x6be1cce8^_0x49118f;function _0x341d7d(){const _0x5971b6=_0x2a5fe1([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cd0a4(_0x6ad339(_0xae32a2)),_0x3151e0=_0x558124(_0x2cd0a4(window[_0x2a5fe1([0x4d,0x61,0x74,0x68])][_0x2a5fe1([0x63,0x65,0x69,0x6c])](_0x57ac46/_0x51c7ea)));window[_0x2a5fe1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a5fe1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5971b6,_0x3151e0);}function _0x21bef1(){const _0x23703e=_0x2a5fe1([0x6c,0x6c,0x63,0x74,0x2d])+_0x2cd0a4(_0x6ad339(_0xae32a2)),_0x32ba40=window[_0x2a5fe1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2a5fe1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23703e);return _0x32ba40?window[_0x2a5fe1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x558124(_0x32ba40),0x10)*_0x51c7ea:null;}function _0xd05d35(_0x1b163b){return new window[(_0x2a5fe1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x136449,_0x42f9f2)=>{_0x1b163b[_0x2a5fe1([0x74,0x68,0x65,0x6e])](_0x136449,_0x42f9f2),window[_0x2a5fe1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x42f9f2,0x6bd6f6a8^_0x49118f);});}}_0x24ee8c[_0x2a5fe1([0x6f,0x6e])](_0x2a5fe1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x96782c,_0x27ee9e)=>{if(_0x27ee9e[0x0]!=_0xae32a2)return _0x4fbb3e(_0x2a5fe1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x27ee9e[0x1]={..._0x27ee9e[0x1],[_0x2a5fe1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2b1ae8};},{[_0x2a5fe1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a5fe1([0x68,0x69,0x67,0x68])}),_0x24ee8c[_0x2a5fe1([0x6f,0x6e])](_0x2a5fe1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x148658=>{_0x23b9c8(_0x148658[_0x2a5fe1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x569fcf=!0x0,_0x30c6eb(_0x148658[_0x2a5fe1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2a5fe1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2a5fe1([0x6c,0x6f,0x77])}),_0x209499[_0x2a5fe1([0x74,0x68,0x65,0x6e])](()=>{_0x569fcf||_0x4fbb3e(_0x2a5fe1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x34fb30(){return _0x24ee8c[_0x2a5fe1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a5fe1([0x76,0x69,0x65,0x77])][_0x2a5fe1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2a5fe1([0x61,0x75,0x74,0x6f]);}function _0x1e8801(){_0x24ee8c[_0x2a5fe1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2a5fe1([0x76,0x69,0x65,0x77])][_0x2a5fe1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2a5fe1([0x61,0x75,0x74,0x6f]);}}function _0x13db5a(_0x53c70e){const _0x340b6c=[new window[(_0x2a5fe1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ce33b=>setTimeout(_0x2ce33b,0x6bde1ca4^_0x49118f)),_0x209499[_0x2a5fe1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2a5fe1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21e184=>{let _0x5a3279=0x0;_0x24ee8c[_0x2a5fe1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a5fe1([0x6f,0x6e])](_0x2a5fe1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x25b332,_0x2fa7ff)=>{_0x2fa7ff[0x0][_0x2a5fe1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5a3279++,_0x5a3279==(0x6bd72780^_0x49118f)&&(_0x21e184(),_0x25b332[_0x2a5fe1([0x6f,0x66,0x66])]());});}))];return window[_0x2a5fe1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2a5fe1([0x72,0x61,0x63,0x65])](_0x340b6c)[_0x2a5fe1([0x74,0x68,0x65,0x6e])](()=>_0x53c70e);}async function _0x3787e8(){await _0x209499,_0x24ee8c[_0x2a5fe1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a5fe1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x46c284,_0x24ee8c[_0x2a5fe1([0x6d,0x6f,0x64,0x65,0x6c])][_0x2a5fe1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x46c284,_0x24ee8c[_0x2a5fe1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2a5fe1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ab252(_0x31b01e){const _0x2444a7=_0x166bf6();_0x24ee8c[_0x2444a7]=_0x2a5fe1([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x31b01e,_0x31b01e!=_0x2a5fe1([0x56,0x61,0x6c,0x69,0x64])&&_0x3787e8();}function _0x166bf6(){const _0x3c52b8=window[_0x2a5fe1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2a5fe1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2a5fe1([0x6e,0x6f,0x77])]())[_0x2a5fe1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2a5fe1([0x2e]),'');let _0x47fa58=_0x2a5fe1([0x63]);for(let _0x4f9c08=0x0;_0x4f9c08<_0x3c52b8[_0x2a5fe1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f9c08+=0x2){let _0x419350=window[_0x2a5fe1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c52b8[_0x2a5fe1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f9c08,_0x4f9c08+0x2));_0x419350>=_0x556731[_0x2a5fe1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x419350-=_0x556731[_0x2a5fe1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x47fa58+=_0x556731[_0x419350];}return _0x47fa58;}function _0x54274e(){const _0xb12669=_0x5af24b[_0x2a5fe1([0x73,0x70,0x6c,0x69,0x74])](_0x2a5fe1([0x2e]));if(0x3!=_0xb12669[_0x2a5fe1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ccbd2(_0xb12669[0x1]);function _0x1ccbd2(_0x3434f4){const _0x1fbf21=_0x1bb30b(_0x3434f4);return _0x1fbf21&&_0x133579()?_0x1fbf21:null;function _0x133579(){const _0x28b3a5=_0x1fbf21[_0x2a5fe1([0x6a,0x74,0x69])],_0xbfd2e4=window[_0x2a5fe1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28b3a5[_0x2a5fe1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28b3a5[_0x2a5fe1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x511075={..._0x1fbf21,[_0x2a5fe1([0x6a,0x74,0x69])]:_0x28b3a5[_0x2a5fe1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x28b3a5[_0x2a5fe1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x511075[_0x2a5fe1([0x76,0x63])],_0x6ad339(_0x511075)==_0xbfd2e4;}}}async function _0xd74d97(){let _0x38f12b=!0x0;try{const _0x4a4101=_0x5af24b[_0x2a5fe1([0x73,0x70,0x6c,0x69,0x74])](_0x2a5fe1([0x2e])),[_0x2c60e5,_0x88a97b,_0x4a9e55]=_0x4a4101;return _0xd707b0(_0x2c60e5),await _0x1829aa(_0x2c60e5,_0x88a97b,_0x4a9e55),_0x38f12b;}catch{return!0x1;}function _0xd707b0(_0xe6727e){const _0x3102ff=_0x1bb30b(_0xe6727e);_0x3102ff&&_0x3102ff[_0x2a5fe1([0x61,0x6c,0x67])]==_0x2a5fe1([0x45,0x53,0x32,0x35,0x36])||(_0x38f12b=!0x1);}async function _0x1829aa(_0x1c991c,_0x236bd4,_0x20af83){const _0x332a5b=window[_0x2a5fe1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2a5fe1([0x66,0x72,0x6f,0x6d])](_0x454ceb(_0x20af83),_0x203ee6=>_0x203ee6[_0x2a5fe1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x148fe6=new window[(_0x2a5fe1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2a5fe1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1c991c+_0x2a5fe1([0x2e])+_0x236bd4),_0x1e706d=window[_0x2a5fe1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2a5fe1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1e706d)return;const _0x4efb04=await _0x1e706d[_0x2a5fe1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2a5fe1([0x6a,0x77,0x6b]),_0x57d33b,{[_0x2a5fe1([0x6e,0x61,0x6d,0x65])]:_0x2a5fe1([0x45,0x43,0x44,0x53,0x41]),[_0x2a5fe1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2a5fe1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2a5fe1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1e706d[_0x2a5fe1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2a5fe1([0x6e,0x61,0x6d,0x65])]:_0x2a5fe1([0x45,0x43,0x44,0x53,0x41]),[_0x2a5fe1([0x68,0x61,0x73,0x68])]:{[_0x2a5fe1([0x6e,0x61,0x6d,0x65])]:_0x2a5fe1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4efb04,_0x332a5b,_0x148fe6)||(_0x38f12b=!0x1);}}function _0x1bb30b(_0x560df7){return _0x560df7[_0x2a5fe1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2a5fe1([0x65,0x79]))?JSON[_0x2a5fe1([0x70,0x61,0x72,0x73,0x65])](_0x454ceb(_0x560df7)):null;}function _0x454ceb(_0x1c0aa9){return window[_0x2a5fe1([0x61,0x74,0x6f,0x62])](_0x1c0aa9[_0x2a5fe1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2a5fe1([0x2b]))[_0x2a5fe1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2a5fe1([0x2f])));}function _0x6ad339(_0x134e25){let _0x55d67c=0x1505;function _0x124576(_0x32fc90){for(let _0x9a1047=0x0;_0x9a1047<_0x32fc90[_0x2a5fe1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9a1047++){const _0x28450d=_0x32fc90[_0x2a5fe1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x9a1047);_0x55d67c=(_0x55d67c<<0x5)+_0x55d67c+_0x28450d,_0x55d67c&=_0x55d67c;}}function _0x27b777(_0x98677b){Array[_0x2a5fe1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x98677b)?_0x98677b[_0x2a5fe1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x27b777):_0x98677b&&typeof _0x98677b==_0x2a5fe1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2a5fe1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x98677b)[_0x2a5fe1([0x73,0x6f,0x72,0x74])]()[_0x2a5fe1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x386ce4,_0x2d452d])=>{_0x124576(_0x386ce4),_0x27b777(_0x2d452d);}):_0x124576(window[_0x2a5fe1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x98677b));}return _0x27b777(_0x134e25),_0x55d67c>>>0x0;}function _0x2cd0a4(_0x477a75){return _0x477a75[_0x2a5fe1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2a5fe1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2a5fe1([0x30]));}function _0x558124(_0x43cb75){return _0x43cb75[_0x2a5fe1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2a5fe1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2a5fe1([0x6a,0x6f,0x69,0x6e])]('');}function _0x46c284(){}function _0x2a5fe1(_0x401cb3){return _0x401cb3['map'](_0x127b44=>String['fromCharCode'](_0x127b44))['join']('');}_0x3ab252(await _0x8a8238());}(this);}['isMergeField'](_0x57850){return'mergeField'===_0x57850['name']||'mergeFieldBlock'===_0x57850['name']||!!('imageBlock'===_0x57850['name']||'imageInline'===_0x57850['name']&&_0x57850['getAttribute']('src'))&&!!_0x57850['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}['getDefaultValues'](){const _0x1b2bbc={},_0x3f1ac3=this['getMergeFieldsIds']();for(const _0x50b7ff of _0x3f1ac3)_0x1b2bbc[_0x50b7ff]=this['getMergeFieldDefaultValue'](_0x50b7ff);return _0x1b2bbc;}['getDataSetValues'](_0x39cbd3,_0xf45566=!0x1){const _0x4703d5={},_0x107efd=this['getMergeFieldsIds']();for(const _0x365b11 of _0x107efd){let _0x206a92=this['getMergeFieldValue'](_0x365b11,_0x39cbd3);null===_0x206a92&&_0xf45566&&(_0x206a92=this['getMergeFieldDefaultValue'](_0x365b11)),_0x4703d5[_0x365b11]=_0x206a92;}return _0x4703d5;}['getLabel'](_0x538c3e){const _0x3622bd=this['getDefinition'](_0x538c3e);return _0x3622bd&&_0x3622bd['label']?_0x3622bd['label']:null;}['getMergeFieldDefaultValue'](_0x13a0d4){const _0x41ac5c=this['getDefinition'](_0x13a0d4);if(!_0x41ac5c||void 0x0===_0x41ac5c['defaultValue'])return null;const _0x2d9961='function'==typeof _0x41ac5c['defaultValue']?_0x41ac5c['defaultValue'](this['editor']):_0x41ac5c['defaultValue'];return String(_0x2d9961);}['getMergeFieldValue'](_0x2e2bd2,_0x36df8d){const _0x4fe64a=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0x3d349a=>_0x3d349a['id']===_0x36df8d);if(!_0x4fe64a)throw new _0x5f37cd['CKEditorError']('merge-fields-data-set-not-found',null);const _0x86837e=_0x4fe64a['values'][_0x2e2bd2];if(void 0x0===_0x86837e)return null;const _0x556a44='function'==typeof _0x86837e?_0x86837e(this['editor']):_0x86837e;return String(_0x556a44);}['getMergeFieldType'](_0xdae431){if('string'!=typeof _0xdae431){const _0x3b8f15=_0xdae431;return'mergeField'===_0x3b8f15['name']?'text':'mergeFieldBlock'===_0x3b8f15['name']?'block':'imageBlock'!==_0x3b8f15['name']&&'imageInline'!==_0x3b8f15['name']||!_0x3b8f15['getAttribute']('src')?null:_0x3b8f15['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0x4c2b6d=this['getDefinition'](_0xdae431);return _0x4c2b6d&&_0x4c2b6d['type']?_0x4c2b6d['type']:'text';}['getMergeFieldHeight'](_0x5dc9d0){const _0x49fcdf=this['getDefinition'](_0x5dc9d0);return _0x49fcdf&&'block'===_0x49fcdf['type']?_0x49fcdf['height']||0x78:_0x49fcdf&&'image'===_0x49fcdf['type']?_0x49fcdf['height']||0x190:null;}['getMergeFieldWidth'](_0x4ef38b){const _0x5a9f40=this['getDefinition'](_0x4ef38b);return _0x5a9f40&&'image'===_0x5a9f40['type']?_0x5a9f40['width']||0x190:null;}['getDocumentMergeFieldsIds'](){const _0x2701d5=new Set();for(const _0x3e9c49 of this['_mergeFieldElements'])'$graveyard'!==_0x3e9c49['root']['rootName']&&('image'===this['getMergeFieldType'](_0x3e9c49)?_0x2701d5['add'](this['unwrapAffixes'](_0x3e9c49['getAttribute']('src'))):_0x2701d5['add'](_0x3e9c49['getAttribute']('id')));return Array['from'](_0x2701d5);}['getMergeFieldsIds'](){const _0x724855=this['flattenedMergeFieldDefinitions']['map'](_0x556766=>_0x556766['id']),_0x596eea=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0x724855,..._0x596eea]));}['getDefinition'](_0x5252c3){return this['flattenedMergeFieldDefinitions']['find'](_0x1ad124=>_0x1ad124['id']===_0x5252c3)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x561137=>{'$graveyard'!==_0x561137['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x561137);});}['wrapInAffixes'](_0x116edf){return this['_mergeFieldPrefix']+_0x116edf+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x49a4b0){return _0x49a4b0['slice'](this['_mergeFieldPrefix']['length'],_0x49a4b0['length']-this['_mergeFieldSuffix']['length']);}['_getFlattenedMergeFieldDefinitions'](){const _0x5a9757=new Set(),_0x2ccd16=this['editor'];return _0x2ccd16['config']['get']('mergeFields.definitions')['reduce']((_0x46633b,_0xaca5c1)=>{if('groupId'in _0xaca5c1){if(_0x5a9757['has'](_0xaca5c1['groupId']))throw new _0x5f37cd['CKEditorError']('merge-fields-duplicate-group-id',_0x2ccd16,{'duplicateId':_0xaca5c1['groupId']});_0x5a9757['add'](_0xaca5c1['groupId']);}return'groupId'in _0xaca5c1?function(_0x2cc9b8,_0x125726){for(const _0x37850d of _0x125726['definitions'])_0x2cc9b8=_0x2cc9b8['concat'](_0x37850d);return _0x2cc9b8;}['bind'](_0x2ccd16)(_0x46633b,_0xaca5c1):_0x46633b['concat'](_0xaca5c1);},new Array());}['_validateConfig'](){const _0x4fafcb=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x4fafcb['test'](this['_mergeFieldPrefix'])||!_0x4fafcb['test'](this['_mergeFieldSuffix']))throw new _0x5f37cd['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 _0x5f37cd['CKEditorError']('merge-fields-prefix-or-suffix-too-long',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix'],'limit':0x8});const _0x4b7cc2=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0x217976=>{if(!_0x550647['test'](_0x217976['id']))throw new _0x5f37cd['CKEditorError']('merge-fields-invalid-id',this,{'incorrectId':_0x217976['id']});if(_0x4b7cc2['has'](_0x217976['id']))throw new _0x5f37cd['CKEditorError']('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0x217976['id']});_0x4b7cc2['add'](_0x217976['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new _0x5f37cd['CKEditorError']('merge-fields-prefix-and-suffix-must-differ',this);const _0x50195e=this['editor']['config']['get']('mergeFields.previewModes'),_0x4e1bb1=['$labels','$defaultValues','$dataSets'];if(!_0x50195e['length']||!_0x50195e['every'](_0x46a326=>_0x4e1bb1['includes'](_0x46a326)))throw new _0x5f37cd['CKEditorError']('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0x50195e});const _0x5df697=new Set(),_0xfb6172=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x49e943 of _0xfb6172){if(_0x5df697['has'](_0x49e943['id']))throw new _0x5f37cd['CKEditorError']('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x49e943['id']});_0x5df697['add'](_0x49e943['id']);}}['_getAvailablePreviewModes'](){const _0x50ea52=this['editor']['config']['get']('mergeFields.previewModes'),_0x3a61e7=[];if(_0x50ea52['includes']('$labels')&&_0x3a61e7['push']('$labels'),_0x50ea52['includes']('$defaultValues')&&_0x3a61e7['push']('$defaultValues'),_0x50ea52['includes']('$dataSets')){const _0x57f522=this['editor']['config']['get']('mergeFields.dataSets');_0x3a61e7['push'](..._0x57f522['map'](_0x18f399=>_0x18f399['id']));}return _0x3a61e7;}['_defineSchema'](){const _0x64d024=this['editor']['model']['schema'];_0x64d024['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0x64d024['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}['_defineConverters'](){const _0x1efe92=this['editor']['conversion'];_0x1efe92['for']('upcast')['add'](_0x51ca89=>{_0x51ca89['on']('text',(_0x5f5542,_0x1ed69c,_0x495206)=>{const {writer:_0x4aef10,safeInsert:_0x1a09ea}=_0x495206,{viewItem:_0x525958}=_0x1ed69c,_0x2280bf=_0x525958['data']['split'](this['_mergeFieldRegExp'])['filter'](_0x49a4dd=>_0x49a4dd);if(0x1===_0x2280bf['length']&&!_0x2280bf[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0x1ed69c['modelRange'])return;const _0x34647e=_0x4aef10['createElement']('$cursor');_0x4aef10['insert'](_0x34647e,_0x1ed69c['modelCursor']);const _0x3f6b6a=[];for(const _0x51b0da of _0x1ed69c['modelRange']['getItems']()){if(!_0x51b0da['is']('$textProxy'))continue;const _0x39b01b=_0x51b0da['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0x1def51=_0x51b0da['parent'],_0x7c7bc9=_0x51b0da['textNode']['startOffset'];for(const _0x27f1c7 of[..._0x39b01b]['reverse']()){const _0x17cd67=_0x27f1c7[0x0],_0x24db95=_0x4aef10['createPositionAt'](_0x1def51,_0x27f1c7['index']+_0x7c7bc9),_0x51870d=_0x24db95['getShiftedBy'](_0x17cd67['length']),_0x2c2d07=_0x4aef10['createRange'](_0x24db95,_0x51870d),_0x15fe99=this['unwrapAffixes'](_0x17cd67),_0x21e21d=this['getMergeFieldType'](_0x15fe99),_0x55c6a8='block'==_0x21e21d?'mergeFieldBlock':'mergeField',_0xb9210e=_0x4aef10['createElement'](_0x55c6a8,{'id':_0x15fe99});_0x4aef10['remove'](_0x2c2d07),_0x4aef10['insert'](_0xb9210e,_0x24db95),'block'==_0x21e21d&&_0x3f6b6a['push'](_0xb9210e);}}_0x3f6b6a['reverse']();for(const _0x5b9c56 of _0x3f6b6a){const _0x270f8a=_0x4aef10['createPositionBefore'](_0x5b9c56),_0x1cbb1d=_0x5b9c56['nextSibling']==_0x34647e;_0x4aef10['remove'](_0x5b9c56),_0x1a09ea(_0x5b9c56,_0x270f8a)&&_0x1cbb1d&&_0x4aef10['move'](_0x4aef10['createRangeOn'](_0x34647e),_0x4aef10['createPositionAfter'](_0x5b9c56));}_0x1ed69c['modelCursor']=_0x4aef10['createPositionBefore'](_0x34647e),_0x1ed69c['modelRange']=_0x4aef10['createRange'](_0x1ed69c['modelRange']['start'],_0x1ed69c['modelCursor']),_0x4aef10['remove'](_0x34647e);},{'priority':_0x5f37cd['priorities']['get']('lowest')-0x1});}),_0x1efe92['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0x52f4bc,{writer:_0xbfc907})=>_0xbfc907['createElement']('mergeField',{'id':_0x52f4bc['getAttribute']('data-ck-merge-field')})}),_0x1efe92['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x3fdb44,{writer:_0x3bfc51})=>_0x3bfc51['createElement']('mergeFieldBlock',{'id':_0x3fdb44['getAttribute']('data-ck-merge-field')})}),_0x1efe92['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0x1efe92['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x47da13,{writer:_0x86d0f1})=>this['_createMergeFieldWidget'](_0x47da13,_0x86d0f1,'text')}),_0x1efe92['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0x1092a0,{writer:_0x1bdcea,options:_0x52c357})=>this['_createTextualMergeField'](_0x1092a0,_0x1bdcea,_0x52c357)}),_0x1efe92['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x4bcc63,{writer:_0x4dde3e})=>this['_createMergeFieldWidget'](_0x4bcc63,_0x4dde3e,'block')}),_0x1efe92['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x4c9bf7,{writer:_0x5d5ede,options:_0x1d2538})=>this['_createTextualMergeField'](_0x4c9bf7,_0x5d5ede,_0x1d2538)}),_0x1efe92['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0x1efe92['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}['_upcastSrcAttributeFromClipboard'](){return _0x464808=>{_0x464808['on']('element:img',(_0x81d9f,_0x544c74,_0x1e417a)=>{_0x1e417a['consumable']['test'](_0x544c74['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0x1e417a['writer']['setAttribute']('src',this['wrapInAffixes'](_0x544c74['viewItem']['getAttribute']('data-ck-merge-field')),_0x544c74['modelCursor']['nodeBefore']),_0x1e417a['consumable']['consume'](_0x544c74['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}['_downcastSrcAttributeToData'](_0x43883e){const _0x44306e=this['editor']['plugins']['get'](_0x5f37cd['ImageUtils']),_0x3b87f5=(_0x34a3a9,_0x2394cf,_0x2a52d0)=>{if(!0x1!==_0x2a52d0['consumable']['test'](_0x2394cf['item'],_0x34a3a9['name']))return;if(!String(_0x2394cf['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x577964=_0x2a52d0['writer'],_0x42f18a=_0x2a52d0['mapper']['toViewElement'](_0x2394cf['item']),_0x356a0b=_0x44306e['findViewImgElement'](_0x42f18a),_0x323a72=String(_0x2394cf['attributeNewValue']),_0x1a0045=this['unwrapAffixes'](_0x323a72),_0x40fcf=_0x2a52d0['options']['mergeFieldsData'];if(_0x2a52d0['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x3cdf54;return _0x3cdf54='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x1a0045)||this['getLabel'](_0x1a0045)||this['wrapInAffixes'](_0x1a0045):this['getMergeFieldValue'](_0x1a0045,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x1a0045)||this['getLabel'](_0x1a0045)||this['wrapInAffixes'](_0x1a0045),_0x577964['setAttribute']('data-ck-merge-field',_0x1a0045,_0x356a0b),void _0x577964['setAttribute'](_0x2394cf['attributeKey'],_0x3cdf54,_0x356a0b);}const _0x2dc101=_0x40fcf&&_0x40fcf[_0x1a0045]?_0x40fcf[_0x1a0045]:_0x323a72;_0x577964['setAttribute'](_0x2394cf['attributeKey'],_0x2dc101,_0x356a0b);};return _0x56b279=>{_0x56b279['on']('attribute:src:'+_0x43883e,_0x3b87f5,{'priority':'low'});};}['_downcastSrcAttributeToEditing'](_0x373962){const _0x4ac79c=this['editor']['plugins']['get'](_0x5f37cd['ImageUtils']),_0x4bc7a7=(_0x16ed09,_0x3009a9,_0xa9260c)=>{if(!0x1!==_0xa9260c['consumable']['test'](_0x3009a9['item'],_0x16ed09['name']))return;if(!String(_0x3009a9['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x637768=_0xa9260c['writer'],_0x49d88e=_0xa9260c['mapper']['toViewElement'](_0x3009a9['item']),_0x4f6f06=_0x4ac79c['findViewImgElement'](_0x49d88e),_0x18e03c=String(_0x3009a9['attributeNewValue']),_0x297e03=this['unwrapAffixes'](_0x18e03c),_0x253b54=this['getMergeFieldDefaultValue'](_0x297e03),_0x1ca0c0='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x480bfd,_0x26c4ad='',_0x51bec6='';if('$labels'===this['previewMode'])_0x480bfd=_0x1ca0c0;else{if('$defaultValues'===this['previewMode'])_0x253b54?(_0x480bfd=_0x253b54,_0x51bec6='\x20ck-merge-field-image_with-value'):(_0x480bfd=_0x1ca0c0,_0x26c4ad='WARNING_MISSING_DEFAULT_VALUE',_0x51bec6='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x30cbfa=this['getMergeFieldValue'](_0x297e03,this['previewMode']);_0x30cbfa?(_0x480bfd=_0x30cbfa,_0x51bec6='\x20ck-merge-field-image_with-value'):_0x253b54?(_0x480bfd=_0x253b54,_0x51bec6='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0x26c4ad='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x480bfd=_0x1ca0c0,_0x51bec6='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0x26c4ad='WARNING_MISSING_DATA');}}if(_0x637768['addClass']('ck-merge-field-image'+_0x51bec6,_0x49d88e),_0x637768['setAttribute'](_0x3009a9['attributeKey'],_0x480bfd,_0x4f6f06),'$labels'===this['previewMode']){const _0x42c93d='imageInline'===_0x373962?'span':'div',_0x5f0700=this['_mergeFieldPrefix'],_0x45d7ab=this['_mergeFieldSuffix'],_0x247d6c=_0x637768['createContainerElement'](_0x42c93d,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0x637768['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x2f8973){const _0x1c88bd=this['toDomElement'](_0x2f8973);return _0x1c88bd['innerHTML']=_0x5f0700,_0x1c88bd;}),_0x637768['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x637768['createText'](this['getLabel'](_0x297e03)||_0x297e03)),_0x637768['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x46bb2b){const _0x26d5f2=this['toDomElement'](_0x46bb2b);return _0x26d5f2['innerHTML']=_0x45d7ab,_0x26d5f2;})]);_0x637768['insert'](_0x637768['createPositionAt'](_0x49d88e,'end'),_0x247d6c),_0x637768['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x297e03)||_0x297e03,_0x247d6c);}else{if(_0x26c4ad&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x26c4ad)){const _0x225af1='imageInline'===_0x373962?'span':'div',_0x2f1712=_0x51bec6['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x2a0e7c=_0x637768['createContainerElement'](_0x225af1,{'class':'ck-merge-field'+_0x2f1712,'data-cke-tooltip-instant':'true'},[_0x637768['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x637768['createText'](this['getLabel'](_0x297e03)||_0x297e03))]),_0x4279b2=_0x637768['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x53ec5b){const _0x4525af=this['toDomElement'](_0x53ec5b),_0x5e68ee=new _0x5f37cd['IconView']();return _0x5e68ee['set']({'content':_0x5f37cd['IconWarning']}),_0x5e68ee['render'](),_0x4525af['appendChild'](_0x5e68ee['element']),_0x4525af;});_0x637768['insert'](_0x637768['createPositionAt'](_0x2a0e7c,'end'),_0x4279b2),_0x637768['insert'](_0x637768['createPositionAt'](_0x49d88e,'end'),_0x2a0e7c),_0x637768['setCustomProperty']('mergeFieldStatus',_0x26c4ad,_0x2a0e7c),_0x637768['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x297e03)||_0x297e03,_0x2a0e7c);}}_0x637768['setAttribute']('data-merge-field-name',_0x297e03,_0x49d88e),_0x26c4ad&&_0x637768['setCustomProperty']('mergeFieldStatus',_0x26c4ad,_0x49d88e);};return _0x23b964=>{_0x23b964['on']('attribute:src:'+_0x373962,_0x4bc7a7,{'priority':'low'});};}['_setupTooltipsTogglingForImageMergeField'](_0x7f3736,_0x55b4f0){if(!_0x55b4f0['target'])return null;const _0x328b5f=_0x55b4f0['target']['parentElement'];return _0x328b5f&&_0x328b5f['classList']['contains']('ck-merge-field-image')?new _0x5f37cd['ResizeObserver'](_0x328b5f,_0xb4d755=>{const _0x2060a4=_0xb4d755['target'],_0x4b2057=_0x2060a4['querySelector']('.ck-merge-field'),_0x395cd0=_0x2060a4['querySelector']('.ck-merge-field__content');_0x4b2057&&_0x395cd0&&(_0x395cd0['scrollWidth']>_0x395cd0['getBoundingClientRect']()['width']?_0x4b2057['removeAttribute']('data-cke-tooltip-disabled'):_0x4b2057['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}['_createMergeFieldWidget'](_0x43b417,_0x185d0c,_0x5a28e7){const {label:_0x42e6f0,classes:_0x315038,status:_0x3dc567,height:_0x57fe97}=this['_prepareViewElementData'](_0x43b417),_0x5b3aa0=this['_mergeFieldPrefix'],_0x62fd0c=this['_mergeFieldSuffix'],_0x5a1d84=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x55c884='text'===_0x5a28e7?'span':'div';let _0x40b88c;if('$labels'===this['previewMode'])_0x40b88c=_0x185d0c['createContainerElement'](_0x55c884,{'class':_0x315038},[_0x185d0c['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x4a2a54){const _0x4cf5d4=this['toDomElement'](_0x4a2a54);return _0x4cf5d4['innerHTML']=_0x5b3aa0,_0x4cf5d4;}),_0x185d0c['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x185d0c['createText'](String(_0x42e6f0))),_0x185d0c['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x33a5af){const _0x1d8f84=this['toDomElement'](_0x33a5af);return _0x1d8f84['innerHTML']=_0x62fd0c,_0x1d8f84;})]);else{if(_0x3dc567){const _0x369f21=this['_shouldPreviewHtmlValues']?_0x185d0c['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0x4923dd,_0x27ed96){_0x27ed96['setContentOf'](_0x4923dd,_0x5a1d84(_0x42e6f0)['html']);}):_0x185d0c['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x185d0c['createText'](_0x42e6f0));if(_0x40b88c=_0x185d0c['createContainerElement'](_0x55c884,{'class':_0x315038},[_0x369f21]),'text'===_0x5a28e7||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x3dc567)){const _0x1f5fec=_0x185d0c['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x54876b){const _0x21c851=this['toDomElement'](_0x54876b),_0x34ab0b=new _0x5f37cd['IconView']();return _0x34ab0b['set']({'content':_0x5f37cd['IconWarning']}),_0x34ab0b['render'](),_0x21c851['appendChild'](_0x34ab0b['element']),_0x21c851;});_0x185d0c['insert'](_0x185d0c['createPositionAt'](_0x40b88c,'end'),_0x1f5fec);}_0x185d0c['setCustomProperty']('mergeFieldStatus',_0x3dc567,_0x40b88c);}else{const _0x121491=this['_shouldPreviewHtmlValues']?_0x185d0c['createRawElement'](_0x55c884,{},function(_0x2767ba,_0x636763){_0x636763['setContentOf'](_0x2767ba,_0x5a1d84(_0x42e6f0)['html']);}):_0x185d0c['createText'](_0x42e6f0);_0x40b88c=_0x185d0c['createContainerElement'](_0x55c884,{'class':_0x315038},_0x121491);}}if('block'===_0x5a28e7){const _0x400323=_0x185d0c['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0x40b88c]);if(('$labels'===this['previewMode']||_0x3dc567&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x3dc567))&&_0x185d0c['setAttribute']('style','height:\x20'+_0x57fe97+'px',_0x400323),_0x40b88c['hasClass']('ck-merge-field_with-value'))_0x185d0c['addClass']('ck-merge-field-block_with-value',_0x400323);else{if(_0x40b88c['hasClass']('ck-merge-field_with-warning')){for(const _0x407ac7 of _0x40b88c['getClassNames']())if('ck-merge-field'!==_0x407ac7){const _0x56f9c7=_0x407ac7['replace']('ck-merge-field','ck-merge-field-block');_0x185d0c['addClass'](_0x56f9c7,_0x400323);}_0x185d0c['setCustomProperty']('mergeFieldStatus',_0x3dc567,_0x400323);}}return _0x185d0c['setCustomProperty']('mergeFieldBlock',!0x0,_0x400323),_0x185d0c['setAttribute']('data-merge-field-name',_0x43b417['getAttribute']('id'),_0x400323),_0x5f37cd['toWidget'](_0x400323,_0x185d0c,{'hasSelectionHandle':!0x0});}return _0x185d0c['setCustomProperty']('mergeField',!0x0,_0x40b88c),_0x185d0c['setAttribute']('data-merge-field-name',_0x43b417['getAttribute']('id'),_0x40b88c),_0x5f37cd['toWidget'](_0x40b88c,_0x185d0c);}['_prepareViewElementData'](_0x332852){const _0x2c70c1=_0x332852['getAttribute']('id'),_0xad8628=this['getDefinition'](_0x2c70c1);if(!_0xad8628)return'$labels'===this['previewMode']?{'label':_0x2c70c1,'classes':'ck-merge-field'}:{'label':_0x2c70c1,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0x4aa581=this['getLabel'](_0x2c70c1)||_0x2c70c1,_0x2999ee=this['getMergeFieldDefaultValue'](_0x2c70c1),_0x225179=this['getMergeFieldHeight'](_0x2c70c1);if('$labels'===this['previewMode'])return{'label':_0x4aa581,'height':_0x225179,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x2999ee?{'label':_0x2999ee,'height':_0x225179,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0x4aa581,'height':_0x225179,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0x538ddb=this['getMergeFieldValue'](_0xad8628['id'],this['previewMode']);return _0x538ddb?{'label':_0x538ddb,'height':_0x225179,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x2999ee?{'label':_0x2999ee,'height':_0x225179,'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':_0x4aa581,'height':_0x225179,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}['_createTextualMergeField'](_0x5c034e,_0xda06cc,_0x584b8d){const _0x29299d=_0x5c034e['getAttribute']('id');let _0x168e22;if(_0x584b8d['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x29299d,_0xda06cc);const _0xa786d0=_0x584b8d['mergeFieldsData'],_0x93370c=_0xa786d0&&_0xa786d0[_0x29299d]?_0xa786d0[_0x29299d]:this['wrapInAffixes'](_0x29299d);if(_0xa786d0)_0x168e22=_0xda06cc['createRawElement']('span',{},function(_0x22bd56,_0xcab93e){_0xcab93e['setContentOf'](_0x22bd56,String(_0x93370c));});else{_0x168e22=_0xda06cc['createContainerElement']('span');const _0xecc124=_0xda06cc['createText'](_0x93370c);_0xda06cc['insert'](_0xda06cc['createPositionAt'](_0x168e22,'end'),_0xecc124);}return _0xda06cc['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x168e22),_0x168e22;}['_downcastForClipboard'](_0x333a96,_0x3292eb){const _0x10c595='block'===this['getMergeFieldType'](_0x333a96)?'div':'span';let _0xb6ac34,_0x20bcb5;_0xb6ac34='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x333a96)||this['getLabel'](_0x333a96)||this['wrapInAffixes'](_0x333a96):this['getMergeFieldValue'](_0x333a96,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x333a96)||this['getLabel'](_0x333a96)||this['wrapInAffixes'](_0x333a96);const _0x74a227=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0x20bcb5=this['_shouldPreviewHtmlValues']?_0x3292eb['createRawElement'](_0x10c595,{'data-ck-merge-field':_0x333a96},function(_0xbee509,_0x330bfa){_0x330bfa['setContentOf'](_0xbee509,_0x74a227(_0xb6ac34)['html']);}):_0x3292eb['createContainerElement'](_0x10c595,{'data-ck-merge-field':_0x333a96},_0x3292eb['createText'](_0xb6ac34)),_0x20bcb5;}['_validatePreviewMode'](_0x389f69){if(!this['availablePreviewModes']['includes'](_0x389f69))throw new _0x5f37cd['CKEditorError']('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0x389f69});}['_trackAddedMergeFields'](){for(const _0x2f6f41 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x2f6f41['type']||'$text'===_0x2f6f41['name'])continue;if('mergeField'===_0x2f6f41['name']||'mergeFieldBlock'===_0x2f6f41['name']){this['_mergeFieldElements']['add'](_0x2f6f41['position']['nodeAfter']);continue;}if('imageInline'===_0x2f6f41['name']||'imageBlock'===_0x2f6f41['name']&&_0x2f6f41['attributes']['get']('src')&&String(_0x2f6f41['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0x2f6f41['position']['nodeAfter']);continue;}const _0x21249f=this['editor']['model']['createRangeIn'](_0x2f6f41['position']['nodeAfter']);for(const _0x3b8da6 of _0x21249f['getItems']())_0x3b8da6['is']('element')&&this['isMergeField'](_0x3b8da6)&&this['_mergeFieldElements']['add'](_0x3b8da6);}}['_registerConversionPostFixer'](){const _0xaef61d=this['editor'];_0xaef61d['model']['document']['registerPostFixer'](_0x411dac=>{if(!_0x411dac['batch']['isLocal'])return!0x1;const _0x4fb5b1=[],_0xd2cd4c=new Set(),_0x44ced3=this['_mergeFieldRegExp'];let _0x43eb92=!0x1;for(const _0x13d763 of _0xaef61d['model']['document']['differ']['getChanges']())if('insert'===_0x13d763['type']||'remove'===_0x13d763['type']){let _0x50b956='$text'==_0x13d763['name']?_0x13d763['position']['parent']:_0x13d763['position']['nodeAfter'];if(!_0x50b956)continue;_0x50b956['is']('$text')&&(_0x50b956=_0x50b956['parent']),_0x95143f(_0x50b956);}for(const _0x293224 of _0x4fb5b1['reverse']()){const {match:_0x59ad4d,item:_0xd1c36a}=_0x293224,_0x512740=_0x411dac['createPositionAt'](_0xd1c36a,_0x59ad4d['index']),_0x3aa7f2=_0x512740['getShiftedBy'](_0x59ad4d[0x0]['length']),_0x1e3837=_0x411dac['createRange'](_0x512740,_0x3aa7f2),_0x1d7553=_0x59ad4d[0x0],_0x78f4c9=this['unwrapAffixes'](_0x1d7553),_0x1d685e=_0x546665(_0x1e3837),_0x23902b=this['getMergeFieldType'](_0x78f4c9);if(_0x550647['test'](_0x78f4c9)){if(_0x1d685e['set']('id',_0x78f4c9),'block'===_0x23902b){const _0x300e49=_0x411dac['createElement']('mergeFieldBlock',{'id':_0x78f4c9});_0x411dac['remove'](_0x1e3837),_0xaef61d['model']['insertObject'](_0x300e49,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0x23902b){const _0x1d5645=_0x411dac['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0x78f4c9)});_0x411dac['remove'](_0x1e3837),_0xaef61d['model']['insertObject'](_0x1d5645,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x28c94a=_0x411dac['createElement']('mergeField',_0x1d685e);_0xaef61d['model']['schema']['checkChild'](_0x1e3837['start'],'mergeField')?_0xaef61d['model']['insertObject'](_0x28c94a,_0x1e3837):_0x411dac['remove'](_0x1e3837);}}_0x43eb92=!0x0;}}return _0x43eb92;function _0x95143f(_0x56930e){let _0x5e2273='',_0x196a28=0x0;if(!_0xd2cd4c['has'](_0x56930e))for(const _0x3e0213 of _0x56930e['getChildren']()){const _0x593a01=_0x3e0213['nextSibling'];if(_0x3e0213['is']('$text')&&(''===_0x5e2273&&_0x3e0213['startOffset']&&(_0x196a28=_0x3e0213['startOffset']),_0x5e2273+=_0x3e0213['data']),!_0x593a01||_0x593a01['is']('element')){for(const _0x243ce3 of _0x5e2273['matchAll'](_0x44ced3))_0x243ce3['index']=_0x243ce3['index']+_0x196a28,_0x4fb5b1['push']({'match':_0x243ce3,'item':_0x56930e});_0xd2cd4c['add'](_0x56930e),_0x5e2273='';}_0x3e0213['is']('element')&&_0x95143f(_0x3e0213);}}function _0x546665(_0x196ed3){const _0x167edb=_0x196ed3['getItems'](),_0x2ae26b=_0x167edb['next']()['value'],_0x2c35c4=new Map(_0x2ae26b['getAttributes']());for(const _0x1b0ed8 of _0x167edb)for(const [_0x3ff160,_0xd600f]of _0x2c35c4)_0x1b0ed8['getAttribute'](_0x3ff160)!==_0xd600f&&_0x2c35c4['delete'](_0x3ff160);return _0x2c35c4;}});}['_disableCommandOnMergeFields'](_0x594fb6){const _0x693229=this['editor'],_0x3ff391=_0x693229['commands']['get'](_0x594fb6);_0x3ff391&&_0x3ff391['on']('set:isEnabled',(_0x572ecd,_0x5c57b1,_0x4627ab)=>{if(0x1==_0x4627ab){const _0x4bc8ae=_0x693229['model']['document']['selection']['getSelectedElement']();_0x4bc8ae&&this['isMergeField'](_0x4bc8ae)&&(_0x572ecd['return']=!0x1,_0x572ecd['stop']());}});}}class MergeFieldsListView extends _0x5f37cd['ListView']{['filter'](_0x250856){return _0x5f37cd['filterGroupAndItemNames'](_0x250856,this['items']);}}class _0x2ba56e extends _0x5f37cd['View']{constructor(_0x2753c4){super(_0x2753c4),this['set']('text','');const _0xb11733=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':_0xb11733['to']('text')}]}]});}}function _0x1f7435(_0x23cc2b,_0x44391a){const t=_0x23cc2b['t'];switch(_0x44391a){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 _0x44391a;}}class _0x366e63 extends _0x5f37cd['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_balloon'];['_balloonPanelView']=null;static get['requires'](){return[_0x5f37cd['Mention'],MergeFieldsEditing,_0x5f37cd['ContextualBalloon'],_0x5f37cd['Widget']];}static get['pluginName'](){return'MergeFieldsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4444aa){super(_0x4444aa),this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}['init'](){const _0x4266cf=this['editor'];_0x4266cf['ui']['componentFactory']['add']('insertMergeField',_0xca319b=>{const _0x27c488=function(_0x26588b){const _0x40badf=_0x5f37cd['createDropdown'](_0x26588b);return _0x40badf['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x40badf['buttonView']['set']({'label':_0x1f7435(_0x26588b,'Insert\x20merge\x20field'),'icon':_0x5f37cd['IconInsertMergeField'],'tooltip':!0x0}),_0x40badf;}(_0xca319b);return _0x27c488['bind']('isEnabled')['toMany']([_0x4266cf['commands']['get']('insertMergeField'),_0x4266cf['commands']['get']('insertMergeFieldBlock'),_0x4266cf['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0x244430)=>_0x244430['some'](_0x49010d=>_0x49010d)),_0x27c488['once']('change:isOpen',()=>{const _0x4d7bdc={'insertInline':_0x4266cf['commands']['get']('insertMergeField'),'insertBlock':_0x4266cf['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x4266cf['commands']['get']('insertMergeFieldImage')},_0x109b0a=function(_0xd39efe,_0x23069b,_0x4affb5){const _0x49a18f=new MergeFieldsListView(_0xd39efe),_0x4a8dfa=[],_0x1c4e1a=[];for(const _0x214605 of _0x23069b)if('groupId'in _0x214605){const _0x37bb59=_0x4adc82(_0xd39efe,_0x214605['groupLabel']||_0x214605['groupId'],_0x214605['definitions'],_0x4affb5);_0x37bb59['delegate']('execute')['to'](_0x49a18f),_0x1c4e1a['push'](_0x37bb59);}else _0x4a8dfa['push'](_0x214605);if(_0x4a8dfa['length']){const _0x29d47d=_0x4adc82(_0xd39efe,'Other',_0x4a8dfa,_0x4affb5);_0x29d47d['delegate']('execute')['to'](_0x49a18f),_0x1c4e1a['push'](_0x29d47d);}return _0x49a18f['items']['addMany'](_0x1c4e1a),_0x49a18f;}(_0xca319b,_0x4266cf['config']['get']('mergeFields.definitions'),_0x4d7bdc);_0x109b0a['delegate']('execute')['to'](_0x27c488),_0x27c488['on']('execute',(_0xae72ec,_0x4dd897)=>{const _0x5c6bcf=_0x4266cf['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x4dd897);'image'===_0x5c6bcf?_0x4266cf['execute']('insertMergeFieldImage',_0x4dd897):'block'===_0x5c6bcf?_0x4266cf['execute']('insertMergeFieldBlock',_0x4dd897):_0x4266cf['execute']('insertMergeField',_0x4dd897),_0x4266cf['editing']['view']['focus']();});const _0x38100e=function(_0x15564a,_0x2bb239){return new _0x5f37cd['SearchTextView'](_0x15564a,{'filteredView':_0x2bb239,'queryView':{'label':_0x1f7435(_0x15564a,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':_0x1f7435(_0x15564a,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':_0x1f7435(_0x15564a,'No\x20merge\x20fields\x20available')}}}});}(_0xca319b,_0x109b0a);_0x27c488['panelView']['children']['add'](_0x38100e),_0x27c488['on']('change:isOpen',(_0xd1f398,_0x594430,_0x11c4b7)=>{_0x11c4b7&&_0x38100e['reset']();});}),_0x27c488;}),_0x4266cf['ui']['componentFactory']['add']('menuBar:insertMergeField',_0x4187ae=>{const _0x601c70=new _0x5f37cd['MenuBarMenuView'](_0x4187ae),_0x331c35={'insertInline':_0x4266cf['commands']['get']('insertMergeField'),'insertBlock':_0x4266cf['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x4266cf['commands']['get']('insertMergeFieldImage')};_0x601c70['buttonView']['set']({'label':_0x1f7435(_0x4187ae,'Merge\x20field'),'icon':_0x5f37cd['IconInsertMergeField']}),_0x601c70['bind']('isEnabled')['toMany']([...Object['values'](_0x331c35)],'isEnabled',(..._0x46a1ce)=>_0x46a1ce['some'](_0x513f3b=>_0x513f3b));const _0x54fbd6=[],_0x1fa9b9=new _0x5f37cd['MenuBarMenuListView'](_0x4187ae);for(const _0x360102 of _0x4266cf['config']['get']('mergeFields.definitions'))if('groupId'in _0x360102){const _0x534741=new _0x5f37cd['MenuBarMenuListItemView'](_0x4187ae,_0x601c70),_0x1c0ef4=_0x5992f4(_0x4187ae,_0x360102,_0x331c35);_0x534741['children']['add'](_0x1c0ef4),_0x1c0ef4['delegate']('execute')['to'](_0x601c70),_0x1fa9b9['items']['add'](_0x534741);}else _0x54fbd6['push'](_0x360102);if(_0x54fbd6['length']){if(0x0===_0x1fa9b9['items']['length'])for(const _0x4d80bb of _0x54fbd6){let _0x214846;_0x214846='block'===_0x4d80bb['type']?_0x331c35['insertBlock']:'image'===_0x4d80bb['type']?_0x331c35['insertImage']:_0x331c35['insertInline'];const _0x28e3b4=_0x196515(_0x4187ae,_0x4d80bb,_0x601c70,_0x214846);_0x1fa9b9['items']['add'](_0x28e3b4);}else{const _0x1b2eb4=new _0x5f37cd['MenuBarMenuListItemView'](_0x4187ae,_0x601c70),_0x3d5ad7=_0x5992f4(_0x4187ae,{'groupId':'Other','definitions':_0x54fbd6},_0x331c35);_0x1b2eb4['children']['add'](_0x3d5ad7),_0x3d5ad7['delegate']('execute')['to'](_0x601c70),_0x1fa9b9['items']['add'](_0x1b2eb4);}}return _0x601c70['panelView']['children']['add'](_0x1fa9b9),_0x601c70['on']('execute',(_0x40c77b,_0xca1b98)=>{const _0x529416=_0x4266cf['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0xca1b98);'image'===_0x529416?_0x4266cf['execute']('insertMergeFieldImage',_0xca1b98):'block'===_0x529416?_0x4266cf['execute']('insertMergeFieldBlock',_0xca1b98):_0x4266cf['execute']('insertMergeField',_0xca1b98),_0x4266cf['editing']['view']['focus']();}),_0x601c70;});const _0x153ca1=_0x4266cf['config']['get']('mergeFields.previewModes'),_0xce3549=[];if(_0x153ca1['includes']('$labels')&&_0xce3549['push']({'type':'button','model':new _0x5f37cd['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x1f7435(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x153ca1['includes']('$defaultValues')&&_0xce3549['push']({'type':'button','model':new _0x5f37cd['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x1f7435(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x153ca1['includes']('$dataSets')){const _0x5d2b9f=_0x4266cf['config']['get']('mergeFields.dataSets');if(_0x5d2b9f['length']){for(const _0xb001d4 of _0x5d2b9f)_0xce3549['push']({'type':'button','model':new _0x5f37cd['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0xb001d4['label']||_0xb001d4['id'],'commandValue':_0xb001d4['id']})});}}_0x4266cf['ui']['componentFactory']['add']('previewMergeFields',_0x197af2=>{const _0x2bf029=_0x4266cf['commands']['get']('previewMergeFields'),_0x31ac16=new _0x5f37cd['Collection']();for(const _0x4a464c of _0x30292a(_0xce3549))_0x4a464c['model']['bind']('isOn')['to'](_0x2bf029,'value',_0x5c9ac5=>_0x5c9ac5===_0x4a464c['model']['commandValue']),_0x31ac16['add'](_0x4a464c);const _0x31b24a=_0x5f37cd['createDropdown'](_0x197af2),_0x198bbc=_0x1f7435(_0x197af2,'Merge\x20fields\x20preview');return _0x31b24a['bind']('isEnabled')['to'](_0x2bf029),_0x5f37cd['addListToDropdown'](_0x31b24a,_0x31ac16,{'ariaLabel':_0x198bbc,'role':'menu'}),_0x31b24a['set']({'class':'ck-merge-fields-preview-dropdown'}),_0x31b24a['buttonView']['set']({'label':_0x198bbc,'ariaLabel':_0x198bbc,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':_0x5f37cd['IconPreviewMergeFields'],'tooltip':!0x0}),this['listenTo'](_0x31b24a,'execute',_0x23b915=>{const {commandValue:_0x429b88}=_0x23b915['source'];_0x4266cf['execute']('previewMergeFields',_0x429b88),_0x4266cf['editing']['view']['focus']();}),_0x31b24a;}),_0x4266cf['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x8def58=>{const _0x115bdb=new _0x5f37cd['MenuBarMenuView'](_0x8def58),_0x1e9d40=_0x4266cf['commands']['get']('previewMergeFields');_0x115bdb['buttonView']['set']({'label':_0x1f7435(_0x8def58,'Merge\x20fields\x20preview'),'icon':_0x5f37cd['IconPreviewMergeFields']}),_0x115bdb['bind']('isEnabled')['to'](_0x1e9d40);const _0x1be815=new _0x5f37cd['MenuBarMenuListView'](_0x8def58);_0x1be815['set']({'ariaLabel':_0x1f7435(_0x8def58,'Merge\x20fields\x20preview')});for(const _0x2a8f4e of _0x30292a(_0xce3549)){const _0x48c798=new _0x5f37cd['MenuBarMenuListItemView'](_0x8def58,_0x115bdb),_0xb8ac1=new _0x5f37cd['MenuBarMenuListItemButtonView'](_0x8def58);_0x2a8f4e['model']['bind']('isOn')['to'](_0x1e9d40,'value',_0x368bad=>_0x368bad===_0x2a8f4e['model']['commandValue']),_0xb8ac1['isToggleable']=!0x0,_0xb8ac1['bind'](...Object['keys'](_0x2a8f4e['model']))['to'](_0x2a8f4e['model']),_0xb8ac1['delegate']('execute')['to'](_0x115bdb),_0xb8ac1['on']('execute',_0x42e399=>{const {commandValue:_0x123c28}=_0x42e399['source'];_0x4266cf['execute']('previewMergeFields',_0x123c28),_0x4266cf['editing']['view']['focus']();}),_0x48c798['children']['add'](_0xb8ac1),_0x1be815['items']['add'](_0x48c798);}return _0x115bdb['panelView']['children']['add'](_0x1be815),_0x115bdb;}),this['_balloon']=_0x4266cf['plugins']['get'](_0x5f37cd['ContextualBalloon']),this['listenTo'](_0x4266cf['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0x4266cf['ui']['focusTracker'],'change:isFocused',(_0x2cd271,_0x48ca1f,_0x12dfc3)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0x12dfc3?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x719622=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x545537;for(const _0x2d1355 in _0x719622){const _0x583b39=_0x2d1355,_0x54152f=_0x719622[_0x583b39];if('mergeFieldsLicenseKeyValid'==_0x54152f||'mergeFieldsLicenseKeyInvalid'==_0x54152f||'mergeFieldsLicenseKeyExpired'==_0x54152f||'mergeFieldsLicenseKeyDomainLimit'==_0x54152f||'mergeFieldsLicenseKeyNotAllowed'==_0x54152f||'mergeFieldsLicenseKeyEvaluationLimit'==_0x54152f||'mergeFieldsLicenseKeyUsageLimit'==_0x54152f){delete _0x719622[_0x583b39],_0x545537=_0x54152f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0x545537&&_0x719622['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0x545537&&_0x719622['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0x545537&&_0x719622['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0x545537&&_0x719622['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0x545537&&_0x719622['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0x545537&&_0x719622['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_updateBalloonVisibility'](){const _0x2b0ffe=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0x4afede=!(!_0x2b0ffe||!_0x2b0ffe['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0x4afede){const _0x538d53=_0x2b0ffe['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=_0x1f7435(this['editor']['locale'],_0x538d53),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0x4afede){const _0x5a9f23=_0x2b0ffe['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](_0x1f7435(this['editor']['locale'],_0x5a9f23));}}}['_showBalloon'](_0x22ad55){this['_balloonPanelView']||(this['_balloonPanelView']=new _0x2ba56e(this['editor']['locale']),this['_balloonPanelView']['text']=_0x22ad55),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}['_getBalloonPositionData'](){const _0x31385f=this['editor']['editing']['view'];return{'target':()=>{const _0x5aefdb=_0x31385f['document']['selection']['getFirstRange'](),_0x57646e=_0x31385f['domConverter']['mapViewToDom'](_0x5aefdb['getContainedElement']());return _0x57646e?Array['from'](_0x57646e['getClientRects']())[0x0]:_0x31385f['domConverter']['viewRangeToDom'](_0x5aefdb);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}['_removeDefaultValuesPreviewIfUnnecessary'](){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0x63b70b=>_0x63b70b))return;const _0x5a654e=this['editor']['config']['get']('mergeFields.previewModes');_0x5a654e['indexOf']('$defaultValues')>-0x1&&_0x5a654e['length']>0x1&&(_0x5a654e['splice'](_0x5a654e['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0x5a654e));}['_removeMenuBarButtonIfUnnecessary'](){const _0xcadb7d=this['editor']['config'];if(_0xcadb7d['get']('mergeFields.previewModes')){const _0xe9829c=_0xcadb7d['get']('mergeFields.previewModes');if(0x1===_0xe9829c['length']){if(_0xe9829c['includes']('$dataSets'))0x1===_0xcadb7d['get']('mergeFields.dataSets')['length']&&_0x1c4a1f();else _0x1c4a1f();}}function _0x1c4a1f(){const _0x241dac=_0xcadb7d['get']('menuBar.removeItems');_0x241dac?(_0x241dac['push']('menuBar:previewMergeFields'),_0xcadb7d['set']('menuBar.removeItems',_0x241dac)):_0xcadb7d['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}['_setupMentionConfiguration'](){const _0x1590a1=this['editor'],_0x4602b1=_0x1590a1['config']['get']('mention.feeds'),_0x4a92db=_0x1590a1['config']['get']('mergeFields.prefix');_0x4602b1['push']({'marker':_0x4a92db,'dropdownLimit':0xa,'feed':_0x531a91=>_0x1590a1['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x47976d=>{const _0xa680c8=_0x1590a1['commands']['get']('insertMergeField')['isEnabled'],_0x1a5109=_0x1590a1['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0x597018=_0x1590a1['commands']['get']('insertMergeFieldImage')['isEnabled'],_0x9efaef=_0x1590a1['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x47976d['id']);if('text'===_0x9efaef&&!_0xa680c8)return!0x1;if('block'===_0x9efaef&&!_0x1a5109)return!0x1;if('image'===_0x9efaef&&!_0x597018)return!0x1;return(_0x1590a1['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x47976d['id'])||_0x47976d['id'])['toLowerCase']()['includes'](_0x531a91['toLowerCase']());}),'itemRenderer':_0x2bd2bd=>{const _0x1f2f5c=document['createElement']('button');return _0x1f2f5c['innerHTML']=''+(_0x2bd2bd['label']||_0x2bd2bd['id']),_0x1f2f5c;}}),_0x1590a1['config']['set']('mention.feeds',_0x4602b1);}['_overrideMentionExecuteListener'](){const _0x120e00=this['editor'];_0x120e00['commands']['get']('mention')['on']('execute',(_0x12c411,_0x1d1669)=>{const _0xae3fe8=_0x1d1669[0x0];_0xae3fe8['marker']===_0x120e00['config']['get']('mergeFields.prefix')&&_0x120e00['model']['change'](_0x37af4e=>{_0x37af4e['remove'](_0xae3fe8['range']);const _0x240e60=_0xae3fe8['mention']['id'],_0x1acbff=_0x120e00['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x240e60);'text'===_0x1acbff?_0x120e00['execute']('insertMergeField',_0x240e60):'block'===_0x1acbff?_0x120e00['execute']('insertMergeFieldBlock',_0x240e60,!0x1):_0x120e00['execute']('insertMergeFieldImage',_0x240e60,{'breakBlock':!0x0}),_0x12c411['stop']();});},{'priority':'high'});}}function _0x4adc82(_0x20b536,_0x12d363,_0x3ae6ac,_0x51680b){const _0x548ae0=new _0x5f37cd['ListItemGroupView'](_0x20b536,new _0x5f37cd['LabelWithHighlightView']());_0x548ae0['label']=_0x12d363;for(const _0x38b0a0 of _0x3ae6ac){let _0x2cb01d;_0x2cb01d='block'===_0x38b0a0['type']?_0x51680b['insertBlock']:'image'===_0x38b0a0['type']?_0x51680b['insertImage']:_0x51680b['insertInline'];const _0x378914=_0x5d61d5(_0x20b536,_0x38b0a0,_0x2cb01d);_0x378914['delegate']('execute')['to'](_0x548ae0),_0x548ae0['items']['add'](_0x378914);}return _0x548ae0;}function _0x5d61d5(_0x3882a6,_0x5a4f37,_0x242429){const _0x3ab470=new _0x5f37cd['ListItemView'](_0x3882a6),_0x1993fa=new _0x5f37cd['ButtonLabelWithHighlightView'](),_0x1ef652=new _0x5f37cd['ButtonView'](_0x3882a6,_0x1993fa);return _0x3ab470['children']['add'](_0x1ef652),_0x1ef652['set']({'label':_0x5a4f37['label']||_0x5a4f37['id'],'withText':!0x0}),_0x1ef652['bind']('isEnabled')['to'](_0x242429),_0x1ef652['on']('execute',()=>{_0x3ab470['fire']('execute',_0x5a4f37['id']);}),_0x3ab470;}function _0x5992f4(_0x607c8e,_0x3ddf21,_0x6e312d){const _0x2560a7=new _0x5f37cd['MenuBarMenuView'](_0x607c8e),_0x3cce82=new _0x5f37cd['MenuBarMenuListView'](_0x607c8e);for(const _0xd65d2e of _0x3ddf21['definitions']){let _0x44bf93;_0x44bf93='block'===_0xd65d2e['type']?_0x6e312d['insertBlock']:'image'===_0xd65d2e['type']?_0x6e312d['insertImage']:_0x6e312d['insertInline'];const _0x33820a=_0x196515(_0x607c8e,_0xd65d2e,_0x2560a7,_0x44bf93);_0x3cce82['items']['add'](_0x33820a);}return _0x2560a7['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0x2560a7['buttonView']['set']({'label':_0x3ddf21['groupLabel']||_0x3ddf21['groupId']}),_0x2560a7['panelView']['children']['add'](_0x3cce82),_0x2560a7;}function _0x196515(_0x43e2e3,_0x383608,_0x47b9d5,_0x3bdb47){const _0x51480b=new _0x5f37cd['MenuBarMenuListItemView'](_0x43e2e3,_0x47b9d5),_0x73e160=new _0x5f37cd['MenuBarMenuListItemButtonView'](_0x43e2e3);return _0x73e160['set']({'label':_0x383608['label']||_0x383608['id']}),_0x51480b['delegate']('execute')['to'](_0x47b9d5),_0x51480b['children']['add'](_0x73e160),_0x73e160['bind']('isEnabled')['to'](_0x3bdb47),_0x73e160['on']('execute',()=>{_0x51480b['fire']('execute',_0x383608['id']);}),_0x51480b;}class _0x51f4ba extends _0x5f37cd['Plugin']{static get['requires'](){return[MergeFieldsEditing,_0x366e63];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class PaginationLookup extends _0x5f37cd['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 _0x5f37cd['logWarning']('pagination-config-not-found',this['editor']['config']);const _0x22ccf4=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x22ccf4),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x1c57a7,_0x159ded,_0x423f1c)=>{_0x423f1c&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x226eea){const _0x47d8de=_0x456a36([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]),_0x3ad505=0xc82cb1e,_0x4ac899=0xc8540ce^_0x3ad505,_0x552a57=window[_0x456a36([0x44,0x61,0x74,0x65])][_0x456a36([0x6e,0x6f,0x77])](),_0x456174=_0x226eea[_0x456a36([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4b86e7=new window[(_0x456a36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x437019=>{_0x456174[_0x456a36([0x6f,0x6e,0x63,0x65])](_0x456a36([0x72,0x65,0x61,0x64,0x79]),_0x437019);}),_0x53a6bd={[_0x456a36([0x6b,0x74,0x79])]:_0x456a36([0x45,0x43]),[_0x456a36([0x75,0x73,0x65])]:_0x456a36([0x73,0x69,0x67]),[_0x456a36([0x63,0x72,0x76])]:_0x456a36([0x50,0x2d,0x32,0x35,0x36]),[_0x456a36([0x78])]:_0x456a36([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]),[_0x456a36([0x79])]:_0x456a36([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]),[_0x456a36([0x61,0x6c,0x67])]:_0x456a36([0x45,0x53,0x32,0x35,0x36])},_0x49bbff=_0x456174[_0x456a36([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x456a36([0x67,0x65,0x74])](_0x456a36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xc1e95a(){let _0x1486e9,_0x55cf21=null,_0xae36ff=null;try{if(_0x49bbff==_0x456a36([0x47,0x50,0x4c]))return _0x456a36([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1486e9=_0x20956f(),!_0x1486e9)return _0x456a36([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1486e9[_0x456a36([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xae36ff=_0x5c94bd(_0x1486e9[_0x456a36([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1486e9[_0x456a36([0x6a,0x74,0x69])])),await _0x5db5a6()?_0x190b45()?_0x353464()?_0x456a36([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4412be()?(_0x1486e9[_0x456a36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x456a36([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x55cf21=_0x4aa9e6(_0x456a36([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5eced7()):_0x456a36([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x456a36([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x456a36([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x456a36([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x353464(){const _0x115e3c=[_0x456a36([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x456a36([0x74,0x72,0x69,0x61,0x6c])][_0x456a36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1486e9[_0x456a36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x552a57/0x3e8:0xe10*_0x4ac899;return _0x1486e9[_0x456a36([0x65,0x78,0x70])]<_0x115e3c;}function _0x190b45(){const _0x360259=_0x1486e9[_0x456a36([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x360259&&(!!_0x360259[_0x456a36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x456a36([0x2a]))||!!_0x360259[_0x456a36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x456a36([0x50,0x41,0x47])));}function _0x4412be(){const _0x30f73e=_0x1486e9[_0x456a36([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x30f73e||0x0==_0x30f73e[_0x456a36([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d9ca3}=new URL(window[_0x456a36([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x30f73e[_0x456a36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d9ca3))return!0x0;const _0x44cfa5=_0x1d9ca3[_0x456a36([0x73,0x70,0x6c,0x69,0x74])](_0x456a36([0x2e]));return _0x30f73e[_0x456a36([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e24e4=>_0x2e24e4[_0x456a36([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x456a36([0x2a])))[_0x456a36([0x6d,0x61,0x70])](_0x1738e1=>_0x1738e1[_0x456a36([0x73,0x70,0x6c,0x69,0x74])](_0x456a36([0x2e])))[_0x456a36([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f4472=>_0x1f4472[_0x456a36([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x44cfa5[_0x456a36([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x456a36([0x6d,0x61,0x70])](_0x5cdb89=>Array(_0x44cfa5[_0x456a36([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5cdb89[_0x456a36([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x456a36([0x66,0x69,0x6c,0x6c])](_0x5cdb89[0x0]===_0x456a36([0x2a])?_0x456a36([0x2a]):'')[_0x456a36([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5cdb89))[_0x456a36([0x73,0x6f,0x6d,0x65])](_0x213621=>_0x44cfa5[_0x456a36([0x65,0x76,0x65,0x72,0x79])]((_0x3fc327,_0x45e2bb)=>_0x213621[_0x45e2bb]===_0x3fc327||_0x213621[_0x45e2bb]===_0x456a36([0x2a])));}function _0x5eced7(){return _0x55cf21&&_0xae36ff?new window[(_0x456a36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x154863,_0x577d0f)=>{_0x55cf21[_0x456a36([0x74,0x68,0x65,0x6e])](_0x154863,_0x577d0f),_0xae36ff[_0x456a36([0x74,0x68,0x65,0x6e])](_0x360d80=>{_0x360d80!=_0x456a36([0x56,0x61,0x6c,0x69,0x64])&&_0x154863(_0x360d80);},_0x577d0f);}):_0x55cf21||_0xae36ff||_0x456a36([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c94bd(_0x4f0bf4,_0x59d93d){return new window[(_0x456a36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ed9a6=>{if(_0x19829e())return _0x3ed9a6(_0x456a36([0x56,0x61,0x6c,0x69,0x64]));_0xa3d423(),_0x456174[_0x456a36([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x456a36([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xcc1a4=!0x1;const _0x76103d=_0x5f37cd['uid']();function _0x34014d(_0x582e02){return!!_0x582e02&&(typeof _0x582e02===_0x456a36([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x582e02===_0x456a36([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x582e02[_0x456a36([0x74,0x68,0x65,0x6e])]===_0x456a36([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x582e02[_0x456a36([0x63,0x61,0x74,0x63,0x68])]===_0x456a36([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x63e55e(_0x4b312e){_0x5b7521(_0x4b312e)[_0x456a36([0x74,0x68,0x65,0x6e])](_0x5e7b64=>{if(!_0x5e7b64||_0x5e7b64[_0x456a36([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x456a36([0x6f,0x6b]))return _0x456a36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4328b7(_0x287e0e(_0x76103d+_0x59d93d))!=_0x5e7b64[_0x456a36([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x456a36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x456a36([0x56,0x61,0x6c,0x69,0x64]);})[_0x456a36([0x74,0x68,0x65,0x6e])](_0xac1ab5=>(_0x5cc919(),_0xac1ab5),()=>{const _0x336076=_0x5cc300();return null==_0x336076?(_0x5cc919(),_0x456a36([0x56,0x61,0x6c,0x69,0x64])):_0x456a36(_0x552a57-_0x336076>(0x288e4f1e^_0x3ad505)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x456a36([0x74,0x68,0x65,0x6e])](_0x3ed9a6)[_0x456a36([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3ed9a6(_0x456a36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4f2fbf=0xcb4259e^_0x3ad505;function _0x5cc919(){const _0x3c3c2e=_0x456a36([0x6c,0x6c,0x63,0x74,0x2d])+_0x4328b7(_0x287e0e(_0x4f0bf4)),_0x33a129=_0x2fef79(_0x4328b7(window[_0x456a36([0x4d,0x61,0x74,0x68])][_0x456a36([0x63,0x65,0x69,0x6c])](_0x552a57/_0x4f2fbf)));window[_0x456a36([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x456a36([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c3c2e,_0x33a129);}function _0x5cc300(){const _0x1d063f=_0x456a36([0x6c,0x6c,0x63,0x74,0x2d])+_0x4328b7(_0x287e0e(_0x4f0bf4)),_0x55c84a=window[_0x456a36([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x456a36([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d063f);return _0x55c84a?window[_0x456a36([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fef79(_0x55c84a),0x10)*_0x4f2fbf:null;}function _0x5b7521(_0x53a291){return new window[(_0x456a36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2fec7d,_0x38ebeb)=>{_0x53a291[_0x456a36([0x74,0x68,0x65,0x6e])](_0x2fec7d,_0x38ebeb),window[_0x456a36([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x38ebeb,0xc831fde^_0x3ad505);});}}_0x456174[_0x456a36([0x6f,0x6e])](_0x456a36([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3dfb23,_0xb29a36)=>{if(_0xb29a36[0x0]!=_0x4f0bf4)return _0x3ed9a6(_0x456a36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb29a36[0x1]={..._0xb29a36[0x1],[_0x456a36([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x76103d};},{[_0x456a36([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x456a36([0x68,0x69,0x67,0x68])}),_0x456174[_0x456a36([0x6f,0x6e])](_0x456a36([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x571abf=>{_0x34014d(_0x571abf[_0x456a36([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xcc1a4=!0x0,_0x63e55e(_0x571abf[_0x456a36([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x456a36([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x456a36([0x6c,0x6f,0x77])}),_0x4b86e7[_0x456a36([0x74,0x68,0x65,0x6e])](()=>{_0xcc1a4||_0x3ed9a6(_0x456a36([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x19829e(){return _0x456174[_0x456a36([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x456a36([0x76,0x69,0x65,0x77])][_0x456a36([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x456a36([0x61,0x75,0x74,0x6f]);}function _0xa3d423(){_0x456174[_0x456a36([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x456a36([0x76,0x69,0x65,0x77])][_0x456a36([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x456a36([0x61,0x75,0x74,0x6f]);}}function _0x4aa9e6(_0x4121c1){const _0x2d6ed8=[new window[(_0x456a36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4381df=>setTimeout(_0x4381df,0xc8bf5d2^_0x3ad505)),_0x4b86e7[_0x456a36([0x74,0x68,0x65,0x6e])](()=>new window[(_0x456a36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x110a03=>{let _0x25ea0a=0x0;_0x456174[_0x456a36([0x6d,0x6f,0x64,0x65,0x6c])][_0x456a36([0x6f,0x6e])](_0x456a36([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3a0da6,_0xfaf991)=>{_0xfaf991[0x0][_0x456a36([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25ea0a++,_0x25ea0a==(0xc82cef6^_0x3ad505)&&(_0x110a03(),_0x3a0da6[_0x456a36([0x6f,0x66,0x66])]());});}))];return window[_0x456a36([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x456a36([0x72,0x61,0x63,0x65])](_0x2d6ed8)[_0x456a36([0x74,0x68,0x65,0x6e])](()=>_0x4121c1);}async function _0x21671a(){await _0x4b86e7,_0x456174[_0x456a36([0x6d,0x6f,0x64,0x65,0x6c])][_0x456a36([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4f7bd0,_0x456174[_0x456a36([0x6d,0x6f,0x64,0x65,0x6c])][_0x456a36([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4f7bd0,_0x456174[_0x456a36([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x456a36([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2e0378(_0x3e1495){const _0xc9f163=_0x44f87d();_0x456174[_0xc9f163]=_0x456a36([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e1495,_0x3e1495!=_0x456a36([0x56,0x61,0x6c,0x69,0x64])&&_0x21671a();}function _0x44f87d(){const _0x3689ad=window[_0x456a36([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x456a36([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x456a36([0x6e,0x6f,0x77])]())[_0x456a36([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x456a36([0x2e]),'');let _0x3fa029=_0x456a36([0x49]);for(let _0x378abd=0x0;_0x378abd<_0x3689ad[_0x456a36([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x378abd+=0x2){let _0x103c64=window[_0x456a36([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3689ad[_0x456a36([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x378abd,_0x378abd+0x2));_0x103c64>=_0x47d8de[_0x456a36([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x103c64-=_0x47d8de[_0x456a36([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3fa029+=_0x47d8de[_0x103c64];}return _0x3fa029;}function _0x20956f(){const _0x2fef95=_0x49bbff[_0x456a36([0x73,0x70,0x6c,0x69,0x74])](_0x456a36([0x2e]));if(0x3!=_0x2fef95[_0x456a36([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x190144(_0x2fef95[0x1]);function _0x190144(_0x4db30f){const _0x229704=_0x4dd1e2(_0x4db30f);return _0x229704&&_0x244d6e()?_0x229704:null;function _0x244d6e(){const _0x71f352=_0x229704[_0x456a36([0x6a,0x74,0x69])],_0x551068=window[_0x456a36([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x71f352[_0x456a36([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x71f352[_0x456a36([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x31a801={..._0x229704,[_0x456a36([0x6a,0x74,0x69])]:_0x71f352[_0x456a36([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x71f352[_0x456a36([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x31a801[_0x456a36([0x76,0x63])],_0x287e0e(_0x31a801)==_0x551068;}}}async function _0x5db5a6(){let _0x539e83=!0x0;try{const _0x3bf440=_0x49bbff[_0x456a36([0x73,0x70,0x6c,0x69,0x74])](_0x456a36([0x2e])),[_0x4ef78a,_0x667686,_0x452ebc]=_0x3bf440;return _0x7cddcd(_0x4ef78a),await _0x17f4b7(_0x4ef78a,_0x667686,_0x452ebc),_0x539e83;}catch{return!0x1;}function _0x7cddcd(_0x1b333e){const _0x3cb59f=_0x4dd1e2(_0x1b333e);_0x3cb59f&&_0x3cb59f[_0x456a36([0x61,0x6c,0x67])]==_0x456a36([0x45,0x53,0x32,0x35,0x36])||(_0x539e83=!0x1);}async function _0x17f4b7(_0xc34ad5,_0x25cb5a,_0x51a06d){const _0x1d82c1=window[_0x456a36([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x456a36([0x66,0x72,0x6f,0x6d])](_0x4f0027(_0x51a06d),_0x4e06c5=>_0x4e06c5[_0x456a36([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3634a5=new window[(_0x456a36([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x456a36([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xc34ad5+_0x456a36([0x2e])+_0x25cb5a),_0x4c209f=window[_0x456a36([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x456a36([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4c209f)return;const _0x25a81c=await _0x4c209f[_0x456a36([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x456a36([0x6a,0x77,0x6b]),_0x53a6bd,{[_0x456a36([0x6e,0x61,0x6d,0x65])]:_0x456a36([0x45,0x43,0x44,0x53,0x41]),[_0x456a36([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x456a36([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x456a36([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4c209f[_0x456a36([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x456a36([0x6e,0x61,0x6d,0x65])]:_0x456a36([0x45,0x43,0x44,0x53,0x41]),[_0x456a36([0x68,0x61,0x73,0x68])]:{[_0x456a36([0x6e,0x61,0x6d,0x65])]:_0x456a36([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x25a81c,_0x1d82c1,_0x3634a5)||(_0x539e83=!0x1);}}function _0x4dd1e2(_0x19bae4){return _0x19bae4[_0x456a36([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x456a36([0x65,0x79]))?JSON[_0x456a36([0x70,0x61,0x72,0x73,0x65])](_0x4f0027(_0x19bae4)):null;}function _0x4f0027(_0x38a020){return window[_0x456a36([0x61,0x74,0x6f,0x62])](_0x38a020[_0x456a36([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x456a36([0x2b]))[_0x456a36([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x456a36([0x2f])));}function _0x287e0e(_0x331092){let _0x517000=0x1505;function _0x36abda(_0x3d695d){for(let _0x2f9f10=0x0;_0x2f9f10<_0x3d695d[_0x456a36([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f9f10++){const _0x5b839e=_0x3d695d[_0x456a36([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f9f10);_0x517000=(_0x517000<<0x5)+_0x517000+_0x5b839e,_0x517000&=_0x517000;}}function _0x115341(_0x77f18c){Array[_0x456a36([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x77f18c)?_0x77f18c[_0x456a36([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x115341):_0x77f18c&&typeof _0x77f18c==_0x456a36([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x456a36([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x77f18c)[_0x456a36([0x73,0x6f,0x72,0x74])]()[_0x456a36([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1d23fb,_0x410fbe])=>{_0x36abda(_0x1d23fb),_0x115341(_0x410fbe);}):_0x36abda(window[_0x456a36([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x77f18c));}return _0x115341(_0x331092),_0x517000>>>0x0;}function _0x4328b7(_0x16294b){return _0x16294b[_0x456a36([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x456a36([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x456a36([0x30]));}function _0x2fef79(_0x183382){return _0x183382[_0x456a36([0x73,0x70,0x6c,0x69,0x74])]('')[_0x456a36([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x456a36([0x6a,0x6f,0x69,0x6e])]('');}function _0x4f7bd0(){}function _0x456a36(_0x49d7f0){return _0x49d7f0['map'](_0x448e32=>String['fromCharCode'](_0x448e32))['join']('');}_0x2e0378(await _0xc1e95a());}(this);}['destroy'](){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0xd85174=this['editor'],_0x3b7bec=_0xd85174['editing']['view'],_0xd78892=this['_getAttachedDomRoot']();if(!_0xd78892||!_0xd78892['hasChildNodes']())return void _0xd85174['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x2c6a65,pageHeight:_0x5d6775}=_0xd85174['config']['get']('pagination'),{top:_0x1e53a7,left:_0x22e026,bottom:_0x4f02b6,right:_0x1a29a9}=this['_configuredPaddings'];this['_pagesContainer']=new _0x5f37cd['View'](_0xd85174['locale']);const _0x211153=this['_pagesContainer'];_0x211153['set']('class',''),_0x211153['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x2c6a65,'width':_0x2c6a65,'height':'calc(\x20'+_0x5d6775+'\x20-\x20'+_0x1e53a7+'\x20-\x20'+_0x4f02b6+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x1a29a9+'\x200\x20'+_0x22e026,'columnGap':'calc('+_0x22e026+'\x20+\x20'+_0x1a29a9+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x211153['bindTemplate']['to']('class')}}),_0x211153['render'](),_0xd78892['parentNode']['insertBefore'](_0x211153['element'],_0xd78892['nextSibling']),this['listenTo'](_0x3b7bec,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x3f57f5 of this['editor']['editing']['view']['domRoots']['values']())if(_0x3f57f5['ownerDocument']['body']['contains'](_0x3f57f5))return _0x3f57f5;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x2015d7=this['editor']['editing']['view'],_0x110a5a=this['_pagesContainer'],_0x15bdb0=this['_getAttachedDomRoot']();if(!_0x15bdb0||!_0x110a5a)return Promise['resolve']();for(_0x110a5a['class']=['ck-reset','ck-pagination-view',..._0x15bdb0['classList']]['join']('\x20');_0x110a5a['element']['firstChild'];)_0x110a5a['element']['firstChild']['remove']();const _0x494560=Array['from'](_0x2015d7['domRoots']);_0x494560['sort'](([,_0x247eaa],[,_0x255de8])=>_0x247eaa['compareDocumentPosition'](_0x255de8)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x1a838e,_0x36740c]of _0x494560){const _0x12f6a7=_0x36740c['cloneNode'](!0x0);'attributeStyleMap'in _0x12f6a7&&_0x12f6a7['attributeStyleMap']['clear'](),_0x12f6a7['dataset']['rootName']=_0x1a838e,_0x12f6a7['className']='ck-content\x20ck-pagination_enabled',_0x12f6a7['removeAttribute']('id'),_0x12f6a7['tabIndex']=-0x1,_0x110a5a['element']['append'](_0x12f6a7);}const _0xa79a8e=Array['from'](_0x110a5a['element']['querySelectorAll']('img'));return function(_0x3a3ca9){return Promise['all'](_0x3a3ca9['map'](_0x172e7d=>Promise['race']([_0x4cc257(_0x172e7d),_0x1d9777(0x3e8)])));}(_0xa79a8e)['then'](()=>{for(const _0x2909dc of _0xa79a8e['filter'](_0x222aab=>!_0x222aab['closest']('table')))if(_0x2909dc['offsetParent']){const _0x468496=_0x5f37cd['global']['window']['getComputedStyle'](_0x2909dc),_0x546be6=_0x5f37cd['global']['document']['createElement']('span');for(const _0x40b1a4 of _0x468496)_0x546be6['style']['setProperty'](_0x40b1a4,_0x468496[_0x40b1a4]);_0x546be6['style']['backgroundImage']='url(\x20'+_0x2909dc['src']+'\x20)',_0x546be6['style']['breakInside']='avoid','PICTURE'==_0x2909dc['parentElement']?.['tagName']?_0x2909dc['parentElement']['replaceWith'](_0x546be6):_0x2909dc['replaceWith'](_0x546be6);}return new Promise(_0x1b0db2=>_0x5f37cd['global']['window']['requestAnimationFrame'](()=>_0x1b0db2()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x516e41=this['_pagesContainer']['element'];if(!_0x516e41['ownerDocument']['body']['contains'](_0x516e41))return;const _0x57c6f8=new _0x5f37cd['Rect'](_0x516e41)['excludeScrollbarsAndBorders'](),_0x551fac=Math['floor'](_0x57c6f8['width']+0x64),_0x5c6b36=_0x21a734(_0x516e41,Math['floor'](_0x57c6f8['left']-_0x516e41['scrollLeft']),_0x551fac,_0x57c6f8['height'])['map'](_0x821894=>this['_mapPageStarterInfoToPageBreakInfo'](_0x821894))['filter'](_0xd4c36a=>!0x1!==_0xd4c36a);_0x5c6b36['every'](_0x3187b0=>!!_0x3187b0)&&(this['pageBreaks']=_0x5c6b36);}['_mapPageStarterInfoToPageBreakInfo'](_0xcdbc0e){const _0x1fffbe=this['editor']['editing']['view'],_0x2e6152=this['editor']['editing']['mapper'],_0x2404a9=_0x1fffbe['domConverter'],_0x479be6=_0xcdbc0e['path']['shift'](),_0xd02084=this['_pagesContainer']['element']['childNodes'][_0x479be6]['dataset']['rootName'],_0x2cde7b=_0x1fffbe['getDomRoot'](_0xd02084);if(!_0x2cde7b)return null;const _0x2eced0=function(_0x47918d,_0x40f899){let _0x4871e8=_0x47918d;for(const _0x9c5433 of _0x40f899['path']){if(!_0x4871e8)return null;_0x4871e8=_0x4871e8['childNodes'][_0x9c5433];}return _0x4871e8;}(_0x2cde7b,_0xcdbc0e);if(!_0x2eced0)return null;const _0x8b11bc=_0x2404a9['domPositionToView'](_0x2eced0,_0xcdbc0e['textOffset']||0x0);return _0x8b11bc?'manual'==_0xcdbc0e['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x8b11bc,_0x2eced0):'text'==_0xcdbc0e['type']&&_0x2e6152['toModelPosition'](_0x8b11bc)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x8b11bc,_0x2eced0,_0xcdbc0e['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x8b11bc,_0x2eced0,_0xcdbc0e['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x59428e,_0x5befac){const _0x500220=this['editor']['model'],_0x161ec2=this['editor']['editing']['mapper']['toModelElement'](_0x59428e['parent']),_0x4703da=_0x500220['createRangeOn'](_0x161ec2);return new _0x380786({'type':'manual','modelRange':_0x4703da,'domNode':_0x5befac,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x39411a,_0x41f242,_0x504f5e){const _0x501bd5=this['editor']['model'],_0x4f30cf=this['editor']['editing']['mapper'],_0x7c38c6=this['editor']['editing']['view']['domConverter'];if(_0x504f5e>=_0x41f242['length'])return null;const _0x268249=_0x4f30cf['toModelPosition'](_0x39411a),_0xb8578f=_0x501bd5['createRange'](_0x268249),_0xf5f0ec=_0x4f30cf['findMappedViewAncestor'](_0x39411a),_0x693001=_0x7c38c6['mapViewToDom'](_0xf5f0ec);return new _0x380786({'type':'text','modelRange':_0xb8578f,'domNode':_0x41f242,'offset':_0x820c59(_0x41f242,_0x504f5e,_0x693001)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x502751,_0x5559b2,_0x3af95f){const _0x157edb=this['editor']['model'],_0x26deb0=this['editor']['editing'],_0x2cbc74=_0x26deb0['mapper'],_0x3e2e43=_0x26deb0['view']['domConverter'],_0x9f2021=_0x2cbc74['findMappedViewAncestor'](_0x502751),_0x2edb06=_0x2cbc74['toModelElement'](_0x9f2021);if(!_0x2edb06||_0x2edb06['is']('rootElement'))return!0x1;const _0x36edf2=function(_0x1b38be){const _0x169ea9=_0x1b38be['parent'],_0x315a89=_0x169ea9['root']['document']['model'],_0x55db74=_0x169ea9['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x36c72f=null;for(const _0x3abf6c of _0x55db74){if(_0x3abf6c['is']('rootElement'))return _0x36c72f;if(!_0x315a89['createPositionBefore'](_0x3abf6c)['isTouching'](_0x1b38be))return _0x36c72f;_0x36c72f=_0x3abf6c;}}(_0x157edb['createPositionBefore'](_0x2edb06)),_0x1741d2=_0x36edf2||_0x2edb06;let _0x418b3f=_0x2cbc74['toViewElement'](_0x1741d2),_0x538dfa=_0x157edb['createRangeOn'](_0x1741d2);const _0x3a05cd=_0x157edb['createPositionBefore'](_0x1741d2)['nodeBefore'];if(_0x3a05cd&&_0x3a05cd['is']('element','imageBlock')){const _0x37b8d1=_0x2cbc74['toViewElement'](_0x3a05cd),_0x21d2e2=_0x3e2e43['mapViewToDom'](_0x37b8d1),_0x468e7f=_0x5f37cd['global']['window']['getComputedStyle'](_0x21d2e2)['float'];'left'!=_0x468e7f&&'right'!=_0x468e7f||(_0x538dfa=_0x157edb['createRangeOn'](_0x3a05cd));}for(;_0x418b3f['parent']!==_0x418b3f['root']&&0x0===_0x418b3f['index'];)_0x418b3f=_0x418b3f['parent'];const _0x44acbe=new _0x5f37cd['Rect'](_0x2589f0(_0x5559b2)?_0x5559b2:_0x2fa95b(_0x5559b2)),_0x3a30f2=_0x3af95f?_0x44acbe['height']-_0x3af95f:0x0,_0x34adc2=_0x3e2e43['mapViewToDom'](_0x418b3f),_0x24a9f7=new _0x5f37cd['Rect'](_0x34adc2);return new _0x380786({'type':'element','modelRange':_0x538dfa,'domNode':_0x34adc2,'offset':Math['round'](_0x3a30f2)||_0x9f2021!=_0x173823(_0x502751)?_0x3a30f2+_0x44acbe['top']-_0x24a9f7['top']:0x0});}get['_configuredPaddings'](){const _0x4e340d=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x4e340d);}static['_findPageStarterInfos'](_0x5ba9db,_0x98459a,_0x17bbd7,_0x2a524d,_0x451b36){return _0x21a734(_0x5ba9db,_0x98459a,_0x17bbd7,_0x2a524d,_0x451b36);}}class _0x380786{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x399f3e,modelRange:_0x13e2e6,domNode:_0x5171a3,offset:_0x5dee60}){this['type']=_0x399f3e,this['modelRange']=_0x13e2e6,this['_domNode']=_0x5171a3,this['_offset']=_0x5dee60;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x3b7360=new _0x5f37cd['Rect'](_0x2589f0(this['_domNode'])?this['_domNode']:_0x2fa95b(this['_domNode']));return'manual'==this['type']?_0x3b7360['top']+_0x3b7360['height']/0x2:_0x3b7360['top']+this['_offset'];}}function _0x820c59(_0x39c524,_0x338269,_0x430f7d){const _0x1dfe05=_0x2fa95b(_0x39c524),_0x2feeb0=function(_0x1d1a3c){const _0x4a39c6=_0x5f37cd['global']['document']['createRange']();return _0x4a39c6['selectNodeContents'](_0x1d1a3c),_0x4a39c6;}(_0x430f7d);let _0x15ea69;_0x15ea69=0x0==_0x338269?_0x470e3e(_0x2feeb0['startContainer'],_0x2feeb0['startOffset'],_0x39c524['parentNode'],Array['from'](_0x39c524['parentNode']['childNodes'])['indexOf'](_0x39c524)):_0x470e3e(_0x2feeb0['startContainer'],_0x2feeb0['startOffset'],_0x39c524,_0x338269);const _0x43641d=_0x470e3e(_0x39c524,_0x338269,_0x2feeb0['endContainer'],_0x2feeb0['endOffset']),_0x49b3a0=new _0x5f37cd['Rect'](_0x15ea69)['bottom'];return(new _0x5f37cd['Rect'](_0x43641d)['top']+_0x49b3a0)/0x2-new _0x5f37cd['Rect'](_0x1dfe05)['top'];}function _0x173823(_0x24188d){let _0x1b122e=_0x24188d['parent'];for(;_0x1b122e['is']('$text')||_0x1b122e['is']('attributeElement');)_0x1b122e=_0x1b122e['parent'];return _0x1b122e;}function _0x4cc257(_0xb426f6){return _0xb426f6['hasAttribute']('width')&&_0xb426f6['hasAttribute']('height')?Promise['resolve']():new Promise(_0x3f5717=>{function _0x3122bc(){_0xb426f6['removeEventListener']('load',_0x3122bc),_0xb426f6['removeEventListener']('error',_0x3122bc),_0x3f5717();}_0xb426f6['complete']?_0x3f5717():(_0xb426f6['addEventListener']('load',_0x3122bc),_0xb426f6['addEventListener']('error',_0x3122bc));});}function _0x1d9777(_0x464ed4){return new Promise(_0xea3e3b=>setTimeout(_0xea3e3b,_0x464ed4));}function _0x2fa95b(_0xf6ef7b){const _0x11f6a6=_0x5f37cd['global']['document']['createRange']();return _0x11f6a6['selectNode'](_0xf6ef7b),_0x11f6a6;}function _0x304162(_0x5d489f,_0x3b0340,_0x27af2e){const _0x5ea307=_0x5f37cd['global']['document']['createRange']();return _0x5ea307['setStart'](_0x5d489f,_0x3b0340),_0x5ea307['setEnd'](_0x5d489f,_0x27af2e),_0x5ea307;}function _0x470e3e(_0x1545f6,_0x2ac670,_0x1fe555,_0x45cb04){const _0x4782a0=_0x5f37cd['global']['document']['createRange']();return _0x4782a0['setStart'](_0x1545f6,_0x2ac670),_0x4782a0['setEnd'](_0x1fe555,_0x45cb04),_0x4782a0;}function _0x21a734(_0x26fd40,_0x453742,_0x5b1fa1,_0x39e336,_0x41274d){const _0x338f41=[];for(const [_0x298f40,_0x121427]of _0x26fd40['childNodes']['entries']()){let _0xd8c5d2=[];_0x2589f0(_0x121427)&&_0x121427['offsetParent']&&['static','relative']['includes'](_0x5f37cd['global']['window']['getComputedStyle'](_0x121427)['position'])?_0xd8c5d2=_0xad3051(_0x121427,_0x298f40,_0x453742,_0x5b1fa1,_0x39e336,_0x41274d):_0x3df157(_0x121427)&&(_0xd8c5d2=_0x7a52b1(_0x121427,_0x298f40,_0x453742,_0x5b1fa1,_0x41274d)),_0xd8c5d2['length']&&(_0x338f41['push'](..._0xd8c5d2),_0x453742+=_0xd8c5d2['length']*_0x5b1fa1,_0x41274d=!0x1);}return _0x338f41;}function _0xad3051(_0x43f9b2,_0x39ff43,_0x282513,_0x4b1daa,_0x112a76,_0x1b190e){const _0x367481=[];var _0x3209fe;if((_0x3209fe=_0x43f9b2['previousSibling'])&&_0x2589f0(_0x3209fe)&&Boolean(_0x3209fe['classList']['contains']('page-break')||_0x3209fe['closest']('.page-break'))&&(_0x367481['push']({'type':'manual','offset':0x0,'path':[_0x39ff43-0x1]}),_0x1b190e=!0x0),'table-row'==_0x5f37cd['global']['window']['getComputedStyle'](_0x43f9b2)['display']){let _0x2bc681=0x0,_0x78e685=!0x1;for(const _0x2fb90f of _0x43f9b2['getClientRects']())_0x2bc681+=_0x2fb90f['height'],_0x2fb90f['left']>=_0x282513&&(_0x78e685=!0x0);if(_0x2bc681<_0x112a76&&_0x78e685)return _0x1b190e||_0x367481['push']({'type':'element','offset':0x0,'path':[_0x39ff43]}),_0x367481;}const _0x23ec70=_0x43f9b2['closest']('figure.image');if(_0x23ec70&&function(_0x3790ee){let _0x4e2b3b=!0x1;const _0x40dd0f=_0x3790ee['parentElement'],_0x1d630f=_0x40dd0f['dataset']['rootName'],_0x1d3684=_0x3790ee['nextElementSibling'],_0x16cf37=_0x3790ee['previousElementSibling'],_0x1917ba=_0x1d3684&&_0x5f37cd['global']['window']['getComputedStyle'](_0x1d3684)['float'],_0x4a4bfd=_0x1d3684&&'ck-fake-selection-container'===_0x1d3684['className'];!_0x1d630f||_0x1d3684||_0x16cf37||(_0x4e2b3b=!0x0),_0x1d630f&&!_0x16cf37&&_0x4a4bfd&&(_0x4e2b3b=!0x0),_0x1d630f&&!_0x16cf37&&'none'!==_0x1917ba&&(_0x4e2b3b=!0x0);if(_0x4e2b3b)return!0x1;return!0x0;}(_0x23ec70)){const _0x4d2711=_0x5f37cd['global']['window']['getComputedStyle'](_0x23ec70)['float'];if('left'==_0x4d2711||'right'==_0x4d2711)return _0x367481;}const _0x214a09=_0x21a734(_0x43f9b2,_0x282513,_0x4b1daa,_0x112a76,_0x1b190e);if(_0x214a09['length']){for(const _0x1fb270 of _0x214a09)_0x367481['push']({'type':_0x1fb270['type'],'offset':_0x1fb270['offset'],'textOffset':_0x1fb270['textOffset'],'path':[_0x39ff43,..._0x1fb270['path']]}),_0x282513+=_0x4b1daa,_0x1b190e=!0x1;return _0x367481;}return _0x367481['push'](...function(_0x187f74,_0x1912c9,_0x28d57e,_0x5d9f44,_0x30c0d0){const _0x45ef1b=[];if('table-cell'==_0x5f37cd['global']['window']['getComputedStyle'](_0x187f74)['display'])return[];const _0x4f73d0=[];for(const _0x23a4d0 of _0x187f74['getClientRects']())if(_0x23a4d0['left']>=_0x28d57e){for(const _0x5a73fc of _0x4f73d0)_0x5a73fc['height']+=_0x23a4d0['height'];_0x4f73d0['push']({'height':_0x23a4d0['height']}),_0x28d57e+=_0x5d9f44;}for(const _0x2634b8 of _0x4f73d0)_0x30c0d0||_0x45ef1b['push']({'type':'element','offset':_0x2634b8['height'],'textOffset':0x0,'path':[_0x1912c9]}),_0x30c0d0=!0x1;return _0x45ef1b;}(_0x43f9b2,_0x39ff43,_0x282513,_0x4b1daa,_0x1b190e)),_0x367481;}function _0x7a52b1(_0x126c70,_0x181649,_0x2bc7f6,_0x429a64,_0x38956b){const _0x2af10e=_0x2fa95b(_0x126c70),_0x10de46=[];let _0x2cc927=0x0;for(const _0x37ef0b of _0x2af10e['getClientRects']())if(_0x37ef0b['left']>=_0x2bc7f6){const _0x5eb8cc=_0x561d45(_0x126c70,_0x2cc927,_0x2bc7f6,_0x429a64);_0x38956b||_0x10de46['push']({'type':'text','path':[_0x181649],'textOffset':_0x5eb8cc}),_0x2cc927=_0x5eb8cc,_0x2bc7f6+=_0x429a64,_0x38956b=!0x1;}return _0x10de46;}function _0x561d45(_0x3973af,_0x447d7e,_0x101f35,_0x44dde6){let _0xc80d55=_0x447d7e,_0xbd5786=_0x3973af['length'];for(;_0xbd5786-_0xc80d55>0x1;){const _0x5b121d=Math['ceil']((_0xc80d55+_0xbd5786)/0x2);_0x4b8c5b(_0x304162(_0x3973af,_0xc80d55,_0x5b121d),_0x101f35,_0x44dde6)?_0xbd5786=_0x5b121d:_0xc80d55=_0x5b121d;}return _0xc80d55;}function _0x4b8c5b(_0x42e96c,_0x2e88ef,_0x3950d5){for(const _0x674619 of _0x42e96c['getClientRects']())if(_0x674619['left']>=_0x2e88ef&&_0x674619['left']<_0x2e88ef+_0x3950d5)return!0x0;return!0x1;}function _0x2589f0(_0x2cbb31){return _0x2cbb31['nodeType']==Node['ELEMENT_NODE'];}function _0x3df157(_0x5c9934){return _0x5c9934['nodeType']==Node['TEXT_NODE'];}const _0x14e889=/* #__PURE__ -- @preserve */
_0x5f37cd['toUnit']('px');let _0x4fd880=class _0x5996ce extends _0x5f37cd['View']{constructor(){super();const _0x57f0bd=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x57f0bd['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x57f0bd['if']('isVisible','ck-hidden',_0x2b45c9=>!_0x2b45c9)],'style':{'left':_0x57f0bd['to']('left',_0x1629c0=>_0x14e889(_0x1629c0)),'top':_0x57f0bd['to']('top',_0xb78c99=>_0x14e889(_0xb78c99)),'width':_0x57f0bd['to']('width',_0x4a266c=>_0x14e889(_0x4a266c))}}});}};class LinesRepository{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x227080){this['_viewCollection']=_0x227080['ui']['view']['body'];}['destroy'](){for(const _0x1cbcaf of this['_hiddenLines'])_0x1cbcaf['destroy']();}['cleanLines'](){for(const _0x18e43e of this['_visibleLines'])_0x18e43e['isVisible']=!0x1,this['_hiddenLines']['add'](_0x18e43e);this['_visibleLines']['clear']();}['showLine'](_0x12880c,_0x33c15f,_0xd6fa9d,_0x891719){let _0x4f6bbf;this['_hiddenLines']['size']?(_0x4f6bbf=_0x5f37cd['first'](this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x4f6bbf)):_0x4f6bbf=new _0x4fd880(),_0x4f6bbf['set']({'pageNumber':_0x891719,'left':_0x12880c,'top':_0x33c15f,'width':_0xd6fa9d}),_0x4f6bbf['isVisible']=!0x0,this['_viewCollection']['has'](_0x4f6bbf)||this['_viewCollection']['add'](_0x4f6bbf),this['_visibleLines']['add'](_0x4f6bbf);}['setViewCollection'](_0x212890){for(const _0x364f4e of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x364f4e)&&this['_viewCollection']['remove'](_0x364f4e);this['_viewCollection']=_0x212890;}}const _0x3829a8='ck-pagination_enabled';class PaginationRenderer extends _0x5f37cd['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'](_0x3829a8),this['on']('change:isEnabled',(_0x21eccf,_0x353094,_0x156903)=>{_0x156903||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](_0x3829a8,_0x156903);});}['destroy'](){this['_toggleEditingRootsClass'](_0x3829a8,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x242cb8){if(!this['isEnabled'])return;const _0x333742=_0x242cb8>0x1?this['_getPageBreakLineOffset'](_0x242cb8-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x333742-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x5f37cd['env']['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x3d1dbc=this['editor'],_0x338680=this['_getAttachedDomRoot']();_0x338680?(this['_scrollableEditingRootDomAncestor']&&_0x3d1dbc['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0xc87371){let _0x1c9d88=_0xc87371;do{_0x1c9d88=_0x1c9d88['parentElement'];const _0xcd9abf=_0x5f37cd['global']['window']['getComputedStyle'](_0x1c9d88)['overflowY'];if('auto'==_0xcd9abf||'scroll'==_0xcd9abf)break;}while('BODY'!=_0x1c9d88['tagName']);return _0x1c9d88;}(_0x338680),_0x3d1dbc['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x5f37cd['ResizeObserver'](this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x3d1dbc['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x4afcd8=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x4afcd8['ui']['view']['listenTo'](_0x5f37cd['global']['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x4afcd8['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x2eb271 of this['editor']['editing']['view']['domRoots']['values']())if(_0x2eb271['ownerDocument']['body']['contains'](_0x2eb271))return _0x2eb271;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x4e0203=this['_getAttachedDomRoot'](),_0x5390a1=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x4e0203||0x1==_0x5390a1['length'])return void(this['pageNumber']=0x1);const _0x2bd2e5=new _0x5f37cd['Rect'](_0x4e0203)['excludeScrollbarsAndBorders'](),_0x487463=new _0x5f37cd['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x29d417=_0x487463['top']+_0x487463['height']/0x3;let _0x32504f=!0x1;const _0x379426=[];for(let _0x3a5288=0x1;_0x3a5288<_0x5390a1['length'];_0x3a5288++){const _0x5713cf=this['_getPageBreakLineOffset'](_0x3a5288,_0x487463);if(!_0x5713cf)continue;const _0x33773d=_0x487463['top']+_0x5713cf-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x379426['push']({'pageOffsetTop':_0x33773d,'domRootRect':_0x2bd2e5,'domScrollableRect':_0x487463,'pageNumber':_0x3a5288}),_0x33773d>_0x29d417&&!_0x32504f&&(this['pageNumber']=_0x3a5288,_0x32504f=!0x0);}this['_renderPageBreakLines'](_0x379426),_0x32504f||(this['pageNumber']=_0x5390a1['length']);}['_renderPageBreakLines'](_0x2a1c43){const {scrollX:_0x5b732b,scrollY:_0x597ab2}=_0x5f37cd['global']['window'];if(_0x2a1c43['length']){for(const {domScrollableRect:_0x5b1c2d,pageOffsetTop:_0x43c06c,domRootRect:_0x47fa3d,pageNumber:_0x2cea17}of _0x2a1c43)_0x5b1c2d['top']<_0x43c06c&&_0x43c06c<_0x5b1c2d['bottom']&&this['linesRepository']['showLine'](_0x47fa3d['left']+_0x5b732b,_0x43c06c+_0x597ab2,_0x47fa3d['width'],_0x2cea17+0x1);}}['_getPageBreakLineOffset'](_0x25d09c,_0xf0b8f1=null){const _0x20b6cf=this['_paginationLookupPlugin']['pageBreaks'][_0x25d09c]['offset'];return _0x20b6cf?(_0xf0b8f1||(_0xf0b8f1=new _0x5f37cd['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x20b6cf-_0xf0b8f1['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x4483c4,_0x5ada68=!0x0){const _0x57533f=this['editor']['editing']['view'];_0x57533f['change'](_0x266646=>{for(const _0x2c9631 of _0x57533f['document']['roots'])_0x5ada68?_0x266646['addClass'](_0x4483c4,_0x2c9631):_0x266646['removeClass'](_0x4483c4,_0x2c9631);});}}function _0x284be7(_0x1dfece,_0x479126,..._0x138ece){const t=_0x1dfece['t'];switch(_0x479126){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)',..._0x138ece);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 _0x479126;}}class PaginationEditing extends _0x5f37cd['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 _0xf80fc6=this['editor']['plugins']['get']('Pagination'),_0x2b0cec=this['editor']['plugins']['get'](PaginationLookup),_0x5520d7=this['editor']['plugins']['get'](PaginationRenderer);this['bind']('isEnabled')['to'](_0xf80fc6),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x5520d7),this['listenTo'](_0x2b0cec,'change:pageBreaks',(_0xe57057,_0x1d8587,_0x24333b,_0x18d991)=>{this['totalPages']=_0x24333b['length'],this['_updatePageBreakMarkers'](_0x24333b,_0x18d991);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3625eb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x82a5d;for(const _0xf71c2 in _0x3625eb){const _0x1f98f6=_0xf71c2,_0x1a6a05=_0x3625eb[_0x1f98f6];if('paginationLicenseKeyValid'==_0x1a6a05||'paginationLicenseKeyInvalid'==_0x1a6a05||'paginationLicenseKeyExpired'==_0x1a6a05||'paginationLicenseKeyDomainLimit'==_0x1a6a05||'paginationLicenseKeyNotAllowed'==_0x1a6a05||'paginationLicenseKeyEvaluationLimit'==_0x1a6a05||'paginationLicenseKeyUsageLimit'==_0x1a6a05){delete _0x3625eb[_0x1f98f6],_0x82a5d=_0x1a6a05,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x82a5d&&_0x3625eb['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x82a5d&&_0x3625eb['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x82a5d&&_0x3625eb['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x82a5d&&_0x3625eb['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x82a5d&&_0x3625eb['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x82a5d&&_0x3625eb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x963d1f){if(!this['isEnabled'])return;this['editor']['plugins']['get'](PaginationRenderer)['scrollToPage'](this['_validatePageNumber'](_0x963d1f));}['moveSelectionToPage'](_0x296e72){if(!this['isEnabled'])return;const _0x2219b5=this['editor'],_0x407da1=this['editor']['plugins']['get'](PaginationLookup)['pageBreaks'][_0x296e72-0x1];_0x407da1&&_0x2219b5['model']['change'](_0x53007d=>{switch(_0x407da1['type']){case'manual':{const _0x260d31=_0x2219b5['model']['schema']['getNearestSelectionRange'](_0x407da1['modelRange']['end'],'forward');_0x53007d['setSelection'](_0x260d31);break;}case'element':{const _0x2f1bdc=_0x2219b5['model']['schema']['getNearestSelectionRange'](_0x407da1['modelRange']['start'],'forward');_0x53007d['setSelection'](_0x2f1bdc);break;}case'text':{const _0x578011=_0x407da1['modelRange']['start'];if(_0x578011['textNode']&&'\x20'===_0x578011['textNode']['data'][_0x578011['offset']]){const _0x221c0f=_0x53007d['createPositionAt'](_0x578011['parent'],_0x578011['offset']+0x1);_0x53007d['setSelection'](_0x221c0f);}else _0x53007d['setSelection'](_0x407da1['modelRange']);}}_0x2219b5['editing']['view']['focus']();});}['goToNextPage'](){const _0x467691=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x467691),this['scrollToPage'](_0x467691);}['goToPreviousPage'](){const _0x2dab26=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x2dab26),this['scrollToPage'](_0x2dab26);}['_updatePageBreakMarkers'](_0xa858cc,_0x1531ef){const _0x5235c3=this['editor']['model'];this['isEnabled']&&_0x5235c3['change'](_0x43ddac=>{for(let _0x29af0a=0x1;_0x29af0a<_0xa858cc['length'];_0x29af0a++){const _0x28a44b=_0xa858cc[_0x29af0a]['modelRange'],_0xd5b631='pagination:'+(_0x29af0a+0x1);_0x5235c3['markers']['has'](_0xd5b631)?_0x43ddac['updateMarker'](_0xd5b631,{'range':_0x28a44b}):_0x43ddac['addMarker'](_0xd5b631,{'range':_0x28a44b,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x4ee698=_0xa858cc['length'];_0x4ee698<_0x1531ef['length'];_0x4ee698++){const _0x4a1f91='pagination:'+(_0x4ee698+0x1);_0x5235c3['markers']['has'](_0x4a1f91)&&_0x43ddac['removeMarker'](_0x4a1f91);}});}['_setUpDataDowncastConversion'](){const _0x5f5d5d='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x2c3730=>{_0x2c3730['on']('addMarker:'+_0x5f5d5d,(_0x4d3698,{markerRange:_0x4f9646,markerName:_0x1d5d43},_0x527d7)=>{if(!_0x527d7['options']['pagination'])return;if(!_0x527d7['consumable']['consume'](_0x4f9646,_0x4d3698['name']))return;const _0x44a5a5=_0x4f9646['getContainedElement']();let _0x4c8123=_0x44a5a5?_0x527d7['mapper']['toViewElement'](_0x44a5a5):null;if(!_0x4c8123){const _0x3b3d6c=_0x4f9646['start'];if(_0x527d7['schema']['checkChild'](_0x3b3d6c,'$text')){const _0x38d7e9=_0x527d7['mapper']['toViewPosition'](_0x3b3d6c);_0x4c8123=_0x527d7['writer']['createContainerElement']('span'),_0x4c8123['getFillerOffset']=()=>null,_0x527d7['writer']['insert'](_0x38d7e9,_0x4c8123);}else{const _0x4df706=_0x3b3d6c['nodeAfter'];_0x4c8123=_0x527d7['mapper']['toViewElement'](_0x4df706);}}for(;_0x4c8123['parent']!==_0x4c8123['root']&&0x0===_0x4c8123['index'];)_0x4c8123=_0x4c8123['parent'];const _0x122097=_0x1d5d43['substring'](0xb);_0x4c8123['hasClass']('page-break')||(_0x527d7['writer']['setStyle']('page-break-before','always',_0x4c8123),_0x527d7['writer']['setAttribute']('data-pagination-page',_0x122097,_0x4c8123),_0x527d7['mapper']['bindElementToMarker'](_0x4c8123,_0x1d5d43)),_0x4d3698['stop']();});});}['_setupKeystrokes'](){const _0x333dcc=this['editor'];_0x333dcc['keystrokes']['set']('Shift+Pageup',(_0x169d54,_0x3626ba)=>{this['goToPreviousPage'](),_0x3626ba();}),_0x333dcc['keystrokes']['set']('Shift+Pagedown',(_0x2275c7,_0x44cde8)=>{this['goToNextPage'](),_0x44cde8();}),_0x333dcc['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':_0x284be7(_0x333dcc['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':_0x284be7(_0x333dcc['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':_0x284be7(_0x333dcc['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x258a28){return _0x258a28<0x1&&(_0x258a28=0x1),_0x258a28>this['totalPages']&&(_0x258a28=this['totalPages']),_0x258a28;}}class PageNavigatorView extends _0x5f37cd['View']{['pageNumberView'];constructor(_0x15b867){super(_0x15b867);const _0x15cc58=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x5f37cd['InputNumberView'](_0x15b867,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0xf6f539=>_0x284be7(_0x15b867,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0xf6f539)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x1cc6a6=>!_0x1cc6a6),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x15cc58['if']('isEnabled','ck-disabled',_0x2054c3=>!_0x2054c3)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x15cc58['to']('totalPages')}]}]});}['render'](){super['render']();const _0x3efa48=this['pageNumberView']['element'],_0x3c3284=_0x3387e1=>{this['pageNumberView']['element']['value']=String(_0x3387e1);};_0x3c3284(this['pageNumber']),this['on']('change:pageNumber',(_0x515b90,_0x18290f,_0x25e115)=>{_0x3c3284(_0x25e115);}),this['listenTo'](_0x3efa48,'keydown',(_0x35d0d6,_0x13e32d)=>{if('ArrowUp'===_0x13e32d['key']||'ArrowDown'===_0x13e32d['key'])return void _0x13e32d['stopPropagation']();if(_0x13e32d['keyCode']!==_0x5f37cd['keyCodes']['enter'])return;_0x13e32d['preventDefault']();const _0xc6f77=_0x3efa48['valueAsNumber'];Number['isNaN'](_0xc6f77)?_0x3efa48['value']=String(this['pageNumber']):(_0x3efa48['checkValidity']()?this['pageNumber']=_0xc6f77:_0xc6f77>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x3efa48['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x3efa48['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x3efa48,'blur',()=>{_0x3efa48['value']=String(this['pageNumber']);}),this['listenTo'](_0x3efa48,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}}class PaginationUI extends _0x5f37cd['Plugin']{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2a1663=this['editor'],_0x2a6bc3=_0x2a1663['plugins']['get']('PaginationEditing');_0x2a1663['ui']['componentFactory']['add']('pageNavigation',_0x42219f=>{const _0x2989c5=new PageNavigatorView(_0x42219f);return _0x2989c5['bind']('pageNumber')['to'](_0x2a6bc3),_0x2989c5['bind']('totalPages')['to'](_0x2a6bc3),_0x2989c5['bind']('isEnabled')['to'](_0x2a6bc3),_0x2989c5['on']('navigation',(_0x30eff5,_0x308d44)=>{_0x2a6bc3['moveSelectionToPage'](_0x308d44),_0x2a6bc3['scrollToPage'](_0x308d44);}),_0x2989c5;}),_0x2a1663['ui']['componentFactory']['add']('nextPage',_0x3415dc=>{const _0x30f328=new _0x5f37cd['ButtonView'](_0x3415dc);return _0x30f328['isEnabled']=!0x0,_0x30f328['label']=_0x284be7(_0x2a1663['locale'],'Go\x20to\x20next\x20page'),_0x30f328['icon']=_0x5f37cd['IconArrowDown'],_0x30f328['tooltip']=!0x0,_0x30f328['keystroke']='Shift+PageDown',_0x30f328['bind']('isEnabled')['to'](_0x2a6bc3),this['listenTo'](_0x30f328,'execute',()=>{_0x2a6bc3['goToNextPage']();}),_0x30f328;}),_0x2a1663['ui']['componentFactory']['add']('previousPage',_0x360c52=>{const _0x4d0e7=new _0x5f37cd['ButtonView'](_0x360c52);return _0x4d0e7['isEnabled']=!0x0,_0x4d0e7['label']=_0x284be7(_0x2a1663['locale'],'Go\x20to\x20previous\x20page'),_0x4d0e7['icon']=_0x5f37cd['IconArrowUp'],_0x4d0e7['tooltip']=!0x0,_0x4d0e7['keystroke']='Shift+PageUp',_0x4d0e7['bind']('isEnabled')['to'](_0x2a6bc3),this['listenTo'](_0x4d0e7,'execute',()=>{_0x2a6bc3['goToPreviousPage']();}),_0x4d0e7;});}}class Pagination extends _0x5f37cd['Plugin']{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[PaginationEditing,PaginationUI];}constructor(_0x470711){super(_0x470711),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x18cc38=this['editor']['plugins']['get'](PaginationEditing);this['bind']('pageNumber')['to'](_0x18cc38),this['bind']('totalPages')['to'](_0x18cc38),_0x5f37cd['env']['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x29d2bc){this['editor']['plugins']['get'](PaginationEditing)['scrollToPage'](_0x29d2bc);}}const _0x9bd2b2=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function td(_0x4d3c23){return _0x9bd2b2['test'](_0x4d3c23);}const _0x1780c7=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function _0x2b8efe(_0x5e1ff2,_0x4ba634){const _0x317b13=new Map();for(const [_0x56855b,_0x20242d]of _0x4ba634){if(!_0x56855b['tagName']&&!_0x56855b['className'])continue;const _0x4b723f=!_0x56855b['tagName']||_0x5e1ff2['name']===_0x56855b['tagName'],_0x28c9f0=!_0x56855b['className']||_0x5e1ff2['hasClass'](_0x56855b['className']);_0x4b723f&&_0x28c9f0&&_0x317b13['set'](_0x56855b,_0x20242d);}return _0x317b13;}function _0x51d80f(_0x214160){const _0x4b7032={};for(let _0x32a0c4=0x0;_0x32a0c4<_0x214160['length'];_0x32a0c4++){const _0x133efc=_0x214160[_0x32a0c4],_0x41787b=_0x214160['getPropertyValue'](_0x133efc);'initial'!==_0x41787b&&(_0x4b7032[_0x133efc]=_0x41787b);}return _0x4b7032;}function _0x7a461b(_0x355593){const _0x14ba3b=_0x355593['split'](',')['map'](_0x48cb19=>_0x48cb19['trim']()),_0x905bfa=[];for(const _0x3fb012 of _0x14ba3b){const _0x3dbe53=_0x1780c7['exec'](_0x3fb012);_0x3dbe53&&_0x905bfa['push'](_0x3dbe53['groups']);}return _0x905bfa;}function _0x4b1802(_0x56f3c9){const _0x49b064={};for(const _0x50380d of _0x56f3c9)Object['assign'](_0x49b064,_0x50380d);return _0x49b064;}class MSOfficeStylesInliner extends _0x5f37cd['PasteFromOfficeMSWordNormalizer']{['execute'](_0x3da79e){const {styles:_0x44a0cd,stylesString:_0x405063}=_0x3da79e['extraContent'],_0x538830=new _0x5f37cd['ViewUpcastWriter'](_0x3da79e['content']['document']),_0xa02421=_0x538830['createRangeIn'](_0x3da79e['content']),_0x34d8fa=function(_0x5e29b8){const _0x53f243={};for(const _0x4dbd09 of _0x5e29b8)for(const _0x33e0a5 of _0x4dbd09['cssRules'])if(_0x33e0a5 instanceof CSSStyleRule){const _0x29e097=_0x51d80f(_0x33e0a5['style']);_0x53f243[_0x33e0a5['selectorText']]=Object['assign']({},_0x53f243[_0x33e0a5['selectorText']]||{},_0x29e097);}return _0x53f243;}(_0x44a0cd),_0x3d512e=function(_0x2ae00d){const _0x512e9b=new Map();for(const _0x277b08 in _0x2ae00d){const _0x379012=_0x7a461b(_0x277b08),_0x26fcb0=_0x2ae00d[_0x277b08];for(const _0x9d88e6 of _0x379012)_0x512e9b['set'](_0x9d88e6,_0x26fcb0);}return _0x512e9b;}(_0x34d8fa),_0x6cc63e=function(_0x5e5543){const _0x50641d={},_0x35ed11=/(?<selector>[^{}]+)\{[^}]*mso-pattern:\s*(?<color>#[0-9A-Fa-f]{3,6}|[a-z]+)\s+(?<patternType>[\w-]+)[^}]*\}/gi,_0x2ace1d=/\.(?<className>[\w-]+)/g;let _0x1400e2;for(;null!==(_0x1400e2=_0x35ed11['exec'](_0x5e5543));){const {selector:_0x4be002,color:_0x4b3cac,patternType:_0x21696c}=_0x1400e2['groups'];if('auto'!==_0x4b3cac['toLowerCase']()&&'none'!==_0x21696c['toLowerCase']()&&'auto'!==_0x21696c['toLowerCase']()){for(const _0x2d308b of _0x4be002['matchAll'](_0x2ace1d))_0x50641d[_0x2d308b['groups']['className']]=_0x4b3cac;}}return _0x50641d;}(_0x405063);for(const _0x2415a3 of _0xa02421){if('elementStart'!==_0x2415a3['type'])continue;const _0x2ea4b4=_0x2415a3['item'],_0x44b7eb=_0x2b8efe(_0x2ea4b4,_0x3d512e),_0x3781ba=_0x44b7eb['size']?_0x4b1802(Array['from'](_0x44b7eb['values']())):{};if(!('background-color'in _0x3781ba)&&!('background'in _0x3781ba)){for(const [_0x52f337,_0x145fc9]of Object['entries'](_0x6cc63e))if(_0x2ea4b4['hasClass'](_0x52f337)){_0x3781ba['background-color']=_0x145fc9;break;}}for(const _0x86f0a7 in _0x3781ba)_0x2ea4b4['hasStyle'](_0x86f0a7)||_0x538830['setStyle'](_0x86f0a7,_0x3781ba[_0x86f0a7],_0x2ea4b4);}}['isActive'](_0x3136b7){return super['isActive'](_0x3136b7)||td(_0x3136b7);}}class PasteFromOfficeEnhancedInliner extends _0x5f37cd['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5f37cd['PasteFromOffice']];}['init'](){const _0x3b2808=this['editor'],_0x4bbd4f=_0x3b2808['plugins']['get']('PasteFromOffice'),_0x3f13e8=_0x3b2808['editing']['view']['document'],_0x1f7da6=new MSOfficeStylesInliner(_0x3f13e8);_0x4bbd4f['registerNormalizer'](_0x1f7da6,_0x5f37cd['priorities']['high']+0xb);}['afterInit'](){!async function(_0x198e30){const _0x172b74=_0x4076c7([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]),_0x4e0e25=0x7374585f,_0x14baba=0x7373d38f^_0x4e0e25,_0x48125c=window[_0x4076c7([0x44,0x61,0x74,0x65])][_0x4076c7([0x6e,0x6f,0x77])](),_0x1f1136=_0x198e30[_0x4076c7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x434533=new window[(_0x4076c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8ebe53=>{_0x1f1136[_0x4076c7([0x6f,0x6e,0x63,0x65])](_0x4076c7([0x72,0x65,0x61,0x64,0x79]),_0x8ebe53);}),_0x5042ff={[_0x4076c7([0x6b,0x74,0x79])]:_0x4076c7([0x45,0x43]),[_0x4076c7([0x75,0x73,0x65])]:_0x4076c7([0x73,0x69,0x67]),[_0x4076c7([0x63,0x72,0x76])]:_0x4076c7([0x50,0x2d,0x32,0x35,0x36]),[_0x4076c7([0x78])]:_0x4076c7([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]),[_0x4076c7([0x79])]:_0x4076c7([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]),[_0x4076c7([0x61,0x6c,0x67])]:_0x4076c7([0x45,0x53,0x32,0x35,0x36])},_0x341a63=_0x1f1136[_0x4076c7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4076c7([0x67,0x65,0x74])](_0x4076c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x38091a(){let _0x9c1bd0,_0x5eb925=null,_0x5315d4=null;try{if(_0x341a63==_0x4076c7([0x47,0x50,0x4c]))return _0x4076c7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9c1bd0=_0x8efd36(),!_0x9c1bd0)return _0x4076c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9c1bd0[_0x4076c7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5315d4=_0x522f10(_0x9c1bd0[_0x4076c7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9c1bd0[_0x4076c7([0x6a,0x74,0x69])])),await _0x833e66()?_0x2d0683()?_0x42198b()?_0x4076c7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x482a70()?(_0x9c1bd0[_0x4076c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4076c7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5eb925=_0x2fa0be(_0x4076c7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1c78be()):_0x4076c7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4076c7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4076c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4076c7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x42198b(){const _0x22815b=[_0x4076c7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4076c7([0x74,0x72,0x69,0x61,0x6c])][_0x4076c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9c1bd0[_0x4076c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x48125c/0x3e8:0xe10*_0x14baba;return _0x9c1bd0[_0x4076c7([0x65,0x78,0x70])]<_0x22815b;}function _0x2d0683(){const _0x57757f=_0x9c1bd0[_0x4076c7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57757f&&(!!_0x57757f[_0x4076c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4076c7([0x2a]))||(!!_0x57757f[_0x4076c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4076c7([0x50,0x4f,0x45]))||(!!_0x57757f[_0x4076c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4076c7([0x50,0x50]))||!(!_0x57757f[_0x4076c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4076c7([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x21e310()))));}function _0x482a70(){const _0x18ee18=_0x9c1bd0[_0x4076c7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x18ee18||0x0==_0x18ee18[_0x4076c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x50818f}=new URL(window[_0x4076c7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x18ee18[_0x4076c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50818f))return!0x0;const _0x4727fa=_0x50818f[_0x4076c7([0x73,0x70,0x6c,0x69,0x74])](_0x4076c7([0x2e]));return _0x18ee18[_0x4076c7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x94d9f8=>_0x94d9f8[_0x4076c7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4076c7([0x2a])))[_0x4076c7([0x6d,0x61,0x70])](_0xdb15b0=>_0xdb15b0[_0x4076c7([0x73,0x70,0x6c,0x69,0x74])](_0x4076c7([0x2e])))[_0x4076c7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21685e=>_0x21685e[_0x4076c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4727fa[_0x4076c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4076c7([0x6d,0x61,0x70])](_0x166946=>Array(_0x4727fa[_0x4076c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x166946[_0x4076c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4076c7([0x66,0x69,0x6c,0x6c])](_0x166946[0x0]===_0x4076c7([0x2a])?_0x4076c7([0x2a]):'')[_0x4076c7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x166946))[_0x4076c7([0x73,0x6f,0x6d,0x65])](_0x17b2a7=>_0x4727fa[_0x4076c7([0x65,0x76,0x65,0x72,0x79])]((_0x29f08e,_0x4d1817)=>_0x17b2a7[_0x4d1817]===_0x29f08e||_0x17b2a7[_0x4d1817]===_0x4076c7([0x2a])));}function _0x1c78be(){return _0x5eb925&&_0x5315d4?new window[(_0x4076c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x390de9,_0x4d0888)=>{_0x5eb925[_0x4076c7([0x74,0x68,0x65,0x6e])](_0x390de9,_0x4d0888),_0x5315d4[_0x4076c7([0x74,0x68,0x65,0x6e])](_0x9d83e0=>{_0x9d83e0!=_0x4076c7([0x56,0x61,0x6c,0x69,0x64])&&_0x390de9(_0x9d83e0);},_0x4d0888);}):_0x5eb925||_0x5315d4||_0x4076c7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x522f10(_0x408ffe,_0x10dc33){return new window[(_0x4076c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d9bef=>{if(_0x140b36())return _0x2d9bef(_0x4076c7([0x56,0x61,0x6c,0x69,0x64]));_0x1de3b2(),_0x1f1136[_0x4076c7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4076c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4fa9fa=!0x1;const _0xa1d523=_0x5f37cd['uid']();function _0x42cd40(_0x10b4e1){return!!_0x10b4e1&&(typeof _0x10b4e1===_0x4076c7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x10b4e1===_0x4076c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x10b4e1[_0x4076c7([0x74,0x68,0x65,0x6e])]===_0x4076c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x10b4e1[_0x4076c7([0x63,0x61,0x74,0x63,0x68])]===_0x4076c7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5b284(_0x3cfb0f){_0x4d7bce(_0x3cfb0f)[_0x4076c7([0x74,0x68,0x65,0x6e])](_0x121b28=>{if(!_0x121b28||_0x121b28[_0x4076c7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4076c7([0x6f,0x6b]))return _0x4076c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x44f65c(_0x2d5e73(_0xa1d523+_0x10dc33))!=_0x121b28[_0x4076c7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4076c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4076c7([0x56,0x61,0x6c,0x69,0x64]);})[_0x4076c7([0x74,0x68,0x65,0x6e])](_0x1be69d=>(_0x1b096f(),_0x1be69d),()=>{const _0x269783=_0x5b213a();return null==_0x269783?(_0x1b096f(),_0x4076c7([0x56,0x61,0x6c,0x69,0x64])):_0x4076c7(_0x48125c-_0x269783>(0x5778dc5f^_0x4e0e25)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4076c7([0x74,0x68,0x65,0x6e])](_0x2d9bef)[_0x4076c7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2d9bef(_0x4076c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5dc92f=0x7342b6df^_0x4e0e25;function _0x1b096f(){const _0x22adc6=_0x4076c7([0x6c,0x6c,0x63,0x74,0x2d])+_0x44f65c(_0x2d5e73(_0x408ffe)),_0x79d6cf=_0x42a222(_0x44f65c(window[_0x4076c7([0x4d,0x61,0x74,0x68])][_0x4076c7([0x63,0x65,0x69,0x6c])](_0x48125c/_0x5dc92f)));window[_0x4076c7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4076c7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22adc6,_0x79d6cf);}function _0x5b213a(){const _0x1ac6cf=_0x4076c7([0x6c,0x6c,0x63,0x74,0x2d])+_0x44f65c(_0x2d5e73(_0x408ffe)),_0x4027c5=window[_0x4076c7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4076c7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ac6cf);return _0x4027c5?window[_0x4076c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42a222(_0x4027c5),0x10)*_0x5dc92f:null;}function _0x4d7bce(_0x2f29c2){return new window[(_0x4076c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x283652,_0x4b5197)=>{_0x2f29c2[_0x4076c7([0x74,0x68,0x65,0x6e])](_0x283652,_0x4b5197),window[_0x4076c7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4b5197,0x73758c9f^_0x4e0e25);});}}_0x1f1136[_0x4076c7([0x6f,0x6e])](_0x4076c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e58e6,_0x244183)=>{if(_0x244183[0x0]!=_0x408ffe)return _0x2d9bef(_0x4076c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x244183[0x1]={..._0x244183[0x1],[_0x4076c7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa1d523};},{[_0x4076c7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4076c7([0x68,0x69,0x67,0x68])}),_0x1f1136[_0x4076c7([0x6f,0x6e])](_0x4076c7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x35e72c=>{_0x42cd40(_0x35e72c[_0x4076c7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4fa9fa=!0x0,_0x5b284(_0x35e72c[_0x4076c7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4076c7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4076c7([0x6c,0x6f,0x77])}),_0x434533[_0x4076c7([0x74,0x68,0x65,0x6e])](()=>{_0x4fa9fa||_0x2d9bef(_0x4076c7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x140b36(){return _0x1f1136[_0x4076c7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4076c7([0x76,0x69,0x65,0x77])][_0x4076c7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4076c7([0x61,0x75,0x74,0x6f]);}function _0x1de3b2(){_0x1f1136[_0x4076c7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4076c7([0x76,0x69,0x65,0x77])][_0x4076c7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4076c7([0x61,0x75,0x74,0x6f]);}}function _0x2fa0be(_0x57a8ad){const _0x585e67=[new window[(_0x4076c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18a692=>setTimeout(_0x18a692,0x737d6693^_0x4e0e25)),_0x434533[_0x4076c7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4076c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b81ee=>{let _0x2c9390=0x0;_0x1f1136[_0x4076c7([0x6d,0x6f,0x64,0x65,0x6c])][_0x4076c7([0x6f,0x6e])](_0x4076c7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b30c3,_0x1c5dfc)=>{_0x1c5dfc[0x0][_0x4076c7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2c9390++,_0x2c9390==(0x73745db7^_0x4e0e25)&&(_0x2b81ee(),_0x4b30c3[_0x4076c7([0x6f,0x66,0x66])]());});}))];return window[_0x4076c7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4076c7([0x72,0x61,0x63,0x65])](_0x585e67)[_0x4076c7([0x74,0x68,0x65,0x6e])](()=>_0x57a8ad);}async function _0x2bc883(){await _0x434533,_0x1f1136[_0x4076c7([0x6d,0x6f,0x64,0x65,0x6c])][_0x4076c7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12f0a4,_0x1f1136[_0x4076c7([0x6d,0x6f,0x64,0x65,0x6c])][_0x4076c7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12f0a4,_0x1f1136[_0x4076c7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4076c7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x21e310(){return window[_0x4076c7([0x67,0x6c,0x6f,0x62])]&&window[_0x4076c7([0x67,0x6c,0x6f,0x62])][_0x4076c7([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2e3ddd(_0x16d515){const _0x2047d3=_0x3a178c();_0x1f1136[_0x2047d3]=_0x4076c7([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])+_0x16d515,_0x16d515!=_0x4076c7([0x56,0x61,0x6c,0x69,0x64])&&_0x2bc883();}function _0x3a178c(){const _0x3c40ea=window[_0x4076c7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4076c7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4076c7([0x6e,0x6f,0x77])]())[_0x4076c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4076c7([0x2e]),'');let _0x2a83fa=_0x4076c7([0x73]);for(let _0x471afa=0x0;_0x471afa<_0x3c40ea[_0x4076c7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x471afa+=0x2){let _0x48d50e=window[_0x4076c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c40ea[_0x4076c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x471afa,_0x471afa+0x2));_0x48d50e>=_0x172b74[_0x4076c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x48d50e-=_0x172b74[_0x4076c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2a83fa+=_0x172b74[_0x48d50e];}return _0x2a83fa;}function _0x8efd36(){const _0x15c1c6=_0x341a63[_0x4076c7([0x73,0x70,0x6c,0x69,0x74])](_0x4076c7([0x2e]));if(0x3!=_0x15c1c6[_0x4076c7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x56f614(_0x15c1c6[0x1]);function _0x56f614(_0x23ef95){const _0x2a430=_0xcb050d(_0x23ef95);return _0x2a430&&_0x2d05cc()?_0x2a430:null;function _0x2d05cc(){const _0x40dad3=_0x2a430[_0x4076c7([0x6a,0x74,0x69])],_0x57d23b=window[_0x4076c7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x40dad3[_0x4076c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40dad3[_0x4076c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x553c12={..._0x2a430,[_0x4076c7([0x6a,0x74,0x69])]:_0x40dad3[_0x4076c7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x40dad3[_0x4076c7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x553c12[_0x4076c7([0x76,0x63])],_0x2d5e73(_0x553c12)==_0x57d23b;}}}async function _0x833e66(){let _0x28d861=!0x0;try{const _0xa3aa6a=_0x341a63[_0x4076c7([0x73,0x70,0x6c,0x69,0x74])](_0x4076c7([0x2e])),[_0x1b332f,_0x560d6d,_0x1bde12]=_0xa3aa6a;return _0x471974(_0x1b332f),await _0x48c680(_0x1b332f,_0x560d6d,_0x1bde12),_0x28d861;}catch{return!0x1;}function _0x471974(_0x28f66c){const _0x5890bb=_0xcb050d(_0x28f66c);_0x5890bb&&_0x5890bb[_0x4076c7([0x61,0x6c,0x67])]==_0x4076c7([0x45,0x53,0x32,0x35,0x36])||(_0x28d861=!0x1);}async function _0x48c680(_0x28cbb4,_0xd4df4b,_0x4c2294){const _0x453e36=window[_0x4076c7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4076c7([0x66,0x72,0x6f,0x6d])](_0x1dff0a(_0x4c2294),_0x18dd7c=>_0x18dd7c[_0x4076c7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x59120f=new window[(_0x4076c7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4076c7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x28cbb4+_0x4076c7([0x2e])+_0xd4df4b),_0x1d8ab1=window[_0x4076c7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4076c7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d8ab1)return;const _0xe13a=await _0x1d8ab1[_0x4076c7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4076c7([0x6a,0x77,0x6b]),_0x5042ff,{[_0x4076c7([0x6e,0x61,0x6d,0x65])]:_0x4076c7([0x45,0x43,0x44,0x53,0x41]),[_0x4076c7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4076c7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4076c7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d8ab1[_0x4076c7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4076c7([0x6e,0x61,0x6d,0x65])]:_0x4076c7([0x45,0x43,0x44,0x53,0x41]),[_0x4076c7([0x68,0x61,0x73,0x68])]:{[_0x4076c7([0x6e,0x61,0x6d,0x65])]:_0x4076c7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xe13a,_0x453e36,_0x59120f)||(_0x28d861=!0x1);}}function _0xcb050d(_0x115041){return _0x115041[_0x4076c7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4076c7([0x65,0x79]))?JSON[_0x4076c7([0x70,0x61,0x72,0x73,0x65])](_0x1dff0a(_0x115041)):null;}function _0x1dff0a(_0xcfe3a6){return window[_0x4076c7([0x61,0x74,0x6f,0x62])](_0xcfe3a6[_0x4076c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4076c7([0x2b]))[_0x4076c7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4076c7([0x2f])));}function _0x2d5e73(_0x57f40f){let _0x4506ba=0x1505;function _0x4ba876(_0x41eb53){for(let _0x1b0ca2=0x0;_0x1b0ca2<_0x41eb53[_0x4076c7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b0ca2++){const _0x38ff7c=_0x41eb53[_0x4076c7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b0ca2);_0x4506ba=(_0x4506ba<<0x5)+_0x4506ba+_0x38ff7c,_0x4506ba&=_0x4506ba;}}function _0x2f1183(_0x32cce5){Array[_0x4076c7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x32cce5)?_0x32cce5[_0x4076c7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2f1183):_0x32cce5&&typeof _0x32cce5==_0x4076c7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4076c7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x32cce5)[_0x4076c7([0x73,0x6f,0x72,0x74])]()[_0x4076c7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3b1046,_0x1e6910])=>{_0x4ba876(_0x3b1046),_0x2f1183(_0x1e6910);}):_0x4ba876(window[_0x4076c7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x32cce5));}return _0x2f1183(_0x57f40f),_0x4506ba>>>0x0;}function _0x44f65c(_0x5703ea){return _0x5703ea[_0x4076c7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4076c7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4076c7([0x30]));}function _0x42a222(_0x496b66){return _0x496b66[_0x4076c7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4076c7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4076c7([0x6a,0x6f,0x69,0x6e])]('');}function _0x12f0a4(){}function _0x4076c7(_0x2cb0b4){return _0x2cb0b4['map'](_0x3fe96a=>String['fromCharCode'](_0x3fe96a))['join']('');}_0x2e3ddd(await _0x38091a());}(this);}}const _0x138c8b=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],_0x84086d=['color','font-family','font-size'],_0x391c10={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x25d179=>Number(_0x25d179)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function _0x26166a(_0x17a749){return _0x138c8b['includes'](_0x17a749);}function _0x4d89ea(_0x14fe4d){return Array['from'](_0x14fe4d['getStyleNames']())['filter'](_0x26166a);}function _0x4b9eb4(_0x5036c4,_0x3a4fdc,_0x257634){const {spanStyles:_0x32fbae,stylesToBeHtmlElements:_0x543206}=_0x18f799(_0x5036c4,_0x257634);!function(_0x18c51b,_0x14c30a,_0x2f93de){for(const _0x235931 in _0x2f93de){_0x2f93de[_0x235931]['forEach'](([,_0x3d3f11])=>{const _0x405e0b=_0x14c30a['createElement'](_0x3d3f11,[],_0x18c51b['getChildren']());_0x14c30a['insertChild'](0x0,_0x405e0b,_0x18c51b);}),_0x14c30a['removeStyle'](_0x235931,_0x18c51b);}}(_0x5036c4,_0x3a4fdc,_0x543206),function(_0x2a8dcd,_0x4421ca,_0x209227){if(!Object['keys'](_0x209227)['length'])return;const _0xecea87=_0x4421ca['createElement']('span',[],_0x2a8dcd['getChildren']());_0x4421ca['setStyle'](_0x209227,_0xecea87),_0x4421ca['insertChild'](0x0,_0xecea87,_0x2a8dcd),_0x4421ca['removeStyle'](Object['keys'](_0x209227),_0x2a8dcd);}(_0x5036c4,_0x3a4fdc,_0x32fbae);}function _0x86ad6f(_0x17d5d6,_0x4d2f94,_0x390173){const {spanStyles:_0x2df442}=_0x18f799(_0x17d5d6,_0x390173),_0x4db780=Object['keys'](_0x2df442);if(!_0x4db780['length'])return;let _0x165f52=!0x1;for(const _0x524c83 of _0x17d5d6['getChildren']())if(_0x524c83['is']('element','span')){_0x165f52=!0x0;for(const [_0x1e19ab,_0x4fe719]of Object['entries'](_0x2df442))_0x524c83['hasStyle'](_0x1e19ab)||_0x4d2f94['setStyle']({[_0x1e19ab]:_0x4fe719},_0x524c83);}_0x165f52&&_0x4d2f94['removeStyle'](_0x4db780,_0x17d5d6);}function _0x18f799(_0x5c853a,_0x28240b){const _0x5ab822={},_0x4a4db8={};return _0x28240b['forEach'](_0x7cf62b=>{const _0x16c7ca=_0x5c853a['getStyle'](_0x7cf62b);if(_0x16c7ca){if(function(_0x47d64d){return _0x84086d['includes'](_0x47d64d);}(_0x7cf62b))_0x5ab822[_0x7cf62b]=_0x16c7ca;else{if(function(_0x1a24c6){return _0x1a24c6 in _0x391c10;}(_0x7cf62b)){const _0x54e6cf=_0x16c7ca['split']('\x20');_0x391c10[_0x7cf62b]['forEach'](([_0x266b20,_0x4cb933])=>{for(const _0x42412a of _0x54e6cf){('function'==typeof _0x266b20&&_0x266b20(_0x42412a)||_0x266b20===_0x42412a)&&(_0x4a4db8[_0x7cf62b]=[..._0x4a4db8[_0x7cf62b]||[],[_0x266b20,_0x4cb933]]);}});}}}}),{'spanStyles':_0x5ab822,'stylesToBeHtmlElements':_0x4a4db8};}class MSOfficeInlineStylePropagator extends _0x5f37cd['PasteFromOfficeMSWordNormalizer']{['execute'](_0x346278){const _0x27b046=new _0x5f37cd['ViewUpcastWriter'](_0x346278['content']['document']),_0x33a4fd=_0x27b046['createRangeIn'](_0x346278['content']),_0x4b84df=new _0x5f37cd['ViewDocument'](_0x27b046['document']['stylesProcessor']),_0x2bef25=[...new _0x5f37cd['ViewDomConverter'](_0x4b84df)['blockElements'],'font'],_0x1347f1=_0x33a4fd['getItems']();for(const _0x54d1bc of _0x1347f1)if(_0x54d1bc['is']('element')&&_0x2bef25['includes'](_0x54d1bc['name'])){if(_0x54d1bc['hasStyle']('mso-list')&&'none'!==_0x54d1bc['getStyle']('mso-list')){_0x86ad6f(_0x54d1bc,_0x27b046,_0x4d89ea(_0x54d1bc));continue;}_0x4b9eb4(_0x54d1bc,_0x27b046,_0x4d89ea(_0x54d1bc));}}['isActive'](_0x4f6a4c){return super['isActive'](_0x4f6a4c)||td(_0x4f6a4c);}}class PasteFromOfficeEnhancedPropagator extends _0x5f37cd['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5f37cd['PasteFromOffice']];}['init'](){const _0x152717=this['editor'],_0xa9c268=_0x152717['plugins']['get']('PasteFromOffice'),_0x415177=_0x152717['editing']['view']['document'],_0xb7bd38=new MSOfficeInlineStylePropagator(_0x415177);_0xa9c268['registerNormalizer'](_0xb7bd38,_0x5f37cd['priorities']['high']+0xa),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x344916=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3658f6;for(const _0x45723c in _0x344916){const _0x7140e3=_0x45723c,_0x6766d7=_0x344916[_0x7140e3];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x6766d7||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x6766d7||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x6766d7||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x6766d7||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x6766d7||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x6766d7||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x6766d7){delete _0x344916[_0x7140e3],_0x3658f6=_0x6766d7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x3658f6&&_0x344916['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x3658f6&&_0x344916['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x3658f6&&_0x344916['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x3658f6&&_0x344916['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x3658f6&&_0x344916['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x3658f6&&_0x344916['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class PasteFromOfficeEnhanced extends _0x5f37cd['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5f37cd['PasteFromOffice'],PasteFromOfficeEnhancedInliner,PasteFromOfficeEnhancedPropagator];}}var _0x2f6308,_0x120c65,_0xf43603='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{},_0x1c866f={},_0x5e57d1={},_0x4a645a,_0x4d675d,_0x3f241b,_0x57b93e,_0xb8042a,_0x278f22,_0x542c61,_0x3de0e9={};function _0x2bda2e(_0x3998eb){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x3998eb+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x33b7df,_0x44a9a5,_0x484b42,_0x1c7551,_0x504915,_0xeac73b,_0x598ebe,_0x1c2423,_0x2e3e11,_0x484bb8,_0x36bbc7,_0x441276,_0x4399e2,_0x582140,_0x2d4101={};function _0x573107(){return _0xeac73b||(_0xeac73b=0x1,function(_0x1ba9a2){var _0x4eb19c=_0x1ba9a2;function _0x2e7f64(_0x58e572,_0x591826,_0x39f6af){for(var _0x39692a=Object['keys'](_0x591826),_0x4a9882=0x0;_0x4a9882<_0x39692a['length'];++_0x4a9882)void 0x0!==_0x58e572[_0x39692a[_0x4a9882]]&&_0x39f6af||'__proto__'!==_0x39692a[_0x4a9882]&&(_0x58e572[_0x39692a[_0x4a9882]]=_0x591826[_0x39692a[_0x4a9882]]);return _0x58e572;}function _0x3e4af5(_0x3eab8e){function _0x41ec33(_0x598958,_0x501b13){if(!(this instanceof _0x41ec33))return new _0x41ec33(_0x598958,_0x501b13);Object['defineProperty'](this,'message',{'get':function(){return _0x598958;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0x41ec33):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0x501b13&&_0x2e7f64(this,_0x501b13);}return _0x41ec33['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0x41ec33,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0x3eab8e;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0x41ec33;}_0x4eb19c['asPromise']=(_0x120c65||(_0x120c65=0x1,_0x2f6308=function(_0x52a502,_0x3cfe9b){for(var _0x1e4040=new Array(arguments['length']-0x1),_0x45e43c=0x0,_0x2bb58a=0x2,_0x340725=!0x0;_0x2bb58a<arguments['length'];)_0x1e4040[_0x45e43c++]=arguments[_0x2bb58a++];return new Promise(function(_0x2a72ae,_0x2c1fc0){_0x1e4040[_0x45e43c]=function(_0x359192){if(_0x340725){if(_0x340725=!0x1,_0x359192)_0x2c1fc0(_0x359192);else{for(var _0x47a754=new Array(arguments['length']-0x1),_0x2f8390=0x0;_0x2f8390<_0x47a754['length'];)_0x47a754[_0x2f8390++]=arguments[_0x2f8390];_0x2a72ae['apply'](null,_0x47a754);}}};try{_0x52a502['apply'](_0x3cfe9b||null,_0x1e4040);}catch(_0xbc41e){_0x340725&&(_0x340725=!0x1,_0x2c1fc0(_0xbc41e));}});}),_0x2f6308),_0x4eb19c['base64']=(_0x4a645a||(_0x4a645a=0x1,function(_0x2439b7){var _0x15225b=_0x2439b7;_0x15225b['length']=function(_0x17c0be){var _0x55d445=_0x17c0be['length'];if(!_0x55d445)return 0x0;for(var _0xd1fd5c=0x0;--_0x55d445%0x4>0x1&&'='===_0x17c0be['charAt'](_0x55d445);)++_0xd1fd5c;return Math['ceil'](0x3*_0x17c0be['length'])/0x4-_0xd1fd5c;};for(var _0x1a8e26=new Array(0x40),_0x377618=new Array(0x7b),_0x5ae8fa=0x0;_0x5ae8fa<0x40;)_0x377618[_0x1a8e26[_0x5ae8fa]=_0x5ae8fa<0x1a?_0x5ae8fa+0x41:_0x5ae8fa<0x34?_0x5ae8fa+0x47:_0x5ae8fa<0x3e?_0x5ae8fa-0x4:_0x5ae8fa-0x3b|0x2b]=_0x5ae8fa++;_0x15225b['encode']=function(_0x39d6ef,_0x3337db,_0x237363){for(var t,_0x5a86c0=null,_0x44a99a=[],_0x439a9e=0x0,_0x5713eb=0x0;_0x3337db<_0x237363;){var _0x22943d=_0x39d6ef[_0x3337db++];switch(_0x5713eb){case 0x0:_0x44a99a[_0x439a9e++]=_0x1a8e26[_0x22943d>>0x2],t=(0x3&_0x22943d)<<0x4,_0x5713eb=0x1;break;case 0x1:_0x44a99a[_0x439a9e++]=_0x1a8e26[t|_0x22943d>>0x4],t=(0xf&_0x22943d)<<0x2,_0x5713eb=0x2;break;case 0x2:_0x44a99a[_0x439a9e++]=_0x1a8e26[t|_0x22943d>>0x6],_0x44a99a[_0x439a9e++]=_0x1a8e26[0x3f&_0x22943d],_0x5713eb=0x0;}_0x439a9e>0x1fff&&((_0x5a86c0||(_0x5a86c0=[]))['push'](String['fromCharCode']['apply'](String,_0x44a99a)),_0x439a9e=0x0);}return _0x5713eb&&(_0x44a99a[_0x439a9e++]=_0x1a8e26[t],_0x44a99a[_0x439a9e++]=0x3d,0x1===_0x5713eb&&(_0x44a99a[_0x439a9e++]=0x3d)),_0x5a86c0?(_0x439a9e&&_0x5a86c0['push'](String['fromCharCode']['apply'](String,_0x44a99a['slice'](0x0,_0x439a9e))),_0x5a86c0['join']('')):String['fromCharCode']['apply'](String,_0x44a99a['slice'](0x0,_0x439a9e));};var _0x3ccd7d='invalid\x20encoding';_0x15225b['decode']=function(_0xabe947,_0x1b608c,_0x8acbf8){for(var t,_0x1bb85d=_0x8acbf8,_0x15f7a5=0x0,_0x43377=0x0;_0x43377<_0xabe947['length'];){var _0x2e9be9=_0xabe947['charCodeAt'](_0x43377++);if(0x3d===_0x2e9be9&&_0x15f7a5>0x1)break;if(void 0x0===(_0x2e9be9=_0x377618[_0x2e9be9]))throw Error(_0x3ccd7d);switch(_0x15f7a5){case 0x0:t=_0x2e9be9,_0x15f7a5=0x1;break;case 0x1:_0x1b608c[_0x8acbf8++]=t<<0x2|(0x30&_0x2e9be9)>>0x4,t=_0x2e9be9,_0x15f7a5=0x2;break;case 0x2:_0x1b608c[_0x8acbf8++]=(0xf&t)<<0x4|(0x3c&_0x2e9be9)>>0x2,t=_0x2e9be9,_0x15f7a5=0x3;break;case 0x3:_0x1b608c[_0x8acbf8++]=(0x3&t)<<0x6|_0x2e9be9,_0x15f7a5=0x0;}}if(0x1===_0x15f7a5)throw Error(_0x3ccd7d);return _0x8acbf8-_0x1bb85d;},_0x15225b['test']=function(_0x46051f){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0x46051f);};}(_0x3de0e9)),_0x3de0e9),_0x4eb19c['EventEmitter']=(function(){if(_0x3f241b)return _0x4d675d;function _0x1af2c1(){this['_listeners']={};}return _0x3f241b=0x1,_0x4d675d=_0x1af2c1,_0x1af2c1['prototype']['on']=function(_0x3a2469,_0x3e4731,_0x51210c){return(this['_listeners'][_0x3a2469]||(this['_listeners'][_0x3a2469]=[]))['push']({'fn':_0x3e4731,'ctx':_0x51210c||this}),this;},_0x1af2c1['prototype']['off']=function(_0x2e04f1,_0x3f2dde){if(void 0x0===_0x2e04f1)this['_listeners']={};else{if(void 0x0===_0x3f2dde)this['_listeners'][_0x2e04f1]=[];else{for(var _0x5855e2=this['_listeners'][_0x2e04f1],_0xfb6297=0x0;_0xfb6297<_0x5855e2['length'];)_0x5855e2[_0xfb6297]['fn']===_0x3f2dde?_0x5855e2['splice'](_0xfb6297,0x1):++_0xfb6297;}}return this;},_0x1af2c1['prototype']['emit']=function(_0x249e93){var _0xd8bb58=this['_listeners'][_0x249e93];if(_0xd8bb58){for(var _0x190236=[],_0x84d98b=0x1;_0x84d98b<arguments['length'];)_0x190236['push'](arguments[_0x84d98b++]);for(_0x84d98b=0x0;_0x84d98b<_0xd8bb58['length'];)_0xd8bb58[_0x84d98b]['fn']['apply'](_0xd8bb58[_0x84d98b++]['ctx'],_0x190236);}return this;},_0x4d675d;}()),_0x4eb19c['float']=(function(){if(_0xb8042a)return _0x57b93e;function _0x2412f2(_0x56587d){return'undefined'!=typeof Float32Array?(function(){var _0x4d1794=new Float32Array([-0x0]),_0xbff04=new Uint8Array(_0x4d1794['buffer']),_0x5b55dd=0x80===_0xbff04[0x3];function _0x42820c(_0x3cde8e,_0x204cea,_0x94767b){_0x4d1794[0x0]=_0x3cde8e,_0x204cea[_0x94767b]=_0xbff04[0x0],_0x204cea[_0x94767b+0x1]=_0xbff04[0x1],_0x204cea[_0x94767b+0x2]=_0xbff04[0x2],_0x204cea[_0x94767b+0x3]=_0xbff04[0x3];}function _0x3f2056(_0x275abd,_0x59d7b9,_0x5ef77d){_0x4d1794[0x0]=_0x275abd,_0x59d7b9[_0x5ef77d]=_0xbff04[0x3],_0x59d7b9[_0x5ef77d+0x1]=_0xbff04[0x2],_0x59d7b9[_0x5ef77d+0x2]=_0xbff04[0x1],_0x59d7b9[_0x5ef77d+0x3]=_0xbff04[0x0];}function _0x52d267(_0x698f25,_0x5b4074){return _0xbff04[0x0]=_0x698f25[_0x5b4074],_0xbff04[0x1]=_0x698f25[_0x5b4074+0x1],_0xbff04[0x2]=_0x698f25[_0x5b4074+0x2],_0xbff04[0x3]=_0x698f25[_0x5b4074+0x3],_0x4d1794[0x0];}function _0x4f6b31(_0x5a315d,_0x46c4d8){return _0xbff04[0x3]=_0x5a315d[_0x46c4d8],_0xbff04[0x2]=_0x5a315d[_0x46c4d8+0x1],_0xbff04[0x1]=_0x5a315d[_0x46c4d8+0x2],_0xbff04[0x0]=_0x5a315d[_0x46c4d8+0x3],_0x4d1794[0x0];}_0x56587d['writeFloatLE']=_0x5b55dd?_0x42820c:_0x3f2056,_0x56587d['writeFloatBE']=_0x5b55dd?_0x3f2056:_0x42820c,_0x56587d['readFloatLE']=_0x5b55dd?_0x52d267:_0x4f6b31,_0x56587d['readFloatBE']=_0x5b55dd?_0x4f6b31:_0x52d267;}()):(function(){function _0x1b8021(_0x30623c,_0x53c805,_0x58520c,_0x4acda5){var _0x5ed598=_0x53c805<0x0?0x1:0x0;if(_0x5ed598&&(_0x53c805=-_0x53c805),0x0===_0x53c805)_0x30623c(0x1/_0x53c805>0x0?0x0:0x80000000,_0x58520c,_0x4acda5);else{if(isNaN(_0x53c805))_0x30623c(0x7fc00000,_0x58520c,_0x4acda5);else{if(_0x53c805>0xffffff00000000000000000000000000)_0x30623c((_0x5ed598<<0x1f|0x7f800000)>>>0x0,_0x58520c,_0x4acda5);else{if(_0x53c805<1.1754943508222875e-38)_0x30623c((_0x5ed598<<0x1f|Math['round'](_0x53c805/1.401298464324817e-45))>>>0x0,_0x58520c,_0x4acda5);else{var _0x4ef18c=Math['floor'](Math['log'](_0x53c805)/Math['LN2']);_0x30623c((_0x5ed598<<0x1f|_0x4ef18c+0x7f<<0x17|0x7fffff&Math['round'](_0x53c805*Math['pow'](0x2,-_0x4ef18c)*0x800000))>>>0x0,_0x58520c,_0x4acda5);}}}}}function _0x5610ef(_0x135581,_0x5d2cb2,_0x3c487d){var _0xcfc570=_0x135581(_0x5d2cb2,_0x3c487d),_0x14fa07=0x2*(_0xcfc570>>0x1f)+0x1,_0x2f06e8=_0xcfc570>>>0x17&0xff,_0x1a9a43=0x7fffff&_0xcfc570;return 0xff===_0x2f06e8?_0x1a9a43?NaN:_0x14fa07*(0x1/0x0):0x0===_0x2f06e8?1.401298464324817e-45*_0x14fa07*_0x1a9a43:_0x14fa07*Math['pow'](0x2,_0x2f06e8-0x96)*(_0x1a9a43+0x800000);}_0x56587d['writeFloatLE']=_0x1b8021['bind'](null,_0x32e306),_0x56587d['writeFloatBE']=_0x1b8021['bind'](null,_0x2fc159),_0x56587d['readFloatLE']=_0x5610ef['bind'](null,_0x28f025),_0x56587d['readFloatBE']=_0x5610ef['bind'](null,_0x3edc3d);}()),'undefined'!=typeof Float64Array?(function(){var _0x256d70=new Float64Array([-0x0]),_0x2aba9=new Uint8Array(_0x256d70['buffer']),_0x2eea2e=0x80===_0x2aba9[0x7];function _0x118aae(_0x568e7a,_0x5c8752,_0x8d4375){_0x256d70[0x0]=_0x568e7a,_0x5c8752[_0x8d4375]=_0x2aba9[0x0],_0x5c8752[_0x8d4375+0x1]=_0x2aba9[0x1],_0x5c8752[_0x8d4375+0x2]=_0x2aba9[0x2],_0x5c8752[_0x8d4375+0x3]=_0x2aba9[0x3],_0x5c8752[_0x8d4375+0x4]=_0x2aba9[0x4],_0x5c8752[_0x8d4375+0x5]=_0x2aba9[0x5],_0x5c8752[_0x8d4375+0x6]=_0x2aba9[0x6],_0x5c8752[_0x8d4375+0x7]=_0x2aba9[0x7];}function _0x2179e(_0x3b6dcc,_0x42f61e,_0x2f172c){_0x256d70[0x0]=_0x3b6dcc,_0x42f61e[_0x2f172c]=_0x2aba9[0x7],_0x42f61e[_0x2f172c+0x1]=_0x2aba9[0x6],_0x42f61e[_0x2f172c+0x2]=_0x2aba9[0x5],_0x42f61e[_0x2f172c+0x3]=_0x2aba9[0x4],_0x42f61e[_0x2f172c+0x4]=_0x2aba9[0x3],_0x42f61e[_0x2f172c+0x5]=_0x2aba9[0x2],_0x42f61e[_0x2f172c+0x6]=_0x2aba9[0x1],_0x42f61e[_0x2f172c+0x7]=_0x2aba9[0x0];}function _0xbef205(_0x26e40e,_0x1daa77){return _0x2aba9[0x0]=_0x26e40e[_0x1daa77],_0x2aba9[0x1]=_0x26e40e[_0x1daa77+0x1],_0x2aba9[0x2]=_0x26e40e[_0x1daa77+0x2],_0x2aba9[0x3]=_0x26e40e[_0x1daa77+0x3],_0x2aba9[0x4]=_0x26e40e[_0x1daa77+0x4],_0x2aba9[0x5]=_0x26e40e[_0x1daa77+0x5],_0x2aba9[0x6]=_0x26e40e[_0x1daa77+0x6],_0x2aba9[0x7]=_0x26e40e[_0x1daa77+0x7],_0x256d70[0x0];}function _0x35d4ce(_0x2a30ad,_0x24ff5d){return _0x2aba9[0x7]=_0x2a30ad[_0x24ff5d],_0x2aba9[0x6]=_0x2a30ad[_0x24ff5d+0x1],_0x2aba9[0x5]=_0x2a30ad[_0x24ff5d+0x2],_0x2aba9[0x4]=_0x2a30ad[_0x24ff5d+0x3],_0x2aba9[0x3]=_0x2a30ad[_0x24ff5d+0x4],_0x2aba9[0x2]=_0x2a30ad[_0x24ff5d+0x5],_0x2aba9[0x1]=_0x2a30ad[_0x24ff5d+0x6],_0x2aba9[0x0]=_0x2a30ad[_0x24ff5d+0x7],_0x256d70[0x0];}_0x56587d['writeDoubleLE']=_0x2eea2e?_0x118aae:_0x2179e,_0x56587d['writeDoubleBE']=_0x2eea2e?_0x2179e:_0x118aae,_0x56587d['readDoubleLE']=_0x2eea2e?_0xbef205:_0x35d4ce,_0x56587d['readDoubleBE']=_0x2eea2e?_0x35d4ce:_0xbef205;}()):(function(){function _0x404923(_0x435daf,_0x1ce6dc,_0x5ea284,_0x3d7ef7,_0x4c95cb,_0x19eac3){var _0x2eec62=_0x3d7ef7<0x0?0x1:0x0;if(_0x2eec62&&(_0x3d7ef7=-_0x3d7ef7),0x0===_0x3d7ef7)_0x435daf(0x0,_0x4c95cb,_0x19eac3+_0x1ce6dc),_0x435daf(0x1/_0x3d7ef7>0x0?0x0:0x80000000,_0x4c95cb,_0x19eac3+_0x5ea284);else{if(isNaN(_0x3d7ef7))_0x435daf(0x0,_0x4c95cb,_0x19eac3+_0x1ce6dc),_0x435daf(0x7ff80000,_0x4c95cb,_0x19eac3+_0x5ea284);else{if(_0x3d7ef7>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x435daf(0x0,_0x4c95cb,_0x19eac3+_0x1ce6dc),_0x435daf((_0x2eec62<<0x1f|0x7ff00000)>>>0x0,_0x4c95cb,_0x19eac3+_0x5ea284);else{var _0x382fcb;if(_0x3d7ef7<2.2250738585072014e-308)_0x435daf((_0x382fcb=_0x3d7ef7/5e-324)>>>0x0,_0x4c95cb,_0x19eac3+_0x1ce6dc),_0x435daf((_0x2eec62<<0x1f|_0x382fcb/0x100000000)>>>0x0,_0x4c95cb,_0x19eac3+_0x5ea284);else{var _0x3c7b0b=Math['floor'](Math['log'](_0x3d7ef7)/Math['LN2']);0x400===_0x3c7b0b&&(_0x3c7b0b=0x3ff),_0x435daf(0x10000000000000*(_0x382fcb=_0x3d7ef7*Math['pow'](0x2,-_0x3c7b0b))>>>0x0,_0x4c95cb,_0x19eac3+_0x1ce6dc),_0x435daf((_0x2eec62<<0x1f|_0x3c7b0b+0x3ff<<0x14|0x100000*_0x382fcb&0xfffff)>>>0x0,_0x4c95cb,_0x19eac3+_0x5ea284);}}}}}function _0x266506(_0x549171,_0x15ab3a,_0x44f7d4,_0x22ff01,_0x215c18){var _0x54ff43=_0x549171(_0x22ff01,_0x215c18+_0x15ab3a),_0x54cf13=_0x549171(_0x22ff01,_0x215c18+_0x44f7d4),_0x67b678=0x2*(_0x54cf13>>0x1f)+0x1,_0x2ddcb9=_0x54cf13>>>0x14&0x7ff,_0x2923bf=0x100000000*(0xfffff&_0x54cf13)+_0x54ff43;return 0x7ff===_0x2ddcb9?_0x2923bf?NaN:_0x67b678*(0x1/0x0):0x0===_0x2ddcb9?5e-324*_0x67b678*_0x2923bf:_0x67b678*Math['pow'](0x2,_0x2ddcb9-0x433)*(_0x2923bf+0x10000000000000);}_0x56587d['writeDoubleLE']=_0x404923['bind'](null,_0x32e306,0x0,0x4),_0x56587d['writeDoubleBE']=_0x404923['bind'](null,_0x2fc159,0x4,0x0),_0x56587d['readDoubleLE']=_0x266506['bind'](null,_0x28f025,0x0,0x4),_0x56587d['readDoubleBE']=_0x266506['bind'](null,_0x3edc3d,0x4,0x0);}()),_0x56587d;}function _0x32e306(_0x1dd0b5,_0x594a00,_0x7ad893){_0x594a00[_0x7ad893]=0xff&_0x1dd0b5,_0x594a00[_0x7ad893+0x1]=_0x1dd0b5>>>0x8&0xff,_0x594a00[_0x7ad893+0x2]=_0x1dd0b5>>>0x10&0xff,_0x594a00[_0x7ad893+0x3]=_0x1dd0b5>>>0x18;}function _0x2fc159(_0xdd656c,_0x115a3d,_0x382126){_0x115a3d[_0x382126]=_0xdd656c>>>0x18,_0x115a3d[_0x382126+0x1]=_0xdd656c>>>0x10&0xff,_0x115a3d[_0x382126+0x2]=_0xdd656c>>>0x8&0xff,_0x115a3d[_0x382126+0x3]=0xff&_0xdd656c;}function _0x28f025(_0x3daf16,_0x584349){return(_0x3daf16[_0x584349]|_0x3daf16[_0x584349+0x1]<<0x8|_0x3daf16[_0x584349+0x2]<<0x10|_0x3daf16[_0x584349+0x3]<<0x18)>>>0x0;}function _0x3edc3d(_0x1c7758,_0xa8003c){return(_0x1c7758[_0xa8003c]<<0x18|_0x1c7758[_0xa8003c+0x1]<<0x10|_0x1c7758[_0xa8003c+0x2]<<0x8|_0x1c7758[_0xa8003c+0x3])>>>0x0;}return _0xb8042a=0x1,_0x57b93e=_0x2412f2(_0x2412f2);}()),_0x4eb19c['inquire']=_0x542c61?_0x278f22:(_0x542c61=0x1,_0x278f22=function(_0x3b309b){try{var _0x1eb9a9=_0x2bda2e(_0x3b309b);return _0x1eb9a9&&(_0x1eb9a9['length']||Object['keys'](_0x1eb9a9)['length'])?_0x1eb9a9:null;}catch(_0x18d297){return null;}}),_0x4eb19c['utf8']=(_0x33b7df||(_0x33b7df=0x1,function(_0x284324){var _0x129d20=_0x284324;_0x129d20['length']=function(_0x3b6ab4){for(var _0x482241=0x0,_0x40b699=0x0,_0x3fe896=0x0;_0x3fe896<_0x3b6ab4['length'];++_0x3fe896)(_0x40b699=_0x3b6ab4['charCodeAt'](_0x3fe896))<0x80?_0x482241+=0x1:_0x40b699<0x800?_0x482241+=0x2:0xd800==(0xfc00&_0x40b699)&&0xdc00==(0xfc00&_0x3b6ab4['charCodeAt'](_0x3fe896+0x1))?(++_0x3fe896,_0x482241+=0x4):_0x482241+=0x3;return _0x482241;},_0x129d20['read']=function(_0xaea605,_0x47ada2,_0x593e4f){if(_0x593e4f-_0x47ada2<0x1)return'';for(var _0xc22da='',_0x3808d4=_0x47ada2;_0x3808d4<_0x593e4f;){var t=_0xaea605[_0x3808d4++];if(t<=0x7f)_0xc22da+=String['fromCharCode'](t);else{if(t>=0xc0&&t<0xe0){var _0x1ccfc6=(0x1f&t)<<0x6|0x3f&_0xaea605[_0x3808d4++];_0xc22da+=_0x1ccfc6>=0x80?String['fromCharCode'](_0x1ccfc6):'�';}else{if(t>=0xe0&&t<0xf0){var _0x26727a=(0xf&t)<<0xc|(0x3f&_0xaea605[_0x3808d4++])<<0x6|0x3f&_0xaea605[_0x3808d4++];_0xc22da+=_0x26727a>=0x800?String['fromCharCode'](_0x26727a):'�';}else{if(t>=0xf0){var _0x525a00=(0x7&t)<<0x12|(0x3f&_0xaea605[_0x3808d4++])<<0xc|(0x3f&_0xaea605[_0x3808d4++])<<0x6|0x3f&_0xaea605[_0x3808d4++];_0x525a00<0x10000||_0x525a00>0x10ffff?_0xc22da+='�':(_0x525a00-=0x10000,_0xc22da+=String['fromCharCode'](0xd800+(_0x525a00>>0xa)),_0xc22da+=String['fromCharCode'](0xdc00+(0x3ff&_0x525a00)));}}}}}return _0xc22da;},_0x129d20['write']=function(_0x48e27c,_0x4c5551,_0x1e2330){for(var _0x2754fc,_0x5b6df5,_0x493ecc=_0x1e2330,_0x1133e2=0x0;_0x1133e2<_0x48e27c['length'];++_0x1133e2)(_0x2754fc=_0x48e27c['charCodeAt'](_0x1133e2))<0x80?_0x4c5551[_0x1e2330++]=_0x2754fc:_0x2754fc<0x800?(_0x4c5551[_0x1e2330++]=_0x2754fc>>0x6|0xc0,_0x4c5551[_0x1e2330++]=0x3f&_0x2754fc|0x80):0xd800==(0xfc00&_0x2754fc)&&0xdc00==(0xfc00&(_0x5b6df5=_0x48e27c['charCodeAt'](_0x1133e2+0x1)))?(_0x2754fc=0x10000+((0x3ff&_0x2754fc)<<0xa)+(0x3ff&_0x5b6df5),++_0x1133e2,_0x4c5551[_0x1e2330++]=_0x2754fc>>0x12|0xf0,_0x4c5551[_0x1e2330++]=_0x2754fc>>0xc&0x3f|0x80,_0x4c5551[_0x1e2330++]=_0x2754fc>>0x6&0x3f|0x80,_0x4c5551[_0x1e2330++]=0x3f&_0x2754fc|0x80):(_0x4c5551[_0x1e2330++]=_0x2754fc>>0xc|0xe0,_0x4c5551[_0x1e2330++]=_0x2754fc>>0x6&0x3f|0x80,_0x4c5551[_0x1e2330++]=0x3f&_0x2754fc|0x80);return _0x1e2330-_0x493ecc;};}(_0x2d4101)),_0x2d4101),_0x4eb19c['pool']=(_0x484b42||(_0x484b42=0x1,_0x44a9a5=function(_0x5165b1,_0x5c3841,_0x4dee05){var _0xd946d8=_0x4dee05||0x2000,_0x2790d4=_0xd946d8>>>0x1,_0x5b93d7=null,_0x4d9918=_0xd946d8;return function(_0xc81602){if(_0xc81602<0x1||_0xc81602>_0x2790d4)return _0x5165b1(_0xc81602);_0x4d9918+_0xc81602>_0xd946d8&&(_0x5b93d7=_0x5165b1(_0xd946d8),_0x4d9918=0x0);var _0x4ce5de=_0x5c3841['call'](_0x5b93d7,_0x4d9918,_0x4d9918+=_0xc81602);return 0x7&_0x4d9918&&(_0x4d9918=0x1+(0x7|_0x4d9918)),_0x4ce5de;};}),_0x44a9a5),_0x4eb19c['LongBits']=(function(){if(_0x504915)return _0x1c7551;_0x504915=0x1,_0x1c7551=_0x5e7a95;var _0xd870e7=_0x573107();function _0x5e7a95(_0x233c19,_0x1ef92f){this['lo']=_0x233c19>>>0x0,this['hi']=_0x1ef92f>>>0x0;}var _0x5532b5=_0x5e7a95['zero']=new _0x5e7a95(0x0,0x0);_0x5532b5['toNumber']=function(){return 0x0;},_0x5532b5['zzEncode']=_0x5532b5['zzDecode']=function(){return this;},_0x5532b5['length']=function(){return 0x1;};var _0x12d59e=_0x5e7a95['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0x5e7a95['fromNumber']=function(_0x224aef){if(0x0===_0x224aef)return _0x5532b5;var _0x46c196=_0x224aef<0x0;_0x46c196&&(_0x224aef=-_0x224aef);var _0x109be2=_0x224aef>>>0x0,_0x4ac597=(_0x224aef-_0x109be2)/0x100000000>>>0x0;return _0x46c196&&(_0x4ac597=~_0x4ac597>>>0x0,_0x109be2=~_0x109be2>>>0x0,++_0x109be2>0xffffffff&&(_0x109be2=0x0,++_0x4ac597>0xffffffff&&(_0x4ac597=0x0))),new _0x5e7a95(_0x109be2,_0x4ac597);},_0x5e7a95['from']=function(_0x5ec518){if('number'==typeof _0x5ec518)return _0x5e7a95['fromNumber'](_0x5ec518);if(_0xd870e7['isString'](_0x5ec518)){if(!_0xd870e7['Long'])return _0x5e7a95['fromNumber'](parseInt(_0x5ec518,0xa));_0x5ec518=_0xd870e7['Long']['fromString'](_0x5ec518);}return _0x5ec518['low']||_0x5ec518['high']?new _0x5e7a95(_0x5ec518['low']>>>0x0,_0x5ec518['high']>>>0x0):_0x5532b5;},_0x5e7a95['prototype']['toNumber']=function(_0x3dc33c){if(!_0x3dc33c&&this['hi']>>>0x1f){var _0x16e65f=0x1+~this['lo']>>>0x0,_0x375ddb=~this['hi']>>>0x0;return _0x16e65f||(_0x375ddb=_0x375ddb+0x1>>>0x0),-(_0x16e65f+0x100000000*_0x375ddb);}return this['lo']+0x100000000*this['hi'];},_0x5e7a95['prototype']['toLong']=function(_0xcd778a){return _0xd870e7['Long']?new _0xd870e7['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0xcd778a)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0xcd778a)};};var _0x33fdda=String['prototype']['charCodeAt'];return _0x5e7a95['fromHash']=function(_0x17c582){return _0x17c582===_0x12d59e?_0x5532b5:new _0x5e7a95((_0x33fdda['call'](_0x17c582,0x0)|_0x33fdda['call'](_0x17c582,0x1)<<0x8|_0x33fdda['call'](_0x17c582,0x2)<<0x10|_0x33fdda['call'](_0x17c582,0x3)<<0x18)>>>0x0,(_0x33fdda['call'](_0x17c582,0x4)|_0x33fdda['call'](_0x17c582,0x5)<<0x8|_0x33fdda['call'](_0x17c582,0x6)<<0x10|_0x33fdda['call'](_0x17c582,0x7)<<0x18)>>>0x0);},_0x5e7a95['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);},_0x5e7a95['prototype']['zzEncode']=function(){var _0x4ced39=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0x4ced39)>>>0x0,this['lo']=(this['lo']<<0x1^_0x4ced39)>>>0x0,this;},_0x5e7a95['prototype']['zzDecode']=function(){var _0x1b85a9=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x1b85a9)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x1b85a9)>>>0x0,this;},_0x5e7a95['prototype']['length']=function(){var _0x4f43af=this['lo'],_0x12b8d5=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0x54acf7=this['hi']>>>0x18;return 0x0===_0x54acf7?0x0===_0x12b8d5?_0x4f43af<0x4000?_0x4f43af<0x80?0x1:0x2:_0x4f43af<0x200000?0x3:0x4:_0x12b8d5<0x4000?_0x12b8d5<0x80?0x5:0x6:_0x12b8d5<0x200000?0x7:0x8:_0x54acf7<0x80?0x9:0xa;},_0x1c7551;}()),_0x4eb19c['isNode']=Boolean(void 0x0!==_0xf43603&&_0xf43603&&_0xf43603['process']&&_0xf43603['process']['versions']&&_0xf43603['process']['versions']['node']),_0x4eb19c['global']=_0x4eb19c['isNode']&&_0xf43603||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||_0x5e57d1,_0x4eb19c['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0x4eb19c['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0x4eb19c['isInteger']=Number['isInteger']||function(_0x302963){return'number'==typeof _0x302963&&isFinite(_0x302963)&&Math['floor'](_0x302963)===_0x302963;},_0x4eb19c['isString']=function(_0xf4f740){return'string'==typeof _0xf4f740||_0xf4f740 instanceof String;},_0x4eb19c['isObject']=function(_0x25b9cd){return _0x25b9cd&&'object'==typeof _0x25b9cd;},_0x4eb19c['isset']=_0x4eb19c['isSet']=function(_0x57eb69,_0x40831e){var _0x201390=_0x57eb69[_0x40831e];return!(null==_0x201390||!_0x57eb69['hasOwnProperty'](_0x40831e))&&('object'!=typeof _0x201390||(Array['isArray'](_0x201390)?_0x201390['length']:Object['keys'](_0x201390)['length'])>0x0);},_0x4eb19c['Buffer']=(function(){try{var _0x381d7b=_0x4eb19c['inquire']('buffer')['Buffer'];return _0x381d7b['prototype']['utf8Write']?_0x381d7b:null;}catch(_0x11de68){return null;}}()),_0x4eb19c['_Buffer_from']=null,_0x4eb19c['_Buffer_allocUnsafe']=null,_0x4eb19c['newBuffer']=function(_0x4b1c20){return'number'==typeof _0x4b1c20?_0x4eb19c['Buffer']?_0x4eb19c['_Buffer_allocUnsafe'](_0x4b1c20):new _0x4eb19c['Array'](_0x4b1c20):_0x4eb19c['Buffer']?_0x4eb19c['_Buffer_from'](_0x4b1c20):'undefined'==typeof Uint8Array?_0x4b1c20:new Uint8Array(_0x4b1c20);},_0x4eb19c['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0x4eb19c['Long']=_0x4eb19c['global']['dcodeIO']&&_0x4eb19c['global']['dcodeIO']['Long']||_0x4eb19c['global']['Long']||_0x4eb19c['inquire']('long'),_0x4eb19c['key2Re']=/^true|false|0|1$/,_0x4eb19c['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0x4eb19c['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0x4eb19c['longToHash']=function(_0x2fdff8){return _0x2fdff8?_0x4eb19c['LongBits']['from'](_0x2fdff8)['toHash']():_0x4eb19c['LongBits']['zeroHash'];},_0x4eb19c['longFromHash']=function(_0x37e02d,_0x4c3435){var _0x3cabb0=_0x4eb19c['LongBits']['fromHash'](_0x37e02d);return _0x4eb19c['Long']?_0x4eb19c['Long']['fromBits'](_0x3cabb0['lo'],_0x3cabb0['hi'],_0x4c3435):_0x3cabb0['toNumber'](Boolean(_0x4c3435));},_0x4eb19c['merge']=_0x2e7f64,_0x4eb19c['recursionLimit']=0x64,_0x4eb19c['makeProp']=function(_0x3589db,_0x105b81){Object['defineProperty'](_0x3589db,_0x105b81,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0});},_0x4eb19c['lcFirst']=function(_0x45e272){return _0x45e272['charAt'](0x0)['toLowerCase']()+_0x45e272['substring'](0x1);},_0x4eb19c['newError']=_0x3e4af5,_0x4eb19c['ProtocolError']=_0x3e4af5('ProtocolError'),_0x4eb19c['oneOfGetter']=function(_0x332460){for(var _0x310983={},_0x74765b=0x0;_0x74765b<_0x332460['length'];++_0x74765b)_0x310983[_0x332460[_0x74765b]]=0x1;return function(){for(var _0x207cd8=Object['keys'](this),_0xfbe86a=_0x207cd8['length']-0x1;_0xfbe86a>-0x1;--_0xfbe86a)if(0x1===_0x310983[_0x207cd8[_0xfbe86a]]&&void 0x0!==this[_0x207cd8[_0xfbe86a]]&&null!==this[_0x207cd8[_0xfbe86a]])return _0x207cd8[_0xfbe86a];};},_0x4eb19c['oneOfSetter']=function(_0x435b73){return function(_0x2677ef){for(var _0x3aee8f=0x0;_0x3aee8f<_0x435b73['length'];++_0x3aee8f)_0x435b73[_0x3aee8f]!==_0x2677ef&&delete this[_0x435b73[_0x3aee8f]];};},_0x4eb19c['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0x4eb19c['_configure']=function(){var _0x1911d6=_0x4eb19c['Buffer'];_0x1911d6?(_0x4eb19c['_Buffer_from']=_0x1911d6['from']!==Uint8Array['from']&&_0x1911d6['from']||function(_0x3ee3b7,_0x44f2be){return new _0x1911d6(_0x3ee3b7,_0x44f2be);},_0x4eb19c['_Buffer_allocUnsafe']=_0x1911d6['allocUnsafe']||function(_0x24b4ae){return new _0x1911d6(_0x24b4ae);}):_0x4eb19c['_Buffer_from']=_0x4eb19c['_Buffer_allocUnsafe']=null;};}(_0x5e57d1)),_0x5e57d1;}function _0xad7796(){if(_0x1c2423)return _0x598ebe;_0x1c2423=0x1,_0x598ebe=_0x1f7704;var _0x4f1181,_0x342f3b=_0x573107(),_0x49e6cb=_0x342f3b['LongBits'],_0x5b26cc=_0x342f3b['base64'],_0x123e6c=_0x342f3b['utf8'];function _0x27a281(_0x1ee195,_0x1dbcc4,_0x3d9b7b){this['fn']=_0x1ee195,this['len']=_0x1dbcc4,this['next']=void 0x0,this['val']=_0x3d9b7b;}function _0x2015c0(){}function _0x428341(_0x5898c2){this['head']=_0x5898c2['head'],this['tail']=_0x5898c2['tail'],this['len']=_0x5898c2['len'],this['next']=_0x5898c2['states'];}function _0x1f7704(){this['len']=0x0,this['head']=new _0x27a281(_0x2015c0,0x0,0x0),this['tail']=this['head'],this['states']=null;}var _0x2fffaa=function(){return _0x342f3b['Buffer']?function(){return(_0x1f7704['create']=function(){return new _0x4f1181();})();}:function(){return new _0x1f7704();};};function _0x26159b(_0x2baf6b,_0x559801,_0x5ad42f){_0x559801[_0x5ad42f]=0xff&_0x2baf6b;}function _0x465f5b(_0x3fd98a,_0x2dce95){this['len']=_0x3fd98a,this['next']=void 0x0,this['val']=_0x2dce95;}function _0x8fb0bd(_0x109ffe,_0x568fc4,_0x1e8afd){for(;_0x109ffe['hi'];)_0x568fc4[_0x1e8afd++]=0x7f&_0x109ffe['lo']|0x80,_0x109ffe['lo']=(_0x109ffe['lo']>>>0x7|_0x109ffe['hi']<<0x19)>>>0x0,_0x109ffe['hi']>>>=0x7;for(;_0x109ffe['lo']>0x7f;)_0x568fc4[_0x1e8afd++]=0x7f&_0x109ffe['lo']|0x80,_0x109ffe['lo']=_0x109ffe['lo']>>>0x7;_0x568fc4[_0x1e8afd++]=_0x109ffe['lo'];}function _0x4a4584(_0xc0c538,_0x5dd0a9,_0x4d74c2){_0x5dd0a9[_0x4d74c2]=0xff&_0xc0c538,_0x5dd0a9[_0x4d74c2+0x1]=_0xc0c538>>>0x8&0xff,_0x5dd0a9[_0x4d74c2+0x2]=_0xc0c538>>>0x10&0xff,_0x5dd0a9[_0x4d74c2+0x3]=_0xc0c538>>>0x18;}_0x1f7704['create']=_0x2fffaa(),_0x1f7704['alloc']=function(_0x198345){return new _0x342f3b['Array'](_0x198345);},_0x342f3b['Array']!==Array&&(_0x1f7704['alloc']=_0x342f3b['pool'](_0x1f7704['alloc'],_0x342f3b['Array']['prototype']['subarray'])),_0x1f7704['prototype']['_push']=function(_0x4b33c3,_0x2f3e68,_0x37d8e6){return this['tail']=this['tail']['next']=new _0x27a281(_0x4b33c3,_0x2f3e68,_0x37d8e6),this['len']+=_0x2f3e68,this;},_0x465f5b['prototype']=Object['create'](_0x27a281['prototype']),_0x465f5b['prototype']['fn']=function(_0x3d1529,_0xcb6bcb,_0x43d91d){for(;_0x3d1529>0x7f;)_0xcb6bcb[_0x43d91d++]=0x7f&_0x3d1529|0x80,_0x3d1529>>>=0x7;_0xcb6bcb[_0x43d91d]=_0x3d1529;},_0x1f7704['prototype']['uint32']=function(_0x260737){return this['len']+=(this['tail']=this['tail']['next']=new _0x465f5b((_0x260737>>>=0x0)<0x80?0x1:_0x260737<0x4000?0x2:_0x260737<0x200000?0x3:_0x260737<0x10000000?0x4:0x5,_0x260737))['len'],this;},_0x1f7704['prototype']['int32']=function(_0x10bec8){return _0x10bec8<0x0?this['_push'](_0x8fb0bd,0xa,_0x49e6cb['fromNumber'](_0x10bec8)):this['uint32'](_0x10bec8);},_0x1f7704['prototype']['sint32']=function(_0x4056dc){return this['uint32']((_0x4056dc<<0x1^_0x4056dc>>0x1f)>>>0x0);},_0x1f7704['prototype']['uint64']=function(_0x351057){var _0x4e1a17=_0x49e6cb['from'](_0x351057);return this['_push'](_0x8fb0bd,_0x4e1a17['length'](),_0x4e1a17);},_0x1f7704['prototype']['int64']=_0x1f7704['prototype']['uint64'],_0x1f7704['prototype']['sint64']=function(_0x4c6ee2){var _0x39aedb=_0x49e6cb['from'](_0x4c6ee2)['zzEncode']();return this['_push'](_0x8fb0bd,_0x39aedb['length'](),_0x39aedb);},_0x1f7704['prototype']['bool']=function(_0x537f4a){return this['_push'](_0x26159b,0x1,_0x537f4a?0x1:0x0);},_0x1f7704['prototype']['fixed32']=function(_0x26e736){return this['_push'](_0x4a4584,0x4,_0x26e736>>>0x0);},_0x1f7704['prototype']['sfixed32']=_0x1f7704['prototype']['fixed32'],_0x1f7704['prototype']['fixed64']=function(_0x33410f){var _0x151bdc=_0x49e6cb['from'](_0x33410f);return this['_push'](_0x4a4584,0x4,_0x151bdc['lo'])['_push'](_0x4a4584,0x4,_0x151bdc['hi']);},_0x1f7704['prototype']['sfixed64']=_0x1f7704['prototype']['fixed64'],_0x1f7704['prototype']['float']=function(_0x2ec481){return this['_push'](_0x342f3b['float']['writeFloatLE'],0x4,_0x2ec481);},_0x1f7704['prototype']['double']=function(_0x210485){return this['_push'](_0x342f3b['float']['writeDoubleLE'],0x8,_0x210485);};var _0x475dfd=_0x342f3b['Array']['prototype']['set']?function(_0x542af8,_0x257968,_0x50f53c){_0x257968['set'](_0x542af8,_0x50f53c);}:function(_0x141e3c,_0x30d8c9,_0x4b239e){for(var _0x2ed30e=0x0;_0x2ed30e<_0x141e3c['length'];++_0x2ed30e)_0x30d8c9[_0x4b239e+_0x2ed30e]=_0x141e3c[_0x2ed30e];};return _0x1f7704['prototype']['bytes']=function(_0x28f50f){var _0xbc0856=_0x28f50f['length']>>>0x0;if(!_0xbc0856)return this['_push'](_0x26159b,0x1,0x0);if(_0x342f3b['isString'](_0x28f50f)){var _0x23011b=_0x1f7704['alloc'](_0xbc0856=_0x5b26cc['length'](_0x28f50f));_0x5b26cc['decode'](_0x28f50f,_0x23011b,0x0),_0x28f50f=_0x23011b;}return this['uint32'](_0xbc0856)['_push'](_0x475dfd,_0xbc0856,_0x28f50f);},_0x1f7704['prototype']['string']=function(_0xfa081b){var _0x52cada=_0x123e6c['length'](_0xfa081b);return _0x52cada?this['uint32'](_0x52cada)['_push'](_0x123e6c['write'],_0x52cada,_0xfa081b):this['_push'](_0x26159b,0x1,0x0);},_0x1f7704['prototype']['fork']=function(){return this['states']=new _0x428341(this),this['head']=this['tail']=new _0x27a281(_0x2015c0,0x0,0x0),this['len']=0x0,this;},_0x1f7704['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 _0x27a281(_0x2015c0,0x0,0x0),this['len']=0x0),this;},_0x1f7704['prototype']['ldelim']=function(){var _0x34f19c=this['head'],_0x57bb62=this['tail'],_0x32276c=this['len'];return this['reset']()['uint32'](_0x32276c),_0x32276c&&(this['tail']['next']=_0x34f19c['next'],this['tail']=_0x57bb62,this['len']+=_0x32276c),this;},_0x1f7704['prototype']['finish']=function(){for(var _0x51b83e=this['head']['next'],_0x38f380=this['constructor']['alloc'](this['len']),_0x30ab88=0x0;_0x51b83e;)_0x51b83e['fn'](_0x51b83e['val'],_0x38f380,_0x30ab88),_0x30ab88+=_0x51b83e['len'],_0x51b83e=_0x51b83e['next'];return _0x38f380;},_0x1f7704['_configure']=function(_0x9c681e){_0x4f1181=_0x9c681e,_0x1f7704['create']=_0x2fffaa(),_0x4f1181['_configure']();},_0x598ebe;}function _0x3705f7(){if(_0x441276)return _0x36bbc7;_0x441276=0x1,_0x36bbc7=_0x4b748f;var _0xef8a45,_0x1187b9=_0x573107(),_0x3360a7=_0x1187b9['LongBits'],_0x322a43=_0x1187b9['utf8'];function _0x365353(_0x769645,_0x6b3a42){return RangeError('index\x20out\x20of\x20range:\x20'+_0x769645['pos']+'\x20+\x20'+(_0x6b3a42||0x1)+'\x20>\x20'+_0x769645['len']);}function _0x4b748f(_0x8dbf96){this['buf']=_0x8dbf96,this['pos']=0x0,this['len']=_0x8dbf96['length'];}var _0x1b4fd7='undefined'!=typeof Uint8Array?function(_0x27506a){if(_0x27506a instanceof Uint8Array||Array['isArray'](_0x27506a))return new _0x4b748f(_0x27506a);throw Error('illegal\x20buffer');}:function(_0xdb3290){if(Array['isArray'](_0xdb3290))return new _0x4b748f(_0xdb3290);throw Error('illegal\x20buffer');},_0x5d6945=function(){return _0x1187b9['Buffer']?function(_0x1280ce){return(_0x4b748f['create']=function(_0x4a8a66){return _0x1187b9['Buffer']['isBuffer'](_0x4a8a66)?new _0xef8a45(_0x4a8a66):_0x1b4fd7(_0x4a8a66);})(_0x1280ce);}:_0x1b4fd7;};function _0xea2814(){var _0x361304=new _0x3360a7(0x0,0x0),_0x291797=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0x291797<0x3;++_0x291797){if(this['pos']>=this['len'])throw _0x365353(this);if(_0x361304['lo']=(_0x361304['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x291797)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x361304;}return _0x361304['lo']=(_0x361304['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0x291797)>>>0x0,_0x361304;}for(;_0x291797<0x4;++_0x291797)if(_0x361304['lo']=(_0x361304['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x291797)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x361304;if(_0x361304['lo']=(_0x361304['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0x361304['hi']=(_0x361304['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x361304;if(_0x291797=0x0,this['len']-this['pos']>0x4){for(;_0x291797<0x5;++_0x291797)if(_0x361304['hi']=(_0x361304['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x291797+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x361304;}else for(;_0x291797<0x5;++_0x291797){if(this['pos']>=this['len'])throw _0x365353(this);if(_0x361304['hi']=(_0x361304['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x291797+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x361304;}throw Error('invalid\x20varint\x20encoding');}function _0x3b803a(_0xe28bcf,_0x7294c){return(_0xe28bcf[_0x7294c-0x4]|_0xe28bcf[_0x7294c-0x3]<<0x8|_0xe28bcf[_0x7294c-0x2]<<0x10|_0xe28bcf[_0x7294c-0x1]<<0x18)>>>0x0;}function _0x42b220(){if(this['pos']+0x8>this['len'])throw _0x365353(this,0x8);return new _0x3360a7(_0x3b803a(this['buf'],this['pos']+=0x4),_0x3b803a(this['buf'],this['pos']+=0x4));}return _0x4b748f['create']=_0x5d6945(),_0x4b748f['prototype']['_slice']=_0x1187b9['Array']['prototype']['subarray']||_0x1187b9['Array']['prototype']['slice'],_0x4b748f['prototype']['uint32']=(function(){var _0x517c8e=0xffffffff;return function(){if(_0x517c8e=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0x517c8e;if(_0x517c8e=(_0x517c8e|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x517c8e;if(_0x517c8e=(_0x517c8e|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x517c8e;if(_0x517c8e=(_0x517c8e|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x517c8e;if(_0x517c8e=(_0x517c8e|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x517c8e;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],_0x365353(this,0xa);return _0x517c8e;};}()),_0x4b748f['prototype']['int32']=function(){return 0x0|this['uint32']();},_0x4b748f['prototype']['sint32']=function(){var _0x442a42=this['uint32']();return _0x442a42>>>0x1^-(0x1&_0x442a42);},_0x4b748f['prototype']['bool']=function(){return 0x0!==this['uint32']();},_0x4b748f['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x365353(this,0x4);return _0x3b803a(this['buf'],this['pos']+=0x4);},_0x4b748f['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x365353(this,0x4);return 0x0|_0x3b803a(this['buf'],this['pos']+=0x4);},_0x4b748f['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw _0x365353(this,0x4);var _0x4dfd4f=_0x1187b9['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x4dfd4f;},_0x4b748f['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw _0x365353(this,0x4);var _0x1e73cc=_0x1187b9['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0x1e73cc;},_0x4b748f['prototype']['bytes']=function(){var _0x591c45=this['uint32'](),_0x2842f9=this['pos'],_0x2034ac=this['pos']+_0x591c45;if(_0x2034ac>this['len'])throw _0x365353(this,_0x591c45);if(this['pos']+=_0x591c45,Array['isArray'](this['buf']))return this['buf']['slice'](_0x2842f9,_0x2034ac);if(_0x2842f9===_0x2034ac){var _0x7786a1=_0x1187b9['Buffer'];return _0x7786a1?_0x7786a1['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0x2842f9,_0x2034ac);},_0x4b748f['prototype']['string']=function(){var _0x498c25=this['bytes']();return _0x322a43['read'](_0x498c25,0x0,_0x498c25['length']);},_0x4b748f['prototype']['skip']=function(_0x24fd95){if('number'==typeof _0x24fd95){if(this['pos']+_0x24fd95>this['len'])throw _0x365353(this,_0x24fd95);this['pos']+=_0x24fd95;}else do{if(this['pos']>=this['len'])throw _0x365353(this);}while(0x80&this['buf'][this['pos']++]);return this;},_0x4b748f['recursionLimit']=_0x1187b9['recursionLimit'],_0x4b748f['prototype']['skipType']=function(_0x1ceb0a,_0x2d68a0){if(void 0x0===_0x2d68a0&&(_0x2d68a0=0x0),_0x2d68a0>_0x4b748f['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');switch(_0x1ceb0a){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0x1ceb0a=0x7&this['uint32']());)this['skipType'](_0x1ceb0a,_0x2d68a0+0x1);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0x1ceb0a+'\x20at\x20offset\x20'+this['pos']);}return this;},_0x4b748f['_configure']=function(_0x56db05){_0xef8a45=_0x56db05,_0x4b748f['create']=_0x5d6945(),_0xef8a45['_configure']();var _0x561764=_0x1187b9['Long']?'toLong':'toNumber';_0x1187b9['merge'](_0x4b748f['prototype'],{'int64':function(){return _0xea2814['call'](this)[_0x561764](!0x1);},'uint64':function(){return _0xea2814['call'](this)[_0x561764](!0x0);},'sint64':function(){return _0xea2814['call'](this)['zzDecode']()[_0x561764](!0x1);},'fixed64':function(){return _0x42b220['call'](this)[_0x561764](!0x0);},'sfixed64':function(){return _0x42b220['call'](this)[_0x561764](!0x1);}});},_0x36bbc7;}var _0x2eba88,_0x8e45b,_0x844459,_0x2814df,_0x1a5ea3,_0x2a3aab,_0x4f2e57,_0x18508d,tf={};function _0x4b3ca0(){return _0x844459||(_0x844459=0x1,function(_0x529e70){_0x529e70['Service']=(function(){if(_0x8e45b)return _0x2eba88;_0x8e45b=0x1,_0x2eba88=_0x44dded;var _0x1b444f=_0x573107();function _0x44dded(_0x2f70ff,_0x13d1f6,_0x4c1b0c){if('function'!=typeof _0x2f70ff)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');_0x1b444f['EventEmitter']['call'](this),this['rpcImpl']=_0x2f70ff,this['requestDelimited']=Boolean(_0x13d1f6),this['responseDelimited']=Boolean(_0x4c1b0c);}return(_0x44dded['prototype']=Object['create'](_0x1b444f['EventEmitter']['prototype']))['constructor']=_0x44dded,_0x44dded['prototype']['rpcCall']=function _0x7de5c6(_0x27ddef,_0xc36192,_0x5d7806,_0x310b22,_0x3d43a9){if(!_0x310b22)throw TypeError('request\x20must\x20be\x20specified');var _0x2e041f=this;if(!_0x3d43a9)return _0x1b444f['asPromise'](_0x7de5c6,_0x2e041f,_0x27ddef,_0xc36192,_0x5d7806,_0x310b22);if(_0x2e041f['rpcImpl'])try{return _0x2e041f['rpcImpl'](_0x27ddef,_0xc36192[_0x2e041f['requestDelimited']?'encodeDelimited':'encode'](_0x310b22)['finish'](),function(_0x369acf,_0x1e14fc){if(_0x369acf)return _0x2e041f['emit']('error',_0x369acf,_0x27ddef),_0x3d43a9(_0x369acf);if(null!==_0x1e14fc){if(!(_0x1e14fc instanceof _0x5d7806))try{_0x1e14fc=_0x5d7806[_0x2e041f['responseDelimited']?'decodeDelimited':'decode'](_0x1e14fc);}catch(_0x1ee80f){return _0x2e041f['emit']('error',_0x1ee80f,_0x27ddef),_0x3d43a9(_0x1ee80f);}return _0x2e041f['emit']('data',_0x1e14fc,_0x27ddef),_0x3d43a9(null,_0x1e14fc);}_0x2e041f['end'](!0x0);});}catch(_0x5c0b5f){return _0x2e041f['emit']('error',_0x5c0b5f,_0x27ddef),void setTimeout(function(){_0x3d43a9(_0x5c0b5f);},0x0);}else setTimeout(function(){_0x3d43a9(Error('already\x20ended'));},0x0);},_0x44dded['prototype']['end']=function(_0xb02a88){return this['rpcImpl']&&(_0xb02a88||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;},_0x2eba88;}());}(tf)),tf;}function _0x51a712(){return _0x2a3aab||(_0x2a3aab=0x1,function(_0x7bc065){var _0x3b2de0=_0x7bc065;function _0x4c2df4(){_0x3b2de0['util']['_configure'](),_0x3b2de0['Writer']['_configure'](_0x3b2de0['BufferWriter']),_0x3b2de0['Reader']['_configure'](_0x3b2de0['BufferReader']);}_0x3b2de0['build']='minimal',_0x3b2de0['Writer']=_0xad7796(),_0x3b2de0['BufferWriter']=(function(){if(_0x484bb8)return _0x2e3e11;_0x484bb8=0x1,_0x2e3e11=_0x402d6d;var _0x51d158=_0xad7796();(_0x402d6d['prototype']=Object['create'](_0x51d158['prototype']))['constructor']=_0x402d6d;var _0x3bdf98=_0x573107();function _0x402d6d(){_0x51d158['call'](this);}function _0x43c7ab(_0x506fae,_0x3c250e,_0x30658a){_0x506fae['length']<0x28?_0x3bdf98['utf8']['write'](_0x506fae,_0x3c250e,_0x30658a):_0x3c250e['utf8Write']?_0x3c250e['utf8Write'](_0x506fae,_0x30658a):_0x3c250e['write'](_0x506fae,_0x30658a);}return _0x402d6d['_configure']=function(){_0x402d6d['alloc']=_0x3bdf98['_Buffer_allocUnsafe'],_0x402d6d['writeBytesBuffer']=_0x3bdf98['Buffer']&&_0x3bdf98['Buffer']['prototype']instanceof Uint8Array&&'set'===_0x3bdf98['Buffer']['prototype']['set']['name']?function(_0xc923c4,_0xb90799,_0x36f610){_0xb90799['set'](_0xc923c4,_0x36f610);}:function(_0x1684f5,_0x521c45,_0x146b27){if(_0x1684f5['copy'])_0x1684f5['copy'](_0x521c45,_0x146b27,0x0,_0x1684f5['length']);else{for(var _0x5b63d0=0x0;_0x5b63d0<_0x1684f5['length'];)_0x521c45[_0x146b27++]=_0x1684f5[_0x5b63d0++];}};},_0x402d6d['prototype']['bytes']=function(_0x5835e8){_0x3bdf98['isString'](_0x5835e8)&&(_0x5835e8=_0x3bdf98['_Buffer_from'](_0x5835e8,'base64'));var _0x32d854=_0x5835e8['length']>>>0x0;return this['uint32'](_0x32d854),_0x32d854&&this['_push'](_0x402d6d['writeBytesBuffer'],_0x32d854,_0x5835e8),this;},_0x402d6d['prototype']['string']=function(_0x2dacff){var _0xc199ea=_0x3bdf98['Buffer']['byteLength'](_0x2dacff);return this['uint32'](_0xc199ea),_0xc199ea&&this['_push'](_0x43c7ab,_0xc199ea,_0x2dacff),this;},_0x402d6d['_configure'](),_0x2e3e11;}()),_0x3b2de0['Reader']=_0x3705f7(),_0x3b2de0['BufferReader']=(function(){if(_0x582140)return _0x4399e2;_0x582140=0x1,_0x4399e2=_0x5edea3;var _0x444e65=_0x3705f7();(_0x5edea3['prototype']=Object['create'](_0x444e65['prototype']))['constructor']=_0x5edea3;var _0x5373ef=_0x573107();function _0x5edea3(_0x16b7f4){_0x444e65['call'](this,_0x16b7f4);}return _0x5edea3['_configure']=function(){_0x5373ef['Buffer']&&(_0x5edea3['prototype']['_slice']=_0x5373ef['Buffer']['prototype']['slice']);},_0x5edea3['prototype']['string']=function(){var _0x41995e=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0x41995e,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0x41995e,this['len']));},_0x5edea3['_configure'](),_0x4399e2;}()),_0x3b2de0['util']=_0x573107(),_0x3b2de0['rpc']=_0x4b3ca0(),_0x3b2de0['roots']=_0x1a5ea3?_0x2814df:(_0x1a5ea3=0x1,_0x2814df={}),_0x3b2de0['configure']=_0x4c2df4,_0x4c2df4();}(_0x1c866f)),_0x1c866f;}var _0x56243c=_0x18508d?_0x4f2e57:(_0x18508d=0x1,_0x4f2e57=_0x51a712());const _0x387382=Object['create'](null);_0x387382['open']='0',_0x387382['close']='1',_0x387382['ping']='2',_0x387382['pong']='3',_0x387382['message']='4',_0x387382['upgrade']='5',_0x387382['noop']='6';const _0x454e82=Object['create'](null);Object['keys'](_0x387382)['forEach'](_0x2a2991=>{_0x454e82[_0x387382[_0x2a2991]]=_0x2a2991;});const _0x137cf9={'type':'error','data':'parser\x20error'},_0x399661='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===Object['prototype']['toString']['call'](Blob),_0x58af87='function'==typeof ArrayBuffer,_0x82f73c=_0x33c608=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x33c608):_0x33c608&&_0x33c608['buffer']instanceof ArrayBuffer,_0x1ec13e=({type:_0x272631,data:_0x52c832},_0x2d8d83,_0x41e0fa)=>_0x399661&&_0x52c832 instanceof Blob?_0x2d8d83?_0x41e0fa(_0x52c832):_0x3a0888(_0x52c832,_0x41e0fa):_0x58af87&&(_0x52c832 instanceof ArrayBuffer||_0x82f73c(_0x52c832))?_0x2d8d83?_0x41e0fa(_0x52c832):_0x3a0888(new Blob([_0x52c832]),_0x41e0fa):_0x41e0fa(_0x387382[_0x272631]+(_0x52c832||'')),_0x3a0888=(_0x11da57,_0x1b2c1b)=>{const _0x154bee=new FileReader();return _0x154bee['onload']=function(){const _0x337438=_0x154bee['result']['split'](',')[0x1];_0x1b2c1b('b'+(_0x337438||''));},_0x154bee['readAsDataURL'](_0x11da57);};function _0xf6496(_0x1d2111){return _0x1d2111 instanceof Uint8Array?_0x1d2111:_0x1d2111 instanceof ArrayBuffer?new Uint8Array(_0x1d2111):new Uint8Array(_0x1d2111['buffer'],_0x1d2111['byteOffset'],_0x1d2111['byteLength']);}let _0x552406;const _0x5e3f14='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',_0x5d867c='undefined'==typeof Uint8Array?[]:new Uint8Array(0x100);for(let _0x3f36d8=0x0;_0x3f36d8<0x40;_0x3f36d8++)_0x5d867c[_0x5e3f14['charCodeAt'](_0x3f36d8)]=_0x3f36d8;const _0x4a57af='function'==typeof ArrayBuffer,_0x25fe22=(_0x553ad0,_0x5395ba)=>{if('string'!=typeof _0x553ad0)return{'type':'message','data':_0x296ca1(_0x553ad0,_0x5395ba)};const _0x78fd7c=_0x553ad0['charAt'](0x0);if('b'===_0x78fd7c)return{'type':'message','data':_0x22857b(_0x553ad0['substring'](0x1),_0x5395ba)};return _0x454e82[_0x78fd7c]?_0x553ad0['length']>0x1?{'type':_0x454e82[_0x78fd7c],'data':_0x553ad0['substring'](0x1)}:{'type':_0x454e82[_0x78fd7c]}:_0x137cf9;},_0x22857b=(_0x448008,_0x4bba3a)=>{if(_0x4a57af){const _0x580776=(_0x53ef68=>{let _0x1277d5,_0x18cd8c,_0x4136c1,_0xa238e4,_0x17b08d,_0x49d33b=0.75*_0x53ef68['length'],_0x4ceb65=_0x53ef68['length'],_0x3b1ff9=0x0;'='===_0x53ef68[_0x53ef68['length']-0x1]&&(_0x49d33b--,'='===_0x53ef68[_0x53ef68['length']-0x2]&&_0x49d33b--);const _0x415374=new ArrayBuffer(_0x49d33b),_0x4c59af=new Uint8Array(_0x415374);for(_0x1277d5=0x0;_0x1277d5<_0x4ceb65;_0x1277d5+=0x4)_0x18cd8c=_0x5d867c[_0x53ef68['charCodeAt'](_0x1277d5)],_0x4136c1=_0x5d867c[_0x53ef68['charCodeAt'](_0x1277d5+0x1)],_0xa238e4=_0x5d867c[_0x53ef68['charCodeAt'](_0x1277d5+0x2)],_0x17b08d=_0x5d867c[_0x53ef68['charCodeAt'](_0x1277d5+0x3)],_0x4c59af[_0x3b1ff9++]=_0x18cd8c<<0x2|_0x4136c1>>0x4,_0x4c59af[_0x3b1ff9++]=(0xf&_0x4136c1)<<0x4|_0xa238e4>>0x2,_0x4c59af[_0x3b1ff9++]=(0x3&_0xa238e4)<<0x6|0x3f&_0x17b08d;return _0x415374;})(_0x448008);return _0x296ca1(_0x580776,_0x4bba3a);}return{'base64':!0x0,'data':_0x448008};},_0x296ca1=(_0x391bb2,_0x26e6c4)=>'blob'===_0x26e6c4?_0x391bb2 instanceof Blob?_0x391bb2:new Blob([_0x391bb2]):_0x391bb2 instanceof ArrayBuffer?_0x391bb2:_0x391bb2['buffer'],_0x51697d=String['fromCharCode'](0x1e);function _0x3b4e1d(){return new TransformStream({'transform'(_0x38c431,_0x369a5e){!function(_0x39ada9,_0x4c5aad){_0x399661&&_0x39ada9['data']instanceof Blob?_0x39ada9['data']['arrayBuffer']()['then'](_0xf6496)['then'](_0x4c5aad):_0x58af87&&(_0x39ada9['data']instanceof ArrayBuffer||_0x82f73c(_0x39ada9['data']))?_0x4c5aad(_0xf6496(_0x39ada9['data'])):_0x1ec13e(_0x39ada9,!0x1,_0x5b3423=>{_0x552406||(_0x552406=new TextEncoder()),_0x4c5aad(_0x552406['encode'](_0x5b3423));});}(_0x38c431,_0x4e934d=>{const _0x47efeb=_0x4e934d['length'];let _0x40d3ef;if(_0x47efeb<0x7e)_0x40d3ef=new Uint8Array(0x1),new DataView(_0x40d3ef['buffer'])['setUint8'](0x0,_0x47efeb);else{if(_0x47efeb<0x10000){_0x40d3ef=new Uint8Array(0x3);const _0x55f5d8=new DataView(_0x40d3ef['buffer']);_0x55f5d8['setUint8'](0x0,0x7e),_0x55f5d8['setUint16'](0x1,_0x47efeb);}else{_0x40d3ef=new Uint8Array(0x9);const _0x5547f2=new DataView(_0x40d3ef['buffer']);_0x5547f2['setUint8'](0x0,0x7f),_0x5547f2['setBigUint64'](0x1,BigInt(_0x47efeb));}}_0x38c431['data']&&'string'!=typeof _0x38c431['data']&&(_0x40d3ef[0x0]|=0x80),_0x369a5e['enqueue'](_0x40d3ef),_0x369a5e['enqueue'](_0x4e934d);});}});}let _0x8f62f8;function _0x94d651(_0x5ef2ae){return _0x5ef2ae['reduce']((_0x242be5,_0x3c71ee)=>_0x242be5+_0x3c71ee['length'],0x0);}function _0x55b86c(_0x8cc109,_0x33a562){if(_0x8cc109[0x0]['length']===_0x33a562)return _0x8cc109['shift']();const _0x349b82=new Uint8Array(_0x33a562);let _0x4138c8=0x0;for(let _0x208ac8=0x0;_0x208ac8<_0x33a562;_0x208ac8++)_0x349b82[_0x208ac8]=_0x8cc109[0x0][_0x4138c8++],_0x4138c8===_0x8cc109[0x0]['length']&&(_0x8cc109['shift'](),_0x4138c8=0x0);return _0x8cc109['length']&&_0x4138c8<_0x8cc109[0x0]['length']&&(_0x8cc109[0x0]=_0x8cc109[0x0]['slice'](_0x4138c8)),_0x349b82;}function _0x3cf4ac(_0x3c6e38){if(_0x3c6e38)return function(_0x55c341){for(var _0x3bea47 in _0x3cf4ac['prototype'])_0x55c341[_0x3bea47]=_0x3cf4ac['prototype'][_0x3bea47];return _0x55c341;}(_0x3c6e38);}_0x3cf4ac['prototype']['on']=_0x3cf4ac['prototype']['addEventListener']=function(_0x4159e4,_0x1f9de6){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0x4159e4]=this['_callbacks']['$'+_0x4159e4]||[])['push'](_0x1f9de6),this;},_0x3cf4ac['prototype']['once']=function(_0x1e85ee,_0x4df9d9){function _0x5ea649(){this['off'](_0x1e85ee,_0x5ea649),_0x4df9d9['apply'](this,arguments);}return _0x5ea649['fn']=_0x4df9d9,this['on'](_0x1e85ee,_0x5ea649),this;},_0x3cf4ac['prototype']['off']=_0x3cf4ac['prototype']['removeListener']=_0x3cf4ac['prototype']['removeAllListeners']=_0x3cf4ac['prototype']['removeEventListener']=function(_0x442781,_0x65b7a4){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0x4e7bef,_0x375342=this['_callbacks']['$'+_0x442781];if(!_0x375342)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0x442781],this;for(var _0x281f0e=0x0;_0x281f0e<_0x375342['length'];_0x281f0e++)if((_0x4e7bef=_0x375342[_0x281f0e])===_0x65b7a4||_0x4e7bef['fn']===_0x65b7a4){_0x375342['splice'](_0x281f0e,0x1);break;}return 0x0===_0x375342['length']&&delete this['_callbacks']['$'+_0x442781],this;},_0x3cf4ac['prototype']['emit']=function(_0x330abb){this['_callbacks']=this['_callbacks']||{};for(var _0x4f8aac=new Array(arguments['length']-0x1),_0x1f1d77=this['_callbacks']['$'+_0x330abb],_0x2054bb=0x1;_0x2054bb<arguments['length'];_0x2054bb++)_0x4f8aac[_0x2054bb-0x1]=arguments[_0x2054bb];if(_0x1f1d77){_0x2054bb=0x0;for(var _0x2f69d7=(_0x1f1d77=_0x1f1d77['slice'](0x0))['length'];_0x2054bb<_0x2f69d7;++_0x2054bb)_0x1f1d77[_0x2054bb]['apply'](this,_0x4f8aac);}return this;},_0x3cf4ac['prototype']['emitReserved']=_0x3cf4ac['prototype']['emit'],_0x3cf4ac['prototype']['listeners']=function(_0x3310c1){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0x3310c1]||[];},_0x3cf4ac['prototype']['hasListeners']=function(_0x4b801d){return!!this['listeners'](_0x4b801d)['length'];};const _0xdf0ba4='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function _0x4b7ed7(_0x372c7a,..._0xec0357){return _0xec0357['reduce']((_0x21a0ac,_0x540561)=>(_0x372c7a['hasOwnProperty'](_0x540561)&&(_0x21a0ac[_0x540561]=_0x372c7a[_0x540561]),_0x21a0ac),{});}const _0x3c16bd=_0xdf0ba4['setTimeout'],_0x2a20f3=_0xdf0ba4['clearTimeout'];function _0x26b9f1(_0x447f44,_0x4e6247){_0x4e6247['useNativeTimers']?(_0x447f44['setTimeoutFn']=_0x3c16bd['bind'](_0xdf0ba4),_0x447f44['clearTimeoutFn']=_0x2a20f3['bind'](_0xdf0ba4)):(_0x447f44['setTimeoutFn']=_0xdf0ba4['setTimeout']['bind'](_0xdf0ba4),_0x447f44['clearTimeoutFn']=_0xdf0ba4['clearTimeout']['bind'](_0xdf0ba4));}function _0x2ce4d9(_0x3f6904){return'string'==typeof _0x3f6904?function(_0x25c0a6){let _0x3c3774=0x0,_0x2f9dad=0x0;for(let _0x4bca60=0x0,_0x3a5695=_0x25c0a6['length'];_0x4bca60<_0x3a5695;_0x4bca60++)_0x3c3774=_0x25c0a6['charCodeAt'](_0x4bca60),_0x3c3774<0x80?_0x2f9dad+=0x1:_0x3c3774<0x800?_0x2f9dad+=0x2:_0x3c3774<0xd800||_0x3c3774>=0xe000?_0x2f9dad+=0x3:(_0x4bca60++,_0x2f9dad+=0x4);return _0x2f9dad;}(_0x3f6904):Math['ceil'](1.33*(_0x3f6904['byteLength']||_0x3f6904['size']));}class TransportError extends Error{constructor(_0x1ac21a,_0x24a982,_0x27fa7c){super(_0x1ac21a),this['description']=_0x24a982,this['context']=_0x27fa7c,this['type']='TransportError';}}class Transport extends _0x3cf4ac{constructor(_0x53a58c){super(),this['writable']=!0x1,_0x26b9f1(this,_0x53a58c),this['opts']=_0x53a58c,this['query']=_0x53a58c['query'],this['socket']=_0x53a58c['socket'];}['onError'](_0x10138b,_0x10785d,_0x20e477){return super['emitReserved']('error',new TransportError(_0x10138b,_0x10785d,_0x20e477)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0x586595){'open'===this['readyState']&&this['write'](_0x586595);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}['onData'](_0x2859f4){const _0x510f4c=_0x25fe22(_0x2859f4,this['socket']['binaryType']);this['onPacket'](_0x510f4c);}['onPacket'](_0x1224bc){super['emitReserved']('packet',_0x1224bc);}['onClose'](_0x2954ba){this['readyState']='closed',super['emitReserved']('close',_0x2954ba);}['pause'](_0xb1b651){}['createUri'](_0xc6d834,_0x353680={}){return _0xc6d834+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x353680);}['_hostname'](){const _0x2b9b6c=this['opts']['hostname'];return-0x1===_0x2b9b6c['indexOf'](':')?_0x2b9b6c:'['+_0x2b9b6c+']';}['_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'](_0x38ad12){const _0x25ce89=function(_0x526166){let _0x51993a='';for(let _0x995fcb in _0x526166)_0x526166['hasOwnProperty'](_0x995fcb)&&(_0x51993a['length']&&(_0x51993a+='&'),_0x51993a+=encodeURIComponent(_0x995fcb)+'='+encodeURIComponent(_0x526166[_0x995fcb]));return _0x51993a;}(_0x38ad12);return _0x25ce89['length']?'?'+_0x25ce89:'';}}const _0x167b6a='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split'](''),_0x537067={};let _0x40a1bd,_0x5b506d=0x0,_0x2f3d0a=0x0;function _0x3e6723(_0x1392ba){let _0x59c9ac='';do{_0x59c9ac=_0x167b6a[_0x1392ba%0x40]+_0x59c9ac,_0x1392ba=Math['floor'](_0x1392ba/0x40);}while(_0x1392ba>0x0);return _0x59c9ac;}function _0x1d024d(){const _0x12d48b=_0x3e6723(+new Date());return _0x12d48b!==_0x40a1bd?(_0x5b506d=0x0,_0x40a1bd=_0x12d48b):_0x12d48b+'.'+_0x3e6723(_0x5b506d++);}for(;_0x2f3d0a<0x40;_0x2f3d0a++)_0x537067[_0x167b6a[_0x2f3d0a]]=_0x2f3d0a;let _0x2f0a45=!0x1;try{_0x2f0a45='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0x1dc3f9){}const _0x4c31df=_0x2f0a45;function _0x22e5eb(_0x2e6d46){const _0x308ba1=_0x2e6d46['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0x308ba1||_0x4c31df))return new XMLHttpRequest();}catch(_0x1db023){}if(!_0x308ba1)try{return new _0xdf0ba4[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0xf56590){}}function _0x41531d(){}const _0x1b2869=null!=new _0x22e5eb({'xdomain':!0x1})['responseType'];class Request extends _0x3cf4ac{constructor(_0xb08adf,_0x1b6353){super(),_0x26b9f1(this,_0x1b6353),this['opts']=_0x1b6353,this['method']=_0x1b6353['method']||'GET',this['uri']=_0xb08adf,this['data']=void 0x0!==_0x1b6353['data']?_0x1b6353['data']:null,this['create']();}['create'](){var _0x17ae27;const _0x18a746=_0x4b7ed7(this['opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0x18a746['xdomain']=!!this['opts']['xd'];const _0x4e782d=this['xhr']=new _0x22e5eb(_0x18a746);try{_0x4e782d['open'](this['method'],this['uri'],!0x0);try{if(this['opts']['extraHeaders']){_0x4e782d['setDisableHeaderCheck']&&_0x4e782d['setDisableHeaderCheck'](!0x0);for(let _0x5aabd1 in this['opts']['extraHeaders'])this['opts']['extraHeaders']['hasOwnProperty'](_0x5aabd1)&&_0x4e782d['setRequestHeader'](_0x5aabd1,this['opts']['extraHeaders'][_0x5aabd1]);}}catch(_0x331a7e){}if('POST'===this['method'])try{_0x4e782d['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0x2440bc){}try{_0x4e782d['setRequestHeader']('Accept','*/*');}catch(_0x342596){}null===(_0x17ae27=this['opts']['cookieJar'])||void 0x0===_0x17ae27||_0x17ae27['addCookies'](_0x4e782d),'withCredentials'in _0x4e782d&&(_0x4e782d['withCredentials']=this['opts']['withCredentials']),this['opts']['requestTimeout']&&(_0x4e782d['timeout']=this['opts']['requestTimeout']),_0x4e782d['onreadystatechange']=()=>{var _0x3e57fd;0x3===_0x4e782d['readyState']&&(null===(_0x3e57fd=this['opts']['cookieJar'])||void 0x0===_0x3e57fd||_0x3e57fd['parseCookies'](_0x4e782d)),0x4===_0x4e782d['readyState']&&(0xc8===_0x4e782d['status']||0x4c7===_0x4e782d['status']?this['onLoad']():this['setTimeoutFn'](()=>{this['onError']('number'==typeof _0x4e782d['status']?_0x4e782d['status']:0x0);},0x0));},_0x4e782d['send'](this['data']);}catch(_0x5ba7f7){return void this['setTimeoutFn'](()=>{this['onError'](_0x5ba7f7);},0x0);}'undefined'!=typeof document&&(this['index']=Request['requestsCount']++,Request['requests'][this['index']]=this);}['onError'](_0xa316ad){this['emitReserved']('error',_0xa316ad,this['xhr']),this['cleanup'](!0x0);}['cleanup'](_0x225c1d){if(void 0x0!==this['xhr']&&null!==this['xhr']){if(this['xhr']['onreadystatechange']=_0x41531d,_0x225c1d)try{this['xhr']['abort']();}catch(_0x217272){}'undefined'!=typeof document&&delete Request['requests'][this['index']],this['xhr']=null;}}['onLoad'](){const _0x292b74=this['xhr']['responseText'];null!==_0x292b74&&(this['emitReserved']('data',_0x292b74),this['emitReserved']('success'),this['cleanup']());}['abort'](){this['cleanup']();}}if(Request['requestsCount']=0x0,Request['requests']={},'undefined'!=typeof document){if('function'==typeof attachEvent)attachEvent('onunload',_0x3901c8);else'function'==typeof addEventListener&&addEventListener('onpagehide'in _0xdf0ba4?'pagehide':'unload',_0x3901c8,!0x1);}function _0x3901c8(){for(let _0x710215 in Request['requests'])Request['requests']['hasOwnProperty'](_0x710215)&&Request['requests'][_0x710215]['abort']();}const _0x762178='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x321159=>Promise['resolve']()['then'](_0x321159):(_0x1fe488,_0x36448e)=>_0x36448e(_0x1fe488,0x0),_0x2dd54a=_0xdf0ba4['WebSocket']||_0xdf0ba4['MozWebSocket'],_0x19f544='undefined'!=typeof navigator&&'string'==typeof navigator['product']&&'reactnative'===navigator['product']['toLowerCase'](),_0x3b136e={'websocket':class _0x46b40c extends Transport{constructor(_0x3c48d4){super(_0x3c48d4),this['supportsBinary']=!_0x3c48d4['forceBase64'];}get['name'](){return'websocket';}['doOpen'](){if(!this['check']())return;const _0x479308=this['uri'](),_0x14de3d=this['opts']['protocols'],_0x55a10c=_0x19f544?{}:_0x4b7ed7(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0x55a10c['headers']=this['opts']['extraHeaders']);try{this['ws']=_0x19f544?new _0x2dd54a(_0x479308,_0x14de3d,_0x55a10c):_0x14de3d?new _0x2dd54a(_0x479308,_0x14de3d):new _0x2dd54a(_0x479308);}catch(_0x270bd3){return this['emitReserved']('error',_0x270bd3);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}['addEventListeners'](){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0x2146d4=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0x2146d4}),this['ws']['onmessage']=_0xf8da82=>this['onData'](_0xf8da82['data']),this['ws']['onerror']=_0x412d34=>this['onError']('websocket\x20error',_0x412d34);}['write'](_0x248b78){this['writable']=!0x1;for(let _0x4ec23e=0x0;_0x4ec23e<_0x248b78['length'];_0x4ec23e++){const _0x59e6d6=_0x248b78[_0x4ec23e],_0x2d280b=_0x4ec23e===_0x248b78['length']-0x1;_0x1ec13e(_0x59e6d6,this['supportsBinary'],_0x3e2435=>{try{this['ws']['send'](_0x3e2435);}catch(_0x232026){}_0x2d280b&&_0x762178(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['close'](),this['ws']=null);}['uri'](){const _0xc53a0a=this['opts']['secure']?'wss':'ws',_0x20a1b5=this['query']||{};return this['opts']['timestampRequests']&&(_0x20a1b5[this['opts']['timestampParam']]=_0x1d024d()),this['supportsBinary']||(_0x20a1b5['b64']=0x1),this['createUri'](_0xc53a0a,_0x20a1b5);}['check'](){return!!_0x2dd54a;}},'webtransport':class _0x2b8c67 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'](_0x7781fd=>{this['onError']('webtransport\x20error',_0x7781fd);}),this['transport']['ready']['then'](()=>{this['transport']['createBidirectionalStream']()['then'](_0x243221=>{const _0x4ed29f=function(_0x35eea2,_0x3e436b){_0x8f62f8||(_0x8f62f8=new TextDecoder());const _0x5ae814=[];let _0x1e5706=0x0,_0x2c7837=-0x1,_0xe37bb8=!0x1;return new TransformStream({'transform'(_0x2bb92c,_0x5e37ae){for(_0x5ae814['push'](_0x2bb92c);;){if(0x0===_0x1e5706){if(_0x94d651(_0x5ae814)<0x1)break;const _0x4c940f=_0x55b86c(_0x5ae814,0x1);_0xe37bb8=!(0x80&~_0x4c940f[0x0]),_0x2c7837=0x7f&_0x4c940f[0x0],_0x1e5706=_0x2c7837<0x7e?0x3:0x7e===_0x2c7837?0x1:0x2;}else{if(0x1===_0x1e5706){if(_0x94d651(_0x5ae814)<0x2)break;const _0x4bdc8e=_0x55b86c(_0x5ae814,0x2);_0x2c7837=new DataView(_0x4bdc8e['buffer'],_0x4bdc8e['byteOffset'],_0x4bdc8e['length'])['getUint16'](0x0),_0x1e5706=0x3;}else{if(0x2===_0x1e5706){if(_0x94d651(_0x5ae814)<0x8)break;const _0x3da69d=_0x55b86c(_0x5ae814,0x8),_0x51a95e=new DataView(_0x3da69d['buffer'],_0x3da69d['byteOffset'],_0x3da69d['length']),_0x5b2b10=_0x51a95e['getUint32'](0x0);if(_0x5b2b10>Math['pow'](0x2,0x15)-0x1){_0x5e37ae['enqueue'](_0x137cf9);break;}_0x2c7837=_0x5b2b10*Math['pow'](0x2,0x20)+_0x51a95e['getUint32'](0x4),_0x1e5706=0x3;}else{if(_0x94d651(_0x5ae814)<_0x2c7837)break;const _0x250460=_0x55b86c(_0x5ae814,_0x2c7837);_0x5e37ae['enqueue'](_0x25fe22(_0xe37bb8?_0x250460:_0x8f62f8['decode'](_0x250460),_0x3e436b)),_0x1e5706=0x0;}}}if(0x0===_0x2c7837||_0x2c7837>_0x35eea2){_0x5e37ae['enqueue'](_0x137cf9);break;}}}});}(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x32dab6=_0x243221['readable']['pipeThrough'](_0x4ed29f)['getReader'](),_0x925f85=_0x3b4e1d();_0x925f85['readable']['pipeTo'](_0x243221['writable']),this['writer']=_0x925f85['writable']['getWriter']();const _0x252ec7=()=>{_0x32dab6['read']()['then'](({done:_0x140185,value:_0x290b6c})=>{_0x140185||(this['onPacket'](_0x290b6c),_0x252ec7());})['catch'](_0x4363c5=>{});};_0x252ec7();const _0x4b5b1c={'type':'open'};this['query']['sid']&&(_0x4b5b1c['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['writer']['write'](_0x4b5b1c)['then'](()=>this['onOpen']());});}));}['write'](_0xac36d4){this['writable']=!0x1;for(let _0x1fd237=0x0;_0x1fd237<_0xac36d4['length'];_0x1fd237++){const _0xa4aaba=_0xac36d4[_0x1fd237],_0x1049f4=_0x1fd237===_0xac36d4['length']-0x1;this['writer']['write'](_0xa4aaba)['then'](()=>{_0x1049f4&&_0x762178(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0x1b5053;null===(_0x1b5053=this['transport'])||void 0x0===_0x1b5053||_0x1b5053['close']();}},'polling':class _0x3a677b extends Transport{constructor(_0x4a5f26){if(super(_0x4a5f26),this['polling']=!0x1,'undefined'!=typeof location){const _0x36046a='https:'===location['protocol'];let _0x44fc1e=location['port'];_0x44fc1e||(_0x44fc1e=_0x36046a?'443':'80'),this['xd']='undefined'!=typeof location&&_0x4a5f26['hostname']!==location['hostname']||_0x44fc1e!==_0x4a5f26['port'];}const _0x4ad3cf=_0x4a5f26&&_0x4a5f26['forceBase64'];this['supportsBinary']=_0x1b2869&&!_0x4ad3cf,this['opts']['withCredentials']&&(this['cookieJar']=void 0x0);}get['name'](){return'polling';}['doOpen'](){this['poll']();}['pause'](_0x242593){this['readyState']='pausing';const _0x353c21=()=>{this['readyState']='paused',_0x242593();};if(this['polling']||!this['writable']){let _0x5a84ad=0x0;this['polling']&&(_0x5a84ad++,this['once']('pollComplete',function(){--_0x5a84ad||_0x353c21();})),this['writable']||(_0x5a84ad++,this['once']('drain',function(){--_0x5a84ad||_0x353c21();}));}else _0x353c21();}['poll'](){this['polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}['onData'](_0x4b41a9){((_0x5da963,_0x221cc7)=>{const _0x3aea2b=_0x5da963['split'](_0x51697d),_0x316eeb=[];for(let _0x116605=0x0;_0x116605<_0x3aea2b['length'];_0x116605++){const _0x25332d=_0x25fe22(_0x3aea2b[_0x116605],_0x221cc7);if(_0x316eeb['push'](_0x25332d),'error'===_0x25332d['type'])break;}return _0x316eeb;})(_0x4b41a9,this['socket']['binaryType'])['forEach'](_0xb5eb17=>{if('opening'===this['readyState']&&'open'===_0xb5eb17['type']&&this['onOpen'](),'close'===_0xb5eb17['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0xb5eb17);}),'closed'!==this['readyState']&&(this['polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['poll']());}['doClose'](){const _0x9cda14=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0x9cda14():this['once']('open',_0x9cda14);}['write'](_0x5650cc){this['writable']=!0x1,((_0x1e483c,_0x42478e)=>{const _0x5756c2=_0x1e483c['length'],_0x31643c=new Array(_0x5756c2);let _0x48ee85=0x0;_0x1e483c['forEach']((_0x381f07,_0x176ddb)=>{_0x1ec13e(_0x381f07,!0x1,_0x325df5=>{_0x31643c[_0x176ddb]=_0x325df5,++_0x48ee85===_0x5756c2&&_0x42478e(_0x31643c['join'](_0x51697d));});});})(_0x5650cc,_0x248781=>{this['doWrite'](_0x248781,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0x502096=this['opts']['secure']?'https':'http',_0x5600b7=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0x5600b7[this['opts']['timestampParam']]=_0x1d024d()),this['supportsBinary']||_0x5600b7['sid']||(_0x5600b7['b64']=0x1),this['createUri'](_0x502096,_0x5600b7);}['request'](_0x3116bf={}){return Object['assign'](_0x3116bf,{'xd':this['xd'],'cookieJar':this['cookieJar']},this['opts']),new Request(this['uri'](),_0x3116bf);}['doWrite'](_0x126a21,_0x699af2){const _0x4bc29b=this['request']({'method':'POST','data':_0x126a21});_0x4bc29b['on']('success',_0x699af2),_0x4bc29b['on']('error',(_0x5dcb45,_0x10b962)=>{this['onError']('xhr\x20post\x20error',_0x5dcb45,_0x10b962);});}['doPoll'](){const _0x300a65=this['request']();_0x300a65['on']('data',this['onData']['bind'](this)),_0x300a65['on']('error',(_0x15fbf6,_0x4a5aae)=>{this['onError']('xhr\x20poll\x20error',_0x15fbf6,_0x4a5aae);}),this['pollXhr']=_0x300a65;}}},_0x1d2134=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,_0x23e375=['source','protocol','authority','userInfo','user','password','host','port','relative','path','directory','file','query','anchor'];function _0x38b086(_0x18f64c){if(_0x18f64c['length']>0x7d0)throw'URI\x20too\x20long';const _0x3c6ebe=_0x18f64c,_0x55697e=_0x18f64c['indexOf']('['),_0x45c958=_0x18f64c['indexOf'](']');-0x1!=_0x55697e&&-0x1!=_0x45c958&&(_0x18f64c=_0x18f64c['substring'](0x0,_0x55697e)+_0x18f64c['substring'](_0x55697e,_0x45c958)['replace'](/:/g,';')+_0x18f64c['substring'](_0x45c958,_0x18f64c['length']));let _0x5283b2=_0x1d2134['exec'](_0x18f64c||''),_0x18f323={},_0x3017bd=0xe;for(;_0x3017bd--;)_0x18f323[_0x23e375[_0x3017bd]]=_0x5283b2[_0x3017bd]||'';return-0x1!=_0x55697e&&-0x1!=_0x45c958&&(_0x18f323['source']=_0x3c6ebe,_0x18f323['host']=_0x18f323['host']['substring'](0x1,_0x18f323['host']['length']-0x1)['replace'](/;/g,':'),_0x18f323['authority']=_0x18f323['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0x18f323['ipv6uri']=!0x0),_0x18f323['pathNames']=function(_0x22b9dd,_0x3502b0){const _0x13f092=/\/{2,9}/g,_0x314763=_0x3502b0['replace'](_0x13f092,'/')['split']('/');return'/'!=_0x3502b0['slice'](0x0,0x1)&&0x0!==_0x3502b0['length']||_0x314763['splice'](0x0,0x1),'/'==_0x3502b0['slice'](-0x1)&&_0x314763['splice'](_0x314763['length']-0x1,0x1),_0x314763;}(0x0,_0x18f323['path']),_0x18f323['queryKey']=function(_0x2a6d50,_0x1fd520){const _0x4a3298={};return _0x1fd520['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0xe31660,_0x36c1ee,_0x2340fb){_0x36c1ee&&(_0x4a3298[_0x36c1ee]=_0x2340fb);}),_0x4a3298;}(0x0,_0x18f323['query']),_0x18f323;}let _0x3a251d=class Socket extends _0x3cf4ac{constructor(_0x3adeff,_0x25719a={}){super(),this['binaryType']='arraybuffer',this['writeBuffer']=[],_0x3adeff&&'object'==typeof _0x3adeff&&(_0x25719a=_0x3adeff,_0x3adeff=null),_0x3adeff?(_0x3adeff=_0x38b086(_0x3adeff),_0x25719a['hostname']=_0x3adeff['host'],_0x25719a['secure']='https'===_0x3adeff['protocol']||'wss'===_0x3adeff['protocol'],_0x25719a['port']=_0x3adeff['port'],_0x3adeff['query']&&(_0x25719a['query']=_0x3adeff['query'])):_0x25719a['host']&&(_0x25719a['hostname']=_0x38b086(_0x25719a['host'])['host']),_0x26b9f1(this,_0x25719a),this['secure']=null!=_0x25719a['secure']?_0x25719a['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0x25719a['hostname']&&!_0x25719a['port']&&(_0x25719a['port']=this['secure']?'443':'80'),this['hostname']=_0x25719a['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0x25719a['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=_0x25719a['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},_0x25719a),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=function(_0x3f5aec){let _0x4fa685={},_0x381940=_0x3f5aec['split']('&');for(let _0x308d30=0x0,_0x4fc9b4=_0x381940['length'];_0x308d30<_0x4fc9b4;_0x308d30++){let _0x1ebd46=_0x381940[_0x308d30]['split']('=');_0x4fa685[decodeURIComponent(_0x1ebd46[0x0])]=decodeURIComponent(_0x1ebd46[0x1]);}return _0x4fa685;}(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'](_0x6f6946){const _0x399490=Object['assign']({},this['opts']['query']);_0x399490['EIO']=0x4,_0x399490['transport']=_0x6f6946,this['id']&&(_0x399490['sid']=this['id']);const _0x39608b=Object['assign']({},this['opts'],{'query':_0x399490,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x6f6946]);return new _0x3b136e[_0x6f6946](_0x39608b);}['open'](){let _0x138950;if(this['opts']['rememberUpgrade']&&Socket['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket'))_0x138950='websocket';else{if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);_0x138950=this['transports'][0x0];}this['readyState']='opening';try{_0x138950=this['createTransport'](_0x138950);}catch(_0xaab478){return this['transports']['shift'](),void this['open']();}_0x138950['open'](),this['setTransport'](_0x138950);}['setTransport'](_0x32b65d){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x32b65d,_0x32b65d['on']('drain',this['onDrain']['bind'](this))['on']('packet',this['onPacket']['bind'](this))['on']('error',this['onError']['bind'](this))['on']('close',_0xfa6281=>this['onClose']('transport\x20close',_0xfa6281));}['probe'](_0x3dcadd){let _0x3bdf51=this['createTransport'](_0x3dcadd),_0x3b1c70=!0x1;Socket['priorWebsocketSuccess']=!0x1;const _0x43ed73=()=>{_0x3b1c70||(_0x3bdf51['send']([{'type':'ping','data':'probe'}]),_0x3bdf51['once']('packet',_0x44a4eb=>{if(!_0x3b1c70){if('pong'===_0x44a4eb['type']&&'probe'===_0x44a4eb['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x3bdf51),!_0x3bdf51)return;Socket['priorWebsocketSuccess']='websocket'===_0x3bdf51['name'],this['transport']['pause'](()=>{_0x3b1c70||'closed'!==this['readyState']&&(_0x36bbae(),this['setTransport'](_0x3bdf51),_0x3bdf51['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x3bdf51),_0x3bdf51=null,this['upgrading']=!0x1,this['flush']());});}else{const _0x51a8bc=new Error('probe\x20error');_0x51a8bc['transport']=_0x3bdf51['name'],this['emitReserved']('upgradeError',_0x51a8bc);}}}));};function _0x411968(){_0x3b1c70||(_0x3b1c70=!0x0,_0x36bbae(),_0x3bdf51['close'](),_0x3bdf51=null);}const _0x1e82e9=_0x491b60=>{const _0xc0e10b=new Error('probe\x20error:\x20'+_0x491b60);_0xc0e10b['transport']=_0x3bdf51['name'],_0x411968(),this['emitReserved']('upgradeError',_0xc0e10b);};function _0x522b14(){_0x1e82e9('transport\x20closed');}function _0x115e88(){_0x1e82e9('socket\x20closed');}function _0x5195a4(_0x3c21dd){_0x3bdf51&&_0x3c21dd['name']!==_0x3bdf51['name']&&_0x411968();}const _0x36bbae=()=>{_0x3bdf51['removeListener']('open',_0x43ed73),_0x3bdf51['removeListener']('error',_0x1e82e9),_0x3bdf51['removeListener']('close',_0x522b14),this['off']('close',_0x115e88),this['off']('upgrading',_0x5195a4);};_0x3bdf51['once']('open',_0x43ed73),_0x3bdf51['once']('error',_0x1e82e9),_0x3bdf51['once']('close',_0x522b14),this['once']('close',_0x115e88),this['once']('upgrading',_0x5195a4),-0x1!==this['upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x3dcadd?this['setTimeoutFn'](()=>{_0x3b1c70||_0x3bdf51['open']();},0xc8):_0x3bdf51['open']();}['onOpen'](){if(this['readyState']='open',Socket['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush'](),'open'===this['readyState']&&this['opts']['upgrade']){let _0x3d7fc5=0x0;const _0x56e5a7=this['upgrades']['length'];for(;_0x3d7fc5<_0x56e5a7;_0x3d7fc5++)this['probe'](this['upgrades'][_0x3d7fc5]);}}['onPacket'](_0x5076f2){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0x5076f2),this['emitReserved']('heartbeat'),this['resetPingTimeout'](),_0x5076f2['type']){case'open':this['onHandshake'](JSON['parse'](_0x5076f2['data']));break;case'ping':this['sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong');break;case'error':const _0x5f50e6=new Error('server\x20error');_0x5f50e6['code']=_0x5076f2['data'],this['onError'](_0x5f50e6);break;case'message':this['emitReserved']('data',_0x5076f2['data']),this['emitReserved']('message',_0x5076f2['data']);}}['onHandshake'](_0x5c2b73){this['emitReserved']('handshake',_0x5c2b73),this['id']=_0x5c2b73['sid'],this['transport']['query']['sid']=_0x5c2b73['sid'],this['upgrades']=this['filterUpgrades'](_0x5c2b73['upgrades']),this['pingInterval']=_0x5c2b73['pingInterval'],this['pingTimeout']=_0x5c2b73['pingTimeout'],this['maxPayload']=_0x5c2b73['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 _0x133bcd=this['getWritablePackets']();this['transport']['send'](_0x133bcd),this['prevBufferLen']=_0x133bcd['length'],this['emitReserved']('flush');}}['getWritablePackets'](){if(!(this['maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0x301066=0x1;for(let _0xbf4f7c=0x0;_0xbf4f7c<this['writeBuffer']['length'];_0xbf4f7c++){const _0x5bbc0f=this['writeBuffer'][_0xbf4f7c]['data'];if(_0x5bbc0f&&(_0x301066+=_0x2ce4d9(_0x5bbc0f)),_0xbf4f7c>0x0&&_0x301066>this['maxPayload'])return this['writeBuffer']['slice'](0x0,_0xbf4f7c);_0x301066+=0x2;}return this['writeBuffer'];}['write'](_0x53361c,_0x2a7057,_0x5219cf){return this['sendPacket']('message',_0x53361c,_0x2a7057,_0x5219cf),this;}['send'](_0x144389,_0xa460ab,_0x39902f){return this['sendPacket']('message',_0x144389,_0xa460ab,_0x39902f),this;}['sendPacket'](_0x55da01,_0x4ce594,_0x1a94d3,_0x43ba16){if('function'==typeof _0x4ce594&&(_0x43ba16=_0x4ce594,_0x4ce594=void 0x0),'function'==typeof _0x1a94d3&&(_0x43ba16=_0x1a94d3,_0x1a94d3=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0x1a94d3=_0x1a94d3||{})['compress']=!0x1!==_0x1a94d3['compress'];const _0x403c62={'type':_0x55da01,'data':_0x4ce594,'options':_0x1a94d3};this['emitReserved']('packetCreate',_0x403c62),this['writeBuffer']['push'](_0x403c62),_0x43ba16&&this['once']('flush',_0x43ba16),this['flush']();}['close'](){const _0x5041e0=()=>{this['onClose']('forced\x20close'),this['transport']['close']();},_0x568d44=()=>{this['off']('upgrade',_0x568d44),this['off']('upgradeError',_0x568d44),_0x5041e0();},_0x5d6494=()=>{this['once']('upgrade',_0x568d44),this['once']('upgradeError',_0x568d44);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x5d6494():_0x5041e0();}):this['upgrading']?_0x5d6494():_0x5041e0()),this;}['onError'](_0x4fd6c9){Socket['priorWebsocketSuccess']=!0x1,this['emitReserved']('error',_0x4fd6c9),this['onClose']('transport\x20error',_0x4fd6c9);}['onClose'](_0x1ad936,_0x236730){'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',_0x1ad936,_0x236730),this['writeBuffer']=[],this['prevBufferLen']=0x0);}['filterUpgrades'](_0x491219){const _0x43e490=[];let _0x2b7af2=0x0;const _0x11da71=_0x491219['length'];for(;_0x2b7af2<_0x11da71;_0x2b7af2++)~this['transports']['indexOf'](_0x491219[_0x2b7af2])&&_0x43e490['push'](_0x491219[_0x2b7af2]);return _0x43e490;}};_0x3a251d['protocol']=0x4;const tm='function'==typeof ArrayBuffer,_0x1491c8=Object['prototype']['toString'],_0x68cec2='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===_0x1491c8['call'](Blob),_0x1418b4='function'==typeof File||'undefined'!=typeof File&&'[object\x20FileConstructor]'===_0x1491c8['call'](File);function _0x264c08(_0x2e3d88){return tm&&(_0x2e3d88 instanceof ArrayBuffer||(_0x31f5d=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x31f5d):_0x31f5d['buffer']instanceof ArrayBuffer)(_0x2e3d88))||_0x68cec2&&_0x2e3d88 instanceof Blob||_0x1418b4&&_0x2e3d88 instanceof File;}function _0x3b1133(_0xfbbcea,_0x4c013e){if(!_0xfbbcea||'object'!=typeof _0xfbbcea)return!0x1;if(Array['isArray'](_0xfbbcea)){for(let _0x4f857d=0x0,_0xa1dae4=_0xfbbcea['length'];_0x4f857d<_0xa1dae4;_0x4f857d++)if(_0x3b1133(_0xfbbcea[_0x4f857d]))return!0x0;return!0x1;}if(_0x264c08(_0xfbbcea))return!0x0;if(_0xfbbcea['toJSON']&&'function'==typeof _0xfbbcea['toJSON']&&0x1===arguments['length'])return _0x3b1133(_0xfbbcea['toJSON'](),!0x0);for(const _0x4b9653 in _0xfbbcea)if(Object['prototype']['hasOwnProperty']['call'](_0xfbbcea,_0x4b9653)&&_0x3b1133(_0xfbbcea[_0x4b9653]))return!0x0;return!0x1;}function _0x25c60f(_0x2ad74b){const _0x460260=[],_0x5dc1f7=_0x2ad74b['data'],_0x37fb8f=_0x2ad74b;return _0x37fb8f['data']=_0xacd051(_0x5dc1f7,_0x460260),_0x37fb8f['attachments']=_0x460260['length'],{'packet':_0x37fb8f,'buffers':_0x460260};}function _0xacd051(_0x48ef8a,_0x5c4a17){if(!_0x48ef8a)return _0x48ef8a;if(_0x264c08(_0x48ef8a)){const _0x55a0fb={'_placeholder':!0x0,'num':_0x5c4a17['length']};return _0x5c4a17['push'](_0x48ef8a),_0x55a0fb;}if(Array['isArray'](_0x48ef8a)){const _0x41b1ad=new Array(_0x48ef8a['length']);for(let _0x46ab52=0x0;_0x46ab52<_0x48ef8a['length'];_0x46ab52++)_0x41b1ad[_0x46ab52]=_0xacd051(_0x48ef8a[_0x46ab52],_0x5c4a17);return _0x41b1ad;}if('object'==typeof _0x48ef8a&&!(_0x48ef8a instanceof Date)){const _0x15cad2={};for(const _0x511c63 in _0x48ef8a)Object['prototype']['hasOwnProperty']['call'](_0x48ef8a,_0x511c63)&&(_0x15cad2[_0x511c63]=_0xacd051(_0x48ef8a[_0x511c63],_0x5c4a17));return _0x15cad2;}return _0x48ef8a;}function _0x4a879a(_0x204872,_0x34302d){return _0x204872['data']=_0x4cc13c(_0x204872['data'],_0x34302d),delete _0x204872['attachments'],_0x204872;}function _0x4cc13c(_0x1dbfc9,_0x1a20e4){if(!_0x1dbfc9)return _0x1dbfc9;if(_0x1dbfc9&&!0x0===_0x1dbfc9['_placeholder']){if('number'==typeof _0x1dbfc9['num']&&_0x1dbfc9['num']>=0x0&&_0x1dbfc9['num']<_0x1a20e4['length'])return _0x1a20e4[_0x1dbfc9['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0x1dbfc9)){for(let _0x32be07=0x0;_0x32be07<_0x1dbfc9['length'];_0x32be07++)_0x1dbfc9[_0x32be07]=_0x4cc13c(_0x1dbfc9[_0x32be07],_0x1a20e4);}else{if('object'==typeof _0x1dbfc9){for(const _0xb6622f in _0x1dbfc9)Object['prototype']['hasOwnProperty']['call'](_0x1dbfc9,_0xb6622f)&&(_0x1dbfc9[_0xb6622f]=_0x4cc13c(_0x1dbfc9[_0xb6622f],_0x1a20e4));}}return _0x1dbfc9;}const _0x3c6306=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'];var _0x59338f;!function(_0x401abd){_0x401abd[_0x401abd['CONNECT']=0x0]='CONNECT',_0x401abd[_0x401abd['DISCONNECT']=0x1]='DISCONNECT',_0x401abd[_0x401abd['EVENT']=0x2]='EVENT',_0x401abd[_0x401abd['ACK']=0x3]='ACK',_0x401abd[_0x401abd['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0x401abd[_0x401abd['BINARY_EVENT']=0x5]='BINARY_EVENT',_0x401abd[_0x401abd['BINARY_ACK']=0x6]='BINARY_ACK';}(_0x59338f||(_0x59338f={}));let _0x5620c4=class _0x903476{constructor(_0x1e9873){this['replacer']=_0x1e9873;}['encode'](_0x6bc7bd){return _0x6bc7bd['type']!==_0x59338f['EVENT']&&_0x6bc7bd['type']!==_0x59338f['ACK']||!_0x3b1133(_0x6bc7bd)?[this['encodeAsString'](_0x6bc7bd)]:this['encodeAsBinary']({'type':_0x6bc7bd['type']===_0x59338f['EVENT']?_0x59338f['BINARY_EVENT']:_0x59338f['BINARY_ACK'],'nsp':_0x6bc7bd['nsp'],'data':_0x6bc7bd['data'],'id':_0x6bc7bd['id']});}['encodeAsString'](_0x897da7){let _0x379543=''+_0x897da7['type'];return _0x897da7['type']!==_0x59338f['BINARY_EVENT']&&_0x897da7['type']!==_0x59338f['BINARY_ACK']||(_0x379543+=_0x897da7['attachments']+'-'),_0x897da7['nsp']&&'/'!==_0x897da7['nsp']&&(_0x379543+=_0x897da7['nsp']+','),null!=_0x897da7['id']&&(_0x379543+=_0x897da7['id']),null!=_0x897da7['data']&&(_0x379543+=JSON['stringify'](_0x897da7['data'],this['replacer'])),_0x379543;}['encodeAsBinary'](_0x4ff56c){const _0x1025f6=_0x25c60f(_0x4ff56c),_0xa9bed0=this['encodeAsString'](_0x1025f6['packet']),_0x2a12c0=_0x1025f6['buffers'];return _0x2a12c0['unshift'](_0xa9bed0),_0x2a12c0;}},_0x539d5b=class _0x567efe extends _0x3cf4ac{constructor(_0x673c8c){super(),this['opts']=Object['assign']({'reviver':void 0x0,'maxAttachments':0xa},'function'==typeof _0x673c8c?{'reviver':_0x673c8c}:_0x673c8c);}['add'](_0x2123ce){let _0x4170c9;if('string'==typeof _0x2123ce){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0x4170c9=this['decodeString'](_0x2123ce);const _0x11ba56=_0x4170c9['type']===_0x59338f['BINARY_EVENT'];_0x11ba56||_0x4170c9['type']===_0x59338f['BINARY_ACK']?(_0x4170c9['type']=_0x11ba56?_0x59338f['EVENT']:_0x59338f['ACK'],this['reconstructor']=new BinaryReconstructor(_0x4170c9),0x0===_0x4170c9['attachments']&&super['emitReserved']('decoded',_0x4170c9)):super['emitReserved']('decoded',_0x4170c9);}else{if(!_0x264c08(_0x2123ce)&&!_0x2123ce['base64'])throw new Error('Unknown\x20type:\x20'+_0x2123ce);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0x4170c9=this['reconstructor']['takeBinaryData'](_0x2123ce),_0x4170c9&&(this['reconstructor']=null,super['emitReserved']('decoded',_0x4170c9));}}['decodeString'](_0x17de11){let _0xdd306e=0x0;const _0x4ca58d={'type':Number(_0x17de11['charAt'](0x0))};if(void 0x0===_0x59338f[_0x4ca58d['type']])throw new Error('unknown\x20packet\x20type\x20'+_0x4ca58d['type']);if(_0x4ca58d['type']===_0x59338f['BINARY_EVENT']||_0x4ca58d['type']===_0x59338f['BINARY_ACK']){const _0x42f357=_0xdd306e+0x1;for(;'-'!==_0x17de11['charAt'](++_0xdd306e)&&_0xdd306e!=_0x17de11['length'];);const _0x505a25=_0x17de11['substring'](_0x42f357,_0xdd306e);if(_0x505a25!=Number(_0x505a25)||'-'!==_0x17de11['charAt'](_0xdd306e))throw new Error('Illegal\x20attachments');const _0x207071=Number(_0x505a25);if(!_0xfe79b2(_0x207071)||_0x207071<0x0)throw new Error('Illegal\x20attachments');if(_0x207071>this['opts']['maxAttachments'])throw new Error('too\x20many\x20attachments');_0x4ca58d['attachments']=_0x207071;}if('/'===_0x17de11['charAt'](_0xdd306e+0x1)){const _0x694591=_0xdd306e+0x1;for(;++_0xdd306e;){if(','===_0x17de11['charAt'](_0xdd306e))break;if(_0xdd306e===_0x17de11['length'])break;}_0x4ca58d['nsp']=_0x17de11['substring'](_0x694591,_0xdd306e);}else _0x4ca58d['nsp']='/';const _0x3bb62e=_0x17de11['charAt'](_0xdd306e+0x1);if(''!==_0x3bb62e&&Number(_0x3bb62e)==_0x3bb62e){const _0x40999f=_0xdd306e+0x1;for(;++_0xdd306e;){const _0x557f5f=_0x17de11['charAt'](_0xdd306e);if(null==_0x557f5f||Number(_0x557f5f)!=_0x557f5f){--_0xdd306e;break;}if(_0xdd306e===_0x17de11['length'])break;}_0x4ca58d['id']=Number(_0x17de11['substring'](_0x40999f,_0xdd306e+0x1));}if(_0x17de11['charAt'](++_0xdd306e)){const _0x58851a=this['tryParse'](_0x17de11['substr'](_0xdd306e));if(!_0x567efe['isPayloadValid'](_0x4ca58d['type'],_0x58851a))throw new Error('invalid\x20payload');_0x4ca58d['data']=_0x58851a;}return _0x4ca58d;}['tryParse'](_0x4aa68d){try{return JSON['parse'](_0x4aa68d,this['opts']['reviver']);}catch(_0x3a5812){return!0x1;}}static['isPayloadValid'](_0x482b5b,_0x271b38){switch(_0x482b5b){case _0x59338f['CONNECT']:return _0x3c97af(_0x271b38);case _0x59338f['DISCONNECT']:return void 0x0===_0x271b38;case _0x59338f['CONNECT_ERROR']:return'string'==typeof _0x271b38||_0x3c97af(_0x271b38);case _0x59338f['EVENT']:case _0x59338f['BINARY_EVENT']:return Array['isArray'](_0x271b38)&&('number'==typeof _0x271b38[0x0]||'string'==typeof _0x271b38[0x0]&&-0x1===_0x3c6306['indexOf'](_0x271b38[0x0]));case _0x59338f['ACK']:case _0x59338f['BINARY_ACK']:return Array['isArray'](_0x271b38);}}['destroy'](){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}};class BinaryReconstructor{constructor(_0x478c78){this['packet']=_0x478c78,this['buffers']=[],this['reconPack']=_0x478c78;}['takeBinaryData'](_0x515b39){if(this['buffers']['push'](_0x515b39),this['buffers']['length']===this['reconPack']['attachments']){const _0x3c899e=_0x4a879a(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0x3c899e;}return null;}['finishedReconstruction'](){this['reconPack']=null,this['buffers']=[];}}const _0xfe79b2=Number['isInteger']||function(_0x17857d){return'number'==typeof _0x17857d&&isFinite(_0x17857d)&&Math['floor'](_0x17857d)===_0x17857d;};function _0x3c97af(_0x540783){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x540783);}var _0xc53e64=Object['freeze']({'__proto__':null,'Decoder':_0x539d5b,'Encoder':_0x5620c4,get 'PacketType'(){return _0x59338f;}});function _0x125151(_0x21f587,_0x63d7e8,_0x32f093){return _0x21f587['on'](_0x63d7e8,_0x32f093),function(){_0x21f587['off'](_0x63d7e8,_0x32f093);};}const _0x43b5b1=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});class Socket extends _0x3cf4ac{constructor(_0x42930b,_0x3682bd,_0x108759){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']=_0x42930b,this['nsp']=_0x3682bd,_0x108759&&_0x108759['auth']&&(this['auth']=_0x108759['auth']),this['_opts']=Object['assign']({},_0x108759),this['io']['_autoConnect']&&this['open']();}get['disconnected'](){return!this['connected'];}['subEvents'](){if(this['subs'])return;const _0x342580=this['io'];this['subs']=[_0x125151(_0x342580,'open',this['onopen']['bind'](this)),_0x125151(_0x342580,'packet',this['onpacket']['bind'](this)),_0x125151(_0x342580,'error',this['onerror']['bind'](this)),_0x125151(_0x342580,'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'](..._0x233e1d){return _0x233e1d['unshift']('message'),this['emit']['apply'](this,_0x233e1d),this;}['emit'](_0x5697c1,..._0x41b659){if(_0x43b5b1['hasOwnProperty'](_0x5697c1))throw new Error('\x22'+_0x5697c1['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0x41b659['unshift'](_0x5697c1),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0x41b659),this;const _0x28d808={'type':_0x59338f['EVENT'],'data':_0x41b659,'options':{}};if(_0x28d808['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0x41b659[_0x41b659['length']-0x1]){const _0x1add89=this['ids']++,_0x2ce324=_0x41b659['pop']();this['_registerAckCallback'](_0x1add89,_0x2ce324),_0x28d808['id']=_0x1add89;}const _0x2d09d5=this['io']['engine']&&this['io']['engine']['transport']&&this['io']['engine']['transport']['writable'];return this['flags']['volatile']&&(!_0x2d09d5||!this['connected'])||(this['connected']?(this['notifyOutgoingListeners'](_0x28d808),this['packet'](_0x28d808)):this['sendBuffer']['push'](_0x28d808)),this['flags']={},this;}['_registerAckCallback'](_0xaed343,_0x4b948d){var _0x2dbdfb;const _0x17df28=null!==(_0x2dbdfb=this['flags']['timeout'])&&void 0x0!==_0x2dbdfb?_0x2dbdfb:this['_opts']['ackTimeout'];if(void 0x0===_0x17df28)return void(this['acks'][_0xaed343]=_0x4b948d);const _0x1e9981=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0xaed343];for(let _0x2419c8=0x0;_0x2419c8<this['sendBuffer']['length'];_0x2419c8++)this['sendBuffer'][_0x2419c8]['id']===_0xaed343&&this['sendBuffer']['splice'](_0x2419c8,0x1);_0x4b948d['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x17df28);this['acks'][_0xaed343]=(..._0x550391)=>{this['io']['clearTimeoutFn'](_0x1e9981),_0x4b948d['apply'](this,[null,..._0x550391]);};}['emitWithAck'](_0x5f2f97,..._0x43bee0){const _0x33b266=void 0x0!==this['flags']['timeout']||void 0x0!==this['_opts']['ackTimeout'];return new Promise((_0x31731c,_0x337bdc)=>{_0x43bee0['push']((_0x7754f2,_0x4df101)=>_0x33b266?_0x7754f2?_0x337bdc(_0x7754f2):_0x31731c(_0x4df101):_0x31731c(_0x7754f2)),this['emit'](_0x5f2f97,..._0x43bee0);});}['_addToQueue'](_0x379747){let _0x4e44d9;'function'==typeof _0x379747[_0x379747['length']-0x1]&&(_0x4e44d9=_0x379747['pop']());const _0x3c745b={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0x379747,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0x379747['push']((_0x2432d0,..._0x3d9027)=>{if(_0x3c745b!==this['_queue'][0x0])return;return null!==_0x2432d0?_0x3c745b['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0x4e44d9&&_0x4e44d9(_0x2432d0)):(this['_queue']['shift'](),_0x4e44d9&&_0x4e44d9(null,..._0x3d9027)),_0x3c745b['pending']=!0x1,this['_drainQueue']();}),this['_queue']['push'](_0x3c745b),this['_drainQueue']();}['_drainQueue'](_0x4350a6=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x536a73=this['_queue'][0x0];_0x536a73['pending']&&!_0x4350a6||(_0x536a73['pending']=!0x0,_0x536a73['tryCount']++,this['flags']=_0x536a73['flags'],this['emit']['apply'](this,_0x536a73['args']));}['packet'](_0xd41037){_0xd41037['nsp']=this['nsp'],this['io']['_packet'](_0xd41037);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0x18e190=>{this['_sendConnectPacket'](_0x18e190);}):this['_sendConnectPacket'](this['auth']);}['_sendConnectPacket'](_0x317bbe){this['packet']({'type':_0x59338f['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0x317bbe):_0x317bbe});}['onerror'](_0xf69ee1){this['connected']||this['emitReserved']('connect_error',_0xf69ee1);}['onclose'](_0x3cfe10,_0x49fe2){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x3cfe10,_0x49fe2);}['onpacket'](_0x1e15e8){if(_0x1e15e8['nsp']===this['nsp'])switch(_0x1e15e8['type']){case _0x59338f['CONNECT']:_0x1e15e8['data']&&_0x1e15e8['data']['sid']?this['onconnect'](_0x1e15e8['data']['sid'],_0x1e15e8['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 _0x59338f['EVENT']:case _0x59338f['BINARY_EVENT']:this['onevent'](_0x1e15e8);break;case _0x59338f['ACK']:case _0x59338f['BINARY_ACK']:this['onack'](_0x1e15e8);break;case _0x59338f['DISCONNECT']:this['ondisconnect']();break;case _0x59338f['CONNECT_ERROR']:this['destroy']();const _0x267067=new Error(_0x1e15e8['data']['message']);_0x267067['data']=_0x1e15e8['data']['data'],this['emitReserved']('connect_error',_0x267067);}}['onevent'](_0x1704a8){const _0xee472d=_0x1704a8['data']||[];null!=_0x1704a8['id']&&_0xee472d['push'](this['ack'](_0x1704a8['id'])),this['connected']?this['emitEvent'](_0xee472d):this['receiveBuffer']['push'](Object['freeze'](_0xee472d));}['emitEvent'](_0x1034a6){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0x3fbeb4=this['_anyListeners']['slice']();for(const _0x48814f of _0x3fbeb4)_0x48814f['apply'](this,_0x1034a6);}super['emit']['apply'](this,_0x1034a6),this['_pid']&&_0x1034a6['length']&&'string'==typeof _0x1034a6[_0x1034a6['length']-0x1]&&(this['_lastOffset']=_0x1034a6[_0x1034a6['length']-0x1]);}['ack'](_0x1fbe76){const _0x4e79c0=this;let _0xec60e8=!0x1;return function(..._0x4a13c3){_0xec60e8||(_0xec60e8=!0x0,_0x4e79c0['packet']({'type':_0x59338f['ACK'],'id':_0x1fbe76,'data':_0x4a13c3}));};}['onack'](_0x5a91aa){const _0x576df4=this['acks'][_0x5a91aa['id']];'function'==typeof _0x576df4&&(_0x576df4['apply'](this,_0x5a91aa['data']),delete this['acks'][_0x5a91aa['id']]);}['onconnect'](_0x5c13a4,_0x322ed3){this['id']=_0x5c13a4,this['recovered']=_0x322ed3&&this['_pid']===_0x322ed3,this['_pid']=_0x322ed3,this['connected']=!0x0,this['emitBuffered'](),this['emitReserved']('connect'),this['_drainQueue'](!0x0);}['emitBuffered'](){this['receiveBuffer']['forEach'](_0x402a24=>this['emitEvent'](_0x402a24)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0x486c0d=>{this['notifyOutgoingListeners'](_0x486c0d),this['packet'](_0x486c0d);}),this['sendBuffer']=[];}['ondisconnect'](){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}['destroy'](){this['subs']&&(this['subs']['forEach'](_0xb3c745=>_0xb3c745()),this['subs']=void 0x0),this['io']['_destroy'](this);}['disconnect'](){return this['connected']&&this['packet']({'type':_0x59338f['DISCONNECT']}),this['destroy'](),this['connected']&&this['onclose']('io\x20client\x20disconnect'),this;}['close'](){return this['disconnect']();}['compress'](_0x56476a){return this['flags']['compress']=_0x56476a,this;}get['volatile'](){return this['flags']['volatile']=!0x0,this;}['timeout'](_0x4db9bb){return this['flags']['timeout']=_0x4db9bb,this;}['onAny'](_0x3ee75f){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x3ee75f),this;}['prependAny'](_0x191bc7){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0x191bc7),this;}['offAny'](_0x11c409){if(!this['_anyListeners'])return this;if(_0x11c409){const _0x19959b=this['_anyListeners'];for(let _0x38e365=0x0;_0x38e365<_0x19959b['length'];_0x38e365++)if(_0x11c409===_0x19959b[_0x38e365])return _0x19959b['splice'](_0x38e365,0x1),this;}else this['_anyListeners']=[];return this;}['listenersAny'](){return this['_anyListeners']||[];}['onAnyOutgoing'](_0x5df60f){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0x5df60f),this;}['prependAnyOutgoing'](_0x4fb1f9){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0x4fb1f9),this;}['offAnyOutgoing'](_0x15b73d){if(!this['_anyOutgoingListeners'])return this;if(_0x15b73d){const _0x193669=this['_anyOutgoingListeners'];for(let _0x544c77=0x0;_0x544c77<_0x193669['length'];_0x544c77++)if(_0x15b73d===_0x193669[_0x544c77])return _0x193669['splice'](_0x544c77,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}['listenersAnyOutgoing'](){return this['_anyOutgoingListeners']||[];}['notifyOutgoingListeners'](_0x2d0b86){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0x258ad1=this['_anyOutgoingListeners']['slice']();for(const _0x45bb78 of _0x258ad1)_0x45bb78['apply'](this,_0x2d0b86['data']);}}}function _0x1457c6(_0x505c02){_0x505c02=_0x505c02||{},this['ms']=_0x505c02['min']||0x64,this['max']=_0x505c02['max']||0x2710,this['factor']=_0x505c02['factor']||0x2,this['jitter']=_0x505c02['jitter']>0x0&&_0x505c02['jitter']<=0x1?_0x505c02['jitter']:0x0,this['attempts']=0x0;}_0x1457c6['prototype']['duration']=function(){var _0x3bfd0a=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0xcf1a2b=Math['random'](),_0xba5d9b=Math['floor'](_0xcf1a2b*this['jitter']*_0x3bfd0a);_0x3bfd0a=0x1&Math['floor'](0xa*_0xcf1a2b)?_0x3bfd0a+_0xba5d9b:_0x3bfd0a-_0xba5d9b;}return 0x0|Math['min'](_0x3bfd0a,this['max']);},_0x1457c6['prototype']['reset']=function(){this['attempts']=0x0;},_0x1457c6['prototype']['setMin']=function(_0x47f881){this['ms']=_0x47f881;},_0x1457c6['prototype']['setMax']=function(_0x5781c7){this['max']=_0x5781c7;},_0x1457c6['prototype']['setJitter']=function(_0x18958b){this['jitter']=_0x18958b;};class _0x4aee34 extends _0x3cf4ac{constructor(_0x209ff2,_0xe233b6){var _0x44da12;super(),this['nsps']={},this['subs']=[],_0x209ff2&&'object'==typeof _0x209ff2&&(_0xe233b6=_0x209ff2,_0x209ff2=void 0x0),(_0xe233b6=_0xe233b6||{})['path']=_0xe233b6['path']||'/socket.io',this['opts']=_0xe233b6,_0x26b9f1(this,_0xe233b6),this['reconnection'](!0x1!==_0xe233b6['reconnection']),this['reconnectionAttempts'](_0xe233b6['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0xe233b6['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0xe233b6['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0x44da12=_0xe233b6['randomizationFactor'])&&void 0x0!==_0x44da12?_0x44da12:0.5),this['backoff']=new _0x1457c6({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0xe233b6['timeout']?0x4e20:_0xe233b6['timeout']),this['_readyState']='closed',this['uri']=_0x209ff2;const _0x52599d=_0xe233b6['parser']||_0xc53e64;this['encoder']=new _0x52599d['Encoder'](),this['decoder']=new _0x52599d['Decoder'](),this['_autoConnect']=!0x1!==_0xe233b6['autoConnect'],this['_autoConnect']&&this['open']();}['reconnection'](_0x10dda0){return arguments['length']?(this['_reconnection']=!!_0x10dda0,this):this['_reconnection'];}['reconnectionAttempts'](_0x32594c){return void 0x0===_0x32594c?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0x32594c,this);}['reconnectionDelay'](_0x178306){var _0x281ce8;return void 0x0===_0x178306?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0x178306,null===(_0x281ce8=this['backoff'])||void 0x0===_0x281ce8||_0x281ce8['setMin'](_0x178306),this);}['randomizationFactor'](_0x313dff){var _0x1fc528;return void 0x0===_0x313dff?this['_randomizationFactor']:(this['_randomizationFactor']=_0x313dff,null===(_0x1fc528=this['backoff'])||void 0x0===_0x1fc528||_0x1fc528['setJitter'](_0x313dff),this);}['reconnectionDelayMax'](_0x21f9a8){var _0x50491a;return void 0x0===_0x21f9a8?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x21f9a8,null===(_0x50491a=this['backoff'])||void 0x0===_0x50491a||_0x50491a['setMax'](_0x21f9a8),this);}['timeout'](_0x586ac3){return arguments['length']?(this['_timeout']=_0x586ac3,this):this['_timeout'];}['maybeReconnectOnOpen'](){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x2c13fb){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new _0x3a251d(this['uri'],this['opts']);const _0x359b29=this['engine'],_0x2dab19=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x19bb2c=_0x125151(_0x359b29,'open',function(){_0x2dab19['onopen'](),_0x2c13fb&&_0x2c13fb();}),_0x47fc25=_0x57145e=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0x57145e),_0x2c13fb?_0x2c13fb(_0x57145e):this['maybeReconnectOnOpen']();},_0x1af1a4=_0x125151(_0x359b29,'error',_0x47fc25);if(!0x1!==this['_timeout']){const _0xf4665d=this['_timeout'],_0x16202b=this['setTimeoutFn'](()=>{_0x19bb2c(),_0x47fc25(new Error('timeout')),_0x359b29['close']();},_0xf4665d);this['opts']['autoUnref']&&_0x16202b['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x16202b);});}return this['subs']['push'](_0x19bb2c),this['subs']['push'](_0x1af1a4),this;}['connect'](_0x38acd4){return this['open'](_0x38acd4);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x258f49=this['engine'];this['subs']['push'](_0x125151(_0x258f49,'ping',this['onping']['bind'](this)),_0x125151(_0x258f49,'data',this['ondata']['bind'](this)),_0x125151(_0x258f49,'error',this['onerror']['bind'](this)),_0x125151(_0x258f49,'close',this['onclose']['bind'](this)),_0x125151(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}['ondata'](_0x4785dd){try{this['decoder']['add'](_0x4785dd);}catch(_0x535207){this['onclose']('parse\x20error',_0x535207);}}['ondecoded'](_0x4303e9){_0x762178(()=>{this['emitReserved']('packet',_0x4303e9);},this['setTimeoutFn']);}['onerror'](_0x57eae2){this['emitReserved']('error',_0x57eae2);}['socket'](_0x5ef13f,_0x53b165){let _0x333e01=this['nsps'][_0x5ef13f];return _0x333e01?this['_autoConnect']&&!_0x333e01['active']&&_0x333e01['connect']():(_0x333e01=new Socket(this,_0x5ef13f,_0x53b165),this['nsps'][_0x5ef13f]=_0x333e01),_0x333e01;}['_destroy'](_0x4f70d9){const _0x57684f=Object['keys'](this['nsps']);for(const _0x4631e0 of _0x57684f){if(this['nsps'][_0x4631e0]['active'])return;}this['_close']();}['_packet'](_0x8c46){const _0x193768=this['encoder']['encode'](_0x8c46);for(let _0x48b480=0x0;_0x48b480<_0x193768['length'];_0x48b480++)this['engine']['write'](_0x193768[_0x48b480],_0x8c46['options']);}['cleanup'](){this['subs']['forEach'](_0x1ddff0=>_0x1ddff0()),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'](_0x4eebe6,_0x62c98f){this['cleanup'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x4eebe6,_0x62c98f),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}['reconnect'](){if(this['_reconnecting']||this['skipReconnect'])return this;const _0x5d5916=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0x1307e1=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x29a575=this['setTimeoutFn'](()=>{_0x5d5916['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0x5d5916['backoff']['attempts']),_0x5d5916['skipReconnect']||_0x5d5916['open'](_0x48c236=>{_0x48c236?(_0x5d5916['_reconnecting']=!0x1,_0x5d5916['reconnect'](),this['emitReserved']('reconnect_error',_0x48c236)):_0x5d5916['onreconnect']();}));},_0x1307e1);this['opts']['autoUnref']&&_0x29a575['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x29a575);});}}['onreconnect'](){const _0x2ace06=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x2ace06);}}const _0x3e6c13={};function _0x582911(_0x386c46,_0x24bcec){'object'==typeof _0x386c46&&(_0x24bcec=_0x386c46,_0x386c46=void 0x0);const _0x3ae2e3=function(_0x680e04,_0x2fdd6f='',_0x21db0a){let _0x11e22c=_0x680e04;_0x21db0a=_0x21db0a||'undefined'!=typeof location&&location,null==_0x680e04&&(_0x680e04=_0x21db0a['protocol']+'//'+_0x21db0a['host']),'string'==typeof _0x680e04&&('/'===_0x680e04['charAt'](0x0)&&(_0x680e04='/'===_0x680e04['charAt'](0x1)?_0x21db0a['protocol']+_0x680e04:_0x21db0a['host']+_0x680e04),/^(https?|wss?):\/\//['test'](_0x680e04)||(_0x680e04=void 0x0!==_0x21db0a?_0x21db0a['protocol']+'//'+_0x680e04:'https://'+_0x680e04),_0x11e22c=_0x38b086(_0x680e04)),_0x11e22c['port']||(/^(http|ws)$/['test'](_0x11e22c['protocol'])?_0x11e22c['port']='80':/^(http|ws)s$/['test'](_0x11e22c['protocol'])&&(_0x11e22c['port']='443')),_0x11e22c['path']=_0x11e22c['path']||'/';const _0x3acb9f=-0x1!==_0x11e22c['host']['indexOf'](':')?'['+_0x11e22c['host']+']':_0x11e22c['host'];return _0x11e22c['id']=_0x11e22c['protocol']+'://'+_0x3acb9f+':'+_0x11e22c['port']+_0x2fdd6f,_0x11e22c['href']=_0x11e22c['protocol']+'://'+_0x3acb9f+(_0x21db0a&&_0x21db0a['port']===_0x11e22c['port']?'':':'+_0x11e22c['port']),_0x11e22c;}(_0x386c46,(_0x24bcec=_0x24bcec||{})['path']||'/socket.io'),_0x375842=_0x3ae2e3['source'],_0x53ec40=_0x3ae2e3['id'],_0xb62f84=_0x3ae2e3['path'],_0x40518c=_0x3e6c13[_0x53ec40]&&_0xb62f84 in _0x3e6c13[_0x53ec40]['nsps'];let _0x4a3b52;return _0x24bcec['forceNew']||_0x24bcec['force\x20new\x20connection']||!0x1===_0x24bcec['multiplex']||_0x40518c?_0x4a3b52=new _0x4aee34(_0x375842,_0x24bcec):(_0x3e6c13[_0x53ec40]||(_0x3e6c13[_0x53ec40]=new _0x4aee34(_0x375842,_0x24bcec)),_0x4a3b52=_0x3e6c13[_0x53ec40]),_0x3ae2e3['query']&&!_0x24bcec['query']&&(_0x24bcec['query']=_0x3ae2e3['queryKey']),_0x4a3b52['socket'](_0x3ae2e3['path'],_0x24bcec);}var _0x335417,_0xdeb1d2;Object['assign'](_0x582911,{'Manager':_0x4aee34,'Socket':Socket,'io':_0x582911,'connect':_0x582911});var _0x78e0c1,_0x1e3824,_0x5c2a67,_0x53b7b3={},_0x32850b=(function(){if(_0x5c2a67)return _0x1e3824;_0x5c2a67=0x1;var _0x2db939=(_0xdeb1d2||(_0xdeb1d2=0x1,_0x335417=function(_0x148cbc,_0xb07b37){if(_0xb07b37=_0xb07b37['split'](':')[0x0],!(_0x148cbc=+_0x148cbc))return!0x1;switch(_0xb07b37){case'http':case'ws':return 0x50!==_0x148cbc;case'https':case'wss':return 0x1bb!==_0x148cbc;case'ftp':return 0x15!==_0x148cbc;case'gopher':return 0x46!==_0x148cbc;case'file':return!0x1;}return 0x0!==_0x148cbc;}),_0x335417),_0x3b9f6c=(function(){if(_0x78e0c1)return _0x53b7b3;_0x78e0c1=0x1;var _0x2a4059=Object['prototype']['hasOwnProperty'];function _0x4a48dd(_0x17f5b7){try{return decodeURIComponent(_0x17f5b7['replace'](/\+/g,'\x20'));}catch(_0x506d65){return null;}}function _0x2ae197(_0x38ddbc){try{return encodeURIComponent(_0x38ddbc);}catch(_0x2e6525){return null;}}return _0x53b7b3['stringify']=function(_0x47d0ce,_0x3a4faf){_0x3a4faf=_0x3a4faf||'';var _0x2324f5,_0x2ed727,_0x1d2885=[];for(_0x2ed727 in('string'!=typeof _0x3a4faf&&(_0x3a4faf='?'),_0x47d0ce))if(_0x2a4059['call'](_0x47d0ce,_0x2ed727)){if((_0x2324f5=_0x47d0ce[_0x2ed727])||null!=_0x2324f5&&!isNaN(_0x2324f5)||(_0x2324f5=''),_0x2ed727=_0x2ae197(_0x2ed727),_0x2324f5=_0x2ae197(_0x2324f5),null===_0x2ed727||null===_0x2324f5)continue;_0x1d2885['push'](_0x2ed727+'='+_0x2324f5);}return _0x1d2885['length']?_0x3a4faf+_0x1d2885['join']('&'):'';},_0x53b7b3['parse']=function(_0x3dd4e8){for(var _0x596727,_0x2eee91=/([^=?#&]+)=?([^&]*)/g,_0x15f162={};_0x596727=_0x2eee91['exec'](_0x3dd4e8);){var _0x2eaf4c=_0x4a48dd(_0x596727[0x1]),_0x29d313=_0x4a48dd(_0x596727[0x2]);null===_0x2eaf4c||null===_0x29d313||_0x2eaf4c in _0x15f162||(_0x15f162[_0x2eaf4c]=_0x29d313);}return _0x15f162;},_0x53b7b3;}()),_0x519084=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,_0x406af3=/[\n\r\t]/g,_0x5b73a8=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,_0x3e6445=/:\d+$/,_0xb36cd6=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_0x3af6b7=/^[a-zA-Z]:/;function _0x21f8c9(_0x40244c){return(_0x40244c||'')['toString']()['replace'](_0x519084,'');}var _0x16e113=[['#','hash'],['?','query'],function(_0x1c049a,_0x21b56d){return _0x11e18c(_0x21b56d['protocol'])?_0x1c049a['replace'](/\\/g,'/'):_0x1c049a;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],_0x424261={'hash':0x1,'query':0x1};function _0x15d8fe(_0x14fbfc){var _0x1092e7,_0x3c1a05=('undefined'!=typeof window?window:void 0x0!==_0xf43603?_0xf43603:'undefined'!=typeof self?self:{})['location']||{},_0x3303ea={},_0x4273eb=typeof(_0x14fbfc=_0x14fbfc||_0x3c1a05);if('blob:'===_0x14fbfc['protocol'])_0x3303ea=new _0x19b73b(unescape(_0x14fbfc['pathname']),{});else{if('string'===_0x4273eb){for(_0x1092e7 in(_0x3303ea=new _0x19b73b(_0x14fbfc,{}),_0x424261))delete _0x3303ea[_0x1092e7];}else{if('object'===_0x4273eb){for(_0x1092e7 in _0x14fbfc)_0x1092e7 in _0x424261||(_0x3303ea[_0x1092e7]=_0x14fbfc[_0x1092e7]);void 0x0===_0x3303ea['slashes']&&(_0x3303ea['slashes']=_0x5b73a8['test'](_0x14fbfc['href']));}}}return _0x3303ea;}function _0x11e18c(_0x330959){return'file:'===_0x330959||'ftp:'===_0x330959||'http:'===_0x330959||'https:'===_0x330959||'ws:'===_0x330959||'wss:'===_0x330959;}function _0x4647aa(_0x407bd0,_0x395616){_0x407bd0=(_0x407bd0=_0x21f8c9(_0x407bd0))['replace'](_0x406af3,''),_0x395616=_0x395616||{};var _0x2f13fa,_0x45c33e=_0xb36cd6['exec'](_0x407bd0),_0x3d6a79=_0x45c33e[0x1]?_0x45c33e[0x1]['toLowerCase']():'',_0x285ff7=!!_0x45c33e[0x2],_0x133926=!!_0x45c33e[0x3],_0x40241d=0x0;return _0x285ff7?_0x133926?(_0x2f13fa=_0x45c33e[0x2]+_0x45c33e[0x3]+_0x45c33e[0x4],_0x40241d=_0x45c33e[0x2]['length']+_0x45c33e[0x3]['length']):(_0x2f13fa=_0x45c33e[0x2]+_0x45c33e[0x4],_0x40241d=_0x45c33e[0x2]['length']):_0x133926?(_0x2f13fa=_0x45c33e[0x3]+_0x45c33e[0x4],_0x40241d=_0x45c33e[0x3]['length']):_0x2f13fa=_0x45c33e[0x4],'file:'===_0x3d6a79?_0x40241d>=0x2&&(_0x2f13fa=_0x2f13fa['slice'](0x2)):_0x11e18c(_0x3d6a79)?_0x2f13fa=_0x45c33e[0x4]:_0x3d6a79?_0x285ff7&&(_0x2f13fa=_0x2f13fa['slice'](0x2)):_0x40241d>=0x2&&_0x11e18c(_0x395616['protocol'])&&(_0x2f13fa=_0x45c33e[0x4]),{'protocol':_0x3d6a79,'slashes':_0x285ff7||_0x11e18c(_0x3d6a79),'slashesCount':_0x40241d,'rest':_0x2f13fa};}function _0x19b73b(_0x347afd,_0x24964e,_0x3fe71b){if(_0x347afd=(_0x347afd=_0x21f8c9(_0x347afd))['replace'](_0x406af3,''),!(this instanceof _0x19b73b))return new _0x19b73b(_0x347afd,_0x24964e,_0x3fe71b);var _0x1703bf,_0x537ff1,_0x2dcf2c,_0x4d4b0e,_0x4339e9,_0x1da58f,_0x4d2ac6=_0x16e113['slice'](),_0x5147f6=typeof _0x24964e,_0x5a64ee=this,_0x4a7cbf=0x0;for('object'!==_0x5147f6&&'string'!==_0x5147f6&&(_0x3fe71b=_0x24964e,_0x24964e=null),_0x3fe71b&&'function'!=typeof _0x3fe71b&&(_0x3fe71b=_0x3b9f6c['parse']),_0x1703bf=!(_0x537ff1=_0x4647aa(_0x347afd||'',_0x24964e=_0x15d8fe(_0x24964e)))['protocol']&&!_0x537ff1['slashes'],_0x5a64ee['slashes']=_0x537ff1['slashes']||_0x1703bf&&_0x24964e['slashes'],_0x5a64ee['protocol']=_0x537ff1['protocol']||_0x24964e['protocol']||'',_0x347afd=_0x537ff1['rest'],('file:'===_0x537ff1['protocol']&&(0x2!==_0x537ff1['slashesCount']||_0x3af6b7['test'](_0x347afd))||!_0x537ff1['slashes']&&(_0x537ff1['protocol']||_0x537ff1['slashesCount']<0x2||!_0x11e18c(_0x5a64ee['protocol'])))&&(_0x4d2ac6[0x3]=[/(.*)/,'pathname']);_0x4a7cbf<_0x4d2ac6['length'];_0x4a7cbf++)'function'!=typeof(_0x4d4b0e=_0x4d2ac6[_0x4a7cbf])?(_0x2dcf2c=_0x4d4b0e[0x0],_0x1da58f=_0x4d4b0e[0x1],_0x2dcf2c!=_0x2dcf2c?_0x5a64ee[_0x1da58f]=_0x347afd:'string'==typeof _0x2dcf2c?~(_0x4339e9='@'===_0x2dcf2c?_0x347afd['lastIndexOf'](_0x2dcf2c):_0x347afd['indexOf'](_0x2dcf2c))&&('number'==typeof _0x4d4b0e[0x2]?(_0x5a64ee[_0x1da58f]=_0x347afd['slice'](0x0,_0x4339e9),_0x347afd=_0x347afd['slice'](_0x4339e9+_0x4d4b0e[0x2])):(_0x5a64ee[_0x1da58f]=_0x347afd['slice'](_0x4339e9),_0x347afd=_0x347afd['slice'](0x0,_0x4339e9))):(_0x4339e9=_0x2dcf2c['exec'](_0x347afd))&&(_0x5a64ee[_0x1da58f]=_0x4339e9[0x1],_0x347afd=_0x347afd['slice'](0x0,_0x4339e9['index'])),_0x5a64ee[_0x1da58f]=_0x5a64ee[_0x1da58f]||_0x1703bf&&_0x4d4b0e[0x3]&&_0x24964e[_0x1da58f]||'',_0x4d4b0e[0x4]&&(_0x5a64ee[_0x1da58f]=_0x5a64ee[_0x1da58f]['toLowerCase']())):_0x347afd=_0x4d4b0e(_0x347afd,_0x5a64ee);_0x3fe71b&&(_0x5a64ee['query']=_0x3fe71b(_0x5a64ee['query'])),_0x1703bf&&_0x24964e['slashes']&&'/'!==_0x5a64ee['pathname']['charAt'](0x0)&&(''!==_0x5a64ee['pathname']||''!==_0x24964e['pathname'])&&(_0x5a64ee['pathname']=function(_0x5bf974,_0x10fb59){if(''===_0x5bf974)return _0x10fb59;for(var _0x28b573=(_0x10fb59||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x5bf974['split']('/')),_0x5b7541=_0x28b573['length'],_0x28ecf6=_0x28b573[_0x5b7541-0x1],_0x192dda=!0x1,_0x133be5=0x0;_0x5b7541--;)'.'===_0x28b573[_0x5b7541]?_0x28b573['splice'](_0x5b7541,0x1):'..'===_0x28b573[_0x5b7541]?(_0x28b573['splice'](_0x5b7541,0x1),_0x133be5++):_0x133be5&&(0x0===_0x5b7541&&(_0x192dda=!0x0),_0x28b573['splice'](_0x5b7541,0x1),_0x133be5--);return _0x192dda&&_0x28b573['unshift'](''),'.'!==_0x28ecf6&&'..'!==_0x28ecf6||_0x28b573['push'](''),_0x28b573['join']('/');}(_0x5a64ee['pathname'],_0x24964e['pathname'])),'/'!==_0x5a64ee['pathname']['charAt'](0x0)&&_0x11e18c(_0x5a64ee['protocol'])&&(_0x5a64ee['pathname']='/'+_0x5a64ee['pathname']),_0x2db939(_0x5a64ee['port'],_0x5a64ee['protocol'])||(_0x5a64ee['host']=_0x5a64ee['hostname'],_0x5a64ee['port']=''),_0x5a64ee['username']=_0x5a64ee['password']='',_0x5a64ee['auth']&&(~(_0x4339e9=_0x5a64ee['auth']['indexOf'](':'))?(_0x5a64ee['username']=_0x5a64ee['auth']['slice'](0x0,_0x4339e9),_0x5a64ee['username']=encodeURIComponent(decodeURIComponent(_0x5a64ee['username'])),_0x5a64ee['password']=_0x5a64ee['auth']['slice'](_0x4339e9+0x1),_0x5a64ee['password']=encodeURIComponent(decodeURIComponent(_0x5a64ee['password']))):_0x5a64ee['username']=encodeURIComponent(decodeURIComponent(_0x5a64ee['auth'])),_0x5a64ee['auth']=_0x5a64ee['password']?_0x5a64ee['username']+':'+_0x5a64ee['password']:_0x5a64ee['username']),_0x5a64ee['origin']='file:'!==_0x5a64ee['protocol']&&_0x11e18c(_0x5a64ee['protocol'])&&_0x5a64ee['host']?_0x5a64ee['protocol']+'//'+_0x5a64ee['host']:'null',_0x5a64ee['href']=_0x5a64ee['toString']();}return _0x19b73b['prototype']={'set':function(_0x2f149e,_0x25378f,_0x16cccb){var _0x2a92e8=this;switch(_0x2f149e){case'query':'string'==typeof _0x25378f&&_0x25378f['length']&&(_0x25378f=(_0x16cccb||_0x3b9f6c['parse'])(_0x25378f)),_0x2a92e8[_0x2f149e]=_0x25378f;break;case'port':_0x2a92e8[_0x2f149e]=_0x25378f,_0x2db939(_0x25378f,_0x2a92e8['protocol'])?_0x25378f&&(_0x2a92e8['host']=_0x2a92e8['hostname']+':'+_0x25378f):(_0x2a92e8['host']=_0x2a92e8['hostname'],_0x2a92e8[_0x2f149e]='');break;case'hostname':_0x2a92e8[_0x2f149e]=_0x25378f,_0x2a92e8['port']&&(_0x25378f+=':'+_0x2a92e8['port']),_0x2a92e8['host']=_0x25378f;break;case'host':_0x2a92e8[_0x2f149e]=_0x25378f,_0x3e6445['test'](_0x25378f)?(_0x25378f=_0x25378f['split'](':'),_0x2a92e8['port']=_0x25378f['pop'](),_0x2a92e8['hostname']=_0x25378f['join'](':')):(_0x2a92e8['hostname']=_0x25378f,_0x2a92e8['port']='');break;case'protocol':_0x2a92e8['protocol']=_0x25378f['toLowerCase'](),_0x2a92e8['slashes']=!_0x16cccb;break;case'pathname':case'hash':if(_0x25378f){var _0x29eaae='pathname'===_0x2f149e?'/':'#';_0x2a92e8[_0x2f149e]=_0x25378f['charAt'](0x0)!==_0x29eaae?_0x29eaae+_0x25378f:_0x25378f;}else _0x2a92e8[_0x2f149e]=_0x25378f;break;case'username':case'password':_0x2a92e8[_0x2f149e]=encodeURIComponent(_0x25378f);break;case'auth':var _0x17490f=_0x25378f['indexOf'](':');~_0x17490f?(_0x2a92e8['username']=_0x25378f['slice'](0x0,_0x17490f),_0x2a92e8['username']=encodeURIComponent(decodeURIComponent(_0x2a92e8['username'])),_0x2a92e8['password']=_0x25378f['slice'](_0x17490f+0x1),_0x2a92e8['password']=encodeURIComponent(decodeURIComponent(_0x2a92e8['password']))):_0x2a92e8['username']=encodeURIComponent(decodeURIComponent(_0x25378f));}for(var _0x22abb8=0x0;_0x22abb8<_0x16e113['length'];_0x22abb8++){var _0x3e3a05=_0x16e113[_0x22abb8];_0x3e3a05[0x4]&&(_0x2a92e8[_0x3e3a05[0x1]]=_0x2a92e8[_0x3e3a05[0x1]]['toLowerCase']());}return _0x2a92e8['auth']=_0x2a92e8['password']?_0x2a92e8['username']+':'+_0x2a92e8['password']:_0x2a92e8['username'],_0x2a92e8['origin']='file:'!==_0x2a92e8['protocol']&&_0x11e18c(_0x2a92e8['protocol'])&&_0x2a92e8['host']?_0x2a92e8['protocol']+'//'+_0x2a92e8['host']:'null',_0x2a92e8['href']=_0x2a92e8['toString'](),_0x2a92e8;},'toString':function(_0x23cfe0){_0x23cfe0&&'function'==typeof _0x23cfe0||(_0x23cfe0=_0x3b9f6c['stringify']);var _0x1bf998,_0x2ce36e=this,_0x11798c=_0x2ce36e['host'],_0x40536a=_0x2ce36e['protocol'];_0x40536a&&':'!==_0x40536a['charAt'](_0x40536a['length']-0x1)&&(_0x40536a+=':');var _0x5a909d=_0x40536a+(_0x2ce36e['protocol']&&_0x2ce36e['slashes']||_0x11e18c(_0x2ce36e['protocol'])?'//':'');return _0x2ce36e['username']?(_0x5a909d+=_0x2ce36e['username'],_0x2ce36e['password']&&(_0x5a909d+=':'+_0x2ce36e['password']),_0x5a909d+='@'):_0x2ce36e['password']?(_0x5a909d+=':'+_0x2ce36e['password'],_0x5a909d+='@'):'file:'!==_0x2ce36e['protocol']&&_0x11e18c(_0x2ce36e['protocol'])&&!_0x11798c&&'/'!==_0x2ce36e['pathname']&&(_0x5a909d+='@'),(':'===_0x11798c[_0x11798c['length']-0x1]||_0x3e6445['test'](_0x2ce36e['hostname'])&&!_0x2ce36e['port'])&&(_0x11798c+=':'),_0x5a909d+=_0x11798c+_0x2ce36e['pathname'],(_0x1bf998='object'==typeof _0x2ce36e['query']?_0x23cfe0(_0x2ce36e['query']):_0x2ce36e['query'])&&(_0x5a909d+='?'!==_0x1bf998['charAt'](0x0)?'?'+_0x1bf998:_0x1bf998),_0x2ce36e['hash']&&(_0x5a909d+=_0x2ce36e['hash']),_0x5a909d;}},_0x19b73b['extractProtocol']=_0x4647aa,_0x19b73b['location']=_0x15d8fe,_0x19b73b['trimLeft']=_0x21f8c9,_0x19b73b['qs']=_0x3b9f6c,_0x1e3824=_0x19b73b;}());const _0x3dc64e=[];for(let _0xdaba43=0x0;_0xdaba43<0x100;++_0xdaba43)_0x3dc64e['push']((_0xdaba43+0x100)['toString'](0x10)['slice'](0x1));const _0x3eb487=new Uint8Array(0x10);function _0x4906dd(_0x1f64a8,_0x577575,_0x438692){return crypto['randomUUID']?crypto['randomUUID']():function(_0x2eec98){_0x2eec98=_0x2eec98||{};const _0xf615cf=_0x2eec98['random']??_0x2eec98['rng']?.()??crypto['getRandomValues'](_0x3eb487);if(_0xf615cf['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0xf615cf[0x6]=0xf&_0xf615cf[0x6]|0x40,_0xf615cf[0x8]=0x3f&_0xf615cf[0x8]|0x80,function(_0xcedf5c,_0x4bd0b5=0x0){return(_0x3dc64e[_0xcedf5c[_0x4bd0b5+0x0]]+_0x3dc64e[_0xcedf5c[_0x4bd0b5+0x1]]+_0x3dc64e[_0xcedf5c[_0x4bd0b5+0x2]]+_0x3dc64e[_0xcedf5c[_0x4bd0b5+0x3]]+'-'+_0x3dc64e[_0xcedf5c[_0x4bd0b5+0x4]]+_0x3dc64e[_0xcedf5c[_0x4bd0b5+0x5]]+'-'+_0x3dc64e[_0xcedf5c[_0x4bd0b5+0x6]]+_0x3dc64e[_0xcedf5c[_0x4bd0b5+0x7]]+'-'+_0x3dc64e[_0xcedf5c[_0x4bd0b5+0x8]]+_0x3dc64e[_0xcedf5c[_0x4bd0b5+0x9]]+'-'+_0x3dc64e[_0xcedf5c[_0x4bd0b5+0xa]]+_0x3dc64e[_0xcedf5c[_0x4bd0b5+0xb]]+_0x3dc64e[_0xcedf5c[_0x4bd0b5+0xc]]+_0x3dc64e[_0xcedf5c[_0x4bd0b5+0xd]]+_0x3dc64e[_0xcedf5c[_0x4bd0b5+0xe]]+_0x3dc64e[_0xcedf5c[_0x4bd0b5+0xf]])['toLowerCase']();}(_0xf615cf);}(_0x1f64a8);}class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x5ac6a8){}}class _0x1cdc89 extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x1003a0){super();}static['fromJSON'](_0x146e9c){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class GetUserMessage extends _0x1cdc89{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x560e09){super(),this['id']=_0x560e09;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x47cef0){return new GetUserMessage(_0x47cef0['id']);}}class GetUserResponse extends _0x1cdc89{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0x275ea6){super(),this['attributes']=_0x275ea6;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x8cf2bc=>({'key':_0x8cf2bc,'value':JSON['stringify'](this['attributes'][_0x8cf2bc])}))};}static['fromJSON'](_0x32947b){const _0xb35987=_0x32947b['attributes']['reduce']((_0x502979,_0x43826d)=>(_0x502979[_0x43826d['key']]=_0x43826d['value']?JSON['parse'](_0x43826d['value']):null,_0x502979),{});return new GetUserResponse(_0xb35987);}}const _0x4ed377=/* #__PURE__ -- @preserve */
((()=>{var _0x4b9dbe=_0x56243c['Reader'],_0x4cef4a=_0x56243c['Writer'],_0x38eba6=_0x56243c['util'],_0x17ddb1=_0x56243c['roots']['default']||(_0x56243c['roots']['default']={});return _0x17ddb1['StringStringPacketDataMessage']=(function(){function _0x5532bc(_0x59d967){if(_0x59d967){for(var _0x2317aa=Object['keys'](_0x59d967),_0x288f55=0x0;_0x288f55<_0x2317aa['length'];++_0x288f55)null!=_0x59d967[_0x2317aa[_0x288f55]]&&'__proto__'!==_0x2317aa[_0x288f55]&&(this[_0x2317aa[_0x288f55]]=_0x59d967[_0x2317aa[_0x288f55]]);}}return _0x5532bc['prototype']['data']='',_0x5532bc['prototype']['data1']='',_0x5532bc['create']=function(_0x3e2cad){return new _0x5532bc(_0x3e2cad);},_0x5532bc['encode']=function(_0x216125,_0x2ef08e){return _0x2ef08e||(_0x2ef08e=_0x4cef4a['create']()),null!=_0x216125['data']&&Object['hasOwnProperty']['call'](_0x216125,'data')&&_0x2ef08e['uint32'](0xa)['string'](_0x216125['data']),null!=_0x216125['data1']&&Object['hasOwnProperty']['call'](_0x216125,'data1')&&_0x2ef08e['uint32'](0x12)['string'](_0x216125['data1']),_0x2ef08e;},_0x5532bc['encodeDelimited']=function(_0x53f93f,_0x5c6933){return this['encode'](_0x53f93f,_0x5c6933)['ldelim']();},_0x5532bc['decode']=function(_0x3a2756,_0x10112c,_0x3e437f,_0x32d74d){if(_0x3a2756 instanceof _0x4b9dbe||(_0x3a2756=_0x4b9dbe['create'](_0x3a2756)),void 0x0===_0x32d74d&&(_0x32d74d=0x0),_0x32d74d>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xcb60ab=void 0x0===_0x10112c?_0x3a2756['len']:_0x3a2756['pos']+_0x10112c,_0x5de573=new _0x17ddb1['StringStringPacketDataMessage']();_0x3a2756['pos']<_0xcb60ab;){var _0x15daed=_0x3a2756['uint32']();if(_0x15daed===_0x3e437f)break;switch(_0x15daed>>>0x3){case 0x1:_0x5de573['data']=_0x3a2756['string']();break;case 0x2:_0x5de573['data1']=_0x3a2756['string']();break;default:_0x3a2756['skipType'](0x7&_0x15daed,_0x32d74d);}}return _0x5de573;},_0x5532bc['decodeDelimited']=function(_0x2321c7){return _0x2321c7 instanceof _0x4b9dbe||(_0x2321c7=new _0x4b9dbe(_0x2321c7)),this['decode'](_0x2321c7,_0x2321c7['uint32']());},_0x5532bc['verify']=function(_0x122965,_0x14bc78){return'object'!=typeof _0x122965||null===_0x122965?'object\x20expected':(void 0x0===_0x14bc78&&(_0x14bc78=0x0),_0x14bc78>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x122965['data']&&_0x122965['hasOwnProperty']('data')&&!_0x38eba6['isString'](_0x122965['data'])?'data:\x20string\x20expected':null!=_0x122965['data1']&&_0x122965['hasOwnProperty']('data1')&&!_0x38eba6['isString'](_0x122965['data1'])?'data1:\x20string\x20expected':null);},_0x5532bc['fromObject']=function(_0x33061a,_0xa4e673){if(_0x33061a instanceof _0x17ddb1['StringStringPacketDataMessage'])return _0x33061a;if(void 0x0===_0xa4e673&&(_0xa4e673=0x0),_0xa4e673>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x496197=new _0x17ddb1['StringStringPacketDataMessage']();return null!=_0x33061a['data']&&(_0x496197['data']=String(_0x33061a['data'])),null!=_0x33061a['data1']&&(_0x496197['data1']=String(_0x33061a['data1'])),_0x496197;},_0x5532bc['toObject']=function(_0x4f8c63,_0x571429){_0x571429||(_0x571429={});var _0xf93027={};return _0x571429['defaults']&&(_0xf93027['data']='',_0xf93027['data1']=''),null!=_0x4f8c63['data']&&_0x4f8c63['hasOwnProperty']('data')&&(_0xf93027['data']=_0x4f8c63['data']),null!=_0x4f8c63['data1']&&_0x4f8c63['hasOwnProperty']('data1')&&(_0xf93027['data1']=_0x4f8c63['data1']),_0xf93027;},_0x5532bc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x5532bc['getTypeUrl']=function(_0x2bde06){return void 0x0===_0x2bde06&&(_0x2bde06='type.googleapis.com'),_0x2bde06+'/StringStringPacketDataMessage';},_0x5532bc;}()),_0x17ddb1['StringObjectPacketDataMessage']=(function(){function _0xd323ac(_0x4a0d62){if(_0x4a0d62){for(var _0x5e8871=Object['keys'](_0x4a0d62),_0x22f903=0x0;_0x22f903<_0x5e8871['length'];++_0x22f903)null!=_0x4a0d62[_0x5e8871[_0x22f903]]&&'__proto__'!==_0x5e8871[_0x22f903]&&(this[_0x5e8871[_0x22f903]]=_0x4a0d62[_0x5e8871[_0x22f903]]);}}return _0xd323ac['prototype']['data']='',_0xd323ac['prototype']['data1']='',_0xd323ac['create']=function(_0x455c04){return new _0xd323ac(_0x455c04);},_0xd323ac['encode']=function(_0x20ab60,_0x2da13e){return _0x2da13e||(_0x2da13e=_0x4cef4a['create']()),null!=_0x20ab60['data']&&Object['hasOwnProperty']['call'](_0x20ab60,'data')&&_0x2da13e['uint32'](0xa)['string'](_0x20ab60['data']),null!=_0x20ab60['data1']&&Object['hasOwnProperty']['call'](_0x20ab60,'data1')&&_0x2da13e['uint32'](0x12)['string'](_0x20ab60['data1']),_0x2da13e;},_0xd323ac['encodeDelimited']=function(_0x211920,_0x41b255){return this['encode'](_0x211920,_0x41b255)['ldelim']();},_0xd323ac['decode']=function(_0x44ab82,_0x5975a0,_0x4d23d6,_0x31c110){if(_0x44ab82 instanceof _0x4b9dbe||(_0x44ab82=_0x4b9dbe['create'](_0x44ab82)),void 0x0===_0x31c110&&(_0x31c110=0x0),_0x31c110>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2d4692=void 0x0===_0x5975a0?_0x44ab82['len']:_0x44ab82['pos']+_0x5975a0,_0x5e2799=new _0x17ddb1['StringObjectPacketDataMessage']();_0x44ab82['pos']<_0x2d4692;){var _0x50de6b=_0x44ab82['uint32']();if(_0x50de6b===_0x4d23d6)break;switch(_0x50de6b>>>0x3){case 0x1:_0x5e2799['data']=_0x44ab82['string']();break;case 0x2:_0x5e2799['data1']=_0x44ab82['string']();break;default:_0x44ab82['skipType'](0x7&_0x50de6b,_0x31c110);}}return _0x5e2799;},_0xd323ac['decodeDelimited']=function(_0x59c6e6){return _0x59c6e6 instanceof _0x4b9dbe||(_0x59c6e6=new _0x4b9dbe(_0x59c6e6)),this['decode'](_0x59c6e6,_0x59c6e6['uint32']());},_0xd323ac['verify']=function(_0x4d3b1c,_0x442567){return'object'!=typeof _0x4d3b1c||null===_0x4d3b1c?'object\x20expected':(void 0x0===_0x442567&&(_0x442567=0x0),_0x442567>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4d3b1c['data']&&_0x4d3b1c['hasOwnProperty']('data')&&!_0x38eba6['isString'](_0x4d3b1c['data'])?'data:\x20string\x20expected':null!=_0x4d3b1c['data1']&&_0x4d3b1c['hasOwnProperty']('data1')&&!_0x38eba6['isString'](_0x4d3b1c['data1'])?'data1:\x20string\x20expected':null);},_0xd323ac['fromObject']=function(_0x551d83,_0x470d8b){if(_0x551d83 instanceof _0x17ddb1['StringObjectPacketDataMessage'])return _0x551d83;if(void 0x0===_0x470d8b&&(_0x470d8b=0x0),_0x470d8b>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xb04163=new _0x17ddb1['StringObjectPacketDataMessage']();return null!=_0x551d83['data']&&(_0xb04163['data']=String(_0x551d83['data'])),null!=_0x551d83['data1']&&(_0xb04163['data1']=String(_0x551d83['data1'])),_0xb04163;},_0xd323ac['toObject']=function(_0x137f74,_0x382692){_0x382692||(_0x382692={});var _0x58667b={};return _0x382692['defaults']&&(_0x58667b['data']='',_0x58667b['data1']=''),null!=_0x137f74['data']&&_0x137f74['hasOwnProperty']('data')&&(_0x58667b['data']=_0x137f74['data']),null!=_0x137f74['data1']&&_0x137f74['hasOwnProperty']('data1')&&(_0x58667b['data1']=_0x137f74['data1']),_0x58667b;},_0xd323ac['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0xd323ac['getTypeUrl']=function(_0x4ae7b7){return void 0x0===_0x4ae7b7&&(_0x4ae7b7='type.googleapis.com'),_0x4ae7b7+'/StringObjectPacketDataMessage';},_0xd323ac;}()),_0x17ddb1['StringNumberPacketDataMessage']=(function(){function _0x261875(_0x551eb5){if(_0x551eb5){for(var _0x51f636=Object['keys'](_0x551eb5),_0x172869=0x0;_0x172869<_0x51f636['length'];++_0x172869)null!=_0x551eb5[_0x51f636[_0x172869]]&&'__proto__'!==_0x51f636[_0x172869]&&(this[_0x51f636[_0x172869]]=_0x551eb5[_0x51f636[_0x172869]]);}}return _0x261875['prototype']['data']='',_0x261875['prototype']['data1']=0x0,_0x261875['create']=function(_0x40e447){return new _0x261875(_0x40e447);},_0x261875['encode']=function(_0x1cda5a,_0x115fa8){return _0x115fa8||(_0x115fa8=_0x4cef4a['create']()),null!=_0x1cda5a['data']&&Object['hasOwnProperty']['call'](_0x1cda5a,'data')&&_0x115fa8['uint32'](0xa)['string'](_0x1cda5a['data']),null!=_0x1cda5a['data1']&&Object['hasOwnProperty']['call'](_0x1cda5a,'data1')&&_0x115fa8['uint32'](0x10)['uint32'](_0x1cda5a['data1']),_0x115fa8;},_0x261875['encodeDelimited']=function(_0x3f2202,_0x50c0c1){return this['encode'](_0x3f2202,_0x50c0c1)['ldelim']();},_0x261875['decode']=function(_0x219c2f,_0x912653,_0x52f2b4,_0x5c9088){if(_0x219c2f instanceof _0x4b9dbe||(_0x219c2f=_0x4b9dbe['create'](_0x219c2f)),void 0x0===_0x5c9088&&(_0x5c9088=0x0),_0x5c9088>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x375984=void 0x0===_0x912653?_0x219c2f['len']:_0x219c2f['pos']+_0x912653,_0x3fce08=new _0x17ddb1['StringNumberPacketDataMessage']();_0x219c2f['pos']<_0x375984;){var _0x298700=_0x219c2f['uint32']();if(_0x298700===_0x52f2b4)break;switch(_0x298700>>>0x3){case 0x1:_0x3fce08['data']=_0x219c2f['string']();break;case 0x2:_0x3fce08['data1']=_0x219c2f['uint32']();break;default:_0x219c2f['skipType'](0x7&_0x298700,_0x5c9088);}}return _0x3fce08;},_0x261875['decodeDelimited']=function(_0x1790ef){return _0x1790ef instanceof _0x4b9dbe||(_0x1790ef=new _0x4b9dbe(_0x1790ef)),this['decode'](_0x1790ef,_0x1790ef['uint32']());},_0x261875['verify']=function(_0xdac3c2,_0x41a5de){return'object'!=typeof _0xdac3c2||null===_0xdac3c2?'object\x20expected':(void 0x0===_0x41a5de&&(_0x41a5de=0x0),_0x41a5de>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xdac3c2['data']&&_0xdac3c2['hasOwnProperty']('data')&&!_0x38eba6['isString'](_0xdac3c2['data'])?'data:\x20string\x20expected':null!=_0xdac3c2['data1']&&_0xdac3c2['hasOwnProperty']('data1')&&!_0x38eba6['isInteger'](_0xdac3c2['data1'])?'data1:\x20integer\x20expected':null);},_0x261875['fromObject']=function(_0x50a1e0,_0x1d8a03){if(_0x50a1e0 instanceof _0x17ddb1['StringNumberPacketDataMessage'])return _0x50a1e0;if(void 0x0===_0x1d8a03&&(_0x1d8a03=0x0),_0x1d8a03>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3a264e=new _0x17ddb1['StringNumberPacketDataMessage']();return null!=_0x50a1e0['data']&&(_0x3a264e['data']=String(_0x50a1e0['data'])),null!=_0x50a1e0['data1']&&(_0x3a264e['data1']=_0x50a1e0['data1']>>>0x0),_0x3a264e;},_0x261875['toObject']=function(_0x32f14e,_0x24a516){_0x24a516||(_0x24a516={});var _0x1404c7={};return _0x24a516['defaults']&&(_0x1404c7['data']='',_0x1404c7['data1']=0x0),null!=_0x32f14e['data']&&_0x32f14e['hasOwnProperty']('data')&&(_0x1404c7['data']=_0x32f14e['data']),null!=_0x32f14e['data1']&&_0x32f14e['hasOwnProperty']('data1')&&(_0x1404c7['data1']=_0x32f14e['data1']),_0x1404c7;},_0x261875['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x261875['getTypeUrl']=function(_0x4944b4){return void 0x0===_0x4944b4&&(_0x4944b4='type.googleapis.com'),_0x4944b4+'/StringNumberPacketDataMessage';},_0x261875;}()),_0x17ddb1['StringBytesPacketDataMessage']=(function(){function _0x39f4f1(_0x118280){if(_0x118280){for(var _0xc370e6=Object['keys'](_0x118280),_0x5a8d81=0x0;_0x5a8d81<_0xc370e6['length'];++_0x5a8d81)null!=_0x118280[_0xc370e6[_0x5a8d81]]&&'__proto__'!==_0xc370e6[_0x5a8d81]&&(this[_0xc370e6[_0x5a8d81]]=_0x118280[_0xc370e6[_0x5a8d81]]);}}return _0x39f4f1['prototype']['data']='',_0x39f4f1['prototype']['data1']=_0x38eba6['newBuffer']([]),_0x39f4f1['create']=function(_0x405189){return new _0x39f4f1(_0x405189);},_0x39f4f1['encode']=function(_0x18c571,_0x494366){return _0x494366||(_0x494366=_0x4cef4a['create']()),null!=_0x18c571['data']&&Object['hasOwnProperty']['call'](_0x18c571,'data')&&_0x494366['uint32'](0xa)['string'](_0x18c571['data']),null!=_0x18c571['data1']&&Object['hasOwnProperty']['call'](_0x18c571,'data1')&&_0x494366['uint32'](0x12)['bytes'](_0x18c571['data1']),_0x494366;},_0x39f4f1['encodeDelimited']=function(_0x28264f,_0x5a92ea){return this['encode'](_0x28264f,_0x5a92ea)['ldelim']();},_0x39f4f1['decode']=function(_0xacc52a,_0x16c1d6,_0x27331f,_0x523d32){if(_0xacc52a instanceof _0x4b9dbe||(_0xacc52a=_0x4b9dbe['create'](_0xacc52a)),void 0x0===_0x523d32&&(_0x523d32=0x0),_0x523d32>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3bc438=void 0x0===_0x16c1d6?_0xacc52a['len']:_0xacc52a['pos']+_0x16c1d6,_0x3c250d=new _0x17ddb1['StringBytesPacketDataMessage']();_0xacc52a['pos']<_0x3bc438;){var _0x655d46=_0xacc52a['uint32']();if(_0x655d46===_0x27331f)break;switch(_0x655d46>>>0x3){case 0x1:_0x3c250d['data']=_0xacc52a['string']();break;case 0x2:_0x3c250d['data1']=_0xacc52a['bytes']();break;default:_0xacc52a['skipType'](0x7&_0x655d46,_0x523d32);}}return _0x3c250d;},_0x39f4f1['decodeDelimited']=function(_0x12cedd){return _0x12cedd instanceof _0x4b9dbe||(_0x12cedd=new _0x4b9dbe(_0x12cedd)),this['decode'](_0x12cedd,_0x12cedd['uint32']());},_0x39f4f1['verify']=function(_0x35a557,_0x2e5c21){return'object'!=typeof _0x35a557||null===_0x35a557?'object\x20expected':(void 0x0===_0x2e5c21&&(_0x2e5c21=0x0),_0x2e5c21>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x35a557['data']&&_0x35a557['hasOwnProperty']('data')&&!_0x38eba6['isString'](_0x35a557['data'])?'data:\x20string\x20expected':null!=_0x35a557['data1']&&_0x35a557['hasOwnProperty']('data1')&&!(_0x35a557['data1']&&'number'==typeof _0x35a557['data1']['length']||_0x38eba6['isString'](_0x35a557['data1']))?'data1:\x20buffer\x20expected':null);},_0x39f4f1['fromObject']=function(_0x5a9ad2,_0x1aab5a){if(_0x5a9ad2 instanceof _0x17ddb1['StringBytesPacketDataMessage'])return _0x5a9ad2;if(void 0x0===_0x1aab5a&&(_0x1aab5a=0x0),_0x1aab5a>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x108f4f=new _0x17ddb1['StringBytesPacketDataMessage']();return null!=_0x5a9ad2['data']&&(_0x108f4f['data']=String(_0x5a9ad2['data'])),null!=_0x5a9ad2['data1']&&('string'==typeof _0x5a9ad2['data1']?_0x38eba6['base64']['decode'](_0x5a9ad2['data1'],_0x108f4f['data1']=_0x38eba6['newBuffer'](_0x38eba6['base64']['length'](_0x5a9ad2['data1'])),0x0):_0x5a9ad2['data1']['length']>=0x0&&(_0x108f4f['data1']=_0x5a9ad2['data1'])),_0x108f4f;},_0x39f4f1['toObject']=function(_0xba52d2,_0x273949){_0x273949||(_0x273949={});var _0x38127f={};return _0x273949['defaults']&&(_0x38127f['data']='',_0x273949['bytes']===String?_0x38127f['data1']='':(_0x38127f['data1']=[],_0x273949['bytes']!==Array&&(_0x38127f['data1']=_0x38eba6['newBuffer'](_0x38127f['data1'])))),null!=_0xba52d2['data']&&_0xba52d2['hasOwnProperty']('data')&&(_0x38127f['data']=_0xba52d2['data']),null!=_0xba52d2['data1']&&_0xba52d2['hasOwnProperty']('data1')&&(_0x38127f['data1']=_0x273949['bytes']===String?_0x38eba6['base64']['encode'](_0xba52d2['data1'],0x0,_0xba52d2['data1']['length']):_0x273949['bytes']===Array?Array['prototype']['slice']['call'](_0xba52d2['data1']):_0xba52d2['data1']),_0x38127f;},_0x39f4f1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x39f4f1['getTypeUrl']=function(_0x442918){return void 0x0===_0x442918&&(_0x442918='type.googleapis.com'),_0x442918+'/StringBytesPacketDataMessage';},_0x39f4f1;}()),_0x17ddb1['PacketOptionsMessage']=(function(){function _0x24f6c7(_0x29f338){if(this['rooms']=[],this['except']=[],_0x29f338){for(var _0x2da399=Object['keys'](_0x29f338),_0x3e519d=0x0;_0x3e519d<_0x2da399['length'];++_0x3e519d)null!=_0x29f338[_0x2da399[_0x3e519d]]&&'__proto__'!==_0x2da399[_0x3e519d]&&(this[_0x2da399[_0x3e519d]]=_0x29f338[_0x2da399[_0x3e519d]]);}}return _0x24f6c7['prototype']['flags']='',_0x24f6c7['prototype']['rooms']=_0x38eba6['emptyArray'],_0x24f6c7['prototype']['except']=_0x38eba6['emptyArray'],_0x24f6c7['create']=function(_0x17fef9){return new _0x24f6c7(_0x17fef9);},_0x24f6c7['encode']=function(_0x56f26e,_0x1178ea){if(_0x1178ea||(_0x1178ea=_0x4cef4a['create']()),null!=_0x56f26e['flags']&&Object['hasOwnProperty']['call'](_0x56f26e,'flags')&&_0x1178ea['uint32'](0xa)['string'](_0x56f26e['flags']),null!=_0x56f26e['rooms']&&_0x56f26e['rooms']['length']){for(var _0x2fcdfc=0x0;_0x2fcdfc<_0x56f26e['rooms']['length'];++_0x2fcdfc)_0x1178ea['uint32'](0x12)['string'](_0x56f26e['rooms'][_0x2fcdfc]);}if(null!=_0x56f26e['except']&&_0x56f26e['except']['length']){for(_0x2fcdfc=0x0;_0x2fcdfc<_0x56f26e['except']['length'];++_0x2fcdfc)_0x1178ea['uint32'](0x1a)['string'](_0x56f26e['except'][_0x2fcdfc]);}return _0x1178ea;},_0x24f6c7['encodeDelimited']=function(_0x4c46c5,_0x2bf1f7){return this['encode'](_0x4c46c5,_0x2bf1f7)['ldelim']();},_0x24f6c7['decode']=function(_0xc3fc9e,_0xa80187,_0x39ddab,_0x2f6ff8){if(_0xc3fc9e instanceof _0x4b9dbe||(_0xc3fc9e=_0x4b9dbe['create'](_0xc3fc9e)),void 0x0===_0x2f6ff8&&(_0x2f6ff8=0x0),_0x2f6ff8>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2af91a=void 0x0===_0xa80187?_0xc3fc9e['len']:_0xc3fc9e['pos']+_0xa80187,_0x258eee=new _0x17ddb1['PacketOptionsMessage']();_0xc3fc9e['pos']<_0x2af91a;){var _0x5a9b45=_0xc3fc9e['uint32']();if(_0x5a9b45===_0x39ddab)break;switch(_0x5a9b45>>>0x3){case 0x1:_0x258eee['flags']=_0xc3fc9e['string']();break;case 0x2:_0x258eee['rooms']&&_0x258eee['rooms']['length']||(_0x258eee['rooms']=[]),_0x258eee['rooms']['push'](_0xc3fc9e['string']());break;case 0x3:_0x258eee['except']&&_0x258eee['except']['length']||(_0x258eee['except']=[]),_0x258eee['except']['push'](_0xc3fc9e['string']());break;default:_0xc3fc9e['skipType'](0x7&_0x5a9b45,_0x2f6ff8);}}return _0x258eee;},_0x24f6c7['decodeDelimited']=function(_0x43ea27){return _0x43ea27 instanceof _0x4b9dbe||(_0x43ea27=new _0x4b9dbe(_0x43ea27)),this['decode'](_0x43ea27,_0x43ea27['uint32']());},_0x24f6c7['verify']=function(_0x4137f7,_0x155874){if('object'!=typeof _0x4137f7||null===_0x4137f7)return'object\x20expected';if(void 0x0===_0x155874&&(_0x155874=0x0),_0x155874>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x4137f7['flags']&&_0x4137f7['hasOwnProperty']('flags')&&!_0x38eba6['isString'](_0x4137f7['flags']))return'flags:\x20string\x20expected';if(null!=_0x4137f7['rooms']&&_0x4137f7['hasOwnProperty']('rooms')){if(!Array['isArray'](_0x4137f7['rooms']))return'rooms:\x20array\x20expected';for(var _0x144c39=0x0;_0x144c39<_0x4137f7['rooms']['length'];++_0x144c39)if(!_0x38eba6['isString'](_0x4137f7['rooms'][_0x144c39]))return'rooms:\x20string[]\x20expected';}if(null!=_0x4137f7['except']&&_0x4137f7['hasOwnProperty']('except')){if(!Array['isArray'](_0x4137f7['except']))return'except:\x20array\x20expected';for(_0x144c39=0x0;_0x144c39<_0x4137f7['except']['length'];++_0x144c39)if(!_0x38eba6['isString'](_0x4137f7['except'][_0x144c39]))return'except:\x20string[]\x20expected';}return null;},_0x24f6c7['fromObject']=function(_0x796bbe,_0x584d41){if(_0x796bbe instanceof _0x17ddb1['PacketOptionsMessage'])return _0x796bbe;if(void 0x0===_0x584d41&&(_0x584d41=0x0),_0x584d41>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x383bc1=new _0x17ddb1['PacketOptionsMessage']();if(null!=_0x796bbe['flags']&&(_0x383bc1['flags']=String(_0x796bbe['flags'])),_0x796bbe['rooms']){if(!Array['isArray'](_0x796bbe['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x383bc1['rooms']=[];for(var _0x24c71f=0x0;_0x24c71f<_0x796bbe['rooms']['length'];++_0x24c71f)_0x383bc1['rooms'][_0x24c71f]=String(_0x796bbe['rooms'][_0x24c71f]);}if(_0x796bbe['except']){if(!Array['isArray'](_0x796bbe['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x383bc1['except']=[],_0x24c71f=0x0;_0x24c71f<_0x796bbe['except']['length'];++_0x24c71f)_0x383bc1['except'][_0x24c71f]=String(_0x796bbe['except'][_0x24c71f]);}return _0x383bc1;},_0x24f6c7['toObject']=function(_0x5e14df,_0x4551db){_0x4551db||(_0x4551db={});var _0x30411e={};if((_0x4551db['arrays']||_0x4551db['defaults'])&&(_0x30411e['rooms']=[],_0x30411e['except']=[]),_0x4551db['defaults']&&(_0x30411e['flags']=''),null!=_0x5e14df['flags']&&_0x5e14df['hasOwnProperty']('flags')&&(_0x30411e['flags']=_0x5e14df['flags']),_0x5e14df['rooms']&&_0x5e14df['rooms']['length']){_0x30411e['rooms']=[];for(var _0xd9c762=0x0;_0xd9c762<_0x5e14df['rooms']['length'];++_0xd9c762)_0x30411e['rooms'][_0xd9c762]=_0x5e14df['rooms'][_0xd9c762];}if(_0x5e14df['except']&&_0x5e14df['except']['length']){for(_0x30411e['except']=[],_0xd9c762=0x0;_0xd9c762<_0x5e14df['except']['length'];++_0xd9c762)_0x30411e['except'][_0xd9c762]=_0x5e14df['except'][_0xd9c762];}return _0x30411e;},_0x24f6c7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x24f6c7['getTypeUrl']=function(_0x423b30){return void 0x0===_0x423b30&&(_0x423b30='type.googleapis.com'),_0x423b30+'/PacketOptionsMessage';},_0x24f6c7;}()),_0x17ddb1['PacketMessage']=(function(){function _0x463b0d(_0x2f988d){if(_0x2f988d){for(var _0x47fc5=Object['keys'](_0x2f988d),_0x12a592=0x0;_0x12a592<_0x47fc5['length'];++_0x12a592)null!=_0x2f988d[_0x47fc5[_0x12a592]]&&'__proto__'!==_0x47fc5[_0x12a592]&&(this[_0x47fc5[_0x12a592]]=_0x2f988d[_0x47fc5[_0x12a592]]);}}return _0x463b0d['prototype']['type']=0x0,_0x463b0d['prototype']['id']=0x0,_0x463b0d['prototype']['nsp']='',_0x463b0d['prototype']['data']=_0x38eba6['newBuffer']([]),_0x463b0d['prototype']['options']=_0x38eba6['newBuffer']([]),_0x463b0d['create']=function(_0xf80175){return new _0x463b0d(_0xf80175);},_0x463b0d['encode']=function(_0x512648,_0x8d2de8){return _0x8d2de8||(_0x8d2de8=_0x4cef4a['create']()),null!=_0x512648['type']&&Object['hasOwnProperty']['call'](_0x512648,'type')&&_0x8d2de8['uint32'](0x8)['uint32'](_0x512648['type']),null!=_0x512648['id']&&Object['hasOwnProperty']['call'](_0x512648,'id')&&_0x8d2de8['uint32'](0x10)['uint32'](_0x512648['id']),null!=_0x512648['nsp']&&Object['hasOwnProperty']['call'](_0x512648,'nsp')&&_0x8d2de8['uint32'](0x1a)['string'](_0x512648['nsp']),null!=_0x512648['data']&&Object['hasOwnProperty']['call'](_0x512648,'data')&&_0x8d2de8['uint32'](0x22)['bytes'](_0x512648['data']),null!=_0x512648['options']&&Object['hasOwnProperty']['call'](_0x512648,'options')&&_0x8d2de8['uint32'](0x2a)['bytes'](_0x512648['options']),_0x8d2de8;},_0x463b0d['encodeDelimited']=function(_0x190240,_0x55ec15){return this['encode'](_0x190240,_0x55ec15)['ldelim']();},_0x463b0d['decode']=function(_0x5559a4,_0x4b54ef,_0x42b547,_0x4759d8){if(_0x5559a4 instanceof _0x4b9dbe||(_0x5559a4=_0x4b9dbe['create'](_0x5559a4)),void 0x0===_0x4759d8&&(_0x4759d8=0x0),_0x4759d8>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x433251=void 0x0===_0x4b54ef?_0x5559a4['len']:_0x5559a4['pos']+_0x4b54ef,_0x39509c=new _0x17ddb1['PacketMessage']();_0x5559a4['pos']<_0x433251;){var _0x345fbd=_0x5559a4['uint32']();if(_0x345fbd===_0x42b547)break;switch(_0x345fbd>>>0x3){case 0x1:_0x39509c['type']=_0x5559a4['uint32']();break;case 0x2:_0x39509c['id']=_0x5559a4['uint32']();break;case 0x3:_0x39509c['nsp']=_0x5559a4['string']();break;case 0x4:_0x39509c['data']=_0x5559a4['bytes']();break;case 0x5:_0x39509c['options']=_0x5559a4['bytes']();break;default:_0x5559a4['skipType'](0x7&_0x345fbd,_0x4759d8);}}return _0x39509c;},_0x463b0d['decodeDelimited']=function(_0x37c950){return _0x37c950 instanceof _0x4b9dbe||(_0x37c950=new _0x4b9dbe(_0x37c950)),this['decode'](_0x37c950,_0x37c950['uint32']());},_0x463b0d['verify']=function(_0x47f95d,_0x5c4478){return'object'!=typeof _0x47f95d||null===_0x47f95d?'object\x20expected':(void 0x0===_0x5c4478&&(_0x5c4478=0x0),_0x5c4478>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x47f95d['type']&&_0x47f95d['hasOwnProperty']('type')&&!_0x38eba6['isInteger'](_0x47f95d['type'])?'type:\x20integer\x20expected':null!=_0x47f95d['id']&&_0x47f95d['hasOwnProperty']('id')&&!_0x38eba6['isInteger'](_0x47f95d['id'])?'id:\x20integer\x20expected':null!=_0x47f95d['nsp']&&_0x47f95d['hasOwnProperty']('nsp')&&!_0x38eba6['isString'](_0x47f95d['nsp'])?'nsp:\x20string\x20expected':null!=_0x47f95d['data']&&_0x47f95d['hasOwnProperty']('data')&&!(_0x47f95d['data']&&'number'==typeof _0x47f95d['data']['length']||_0x38eba6['isString'](_0x47f95d['data']))?'data:\x20buffer\x20expected':null!=_0x47f95d['options']&&_0x47f95d['hasOwnProperty']('options')&&!(_0x47f95d['options']&&'number'==typeof _0x47f95d['options']['length']||_0x38eba6['isString'](_0x47f95d['options']))?'options:\x20buffer\x20expected':null);},_0x463b0d['fromObject']=function(_0x1b1098,_0x248fb1){if(_0x1b1098 instanceof _0x17ddb1['PacketMessage'])return _0x1b1098;if(void 0x0===_0x248fb1&&(_0x248fb1=0x0),_0x248fb1>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x17f620=new _0x17ddb1['PacketMessage']();return null!=_0x1b1098['type']&&(_0x17f620['type']=_0x1b1098['type']>>>0x0),null!=_0x1b1098['id']&&(_0x17f620['id']=_0x1b1098['id']>>>0x0),null!=_0x1b1098['nsp']&&(_0x17f620['nsp']=String(_0x1b1098['nsp'])),null!=_0x1b1098['data']&&('string'==typeof _0x1b1098['data']?_0x38eba6['base64']['decode'](_0x1b1098['data'],_0x17f620['data']=_0x38eba6['newBuffer'](_0x38eba6['base64']['length'](_0x1b1098['data'])),0x0):_0x1b1098['data']['length']>=0x0&&(_0x17f620['data']=_0x1b1098['data'])),null!=_0x1b1098['options']&&('string'==typeof _0x1b1098['options']?_0x38eba6['base64']['decode'](_0x1b1098['options'],_0x17f620['options']=_0x38eba6['newBuffer'](_0x38eba6['base64']['length'](_0x1b1098['options'])),0x0):_0x1b1098['options']['length']>=0x0&&(_0x17f620['options']=_0x1b1098['options'])),_0x17f620;},_0x463b0d['toObject']=function(_0x29d643,_0x3ece65){_0x3ece65||(_0x3ece65={});var _0x3e2f86={};return _0x3ece65['defaults']&&(_0x3e2f86['type']=0x0,_0x3e2f86['id']=0x0,_0x3e2f86['nsp']='',_0x3ece65['bytes']===String?_0x3e2f86['data']='':(_0x3e2f86['data']=[],_0x3ece65['bytes']!==Array&&(_0x3e2f86['data']=_0x38eba6['newBuffer'](_0x3e2f86['data']))),_0x3ece65['bytes']===String?_0x3e2f86['options']='':(_0x3e2f86['options']=[],_0x3ece65['bytes']!==Array&&(_0x3e2f86['options']=_0x38eba6['newBuffer'](_0x3e2f86['options'])))),null!=_0x29d643['type']&&_0x29d643['hasOwnProperty']('type')&&(_0x3e2f86['type']=_0x29d643['type']),null!=_0x29d643['id']&&_0x29d643['hasOwnProperty']('id')&&(_0x3e2f86['id']=_0x29d643['id']),null!=_0x29d643['nsp']&&_0x29d643['hasOwnProperty']('nsp')&&(_0x3e2f86['nsp']=_0x29d643['nsp']),null!=_0x29d643['data']&&_0x29d643['hasOwnProperty']('data')&&(_0x3e2f86['data']=_0x3ece65['bytes']===String?_0x38eba6['base64']['encode'](_0x29d643['data'],0x0,_0x29d643['data']['length']):_0x3ece65['bytes']===Array?Array['prototype']['slice']['call'](_0x29d643['data']):_0x29d643['data']),null!=_0x29d643['options']&&_0x29d643['hasOwnProperty']('options')&&(_0x3e2f86['options']=_0x3ece65['bytes']===String?_0x38eba6['base64']['encode'](_0x29d643['options'],0x0,_0x29d643['options']['length']):_0x3ece65['bytes']===Array?Array['prototype']['slice']['call'](_0x29d643['options']):_0x29d643['options']),_0x3e2f86;},_0x463b0d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x463b0d['getTypeUrl']=function(_0x25dc1){return void 0x0===_0x25dc1&&(_0x25dc1='type.googleapis.com'),_0x25dc1+'/PacketMessage';},_0x463b0d;}()),_0x17ddb1['ObjectObjectPacketDataMessage']=(function(){function _0x8684de(_0x15aa6e){if(_0x15aa6e){for(var _0x5540c0=Object['keys'](_0x15aa6e),_0x2b20c0=0x0;_0x2b20c0<_0x5540c0['length'];++_0x2b20c0)null!=_0x15aa6e[_0x5540c0[_0x2b20c0]]&&'__proto__'!==_0x5540c0[_0x2b20c0]&&(this[_0x5540c0[_0x2b20c0]]=_0x15aa6e[_0x5540c0[_0x2b20c0]]);}}return _0x8684de['prototype']['data']='',_0x8684de['prototype']['data1']='',_0x8684de['create']=function(_0x26e592){return new _0x8684de(_0x26e592);},_0x8684de['encode']=function(_0x517f7e,_0x300abe){return _0x300abe||(_0x300abe=_0x4cef4a['create']()),null!=_0x517f7e['data']&&Object['hasOwnProperty']['call'](_0x517f7e,'data')&&_0x300abe['uint32'](0xa)['string'](_0x517f7e['data']),null!=_0x517f7e['data1']&&Object['hasOwnProperty']['call'](_0x517f7e,'data1')&&_0x300abe['uint32'](0x12)['string'](_0x517f7e['data1']),_0x300abe;},_0x8684de['encodeDelimited']=function(_0x4ce67e,_0x222536){return this['encode'](_0x4ce67e,_0x222536)['ldelim']();},_0x8684de['decode']=function(_0x449d2b,_0x4d4726,_0x41b77b,_0xb999e5){if(_0x449d2b instanceof _0x4b9dbe||(_0x449d2b=_0x4b9dbe['create'](_0x449d2b)),void 0x0===_0xb999e5&&(_0xb999e5=0x0),_0xb999e5>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xd7e254=void 0x0===_0x4d4726?_0x449d2b['len']:_0x449d2b['pos']+_0x4d4726,_0xb58f56=new _0x17ddb1['ObjectObjectPacketDataMessage']();_0x449d2b['pos']<_0xd7e254;){var _0x2c825a=_0x449d2b['uint32']();if(_0x2c825a===_0x41b77b)break;switch(_0x2c825a>>>0x3){case 0x1:_0xb58f56['data']=_0x449d2b['string']();break;case 0x2:_0xb58f56['data1']=_0x449d2b['string']();break;default:_0x449d2b['skipType'](0x7&_0x2c825a,_0xb999e5);}}return _0xb58f56;},_0x8684de['decodeDelimited']=function(_0xd341a6){return _0xd341a6 instanceof _0x4b9dbe||(_0xd341a6=new _0x4b9dbe(_0xd341a6)),this['decode'](_0xd341a6,_0xd341a6['uint32']());},_0x8684de['verify']=function(_0x4cb51c,_0x1c3679){return'object'!=typeof _0x4cb51c||null===_0x4cb51c?'object\x20expected':(void 0x0===_0x1c3679&&(_0x1c3679=0x0),_0x1c3679>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4cb51c['data']&&_0x4cb51c['hasOwnProperty']('data')&&!_0x38eba6['isString'](_0x4cb51c['data'])?'data:\x20string\x20expected':null!=_0x4cb51c['data1']&&_0x4cb51c['hasOwnProperty']('data1')&&!_0x38eba6['isString'](_0x4cb51c['data1'])?'data1:\x20string\x20expected':null);},_0x8684de['fromObject']=function(_0x53b53a,_0x5ee2e7){if(_0x53b53a instanceof _0x17ddb1['ObjectObjectPacketDataMessage'])return _0x53b53a;if(void 0x0===_0x5ee2e7&&(_0x5ee2e7=0x0),_0x5ee2e7>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x30181c=new _0x17ddb1['ObjectObjectPacketDataMessage']();return null!=_0x53b53a['data']&&(_0x30181c['data']=String(_0x53b53a['data'])),null!=_0x53b53a['data1']&&(_0x30181c['data1']=String(_0x53b53a['data1'])),_0x30181c;},_0x8684de['toObject']=function(_0x51b9ef,_0x263a58){_0x263a58||(_0x263a58={});var _0x1b1939={};return _0x263a58['defaults']&&(_0x1b1939['data']='',_0x1b1939['data1']=''),null!=_0x51b9ef['data']&&_0x51b9ef['hasOwnProperty']('data')&&(_0x1b1939['data']=_0x51b9ef['data']),null!=_0x51b9ef['data1']&&_0x51b9ef['hasOwnProperty']('data1')&&(_0x1b1939['data1']=_0x51b9ef['data1']),_0x1b1939;},_0x8684de['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x8684de['getTypeUrl']=function(_0x5f0200){return void 0x0===_0x5f0200&&(_0x5f0200='type.googleapis.com'),_0x5f0200+'/ObjectObjectPacketDataMessage';},_0x8684de;}()),_0x17ddb1['ObjectBufferPacketDataMessage']=(function(){function _0x3b537d(_0xe5ca5b){if(_0xe5ca5b){for(var _0xc2357d=Object['keys'](_0xe5ca5b),_0x2f12a9=0x0;_0x2f12a9<_0xc2357d['length'];++_0x2f12a9)null!=_0xe5ca5b[_0xc2357d[_0x2f12a9]]&&'__proto__'!==_0xc2357d[_0x2f12a9]&&(this[_0xc2357d[_0x2f12a9]]=_0xe5ca5b[_0xc2357d[_0x2f12a9]]);}}return _0x3b537d['prototype']['data']='',_0x3b537d['prototype']['data1']=_0x38eba6['newBuffer']([]),_0x3b537d['create']=function(_0x217a48){return new _0x3b537d(_0x217a48);},_0x3b537d['encode']=function(_0x2ebaac,_0x5ce876){return _0x5ce876||(_0x5ce876=_0x4cef4a['create']()),null!=_0x2ebaac['data']&&Object['hasOwnProperty']['call'](_0x2ebaac,'data')&&_0x5ce876['uint32'](0xa)['string'](_0x2ebaac['data']),null!=_0x2ebaac['data1']&&Object['hasOwnProperty']['call'](_0x2ebaac,'data1')&&_0x5ce876['uint32'](0x12)['bytes'](_0x2ebaac['data1']),_0x5ce876;},_0x3b537d['encodeDelimited']=function(_0x546782,_0xf0041){return this['encode'](_0x546782,_0xf0041)['ldelim']();},_0x3b537d['decode']=function(_0xcf15ed,_0x550f77,_0x5c5a6a,_0x2c8410){if(_0xcf15ed instanceof _0x4b9dbe||(_0xcf15ed=_0x4b9dbe['create'](_0xcf15ed)),void 0x0===_0x2c8410&&(_0x2c8410=0x0),_0x2c8410>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3cd65e=void 0x0===_0x550f77?_0xcf15ed['len']:_0xcf15ed['pos']+_0x550f77,_0x4dd0e9=new _0x17ddb1['ObjectBufferPacketDataMessage']();_0xcf15ed['pos']<_0x3cd65e;){var _0x365027=_0xcf15ed['uint32']();if(_0x365027===_0x5c5a6a)break;switch(_0x365027>>>0x3){case 0x1:_0x4dd0e9['data']=_0xcf15ed['string']();break;case 0x2:_0x4dd0e9['data1']=_0xcf15ed['bytes']();break;default:_0xcf15ed['skipType'](0x7&_0x365027,_0x2c8410);}}return _0x4dd0e9;},_0x3b537d['decodeDelimited']=function(_0x1a6569){return _0x1a6569 instanceof _0x4b9dbe||(_0x1a6569=new _0x4b9dbe(_0x1a6569)),this['decode'](_0x1a6569,_0x1a6569['uint32']());},_0x3b537d['verify']=function(_0x32ae93,_0x127b81){return'object'!=typeof _0x32ae93||null===_0x32ae93?'object\x20expected':(void 0x0===_0x127b81&&(_0x127b81=0x0),_0x127b81>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x32ae93['data']&&_0x32ae93['hasOwnProperty']('data')&&!_0x38eba6['isString'](_0x32ae93['data'])?'data:\x20string\x20expected':null!=_0x32ae93['data1']&&_0x32ae93['hasOwnProperty']('data1')&&!(_0x32ae93['data1']&&'number'==typeof _0x32ae93['data1']['length']||_0x38eba6['isString'](_0x32ae93['data1']))?'data1:\x20buffer\x20expected':null);},_0x3b537d['fromObject']=function(_0x191b41,_0x41b3e8){if(_0x191b41 instanceof _0x17ddb1['ObjectBufferPacketDataMessage'])return _0x191b41;if(void 0x0===_0x41b3e8&&(_0x41b3e8=0x0),_0x41b3e8>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x58e473=new _0x17ddb1['ObjectBufferPacketDataMessage']();return null!=_0x191b41['data']&&(_0x58e473['data']=String(_0x191b41['data'])),null!=_0x191b41['data1']&&('string'==typeof _0x191b41['data1']?_0x38eba6['base64']['decode'](_0x191b41['data1'],_0x58e473['data1']=_0x38eba6['newBuffer'](_0x38eba6['base64']['length'](_0x191b41['data1'])),0x0):_0x191b41['data1']['length']>=0x0&&(_0x58e473['data1']=_0x191b41['data1'])),_0x58e473;},_0x3b537d['toObject']=function(_0x1ca270,_0x263095){_0x263095||(_0x263095={});var _0x4e116e={};return _0x263095['defaults']&&(_0x4e116e['data']='',_0x263095['bytes']===String?_0x4e116e['data1']='':(_0x4e116e['data1']=[],_0x263095['bytes']!==Array&&(_0x4e116e['data1']=_0x38eba6['newBuffer'](_0x4e116e['data1'])))),null!=_0x1ca270['data']&&_0x1ca270['hasOwnProperty']('data')&&(_0x4e116e['data']=_0x1ca270['data']),null!=_0x1ca270['data1']&&_0x1ca270['hasOwnProperty']('data1')&&(_0x4e116e['data1']=_0x263095['bytes']===String?_0x38eba6['base64']['encode'](_0x1ca270['data1'],0x0,_0x1ca270['data1']['length']):_0x263095['bytes']===Array?Array['prototype']['slice']['call'](_0x1ca270['data1']):_0x1ca270['data1']),_0x4e116e;},_0x3b537d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x3b537d['getTypeUrl']=function(_0x530738){return void 0x0===_0x530738&&(_0x530738='type.googleapis.com'),_0x530738+'/ObjectBufferPacketDataMessage';},_0x3b537d;}()),_0x17ddb1['NumberStringPacketDataMessage']=(function(){function _0x43ec06(_0x6d0b1b){if(_0x6d0b1b){for(var _0x30e126=Object['keys'](_0x6d0b1b),_0x4f4c3e=0x0;_0x4f4c3e<_0x30e126['length'];++_0x4f4c3e)null!=_0x6d0b1b[_0x30e126[_0x4f4c3e]]&&'__proto__'!==_0x30e126[_0x4f4c3e]&&(this[_0x30e126[_0x4f4c3e]]=_0x6d0b1b[_0x30e126[_0x4f4c3e]]);}}return _0x43ec06['prototype']['data']=0x0,_0x43ec06['prototype']['data1']='',_0x43ec06['create']=function(_0x47f6d2){return new _0x43ec06(_0x47f6d2);},_0x43ec06['encode']=function(_0x53c493,_0x111afe){return _0x111afe||(_0x111afe=_0x4cef4a['create']()),null!=_0x53c493['data']&&Object['hasOwnProperty']['call'](_0x53c493,'data')&&_0x111afe['uint32'](0x8)['uint32'](_0x53c493['data']),null!=_0x53c493['data1']&&Object['hasOwnProperty']['call'](_0x53c493,'data1')&&_0x111afe['uint32'](0x12)['string'](_0x53c493['data1']),_0x111afe;},_0x43ec06['encodeDelimited']=function(_0x2f61cb,_0x3100d7){return this['encode'](_0x2f61cb,_0x3100d7)['ldelim']();},_0x43ec06['decode']=function(_0x2ed1f6,_0x194276,_0x21e905,_0x5c05b4){if(_0x2ed1f6 instanceof _0x4b9dbe||(_0x2ed1f6=_0x4b9dbe['create'](_0x2ed1f6)),void 0x0===_0x5c05b4&&(_0x5c05b4=0x0),_0x5c05b4>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2c4dd5=void 0x0===_0x194276?_0x2ed1f6['len']:_0x2ed1f6['pos']+_0x194276,_0x331e76=new _0x17ddb1['NumberStringPacketDataMessage']();_0x2ed1f6['pos']<_0x2c4dd5;){var _0x333da5=_0x2ed1f6['uint32']();if(_0x333da5===_0x21e905)break;switch(_0x333da5>>>0x3){case 0x1:_0x331e76['data']=_0x2ed1f6['uint32']();break;case 0x2:_0x331e76['data1']=_0x2ed1f6['string']();break;default:_0x2ed1f6['skipType'](0x7&_0x333da5,_0x5c05b4);}}return _0x331e76;},_0x43ec06['decodeDelimited']=function(_0x4f6764){return _0x4f6764 instanceof _0x4b9dbe||(_0x4f6764=new _0x4b9dbe(_0x4f6764)),this['decode'](_0x4f6764,_0x4f6764['uint32']());},_0x43ec06['verify']=function(_0xeeb708,_0x286ce2){return'object'!=typeof _0xeeb708||null===_0xeeb708?'object\x20expected':(void 0x0===_0x286ce2&&(_0x286ce2=0x0),_0x286ce2>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xeeb708['data']&&_0xeeb708['hasOwnProperty']('data')&&!_0x38eba6['isInteger'](_0xeeb708['data'])?'data:\x20integer\x20expected':null!=_0xeeb708['data1']&&_0xeeb708['hasOwnProperty']('data1')&&!_0x38eba6['isString'](_0xeeb708['data1'])?'data1:\x20string\x20expected':null);},_0x43ec06['fromObject']=function(_0x31919b,_0x5e6e7d){if(_0x31919b instanceof _0x17ddb1['NumberStringPacketDataMessage'])return _0x31919b;if(void 0x0===_0x5e6e7d&&(_0x5e6e7d=0x0),_0x5e6e7d>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2d28ac=new _0x17ddb1['NumberStringPacketDataMessage']();return null!=_0x31919b['data']&&(_0x2d28ac['data']=_0x31919b['data']>>>0x0),null!=_0x31919b['data1']&&(_0x2d28ac['data1']=String(_0x31919b['data1'])),_0x2d28ac;},_0x43ec06['toObject']=function(_0x533f10,_0x5f265d){_0x5f265d||(_0x5f265d={});var _0x176abb={};return _0x5f265d['defaults']&&(_0x176abb['data']=0x0,_0x176abb['data1']=''),null!=_0x533f10['data']&&_0x533f10['hasOwnProperty']('data')&&(_0x176abb['data']=_0x533f10['data']),null!=_0x533f10['data1']&&_0x533f10['hasOwnProperty']('data1')&&(_0x176abb['data1']=_0x533f10['data1']),_0x176abb;},_0x43ec06['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x43ec06['getTypeUrl']=function(_0x1a04b0){return void 0x0===_0x1a04b0&&(_0x1a04b0='type.googleapis.com'),_0x1a04b0+'/NumberStringPacketDataMessage';},_0x43ec06;}()),_0x17ddb1['NumberObjectPacketDataMessage']=(function(){function _0x43e3c4(_0x5d3327){if(_0x5d3327){for(var _0x24d09a=Object['keys'](_0x5d3327),_0x5ec784=0x0;_0x5ec784<_0x24d09a['length'];++_0x5ec784)null!=_0x5d3327[_0x24d09a[_0x5ec784]]&&'__proto__'!==_0x24d09a[_0x5ec784]&&(this[_0x24d09a[_0x5ec784]]=_0x5d3327[_0x24d09a[_0x5ec784]]);}}return _0x43e3c4['prototype']['data']=0x0,_0x43e3c4['prototype']['data1']='',_0x43e3c4['create']=function(_0x4ac3dc){return new _0x43e3c4(_0x4ac3dc);},_0x43e3c4['encode']=function(_0x53afe0,_0x31e664){return _0x31e664||(_0x31e664=_0x4cef4a['create']()),null!=_0x53afe0['data']&&Object['hasOwnProperty']['call'](_0x53afe0,'data')&&_0x31e664['uint32'](0x8)['uint32'](_0x53afe0['data']),null!=_0x53afe0['data1']&&Object['hasOwnProperty']['call'](_0x53afe0,'data1')&&_0x31e664['uint32'](0x12)['string'](_0x53afe0['data1']),_0x31e664;},_0x43e3c4['encodeDelimited']=function(_0x1b9540,_0x418396){return this['encode'](_0x1b9540,_0x418396)['ldelim']();},_0x43e3c4['decode']=function(_0x3a4297,_0x140d8c,_0x14367e,_0x1b31a0){if(_0x3a4297 instanceof _0x4b9dbe||(_0x3a4297=_0x4b9dbe['create'](_0x3a4297)),void 0x0===_0x1b31a0&&(_0x1b31a0=0x0),_0x1b31a0>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x571949=void 0x0===_0x140d8c?_0x3a4297['len']:_0x3a4297['pos']+_0x140d8c,_0x35352e=new _0x17ddb1['NumberObjectPacketDataMessage']();_0x3a4297['pos']<_0x571949;){var _0x2357d9=_0x3a4297['uint32']();if(_0x2357d9===_0x14367e)break;switch(_0x2357d9>>>0x3){case 0x1:_0x35352e['data']=_0x3a4297['uint32']();break;case 0x2:_0x35352e['data1']=_0x3a4297['string']();break;default:_0x3a4297['skipType'](0x7&_0x2357d9,_0x1b31a0);}}return _0x35352e;},_0x43e3c4['decodeDelimited']=function(_0x18d9ca){return _0x18d9ca instanceof _0x4b9dbe||(_0x18d9ca=new _0x4b9dbe(_0x18d9ca)),this['decode'](_0x18d9ca,_0x18d9ca['uint32']());},_0x43e3c4['verify']=function(_0x43416e,_0x9ffa7){return'object'!=typeof _0x43416e||null===_0x43416e?'object\x20expected':(void 0x0===_0x9ffa7&&(_0x9ffa7=0x0),_0x9ffa7>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x43416e['data']&&_0x43416e['hasOwnProperty']('data')&&!_0x38eba6['isInteger'](_0x43416e['data'])?'data:\x20integer\x20expected':null!=_0x43416e['data1']&&_0x43416e['hasOwnProperty']('data1')&&!_0x38eba6['isString'](_0x43416e['data1'])?'data1:\x20string\x20expected':null);},_0x43e3c4['fromObject']=function(_0x308467,_0x1f90d9){if(_0x308467 instanceof _0x17ddb1['NumberObjectPacketDataMessage'])return _0x308467;if(void 0x0===_0x1f90d9&&(_0x1f90d9=0x0),_0x1f90d9>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4c559a=new _0x17ddb1['NumberObjectPacketDataMessage']();return null!=_0x308467['data']&&(_0x4c559a['data']=_0x308467['data']>>>0x0),null!=_0x308467['data1']&&(_0x4c559a['data1']=String(_0x308467['data1'])),_0x4c559a;},_0x43e3c4['toObject']=function(_0x391583,_0x198cbb){_0x198cbb||(_0x198cbb={});var _0xe82d9b={};return _0x198cbb['defaults']&&(_0xe82d9b['data']=0x0,_0xe82d9b['data1']=''),null!=_0x391583['data']&&_0x391583['hasOwnProperty']('data')&&(_0xe82d9b['data']=_0x391583['data']),null!=_0x391583['data1']&&_0x391583['hasOwnProperty']('data1')&&(_0xe82d9b['data1']=_0x391583['data1']),_0xe82d9b;},_0x43e3c4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x43e3c4['getTypeUrl']=function(_0x13ccc5){return void 0x0===_0x13ccc5&&(_0x13ccc5='type.googleapis.com'),_0x13ccc5+'/NumberObjectPacketDataMessage';},_0x43e3c4;}()),_0x17ddb1['NumberNumberPacketDataMessage']=(function(){function _0x2799ae(_0x40b7db){if(_0x40b7db){for(var _0x512871=Object['keys'](_0x40b7db),_0x4f6ed8=0x0;_0x4f6ed8<_0x512871['length'];++_0x4f6ed8)null!=_0x40b7db[_0x512871[_0x4f6ed8]]&&'__proto__'!==_0x512871[_0x4f6ed8]&&(this[_0x512871[_0x4f6ed8]]=_0x40b7db[_0x512871[_0x4f6ed8]]);}}return _0x2799ae['prototype']['data']=0x0,_0x2799ae['prototype']['data1']=0x0,_0x2799ae['create']=function(_0xd68510){return new _0x2799ae(_0xd68510);},_0x2799ae['encode']=function(_0xebffb3,_0x1a529f){return _0x1a529f||(_0x1a529f=_0x4cef4a['create']()),null!=_0xebffb3['data']&&Object['hasOwnProperty']['call'](_0xebffb3,'data')&&_0x1a529f['uint32'](0x8)['uint32'](_0xebffb3['data']),null!=_0xebffb3['data1']&&Object['hasOwnProperty']['call'](_0xebffb3,'data1')&&_0x1a529f['uint32'](0x10)['uint32'](_0xebffb3['data1']),_0x1a529f;},_0x2799ae['encodeDelimited']=function(_0x18476c,_0x4fd7c6){return this['encode'](_0x18476c,_0x4fd7c6)['ldelim']();},_0x2799ae['decode']=function(_0x19b150,_0x148d20,_0x5c9d04,_0x2402d1){if(_0x19b150 instanceof _0x4b9dbe||(_0x19b150=_0x4b9dbe['create'](_0x19b150)),void 0x0===_0x2402d1&&(_0x2402d1=0x0),_0x2402d1>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x12d400=void 0x0===_0x148d20?_0x19b150['len']:_0x19b150['pos']+_0x148d20,_0x1a9cad=new _0x17ddb1['NumberNumberPacketDataMessage']();_0x19b150['pos']<_0x12d400;){var _0x2c6e10=_0x19b150['uint32']();if(_0x2c6e10===_0x5c9d04)break;switch(_0x2c6e10>>>0x3){case 0x1:_0x1a9cad['data']=_0x19b150['uint32']();break;case 0x2:_0x1a9cad['data1']=_0x19b150['uint32']();break;default:_0x19b150['skipType'](0x7&_0x2c6e10,_0x2402d1);}}return _0x1a9cad;},_0x2799ae['decodeDelimited']=function(_0x11333a){return _0x11333a instanceof _0x4b9dbe||(_0x11333a=new _0x4b9dbe(_0x11333a)),this['decode'](_0x11333a,_0x11333a['uint32']());},_0x2799ae['verify']=function(_0x2a114d,_0x5034c7){return'object'!=typeof _0x2a114d||null===_0x2a114d?'object\x20expected':(void 0x0===_0x5034c7&&(_0x5034c7=0x0),_0x5034c7>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2a114d['data']&&_0x2a114d['hasOwnProperty']('data')&&!_0x38eba6['isInteger'](_0x2a114d['data'])?'data:\x20integer\x20expected':null!=_0x2a114d['data1']&&_0x2a114d['hasOwnProperty']('data1')&&!_0x38eba6['isInteger'](_0x2a114d['data1'])?'data1:\x20integer\x20expected':null);},_0x2799ae['fromObject']=function(_0x531695,_0x57d310){if(_0x531695 instanceof _0x17ddb1['NumberNumberPacketDataMessage'])return _0x531695;if(void 0x0===_0x57d310&&(_0x57d310=0x0),_0x57d310>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2abdac=new _0x17ddb1['NumberNumberPacketDataMessage']();return null!=_0x531695['data']&&(_0x2abdac['data']=_0x531695['data']>>>0x0),null!=_0x531695['data1']&&(_0x2abdac['data1']=_0x531695['data1']>>>0x0),_0x2abdac;},_0x2799ae['toObject']=function(_0xa9a9aa,_0x4d4c5e){_0x4d4c5e||(_0x4d4c5e={});var _0x5bcf21={};return _0x4d4c5e['defaults']&&(_0x5bcf21['data']=0x0,_0x5bcf21['data1']=0x0),null!=_0xa9a9aa['data']&&_0xa9a9aa['hasOwnProperty']('data')&&(_0x5bcf21['data']=_0xa9a9aa['data']),null!=_0xa9a9aa['data1']&&_0xa9a9aa['hasOwnProperty']('data1')&&(_0x5bcf21['data1']=_0xa9a9aa['data1']),_0x5bcf21;},_0x2799ae['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x2799ae['getTypeUrl']=function(_0x40e306){return void 0x0===_0x40e306&&(_0x40e306='type.googleapis.com'),_0x40e306+'/NumberNumberPacketDataMessage';},_0x2799ae;}()),_0x17ddb1['NumberBytesPacketDataMessage']=(function(){function _0x141ae3(_0x5d469a){if(_0x5d469a){for(var _0x21297e=Object['keys'](_0x5d469a),_0x448032=0x0;_0x448032<_0x21297e['length'];++_0x448032)null!=_0x5d469a[_0x21297e[_0x448032]]&&'__proto__'!==_0x21297e[_0x448032]&&(this[_0x21297e[_0x448032]]=_0x5d469a[_0x21297e[_0x448032]]);}}return _0x141ae3['prototype']['data']=0x0,_0x141ae3['prototype']['data1']=_0x38eba6['newBuffer']([]),_0x141ae3['create']=function(_0x2dc294){return new _0x141ae3(_0x2dc294);},_0x141ae3['encode']=function(_0x1f0089,_0x4fc2e8){return _0x4fc2e8||(_0x4fc2e8=_0x4cef4a['create']()),null!=_0x1f0089['data']&&Object['hasOwnProperty']['call'](_0x1f0089,'data')&&_0x4fc2e8['uint32'](0x8)['uint32'](_0x1f0089['data']),null!=_0x1f0089['data1']&&Object['hasOwnProperty']['call'](_0x1f0089,'data1')&&_0x4fc2e8['uint32'](0x12)['bytes'](_0x1f0089['data1']),_0x4fc2e8;},_0x141ae3['encodeDelimited']=function(_0x50e47b,_0x36f79a){return this['encode'](_0x50e47b,_0x36f79a)['ldelim']();},_0x141ae3['decode']=function(_0x2693b7,_0x3a4c50,_0x27c44d,_0x5a6c2b){if(_0x2693b7 instanceof _0x4b9dbe||(_0x2693b7=_0x4b9dbe['create'](_0x2693b7)),void 0x0===_0x5a6c2b&&(_0x5a6c2b=0x0),_0x5a6c2b>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x22411c=void 0x0===_0x3a4c50?_0x2693b7['len']:_0x2693b7['pos']+_0x3a4c50,_0x5af96a=new _0x17ddb1['NumberBytesPacketDataMessage']();_0x2693b7['pos']<_0x22411c;){var _0x21dd2b=_0x2693b7['uint32']();if(_0x21dd2b===_0x27c44d)break;switch(_0x21dd2b>>>0x3){case 0x1:_0x5af96a['data']=_0x2693b7['uint32']();break;case 0x2:_0x5af96a['data1']=_0x2693b7['bytes']();break;default:_0x2693b7['skipType'](0x7&_0x21dd2b,_0x5a6c2b);}}return _0x5af96a;},_0x141ae3['decodeDelimited']=function(_0x4fa8fd){return _0x4fa8fd instanceof _0x4b9dbe||(_0x4fa8fd=new _0x4b9dbe(_0x4fa8fd)),this['decode'](_0x4fa8fd,_0x4fa8fd['uint32']());},_0x141ae3['verify']=function(_0x5c4c3a,_0x49c415){return'object'!=typeof _0x5c4c3a||null===_0x5c4c3a?'object\x20expected':(void 0x0===_0x49c415&&(_0x49c415=0x0),_0x49c415>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5c4c3a['data']&&_0x5c4c3a['hasOwnProperty']('data')&&!_0x38eba6['isInteger'](_0x5c4c3a['data'])?'data:\x20integer\x20expected':null!=_0x5c4c3a['data1']&&_0x5c4c3a['hasOwnProperty']('data1')&&!(_0x5c4c3a['data1']&&'number'==typeof _0x5c4c3a['data1']['length']||_0x38eba6['isString'](_0x5c4c3a['data1']))?'data1:\x20buffer\x20expected':null);},_0x141ae3['fromObject']=function(_0x313d54,_0x449243){if(_0x313d54 instanceof _0x17ddb1['NumberBytesPacketDataMessage'])return _0x313d54;if(void 0x0===_0x449243&&(_0x449243=0x0),_0x449243>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1d42a3=new _0x17ddb1['NumberBytesPacketDataMessage']();return null!=_0x313d54['data']&&(_0x1d42a3['data']=_0x313d54['data']>>>0x0),null!=_0x313d54['data1']&&('string'==typeof _0x313d54['data1']?_0x38eba6['base64']['decode'](_0x313d54['data1'],_0x1d42a3['data1']=_0x38eba6['newBuffer'](_0x38eba6['base64']['length'](_0x313d54['data1'])),0x0):_0x313d54['data1']['length']>=0x0&&(_0x1d42a3['data1']=_0x313d54['data1'])),_0x1d42a3;},_0x141ae3['toObject']=function(_0x2a91ad,_0x14f08d){_0x14f08d||(_0x14f08d={});var _0x2b1453={};return _0x14f08d['defaults']&&(_0x2b1453['data']=0x0,_0x14f08d['bytes']===String?_0x2b1453['data1']='':(_0x2b1453['data1']=[],_0x14f08d['bytes']!==Array&&(_0x2b1453['data1']=_0x38eba6['newBuffer'](_0x2b1453['data1'])))),null!=_0x2a91ad['data']&&_0x2a91ad['hasOwnProperty']('data')&&(_0x2b1453['data']=_0x2a91ad['data']),null!=_0x2a91ad['data1']&&_0x2a91ad['hasOwnProperty']('data1')&&(_0x2b1453['data1']=_0x14f08d['bytes']===String?_0x38eba6['base64']['encode'](_0x2a91ad['data1'],0x0,_0x2a91ad['data1']['length']):_0x14f08d['bytes']===Array?Array['prototype']['slice']['call'](_0x2a91ad['data1']):_0x2a91ad['data1']),_0x2b1453;},_0x141ae3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x141ae3['getTypeUrl']=function(_0x19fb93){return void 0x0===_0x19fb93&&(_0x19fb93='type.googleapis.com'),_0x19fb93+'/NumberBytesPacketDataMessage';},_0x141ae3;}()),_0x17ddb1['BytesBytesPacketDataMessage']=(function(){function _0x1643b9(_0x18bd50){if(_0x18bd50){for(var _0x440bef=Object['keys'](_0x18bd50),_0x2971b6=0x0;_0x2971b6<_0x440bef['length'];++_0x2971b6)null!=_0x18bd50[_0x440bef[_0x2971b6]]&&'__proto__'!==_0x440bef[_0x2971b6]&&(this[_0x440bef[_0x2971b6]]=_0x18bd50[_0x440bef[_0x2971b6]]);}}return _0x1643b9['prototype']['data']=_0x38eba6['newBuffer']([]),_0x1643b9['prototype']['data1']=_0x38eba6['newBuffer']([]),_0x1643b9['create']=function(_0x4b8251){return new _0x1643b9(_0x4b8251);},_0x1643b9['encode']=function(_0x576882,_0x5f2ede){return _0x5f2ede||(_0x5f2ede=_0x4cef4a['create']()),null!=_0x576882['data']&&Object['hasOwnProperty']['call'](_0x576882,'data')&&_0x5f2ede['uint32'](0xa)['bytes'](_0x576882['data']),null!=_0x576882['data1']&&Object['hasOwnProperty']['call'](_0x576882,'data1')&&_0x5f2ede['uint32'](0x12)['bytes'](_0x576882['data1']),_0x5f2ede;},_0x1643b9['encodeDelimited']=function(_0x42d8df,_0x198984){return this['encode'](_0x42d8df,_0x198984)['ldelim']();},_0x1643b9['decode']=function(_0x259b09,_0x26fcd2,_0x5216db,_0x2d5646){if(_0x259b09 instanceof _0x4b9dbe||(_0x259b09=_0x4b9dbe['create'](_0x259b09)),void 0x0===_0x2d5646&&(_0x2d5646=0x0),_0x2d5646>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x49d0ed=void 0x0===_0x26fcd2?_0x259b09['len']:_0x259b09['pos']+_0x26fcd2,_0x349800=new _0x17ddb1['BytesBytesPacketDataMessage']();_0x259b09['pos']<_0x49d0ed;){var _0x431be3=_0x259b09['uint32']();if(_0x431be3===_0x5216db)break;switch(_0x431be3>>>0x3){case 0x1:_0x349800['data']=_0x259b09['bytes']();break;case 0x2:_0x349800['data1']=_0x259b09['bytes']();break;default:_0x259b09['skipType'](0x7&_0x431be3,_0x2d5646);}}return _0x349800;},_0x1643b9['decodeDelimited']=function(_0x1d4f62){return _0x1d4f62 instanceof _0x4b9dbe||(_0x1d4f62=new _0x4b9dbe(_0x1d4f62)),this['decode'](_0x1d4f62,_0x1d4f62['uint32']());},_0x1643b9['verify']=function(_0x3d0645,_0xd1d66b){return'object'!=typeof _0x3d0645||null===_0x3d0645?'object\x20expected':(void 0x0===_0xd1d66b&&(_0xd1d66b=0x0),_0xd1d66b>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3d0645['data']&&_0x3d0645['hasOwnProperty']('data')&&!(_0x3d0645['data']&&'number'==typeof _0x3d0645['data']['length']||_0x38eba6['isString'](_0x3d0645['data']))?'data:\x20buffer\x20expected':null!=_0x3d0645['data1']&&_0x3d0645['hasOwnProperty']('data1')&&!(_0x3d0645['data1']&&'number'==typeof _0x3d0645['data1']['length']||_0x38eba6['isString'](_0x3d0645['data1']))?'data1:\x20buffer\x20expected':null);},_0x1643b9['fromObject']=function(_0x1756ef,_0x10d9c4){if(_0x1756ef instanceof _0x17ddb1['BytesBytesPacketDataMessage'])return _0x1756ef;if(void 0x0===_0x10d9c4&&(_0x10d9c4=0x0),_0x10d9c4>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1cc1a6=new _0x17ddb1['BytesBytesPacketDataMessage']();return null!=_0x1756ef['data']&&('string'==typeof _0x1756ef['data']?_0x38eba6['base64']['decode'](_0x1756ef['data'],_0x1cc1a6['data']=_0x38eba6['newBuffer'](_0x38eba6['base64']['length'](_0x1756ef['data'])),0x0):_0x1756ef['data']['length']>=0x0&&(_0x1cc1a6['data']=_0x1756ef['data'])),null!=_0x1756ef['data1']&&('string'==typeof _0x1756ef['data1']?_0x38eba6['base64']['decode'](_0x1756ef['data1'],_0x1cc1a6['data1']=_0x38eba6['newBuffer'](_0x38eba6['base64']['length'](_0x1756ef['data1'])),0x0):_0x1756ef['data1']['length']>=0x0&&(_0x1cc1a6['data1']=_0x1756ef['data1'])),_0x1cc1a6;},_0x1643b9['toObject']=function(_0x39136a,_0x14caf4){_0x14caf4||(_0x14caf4={});var _0xfbe731={};return _0x14caf4['defaults']&&(_0x14caf4['bytes']===String?_0xfbe731['data']='':(_0xfbe731['data']=[],_0x14caf4['bytes']!==Array&&(_0xfbe731['data']=_0x38eba6['newBuffer'](_0xfbe731['data']))),_0x14caf4['bytes']===String?_0xfbe731['data1']='':(_0xfbe731['data1']=[],_0x14caf4['bytes']!==Array&&(_0xfbe731['data1']=_0x38eba6['newBuffer'](_0xfbe731['data1'])))),null!=_0x39136a['data']&&_0x39136a['hasOwnProperty']('data')&&(_0xfbe731['data']=_0x14caf4['bytes']===String?_0x38eba6['base64']['encode'](_0x39136a['data'],0x0,_0x39136a['data']['length']):_0x14caf4['bytes']===Array?Array['prototype']['slice']['call'](_0x39136a['data']):_0x39136a['data']),null!=_0x39136a['data1']&&_0x39136a['hasOwnProperty']('data1')&&(_0xfbe731['data1']=_0x14caf4['bytes']===String?_0x38eba6['base64']['encode'](_0x39136a['data1'],0x0,_0x39136a['data1']['length']):_0x14caf4['bytes']===Array?Array['prototype']['slice']['call'](_0x39136a['data1']):_0x39136a['data1']),_0xfbe731;},_0x1643b9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x1643b9['getTypeUrl']=function(_0x45bd1c){return void 0x0===_0x45bd1c&&(_0x45bd1c='type.googleapis.com'),_0x45bd1c+'/BytesBytesPacketDataMessage';},_0x1643b9;}()),_0x17ddb1['ChannelMessage']=(function(){function _0x3ce478(_0x2cf3f4){if(_0x2cf3f4){for(var _0x440a23=Object['keys'](_0x2cf3f4),_0x45dc5d=0x0;_0x45dc5d<_0x440a23['length'];++_0x45dc5d)null!=_0x2cf3f4[_0x440a23[_0x45dc5d]]&&'__proto__'!==_0x440a23[_0x45dc5d]&&(this[_0x440a23[_0x45dc5d]]=_0x2cf3f4[_0x440a23[_0x45dc5d]]);}}return _0x3ce478['prototype']['type']=0x0,_0x3ce478['prototype']['socketId']='',_0x3ce478['prototype']['data']=_0x38eba6['newBuffer']([]),_0x3ce478['create']=function(_0x59561e){return new _0x3ce478(_0x59561e);},_0x3ce478['encode']=function(_0x20ca60,_0x3bf875){return _0x3bf875||(_0x3bf875=_0x4cef4a['create']()),null!=_0x20ca60['type']&&Object['hasOwnProperty']['call'](_0x20ca60,'type')&&_0x3bf875['uint32'](0x8)['uint32'](_0x20ca60['type']),null!=_0x20ca60['socketId']&&Object['hasOwnProperty']['call'](_0x20ca60,'socketId')&&_0x3bf875['uint32'](0x12)['string'](_0x20ca60['socketId']),null!=_0x20ca60['data']&&Object['hasOwnProperty']['call'](_0x20ca60,'data')&&_0x3bf875['uint32'](0x1a)['bytes'](_0x20ca60['data']),_0x3bf875;},_0x3ce478['encodeDelimited']=function(_0x175357,_0x3cf02f){return this['encode'](_0x175357,_0x3cf02f)['ldelim']();},_0x3ce478['decode']=function(_0x33fd76,_0x10aaec,_0x3b0388,_0x117cc4){if(_0x33fd76 instanceof _0x4b9dbe||(_0x33fd76=_0x4b9dbe['create'](_0x33fd76)),void 0x0===_0x117cc4&&(_0x117cc4=0x0),_0x117cc4>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x181df9=void 0x0===_0x10aaec?_0x33fd76['len']:_0x33fd76['pos']+_0x10aaec,_0x57fd6e=new _0x17ddb1['ChannelMessage']();_0x33fd76['pos']<_0x181df9;){var _0x1426c9=_0x33fd76['uint32']();if(_0x1426c9===_0x3b0388)break;switch(_0x1426c9>>>0x3){case 0x1:_0x57fd6e['type']=_0x33fd76['uint32']();break;case 0x2:_0x57fd6e['socketId']=_0x33fd76['string']();break;case 0x3:_0x57fd6e['data']=_0x33fd76['bytes']();break;default:_0x33fd76['skipType'](0x7&_0x1426c9,_0x117cc4);}}return _0x57fd6e;},_0x3ce478['decodeDelimited']=function(_0x5eee32){return _0x5eee32 instanceof _0x4b9dbe||(_0x5eee32=new _0x4b9dbe(_0x5eee32)),this['decode'](_0x5eee32,_0x5eee32['uint32']());},_0x3ce478['verify']=function(_0x157ab2,_0x4b49a3){return'object'!=typeof _0x157ab2||null===_0x157ab2?'object\x20expected':(void 0x0===_0x4b49a3&&(_0x4b49a3=0x0),_0x4b49a3>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x157ab2['type']&&_0x157ab2['hasOwnProperty']('type')&&!_0x38eba6['isInteger'](_0x157ab2['type'])?'type:\x20integer\x20expected':null!=_0x157ab2['socketId']&&_0x157ab2['hasOwnProperty']('socketId')&&!_0x38eba6['isString'](_0x157ab2['socketId'])?'socketId:\x20string\x20expected':null!=_0x157ab2['data']&&_0x157ab2['hasOwnProperty']('data')&&!(_0x157ab2['data']&&'number'==typeof _0x157ab2['data']['length']||_0x38eba6['isString'](_0x157ab2['data']))?'data:\x20buffer\x20expected':null);},_0x3ce478['fromObject']=function(_0x5d3e54,_0x5590ac){if(_0x5d3e54 instanceof _0x17ddb1['ChannelMessage'])return _0x5d3e54;if(void 0x0===_0x5590ac&&(_0x5590ac=0x0),_0x5590ac>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x26dd09=new _0x17ddb1['ChannelMessage']();return null!=_0x5d3e54['type']&&(_0x26dd09['type']=_0x5d3e54['type']>>>0x0),null!=_0x5d3e54['socketId']&&(_0x26dd09['socketId']=String(_0x5d3e54['socketId'])),null!=_0x5d3e54['data']&&('string'==typeof _0x5d3e54['data']?_0x38eba6['base64']['decode'](_0x5d3e54['data'],_0x26dd09['data']=_0x38eba6['newBuffer'](_0x38eba6['base64']['length'](_0x5d3e54['data'])),0x0):_0x5d3e54['data']['length']>=0x0&&(_0x26dd09['data']=_0x5d3e54['data'])),_0x26dd09;},_0x3ce478['toObject']=function(_0x23a315,_0x36db44){_0x36db44||(_0x36db44={});var _0x91017a={};return _0x36db44['defaults']&&(_0x91017a['type']=0x0,_0x91017a['socketId']='',_0x36db44['bytes']===String?_0x91017a['data']='':(_0x91017a['data']=[],_0x36db44['bytes']!==Array&&(_0x91017a['data']=_0x38eba6['newBuffer'](_0x91017a['data'])))),null!=_0x23a315['type']&&_0x23a315['hasOwnProperty']('type')&&(_0x91017a['type']=_0x23a315['type']),null!=_0x23a315['socketId']&&_0x23a315['hasOwnProperty']('socketId')&&(_0x91017a['socketId']=_0x23a315['socketId']),null!=_0x23a315['data']&&_0x23a315['hasOwnProperty']('data')&&(_0x91017a['data']=_0x36db44['bytes']===String?_0x38eba6['base64']['encode'](_0x23a315['data'],0x0,_0x23a315['data']['length']):_0x36db44['bytes']===Array?Array['prototype']['slice']['call'](_0x23a315['data']):_0x23a315['data']),_0x91017a;},_0x3ce478['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x3ce478['getTypeUrl']=function(_0xf4bc98){return void 0x0===_0xf4bc98&&(_0xf4bc98='type.googleapis.com'),_0xf4bc98+'/ChannelMessage';},_0x3ce478;}()),_0x17ddb1['GetUserResponse']=(function(){function _0x30dcb7(_0x5f2c78){if(this['attributes']=[],_0x5f2c78){for(var _0x271b76=Object['keys'](_0x5f2c78),_0x1767bf=0x0;_0x1767bf<_0x271b76['length'];++_0x1767bf)null!=_0x5f2c78[_0x271b76[_0x1767bf]]&&'__proto__'!==_0x271b76[_0x1767bf]&&(this[_0x271b76[_0x1767bf]]=_0x5f2c78[_0x271b76[_0x1767bf]]);}}return _0x30dcb7['prototype']['attributes']=_0x38eba6['emptyArray'],_0x30dcb7['create']=function(_0x1fbd3e){return new _0x30dcb7(_0x1fbd3e);},_0x30dcb7['encode']=function(_0x5c635c,_0x20e20d){if(_0x20e20d||(_0x20e20d=_0x4cef4a['create']()),null!=_0x5c635c['attributes']&&_0x5c635c['attributes']['length']){for(var _0x39927f=0x0;_0x39927f<_0x5c635c['attributes']['length'];++_0x39927f)_0x17ddb1['KeyValueDescriptor']['encode'](_0x5c635c['attributes'][_0x39927f],_0x20e20d['uint32'](0xa)['fork']())['ldelim']();}return _0x20e20d;},_0x30dcb7['encodeDelimited']=function(_0x4207fb,_0x53097c){return this['encode'](_0x4207fb,_0x53097c)['ldelim']();},_0x30dcb7['decode']=function(_0x13ae3e,_0x11dbcb,_0x5f040e,_0x351b77){if(_0x13ae3e instanceof _0x4b9dbe||(_0x13ae3e=_0x4b9dbe['create'](_0x13ae3e)),void 0x0===_0x351b77&&(_0x351b77=0x0),_0x351b77>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x17034a=void 0x0===_0x11dbcb?_0x13ae3e['len']:_0x13ae3e['pos']+_0x11dbcb,_0x2ad55f=new _0x17ddb1['GetUserResponse']();_0x13ae3e['pos']<_0x17034a;){var _0x11ecb7=_0x13ae3e['uint32']();if(_0x11ecb7===_0x5f040e)break;_0x11ecb7>>>0x3==0x1?(_0x2ad55f['attributes']&&_0x2ad55f['attributes']['length']||(_0x2ad55f['attributes']=[]),_0x2ad55f['attributes']['push'](_0x17ddb1['KeyValueDescriptor']['decode'](_0x13ae3e,_0x13ae3e['uint32'](),void 0x0,_0x351b77+0x1))):_0x13ae3e['skipType'](0x7&_0x11ecb7,_0x351b77);}return _0x2ad55f;},_0x30dcb7['decodeDelimited']=function(_0x14d703){return _0x14d703 instanceof _0x4b9dbe||(_0x14d703=new _0x4b9dbe(_0x14d703)),this['decode'](_0x14d703,_0x14d703['uint32']());},_0x30dcb7['verify']=function(_0x2fda31,_0x52ee23){if('object'!=typeof _0x2fda31||null===_0x2fda31)return'object\x20expected';if(void 0x0===_0x52ee23&&(_0x52ee23=0x0),_0x52ee23>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2fda31['attributes']&&_0x2fda31['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x2fda31['attributes']))return'attributes:\x20array\x20expected';for(var _0x16e32b=0x0;_0x16e32b<_0x2fda31['attributes']['length'];++_0x16e32b){var _0x5f1cfc=_0x17ddb1['KeyValueDescriptor']['verify'](_0x2fda31['attributes'][_0x16e32b],_0x52ee23+0x1);if(_0x5f1cfc)return'attributes.'+_0x5f1cfc;}}return null;},_0x30dcb7['fromObject']=function(_0x996c3b,_0x2c4462){if(_0x996c3b instanceof _0x17ddb1['GetUserResponse'])return _0x996c3b;if(void 0x0===_0x2c4462&&(_0x2c4462=0x0),_0x2c4462>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4c4644=new _0x17ddb1['GetUserResponse']();if(_0x996c3b['attributes']){if(!Array['isArray'](_0x996c3b['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x4c4644['attributes']=[];for(var _0x4e847a=0x0;_0x4e847a<_0x996c3b['attributes']['length'];++_0x4e847a){if('object'!=typeof _0x996c3b['attributes'][_0x4e847a])throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x4c4644['attributes'][_0x4e847a]=_0x17ddb1['KeyValueDescriptor']['fromObject'](_0x996c3b['attributes'][_0x4e847a],_0x2c4462+0x1);}}return _0x4c4644;},_0x30dcb7['toObject']=function(_0x3310d4,_0x286481){_0x286481||(_0x286481={});var _0x55845d={};if((_0x286481['arrays']||_0x286481['defaults'])&&(_0x55845d['attributes']=[]),_0x3310d4['attributes']&&_0x3310d4['attributes']['length']){_0x55845d['attributes']=[];for(var _0x1918b6=0x0;_0x1918b6<_0x3310d4['attributes']['length'];++_0x1918b6)_0x55845d['attributes'][_0x1918b6]=_0x17ddb1['KeyValueDescriptor']['toObject'](_0x3310d4['attributes'][_0x1918b6],_0x286481);}return _0x55845d;},_0x30dcb7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x30dcb7['getTypeUrl']=function(_0x119384){return void 0x0===_0x119384&&(_0x119384='type.googleapis.com'),_0x119384+'/GetUserResponse';},_0x30dcb7;}()),_0x17ddb1['GetManyUsersResponse']=(function(){function _0x50d175(_0x5da7e9){if(this['users']=[],_0x5da7e9){for(var _0x1a2f15=Object['keys'](_0x5da7e9),_0x3c0e3c=0x0;_0x3c0e3c<_0x1a2f15['length'];++_0x3c0e3c)null!=_0x5da7e9[_0x1a2f15[_0x3c0e3c]]&&'__proto__'!==_0x1a2f15[_0x3c0e3c]&&(this[_0x1a2f15[_0x3c0e3c]]=_0x5da7e9[_0x1a2f15[_0x3c0e3c]]);}}return _0x50d175['prototype']['users']=_0x38eba6['emptyArray'],_0x50d175['create']=function(_0x5d06f7){return new _0x50d175(_0x5d06f7);},_0x50d175['encode']=function(_0x2823c0,_0x1acf49){if(_0x1acf49||(_0x1acf49=_0x4cef4a['create']()),null!=_0x2823c0['users']&&_0x2823c0['users']['length']){for(var _0x37f685=0x0;_0x37f685<_0x2823c0['users']['length'];++_0x37f685)_0x17ddb1['UserDescriptor']['encode'](_0x2823c0['users'][_0x37f685],_0x1acf49['uint32'](0xa)['fork']())['ldelim']();}return _0x1acf49;},_0x50d175['encodeDelimited']=function(_0xadb83b,_0xfad6c0){return this['encode'](_0xadb83b,_0xfad6c0)['ldelim']();},_0x50d175['decode']=function(_0x5b1b8a,_0x266bb6,_0x40a08b,_0x2dfb06){if(_0x5b1b8a instanceof _0x4b9dbe||(_0x5b1b8a=_0x4b9dbe['create'](_0x5b1b8a)),void 0x0===_0x2dfb06&&(_0x2dfb06=0x0),_0x2dfb06>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x39e1ad=void 0x0===_0x266bb6?_0x5b1b8a['len']:_0x5b1b8a['pos']+_0x266bb6,_0x30250e=new _0x17ddb1['GetManyUsersResponse']();_0x5b1b8a['pos']<_0x39e1ad;){var _0xad902b=_0x5b1b8a['uint32']();if(_0xad902b===_0x40a08b)break;_0xad902b>>>0x3==0x1?(_0x30250e['users']&&_0x30250e['users']['length']||(_0x30250e['users']=[]),_0x30250e['users']['push'](_0x17ddb1['UserDescriptor']['decode'](_0x5b1b8a,_0x5b1b8a['uint32'](),void 0x0,_0x2dfb06+0x1))):_0x5b1b8a['skipType'](0x7&_0xad902b,_0x2dfb06);}return _0x30250e;},_0x50d175['decodeDelimited']=function(_0x1f1c9b){return _0x1f1c9b instanceof _0x4b9dbe||(_0x1f1c9b=new _0x4b9dbe(_0x1f1c9b)),this['decode'](_0x1f1c9b,_0x1f1c9b['uint32']());},_0x50d175['verify']=function(_0x493954,_0x162cb2){if('object'!=typeof _0x493954||null===_0x493954)return'object\x20expected';if(void 0x0===_0x162cb2&&(_0x162cb2=0x0),_0x162cb2>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x493954['users']&&_0x493954['hasOwnProperty']('users')){if(!Array['isArray'](_0x493954['users']))return'users:\x20array\x20expected';for(var _0x5d403f=0x0;_0x5d403f<_0x493954['users']['length'];++_0x5d403f){var _0x314707=_0x17ddb1['UserDescriptor']['verify'](_0x493954['users'][_0x5d403f],_0x162cb2+0x1);if(_0x314707)return'users.'+_0x314707;}}return null;},_0x50d175['fromObject']=function(_0x31864b,_0x11fc23){if(_0x31864b instanceof _0x17ddb1['GetManyUsersResponse'])return _0x31864b;if(void 0x0===_0x11fc23&&(_0x11fc23=0x0),_0x11fc23>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2cb8df=new _0x17ddb1['GetManyUsersResponse']();if(_0x31864b['users']){if(!Array['isArray'](_0x31864b['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x2cb8df['users']=[];for(var _0x904f41=0x0;_0x904f41<_0x31864b['users']['length'];++_0x904f41){if('object'!=typeof _0x31864b['users'][_0x904f41])throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x2cb8df['users'][_0x904f41]=_0x17ddb1['UserDescriptor']['fromObject'](_0x31864b['users'][_0x904f41],_0x11fc23+0x1);}}return _0x2cb8df;},_0x50d175['toObject']=function(_0x14f881,_0x12b469){_0x12b469||(_0x12b469={});var _0x2f1c74={};if((_0x12b469['arrays']||_0x12b469['defaults'])&&(_0x2f1c74['users']=[]),_0x14f881['users']&&_0x14f881['users']['length']){_0x2f1c74['users']=[];for(var _0x3bf6d0=0x0;_0x3bf6d0<_0x14f881['users']['length'];++_0x3bf6d0)_0x2f1c74['users'][_0x3bf6d0]=_0x17ddb1['UserDescriptor']['toObject'](_0x14f881['users'][_0x3bf6d0],_0x12b469);}return _0x2f1c74;},_0x50d175['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x50d175['getTypeUrl']=function(_0x186706){return void 0x0===_0x186706&&(_0x186706='type.googleapis.com'),_0x186706+'/GetManyUsersResponse';},_0x50d175;}()),_0x17ddb1['GetUserMessage']=(function(){function _0x5da959(_0x21a559){if(_0x21a559){for(var _0x44ecfb=Object['keys'](_0x21a559),_0x4bec7a=0x0;_0x4bec7a<_0x44ecfb['length'];++_0x4bec7a)null!=_0x21a559[_0x44ecfb[_0x4bec7a]]&&'__proto__'!==_0x44ecfb[_0x4bec7a]&&(this[_0x44ecfb[_0x4bec7a]]=_0x21a559[_0x44ecfb[_0x4bec7a]]);}}return _0x5da959['prototype']['id']='',_0x5da959['create']=function(_0x41eb7d){return new _0x5da959(_0x41eb7d);},_0x5da959['encode']=function(_0x258d64,_0x9de0ac){return _0x9de0ac||(_0x9de0ac=_0x4cef4a['create']()),null!=_0x258d64['id']&&Object['hasOwnProperty']['call'](_0x258d64,'id')&&_0x9de0ac['uint32'](0xa)['string'](_0x258d64['id']),_0x9de0ac;},_0x5da959['encodeDelimited']=function(_0x45867c,_0xe9dd18){return this['encode'](_0x45867c,_0xe9dd18)['ldelim']();},_0x5da959['decode']=function(_0x4fe6c6,_0x587dca,_0x1dba6d,_0x227443){if(_0x4fe6c6 instanceof _0x4b9dbe||(_0x4fe6c6=_0x4b9dbe['create'](_0x4fe6c6)),void 0x0===_0x227443&&(_0x227443=0x0),_0x227443>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x8a2a1f=void 0x0===_0x587dca?_0x4fe6c6['len']:_0x4fe6c6['pos']+_0x587dca,_0x27ff94=new _0x17ddb1['GetUserMessage']();_0x4fe6c6['pos']<_0x8a2a1f;){var _0x483105=_0x4fe6c6['uint32']();if(_0x483105===_0x1dba6d)break;_0x483105>>>0x3==0x1?_0x27ff94['id']=_0x4fe6c6['string']():_0x4fe6c6['skipType'](0x7&_0x483105,_0x227443);}return _0x27ff94;},_0x5da959['decodeDelimited']=function(_0x287d0b){return _0x287d0b instanceof _0x4b9dbe||(_0x287d0b=new _0x4b9dbe(_0x287d0b)),this['decode'](_0x287d0b,_0x287d0b['uint32']());},_0x5da959['verify']=function(_0x22fd8c,_0x42a767){return'object'!=typeof _0x22fd8c||null===_0x22fd8c?'object\x20expected':(void 0x0===_0x42a767&&(_0x42a767=0x0),_0x42a767>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x22fd8c['id']&&_0x22fd8c['hasOwnProperty']('id')&&!_0x38eba6['isString'](_0x22fd8c['id'])?'id:\x20string\x20expected':null);},_0x5da959['fromObject']=function(_0x476f57,_0x53ea83){if(_0x476f57 instanceof _0x17ddb1['GetUserMessage'])return _0x476f57;if(void 0x0===_0x53ea83&&(_0x53ea83=0x0),_0x53ea83>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5e9864=new _0x17ddb1['GetUserMessage']();return null!=_0x476f57['id']&&(_0x5e9864['id']=String(_0x476f57['id'])),_0x5e9864;},_0x5da959['toObject']=function(_0x9097de,_0x403c3d){_0x403c3d||(_0x403c3d={});var _0x8bf6c2={};return _0x403c3d['defaults']&&(_0x8bf6c2['id']=''),null!=_0x9097de['id']&&_0x9097de['hasOwnProperty']('id')&&(_0x8bf6c2['id']=_0x9097de['id']),_0x8bf6c2;},_0x5da959['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x5da959['getTypeUrl']=function(_0x1b7cc2){return void 0x0===_0x1b7cc2&&(_0x1b7cc2='type.googleapis.com'),_0x1b7cc2+'/GetUserMessage';},_0x5da959;}()),_0x17ddb1['GetManyUsersMessage']=(function(){function _0x5272fc(_0x5b63bb){if(this['ids']=[],_0x5b63bb){for(var _0x73181d=Object['keys'](_0x5b63bb),_0x3b779b=0x0;_0x3b779b<_0x73181d['length'];++_0x3b779b)null!=_0x5b63bb[_0x73181d[_0x3b779b]]&&'__proto__'!==_0x73181d[_0x3b779b]&&(this[_0x73181d[_0x3b779b]]=_0x5b63bb[_0x73181d[_0x3b779b]]);}}return _0x5272fc['prototype']['ids']=_0x38eba6['emptyArray'],_0x5272fc['create']=function(_0x20b17e){return new _0x5272fc(_0x20b17e);},_0x5272fc['encode']=function(_0x67f69a,_0xe6490){if(_0xe6490||(_0xe6490=_0x4cef4a['create']()),null!=_0x67f69a['ids']&&_0x67f69a['ids']['length']){for(var _0x46e8b9=0x0;_0x46e8b9<_0x67f69a['ids']['length'];++_0x46e8b9)_0xe6490['uint32'](0xa)['string'](_0x67f69a['ids'][_0x46e8b9]);}return _0xe6490;},_0x5272fc['encodeDelimited']=function(_0x11d91c,_0x451dc9){return this['encode'](_0x11d91c,_0x451dc9)['ldelim']();},_0x5272fc['decode']=function(_0x23a8a0,_0x43c3d5,_0x1b45f3,_0x4184c9){if(_0x23a8a0 instanceof _0x4b9dbe||(_0x23a8a0=_0x4b9dbe['create'](_0x23a8a0)),void 0x0===_0x4184c9&&(_0x4184c9=0x0),_0x4184c9>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5eece0=void 0x0===_0x43c3d5?_0x23a8a0['len']:_0x23a8a0['pos']+_0x43c3d5,_0x562192=new _0x17ddb1['GetManyUsersMessage']();_0x23a8a0['pos']<_0x5eece0;){var _0x52fba2=_0x23a8a0['uint32']();if(_0x52fba2===_0x1b45f3)break;_0x52fba2>>>0x3==0x1?(_0x562192['ids']&&_0x562192['ids']['length']||(_0x562192['ids']=[]),_0x562192['ids']['push'](_0x23a8a0['string']())):_0x23a8a0['skipType'](0x7&_0x52fba2,_0x4184c9);}return _0x562192;},_0x5272fc['decodeDelimited']=function(_0x3de3d1){return _0x3de3d1 instanceof _0x4b9dbe||(_0x3de3d1=new _0x4b9dbe(_0x3de3d1)),this['decode'](_0x3de3d1,_0x3de3d1['uint32']());},_0x5272fc['verify']=function(_0x3c863b,_0x1a5a3d){if('object'!=typeof _0x3c863b||null===_0x3c863b)return'object\x20expected';if(void 0x0===_0x1a5a3d&&(_0x1a5a3d=0x0),_0x1a5a3d>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3c863b['ids']&&_0x3c863b['hasOwnProperty']('ids')){if(!Array['isArray'](_0x3c863b['ids']))return'ids:\x20array\x20expected';for(var _0x21315a=0x0;_0x21315a<_0x3c863b['ids']['length'];++_0x21315a)if(!_0x38eba6['isString'](_0x3c863b['ids'][_0x21315a]))return'ids:\x20string[]\x20expected';}return null;},_0x5272fc['fromObject']=function(_0x580ea1,_0xb37f16){if(_0x580ea1 instanceof _0x17ddb1['GetManyUsersMessage'])return _0x580ea1;if(void 0x0===_0xb37f16&&(_0xb37f16=0x0),_0xb37f16>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x141d84=new _0x17ddb1['GetManyUsersMessage']();if(_0x580ea1['ids']){if(!Array['isArray'](_0x580ea1['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x141d84['ids']=[];for(var _0x138d10=0x0;_0x138d10<_0x580ea1['ids']['length'];++_0x138d10)_0x141d84['ids'][_0x138d10]=String(_0x580ea1['ids'][_0x138d10]);}return _0x141d84;},_0x5272fc['toObject']=function(_0x247dcf,_0x1a65fe){_0x1a65fe||(_0x1a65fe={});var _0x5b2233={};if((_0x1a65fe['arrays']||_0x1a65fe['defaults'])&&(_0x5b2233['ids']=[]),_0x247dcf['ids']&&_0x247dcf['ids']['length']){_0x5b2233['ids']=[];for(var _0x2d169a=0x0;_0x2d169a<_0x247dcf['ids']['length'];++_0x2d169a)_0x5b2233['ids'][_0x2d169a]=_0x247dcf['ids'][_0x2d169a];}return _0x5b2233;},_0x5272fc['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x5272fc['getTypeUrl']=function(_0x3bcc85){return void 0x0===_0x3bcc85&&(_0x3bcc85='type.googleapis.com'),_0x3bcc85+'/GetManyUsersMessage';},_0x5272fc;}()),_0x17ddb1['UserDescriptor']=(function(){function _0xb8f97e(_0x3a696e){if(this['attributes']=[],_0x3a696e){for(var _0x53de92=Object['keys'](_0x3a696e),_0x574af5=0x0;_0x574af5<_0x53de92['length'];++_0x574af5)null!=_0x3a696e[_0x53de92[_0x574af5]]&&'__proto__'!==_0x53de92[_0x574af5]&&(this[_0x53de92[_0x574af5]]=_0x3a696e[_0x53de92[_0x574af5]]);}}return _0xb8f97e['prototype']['attributes']=_0x38eba6['emptyArray'],_0xb8f97e['create']=function(_0x30e867){return new _0xb8f97e(_0x30e867);},_0xb8f97e['encode']=function(_0x1b917b,_0x167708){if(_0x167708||(_0x167708=_0x4cef4a['create']()),null!=_0x1b917b['attributes']&&_0x1b917b['attributes']['length']){for(var _0x42e740=0x0;_0x42e740<_0x1b917b['attributes']['length'];++_0x42e740)_0x17ddb1['KeyValueDescriptor']['encode'](_0x1b917b['attributes'][_0x42e740],_0x167708['uint32'](0xa)['fork']())['ldelim']();}return _0x167708;},_0xb8f97e['encodeDelimited']=function(_0x1850c7,_0x3dda80){return this['encode'](_0x1850c7,_0x3dda80)['ldelim']();},_0xb8f97e['decode']=function(_0x3de326,_0xe5abd7,_0xec0c22,_0x3e30af){if(_0x3de326 instanceof _0x4b9dbe||(_0x3de326=_0x4b9dbe['create'](_0x3de326)),void 0x0===_0x3e30af&&(_0x3e30af=0x0),_0x3e30af>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1547e0=void 0x0===_0xe5abd7?_0x3de326['len']:_0x3de326['pos']+_0xe5abd7,_0x1d19e0=new _0x17ddb1['UserDescriptor']();_0x3de326['pos']<_0x1547e0;){var _0x2b2669=_0x3de326['uint32']();if(_0x2b2669===_0xec0c22)break;_0x2b2669>>>0x3==0x1?(_0x1d19e0['attributes']&&_0x1d19e0['attributes']['length']||(_0x1d19e0['attributes']=[]),_0x1d19e0['attributes']['push'](_0x17ddb1['KeyValueDescriptor']['decode'](_0x3de326,_0x3de326['uint32'](),void 0x0,_0x3e30af+0x1))):_0x3de326['skipType'](0x7&_0x2b2669,_0x3e30af);}return _0x1d19e0;},_0xb8f97e['decodeDelimited']=function(_0x30626f){return _0x30626f instanceof _0x4b9dbe||(_0x30626f=new _0x4b9dbe(_0x30626f)),this['decode'](_0x30626f,_0x30626f['uint32']());},_0xb8f97e['verify']=function(_0x3b2ee2,_0x1921ce){if('object'!=typeof _0x3b2ee2||null===_0x3b2ee2)return'object\x20expected';if(void 0x0===_0x1921ce&&(_0x1921ce=0x0),_0x1921ce>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3b2ee2['attributes']&&_0x3b2ee2['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x3b2ee2['attributes']))return'attributes:\x20array\x20expected';for(var _0x300ae0=0x0;_0x300ae0<_0x3b2ee2['attributes']['length'];++_0x300ae0){var _0x36551c=_0x17ddb1['KeyValueDescriptor']['verify'](_0x3b2ee2['attributes'][_0x300ae0],_0x1921ce+0x1);if(_0x36551c)return'attributes.'+_0x36551c;}}return null;},_0xb8f97e['fromObject']=function(_0x8fbc65,_0xfef16f){if(_0x8fbc65 instanceof _0x17ddb1['UserDescriptor'])return _0x8fbc65;if(void 0x0===_0xfef16f&&(_0xfef16f=0x0),_0xfef16f>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3c163b=new _0x17ddb1['UserDescriptor']();if(_0x8fbc65['attributes']){if(!Array['isArray'](_0x8fbc65['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x3c163b['attributes']=[];for(var _0x41d0b4=0x0;_0x41d0b4<_0x8fbc65['attributes']['length'];++_0x41d0b4){if('object'!=typeof _0x8fbc65['attributes'][_0x41d0b4])throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x3c163b['attributes'][_0x41d0b4]=_0x17ddb1['KeyValueDescriptor']['fromObject'](_0x8fbc65['attributes'][_0x41d0b4],_0xfef16f+0x1);}}return _0x3c163b;},_0xb8f97e['toObject']=function(_0x3804be,_0x496f91){_0x496f91||(_0x496f91={});var _0x5b0215={};if((_0x496f91['arrays']||_0x496f91['defaults'])&&(_0x5b0215['attributes']=[]),_0x3804be['attributes']&&_0x3804be['attributes']['length']){_0x5b0215['attributes']=[];for(var _0x5edb01=0x0;_0x5edb01<_0x3804be['attributes']['length'];++_0x5edb01)_0x5b0215['attributes'][_0x5edb01]=_0x17ddb1['KeyValueDescriptor']['toObject'](_0x3804be['attributes'][_0x5edb01],_0x496f91);}return _0x5b0215;},_0xb8f97e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0xb8f97e['getTypeUrl']=function(_0x1fcade){return void 0x0===_0x1fcade&&(_0x1fcade='type.googleapis.com'),_0x1fcade+'/UserDescriptor';},_0xb8f97e;}()),_0x17ddb1['TrackChangesGetSuggestionResponse']=(function(){function _0x5c83e3(_0x17cea1){if(_0x17cea1){for(var _0x515819=Object['keys'](_0x17cea1),_0x56b83e=0x0;_0x56b83e<_0x515819['length'];++_0x56b83e)null!=_0x17cea1[_0x515819[_0x56b83e]]&&'__proto__'!==_0x515819[_0x56b83e]&&(this[_0x515819[_0x56b83e]]=_0x17cea1[_0x515819[_0x56b83e]]);}}return _0x5c83e3['prototype']['id']='',_0x5c83e3['prototype']['authorId']='',_0x5c83e3['prototype']['type']='',_0x5c83e3['prototype']['createdAt']='',_0x5c83e3['prototype']['data']='',_0x5c83e3['prototype']['hasComments']=!0x1,_0x5c83e3['prototype']['state']='',_0x5c83e3['prototype']['attributes']='',_0x5c83e3['create']=function(_0x193797){return new _0x5c83e3(_0x193797);},_0x5c83e3['encode']=function(_0x1427f8,_0x36d3f2){return _0x36d3f2||(_0x36d3f2=_0x4cef4a['create']()),null!=_0x1427f8['id']&&Object['hasOwnProperty']['call'](_0x1427f8,'id')&&_0x36d3f2['uint32'](0xa)['string'](_0x1427f8['id']),null!=_0x1427f8['authorId']&&Object['hasOwnProperty']['call'](_0x1427f8,'authorId')&&_0x36d3f2['uint32'](0x12)['string'](_0x1427f8['authorId']),null!=_0x1427f8['type']&&Object['hasOwnProperty']['call'](_0x1427f8,'type')&&_0x36d3f2['uint32'](0x1a)['string'](_0x1427f8['type']),null!=_0x1427f8['createdAt']&&Object['hasOwnProperty']['call'](_0x1427f8,'createdAt')&&_0x36d3f2['uint32'](0x22)['string'](_0x1427f8['createdAt']),null!=_0x1427f8['data']&&Object['hasOwnProperty']['call'](_0x1427f8,'data')&&_0x36d3f2['uint32'](0x2a)['string'](_0x1427f8['data']),null!=_0x1427f8['hasComments']&&Object['hasOwnProperty']['call'](_0x1427f8,'hasComments')&&_0x36d3f2['uint32'](0x30)['bool'](_0x1427f8['hasComments']),null!=_0x1427f8['state']&&Object['hasOwnProperty']['call'](_0x1427f8,'state')&&_0x36d3f2['uint32'](0x3a)['string'](_0x1427f8['state']),null!=_0x1427f8['attributes']&&Object['hasOwnProperty']['call'](_0x1427f8,'attributes')&&_0x36d3f2['uint32'](0x42)['string'](_0x1427f8['attributes']),_0x36d3f2;},_0x5c83e3['encodeDelimited']=function(_0x5820cd,_0xe0aedb){return this['encode'](_0x5820cd,_0xe0aedb)['ldelim']();},_0x5c83e3['decode']=function(_0x577f55,_0x2d2077,_0xfe75b3,_0x183b36){if(_0x577f55 instanceof _0x4b9dbe||(_0x577f55=_0x4b9dbe['create'](_0x577f55)),void 0x0===_0x183b36&&(_0x183b36=0x0),_0x183b36>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xe768b9=void 0x0===_0x2d2077?_0x577f55['len']:_0x577f55['pos']+_0x2d2077,_0x1f3d38=new _0x17ddb1['TrackChangesGetSuggestionResponse']();_0x577f55['pos']<_0xe768b9;){var _0x2bed68=_0x577f55['uint32']();if(_0x2bed68===_0xfe75b3)break;switch(_0x2bed68>>>0x3){case 0x1:_0x1f3d38['id']=_0x577f55['string']();break;case 0x2:_0x1f3d38['authorId']=_0x577f55['string']();break;case 0x3:_0x1f3d38['type']=_0x577f55['string']();break;case 0x4:_0x1f3d38['createdAt']=_0x577f55['string']();break;case 0x5:_0x1f3d38['data']=_0x577f55['string']();break;case 0x6:_0x1f3d38['hasComments']=_0x577f55['bool']();break;case 0x7:_0x1f3d38['state']=_0x577f55['string']();break;case 0x8:_0x1f3d38['attributes']=_0x577f55['string']();break;default:_0x577f55['skipType'](0x7&_0x2bed68,_0x183b36);}}return _0x1f3d38;},_0x5c83e3['decodeDelimited']=function(_0x5143b3){return _0x5143b3 instanceof _0x4b9dbe||(_0x5143b3=new _0x4b9dbe(_0x5143b3)),this['decode'](_0x5143b3,_0x5143b3['uint32']());},_0x5c83e3['verify']=function(_0x1f7ef7,_0x98f970){return'object'!=typeof _0x1f7ef7||null===_0x1f7ef7?'object\x20expected':(void 0x0===_0x98f970&&(_0x98f970=0x0),_0x98f970>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1f7ef7['id']&&_0x1f7ef7['hasOwnProperty']('id')&&!_0x38eba6['isString'](_0x1f7ef7['id'])?'id:\x20string\x20expected':null!=_0x1f7ef7['authorId']&&_0x1f7ef7['hasOwnProperty']('authorId')&&!_0x38eba6['isString'](_0x1f7ef7['authorId'])?'authorId:\x20string\x20expected':null!=_0x1f7ef7['type']&&_0x1f7ef7['hasOwnProperty']('type')&&!_0x38eba6['isString'](_0x1f7ef7['type'])?'type:\x20string\x20expected':null!=_0x1f7ef7['createdAt']&&_0x1f7ef7['hasOwnProperty']('createdAt')&&!_0x38eba6['isString'](_0x1f7ef7['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x1f7ef7['data']&&_0x1f7ef7['hasOwnProperty']('data')&&!_0x38eba6['isString'](_0x1f7ef7['data'])?'data:\x20string\x20expected':null!=_0x1f7ef7['hasComments']&&_0x1f7ef7['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x1f7ef7['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x1f7ef7['state']&&_0x1f7ef7['hasOwnProperty']('state')&&!_0x38eba6['isString'](_0x1f7ef7['state'])?'state:\x20string\x20expected':null!=_0x1f7ef7['attributes']&&_0x1f7ef7['hasOwnProperty']('attributes')&&!_0x38eba6['isString'](_0x1f7ef7['attributes'])?'attributes:\x20string\x20expected':null);},_0x5c83e3['fromObject']=function(_0x510b44,_0x12e676){if(_0x510b44 instanceof _0x17ddb1['TrackChangesGetSuggestionResponse'])return _0x510b44;if(void 0x0===_0x12e676&&(_0x12e676=0x0),_0x12e676>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xfc81f4=new _0x17ddb1['TrackChangesGetSuggestionResponse']();return null!=_0x510b44['id']&&(_0xfc81f4['id']=String(_0x510b44['id'])),null!=_0x510b44['authorId']&&(_0xfc81f4['authorId']=String(_0x510b44['authorId'])),null!=_0x510b44['type']&&(_0xfc81f4['type']=String(_0x510b44['type'])),null!=_0x510b44['createdAt']&&(_0xfc81f4['createdAt']=String(_0x510b44['createdAt'])),null!=_0x510b44['data']&&(_0xfc81f4['data']=String(_0x510b44['data'])),null!=_0x510b44['hasComments']&&(_0xfc81f4['hasComments']=Boolean(_0x510b44['hasComments'])),null!=_0x510b44['state']&&(_0xfc81f4['state']=String(_0x510b44['state'])),null!=_0x510b44['attributes']&&(_0xfc81f4['attributes']=String(_0x510b44['attributes'])),_0xfc81f4;},_0x5c83e3['toObject']=function(_0x1e0918,_0x3d46f9){_0x3d46f9||(_0x3d46f9={});var _0x299380={};return _0x3d46f9['defaults']&&(_0x299380['id']='',_0x299380['authorId']='',_0x299380['type']='',_0x299380['createdAt']='',_0x299380['data']='',_0x299380['hasComments']=!0x1,_0x299380['state']='',_0x299380['attributes']=''),null!=_0x1e0918['id']&&_0x1e0918['hasOwnProperty']('id')&&(_0x299380['id']=_0x1e0918['id']),null!=_0x1e0918['authorId']&&_0x1e0918['hasOwnProperty']('authorId')&&(_0x299380['authorId']=_0x1e0918['authorId']),null!=_0x1e0918['type']&&_0x1e0918['hasOwnProperty']('type')&&(_0x299380['type']=_0x1e0918['type']),null!=_0x1e0918['createdAt']&&_0x1e0918['hasOwnProperty']('createdAt')&&(_0x299380['createdAt']=_0x1e0918['createdAt']),null!=_0x1e0918['data']&&_0x1e0918['hasOwnProperty']('data')&&(_0x299380['data']=_0x1e0918['data']),null!=_0x1e0918['hasComments']&&_0x1e0918['hasOwnProperty']('hasComments')&&(_0x299380['hasComments']=_0x1e0918['hasComments']),null!=_0x1e0918['state']&&_0x1e0918['hasOwnProperty']('state')&&(_0x299380['state']=_0x1e0918['state']),null!=_0x1e0918['attributes']&&_0x1e0918['hasOwnProperty']('attributes')&&(_0x299380['attributes']=_0x1e0918['attributes']),_0x299380;},_0x5c83e3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x5c83e3['getTypeUrl']=function(_0x336fb3){return void 0x0===_0x336fb3&&(_0x336fb3='type.googleapis.com'),_0x336fb3+'/TrackChangesGetSuggestionResponse';},_0x5c83e3;}()),_0x17ddb1['TrackChangesGetAllSuggestionsResponse']=(function(){function _0x2f990b(_0x512af4){if(this['suggestions']=[],this['suggestionsV2']=[],_0x512af4){for(var _0x581dd6=Object['keys'](_0x512af4),_0x49998a=0x0;_0x49998a<_0x581dd6['length'];++_0x49998a)null!=_0x512af4[_0x581dd6[_0x49998a]]&&'__proto__'!==_0x581dd6[_0x49998a]&&(this[_0x581dd6[_0x49998a]]=_0x512af4[_0x581dd6[_0x49998a]]);}}return _0x2f990b['prototype']['suggestions']=_0x38eba6['emptyArray'],_0x2f990b['prototype']['suggestionsV2']=_0x38eba6['emptyArray'],_0x2f990b['create']=function(_0x2fa6f7){return new _0x2f990b(_0x2fa6f7);},_0x2f990b['encode']=function(_0x5e46eb,_0x1c882f){if(_0x1c882f||(_0x1c882f=_0x4cef4a['create']()),null!=_0x5e46eb['suggestions']&&_0x5e46eb['suggestions']['length']){for(var _0x3fa204=0x0;_0x3fa204<_0x5e46eb['suggestions']['length'];++_0x3fa204)_0x1c882f['uint32'](0xa)['string'](_0x5e46eb['suggestions'][_0x3fa204]);}if(null!=_0x5e46eb['suggestionsV2']&&_0x5e46eb['suggestionsV2']['length']){for(_0x3fa204=0x0;_0x3fa204<_0x5e46eb['suggestionsV2']['length'];++_0x3fa204)_0x17ddb1['SuggestionDescriptor']['encode'](_0x5e46eb['suggestionsV2'][_0x3fa204],_0x1c882f['uint32'](0x12)['fork']())['ldelim']();}return _0x1c882f;},_0x2f990b['encodeDelimited']=function(_0x2bfc82,_0x25a2f1){return this['encode'](_0x2bfc82,_0x25a2f1)['ldelim']();},_0x2f990b['decode']=function(_0x27bc05,_0x666042,_0x23bf95,_0x4a22ea){if(_0x27bc05 instanceof _0x4b9dbe||(_0x27bc05=_0x4b9dbe['create'](_0x27bc05)),void 0x0===_0x4a22ea&&(_0x4a22ea=0x0),_0x4a22ea>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4bacde=void 0x0===_0x666042?_0x27bc05['len']:_0x27bc05['pos']+_0x666042,_0x1640e6=new _0x17ddb1['TrackChangesGetAllSuggestionsResponse']();_0x27bc05['pos']<_0x4bacde;){var _0x3498f9=_0x27bc05['uint32']();if(_0x3498f9===_0x23bf95)break;switch(_0x3498f9>>>0x3){case 0x1:_0x1640e6['suggestions']&&_0x1640e6['suggestions']['length']||(_0x1640e6['suggestions']=[]),_0x1640e6['suggestions']['push'](_0x27bc05['string']());break;case 0x2:_0x1640e6['suggestionsV2']&&_0x1640e6['suggestionsV2']['length']||(_0x1640e6['suggestionsV2']=[]),_0x1640e6['suggestionsV2']['push'](_0x17ddb1['SuggestionDescriptor']['decode'](_0x27bc05,_0x27bc05['uint32'](),void 0x0,_0x4a22ea+0x1));break;default:_0x27bc05['skipType'](0x7&_0x3498f9,_0x4a22ea);}}return _0x1640e6;},_0x2f990b['decodeDelimited']=function(_0x22e8c3){return _0x22e8c3 instanceof _0x4b9dbe||(_0x22e8c3=new _0x4b9dbe(_0x22e8c3)),this['decode'](_0x22e8c3,_0x22e8c3['uint32']());},_0x2f990b['verify']=function(_0x58399c,_0x5c2846){if('object'!=typeof _0x58399c||null===_0x58399c)return'object\x20expected';if(void 0x0===_0x5c2846&&(_0x5c2846=0x0),_0x5c2846>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x58399c['suggestions']&&_0x58399c['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x58399c['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x101374=0x0;_0x101374<_0x58399c['suggestions']['length'];++_0x101374)if(!_0x38eba6['isString'](_0x58399c['suggestions'][_0x101374]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x58399c['suggestionsV2']&&_0x58399c['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x58399c['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x101374=0x0;_0x101374<_0x58399c['suggestionsV2']['length'];++_0x101374){var _0x9d195a=_0x17ddb1['SuggestionDescriptor']['verify'](_0x58399c['suggestionsV2'][_0x101374],_0x5c2846+0x1);if(_0x9d195a)return'suggestionsV2.'+_0x9d195a;}}return null;},_0x2f990b['fromObject']=function(_0x581f8a,_0x4995a2){if(_0x581f8a instanceof _0x17ddb1['TrackChangesGetAllSuggestionsResponse'])return _0x581f8a;if(void 0x0===_0x4995a2&&(_0x4995a2=0x0),_0x4995a2>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x9bf2af=new _0x17ddb1['TrackChangesGetAllSuggestionsResponse']();if(_0x581f8a['suggestions']){if(!Array['isArray'](_0x581f8a['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x9bf2af['suggestions']=[];for(var _0x5c8928=0x0;_0x5c8928<_0x581f8a['suggestions']['length'];++_0x5c8928)_0x9bf2af['suggestions'][_0x5c8928]=String(_0x581f8a['suggestions'][_0x5c8928]);}if(_0x581f8a['suggestionsV2']){if(!Array['isArray'](_0x581f8a['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x9bf2af['suggestionsV2']=[],_0x5c8928=0x0;_0x5c8928<_0x581f8a['suggestionsV2']['length'];++_0x5c8928){if('object'!=typeof _0x581f8a['suggestionsV2'][_0x5c8928])throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x9bf2af['suggestionsV2'][_0x5c8928]=_0x17ddb1['SuggestionDescriptor']['fromObject'](_0x581f8a['suggestionsV2'][_0x5c8928],_0x4995a2+0x1);}}return _0x9bf2af;},_0x2f990b['toObject']=function(_0x30e28,_0x543e23){_0x543e23||(_0x543e23={});var _0x4de780={};if((_0x543e23['arrays']||_0x543e23['defaults'])&&(_0x4de780['suggestions']=[],_0x4de780['suggestionsV2']=[]),_0x30e28['suggestions']&&_0x30e28['suggestions']['length']){_0x4de780['suggestions']=[];for(var _0x293ef5=0x0;_0x293ef5<_0x30e28['suggestions']['length'];++_0x293ef5)_0x4de780['suggestions'][_0x293ef5]=_0x30e28['suggestions'][_0x293ef5];}if(_0x30e28['suggestionsV2']&&_0x30e28['suggestionsV2']['length']){for(_0x4de780['suggestionsV2']=[],_0x293ef5=0x0;_0x293ef5<_0x30e28['suggestionsV2']['length'];++_0x293ef5)_0x4de780['suggestionsV2'][_0x293ef5]=_0x17ddb1['SuggestionDescriptor']['toObject'](_0x30e28['suggestionsV2'][_0x293ef5],_0x543e23);}return _0x4de780;},_0x2f990b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x2f990b['getTypeUrl']=function(_0x16d0dd){return void 0x0===_0x16d0dd&&(_0x16d0dd='type.googleapis.com'),_0x16d0dd+'/TrackChangesGetAllSuggestionsResponse';},_0x2f990b;}()),_0x17ddb1['TrackChangesConnectResponse']=(function(){function _0x3a40c5(_0x28eb8){if(this['suggestions']=[],this['suggestionsV2']=[],_0x28eb8){for(var _0x349748=Object['keys'](_0x28eb8),_0x45c434=0x0;_0x45c434<_0x349748['length'];++_0x45c434)null!=_0x28eb8[_0x349748[_0x45c434]]&&'__proto__'!==_0x349748[_0x45c434]&&(this[_0x349748[_0x45c434]]=_0x28eb8[_0x349748[_0x45c434]]);}}return _0x3a40c5['prototype']['channel']='',_0x3a40c5['prototype']['suggestions']=_0x38eba6['emptyArray'],_0x3a40c5['prototype']['suggestionsV2']=_0x38eba6['emptyArray'],_0x3a40c5['create']=function(_0x47c63e){return new _0x3a40c5(_0x47c63e);},_0x3a40c5['encode']=function(_0x35128a,_0x1928b6){if(_0x1928b6||(_0x1928b6=_0x4cef4a['create']()),null!=_0x35128a['channel']&&Object['hasOwnProperty']['call'](_0x35128a,'channel')&&_0x1928b6['uint32'](0xa)['string'](_0x35128a['channel']),null!=_0x35128a['suggestions']&&_0x35128a['suggestions']['length']){for(var _0x3708b7=0x0;_0x3708b7<_0x35128a['suggestions']['length'];++_0x3708b7)_0x1928b6['uint32'](0x12)['string'](_0x35128a['suggestions'][_0x3708b7]);}if(null!=_0x35128a['suggestionsV2']&&_0x35128a['suggestionsV2']['length']){for(_0x3708b7=0x0;_0x3708b7<_0x35128a['suggestionsV2']['length'];++_0x3708b7)_0x17ddb1['SuggestionDescriptor']['encode'](_0x35128a['suggestionsV2'][_0x3708b7],_0x1928b6['uint32'](0x1a)['fork']())['ldelim']();}return _0x1928b6;},_0x3a40c5['encodeDelimited']=function(_0x2dd466,_0x468759){return this['encode'](_0x2dd466,_0x468759)['ldelim']();},_0x3a40c5['decode']=function(_0x24bc92,_0x920698,_0x228b80,_0x2f3b41){if(_0x24bc92 instanceof _0x4b9dbe||(_0x24bc92=_0x4b9dbe['create'](_0x24bc92)),void 0x0===_0x2f3b41&&(_0x2f3b41=0x0),_0x2f3b41>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1083f1=void 0x0===_0x920698?_0x24bc92['len']:_0x24bc92['pos']+_0x920698,_0x257d86=new _0x17ddb1['TrackChangesConnectResponse']();_0x24bc92['pos']<_0x1083f1;){var _0x2ba343=_0x24bc92['uint32']();if(_0x2ba343===_0x228b80)break;switch(_0x2ba343>>>0x3){case 0x1:_0x257d86['channel']=_0x24bc92['string']();break;case 0x2:_0x257d86['suggestions']&&_0x257d86['suggestions']['length']||(_0x257d86['suggestions']=[]),_0x257d86['suggestions']['push'](_0x24bc92['string']());break;case 0x3:_0x257d86['suggestionsV2']&&_0x257d86['suggestionsV2']['length']||(_0x257d86['suggestionsV2']=[]),_0x257d86['suggestionsV2']['push'](_0x17ddb1['SuggestionDescriptor']['decode'](_0x24bc92,_0x24bc92['uint32'](),void 0x0,_0x2f3b41+0x1));break;default:_0x24bc92['skipType'](0x7&_0x2ba343,_0x2f3b41);}}return _0x257d86;},_0x3a40c5['decodeDelimited']=function(_0x35125f){return _0x35125f instanceof _0x4b9dbe||(_0x35125f=new _0x4b9dbe(_0x35125f)),this['decode'](_0x35125f,_0x35125f['uint32']());},_0x3a40c5['verify']=function(_0x2b84a4,_0x362262){if('object'!=typeof _0x2b84a4||null===_0x2b84a4)return'object\x20expected';if(void 0x0===_0x362262&&(_0x362262=0x0),_0x362262>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2b84a4['channel']&&_0x2b84a4['hasOwnProperty']('channel')&&!_0x38eba6['isString'](_0x2b84a4['channel']))return'channel:\x20string\x20expected';if(null!=_0x2b84a4['suggestions']&&_0x2b84a4['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x2b84a4['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x55b18b=0x0;_0x55b18b<_0x2b84a4['suggestions']['length'];++_0x55b18b)if(!_0x38eba6['isString'](_0x2b84a4['suggestions'][_0x55b18b]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x2b84a4['suggestionsV2']&&_0x2b84a4['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x2b84a4['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x55b18b=0x0;_0x55b18b<_0x2b84a4['suggestionsV2']['length'];++_0x55b18b){var _0x49589e=_0x17ddb1['SuggestionDescriptor']['verify'](_0x2b84a4['suggestionsV2'][_0x55b18b],_0x362262+0x1);if(_0x49589e)return'suggestionsV2.'+_0x49589e;}}return null;},_0x3a40c5['fromObject']=function(_0x10db22,_0x413af7){if(_0x10db22 instanceof _0x17ddb1['TrackChangesConnectResponse'])return _0x10db22;if(void 0x0===_0x413af7&&(_0x413af7=0x0),_0x413af7>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1fce9d=new _0x17ddb1['TrackChangesConnectResponse']();if(null!=_0x10db22['channel']&&(_0x1fce9d['channel']=String(_0x10db22['channel'])),_0x10db22['suggestions']){if(!Array['isArray'](_0x10db22['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x1fce9d['suggestions']=[];for(var _0x576a46=0x0;_0x576a46<_0x10db22['suggestions']['length'];++_0x576a46)_0x1fce9d['suggestions'][_0x576a46]=String(_0x10db22['suggestions'][_0x576a46]);}if(_0x10db22['suggestionsV2']){if(!Array['isArray'](_0x10db22['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x1fce9d['suggestionsV2']=[],_0x576a46=0x0;_0x576a46<_0x10db22['suggestionsV2']['length'];++_0x576a46){if('object'!=typeof _0x10db22['suggestionsV2'][_0x576a46])throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x1fce9d['suggestionsV2'][_0x576a46]=_0x17ddb1['SuggestionDescriptor']['fromObject'](_0x10db22['suggestionsV2'][_0x576a46],_0x413af7+0x1);}}return _0x1fce9d;},_0x3a40c5['toObject']=function(_0x1baae8,_0x12e5ea){_0x12e5ea||(_0x12e5ea={});var _0x297840={};if((_0x12e5ea['arrays']||_0x12e5ea['defaults'])&&(_0x297840['suggestions']=[],_0x297840['suggestionsV2']=[]),_0x12e5ea['defaults']&&(_0x297840['channel']=''),null!=_0x1baae8['channel']&&_0x1baae8['hasOwnProperty']('channel')&&(_0x297840['channel']=_0x1baae8['channel']),_0x1baae8['suggestions']&&_0x1baae8['suggestions']['length']){_0x297840['suggestions']=[];for(var _0x40e935=0x0;_0x40e935<_0x1baae8['suggestions']['length'];++_0x40e935)_0x297840['suggestions'][_0x40e935]=_0x1baae8['suggestions'][_0x40e935];}if(_0x1baae8['suggestionsV2']&&_0x1baae8['suggestionsV2']['length']){for(_0x297840['suggestionsV2']=[],_0x40e935=0x0;_0x40e935<_0x1baae8['suggestionsV2']['length'];++_0x40e935)_0x297840['suggestionsV2'][_0x40e935]=_0x17ddb1['SuggestionDescriptor']['toObject'](_0x1baae8['suggestionsV2'][_0x40e935],_0x12e5ea);}return _0x297840;},_0x3a40c5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x3a40c5['getTypeUrl']=function(_0x4483fe){return void 0x0===_0x4483fe&&(_0x4483fe='type.googleapis.com'),_0x4483fe+'/TrackChangesConnectResponse';},_0x3a40c5;}()),_0x17ddb1['TrackChangesAddSuggestionResponse']=(function(){function _0x298c53(_0x107dd5){if(_0x107dd5){for(var _0x2acc74=Object['keys'](_0x107dd5),_0x42a4ca=0x0;_0x42a4ca<_0x2acc74['length'];++_0x42a4ca)null!=_0x107dd5[_0x2acc74[_0x42a4ca]]&&'__proto__'!==_0x2acc74[_0x42a4ca]&&(this[_0x2acc74[_0x42a4ca]]=_0x107dd5[_0x2acc74[_0x42a4ca]]);}}return _0x298c53['prototype']['id']='',_0x298c53['prototype']['authorId']='',_0x298c53['prototype']['type']='',_0x298c53['prototype']['createdAt']='',_0x298c53['prototype']['data']='',_0x298c53['prototype']['hasComments']=!0x1,_0x298c53['prototype']['state']='',_0x298c53['prototype']['attributes']='',_0x298c53['create']=function(_0x569f89){return new _0x298c53(_0x569f89);},_0x298c53['encode']=function(_0x1a19f0,_0x25187f){return _0x25187f||(_0x25187f=_0x4cef4a['create']()),null!=_0x1a19f0['id']&&Object['hasOwnProperty']['call'](_0x1a19f0,'id')&&_0x25187f['uint32'](0xa)['string'](_0x1a19f0['id']),null!=_0x1a19f0['authorId']&&Object['hasOwnProperty']['call'](_0x1a19f0,'authorId')&&_0x25187f['uint32'](0x12)['string'](_0x1a19f0['authorId']),null!=_0x1a19f0['type']&&Object['hasOwnProperty']['call'](_0x1a19f0,'type')&&_0x25187f['uint32'](0x1a)['string'](_0x1a19f0['type']),null!=_0x1a19f0['createdAt']&&Object['hasOwnProperty']['call'](_0x1a19f0,'createdAt')&&_0x25187f['uint32'](0x22)['string'](_0x1a19f0['createdAt']),null!=_0x1a19f0['data']&&Object['hasOwnProperty']['call'](_0x1a19f0,'data')&&_0x25187f['uint32'](0x2a)['string'](_0x1a19f0['data']),null!=_0x1a19f0['hasComments']&&Object['hasOwnProperty']['call'](_0x1a19f0,'hasComments')&&_0x25187f['uint32'](0x30)['bool'](_0x1a19f0['hasComments']),null!=_0x1a19f0['state']&&Object['hasOwnProperty']['call'](_0x1a19f0,'state')&&_0x25187f['uint32'](0x3a)['string'](_0x1a19f0['state']),null!=_0x1a19f0['attributes']&&Object['hasOwnProperty']['call'](_0x1a19f0,'attributes')&&_0x25187f['uint32'](0x42)['string'](_0x1a19f0['attributes']),_0x25187f;},_0x298c53['encodeDelimited']=function(_0x42413b,_0x3fabd8){return this['encode'](_0x42413b,_0x3fabd8)['ldelim']();},_0x298c53['decode']=function(_0x18a530,_0xa800dc,_0x197ff3,_0x21e120){if(_0x18a530 instanceof _0x4b9dbe||(_0x18a530=_0x4b9dbe['create'](_0x18a530)),void 0x0===_0x21e120&&(_0x21e120=0x0),_0x21e120>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x44b559=void 0x0===_0xa800dc?_0x18a530['len']:_0x18a530['pos']+_0xa800dc,_0x7371b3=new _0x17ddb1['TrackChangesAddSuggestionResponse']();_0x18a530['pos']<_0x44b559;){var _0x444b9b=_0x18a530['uint32']();if(_0x444b9b===_0x197ff3)break;switch(_0x444b9b>>>0x3){case 0x1:_0x7371b3['id']=_0x18a530['string']();break;case 0x2:_0x7371b3['authorId']=_0x18a530['string']();break;case 0x3:_0x7371b3['type']=_0x18a530['string']();break;case 0x4:_0x7371b3['createdAt']=_0x18a530['string']();break;case 0x5:_0x7371b3['data']=_0x18a530['string']();break;case 0x6:_0x7371b3['hasComments']=_0x18a530['bool']();break;case 0x7:_0x7371b3['state']=_0x18a530['string']();break;case 0x8:_0x7371b3['attributes']=_0x18a530['string']();break;default:_0x18a530['skipType'](0x7&_0x444b9b,_0x21e120);}}return _0x7371b3;},_0x298c53['decodeDelimited']=function(_0x258636){return _0x258636 instanceof _0x4b9dbe||(_0x258636=new _0x4b9dbe(_0x258636)),this['decode'](_0x258636,_0x258636['uint32']());},_0x298c53['verify']=function(_0x4042e9,_0x2e16a8){return'object'!=typeof _0x4042e9||null===_0x4042e9?'object\x20expected':(void 0x0===_0x2e16a8&&(_0x2e16a8=0x0),_0x2e16a8>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4042e9['id']&&_0x4042e9['hasOwnProperty']('id')&&!_0x38eba6['isString'](_0x4042e9['id'])?'id:\x20string\x20expected':null!=_0x4042e9['authorId']&&_0x4042e9['hasOwnProperty']('authorId')&&!_0x38eba6['isString'](_0x4042e9['authorId'])?'authorId:\x20string\x20expected':null!=_0x4042e9['type']&&_0x4042e9['hasOwnProperty']('type')&&!_0x38eba6['isString'](_0x4042e9['type'])?'type:\x20string\x20expected':null!=_0x4042e9['createdAt']&&_0x4042e9['hasOwnProperty']('createdAt')&&!_0x38eba6['isString'](_0x4042e9['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x4042e9['data']&&_0x4042e9['hasOwnProperty']('data')&&!_0x38eba6['isString'](_0x4042e9['data'])?'data:\x20string\x20expected':null!=_0x4042e9['hasComments']&&_0x4042e9['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x4042e9['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x4042e9['state']&&_0x4042e9['hasOwnProperty']('state')&&!_0x38eba6['isString'](_0x4042e9['state'])?'state:\x20string\x20expected':null!=_0x4042e9['attributes']&&_0x4042e9['hasOwnProperty']('attributes')&&!_0x38eba6['isString'](_0x4042e9['attributes'])?'attributes:\x20string\x20expected':null);},_0x298c53['fromObject']=function(_0x1a8dba,_0x215651){if(_0x1a8dba instanceof _0x17ddb1['TrackChangesAddSuggestionResponse'])return _0x1a8dba;if(void 0x0===_0x215651&&(_0x215651=0x0),_0x215651>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3b04f4=new _0x17ddb1['TrackChangesAddSuggestionResponse']();return null!=_0x1a8dba['id']&&(_0x3b04f4['id']=String(_0x1a8dba['id'])),null!=_0x1a8dba['authorId']&&(_0x3b04f4['authorId']=String(_0x1a8dba['authorId'])),null!=_0x1a8dba['type']&&(_0x3b04f4['type']=String(_0x1a8dba['type'])),null!=_0x1a8dba['createdAt']&&(_0x3b04f4['createdAt']=String(_0x1a8dba['createdAt'])),null!=_0x1a8dba['data']&&(_0x3b04f4['data']=String(_0x1a8dba['data'])),null!=_0x1a8dba['hasComments']&&(_0x3b04f4['hasComments']=Boolean(_0x1a8dba['hasComments'])),null!=_0x1a8dba['state']&&(_0x3b04f4['state']=String(_0x1a8dba['state'])),null!=_0x1a8dba['attributes']&&(_0x3b04f4['attributes']=String(_0x1a8dba['attributes'])),_0x3b04f4;},_0x298c53['toObject']=function(_0xb361d,_0xceffee){_0xceffee||(_0xceffee={});var _0x2f02ba={};return _0xceffee['defaults']&&(_0x2f02ba['id']='',_0x2f02ba['authorId']='',_0x2f02ba['type']='',_0x2f02ba['createdAt']='',_0x2f02ba['data']='',_0x2f02ba['hasComments']=!0x1,_0x2f02ba['state']='',_0x2f02ba['attributes']=''),null!=_0xb361d['id']&&_0xb361d['hasOwnProperty']('id')&&(_0x2f02ba['id']=_0xb361d['id']),null!=_0xb361d['authorId']&&_0xb361d['hasOwnProperty']('authorId')&&(_0x2f02ba['authorId']=_0xb361d['authorId']),null!=_0xb361d['type']&&_0xb361d['hasOwnProperty']('type')&&(_0x2f02ba['type']=_0xb361d['type']),null!=_0xb361d['createdAt']&&_0xb361d['hasOwnProperty']('createdAt')&&(_0x2f02ba['createdAt']=_0xb361d['createdAt']),null!=_0xb361d['data']&&_0xb361d['hasOwnProperty']('data')&&(_0x2f02ba['data']=_0xb361d['data']),null!=_0xb361d['hasComments']&&_0xb361d['hasOwnProperty']('hasComments')&&(_0x2f02ba['hasComments']=_0xb361d['hasComments']),null!=_0xb361d['state']&&_0xb361d['hasOwnProperty']('state')&&(_0x2f02ba['state']=_0xb361d['state']),null!=_0xb361d['attributes']&&_0xb361d['hasOwnProperty']('attributes')&&(_0x2f02ba['attributes']=_0xb361d['attributes']),_0x2f02ba;},_0x298c53['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x298c53['getTypeUrl']=function(_0x5df774){return void 0x0===_0x5df774&&(_0x5df774='type.googleapis.com'),_0x5df774+'/TrackChangesAddSuggestionResponse';},_0x298c53;}()),_0x17ddb1['TrackChangesUpdateSuggestionMessage']=(function(){function _0x392305(_0x38e51f){if(_0x38e51f){for(var _0x2dde6a=Object['keys'](_0x38e51f),_0x1f560d=0x0;_0x1f560d<_0x2dde6a['length'];++_0x1f560d)null!=_0x38e51f[_0x2dde6a[_0x1f560d]]&&'__proto__'!==_0x2dde6a[_0x1f560d]&&(this[_0x2dde6a[_0x1f560d]]=_0x38e51f[_0x2dde6a[_0x1f560d]]);}}return _0x392305['prototype']['id']='',_0x392305['prototype']['documentId']='',_0x392305['prototype']['hasComments']=!0x1,_0x392305['prototype']['isHasCommentsModified']=!0x1,_0x392305['prototype']['state']='',_0x392305['prototype']['attributes']='',_0x392305['create']=function(_0x537366){return new _0x392305(_0x537366);},_0x392305['encode']=function(_0x201d24,_0x42e117){return _0x42e117||(_0x42e117=_0x4cef4a['create']()),null!=_0x201d24['id']&&Object['hasOwnProperty']['call'](_0x201d24,'id')&&_0x42e117['uint32'](0xa)['string'](_0x201d24['id']),null!=_0x201d24['documentId']&&Object['hasOwnProperty']['call'](_0x201d24,'documentId')&&_0x42e117['uint32'](0x12)['string'](_0x201d24['documentId']),null!=_0x201d24['hasComments']&&Object['hasOwnProperty']['call'](_0x201d24,'hasComments')&&_0x42e117['uint32'](0x18)['bool'](_0x201d24['hasComments']),null!=_0x201d24['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x201d24,'isHasCommentsModified')&&_0x42e117['uint32'](0x20)['bool'](_0x201d24['isHasCommentsModified']),null!=_0x201d24['state']&&Object['hasOwnProperty']['call'](_0x201d24,'state')&&_0x42e117['uint32'](0x2a)['string'](_0x201d24['state']),null!=_0x201d24['attributes']&&Object['hasOwnProperty']['call'](_0x201d24,'attributes')&&_0x42e117['uint32'](0x32)['string'](_0x201d24['attributes']),_0x42e117;},_0x392305['encodeDelimited']=function(_0x399ea8,_0x34cce6){return this['encode'](_0x399ea8,_0x34cce6)['ldelim']();},_0x392305['decode']=function(_0x5b5417,_0x47a9d1,_0x33552c,_0x4d131d){if(_0x5b5417 instanceof _0x4b9dbe||(_0x5b5417=_0x4b9dbe['create'](_0x5b5417)),void 0x0===_0x4d131d&&(_0x4d131d=0x0),_0x4d131d>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1f84d4=void 0x0===_0x47a9d1?_0x5b5417['len']:_0x5b5417['pos']+_0x47a9d1,_0xfdb88f=new _0x17ddb1['TrackChangesUpdateSuggestionMessage']();_0x5b5417['pos']<_0x1f84d4;){var _0x449d8a=_0x5b5417['uint32']();if(_0x449d8a===_0x33552c)break;switch(_0x449d8a>>>0x3){case 0x1:_0xfdb88f['id']=_0x5b5417['string']();break;case 0x2:_0xfdb88f['documentId']=_0x5b5417['string']();break;case 0x3:_0xfdb88f['hasComments']=_0x5b5417['bool']();break;case 0x4:_0xfdb88f['isHasCommentsModified']=_0x5b5417['bool']();break;case 0x5:_0xfdb88f['state']=_0x5b5417['string']();break;case 0x6:_0xfdb88f['attributes']=_0x5b5417['string']();break;default:_0x5b5417['skipType'](0x7&_0x449d8a,_0x4d131d);}}return _0xfdb88f;},_0x392305['decodeDelimited']=function(_0x51a0de){return _0x51a0de instanceof _0x4b9dbe||(_0x51a0de=new _0x4b9dbe(_0x51a0de)),this['decode'](_0x51a0de,_0x51a0de['uint32']());},_0x392305['verify']=function(_0x1d90a0,_0x1085a2){return'object'!=typeof _0x1d90a0||null===_0x1d90a0?'object\x20expected':(void 0x0===_0x1085a2&&(_0x1085a2=0x0),_0x1085a2>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1d90a0['id']&&_0x1d90a0['hasOwnProperty']('id')&&!_0x38eba6['isString'](_0x1d90a0['id'])?'id:\x20string\x20expected':null!=_0x1d90a0['documentId']&&_0x1d90a0['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x1d90a0['documentId'])?'documentId:\x20string\x20expected':null!=_0x1d90a0['hasComments']&&_0x1d90a0['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x1d90a0['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x1d90a0['isHasCommentsModified']&&_0x1d90a0['hasOwnProperty']('isHasCommentsModified')&&'boolean'!=typeof _0x1d90a0['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x1d90a0['state']&&_0x1d90a0['hasOwnProperty']('state')&&!_0x38eba6['isString'](_0x1d90a0['state'])?'state:\x20string\x20expected':null!=_0x1d90a0['attributes']&&_0x1d90a0['hasOwnProperty']('attributes')&&!_0x38eba6['isString'](_0x1d90a0['attributes'])?'attributes:\x20string\x20expected':null);},_0x392305['fromObject']=function(_0x544b4e,_0x1c50c9){if(_0x544b4e instanceof _0x17ddb1['TrackChangesUpdateSuggestionMessage'])return _0x544b4e;if(void 0x0===_0x1c50c9&&(_0x1c50c9=0x0),_0x1c50c9>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x10ab13=new _0x17ddb1['TrackChangesUpdateSuggestionMessage']();return null!=_0x544b4e['id']&&(_0x10ab13['id']=String(_0x544b4e['id'])),null!=_0x544b4e['documentId']&&(_0x10ab13['documentId']=String(_0x544b4e['documentId'])),null!=_0x544b4e['hasComments']&&(_0x10ab13['hasComments']=Boolean(_0x544b4e['hasComments'])),null!=_0x544b4e['isHasCommentsModified']&&(_0x10ab13['isHasCommentsModified']=Boolean(_0x544b4e['isHasCommentsModified'])),null!=_0x544b4e['state']&&(_0x10ab13['state']=String(_0x544b4e['state'])),null!=_0x544b4e['attributes']&&(_0x10ab13['attributes']=String(_0x544b4e['attributes'])),_0x10ab13;},_0x392305['toObject']=function(_0x5cfac7,_0x2e778c){_0x2e778c||(_0x2e778c={});var _0x19847d={};return _0x2e778c['defaults']&&(_0x19847d['id']='',_0x19847d['documentId']='',_0x19847d['hasComments']=!0x1,_0x19847d['isHasCommentsModified']=!0x1,_0x19847d['state']='',_0x19847d['attributes']=''),null!=_0x5cfac7['id']&&_0x5cfac7['hasOwnProperty']('id')&&(_0x19847d['id']=_0x5cfac7['id']),null!=_0x5cfac7['documentId']&&_0x5cfac7['hasOwnProperty']('documentId')&&(_0x19847d['documentId']=_0x5cfac7['documentId']),null!=_0x5cfac7['hasComments']&&_0x5cfac7['hasOwnProperty']('hasComments')&&(_0x19847d['hasComments']=_0x5cfac7['hasComments']),null!=_0x5cfac7['isHasCommentsModified']&&_0x5cfac7['hasOwnProperty']('isHasCommentsModified')&&(_0x19847d['isHasCommentsModified']=_0x5cfac7['isHasCommentsModified']),null!=_0x5cfac7['state']&&_0x5cfac7['hasOwnProperty']('state')&&(_0x19847d['state']=_0x5cfac7['state']),null!=_0x5cfac7['attributes']&&_0x5cfac7['hasOwnProperty']('attributes')&&(_0x19847d['attributes']=_0x5cfac7['attributes']),_0x19847d;},_0x392305['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x392305['getTypeUrl']=function(_0x342817){return void 0x0===_0x342817&&(_0x342817='type.googleapis.com'),_0x342817+'/TrackChangesUpdateSuggestionMessage';},_0x392305;}()),_0x17ddb1['TrackChangesGetSuggestionMessage']=(function(){function _0x5db988(_0x32db23){if(_0x32db23){for(var _0x709c26=Object['keys'](_0x32db23),_0xdcaacd=0x0;_0xdcaacd<_0x709c26['length'];++_0xdcaacd)null!=_0x32db23[_0x709c26[_0xdcaacd]]&&'__proto__'!==_0x709c26[_0xdcaacd]&&(this[_0x709c26[_0xdcaacd]]=_0x32db23[_0x709c26[_0xdcaacd]]);}}return _0x5db988['prototype']['id']='',_0x5db988['prototype']['documentId']='',_0x5db988['create']=function(_0x4c0315){return new _0x5db988(_0x4c0315);},_0x5db988['encode']=function(_0x3037e5,_0x15dfb8){return _0x15dfb8||(_0x15dfb8=_0x4cef4a['create']()),null!=_0x3037e5['id']&&Object['hasOwnProperty']['call'](_0x3037e5,'id')&&_0x15dfb8['uint32'](0xa)['string'](_0x3037e5['id']),null!=_0x3037e5['documentId']&&Object['hasOwnProperty']['call'](_0x3037e5,'documentId')&&_0x15dfb8['uint32'](0x12)['string'](_0x3037e5['documentId']),_0x15dfb8;},_0x5db988['encodeDelimited']=function(_0x517ac6,_0x16ed8d){return this['encode'](_0x517ac6,_0x16ed8d)['ldelim']();},_0x5db988['decode']=function(_0x512c3e,_0x2decff,_0x362917,_0xe6f2bd){if(_0x512c3e instanceof _0x4b9dbe||(_0x512c3e=_0x4b9dbe['create'](_0x512c3e)),void 0x0===_0xe6f2bd&&(_0xe6f2bd=0x0),_0xe6f2bd>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2e8485=void 0x0===_0x2decff?_0x512c3e['len']:_0x512c3e['pos']+_0x2decff,_0x4c0a08=new _0x17ddb1['TrackChangesGetSuggestionMessage']();_0x512c3e['pos']<_0x2e8485;){var _0x39f332=_0x512c3e['uint32']();if(_0x39f332===_0x362917)break;switch(_0x39f332>>>0x3){case 0x1:_0x4c0a08['id']=_0x512c3e['string']();break;case 0x2:_0x4c0a08['documentId']=_0x512c3e['string']();break;default:_0x512c3e['skipType'](0x7&_0x39f332,_0xe6f2bd);}}return _0x4c0a08;},_0x5db988['decodeDelimited']=function(_0x739f94){return _0x739f94 instanceof _0x4b9dbe||(_0x739f94=new _0x4b9dbe(_0x739f94)),this['decode'](_0x739f94,_0x739f94['uint32']());},_0x5db988['verify']=function(_0x3384fd,_0x7b863d){return'object'!=typeof _0x3384fd||null===_0x3384fd?'object\x20expected':(void 0x0===_0x7b863d&&(_0x7b863d=0x0),_0x7b863d>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3384fd['id']&&_0x3384fd['hasOwnProperty']('id')&&!_0x38eba6['isString'](_0x3384fd['id'])?'id:\x20string\x20expected':null!=_0x3384fd['documentId']&&_0x3384fd['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x3384fd['documentId'])?'documentId:\x20string\x20expected':null);},_0x5db988['fromObject']=function(_0x5dd144,_0x26a8b6){if(_0x5dd144 instanceof _0x17ddb1['TrackChangesGetSuggestionMessage'])return _0x5dd144;if(void 0x0===_0x26a8b6&&(_0x26a8b6=0x0),_0x26a8b6>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x334878=new _0x17ddb1['TrackChangesGetSuggestionMessage']();return null!=_0x5dd144['id']&&(_0x334878['id']=String(_0x5dd144['id'])),null!=_0x5dd144['documentId']&&(_0x334878['documentId']=String(_0x5dd144['documentId'])),_0x334878;},_0x5db988['toObject']=function(_0x133916,_0x20835a){_0x20835a||(_0x20835a={});var _0x205a35={};return _0x20835a['defaults']&&(_0x205a35['id']='',_0x205a35['documentId']=''),null!=_0x133916['id']&&_0x133916['hasOwnProperty']('id')&&(_0x205a35['id']=_0x133916['id']),null!=_0x133916['documentId']&&_0x133916['hasOwnProperty']('documentId')&&(_0x205a35['documentId']=_0x133916['documentId']),_0x205a35;},_0x5db988['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x5db988['getTypeUrl']=function(_0x5a201c){return void 0x0===_0x5a201c&&(_0x5a201c='type.googleapis.com'),_0x5a201c+'/TrackChangesGetSuggestionMessage';},_0x5db988;}()),_0x17ddb1['TrackChangesGetAllSuggestionMessage']=(function(){function _0x53d5ad(_0xe727ad){if(_0xe727ad){for(var _0x419d22=Object['keys'](_0xe727ad),_0x20e67a=0x0;_0x20e67a<_0x419d22['length'];++_0x20e67a)null!=_0xe727ad[_0x419d22[_0x20e67a]]&&'__proto__'!==_0x419d22[_0x20e67a]&&(this[_0x419d22[_0x20e67a]]=_0xe727ad[_0x419d22[_0x20e67a]]);}}return _0x53d5ad['prototype']['documentId']='',_0x53d5ad['create']=function(_0x585cc9){return new _0x53d5ad(_0x585cc9);},_0x53d5ad['encode']=function(_0x4161b0,_0x3ce458){return _0x3ce458||(_0x3ce458=_0x4cef4a['create']()),null!=_0x4161b0['documentId']&&Object['hasOwnProperty']['call'](_0x4161b0,'documentId')&&_0x3ce458['uint32'](0xa)['string'](_0x4161b0['documentId']),_0x3ce458;},_0x53d5ad['encodeDelimited']=function(_0x3ac03c,_0x46b012){return this['encode'](_0x3ac03c,_0x46b012)['ldelim']();},_0x53d5ad['decode']=function(_0xcc2d2a,_0x4f8f9a,_0x540b5e,_0xa856a7){if(_0xcc2d2a instanceof _0x4b9dbe||(_0xcc2d2a=_0x4b9dbe['create'](_0xcc2d2a)),void 0x0===_0xa856a7&&(_0xa856a7=0x0),_0xa856a7>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3baefa=void 0x0===_0x4f8f9a?_0xcc2d2a['len']:_0xcc2d2a['pos']+_0x4f8f9a,_0x3c09c7=new _0x17ddb1['TrackChangesGetAllSuggestionMessage']();_0xcc2d2a['pos']<_0x3baefa;){var _0x951afb=_0xcc2d2a['uint32']();if(_0x951afb===_0x540b5e)break;_0x951afb>>>0x3==0x1?_0x3c09c7['documentId']=_0xcc2d2a['string']():_0xcc2d2a['skipType'](0x7&_0x951afb,_0xa856a7);}return _0x3c09c7;},_0x53d5ad['decodeDelimited']=function(_0x312bec){return _0x312bec instanceof _0x4b9dbe||(_0x312bec=new _0x4b9dbe(_0x312bec)),this['decode'](_0x312bec,_0x312bec['uint32']());},_0x53d5ad['verify']=function(_0x12c94f,_0x5d4272){return'object'!=typeof _0x12c94f||null===_0x12c94f?'object\x20expected':(void 0x0===_0x5d4272&&(_0x5d4272=0x0),_0x5d4272>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x12c94f['documentId']&&_0x12c94f['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x12c94f['documentId'])?'documentId:\x20string\x20expected':null);},_0x53d5ad['fromObject']=function(_0x4a59e0,_0xf519c4){if(_0x4a59e0 instanceof _0x17ddb1['TrackChangesGetAllSuggestionMessage'])return _0x4a59e0;if(void 0x0===_0xf519c4&&(_0xf519c4=0x0),_0xf519c4>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1cd11c=new _0x17ddb1['TrackChangesGetAllSuggestionMessage']();return null!=_0x4a59e0['documentId']&&(_0x1cd11c['documentId']=String(_0x4a59e0['documentId'])),_0x1cd11c;},_0x53d5ad['toObject']=function(_0x1ece4b,_0x31d544){_0x31d544||(_0x31d544={});var _0x3a732a={};return _0x31d544['defaults']&&(_0x3a732a['documentId']=''),null!=_0x1ece4b['documentId']&&_0x1ece4b['hasOwnProperty']('documentId')&&(_0x3a732a['documentId']=_0x1ece4b['documentId']),_0x3a732a;},_0x53d5ad['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x53d5ad['getTypeUrl']=function(_0x27fffc){return void 0x0===_0x27fffc&&(_0x27fffc='type.googleapis.com'),_0x27fffc+'/TrackChangesGetAllSuggestionMessage';},_0x53d5ad;}()),_0x17ddb1['TrackChangesConnectMessage']=(function(){function _0x48588d(_0x1743d5){if(_0x1743d5){for(var _0xe58178=Object['keys'](_0x1743d5),_0x5754c5=0x0;_0x5754c5<_0xe58178['length'];++_0x5754c5)null!=_0x1743d5[_0xe58178[_0x5754c5]]&&'__proto__'!==_0xe58178[_0x5754c5]&&(this[_0xe58178[_0x5754c5]]=_0x1743d5[_0xe58178[_0x5754c5]]);}}return _0x48588d['prototype']['documentId']='',_0x48588d['create']=function(_0x56b856){return new _0x48588d(_0x56b856);},_0x48588d['encode']=function(_0x1b27f2,_0x5f2f83){return _0x5f2f83||(_0x5f2f83=_0x4cef4a['create']()),null!=_0x1b27f2['documentId']&&Object['hasOwnProperty']['call'](_0x1b27f2,'documentId')&&_0x5f2f83['uint32'](0xa)['string'](_0x1b27f2['documentId']),_0x5f2f83;},_0x48588d['encodeDelimited']=function(_0x51f906,_0xcfd8ad){return this['encode'](_0x51f906,_0xcfd8ad)['ldelim']();},_0x48588d['decode']=function(_0x569dce,_0xe87e7a,_0x5a87ba,_0x659be4){if(_0x569dce instanceof _0x4b9dbe||(_0x569dce=_0x4b9dbe['create'](_0x569dce)),void 0x0===_0x659be4&&(_0x659be4=0x0),_0x659be4>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1a9fae=void 0x0===_0xe87e7a?_0x569dce['len']:_0x569dce['pos']+_0xe87e7a,_0x248fd2=new _0x17ddb1['TrackChangesConnectMessage']();_0x569dce['pos']<_0x1a9fae;){var _0x531292=_0x569dce['uint32']();if(_0x531292===_0x5a87ba)break;_0x531292>>>0x3==0x1?_0x248fd2['documentId']=_0x569dce['string']():_0x569dce['skipType'](0x7&_0x531292,_0x659be4);}return _0x248fd2;},_0x48588d['decodeDelimited']=function(_0x1bf236){return _0x1bf236 instanceof _0x4b9dbe||(_0x1bf236=new _0x4b9dbe(_0x1bf236)),this['decode'](_0x1bf236,_0x1bf236['uint32']());},_0x48588d['verify']=function(_0x5978ff,_0x171d7d){return'object'!=typeof _0x5978ff||null===_0x5978ff?'object\x20expected':(void 0x0===_0x171d7d&&(_0x171d7d=0x0),_0x171d7d>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5978ff['documentId']&&_0x5978ff['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x5978ff['documentId'])?'documentId:\x20string\x20expected':null);},_0x48588d['fromObject']=function(_0x4bd59a,_0xa595fb){if(_0x4bd59a instanceof _0x17ddb1['TrackChangesConnectMessage'])return _0x4bd59a;if(void 0x0===_0xa595fb&&(_0xa595fb=0x0),_0xa595fb>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x38d6ed=new _0x17ddb1['TrackChangesConnectMessage']();return null!=_0x4bd59a['documentId']&&(_0x38d6ed['documentId']=String(_0x4bd59a['documentId'])),_0x38d6ed;},_0x48588d['toObject']=function(_0x2a6086,_0x3dd5f5){_0x3dd5f5||(_0x3dd5f5={});var _0x4d9c8a={};return _0x3dd5f5['defaults']&&(_0x4d9c8a['documentId']=''),null!=_0x2a6086['documentId']&&_0x2a6086['hasOwnProperty']('documentId')&&(_0x4d9c8a['documentId']=_0x2a6086['documentId']),_0x4d9c8a;},_0x48588d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x48588d['getTypeUrl']=function(_0x278e58){return void 0x0===_0x278e58&&(_0x278e58='type.googleapis.com'),_0x278e58+'/TrackChangesConnectMessage';},_0x48588d;}()),_0x17ddb1['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0x539d78(_0x5e8d69){if(this['ids']=[],_0x5e8d69){for(var _0x5d2b1b=Object['keys'](_0x5e8d69),_0x56acf8=0x0;_0x56acf8<_0x5d2b1b['length'];++_0x56acf8)null!=_0x5e8d69[_0x5d2b1b[_0x56acf8]]&&'__proto__'!==_0x5d2b1b[_0x56acf8]&&(this[_0x5d2b1b[_0x56acf8]]=_0x5e8d69[_0x5d2b1b[_0x56acf8]]);}}return _0x539d78['prototype']['ids']=_0x38eba6['emptyArray'],_0x539d78['prototype']['documentId']='',_0x539d78['prototype']['state']='',_0x539d78['create']=function(_0x4f348a){return new _0x539d78(_0x4f348a);},_0x539d78['encode']=function(_0xf1626e,_0x318ea5){if(_0x318ea5||(_0x318ea5=_0x4cef4a['create']()),null!=_0xf1626e['ids']&&_0xf1626e['ids']['length']){for(var _0x1fef60=0x0;_0x1fef60<_0xf1626e['ids']['length'];++_0x1fef60)_0x318ea5['uint32'](0xa)['string'](_0xf1626e['ids'][_0x1fef60]);}return null!=_0xf1626e['documentId']&&Object['hasOwnProperty']['call'](_0xf1626e,'documentId')&&_0x318ea5['uint32'](0x12)['string'](_0xf1626e['documentId']),null!=_0xf1626e['state']&&Object['hasOwnProperty']['call'](_0xf1626e,'state')&&_0x318ea5['uint32'](0x1a)['string'](_0xf1626e['state']),_0x318ea5;},_0x539d78['encodeDelimited']=function(_0x481440,_0x713eac){return this['encode'](_0x481440,_0x713eac)['ldelim']();},_0x539d78['decode']=function(_0x385dc9,_0xfa5220,_0x281de7,_0x2d5d38){if(_0x385dc9 instanceof _0x4b9dbe||(_0x385dc9=_0x4b9dbe['create'](_0x385dc9)),void 0x0===_0x2d5d38&&(_0x2d5d38=0x0),_0x2d5d38>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x56fbaa=void 0x0===_0xfa5220?_0x385dc9['len']:_0x385dc9['pos']+_0xfa5220,_0x5acd47=new _0x17ddb1['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x385dc9['pos']<_0x56fbaa;){var _0xdb3a65=_0x385dc9['uint32']();if(_0xdb3a65===_0x281de7)break;switch(_0xdb3a65>>>0x3){case 0x1:_0x5acd47['ids']&&_0x5acd47['ids']['length']||(_0x5acd47['ids']=[]),_0x5acd47['ids']['push'](_0x385dc9['string']());break;case 0x2:_0x5acd47['documentId']=_0x385dc9['string']();break;case 0x3:_0x5acd47['state']=_0x385dc9['string']();break;default:_0x385dc9['skipType'](0x7&_0xdb3a65,_0x2d5d38);}}return _0x5acd47;},_0x539d78['decodeDelimited']=function(_0x4fa0c7){return _0x4fa0c7 instanceof _0x4b9dbe||(_0x4fa0c7=new _0x4b9dbe(_0x4fa0c7)),this['decode'](_0x4fa0c7,_0x4fa0c7['uint32']());},_0x539d78['verify']=function(_0x1672d3,_0x56744b){if('object'!=typeof _0x1672d3||null===_0x1672d3)return'object\x20expected';if(void 0x0===_0x56744b&&(_0x56744b=0x0),_0x56744b>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1672d3['ids']&&_0x1672d3['hasOwnProperty']('ids')){if(!Array['isArray'](_0x1672d3['ids']))return'ids:\x20array\x20expected';for(var _0x5d5d5d=0x0;_0x5d5d5d<_0x1672d3['ids']['length'];++_0x5d5d5d)if(!_0x38eba6['isString'](_0x1672d3['ids'][_0x5d5d5d]))return'ids:\x20string[]\x20expected';}return null!=_0x1672d3['documentId']&&_0x1672d3['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x1672d3['documentId'])?'documentId:\x20string\x20expected':null!=_0x1672d3['state']&&_0x1672d3['hasOwnProperty']('state')&&!_0x38eba6['isString'](_0x1672d3['state'])?'state:\x20string\x20expected':null;},_0x539d78['fromObject']=function(_0x1ee9cd,_0x2804ca){if(_0x1ee9cd instanceof _0x17ddb1['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0x1ee9cd;if(void 0x0===_0x2804ca&&(_0x2804ca=0x0),_0x2804ca>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2315fb=new _0x17ddb1['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0x1ee9cd['ids']){if(!Array['isArray'](_0x1ee9cd['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x2315fb['ids']=[];for(var _0x4e52a7=0x0;_0x4e52a7<_0x1ee9cd['ids']['length'];++_0x4e52a7)_0x2315fb['ids'][_0x4e52a7]=String(_0x1ee9cd['ids'][_0x4e52a7]);}return null!=_0x1ee9cd['documentId']&&(_0x2315fb['documentId']=String(_0x1ee9cd['documentId'])),null!=_0x1ee9cd['state']&&(_0x2315fb['state']=String(_0x1ee9cd['state'])),_0x2315fb;},_0x539d78['toObject']=function(_0x10666b,_0x43c5f7){_0x43c5f7||(_0x43c5f7={});var _0x1b7133={};if((_0x43c5f7['arrays']||_0x43c5f7['defaults'])&&(_0x1b7133['ids']=[]),_0x43c5f7['defaults']&&(_0x1b7133['documentId']='',_0x1b7133['state']=''),_0x10666b['ids']&&_0x10666b['ids']['length']){_0x1b7133['ids']=[];for(var _0x1f6363=0x0;_0x1f6363<_0x10666b['ids']['length'];++_0x1f6363)_0x1b7133['ids'][_0x1f6363]=_0x10666b['ids'][_0x1f6363];}return null!=_0x10666b['documentId']&&_0x10666b['hasOwnProperty']('documentId')&&(_0x1b7133['documentId']=_0x10666b['documentId']),null!=_0x10666b['state']&&_0x10666b['hasOwnProperty']('state')&&(_0x1b7133['state']=_0x10666b['state']),_0x1b7133;},_0x539d78['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x539d78['getTypeUrl']=function(_0x1376e1){return void 0x0===_0x1376e1&&(_0x1376e1='type.googleapis.com'),_0x1376e1+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0x539d78;}()),_0x17ddb1['TrackChangesAddSuggestionMessage']=(function(){function _0x15b458(_0x4cba82){if(_0x4cba82){for(var _0x3c865f=Object['keys'](_0x4cba82),_0x3253ec=0x0;_0x3253ec<_0x3c865f['length'];++_0x3253ec)null!=_0x4cba82[_0x3c865f[_0x3253ec]]&&'__proto__'!==_0x3c865f[_0x3253ec]&&(this[_0x3c865f[_0x3253ec]]=_0x4cba82[_0x3c865f[_0x3253ec]]);}}return _0x15b458['prototype']['id']='',_0x15b458['prototype']['documentId']='',_0x15b458['prototype']['type']='',_0x15b458['prototype']['data']='',_0x15b458['prototype']['originalSuggestionId']='',_0x15b458['prototype']['attributes']='',_0x15b458['create']=function(_0x161111){return new _0x15b458(_0x161111);},_0x15b458['encode']=function(_0xcc84dd,_0x3ee5bc){return _0x3ee5bc||(_0x3ee5bc=_0x4cef4a['create']()),null!=_0xcc84dd['id']&&Object['hasOwnProperty']['call'](_0xcc84dd,'id')&&_0x3ee5bc['uint32'](0xa)['string'](_0xcc84dd['id']),null!=_0xcc84dd['documentId']&&Object['hasOwnProperty']['call'](_0xcc84dd,'documentId')&&_0x3ee5bc['uint32'](0x12)['string'](_0xcc84dd['documentId']),null!=_0xcc84dd['type']&&Object['hasOwnProperty']['call'](_0xcc84dd,'type')&&_0x3ee5bc['uint32'](0x1a)['string'](_0xcc84dd['type']),null!=_0xcc84dd['data']&&Object['hasOwnProperty']['call'](_0xcc84dd,'data')&&_0x3ee5bc['uint32'](0x22)['string'](_0xcc84dd['data']),null!=_0xcc84dd['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0xcc84dd,'originalSuggestionId')&&_0x3ee5bc['uint32'](0x2a)['string'](_0xcc84dd['originalSuggestionId']),null!=_0xcc84dd['attributes']&&Object['hasOwnProperty']['call'](_0xcc84dd,'attributes')&&_0x3ee5bc['uint32'](0x32)['string'](_0xcc84dd['attributes']),_0x3ee5bc;},_0x15b458['encodeDelimited']=function(_0xfd9fcb,_0x533c98){return this['encode'](_0xfd9fcb,_0x533c98)['ldelim']();},_0x15b458['decode']=function(_0xdc758c,_0x21d77d,_0x6c5f6,_0x4c1c2c){if(_0xdc758c instanceof _0x4b9dbe||(_0xdc758c=_0x4b9dbe['create'](_0xdc758c)),void 0x0===_0x4c1c2c&&(_0x4c1c2c=0x0),_0x4c1c2c>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4d4af8=void 0x0===_0x21d77d?_0xdc758c['len']:_0xdc758c['pos']+_0x21d77d,_0x2db352=new _0x17ddb1['TrackChangesAddSuggestionMessage']();_0xdc758c['pos']<_0x4d4af8;){var _0x6b64a7=_0xdc758c['uint32']();if(_0x6b64a7===_0x6c5f6)break;switch(_0x6b64a7>>>0x3){case 0x1:_0x2db352['id']=_0xdc758c['string']();break;case 0x2:_0x2db352['documentId']=_0xdc758c['string']();break;case 0x3:_0x2db352['type']=_0xdc758c['string']();break;case 0x4:_0x2db352['data']=_0xdc758c['string']();break;case 0x5:_0x2db352['originalSuggestionId']=_0xdc758c['string']();break;case 0x6:_0x2db352['attributes']=_0xdc758c['string']();break;default:_0xdc758c['skipType'](0x7&_0x6b64a7,_0x4c1c2c);}}return _0x2db352;},_0x15b458['decodeDelimited']=function(_0x5b6c2c){return _0x5b6c2c instanceof _0x4b9dbe||(_0x5b6c2c=new _0x4b9dbe(_0x5b6c2c)),this['decode'](_0x5b6c2c,_0x5b6c2c['uint32']());},_0x15b458['verify']=function(_0x301222,_0x3b9fef){return'object'!=typeof _0x301222||null===_0x301222?'object\x20expected':(void 0x0===_0x3b9fef&&(_0x3b9fef=0x0),_0x3b9fef>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x301222['id']&&_0x301222['hasOwnProperty']('id')&&!_0x38eba6['isString'](_0x301222['id'])?'id:\x20string\x20expected':null!=_0x301222['documentId']&&_0x301222['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x301222['documentId'])?'documentId:\x20string\x20expected':null!=_0x301222['type']&&_0x301222['hasOwnProperty']('type')&&!_0x38eba6['isString'](_0x301222['type'])?'type:\x20string\x20expected':null!=_0x301222['data']&&_0x301222['hasOwnProperty']('data')&&!_0x38eba6['isString'](_0x301222['data'])?'data:\x20string\x20expected':null!=_0x301222['originalSuggestionId']&&_0x301222['hasOwnProperty']('originalSuggestionId')&&!_0x38eba6['isString'](_0x301222['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x301222['attributes']&&_0x301222['hasOwnProperty']('attributes')&&!_0x38eba6['isString'](_0x301222['attributes'])?'attributes:\x20string\x20expected':null);},_0x15b458['fromObject']=function(_0x341d18,_0x2afc90){if(_0x341d18 instanceof _0x17ddb1['TrackChangesAddSuggestionMessage'])return _0x341d18;if(void 0x0===_0x2afc90&&(_0x2afc90=0x0),_0x2afc90>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x34f2fe=new _0x17ddb1['TrackChangesAddSuggestionMessage']();return null!=_0x341d18['id']&&(_0x34f2fe['id']=String(_0x341d18['id'])),null!=_0x341d18['documentId']&&(_0x34f2fe['documentId']=String(_0x341d18['documentId'])),null!=_0x341d18['type']&&(_0x34f2fe['type']=String(_0x341d18['type'])),null!=_0x341d18['data']&&(_0x34f2fe['data']=String(_0x341d18['data'])),null!=_0x341d18['originalSuggestionId']&&(_0x34f2fe['originalSuggestionId']=String(_0x341d18['originalSuggestionId'])),null!=_0x341d18['attributes']&&(_0x34f2fe['attributes']=String(_0x341d18['attributes'])),_0x34f2fe;},_0x15b458['toObject']=function(_0x5953ee,_0x45c533){_0x45c533||(_0x45c533={});var _0x3bbc55={};return _0x45c533['defaults']&&(_0x3bbc55['id']='',_0x3bbc55['documentId']='',_0x3bbc55['type']='',_0x3bbc55['data']='',_0x3bbc55['originalSuggestionId']='',_0x3bbc55['attributes']=''),null!=_0x5953ee['id']&&_0x5953ee['hasOwnProperty']('id')&&(_0x3bbc55['id']=_0x5953ee['id']),null!=_0x5953ee['documentId']&&_0x5953ee['hasOwnProperty']('documentId')&&(_0x3bbc55['documentId']=_0x5953ee['documentId']),null!=_0x5953ee['type']&&_0x5953ee['hasOwnProperty']('type')&&(_0x3bbc55['type']=_0x5953ee['type']),null!=_0x5953ee['data']&&_0x5953ee['hasOwnProperty']('data')&&(_0x3bbc55['data']=_0x5953ee['data']),null!=_0x5953ee['originalSuggestionId']&&_0x5953ee['hasOwnProperty']('originalSuggestionId')&&(_0x3bbc55['originalSuggestionId']=_0x5953ee['originalSuggestionId']),null!=_0x5953ee['attributes']&&_0x5953ee['hasOwnProperty']('attributes')&&(_0x3bbc55['attributes']=_0x5953ee['attributes']),_0x3bbc55;},_0x15b458['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x15b458['getTypeUrl']=function(_0x460b2b){return void 0x0===_0x460b2b&&(_0x460b2b='type.googleapis.com'),_0x460b2b+'/TrackChangesAddSuggestionMessage';},_0x15b458;}()),_0x17ddb1['SuggestionDescriptor']=(function(){function _0x2e874f(_0x4ca299){if(_0x4ca299){for(var _0x50add0=Object['keys'](_0x4ca299),_0x1139f6=0x0;_0x1139f6<_0x50add0['length'];++_0x1139f6)null!=_0x4ca299[_0x50add0[_0x1139f6]]&&'__proto__'!==_0x50add0[_0x1139f6]&&(this[_0x50add0[_0x1139f6]]=_0x4ca299[_0x50add0[_0x1139f6]]);}}return _0x2e874f['prototype']['id']='',_0x2e874f['prototype']['authorId']='',_0x2e874f['prototype']['type']='',_0x2e874f['prototype']['createdAt']='',_0x2e874f['prototype']['data']='',_0x2e874f['prototype']['hasComments']=!0x1,_0x2e874f['prototype']['state']='',_0x2e874f['prototype']['attributes']='',_0x2e874f['create']=function(_0x2f2cf5){return new _0x2e874f(_0x2f2cf5);},_0x2e874f['encode']=function(_0x18c6aa,_0x4885c2){return _0x4885c2||(_0x4885c2=_0x4cef4a['create']()),null!=_0x18c6aa['id']&&Object['hasOwnProperty']['call'](_0x18c6aa,'id')&&_0x4885c2['uint32'](0xa)['string'](_0x18c6aa['id']),null!=_0x18c6aa['authorId']&&Object['hasOwnProperty']['call'](_0x18c6aa,'authorId')&&_0x4885c2['uint32'](0x12)['string'](_0x18c6aa['authorId']),null!=_0x18c6aa['type']&&Object['hasOwnProperty']['call'](_0x18c6aa,'type')&&_0x4885c2['uint32'](0x1a)['string'](_0x18c6aa['type']),null!=_0x18c6aa['createdAt']&&Object['hasOwnProperty']['call'](_0x18c6aa,'createdAt')&&_0x4885c2['uint32'](0x22)['string'](_0x18c6aa['createdAt']),null!=_0x18c6aa['data']&&Object['hasOwnProperty']['call'](_0x18c6aa,'data')&&_0x4885c2['uint32'](0x2a)['string'](_0x18c6aa['data']),null!=_0x18c6aa['hasComments']&&Object['hasOwnProperty']['call'](_0x18c6aa,'hasComments')&&_0x4885c2['uint32'](0x30)['bool'](_0x18c6aa['hasComments']),null!=_0x18c6aa['state']&&Object['hasOwnProperty']['call'](_0x18c6aa,'state')&&_0x4885c2['uint32'](0x3a)['string'](_0x18c6aa['state']),null!=_0x18c6aa['attributes']&&Object['hasOwnProperty']['call'](_0x18c6aa,'attributes')&&_0x4885c2['uint32'](0x42)['string'](_0x18c6aa['attributes']),_0x4885c2;},_0x2e874f['encodeDelimited']=function(_0x1d553b,_0x149898){return this['encode'](_0x1d553b,_0x149898)['ldelim']();},_0x2e874f['decode']=function(_0x9336be,_0x367e59,_0x33f0f0,_0x2eb532){if(_0x9336be instanceof _0x4b9dbe||(_0x9336be=_0x4b9dbe['create'](_0x9336be)),void 0x0===_0x2eb532&&(_0x2eb532=0x0),_0x2eb532>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x159b86=void 0x0===_0x367e59?_0x9336be['len']:_0x9336be['pos']+_0x367e59,_0x2809ee=new _0x17ddb1['SuggestionDescriptor']();_0x9336be['pos']<_0x159b86;){var _0x59ba47=_0x9336be['uint32']();if(_0x59ba47===_0x33f0f0)break;switch(_0x59ba47>>>0x3){case 0x1:_0x2809ee['id']=_0x9336be['string']();break;case 0x2:_0x2809ee['authorId']=_0x9336be['string']();break;case 0x3:_0x2809ee['type']=_0x9336be['string']();break;case 0x4:_0x2809ee['createdAt']=_0x9336be['string']();break;case 0x5:_0x2809ee['data']=_0x9336be['string']();break;case 0x6:_0x2809ee['hasComments']=_0x9336be['bool']();break;case 0x7:_0x2809ee['state']=_0x9336be['string']();break;case 0x8:_0x2809ee['attributes']=_0x9336be['string']();break;default:_0x9336be['skipType'](0x7&_0x59ba47,_0x2eb532);}}return _0x2809ee;},_0x2e874f['decodeDelimited']=function(_0xff1df1){return _0xff1df1 instanceof _0x4b9dbe||(_0xff1df1=new _0x4b9dbe(_0xff1df1)),this['decode'](_0xff1df1,_0xff1df1['uint32']());},_0x2e874f['verify']=function(_0x42cd97,_0x5d19fd){return'object'!=typeof _0x42cd97||null===_0x42cd97?'object\x20expected':(void 0x0===_0x5d19fd&&(_0x5d19fd=0x0),_0x5d19fd>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x42cd97['id']&&_0x42cd97['hasOwnProperty']('id')&&!_0x38eba6['isString'](_0x42cd97['id'])?'id:\x20string\x20expected':null!=_0x42cd97['authorId']&&_0x42cd97['hasOwnProperty']('authorId')&&!_0x38eba6['isString'](_0x42cd97['authorId'])?'authorId:\x20string\x20expected':null!=_0x42cd97['type']&&_0x42cd97['hasOwnProperty']('type')&&!_0x38eba6['isString'](_0x42cd97['type'])?'type:\x20string\x20expected':null!=_0x42cd97['createdAt']&&_0x42cd97['hasOwnProperty']('createdAt')&&!_0x38eba6['isString'](_0x42cd97['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x42cd97['data']&&_0x42cd97['hasOwnProperty']('data')&&!_0x38eba6['isString'](_0x42cd97['data'])?'data:\x20string\x20expected':null!=_0x42cd97['hasComments']&&_0x42cd97['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x42cd97['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x42cd97['state']&&_0x42cd97['hasOwnProperty']('state')&&!_0x38eba6['isString'](_0x42cd97['state'])?'state:\x20string\x20expected':null!=_0x42cd97['attributes']&&_0x42cd97['hasOwnProperty']('attributes')&&!_0x38eba6['isString'](_0x42cd97['attributes'])?'attributes:\x20string\x20expected':null);},_0x2e874f['fromObject']=function(_0x3d599f,_0x1e725f){if(_0x3d599f instanceof _0x17ddb1['SuggestionDescriptor'])return _0x3d599f;if(void 0x0===_0x1e725f&&(_0x1e725f=0x0),_0x1e725f>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5aff9c=new _0x17ddb1['SuggestionDescriptor']();return null!=_0x3d599f['id']&&(_0x5aff9c['id']=String(_0x3d599f['id'])),null!=_0x3d599f['authorId']&&(_0x5aff9c['authorId']=String(_0x3d599f['authorId'])),null!=_0x3d599f['type']&&(_0x5aff9c['type']=String(_0x3d599f['type'])),null!=_0x3d599f['createdAt']&&(_0x5aff9c['createdAt']=String(_0x3d599f['createdAt'])),null!=_0x3d599f['data']&&(_0x5aff9c['data']=String(_0x3d599f['data'])),null!=_0x3d599f['hasComments']&&(_0x5aff9c['hasComments']=Boolean(_0x3d599f['hasComments'])),null!=_0x3d599f['state']&&(_0x5aff9c['state']=String(_0x3d599f['state'])),null!=_0x3d599f['attributes']&&(_0x5aff9c['attributes']=String(_0x3d599f['attributes'])),_0x5aff9c;},_0x2e874f['toObject']=function(_0x3742e9,_0x4b1bb3){_0x4b1bb3||(_0x4b1bb3={});var _0xee91db={};return _0x4b1bb3['defaults']&&(_0xee91db['id']='',_0xee91db['authorId']='',_0xee91db['type']='',_0xee91db['createdAt']='',_0xee91db['data']='',_0xee91db['hasComments']=!0x1,_0xee91db['state']='',_0xee91db['attributes']=''),null!=_0x3742e9['id']&&_0x3742e9['hasOwnProperty']('id')&&(_0xee91db['id']=_0x3742e9['id']),null!=_0x3742e9['authorId']&&_0x3742e9['hasOwnProperty']('authorId')&&(_0xee91db['authorId']=_0x3742e9['authorId']),null!=_0x3742e9['type']&&_0x3742e9['hasOwnProperty']('type')&&(_0xee91db['type']=_0x3742e9['type']),null!=_0x3742e9['createdAt']&&_0x3742e9['hasOwnProperty']('createdAt')&&(_0xee91db['createdAt']=_0x3742e9['createdAt']),null!=_0x3742e9['data']&&_0x3742e9['hasOwnProperty']('data')&&(_0xee91db['data']=_0x3742e9['data']),null!=_0x3742e9['hasComments']&&_0x3742e9['hasOwnProperty']('hasComments')&&(_0xee91db['hasComments']=_0x3742e9['hasComments']),null!=_0x3742e9['state']&&_0x3742e9['hasOwnProperty']('state')&&(_0xee91db['state']=_0x3742e9['state']),null!=_0x3742e9['attributes']&&_0x3742e9['hasOwnProperty']('attributes')&&(_0xee91db['attributes']=_0x3742e9['attributes']),_0xee91db;},_0x2e874f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x2e874f['getTypeUrl']=function(_0x3e20e1){return void 0x0===_0x3e20e1&&(_0x3e20e1='type.googleapis.com'),_0x3e20e1+'/SuggestionDescriptor';},_0x2e874f;}()),_0x17ddb1['SessionsConnectResponse']=(function(){function _0x336ecb(_0x1de342){if(this['sockets']=[],_0x1de342){for(var _0x496e9c=Object['keys'](_0x1de342),_0x29b73b=0x0;_0x29b73b<_0x496e9c['length'];++_0x29b73b)null!=_0x1de342[_0x496e9c[_0x29b73b]]&&'__proto__'!==_0x496e9c[_0x29b73b]&&(this[_0x496e9c[_0x29b73b]]=_0x1de342[_0x496e9c[_0x29b73b]]);}}return _0x336ecb['prototype']['channel']='',_0x336ecb['prototype']['sockets']=_0x38eba6['emptyArray'],_0x336ecb['create']=function(_0x4cdf05){return new _0x336ecb(_0x4cdf05);},_0x336ecb['encode']=function(_0x4be7e6,_0x40862b){if(_0x40862b||(_0x40862b=_0x4cef4a['create']()),null!=_0x4be7e6['channel']&&Object['hasOwnProperty']['call'](_0x4be7e6,'channel')&&_0x40862b['uint32'](0xa)['string'](_0x4be7e6['channel']),null!=_0x4be7e6['sockets']&&_0x4be7e6['sockets']['length']){for(var _0x315f03=0x0;_0x315f03<_0x4be7e6['sockets']['length'];++_0x315f03)_0x17ddb1['SessionsSocketDescriptor']['encode'](_0x4be7e6['sockets'][_0x315f03],_0x40862b['uint32'](0x12)['fork']())['ldelim']();}return _0x40862b;},_0x336ecb['encodeDelimited']=function(_0x4415e,_0x324baa){return this['encode'](_0x4415e,_0x324baa)['ldelim']();},_0x336ecb['decode']=function(_0x217ab2,_0x535c55,_0x2a78be,_0xed4408){if(_0x217ab2 instanceof _0x4b9dbe||(_0x217ab2=_0x4b9dbe['create'](_0x217ab2)),void 0x0===_0xed4408&&(_0xed4408=0x0),_0xed4408>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2f973b=void 0x0===_0x535c55?_0x217ab2['len']:_0x217ab2['pos']+_0x535c55,_0x5974fe=new _0x17ddb1['SessionsConnectResponse']();_0x217ab2['pos']<_0x2f973b;){var _0x15a7f3=_0x217ab2['uint32']();if(_0x15a7f3===_0x2a78be)break;switch(_0x15a7f3>>>0x3){case 0x1:_0x5974fe['channel']=_0x217ab2['string']();break;case 0x2:_0x5974fe['sockets']&&_0x5974fe['sockets']['length']||(_0x5974fe['sockets']=[]),_0x5974fe['sockets']['push'](_0x17ddb1['SessionsSocketDescriptor']['decode'](_0x217ab2,_0x217ab2['uint32'](),void 0x0,_0xed4408+0x1));break;default:_0x217ab2['skipType'](0x7&_0x15a7f3,_0xed4408);}}return _0x5974fe;},_0x336ecb['decodeDelimited']=function(_0x259d17){return _0x259d17 instanceof _0x4b9dbe||(_0x259d17=new _0x4b9dbe(_0x259d17)),this['decode'](_0x259d17,_0x259d17['uint32']());},_0x336ecb['verify']=function(_0x207b0b,_0x50fd84){if('object'!=typeof _0x207b0b||null===_0x207b0b)return'object\x20expected';if(void 0x0===_0x50fd84&&(_0x50fd84=0x0),_0x50fd84>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x207b0b['channel']&&_0x207b0b['hasOwnProperty']('channel')&&!_0x38eba6['isString'](_0x207b0b['channel']))return'channel:\x20string\x20expected';if(null!=_0x207b0b['sockets']&&_0x207b0b['hasOwnProperty']('sockets')){if(!Array['isArray'](_0x207b0b['sockets']))return'sockets:\x20array\x20expected';for(var _0x23e7ba=0x0;_0x23e7ba<_0x207b0b['sockets']['length'];++_0x23e7ba){var _0x283085=_0x17ddb1['SessionsSocketDescriptor']['verify'](_0x207b0b['sockets'][_0x23e7ba],_0x50fd84+0x1);if(_0x283085)return'sockets.'+_0x283085;}}return null;},_0x336ecb['fromObject']=function(_0x30117b,_0x286f2e){if(_0x30117b instanceof _0x17ddb1['SessionsConnectResponse'])return _0x30117b;if(void 0x0===_0x286f2e&&(_0x286f2e=0x0),_0x286f2e>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x57aef9=new _0x17ddb1['SessionsConnectResponse']();if(null!=_0x30117b['channel']&&(_0x57aef9['channel']=String(_0x30117b['channel'])),_0x30117b['sockets']){if(!Array['isArray'](_0x30117b['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x57aef9['sockets']=[];for(var _0x11ea83=0x0;_0x11ea83<_0x30117b['sockets']['length'];++_0x11ea83){if('object'!=typeof _0x30117b['sockets'][_0x11ea83])throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x57aef9['sockets'][_0x11ea83]=_0x17ddb1['SessionsSocketDescriptor']['fromObject'](_0x30117b['sockets'][_0x11ea83],_0x286f2e+0x1);}}return _0x57aef9;},_0x336ecb['toObject']=function(_0x590121,_0x424255){_0x424255||(_0x424255={});var _0x5c58be={};if((_0x424255['arrays']||_0x424255['defaults'])&&(_0x5c58be['sockets']=[]),_0x424255['defaults']&&(_0x5c58be['channel']=''),null!=_0x590121['channel']&&_0x590121['hasOwnProperty']('channel')&&(_0x5c58be['channel']=_0x590121['channel']),_0x590121['sockets']&&_0x590121['sockets']['length']){_0x5c58be['sockets']=[];for(var _0x3fdd16=0x0;_0x3fdd16<_0x590121['sockets']['length'];++_0x3fdd16)_0x5c58be['sockets'][_0x3fdd16]=_0x17ddb1['SessionsSocketDescriptor']['toObject'](_0x590121['sockets'][_0x3fdd16],_0x424255);}return _0x5c58be;},_0x336ecb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x336ecb['getTypeUrl']=function(_0x2d5399){return void 0x0===_0x2d5399&&(_0x2d5399='type.googleapis.com'),_0x2d5399+'/SessionsConnectResponse';},_0x336ecb;}()),_0x17ddb1['SocketDisconnectMessage']=(function(){function _0x50325c(_0x5982dd){if(_0x5982dd){for(var _0x4c7c96=Object['keys'](_0x5982dd),_0x278891=0x0;_0x278891<_0x4c7c96['length'];++_0x278891)null!=_0x5982dd[_0x4c7c96[_0x278891]]&&'__proto__'!==_0x4c7c96[_0x278891]&&(this[_0x4c7c96[_0x278891]]=_0x5982dd[_0x4c7c96[_0x278891]]);}}return _0x50325c['prototype']['id']='',_0x50325c['create']=function(_0x5d267b){return new _0x50325c(_0x5d267b);},_0x50325c['encode']=function(_0x2529cf,_0x2751fd){return _0x2751fd||(_0x2751fd=_0x4cef4a['create']()),null!=_0x2529cf['id']&&Object['hasOwnProperty']['call'](_0x2529cf,'id')&&_0x2751fd['uint32'](0xa)['string'](_0x2529cf['id']),_0x2751fd;},_0x50325c['encodeDelimited']=function(_0x3b4d8b,_0x377831){return this['encode'](_0x3b4d8b,_0x377831)['ldelim']();},_0x50325c['decode']=function(_0x35925b,_0x353a3a,_0x597d69,_0x56bf2f){if(_0x35925b instanceof _0x4b9dbe||(_0x35925b=_0x4b9dbe['create'](_0x35925b)),void 0x0===_0x56bf2f&&(_0x56bf2f=0x0),_0x56bf2f>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3a8de9=void 0x0===_0x353a3a?_0x35925b['len']:_0x35925b['pos']+_0x353a3a,_0x3c3b25=new _0x17ddb1['SocketDisconnectMessage']();_0x35925b['pos']<_0x3a8de9;){var _0x37c1da=_0x35925b['uint32']();if(_0x37c1da===_0x597d69)break;_0x37c1da>>>0x3==0x1?_0x3c3b25['id']=_0x35925b['string']():_0x35925b['skipType'](0x7&_0x37c1da,_0x56bf2f);}return _0x3c3b25;},_0x50325c['decodeDelimited']=function(_0x387cd1){return _0x387cd1 instanceof _0x4b9dbe||(_0x387cd1=new _0x4b9dbe(_0x387cd1)),this['decode'](_0x387cd1,_0x387cd1['uint32']());},_0x50325c['verify']=function(_0x5b300b,_0x3d42b2){return'object'!=typeof _0x5b300b||null===_0x5b300b?'object\x20expected':(void 0x0===_0x3d42b2&&(_0x3d42b2=0x0),_0x3d42b2>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5b300b['id']&&_0x5b300b['hasOwnProperty']('id')&&!_0x38eba6['isString'](_0x5b300b['id'])?'id:\x20string\x20expected':null);},_0x50325c['fromObject']=function(_0x4990c6,_0x305c57){if(_0x4990c6 instanceof _0x17ddb1['SocketDisconnectMessage'])return _0x4990c6;if(void 0x0===_0x305c57&&(_0x305c57=0x0),_0x305c57>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5d8be2=new _0x17ddb1['SocketDisconnectMessage']();return null!=_0x4990c6['id']&&(_0x5d8be2['id']=String(_0x4990c6['id'])),_0x5d8be2;},_0x50325c['toObject']=function(_0x32bcc6,_0x4f7fb0){_0x4f7fb0||(_0x4f7fb0={});var _0x32187f={};return _0x4f7fb0['defaults']&&(_0x32187f['id']=''),null!=_0x32bcc6['id']&&_0x32bcc6['hasOwnProperty']('id')&&(_0x32187f['id']=_0x32bcc6['id']),_0x32187f;},_0x50325c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x50325c['getTypeUrl']=function(_0x2da1c5){return void 0x0===_0x2da1c5&&(_0x2da1c5='type.googleapis.com'),_0x2da1c5+'/SocketDisconnectMessage';},_0x50325c;}()),_0x17ddb1['SocketConnectMessage']=(function(){function _0x3fb5e0(_0x3ea793){if(this['permissions']=[],_0x3ea793){for(var _0x26bf23=Object['keys'](_0x3ea793),_0x4219d6=0x0;_0x4219d6<_0x26bf23['length'];++_0x4219d6)null!=_0x3ea793[_0x26bf23[_0x4219d6]]&&'__proto__'!==_0x26bf23[_0x4219d6]&&(this[_0x26bf23[_0x4219d6]]=_0x3ea793[_0x26bf23[_0x4219d6]]);}}return _0x3fb5e0['prototype']['id']='',_0x3fb5e0['prototype']['userId']='',_0x3fb5e0['prototype']['role']='',_0x3fb5e0['prototype']['permissions']=_0x38eba6['emptyArray'],_0x3fb5e0['create']=function(_0x5c271a){return new _0x3fb5e0(_0x5c271a);},_0x3fb5e0['encode']=function(_0xce0bda,_0x2ee786){if(_0x2ee786||(_0x2ee786=_0x4cef4a['create']()),null!=_0xce0bda['id']&&Object['hasOwnProperty']['call'](_0xce0bda,'id')&&_0x2ee786['uint32'](0xa)['string'](_0xce0bda['id']),null!=_0xce0bda['userId']&&Object['hasOwnProperty']['call'](_0xce0bda,'userId')&&_0x2ee786['uint32'](0x12)['string'](_0xce0bda['userId']),null!=_0xce0bda['role']&&Object['hasOwnProperty']['call'](_0xce0bda,'role')&&_0x2ee786['uint32'](0x1a)['string'](_0xce0bda['role']),null!=_0xce0bda['permissions']&&_0xce0bda['permissions']['length']){for(var _0x552b7c=0x0;_0x552b7c<_0xce0bda['permissions']['length'];++_0x552b7c)_0x2ee786['uint32'](0x22)['string'](_0xce0bda['permissions'][_0x552b7c]);}return _0x2ee786;},_0x3fb5e0['encodeDelimited']=function(_0x4e8c8c,_0x2459d5){return this['encode'](_0x4e8c8c,_0x2459d5)['ldelim']();},_0x3fb5e0['decode']=function(_0x9bec68,_0x59d9d0,_0x474737,_0xae76d5){if(_0x9bec68 instanceof _0x4b9dbe||(_0x9bec68=_0x4b9dbe['create'](_0x9bec68)),void 0x0===_0xae76d5&&(_0xae76d5=0x0),_0xae76d5>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3f75e1=void 0x0===_0x59d9d0?_0x9bec68['len']:_0x9bec68['pos']+_0x59d9d0,_0x3b2526=new _0x17ddb1['SocketConnectMessage']();_0x9bec68['pos']<_0x3f75e1;){var _0x3a6858=_0x9bec68['uint32']();if(_0x3a6858===_0x474737)break;switch(_0x3a6858>>>0x3){case 0x1:_0x3b2526['id']=_0x9bec68['string']();break;case 0x2:_0x3b2526['userId']=_0x9bec68['string']();break;case 0x3:_0x3b2526['role']=_0x9bec68['string']();break;case 0x4:_0x3b2526['permissions']&&_0x3b2526['permissions']['length']||(_0x3b2526['permissions']=[]),_0x3b2526['permissions']['push'](_0x9bec68['string']());break;default:_0x9bec68['skipType'](0x7&_0x3a6858,_0xae76d5);}}return _0x3b2526;},_0x3fb5e0['decodeDelimited']=function(_0x428f5b){return _0x428f5b instanceof _0x4b9dbe||(_0x428f5b=new _0x4b9dbe(_0x428f5b)),this['decode'](_0x428f5b,_0x428f5b['uint32']());},_0x3fb5e0['verify']=function(_0x4f339d,_0x15c049){if('object'!=typeof _0x4f339d||null===_0x4f339d)return'object\x20expected';if(void 0x0===_0x15c049&&(_0x15c049=0x0),_0x15c049>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x4f339d['id']&&_0x4f339d['hasOwnProperty']('id')&&!_0x38eba6['isString'](_0x4f339d['id']))return'id:\x20string\x20expected';if(null!=_0x4f339d['userId']&&_0x4f339d['hasOwnProperty']('userId')&&!_0x38eba6['isString'](_0x4f339d['userId']))return'userId:\x20string\x20expected';if(null!=_0x4f339d['role']&&_0x4f339d['hasOwnProperty']('role')&&!_0x38eba6['isString'](_0x4f339d['role']))return'role:\x20string\x20expected';if(null!=_0x4f339d['permissions']&&_0x4f339d['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x4f339d['permissions']))return'permissions:\x20array\x20expected';for(var _0x4acb9f=0x0;_0x4acb9f<_0x4f339d['permissions']['length'];++_0x4acb9f)if(!_0x38eba6['isString'](_0x4f339d['permissions'][_0x4acb9f]))return'permissions:\x20string[]\x20expected';}return null;},_0x3fb5e0['fromObject']=function(_0x50fdb2,_0x285d4d){if(_0x50fdb2 instanceof _0x17ddb1['SocketConnectMessage'])return _0x50fdb2;if(void 0x0===_0x285d4d&&(_0x285d4d=0x0),_0x285d4d>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3b3d89=new _0x17ddb1['SocketConnectMessage']();if(null!=_0x50fdb2['id']&&(_0x3b3d89['id']=String(_0x50fdb2['id'])),null!=_0x50fdb2['userId']&&(_0x3b3d89['userId']=String(_0x50fdb2['userId'])),null!=_0x50fdb2['role']&&(_0x3b3d89['role']=String(_0x50fdb2['role'])),_0x50fdb2['permissions']){if(!Array['isArray'](_0x50fdb2['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x3b3d89['permissions']=[];for(var _0x2fe99b=0x0;_0x2fe99b<_0x50fdb2['permissions']['length'];++_0x2fe99b)_0x3b3d89['permissions'][_0x2fe99b]=String(_0x50fdb2['permissions'][_0x2fe99b]);}return _0x3b3d89;},_0x3fb5e0['toObject']=function(_0x1668d1,_0x246b2a){_0x246b2a||(_0x246b2a={});var _0x52a806={};if((_0x246b2a['arrays']||_0x246b2a['defaults'])&&(_0x52a806['permissions']=[]),_0x246b2a['defaults']&&(_0x52a806['id']='',_0x52a806['userId']='',_0x52a806['role']=''),null!=_0x1668d1['id']&&_0x1668d1['hasOwnProperty']('id')&&(_0x52a806['id']=_0x1668d1['id']),null!=_0x1668d1['userId']&&_0x1668d1['hasOwnProperty']('userId')&&(_0x52a806['userId']=_0x1668d1['userId']),null!=_0x1668d1['role']&&_0x1668d1['hasOwnProperty']('role')&&(_0x52a806['role']=_0x1668d1['role']),_0x1668d1['permissions']&&_0x1668d1['permissions']['length']){_0x52a806['permissions']=[];for(var _0x1c511c=0x0;_0x1c511c<_0x1668d1['permissions']['length'];++_0x1c511c)_0x52a806['permissions'][_0x1c511c]=_0x1668d1['permissions'][_0x1c511c];}return _0x52a806;},_0x3fb5e0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x3fb5e0['getTypeUrl']=function(_0x39de93){return void 0x0===_0x39de93&&(_0x39de93='type.googleapis.com'),_0x39de93+'/SocketConnectMessage';},_0x3fb5e0;}()),_0x17ddb1['SessionsConnectMessage']=(function(){function _0xa73c0b(_0x147548){if(_0x147548){for(var _0x148324=Object['keys'](_0x147548),_0x1da473=0x0;_0x1da473<_0x148324['length'];++_0x1da473)null!=_0x147548[_0x148324[_0x1da473]]&&'__proto__'!==_0x148324[_0x1da473]&&(this[_0x148324[_0x1da473]]=_0x147548[_0x148324[_0x1da473]]);}}return _0xa73c0b['prototype']['id']='',_0xa73c0b['prototype']['sessionType']=0x0,_0xa73c0b['create']=function(_0x780a60){return new _0xa73c0b(_0x780a60);},_0xa73c0b['encode']=function(_0x567431,_0x25f4eb){return _0x25f4eb||(_0x25f4eb=_0x4cef4a['create']()),null!=_0x567431['id']&&Object['hasOwnProperty']['call'](_0x567431,'id')&&_0x25f4eb['uint32'](0xa)['string'](_0x567431['id']),null!=_0x567431['sessionType']&&Object['hasOwnProperty']['call'](_0x567431,'sessionType')&&_0x25f4eb['uint32'](0x10)['uint32'](_0x567431['sessionType']),_0x25f4eb;},_0xa73c0b['encodeDelimited']=function(_0x362bfb,_0x5967c6){return this['encode'](_0x362bfb,_0x5967c6)['ldelim']();},_0xa73c0b['decode']=function(_0x5a9f19,_0x2dcd89,_0x2f17b8,_0x4fcdc1){if(_0x5a9f19 instanceof _0x4b9dbe||(_0x5a9f19=_0x4b9dbe['create'](_0x5a9f19)),void 0x0===_0x4fcdc1&&(_0x4fcdc1=0x0),_0x4fcdc1>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2d574e=void 0x0===_0x2dcd89?_0x5a9f19['len']:_0x5a9f19['pos']+_0x2dcd89,_0x19128b=new _0x17ddb1['SessionsConnectMessage']();_0x5a9f19['pos']<_0x2d574e;){var _0x42e4dc=_0x5a9f19['uint32']();if(_0x42e4dc===_0x2f17b8)break;switch(_0x42e4dc>>>0x3){case 0x1:_0x19128b['id']=_0x5a9f19['string']();break;case 0x2:_0x19128b['sessionType']=_0x5a9f19['uint32']();break;default:_0x5a9f19['skipType'](0x7&_0x42e4dc,_0x4fcdc1);}}return _0x19128b;},_0xa73c0b['decodeDelimited']=function(_0x53142f){return _0x53142f instanceof _0x4b9dbe||(_0x53142f=new _0x4b9dbe(_0x53142f)),this['decode'](_0x53142f,_0x53142f['uint32']());},_0xa73c0b['verify']=function(_0x340d1a,_0x4b4e2d){return'object'!=typeof _0x340d1a||null===_0x340d1a?'object\x20expected':(void 0x0===_0x4b4e2d&&(_0x4b4e2d=0x0),_0x4b4e2d>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x340d1a['id']&&_0x340d1a['hasOwnProperty']('id')&&!_0x38eba6['isString'](_0x340d1a['id'])?'id:\x20string\x20expected':null!=_0x340d1a['sessionType']&&_0x340d1a['hasOwnProperty']('sessionType')&&!_0x38eba6['isInteger'](_0x340d1a['sessionType'])?'sessionType:\x20integer\x20expected':null);},_0xa73c0b['fromObject']=function(_0x4b840f,_0x401840){if(_0x4b840f instanceof _0x17ddb1['SessionsConnectMessage'])return _0x4b840f;if(void 0x0===_0x401840&&(_0x401840=0x0),_0x401840>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5b3f5d=new _0x17ddb1['SessionsConnectMessage']();return null!=_0x4b840f['id']&&(_0x5b3f5d['id']=String(_0x4b840f['id'])),null!=_0x4b840f['sessionType']&&(_0x5b3f5d['sessionType']=_0x4b840f['sessionType']>>>0x0),_0x5b3f5d;},_0xa73c0b['toObject']=function(_0x371135,_0x31da49){_0x31da49||(_0x31da49={});var _0x4c3534={};return _0x31da49['defaults']&&(_0x4c3534['id']='',_0x4c3534['sessionType']=0x0),null!=_0x371135['id']&&_0x371135['hasOwnProperty']('id')&&(_0x4c3534['id']=_0x371135['id']),null!=_0x371135['sessionType']&&_0x371135['hasOwnProperty']('sessionType')&&(_0x4c3534['sessionType']=_0x371135['sessionType']),_0x4c3534;},_0xa73c0b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0xa73c0b['getTypeUrl']=function(_0x545a44){return void 0x0===_0x545a44&&(_0x545a44='type.googleapis.com'),_0x545a44+'/SessionsConnectMessage';},_0xa73c0b;}()),_0x17ddb1['SessionsSocketDescriptor']=(function(){function _0x2e579a(_0x228fca){if(this['permissions']=[],_0x228fca){for(var _0x213404=Object['keys'](_0x228fca),_0x3ffbd3=0x0;_0x3ffbd3<_0x213404['length'];++_0x3ffbd3)null!=_0x228fca[_0x213404[_0x3ffbd3]]&&'__proto__'!==_0x213404[_0x3ffbd3]&&(this[_0x213404[_0x3ffbd3]]=_0x228fca[_0x213404[_0x3ffbd3]]);}}return _0x2e579a['prototype']['session']='',_0x2e579a['prototype']['user']='',_0x2e579a['prototype']['role']='',_0x2e579a['prototype']['permissions']=_0x38eba6['emptyArray'],_0x2e579a['create']=function(_0x1976be){return new _0x2e579a(_0x1976be);},_0x2e579a['encode']=function(_0x220781,_0xc89d33){if(_0xc89d33||(_0xc89d33=_0x4cef4a['create']()),null!=_0x220781['session']&&Object['hasOwnProperty']['call'](_0x220781,'session')&&_0xc89d33['uint32'](0xa)['string'](_0x220781['session']),null!=_0x220781['user']&&Object['hasOwnProperty']['call'](_0x220781,'user')&&_0xc89d33['uint32'](0x12)['string'](_0x220781['user']),null!=_0x220781['role']&&Object['hasOwnProperty']['call'](_0x220781,'role')&&_0xc89d33['uint32'](0x1a)['string'](_0x220781['role']),null!=_0x220781['permissions']&&_0x220781['permissions']['length']){for(var _0x1a3252=0x0;_0x1a3252<_0x220781['permissions']['length'];++_0x1a3252)_0xc89d33['uint32'](0x22)['string'](_0x220781['permissions'][_0x1a3252]);}return _0xc89d33;},_0x2e579a['encodeDelimited']=function(_0x2aed96,_0x4fae64){return this['encode'](_0x2aed96,_0x4fae64)['ldelim']();},_0x2e579a['decode']=function(_0x24185b,_0x1af447,_0x590e08,_0x39e45e){if(_0x24185b instanceof _0x4b9dbe||(_0x24185b=_0x4b9dbe['create'](_0x24185b)),void 0x0===_0x39e45e&&(_0x39e45e=0x0),_0x39e45e>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x59f1da=void 0x0===_0x1af447?_0x24185b['len']:_0x24185b['pos']+_0x1af447,_0x29d3d4=new _0x17ddb1['SessionsSocketDescriptor']();_0x24185b['pos']<_0x59f1da;){var _0x222c57=_0x24185b['uint32']();if(_0x222c57===_0x590e08)break;switch(_0x222c57>>>0x3){case 0x1:_0x29d3d4['session']=_0x24185b['string']();break;case 0x2:_0x29d3d4['user']=_0x24185b['string']();break;case 0x3:_0x29d3d4['role']=_0x24185b['string']();break;case 0x4:_0x29d3d4['permissions']&&_0x29d3d4['permissions']['length']||(_0x29d3d4['permissions']=[]),_0x29d3d4['permissions']['push'](_0x24185b['string']());break;default:_0x24185b['skipType'](0x7&_0x222c57,_0x39e45e);}}return _0x29d3d4;},_0x2e579a['decodeDelimited']=function(_0x48ee7c){return _0x48ee7c instanceof _0x4b9dbe||(_0x48ee7c=new _0x4b9dbe(_0x48ee7c)),this['decode'](_0x48ee7c,_0x48ee7c['uint32']());},_0x2e579a['verify']=function(_0x2198a0,_0x49df79){if('object'!=typeof _0x2198a0||null===_0x2198a0)return'object\x20expected';if(void 0x0===_0x49df79&&(_0x49df79=0x0),_0x49df79>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2198a0['session']&&_0x2198a0['hasOwnProperty']('session')&&!_0x38eba6['isString'](_0x2198a0['session']))return'session:\x20string\x20expected';if(null!=_0x2198a0['user']&&_0x2198a0['hasOwnProperty']('user')&&!_0x38eba6['isString'](_0x2198a0['user']))return'user:\x20string\x20expected';if(null!=_0x2198a0['role']&&_0x2198a0['hasOwnProperty']('role')&&!_0x38eba6['isString'](_0x2198a0['role']))return'role:\x20string\x20expected';if(null!=_0x2198a0['permissions']&&_0x2198a0['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x2198a0['permissions']))return'permissions:\x20array\x20expected';for(var _0x26c163=0x0;_0x26c163<_0x2198a0['permissions']['length'];++_0x26c163)if(!_0x38eba6['isString'](_0x2198a0['permissions'][_0x26c163]))return'permissions:\x20string[]\x20expected';}return null;},_0x2e579a['fromObject']=function(_0x18586e,_0x3ac3e5){if(_0x18586e instanceof _0x17ddb1['SessionsSocketDescriptor'])return _0x18586e;if(void 0x0===_0x3ac3e5&&(_0x3ac3e5=0x0),_0x3ac3e5>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2f3efc=new _0x17ddb1['SessionsSocketDescriptor']();if(null!=_0x18586e['session']&&(_0x2f3efc['session']=String(_0x18586e['session'])),null!=_0x18586e['user']&&(_0x2f3efc['user']=String(_0x18586e['user'])),null!=_0x18586e['role']&&(_0x2f3efc['role']=String(_0x18586e['role'])),_0x18586e['permissions']){if(!Array['isArray'](_0x18586e['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x2f3efc['permissions']=[];for(var _0x2884b1=0x0;_0x2884b1<_0x18586e['permissions']['length'];++_0x2884b1)_0x2f3efc['permissions'][_0x2884b1]=String(_0x18586e['permissions'][_0x2884b1]);}return _0x2f3efc;},_0x2e579a['toObject']=function(_0x36a63f,_0x5aa733){_0x5aa733||(_0x5aa733={});var _0xf49ec9={};if((_0x5aa733['arrays']||_0x5aa733['defaults'])&&(_0xf49ec9['permissions']=[]),_0x5aa733['defaults']&&(_0xf49ec9['session']='',_0xf49ec9['user']='',_0xf49ec9['role']=''),null!=_0x36a63f['session']&&_0x36a63f['hasOwnProperty']('session')&&(_0xf49ec9['session']=_0x36a63f['session']),null!=_0x36a63f['user']&&_0x36a63f['hasOwnProperty']('user')&&(_0xf49ec9['user']=_0x36a63f['user']),null!=_0x36a63f['role']&&_0x36a63f['hasOwnProperty']('role')&&(_0xf49ec9['role']=_0x36a63f['role']),_0x36a63f['permissions']&&_0x36a63f['permissions']['length']){_0xf49ec9['permissions']=[];for(var _0x51dfca=0x0;_0x51dfca<_0x36a63f['permissions']['length'];++_0x51dfca)_0xf49ec9['permissions'][_0x51dfca]=_0x36a63f['permissions'][_0x51dfca];}return _0xf49ec9;},_0x2e579a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x2e579a['getTypeUrl']=function(_0xe3f2a9){return void 0x0===_0xe3f2a9&&(_0xe3f2a9='type.googleapis.com'),_0xe3f2a9+'/SessionsSocketDescriptor';},_0x2e579a;}()),_0x17ddb1['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0x55ef8b(_0x8c2a0e){if(_0x8c2a0e){for(var _0x1d9b8c=Object['keys'](_0x8c2a0e),_0x4982c2=0x0;_0x4982c2<_0x1d9b8c['length'];++_0x4982c2)null!=_0x8c2a0e[_0x1d9b8c[_0x4982c2]]&&'__proto__'!==_0x1d9b8c[_0x4982c2]&&(this[_0x1d9b8c[_0x4982c2]]=_0x8c2a0e[_0x1d9b8c[_0x4982c2]]);}}return _0x55ef8b['prototype']['requestId']=0x0,_0x55ef8b['create']=function(_0x2c3b94){return new _0x55ef8b(_0x2c3b94);},_0x55ef8b['encode']=function(_0x5348ed,_0x11fda9){return _0x11fda9||(_0x11fda9=_0x4cef4a['create']()),null!=_0x5348ed['requestId']&&Object['hasOwnProperty']['call'](_0x5348ed,'requestId')&&_0x11fda9['uint32'](0x8)['uint32'](_0x5348ed['requestId']),_0x11fda9;},_0x55ef8b['encodeDelimited']=function(_0x1ba235,_0x21bcbd){return this['encode'](_0x1ba235,_0x21bcbd)['ldelim']();},_0x55ef8b['decode']=function(_0x3f3b15,_0x56caad,_0x53f5cc,_0x533a54){if(_0x3f3b15 instanceof _0x4b9dbe||(_0x3f3b15=_0x4b9dbe['create'](_0x3f3b15)),void 0x0===_0x533a54&&(_0x533a54=0x0),_0x533a54>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xab2088=void 0x0===_0x56caad?_0x3f3b15['len']:_0x3f3b15['pos']+_0x56caad,_0x1392c6=new _0x17ddb1['RevisionHistoryUpdateRevisionsResponse']();_0x3f3b15['pos']<_0xab2088;){var _0x6f8908=_0x3f3b15['uint32']();if(_0x6f8908===_0x53f5cc)break;_0x6f8908>>>0x3==0x1?_0x1392c6['requestId']=_0x3f3b15['uint32']():_0x3f3b15['skipType'](0x7&_0x6f8908,_0x533a54);}return _0x1392c6;},_0x55ef8b['decodeDelimited']=function(_0x9b8338){return _0x9b8338 instanceof _0x4b9dbe||(_0x9b8338=new _0x4b9dbe(_0x9b8338)),this['decode'](_0x9b8338,_0x9b8338['uint32']());},_0x55ef8b['verify']=function(_0x1b073f,_0x6bd8bf){return'object'!=typeof _0x1b073f||null===_0x1b073f?'object\x20expected':(void 0x0===_0x6bd8bf&&(_0x6bd8bf=0x0),_0x6bd8bf>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1b073f['requestId']&&_0x1b073f['hasOwnProperty']('requestId')&&!_0x38eba6['isInteger'](_0x1b073f['requestId'])?'requestId:\x20integer\x20expected':null);},_0x55ef8b['fromObject']=function(_0x1561f4,_0x26888e){if(_0x1561f4 instanceof _0x17ddb1['RevisionHistoryUpdateRevisionsResponse'])return _0x1561f4;if(void 0x0===_0x26888e&&(_0x26888e=0x0),_0x26888e>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4a0439=new _0x17ddb1['RevisionHistoryUpdateRevisionsResponse']();return null!=_0x1561f4['requestId']&&(_0x4a0439['requestId']=_0x1561f4['requestId']>>>0x0),_0x4a0439;},_0x55ef8b['toObject']=function(_0x37e49f,_0x19f55a){_0x19f55a||(_0x19f55a={});var _0x310b7b={};return _0x19f55a['defaults']&&(_0x310b7b['requestId']=0x0),null!=_0x37e49f['requestId']&&_0x37e49f['hasOwnProperty']('requestId')&&(_0x310b7b['requestId']=_0x37e49f['requestId']),_0x310b7b;},_0x55ef8b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x55ef8b['getTypeUrl']=function(_0x13650d){return void 0x0===_0x13650d&&(_0x13650d='type.googleapis.com'),_0x13650d+'/RevisionHistoryUpdateRevisionsResponse';},_0x55ef8b;}()),_0x17ddb1['RevisionHistoryGetRevisionResponse']=(function(){function _0x2aeaab(_0x120f86){if(_0x120f86){for(var _0x3178cc=Object['keys'](_0x120f86),_0x1e2489=0x0;_0x1e2489<_0x3178cc['length'];++_0x1e2489)null!=_0x120f86[_0x3178cc[_0x1e2489]]&&'__proto__'!==_0x3178cc[_0x1e2489]&&(this[_0x3178cc[_0x1e2489]]=_0x120f86[_0x3178cc[_0x1e2489]]);}}return _0x2aeaab['prototype']['revisionId']='',_0x2aeaab['prototype']['name']='',_0x2aeaab['prototype']['creatorId']='',_0x2aeaab['prototype']['authorsIds']='',_0x2aeaab['prototype']['diffData']='',_0x2aeaab['prototype']['createdAt']='',_0x2aeaab['prototype']['attributes']='',_0x2aeaab['prototype']['toVersion']=0x0,_0x2aeaab['prototype']['fromVersion']=0x0,_0x2aeaab['prototype']['isEmptyCurrent']=!0x1,_0x2aeaab['create']=function(_0x4a929d){return new _0x2aeaab(_0x4a929d);},_0x2aeaab['encode']=function(_0x296230,_0x50e37c){return _0x50e37c||(_0x50e37c=_0x4cef4a['create']()),null!=_0x296230['revisionId']&&Object['hasOwnProperty']['call'](_0x296230,'revisionId')&&_0x50e37c['uint32'](0xa)['string'](_0x296230['revisionId']),null!=_0x296230['name']&&Object['hasOwnProperty']['call'](_0x296230,'name')&&_0x50e37c['uint32'](0x12)['string'](_0x296230['name']),null!=_0x296230['creatorId']&&Object['hasOwnProperty']['call'](_0x296230,'creatorId')&&_0x50e37c['uint32'](0x1a)['string'](_0x296230['creatorId']),null!=_0x296230['authorsIds']&&Object['hasOwnProperty']['call'](_0x296230,'authorsIds')&&_0x50e37c['uint32'](0x22)['string'](_0x296230['authorsIds']),null!=_0x296230['diffData']&&Object['hasOwnProperty']['call'](_0x296230,'diffData')&&_0x50e37c['uint32'](0x2a)['string'](_0x296230['diffData']),null!=_0x296230['createdAt']&&Object['hasOwnProperty']['call'](_0x296230,'createdAt')&&_0x50e37c['uint32'](0x32)['string'](_0x296230['createdAt']),null!=_0x296230['attributes']&&Object['hasOwnProperty']['call'](_0x296230,'attributes')&&_0x50e37c['uint32'](0x3a)['string'](_0x296230['attributes']),null!=_0x296230['toVersion']&&Object['hasOwnProperty']['call'](_0x296230,'toVersion')&&_0x50e37c['uint32'](0x40)['uint32'](_0x296230['toVersion']),null!=_0x296230['fromVersion']&&Object['hasOwnProperty']['call'](_0x296230,'fromVersion')&&_0x50e37c['uint32'](0x48)['uint32'](_0x296230['fromVersion']),null!=_0x296230['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x296230,'isEmptyCurrent')&&_0x50e37c['uint32'](0x50)['bool'](_0x296230['isEmptyCurrent']),_0x50e37c;},_0x2aeaab['encodeDelimited']=function(_0x241d8f,_0x30bd81){return this['encode'](_0x241d8f,_0x30bd81)['ldelim']();},_0x2aeaab['decode']=function(_0x3ea227,_0x466b68,_0x19635e,_0x1751d8){if(_0x3ea227 instanceof _0x4b9dbe||(_0x3ea227=_0x4b9dbe['create'](_0x3ea227)),void 0x0===_0x1751d8&&(_0x1751d8=0x0),_0x1751d8>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xcf6d8e=void 0x0===_0x466b68?_0x3ea227['len']:_0x3ea227['pos']+_0x466b68,_0x1cb1ea=new _0x17ddb1['RevisionHistoryGetRevisionResponse']();_0x3ea227['pos']<_0xcf6d8e;){var _0x15e900=_0x3ea227['uint32']();if(_0x15e900===_0x19635e)break;switch(_0x15e900>>>0x3){case 0x1:_0x1cb1ea['revisionId']=_0x3ea227['string']();break;case 0x2:_0x1cb1ea['name']=_0x3ea227['string']();break;case 0x3:_0x1cb1ea['creatorId']=_0x3ea227['string']();break;case 0x4:_0x1cb1ea['authorsIds']=_0x3ea227['string']();break;case 0x5:_0x1cb1ea['diffData']=_0x3ea227['string']();break;case 0x6:_0x1cb1ea['createdAt']=_0x3ea227['string']();break;case 0x7:_0x1cb1ea['attributes']=_0x3ea227['string']();break;case 0x8:_0x1cb1ea['toVersion']=_0x3ea227['uint32']();break;case 0x9:_0x1cb1ea['fromVersion']=_0x3ea227['uint32']();break;case 0xa:_0x1cb1ea['isEmptyCurrent']=_0x3ea227['bool']();break;default:_0x3ea227['skipType'](0x7&_0x15e900,_0x1751d8);}}return _0x1cb1ea;},_0x2aeaab['decodeDelimited']=function(_0x12e022){return _0x12e022 instanceof _0x4b9dbe||(_0x12e022=new _0x4b9dbe(_0x12e022)),this['decode'](_0x12e022,_0x12e022['uint32']());},_0x2aeaab['verify']=function(_0x500c71,_0x9729aa){return'object'!=typeof _0x500c71||null===_0x500c71?'object\x20expected':(void 0x0===_0x9729aa&&(_0x9729aa=0x0),_0x9729aa>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x500c71['revisionId']&&_0x500c71['hasOwnProperty']('revisionId')&&!_0x38eba6['isString'](_0x500c71['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x500c71['name']&&_0x500c71['hasOwnProperty']('name')&&!_0x38eba6['isString'](_0x500c71['name'])?'name:\x20string\x20expected':null!=_0x500c71['creatorId']&&_0x500c71['hasOwnProperty']('creatorId')&&!_0x38eba6['isString'](_0x500c71['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x500c71['authorsIds']&&_0x500c71['hasOwnProperty']('authorsIds')&&!_0x38eba6['isString'](_0x500c71['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x500c71['diffData']&&_0x500c71['hasOwnProperty']('diffData')&&!_0x38eba6['isString'](_0x500c71['diffData'])?'diffData:\x20string\x20expected':null!=_0x500c71['createdAt']&&_0x500c71['hasOwnProperty']('createdAt')&&!_0x38eba6['isString'](_0x500c71['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x500c71['attributes']&&_0x500c71['hasOwnProperty']('attributes')&&!_0x38eba6['isString'](_0x500c71['attributes'])?'attributes:\x20string\x20expected':null!=_0x500c71['toVersion']&&_0x500c71['hasOwnProperty']('toVersion')&&!_0x38eba6['isInteger'](_0x500c71['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x500c71['fromVersion']&&_0x500c71['hasOwnProperty']('fromVersion')&&!_0x38eba6['isInteger'](_0x500c71['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x500c71['isEmptyCurrent']&&_0x500c71['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x500c71['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},_0x2aeaab['fromObject']=function(_0x37d0e5,_0x84df04){if(_0x37d0e5 instanceof _0x17ddb1['RevisionHistoryGetRevisionResponse'])return _0x37d0e5;if(void 0x0===_0x84df04&&(_0x84df04=0x0),_0x84df04>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x252d78=new _0x17ddb1['RevisionHistoryGetRevisionResponse']();return null!=_0x37d0e5['revisionId']&&(_0x252d78['revisionId']=String(_0x37d0e5['revisionId'])),null!=_0x37d0e5['name']&&(_0x252d78['name']=String(_0x37d0e5['name'])),null!=_0x37d0e5['creatorId']&&(_0x252d78['creatorId']=String(_0x37d0e5['creatorId'])),null!=_0x37d0e5['authorsIds']&&(_0x252d78['authorsIds']=String(_0x37d0e5['authorsIds'])),null!=_0x37d0e5['diffData']&&(_0x252d78['diffData']=String(_0x37d0e5['diffData'])),null!=_0x37d0e5['createdAt']&&(_0x252d78['createdAt']=String(_0x37d0e5['createdAt'])),null!=_0x37d0e5['attributes']&&(_0x252d78['attributes']=String(_0x37d0e5['attributes'])),null!=_0x37d0e5['toVersion']&&(_0x252d78['toVersion']=_0x37d0e5['toVersion']>>>0x0),null!=_0x37d0e5['fromVersion']&&(_0x252d78['fromVersion']=_0x37d0e5['fromVersion']>>>0x0),null!=_0x37d0e5['isEmptyCurrent']&&(_0x252d78['isEmptyCurrent']=Boolean(_0x37d0e5['isEmptyCurrent'])),_0x252d78;},_0x2aeaab['toObject']=function(_0x35abcf,_0x4e9a04){_0x4e9a04||(_0x4e9a04={});var _0x124ea1={};return _0x4e9a04['defaults']&&(_0x124ea1['revisionId']='',_0x124ea1['name']='',_0x124ea1['creatorId']='',_0x124ea1['authorsIds']='',_0x124ea1['diffData']='',_0x124ea1['createdAt']='',_0x124ea1['attributes']='',_0x124ea1['toVersion']=0x0,_0x124ea1['fromVersion']=0x0,_0x124ea1['isEmptyCurrent']=!0x1),null!=_0x35abcf['revisionId']&&_0x35abcf['hasOwnProperty']('revisionId')&&(_0x124ea1['revisionId']=_0x35abcf['revisionId']),null!=_0x35abcf['name']&&_0x35abcf['hasOwnProperty']('name')&&(_0x124ea1['name']=_0x35abcf['name']),null!=_0x35abcf['creatorId']&&_0x35abcf['hasOwnProperty']('creatorId')&&(_0x124ea1['creatorId']=_0x35abcf['creatorId']),null!=_0x35abcf['authorsIds']&&_0x35abcf['hasOwnProperty']('authorsIds')&&(_0x124ea1['authorsIds']=_0x35abcf['authorsIds']),null!=_0x35abcf['diffData']&&_0x35abcf['hasOwnProperty']('diffData')&&(_0x124ea1['diffData']=_0x35abcf['diffData']),null!=_0x35abcf['createdAt']&&_0x35abcf['hasOwnProperty']('createdAt')&&(_0x124ea1['createdAt']=_0x35abcf['createdAt']),null!=_0x35abcf['attributes']&&_0x35abcf['hasOwnProperty']('attributes')&&(_0x124ea1['attributes']=_0x35abcf['attributes']),null!=_0x35abcf['toVersion']&&_0x35abcf['hasOwnProperty']('toVersion')&&(_0x124ea1['toVersion']=_0x35abcf['toVersion']),null!=_0x35abcf['fromVersion']&&_0x35abcf['hasOwnProperty']('fromVersion')&&(_0x124ea1['fromVersion']=_0x35abcf['fromVersion']),null!=_0x35abcf['isEmptyCurrent']&&_0x35abcf['hasOwnProperty']('isEmptyCurrent')&&(_0x124ea1['isEmptyCurrent']=_0x35abcf['isEmptyCurrent']),_0x124ea1;},_0x2aeaab['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x2aeaab['getTypeUrl']=function(_0x35d4b9){return void 0x0===_0x35d4b9&&(_0x35d4b9='type.googleapis.com'),_0x35d4b9+'/RevisionHistoryGetRevisionResponse';},_0x2aeaab;}()),_0x17ddb1['RevisionHistoryConnectResponse']=(function(){function _0x760993(_0x4a9996){if(this['revisions']=[],_0x4a9996){for(var _0x15f767=Object['keys'](_0x4a9996),_0x29f3dc=0x0;_0x29f3dc<_0x15f767['length'];++_0x29f3dc)null!=_0x4a9996[_0x15f767[_0x29f3dc]]&&'__proto__'!==_0x15f767[_0x29f3dc]&&(this[_0x15f767[_0x29f3dc]]=_0x4a9996[_0x15f767[_0x29f3dc]]);}}return _0x760993['prototype']['channel']='',_0x760993['prototype']['requestId']=0x0,_0x760993['prototype']['revisions']=_0x38eba6['emptyArray'],_0x760993['create']=function(_0x1db263){return new _0x760993(_0x1db263);},_0x760993['encode']=function(_0x9dac55,_0x17acec){if(_0x17acec||(_0x17acec=_0x4cef4a['create']()),null!=_0x9dac55['channel']&&Object['hasOwnProperty']['call'](_0x9dac55,'channel')&&_0x17acec['uint32'](0xa)['string'](_0x9dac55['channel']),null!=_0x9dac55['requestId']&&Object['hasOwnProperty']['call'](_0x9dac55,'requestId')&&_0x17acec['uint32'](0x10)['uint32'](_0x9dac55['requestId']),null!=_0x9dac55['revisions']&&_0x9dac55['revisions']['length']){for(var _0x564550=0x0;_0x564550<_0x9dac55['revisions']['length'];++_0x564550)_0x17ddb1['RevisionDescriptor']['encode'](_0x9dac55['revisions'][_0x564550],_0x17acec['uint32'](0x1a)['fork']())['ldelim']();}return _0x17acec;},_0x760993['encodeDelimited']=function(_0x21b1c,_0x18ed35){return this['encode'](_0x21b1c,_0x18ed35)['ldelim']();},_0x760993['decode']=function(_0x53b31b,_0x5e318a,_0x34c9ea,_0x28abb9){if(_0x53b31b instanceof _0x4b9dbe||(_0x53b31b=_0x4b9dbe['create'](_0x53b31b)),void 0x0===_0x28abb9&&(_0x28abb9=0x0),_0x28abb9>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x330eff=void 0x0===_0x5e318a?_0x53b31b['len']:_0x53b31b['pos']+_0x5e318a,_0x3f5361=new _0x17ddb1['RevisionHistoryConnectResponse']();_0x53b31b['pos']<_0x330eff;){var _0x1e8ef1=_0x53b31b['uint32']();if(_0x1e8ef1===_0x34c9ea)break;switch(_0x1e8ef1>>>0x3){case 0x1:_0x3f5361['channel']=_0x53b31b['string']();break;case 0x2:_0x3f5361['requestId']=_0x53b31b['uint32']();break;case 0x3:_0x3f5361['revisions']&&_0x3f5361['revisions']['length']||(_0x3f5361['revisions']=[]),_0x3f5361['revisions']['push'](_0x17ddb1['RevisionDescriptor']['decode'](_0x53b31b,_0x53b31b['uint32'](),void 0x0,_0x28abb9+0x1));break;default:_0x53b31b['skipType'](0x7&_0x1e8ef1,_0x28abb9);}}return _0x3f5361;},_0x760993['decodeDelimited']=function(_0xdb5c7d){return _0xdb5c7d instanceof _0x4b9dbe||(_0xdb5c7d=new _0x4b9dbe(_0xdb5c7d)),this['decode'](_0xdb5c7d,_0xdb5c7d['uint32']());},_0x760993['verify']=function(_0x17a28a,_0x2758ab){if('object'!=typeof _0x17a28a||null===_0x17a28a)return'object\x20expected';if(void 0x0===_0x2758ab&&(_0x2758ab=0x0),_0x2758ab>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x17a28a['channel']&&_0x17a28a['hasOwnProperty']('channel')&&!_0x38eba6['isString'](_0x17a28a['channel']))return'channel:\x20string\x20expected';if(null!=_0x17a28a['requestId']&&_0x17a28a['hasOwnProperty']('requestId')&&!_0x38eba6['isInteger'](_0x17a28a['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x17a28a['revisions']&&_0x17a28a['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x17a28a['revisions']))return'revisions:\x20array\x20expected';for(var _0x29cebd=0x0;_0x29cebd<_0x17a28a['revisions']['length'];++_0x29cebd){var _0x406255=_0x17ddb1['RevisionDescriptor']['verify'](_0x17a28a['revisions'][_0x29cebd],_0x2758ab+0x1);if(_0x406255)return'revisions.'+_0x406255;}}return null;},_0x760993['fromObject']=function(_0x63bdc3,_0x5c5201){if(_0x63bdc3 instanceof _0x17ddb1['RevisionHistoryConnectResponse'])return _0x63bdc3;if(void 0x0===_0x5c5201&&(_0x5c5201=0x0),_0x5c5201>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2104fc=new _0x17ddb1['RevisionHistoryConnectResponse']();if(null!=_0x63bdc3['channel']&&(_0x2104fc['channel']=String(_0x63bdc3['channel'])),null!=_0x63bdc3['requestId']&&(_0x2104fc['requestId']=_0x63bdc3['requestId']>>>0x0),_0x63bdc3['revisions']){if(!Array['isArray'](_0x63bdc3['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x2104fc['revisions']=[];for(var _0x13ebfc=0x0;_0x13ebfc<_0x63bdc3['revisions']['length'];++_0x13ebfc){if('object'!=typeof _0x63bdc3['revisions'][_0x13ebfc])throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x2104fc['revisions'][_0x13ebfc]=_0x17ddb1['RevisionDescriptor']['fromObject'](_0x63bdc3['revisions'][_0x13ebfc],_0x5c5201+0x1);}}return _0x2104fc;},_0x760993['toObject']=function(_0x3ee60b,_0x1b0ef8){_0x1b0ef8||(_0x1b0ef8={});var _0x2aca4b={};if((_0x1b0ef8['arrays']||_0x1b0ef8['defaults'])&&(_0x2aca4b['revisions']=[]),_0x1b0ef8['defaults']&&(_0x2aca4b['channel']='',_0x2aca4b['requestId']=0x0),null!=_0x3ee60b['channel']&&_0x3ee60b['hasOwnProperty']('channel')&&(_0x2aca4b['channel']=_0x3ee60b['channel']),null!=_0x3ee60b['requestId']&&_0x3ee60b['hasOwnProperty']('requestId')&&(_0x2aca4b['requestId']=_0x3ee60b['requestId']),_0x3ee60b['revisions']&&_0x3ee60b['revisions']['length']){_0x2aca4b['revisions']=[];for(var _0x313f36=0x0;_0x313f36<_0x3ee60b['revisions']['length'];++_0x313f36)_0x2aca4b['revisions'][_0x313f36]=_0x17ddb1['RevisionDescriptor']['toObject'](_0x3ee60b['revisions'][_0x313f36],_0x1b0ef8);}return _0x2aca4b;},_0x760993['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x760993['getTypeUrl']=function(_0x5d74bc){return void 0x0===_0x5d74bc&&(_0x5d74bc='type.googleapis.com'),_0x5d74bc+'/RevisionHistoryConnectResponse';},_0x760993;}()),_0x17ddb1['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x4cbe01(_0x41ef81){if(this['revisions']=[],_0x41ef81){for(var _0x51c0e2=Object['keys'](_0x41ef81),_0x226e41=0x0;_0x226e41<_0x51c0e2['length'];++_0x226e41)null!=_0x41ef81[_0x51c0e2[_0x226e41]]&&'__proto__'!==_0x51c0e2[_0x226e41]&&(this[_0x51c0e2[_0x226e41]]=_0x41ef81[_0x51c0e2[_0x226e41]]);}}return _0x4cbe01['prototype']['documentId']='',_0x4cbe01['prototype']['requestId']=0x0,_0x4cbe01['prototype']['revisions']=_0x38eba6['emptyArray'],_0x4cbe01['create']=function(_0x32b88d){return new _0x4cbe01(_0x32b88d);},_0x4cbe01['encode']=function(_0x17bcf6,_0x4233be){if(_0x4233be||(_0x4233be=_0x4cef4a['create']()),null!=_0x17bcf6['documentId']&&Object['hasOwnProperty']['call'](_0x17bcf6,'documentId')&&_0x4233be['uint32'](0xa)['string'](_0x17bcf6['documentId']),null!=_0x17bcf6['requestId']&&Object['hasOwnProperty']['call'](_0x17bcf6,'requestId')&&_0x4233be['uint32'](0x10)['uint32'](_0x17bcf6['requestId']),null!=_0x17bcf6['revisions']&&_0x17bcf6['revisions']['length']){for(var _0x21045f=0x0;_0x21045f<_0x17bcf6['revisions']['length'];++_0x21045f)_0x17ddb1['RevisionDescriptor']['encode'](_0x17bcf6['revisions'][_0x21045f],_0x4233be['uint32'](0x1a)['fork']())['ldelim']();}return _0x4233be;},_0x4cbe01['encodeDelimited']=function(_0x2d9c51,_0xb32b33){return this['encode'](_0x2d9c51,_0xb32b33)['ldelim']();},_0x4cbe01['decode']=function(_0x29a706,_0x310d14,_0xd86596,_0xfb011d){if(_0x29a706 instanceof _0x4b9dbe||(_0x29a706=_0x4b9dbe['create'](_0x29a706)),void 0x0===_0xfb011d&&(_0xfb011d=0x0),_0xfb011d>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xb8e593=void 0x0===_0x310d14?_0x29a706['len']:_0x29a706['pos']+_0x310d14,_0x227dd7=new _0x17ddb1['RevisionHistoryUpdateRevisionsMessage']();_0x29a706['pos']<_0xb8e593;){var _0x43bf42=_0x29a706['uint32']();if(_0x43bf42===_0xd86596)break;switch(_0x43bf42>>>0x3){case 0x1:_0x227dd7['documentId']=_0x29a706['string']();break;case 0x2:_0x227dd7['requestId']=_0x29a706['uint32']();break;case 0x3:_0x227dd7['revisions']&&_0x227dd7['revisions']['length']||(_0x227dd7['revisions']=[]),_0x227dd7['revisions']['push'](_0x17ddb1['RevisionDescriptor']['decode'](_0x29a706,_0x29a706['uint32'](),void 0x0,_0xfb011d+0x1));break;default:_0x29a706['skipType'](0x7&_0x43bf42,_0xfb011d);}}return _0x227dd7;},_0x4cbe01['decodeDelimited']=function(_0x4198ac){return _0x4198ac instanceof _0x4b9dbe||(_0x4198ac=new _0x4b9dbe(_0x4198ac)),this['decode'](_0x4198ac,_0x4198ac['uint32']());},_0x4cbe01['verify']=function(_0x40ab97,_0x16ffcd){if('object'!=typeof _0x40ab97||null===_0x40ab97)return'object\x20expected';if(void 0x0===_0x16ffcd&&(_0x16ffcd=0x0),_0x16ffcd>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x40ab97['documentId']&&_0x40ab97['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x40ab97['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x40ab97['requestId']&&_0x40ab97['hasOwnProperty']('requestId')&&!_0x38eba6['isInteger'](_0x40ab97['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x40ab97['revisions']&&_0x40ab97['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x40ab97['revisions']))return'revisions:\x20array\x20expected';for(var _0x254a3d=0x0;_0x254a3d<_0x40ab97['revisions']['length'];++_0x254a3d){var _0x1e2a75=_0x17ddb1['RevisionDescriptor']['verify'](_0x40ab97['revisions'][_0x254a3d],_0x16ffcd+0x1);if(_0x1e2a75)return'revisions.'+_0x1e2a75;}}return null;},_0x4cbe01['fromObject']=function(_0x2d4c62,_0xcd9783){if(_0x2d4c62 instanceof _0x17ddb1['RevisionHistoryUpdateRevisionsMessage'])return _0x2d4c62;if(void 0x0===_0xcd9783&&(_0xcd9783=0x0),_0xcd9783>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x31f81f=new _0x17ddb1['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x2d4c62['documentId']&&(_0x31f81f['documentId']=String(_0x2d4c62['documentId'])),null!=_0x2d4c62['requestId']&&(_0x31f81f['requestId']=_0x2d4c62['requestId']>>>0x0),_0x2d4c62['revisions']){if(!Array['isArray'](_0x2d4c62['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x31f81f['revisions']=[];for(var _0x156540=0x0;_0x156540<_0x2d4c62['revisions']['length'];++_0x156540){if('object'!=typeof _0x2d4c62['revisions'][_0x156540])throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x31f81f['revisions'][_0x156540]=_0x17ddb1['RevisionDescriptor']['fromObject'](_0x2d4c62['revisions'][_0x156540],_0xcd9783+0x1);}}return _0x31f81f;},_0x4cbe01['toObject']=function(_0x19cf8d,_0x5c1268){_0x5c1268||(_0x5c1268={});var _0xd12922={};if((_0x5c1268['arrays']||_0x5c1268['defaults'])&&(_0xd12922['revisions']=[]),_0x5c1268['defaults']&&(_0xd12922['documentId']='',_0xd12922['requestId']=0x0),null!=_0x19cf8d['documentId']&&_0x19cf8d['hasOwnProperty']('documentId')&&(_0xd12922['documentId']=_0x19cf8d['documentId']),null!=_0x19cf8d['requestId']&&_0x19cf8d['hasOwnProperty']('requestId')&&(_0xd12922['requestId']=_0x19cf8d['requestId']),_0x19cf8d['revisions']&&_0x19cf8d['revisions']['length']){_0xd12922['revisions']=[];for(var _0x599015=0x0;_0x599015<_0x19cf8d['revisions']['length'];++_0x599015)_0xd12922['revisions'][_0x599015]=_0x17ddb1['RevisionDescriptor']['toObject'](_0x19cf8d['revisions'][_0x599015],_0x5c1268);}return _0xd12922;},_0x4cbe01['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x4cbe01['getTypeUrl']=function(_0x3a5bd){return void 0x0===_0x3a5bd&&(_0x3a5bd='type.googleapis.com'),_0x3a5bd+'/RevisionHistoryUpdateRevisionsMessage';},_0x4cbe01;}()),_0x17ddb1['RevisionHistoryReconnectMessage']=(function(){function _0x18d546(_0x3c996b){if(_0x3c996b){for(var _0x1fdc31=Object['keys'](_0x3c996b),_0x3af419=0x0;_0x3af419<_0x1fdc31['length'];++_0x3af419)null!=_0x3c996b[_0x1fdc31[_0x3af419]]&&'__proto__'!==_0x1fdc31[_0x3af419]&&(this[_0x1fdc31[_0x3af419]]=_0x3c996b[_0x1fdc31[_0x3af419]]);}}return _0x18d546['prototype']['documentId']='',_0x18d546['prototype']['requestId']=0x0,_0x18d546['create']=function(_0x39921d){return new _0x18d546(_0x39921d);},_0x18d546['encode']=function(_0x56130c,_0x380852){return _0x380852||(_0x380852=_0x4cef4a['create']()),null!=_0x56130c['documentId']&&Object['hasOwnProperty']['call'](_0x56130c,'documentId')&&_0x380852['uint32'](0xa)['string'](_0x56130c['documentId']),null!=_0x56130c['requestId']&&Object['hasOwnProperty']['call'](_0x56130c,'requestId')&&_0x380852['uint32'](0x10)['uint32'](_0x56130c['requestId']),_0x380852;},_0x18d546['encodeDelimited']=function(_0x129ed7,_0x238a0c){return this['encode'](_0x129ed7,_0x238a0c)['ldelim']();},_0x18d546['decode']=function(_0x43b9e7,_0x4db46f,_0x1470b2,_0x34c92f){if(_0x43b9e7 instanceof _0x4b9dbe||(_0x43b9e7=_0x4b9dbe['create'](_0x43b9e7)),void 0x0===_0x34c92f&&(_0x34c92f=0x0),_0x34c92f>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2b64a5=void 0x0===_0x4db46f?_0x43b9e7['len']:_0x43b9e7['pos']+_0x4db46f,_0x53e89c=new _0x17ddb1['RevisionHistoryReconnectMessage']();_0x43b9e7['pos']<_0x2b64a5;){var _0x11d1e4=_0x43b9e7['uint32']();if(_0x11d1e4===_0x1470b2)break;switch(_0x11d1e4>>>0x3){case 0x1:_0x53e89c['documentId']=_0x43b9e7['string']();break;case 0x2:_0x53e89c['requestId']=_0x43b9e7['uint32']();break;default:_0x43b9e7['skipType'](0x7&_0x11d1e4,_0x34c92f);}}return _0x53e89c;},_0x18d546['decodeDelimited']=function(_0xe29ee7){return _0xe29ee7 instanceof _0x4b9dbe||(_0xe29ee7=new _0x4b9dbe(_0xe29ee7)),this['decode'](_0xe29ee7,_0xe29ee7['uint32']());},_0x18d546['verify']=function(_0x5cf663,_0x877bc3){return'object'!=typeof _0x5cf663||null===_0x5cf663?'object\x20expected':(void 0x0===_0x877bc3&&(_0x877bc3=0x0),_0x877bc3>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5cf663['documentId']&&_0x5cf663['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x5cf663['documentId'])?'documentId:\x20string\x20expected':null!=_0x5cf663['requestId']&&_0x5cf663['hasOwnProperty']('requestId')&&!_0x38eba6['isInteger'](_0x5cf663['requestId'])?'requestId:\x20integer\x20expected':null);},_0x18d546['fromObject']=function(_0x3ee249,_0x39174d){if(_0x3ee249 instanceof _0x17ddb1['RevisionHistoryReconnectMessage'])return _0x3ee249;if(void 0x0===_0x39174d&&(_0x39174d=0x0),_0x39174d>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2515c0=new _0x17ddb1['RevisionHistoryReconnectMessage']();return null!=_0x3ee249['documentId']&&(_0x2515c0['documentId']=String(_0x3ee249['documentId'])),null!=_0x3ee249['requestId']&&(_0x2515c0['requestId']=_0x3ee249['requestId']>>>0x0),_0x2515c0;},_0x18d546['toObject']=function(_0x5bb1b5,_0x124cd4){_0x124cd4||(_0x124cd4={});var _0x17b746={};return _0x124cd4['defaults']&&(_0x17b746['documentId']='',_0x17b746['requestId']=0x0),null!=_0x5bb1b5['documentId']&&_0x5bb1b5['hasOwnProperty']('documentId')&&(_0x17b746['documentId']=_0x5bb1b5['documentId']),null!=_0x5bb1b5['requestId']&&_0x5bb1b5['hasOwnProperty']('requestId')&&(_0x17b746['requestId']=_0x5bb1b5['requestId']),_0x17b746;},_0x18d546['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x18d546['getTypeUrl']=function(_0x489add){return void 0x0===_0x489add&&(_0x489add='type.googleapis.com'),_0x489add+'/RevisionHistoryReconnectMessage';},_0x18d546;}()),_0x17ddb1['RevisionHistoryGetRevisionMessage']=(function(){function _0x14314e(_0x592af8){if(_0x592af8){for(var _0x29c169=Object['keys'](_0x592af8),_0x4b8a08=0x0;_0x4b8a08<_0x29c169['length'];++_0x4b8a08)null!=_0x592af8[_0x29c169[_0x4b8a08]]&&'__proto__'!==_0x29c169[_0x4b8a08]&&(this[_0x29c169[_0x4b8a08]]=_0x592af8[_0x29c169[_0x4b8a08]]);}}return _0x14314e['prototype']['documentId']='',_0x14314e['prototype']['revisionId']='',_0x14314e['create']=function(_0x513c14){return new _0x14314e(_0x513c14);},_0x14314e['encode']=function(_0x5b07f4,_0x416d65){return _0x416d65||(_0x416d65=_0x4cef4a['create']()),null!=_0x5b07f4['documentId']&&Object['hasOwnProperty']['call'](_0x5b07f4,'documentId')&&_0x416d65['uint32'](0xa)['string'](_0x5b07f4['documentId']),null!=_0x5b07f4['revisionId']&&Object['hasOwnProperty']['call'](_0x5b07f4,'revisionId')&&_0x416d65['uint32'](0x12)['string'](_0x5b07f4['revisionId']),_0x416d65;},_0x14314e['encodeDelimited']=function(_0x4c77af,_0x505682){return this['encode'](_0x4c77af,_0x505682)['ldelim']();},_0x14314e['decode']=function(_0x4f6ee2,_0x5519e8,_0x323387,_0x30ac3c){if(_0x4f6ee2 instanceof _0x4b9dbe||(_0x4f6ee2=_0x4b9dbe['create'](_0x4f6ee2)),void 0x0===_0x30ac3c&&(_0x30ac3c=0x0),_0x30ac3c>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1ff766=void 0x0===_0x5519e8?_0x4f6ee2['len']:_0x4f6ee2['pos']+_0x5519e8,_0x5b7816=new _0x17ddb1['RevisionHistoryGetRevisionMessage']();_0x4f6ee2['pos']<_0x1ff766;){var _0x29c062=_0x4f6ee2['uint32']();if(_0x29c062===_0x323387)break;switch(_0x29c062>>>0x3){case 0x1:_0x5b7816['documentId']=_0x4f6ee2['string']();break;case 0x2:_0x5b7816['revisionId']=_0x4f6ee2['string']();break;default:_0x4f6ee2['skipType'](0x7&_0x29c062,_0x30ac3c);}}return _0x5b7816;},_0x14314e['decodeDelimited']=function(_0xc5d97){return _0xc5d97 instanceof _0x4b9dbe||(_0xc5d97=new _0x4b9dbe(_0xc5d97)),this['decode'](_0xc5d97,_0xc5d97['uint32']());},_0x14314e['verify']=function(_0x1b2629,_0x11c1cf){return'object'!=typeof _0x1b2629||null===_0x1b2629?'object\x20expected':(void 0x0===_0x11c1cf&&(_0x11c1cf=0x0),_0x11c1cf>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1b2629['documentId']&&_0x1b2629['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x1b2629['documentId'])?'documentId:\x20string\x20expected':null!=_0x1b2629['revisionId']&&_0x1b2629['hasOwnProperty']('revisionId')&&!_0x38eba6['isString'](_0x1b2629['revisionId'])?'revisionId:\x20string\x20expected':null);},_0x14314e['fromObject']=function(_0x318229,_0xda7e92){if(_0x318229 instanceof _0x17ddb1['RevisionHistoryGetRevisionMessage'])return _0x318229;if(void 0x0===_0xda7e92&&(_0xda7e92=0x0),_0xda7e92>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5121a7=new _0x17ddb1['RevisionHistoryGetRevisionMessage']();return null!=_0x318229['documentId']&&(_0x5121a7['documentId']=String(_0x318229['documentId'])),null!=_0x318229['revisionId']&&(_0x5121a7['revisionId']=String(_0x318229['revisionId'])),_0x5121a7;},_0x14314e['toObject']=function(_0x13391b,_0x1be6f0){_0x1be6f0||(_0x1be6f0={});var _0x2c23f={};return _0x1be6f0['defaults']&&(_0x2c23f['documentId']='',_0x2c23f['revisionId']=''),null!=_0x13391b['documentId']&&_0x13391b['hasOwnProperty']('documentId')&&(_0x2c23f['documentId']=_0x13391b['documentId']),null!=_0x13391b['revisionId']&&_0x13391b['hasOwnProperty']('revisionId')&&(_0x2c23f['revisionId']=_0x13391b['revisionId']),_0x2c23f;},_0x14314e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x14314e['getTypeUrl']=function(_0x19f4d3){return void 0x0===_0x19f4d3&&(_0x19f4d3='type.googleapis.com'),_0x19f4d3+'/RevisionHistoryGetRevisionMessage';},_0x14314e;}()),_0x17ddb1['RevisionHistoryConnectMessage']=(function(){function _0x1afbf3(_0x2b6762){if(_0x2b6762){for(var _0x56f2fd=Object['keys'](_0x2b6762),_0x414045=0x0;_0x414045<_0x56f2fd['length'];++_0x414045)null!=_0x2b6762[_0x56f2fd[_0x414045]]&&'__proto__'!==_0x56f2fd[_0x414045]&&(this[_0x56f2fd[_0x414045]]=_0x2b6762[_0x56f2fd[_0x414045]]);}}return _0x1afbf3['prototype']['documentId']='',_0x1afbf3['create']=function(_0x1ddc56){return new _0x1afbf3(_0x1ddc56);},_0x1afbf3['encode']=function(_0x4ad425,_0x30df09){return _0x30df09||(_0x30df09=_0x4cef4a['create']()),null!=_0x4ad425['documentId']&&Object['hasOwnProperty']['call'](_0x4ad425,'documentId')&&_0x30df09['uint32'](0xa)['string'](_0x4ad425['documentId']),_0x30df09;},_0x1afbf3['encodeDelimited']=function(_0xe4c93f,_0x5d1659){return this['encode'](_0xe4c93f,_0x5d1659)['ldelim']();},_0x1afbf3['decode']=function(_0x257b5e,_0x45e0cf,_0x4254cb,_0x4edd0d){if(_0x257b5e instanceof _0x4b9dbe||(_0x257b5e=_0x4b9dbe['create'](_0x257b5e)),void 0x0===_0x4edd0d&&(_0x4edd0d=0x0),_0x4edd0d>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2169e6=void 0x0===_0x45e0cf?_0x257b5e['len']:_0x257b5e['pos']+_0x45e0cf,_0xec5589=new _0x17ddb1['RevisionHistoryConnectMessage']();_0x257b5e['pos']<_0x2169e6;){var _0x6ffc1d=_0x257b5e['uint32']();if(_0x6ffc1d===_0x4254cb)break;_0x6ffc1d>>>0x3==0x1?_0xec5589['documentId']=_0x257b5e['string']():_0x257b5e['skipType'](0x7&_0x6ffc1d,_0x4edd0d);}return _0xec5589;},_0x1afbf3['decodeDelimited']=function(_0x33ec3d){return _0x33ec3d instanceof _0x4b9dbe||(_0x33ec3d=new _0x4b9dbe(_0x33ec3d)),this['decode'](_0x33ec3d,_0x33ec3d['uint32']());},_0x1afbf3['verify']=function(_0x3a360f,_0x198bf5){return'object'!=typeof _0x3a360f||null===_0x3a360f?'object\x20expected':(void 0x0===_0x198bf5&&(_0x198bf5=0x0),_0x198bf5>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3a360f['documentId']&&_0x3a360f['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x3a360f['documentId'])?'documentId:\x20string\x20expected':null);},_0x1afbf3['fromObject']=function(_0x4729b6,_0x6f6239){if(_0x4729b6 instanceof _0x17ddb1['RevisionHistoryConnectMessage'])return _0x4729b6;if(void 0x0===_0x6f6239&&(_0x6f6239=0x0),_0x6f6239>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x509923=new _0x17ddb1['RevisionHistoryConnectMessage']();return null!=_0x4729b6['documentId']&&(_0x509923['documentId']=String(_0x4729b6['documentId'])),_0x509923;},_0x1afbf3['toObject']=function(_0x1f9c78,_0x116522){_0x116522||(_0x116522={});var _0xdce255={};return _0x116522['defaults']&&(_0xdce255['documentId']=''),null!=_0x1f9c78['documentId']&&_0x1f9c78['hasOwnProperty']('documentId')&&(_0xdce255['documentId']=_0x1f9c78['documentId']),_0xdce255;},_0x1afbf3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x1afbf3['getTypeUrl']=function(_0x1ef309){return void 0x0===_0x1ef309&&(_0x1ef309='type.googleapis.com'),_0x1ef309+'/RevisionHistoryConnectMessage';},_0x1afbf3;}()),_0x17ddb1['RevisionDescriptor']=(function(){function _0x521c81(_0x4ca7de){if(_0x4ca7de){for(var _0x13da31=Object['keys'](_0x4ca7de),_0x32ecfc=0x0;_0x32ecfc<_0x13da31['length'];++_0x32ecfc)null!=_0x4ca7de[_0x13da31[_0x32ecfc]]&&'__proto__'!==_0x13da31[_0x32ecfc]&&(this[_0x13da31[_0x32ecfc]]=_0x4ca7de[_0x13da31[_0x32ecfc]]);}}return _0x521c81['prototype']['revisionId']='',_0x521c81['prototype']['name']='',_0x521c81['prototype']['creatorId']='',_0x521c81['prototype']['authorsIds']='',_0x521c81['prototype']['diffData']='',_0x521c81['prototype']['createdAt']='',_0x521c81['prototype']['attributes']='',_0x521c81['prototype']['toVersion']=0x0,_0x521c81['prototype']['fromVersion']=0x0,_0x521c81['prototype']['isEmptyCurrent']=!0x1,_0x521c81['create']=function(_0x254b98){return new _0x521c81(_0x254b98);},_0x521c81['encode']=function(_0x36c6dd,_0x566b8d){return _0x566b8d||(_0x566b8d=_0x4cef4a['create']()),null!=_0x36c6dd['revisionId']&&Object['hasOwnProperty']['call'](_0x36c6dd,'revisionId')&&_0x566b8d['uint32'](0xa)['string'](_0x36c6dd['revisionId']),null!=_0x36c6dd['name']&&Object['hasOwnProperty']['call'](_0x36c6dd,'name')&&_0x566b8d['uint32'](0x12)['string'](_0x36c6dd['name']),null!=_0x36c6dd['creatorId']&&Object['hasOwnProperty']['call'](_0x36c6dd,'creatorId')&&_0x566b8d['uint32'](0x1a)['string'](_0x36c6dd['creatorId']),null!=_0x36c6dd['authorsIds']&&Object['hasOwnProperty']['call'](_0x36c6dd,'authorsIds')&&_0x566b8d['uint32'](0x22)['string'](_0x36c6dd['authorsIds']),null!=_0x36c6dd['diffData']&&Object['hasOwnProperty']['call'](_0x36c6dd,'diffData')&&_0x566b8d['uint32'](0x2a)['string'](_0x36c6dd['diffData']),null!=_0x36c6dd['createdAt']&&Object['hasOwnProperty']['call'](_0x36c6dd,'createdAt')&&_0x566b8d['uint32'](0x32)['string'](_0x36c6dd['createdAt']),null!=_0x36c6dd['attributes']&&Object['hasOwnProperty']['call'](_0x36c6dd,'attributes')&&_0x566b8d['uint32'](0x3a)['string'](_0x36c6dd['attributes']),null!=_0x36c6dd['toVersion']&&Object['hasOwnProperty']['call'](_0x36c6dd,'toVersion')&&_0x566b8d['uint32'](0x40)['uint32'](_0x36c6dd['toVersion']),null!=_0x36c6dd['fromVersion']&&Object['hasOwnProperty']['call'](_0x36c6dd,'fromVersion')&&_0x566b8d['uint32'](0x48)['uint32'](_0x36c6dd['fromVersion']),null!=_0x36c6dd['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x36c6dd,'isEmptyCurrent')&&_0x566b8d['uint32'](0x50)['bool'](_0x36c6dd['isEmptyCurrent']),_0x566b8d;},_0x521c81['encodeDelimited']=function(_0x520b21,_0x3906fa){return this['encode'](_0x520b21,_0x3906fa)['ldelim']();},_0x521c81['decode']=function(_0x150f5b,_0x27c85e,_0x1c08a2,_0x34a7a8){if(_0x150f5b instanceof _0x4b9dbe||(_0x150f5b=_0x4b9dbe['create'](_0x150f5b)),void 0x0===_0x34a7a8&&(_0x34a7a8=0x0),_0x34a7a8>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5740bb=void 0x0===_0x27c85e?_0x150f5b['len']:_0x150f5b['pos']+_0x27c85e,_0x5d2904=new _0x17ddb1['RevisionDescriptor']();_0x150f5b['pos']<_0x5740bb;){var _0x21b7f5=_0x150f5b['uint32']();if(_0x21b7f5===_0x1c08a2)break;switch(_0x21b7f5>>>0x3){case 0x1:_0x5d2904['revisionId']=_0x150f5b['string']();break;case 0x2:_0x5d2904['name']=_0x150f5b['string']();break;case 0x3:_0x5d2904['creatorId']=_0x150f5b['string']();break;case 0x4:_0x5d2904['authorsIds']=_0x150f5b['string']();break;case 0x5:_0x5d2904['diffData']=_0x150f5b['string']();break;case 0x6:_0x5d2904['createdAt']=_0x150f5b['string']();break;case 0x7:_0x5d2904['attributes']=_0x150f5b['string']();break;case 0x8:_0x5d2904['toVersion']=_0x150f5b['uint32']();break;case 0x9:_0x5d2904['fromVersion']=_0x150f5b['uint32']();break;case 0xa:_0x5d2904['isEmptyCurrent']=_0x150f5b['bool']();break;default:_0x150f5b['skipType'](0x7&_0x21b7f5,_0x34a7a8);}}return _0x5d2904;},_0x521c81['decodeDelimited']=function(_0xbc2913){return _0xbc2913 instanceof _0x4b9dbe||(_0xbc2913=new _0x4b9dbe(_0xbc2913)),this['decode'](_0xbc2913,_0xbc2913['uint32']());},_0x521c81['verify']=function(_0x456698,_0x55c10d){return'object'!=typeof _0x456698||null===_0x456698?'object\x20expected':(void 0x0===_0x55c10d&&(_0x55c10d=0x0),_0x55c10d>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x456698['revisionId']&&_0x456698['hasOwnProperty']('revisionId')&&!_0x38eba6['isString'](_0x456698['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x456698['name']&&_0x456698['hasOwnProperty']('name')&&!_0x38eba6['isString'](_0x456698['name'])?'name:\x20string\x20expected':null!=_0x456698['creatorId']&&_0x456698['hasOwnProperty']('creatorId')&&!_0x38eba6['isString'](_0x456698['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x456698['authorsIds']&&_0x456698['hasOwnProperty']('authorsIds')&&!_0x38eba6['isString'](_0x456698['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x456698['diffData']&&_0x456698['hasOwnProperty']('diffData')&&!_0x38eba6['isString'](_0x456698['diffData'])?'diffData:\x20string\x20expected':null!=_0x456698['createdAt']&&_0x456698['hasOwnProperty']('createdAt')&&!_0x38eba6['isString'](_0x456698['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x456698['attributes']&&_0x456698['hasOwnProperty']('attributes')&&!_0x38eba6['isString'](_0x456698['attributes'])?'attributes:\x20string\x20expected':null!=_0x456698['toVersion']&&_0x456698['hasOwnProperty']('toVersion')&&!_0x38eba6['isInteger'](_0x456698['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x456698['fromVersion']&&_0x456698['hasOwnProperty']('fromVersion')&&!_0x38eba6['isInteger'](_0x456698['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x456698['isEmptyCurrent']&&_0x456698['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x456698['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},_0x521c81['fromObject']=function(_0x3cabf1,_0x3da376){if(_0x3cabf1 instanceof _0x17ddb1['RevisionDescriptor'])return _0x3cabf1;if(void 0x0===_0x3da376&&(_0x3da376=0x0),_0x3da376>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x180bfc=new _0x17ddb1['RevisionDescriptor']();return null!=_0x3cabf1['revisionId']&&(_0x180bfc['revisionId']=String(_0x3cabf1['revisionId'])),null!=_0x3cabf1['name']&&(_0x180bfc['name']=String(_0x3cabf1['name'])),null!=_0x3cabf1['creatorId']&&(_0x180bfc['creatorId']=String(_0x3cabf1['creatorId'])),null!=_0x3cabf1['authorsIds']&&(_0x180bfc['authorsIds']=String(_0x3cabf1['authorsIds'])),null!=_0x3cabf1['diffData']&&(_0x180bfc['diffData']=String(_0x3cabf1['diffData'])),null!=_0x3cabf1['createdAt']&&(_0x180bfc['createdAt']=String(_0x3cabf1['createdAt'])),null!=_0x3cabf1['attributes']&&(_0x180bfc['attributes']=String(_0x3cabf1['attributes'])),null!=_0x3cabf1['toVersion']&&(_0x180bfc['toVersion']=_0x3cabf1['toVersion']>>>0x0),null!=_0x3cabf1['fromVersion']&&(_0x180bfc['fromVersion']=_0x3cabf1['fromVersion']>>>0x0),null!=_0x3cabf1['isEmptyCurrent']&&(_0x180bfc['isEmptyCurrent']=Boolean(_0x3cabf1['isEmptyCurrent'])),_0x180bfc;},_0x521c81['toObject']=function(_0x6215f3,_0x55ae01){_0x55ae01||(_0x55ae01={});var _0x22af2b={};return _0x55ae01['defaults']&&(_0x22af2b['revisionId']='',_0x22af2b['name']='',_0x22af2b['creatorId']='',_0x22af2b['authorsIds']='',_0x22af2b['diffData']='',_0x22af2b['createdAt']='',_0x22af2b['attributes']='',_0x22af2b['toVersion']=0x0,_0x22af2b['fromVersion']=0x0,_0x22af2b['isEmptyCurrent']=!0x1),null!=_0x6215f3['revisionId']&&_0x6215f3['hasOwnProperty']('revisionId')&&(_0x22af2b['revisionId']=_0x6215f3['revisionId']),null!=_0x6215f3['name']&&_0x6215f3['hasOwnProperty']('name')&&(_0x22af2b['name']=_0x6215f3['name']),null!=_0x6215f3['creatorId']&&_0x6215f3['hasOwnProperty']('creatorId')&&(_0x22af2b['creatorId']=_0x6215f3['creatorId']),null!=_0x6215f3['authorsIds']&&_0x6215f3['hasOwnProperty']('authorsIds')&&(_0x22af2b['authorsIds']=_0x6215f3['authorsIds']),null!=_0x6215f3['diffData']&&_0x6215f3['hasOwnProperty']('diffData')&&(_0x22af2b['diffData']=_0x6215f3['diffData']),null!=_0x6215f3['createdAt']&&_0x6215f3['hasOwnProperty']('createdAt')&&(_0x22af2b['createdAt']=_0x6215f3['createdAt']),null!=_0x6215f3['attributes']&&_0x6215f3['hasOwnProperty']('attributes')&&(_0x22af2b['attributes']=_0x6215f3['attributes']),null!=_0x6215f3['toVersion']&&_0x6215f3['hasOwnProperty']('toVersion')&&(_0x22af2b['toVersion']=_0x6215f3['toVersion']),null!=_0x6215f3['fromVersion']&&_0x6215f3['hasOwnProperty']('fromVersion')&&(_0x22af2b['fromVersion']=_0x6215f3['fromVersion']),null!=_0x6215f3['isEmptyCurrent']&&_0x6215f3['hasOwnProperty']('isEmptyCurrent')&&(_0x22af2b['isEmptyCurrent']=_0x6215f3['isEmptyCurrent']),_0x22af2b;},_0x521c81['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x521c81['getTypeUrl']=function(_0xbf87e0){return void 0x0===_0xbf87e0&&(_0xbf87e0='type.googleapis.com'),_0xbf87e0+'/RevisionDescriptor';},_0x521c81;}()),_0x17ddb1['IsEditorBundleUploadedResponse']=(function(){function _0x247e22(_0x1752b2){if(_0x1752b2){for(var _0x359dd9=Object['keys'](_0x1752b2),_0x485ba8=0x0;_0x485ba8<_0x359dd9['length'];++_0x485ba8)null!=_0x1752b2[_0x359dd9[_0x485ba8]]&&'__proto__'!==_0x359dd9[_0x485ba8]&&(this[_0x359dd9[_0x485ba8]]=_0x1752b2[_0x359dd9[_0x485ba8]]);}}return _0x247e22['prototype']['isUploaded']=!0x1,_0x247e22['create']=function(_0x2fd772){return new _0x247e22(_0x2fd772);},_0x247e22['encode']=function(_0x51b87f,_0x2ee12f){return _0x2ee12f||(_0x2ee12f=_0x4cef4a['create']()),null!=_0x51b87f['isUploaded']&&Object['hasOwnProperty']['call'](_0x51b87f,'isUploaded')&&_0x2ee12f['uint32'](0x8)['bool'](_0x51b87f['isUploaded']),_0x2ee12f;},_0x247e22['encodeDelimited']=function(_0x2ed380,_0x113cb2){return this['encode'](_0x2ed380,_0x113cb2)['ldelim']();},_0x247e22['decode']=function(_0x167c49,_0x4c1c6c,_0x2507d7,_0x25aeac){if(_0x167c49 instanceof _0x4b9dbe||(_0x167c49=_0x4b9dbe['create'](_0x167c49)),void 0x0===_0x25aeac&&(_0x25aeac=0x0),_0x25aeac>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x254805=void 0x0===_0x4c1c6c?_0x167c49['len']:_0x167c49['pos']+_0x4c1c6c,_0xbceb48=new _0x17ddb1['IsEditorBundleUploadedResponse']();_0x167c49['pos']<_0x254805;){var _0x1103fd=_0x167c49['uint32']();if(_0x1103fd===_0x2507d7)break;_0x1103fd>>>0x3==0x1?_0xbceb48['isUploaded']=_0x167c49['bool']():_0x167c49['skipType'](0x7&_0x1103fd,_0x25aeac);}return _0xbceb48;},_0x247e22['decodeDelimited']=function(_0x1630e6){return _0x1630e6 instanceof _0x4b9dbe||(_0x1630e6=new _0x4b9dbe(_0x1630e6)),this['decode'](_0x1630e6,_0x1630e6['uint32']());},_0x247e22['verify']=function(_0x299a04,_0x5fec99){return'object'!=typeof _0x299a04||null===_0x299a04?'object\x20expected':(void 0x0===_0x5fec99&&(_0x5fec99=0x0),_0x5fec99>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x299a04['isUploaded']&&_0x299a04['hasOwnProperty']('isUploaded')&&'boolean'!=typeof _0x299a04['isUploaded']?'isUploaded:\x20boolean\x20expected':null);},_0x247e22['fromObject']=function(_0x2f7048,_0x8c7efa){if(_0x2f7048 instanceof _0x17ddb1['IsEditorBundleUploadedResponse'])return _0x2f7048;if(void 0x0===_0x8c7efa&&(_0x8c7efa=0x0),_0x8c7efa>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x14606d=new _0x17ddb1['IsEditorBundleUploadedResponse']();return null!=_0x2f7048['isUploaded']&&(_0x14606d['isUploaded']=Boolean(_0x2f7048['isUploaded'])),_0x14606d;},_0x247e22['toObject']=function(_0x3a2f1b,_0x32636b){_0x32636b||(_0x32636b={});var _0x5ed1dd={};return _0x32636b['defaults']&&(_0x5ed1dd['isUploaded']=!0x1),null!=_0x3a2f1b['isUploaded']&&_0x3a2f1b['hasOwnProperty']('isUploaded')&&(_0x5ed1dd['isUploaded']=_0x3a2f1b['isUploaded']),_0x5ed1dd;},_0x247e22['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x247e22['getTypeUrl']=function(_0x398f08){return void 0x0===_0x398f08&&(_0x398f08='type.googleapis.com'),_0x398f08+'/IsEditorBundleUploadedResponse';},_0x247e22;}()),_0x17ddb1['IsEditorBundleUploadedMessage']=(function(){function _0x5dd5d3(_0xb16b2){if(_0xb16b2){for(var _0x211498=Object['keys'](_0xb16b2),_0x20f67e=0x0;_0x20f67e<_0x211498['length'];++_0x20f67e)null!=_0xb16b2[_0x211498[_0x20f67e]]&&'__proto__'!==_0x211498[_0x20f67e]&&(this[_0x211498[_0x20f67e]]=_0xb16b2[_0x211498[_0x20f67e]]);}}return _0x5dd5d3['prototype']['bundleVersion']='',_0x5dd5d3['create']=function(_0x273e1a){return new _0x5dd5d3(_0x273e1a);},_0x5dd5d3['encode']=function(_0x807cc6,_0x110791){return _0x110791||(_0x110791=_0x4cef4a['create']()),null!=_0x807cc6['bundleVersion']&&Object['hasOwnProperty']['call'](_0x807cc6,'bundleVersion')&&_0x110791['uint32'](0xa)['string'](_0x807cc6['bundleVersion']),_0x110791;},_0x5dd5d3['encodeDelimited']=function(_0x1c9143,_0xb4af6e){return this['encode'](_0x1c9143,_0xb4af6e)['ldelim']();},_0x5dd5d3['decode']=function(_0x301dc1,_0x39101b,_0x1c1ff9,_0x209947){if(_0x301dc1 instanceof _0x4b9dbe||(_0x301dc1=_0x4b9dbe['create'](_0x301dc1)),void 0x0===_0x209947&&(_0x209947=0x0),_0x209947>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xaf6de5=void 0x0===_0x39101b?_0x301dc1['len']:_0x301dc1['pos']+_0x39101b,_0x51b435=new _0x17ddb1['IsEditorBundleUploadedMessage']();_0x301dc1['pos']<_0xaf6de5;){var _0x5cb2c0=_0x301dc1['uint32']();if(_0x5cb2c0===_0x1c1ff9)break;_0x5cb2c0>>>0x3==0x1?_0x51b435['bundleVersion']=_0x301dc1['string']():_0x301dc1['skipType'](0x7&_0x5cb2c0,_0x209947);}return _0x51b435;},_0x5dd5d3['decodeDelimited']=function(_0x10348c){return _0x10348c instanceof _0x4b9dbe||(_0x10348c=new _0x4b9dbe(_0x10348c)),this['decode'](_0x10348c,_0x10348c['uint32']());},_0x5dd5d3['verify']=function(_0x49904e,_0x1ff0c0){return'object'!=typeof _0x49904e||null===_0x49904e?'object\x20expected':(void 0x0===_0x1ff0c0&&(_0x1ff0c0=0x0),_0x1ff0c0>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x49904e['bundleVersion']&&_0x49904e['hasOwnProperty']('bundleVersion')&&!_0x38eba6['isString'](_0x49904e['bundleVersion'])?'bundleVersion:\x20string\x20expected':null);},_0x5dd5d3['fromObject']=function(_0x23300c,_0x366a04){if(_0x23300c instanceof _0x17ddb1['IsEditorBundleUploadedMessage'])return _0x23300c;if(void 0x0===_0x366a04&&(_0x366a04=0x0),_0x366a04>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x322d45=new _0x17ddb1['IsEditorBundleUploadedMessage']();return null!=_0x23300c['bundleVersion']&&(_0x322d45['bundleVersion']=String(_0x23300c['bundleVersion'])),_0x322d45;},_0x5dd5d3['toObject']=function(_0x33df90,_0x3c9801){_0x3c9801||(_0x3c9801={});var _0x25a4d3={};return _0x3c9801['defaults']&&(_0x25a4d3['bundleVersion']=''),null!=_0x33df90['bundleVersion']&&_0x33df90['hasOwnProperty']('bundleVersion')&&(_0x25a4d3['bundleVersion']=_0x33df90['bundleVersion']),_0x25a4d3;},_0x5dd5d3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x5dd5d3['getTypeUrl']=function(_0x36252e){return void 0x0===_0x36252e&&(_0x36252e='type.googleapis.com'),_0x36252e+'/IsEditorBundleUploadedMessage';},_0x5dd5d3;}()),_0x17ddb1['KeyValueDescriptor']=(function(){function _0x46b704(_0x58d333){if(_0x58d333){for(var _0xf19f88=Object['keys'](_0x58d333),_0x1453f5=0x0;_0x1453f5<_0xf19f88['length'];++_0x1453f5)null!=_0x58d333[_0xf19f88[_0x1453f5]]&&'__proto__'!==_0xf19f88[_0x1453f5]&&(this[_0xf19f88[_0x1453f5]]=_0x58d333[_0xf19f88[_0x1453f5]]);}}return _0x46b704['prototype']['key']='',_0x46b704['prototype']['value']='',_0x46b704['create']=function(_0x460635){return new _0x46b704(_0x460635);},_0x46b704['encode']=function(_0x2b1c5e,_0x197e3f){return _0x197e3f||(_0x197e3f=_0x4cef4a['create']()),null!=_0x2b1c5e['key']&&Object['hasOwnProperty']['call'](_0x2b1c5e,'key')&&_0x197e3f['uint32'](0xa)['string'](_0x2b1c5e['key']),null!=_0x2b1c5e['value']&&Object['hasOwnProperty']['call'](_0x2b1c5e,'value')&&_0x197e3f['uint32'](0x12)['string'](_0x2b1c5e['value']),_0x197e3f;},_0x46b704['encodeDelimited']=function(_0xe4b61a,_0x4601a9){return this['encode'](_0xe4b61a,_0x4601a9)['ldelim']();},_0x46b704['decode']=function(_0x218aa2,_0x5439f5,_0x5aefa5,_0x541b25){if(_0x218aa2 instanceof _0x4b9dbe||(_0x218aa2=_0x4b9dbe['create'](_0x218aa2)),void 0x0===_0x541b25&&(_0x541b25=0x0),_0x541b25>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x322eeb=void 0x0===_0x5439f5?_0x218aa2['len']:_0x218aa2['pos']+_0x5439f5,_0xd7cb15=new _0x17ddb1['KeyValueDescriptor']();_0x218aa2['pos']<_0x322eeb;){var _0x4930d6=_0x218aa2['uint32']();if(_0x4930d6===_0x5aefa5)break;switch(_0x4930d6>>>0x3){case 0x1:_0xd7cb15['key']=_0x218aa2['string']();break;case 0x2:_0xd7cb15['value']=_0x218aa2['string']();break;default:_0x218aa2['skipType'](0x7&_0x4930d6,_0x541b25);}}return _0xd7cb15;},_0x46b704['decodeDelimited']=function(_0x17060c){return _0x17060c instanceof _0x4b9dbe||(_0x17060c=new _0x4b9dbe(_0x17060c)),this['decode'](_0x17060c,_0x17060c['uint32']());},_0x46b704['verify']=function(_0x564463,_0x27e1e1){return'object'!=typeof _0x564463||null===_0x564463?'object\x20expected':(void 0x0===_0x27e1e1&&(_0x27e1e1=0x0),_0x27e1e1>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x564463['key']&&_0x564463['hasOwnProperty']('key')&&!_0x38eba6['isString'](_0x564463['key'])?'key:\x20string\x20expected':null!=_0x564463['value']&&_0x564463['hasOwnProperty']('value')&&!_0x38eba6['isString'](_0x564463['value'])?'value:\x20string\x20expected':null);},_0x46b704['fromObject']=function(_0x22ce44,_0x26d7da){if(_0x22ce44 instanceof _0x17ddb1['KeyValueDescriptor'])return _0x22ce44;if(void 0x0===_0x26d7da&&(_0x26d7da=0x0),_0x26d7da>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5be945=new _0x17ddb1['KeyValueDescriptor']();return null!=_0x22ce44['key']&&(_0x5be945['key']=String(_0x22ce44['key'])),null!=_0x22ce44['value']&&(_0x5be945['value']=String(_0x22ce44['value'])),_0x5be945;},_0x46b704['toObject']=function(_0xe1b03c,_0x33dd26){_0x33dd26||(_0x33dd26={});var _0x596bea={};return _0x33dd26['defaults']&&(_0x596bea['key']='',_0x596bea['value']=''),null!=_0xe1b03c['key']&&_0xe1b03c['hasOwnProperty']('key')&&(_0x596bea['key']=_0xe1b03c['key']),null!=_0xe1b03c['value']&&_0xe1b03c['hasOwnProperty']('value')&&(_0x596bea['value']=_0xe1b03c['value']),_0x596bea;},_0x46b704['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x46b704['getTypeUrl']=function(_0x53080f){return void 0x0===_0x53080f&&(_0x53080f='type.googleapis.com'),_0x53080f+'/KeyValueDescriptor';},_0x46b704;}()),_0x17ddb1['CommentsV2GetDocumentThreadsResponse']=(function(){function _0x1d6968(_0x271ed4){if(this['threads']=[],this['threadsV2']=[],_0x271ed4){for(var _0x55e80b=Object['keys'](_0x271ed4),_0x25b32f=0x0;_0x25b32f<_0x55e80b['length'];++_0x25b32f)null!=_0x271ed4[_0x55e80b[_0x25b32f]]&&'__proto__'!==_0x55e80b[_0x25b32f]&&(this[_0x55e80b[_0x25b32f]]=_0x271ed4[_0x55e80b[_0x25b32f]]);}}return _0x1d6968['prototype']['threads']=_0x38eba6['emptyArray'],_0x1d6968['prototype']['threadsV2']=_0x38eba6['emptyArray'],_0x1d6968['create']=function(_0x3086ca){return new _0x1d6968(_0x3086ca);},_0x1d6968['encode']=function(_0x3a926e,_0x221a34){if(_0x221a34||(_0x221a34=_0x4cef4a['create']()),null!=_0x3a926e['threads']&&_0x3a926e['threads']['length']){for(var _0x531180=0x0;_0x531180<_0x3a926e['threads']['length'];++_0x531180)_0x221a34['uint32'](0xa)['string'](_0x3a926e['threads'][_0x531180]);}if(null!=_0x3a926e['threadsV2']&&_0x3a926e['threadsV2']['length']){for(_0x531180=0x0;_0x531180<_0x3a926e['threadsV2']['length'];++_0x531180)_0x17ddb1['CommentsThreadDescriptor']['encode'](_0x3a926e['threadsV2'][_0x531180],_0x221a34['uint32'](0x12)['fork']())['ldelim']();}return _0x221a34;},_0x1d6968['encodeDelimited']=function(_0x11ea91,_0x2a3029){return this['encode'](_0x11ea91,_0x2a3029)['ldelim']();},_0x1d6968['decode']=function(_0x39f20a,_0x564eba,_0x2dcb91,_0x32f6a9){if(_0x39f20a instanceof _0x4b9dbe||(_0x39f20a=_0x4b9dbe['create'](_0x39f20a)),void 0x0===_0x32f6a9&&(_0x32f6a9=0x0),_0x32f6a9>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x909c0d=void 0x0===_0x564eba?_0x39f20a['len']:_0x39f20a['pos']+_0x564eba,_0x17e1a1=new _0x17ddb1['CommentsV2GetDocumentThreadsResponse']();_0x39f20a['pos']<_0x909c0d;){var _0x48388b=_0x39f20a['uint32']();if(_0x48388b===_0x2dcb91)break;switch(_0x48388b>>>0x3){case 0x1:_0x17e1a1['threads']&&_0x17e1a1['threads']['length']||(_0x17e1a1['threads']=[]),_0x17e1a1['threads']['push'](_0x39f20a['string']());break;case 0x2:_0x17e1a1['threadsV2']&&_0x17e1a1['threadsV2']['length']||(_0x17e1a1['threadsV2']=[]),_0x17e1a1['threadsV2']['push'](_0x17ddb1['CommentsThreadDescriptor']['decode'](_0x39f20a,_0x39f20a['uint32'](),void 0x0,_0x32f6a9+0x1));break;default:_0x39f20a['skipType'](0x7&_0x48388b,_0x32f6a9);}}return _0x17e1a1;},_0x1d6968['decodeDelimited']=function(_0x24dc09){return _0x24dc09 instanceof _0x4b9dbe||(_0x24dc09=new _0x4b9dbe(_0x24dc09)),this['decode'](_0x24dc09,_0x24dc09['uint32']());},_0x1d6968['verify']=function(_0xb2d641,_0x1fec97){if('object'!=typeof _0xb2d641||null===_0xb2d641)return'object\x20expected';if(void 0x0===_0x1fec97&&(_0x1fec97=0x0),_0x1fec97>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xb2d641['threads']&&_0xb2d641['hasOwnProperty']('threads')){if(!Array['isArray'](_0xb2d641['threads']))return'threads:\x20array\x20expected';for(var _0x4e74ad=0x0;_0x4e74ad<_0xb2d641['threads']['length'];++_0x4e74ad)if(!_0x38eba6['isString'](_0xb2d641['threads'][_0x4e74ad]))return'threads:\x20string[]\x20expected';}if(null!=_0xb2d641['threadsV2']&&_0xb2d641['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0xb2d641['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x4e74ad=0x0;_0x4e74ad<_0xb2d641['threadsV2']['length'];++_0x4e74ad){var _0x4bc14d=_0x17ddb1['CommentsThreadDescriptor']['verify'](_0xb2d641['threadsV2'][_0x4e74ad],_0x1fec97+0x1);if(_0x4bc14d)return'threadsV2.'+_0x4bc14d;}}return null;},_0x1d6968['fromObject']=function(_0x3ab4a7,_0x26f9be){if(_0x3ab4a7 instanceof _0x17ddb1['CommentsV2GetDocumentThreadsResponse'])return _0x3ab4a7;if(void 0x0===_0x26f9be&&(_0x26f9be=0x0),_0x26f9be>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x556479=new _0x17ddb1['CommentsV2GetDocumentThreadsResponse']();if(_0x3ab4a7['threads']){if(!Array['isArray'](_0x3ab4a7['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x556479['threads']=[];for(var _0x13b4b7=0x0;_0x13b4b7<_0x3ab4a7['threads']['length'];++_0x13b4b7)_0x556479['threads'][_0x13b4b7]=String(_0x3ab4a7['threads'][_0x13b4b7]);}if(_0x3ab4a7['threadsV2']){if(!Array['isArray'](_0x3ab4a7['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0x556479['threadsV2']=[],_0x13b4b7=0x0;_0x13b4b7<_0x3ab4a7['threadsV2']['length'];++_0x13b4b7){if('object'!=typeof _0x3ab4a7['threadsV2'][_0x13b4b7])throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x556479['threadsV2'][_0x13b4b7]=_0x17ddb1['CommentsThreadDescriptor']['fromObject'](_0x3ab4a7['threadsV2'][_0x13b4b7],_0x26f9be+0x1);}}return _0x556479;},_0x1d6968['toObject']=function(_0x1af85e,_0x223a3a){_0x223a3a||(_0x223a3a={});var _0x1bf7c1={};if((_0x223a3a['arrays']||_0x223a3a['defaults'])&&(_0x1bf7c1['threads']=[],_0x1bf7c1['threadsV2']=[]),_0x1af85e['threads']&&_0x1af85e['threads']['length']){_0x1bf7c1['threads']=[];for(var _0x4f4a3d=0x0;_0x4f4a3d<_0x1af85e['threads']['length'];++_0x4f4a3d)_0x1bf7c1['threads'][_0x4f4a3d]=_0x1af85e['threads'][_0x4f4a3d];}if(_0x1af85e['threadsV2']&&_0x1af85e['threadsV2']['length']){for(_0x1bf7c1['threadsV2']=[],_0x4f4a3d=0x0;_0x4f4a3d<_0x1af85e['threadsV2']['length'];++_0x4f4a3d)_0x1bf7c1['threadsV2'][_0x4f4a3d]=_0x17ddb1['CommentsThreadDescriptor']['toObject'](_0x1af85e['threadsV2'][_0x4f4a3d],_0x223a3a);}return _0x1bf7c1;},_0x1d6968['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x1d6968['getTypeUrl']=function(_0x3c1fce){return void 0x0===_0x3c1fce&&(_0x3c1fce='type.googleapis.com'),_0x3c1fce+'/CommentsV2GetDocumentThreadsResponse';},_0x1d6968;}()),_0x17ddb1['CommentsV2GetCommentThreadResponse']=(function(){function _0x1bc2b5(_0x15499c){if(this['comments']=[],this['commentsV2']=[],_0x15499c){for(var _0x4b58c0=Object['keys'](_0x15499c),_0x386407=0x0;_0x386407<_0x4b58c0['length'];++_0x386407)null!=_0x15499c[_0x4b58c0[_0x386407]]&&'__proto__'!==_0x4b58c0[_0x386407]&&(this[_0x4b58c0[_0x386407]]=_0x15499c[_0x4b58c0[_0x386407]]);}}return _0x1bc2b5['prototype']['commentThreadId']='',_0x1bc2b5['prototype']['comments']=_0x38eba6['emptyArray'],_0x1bc2b5['prototype']['commentsV2']=_0x38eba6['emptyArray'],_0x1bc2b5['prototype']['resolvedAt']='',_0x1bc2b5['prototype']['resolvedBy']='',_0x1bc2b5['prototype']['context']='',_0x1bc2b5['prototype']['createdAt']='',_0x1bc2b5['prototype']['deletedAt']='',_0x1bc2b5['prototype']['attributes']='',_0x1bc2b5['prototype']['unlinkedAt']='',_0x1bc2b5['create']=function(_0x39c85e){return new _0x1bc2b5(_0x39c85e);},_0x1bc2b5['encode']=function(_0x14a81b,_0x54d9e8){if(_0x54d9e8||(_0x54d9e8=_0x4cef4a['create']()),null!=_0x14a81b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x14a81b,'commentThreadId')&&_0x54d9e8['uint32'](0xa)['string'](_0x14a81b['commentThreadId']),null!=_0x14a81b['comments']&&_0x14a81b['comments']['length']){for(var _0x3d702c=0x0;_0x3d702c<_0x14a81b['comments']['length'];++_0x3d702c)_0x54d9e8['uint32'](0x12)['string'](_0x14a81b['comments'][_0x3d702c]);}if(null!=_0x14a81b['commentsV2']&&_0x14a81b['commentsV2']['length']){for(_0x3d702c=0x0;_0x3d702c<_0x14a81b['commentsV2']['length'];++_0x3d702c)_0x17ddb1['CommentDescriptor']['encode'](_0x14a81b['commentsV2'][_0x3d702c],_0x54d9e8['uint32'](0x1a)['fork']())['ldelim']();}return null!=_0x14a81b['resolvedAt']&&Object['hasOwnProperty']['call'](_0x14a81b,'resolvedAt')&&_0x54d9e8['uint32'](0x22)['string'](_0x14a81b['resolvedAt']),null!=_0x14a81b['resolvedBy']&&Object['hasOwnProperty']['call'](_0x14a81b,'resolvedBy')&&_0x54d9e8['uint32'](0x2a)['string'](_0x14a81b['resolvedBy']),null!=_0x14a81b['context']&&Object['hasOwnProperty']['call'](_0x14a81b,'context')&&_0x54d9e8['uint32'](0x32)['string'](_0x14a81b['context']),null!=_0x14a81b['createdAt']&&Object['hasOwnProperty']['call'](_0x14a81b,'createdAt')&&_0x54d9e8['uint32'](0x3a)['string'](_0x14a81b['createdAt']),null!=_0x14a81b['deletedAt']&&Object['hasOwnProperty']['call'](_0x14a81b,'deletedAt')&&_0x54d9e8['uint32'](0x42)['string'](_0x14a81b['deletedAt']),null!=_0x14a81b['attributes']&&Object['hasOwnProperty']['call'](_0x14a81b,'attributes')&&_0x54d9e8['uint32'](0x4a)['string'](_0x14a81b['attributes']),null!=_0x14a81b['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x14a81b,'unlinkedAt')&&_0x54d9e8['uint32'](0x52)['string'](_0x14a81b['unlinkedAt']),_0x54d9e8;},_0x1bc2b5['encodeDelimited']=function(_0x2e310e,_0x16c07a){return this['encode'](_0x2e310e,_0x16c07a)['ldelim']();},_0x1bc2b5['decode']=function(_0x35185f,_0x56349a,_0x487518,_0x2b9de7){if(_0x35185f instanceof _0x4b9dbe||(_0x35185f=_0x4b9dbe['create'](_0x35185f)),void 0x0===_0x2b9de7&&(_0x2b9de7=0x0),_0x2b9de7>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x23f108=void 0x0===_0x56349a?_0x35185f['len']:_0x35185f['pos']+_0x56349a,_0xb1c5b6=new _0x17ddb1['CommentsV2GetCommentThreadResponse']();_0x35185f['pos']<_0x23f108;){var _0x59ccc9=_0x35185f['uint32']();if(_0x59ccc9===_0x487518)break;switch(_0x59ccc9>>>0x3){case 0x1:_0xb1c5b6['commentThreadId']=_0x35185f['string']();break;case 0x2:_0xb1c5b6['comments']&&_0xb1c5b6['comments']['length']||(_0xb1c5b6['comments']=[]),_0xb1c5b6['comments']['push'](_0x35185f['string']());break;case 0x3:_0xb1c5b6['commentsV2']&&_0xb1c5b6['commentsV2']['length']||(_0xb1c5b6['commentsV2']=[]),_0xb1c5b6['commentsV2']['push'](_0x17ddb1['CommentDescriptor']['decode'](_0x35185f,_0x35185f['uint32'](),void 0x0,_0x2b9de7+0x1));break;case 0x4:_0xb1c5b6['resolvedAt']=_0x35185f['string']();break;case 0x5:_0xb1c5b6['resolvedBy']=_0x35185f['string']();break;case 0x6:_0xb1c5b6['context']=_0x35185f['string']();break;case 0x7:_0xb1c5b6['createdAt']=_0x35185f['string']();break;case 0x8:_0xb1c5b6['deletedAt']=_0x35185f['string']();break;case 0x9:_0xb1c5b6['attributes']=_0x35185f['string']();break;case 0xa:_0xb1c5b6['unlinkedAt']=_0x35185f['string']();break;default:_0x35185f['skipType'](0x7&_0x59ccc9,_0x2b9de7);}}return _0xb1c5b6;},_0x1bc2b5['decodeDelimited']=function(_0x119179){return _0x119179 instanceof _0x4b9dbe||(_0x119179=new _0x4b9dbe(_0x119179)),this['decode'](_0x119179,_0x119179['uint32']());},_0x1bc2b5['verify']=function(_0x3ad271,_0x41c4bd){if('object'!=typeof _0x3ad271||null===_0x3ad271)return'object\x20expected';if(void 0x0===_0x41c4bd&&(_0x41c4bd=0x0),_0x41c4bd>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3ad271['commentThreadId']&&_0x3ad271['hasOwnProperty']('commentThreadId')&&!_0x38eba6['isString'](_0x3ad271['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3ad271['comments']&&_0x3ad271['hasOwnProperty']('comments')){if(!Array['isArray'](_0x3ad271['comments']))return'comments:\x20array\x20expected';for(var _0x466ce4=0x0;_0x466ce4<_0x3ad271['comments']['length'];++_0x466ce4)if(!_0x38eba6['isString'](_0x3ad271['comments'][_0x466ce4]))return'comments:\x20string[]\x20expected';}if(null!=_0x3ad271['commentsV2']&&_0x3ad271['hasOwnProperty']('commentsV2')){if(!Array['isArray'](_0x3ad271['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x466ce4=0x0;_0x466ce4<_0x3ad271['commentsV2']['length'];++_0x466ce4){var _0x3beb45=_0x17ddb1['CommentDescriptor']['verify'](_0x3ad271['commentsV2'][_0x466ce4],_0x41c4bd+0x1);if(_0x3beb45)return'commentsV2.'+_0x3beb45;}}return null!=_0x3ad271['resolvedAt']&&_0x3ad271['hasOwnProperty']('resolvedAt')&&!_0x38eba6['isString'](_0x3ad271['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x3ad271['resolvedBy']&&_0x3ad271['hasOwnProperty']('resolvedBy')&&!_0x38eba6['isString'](_0x3ad271['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x3ad271['context']&&_0x3ad271['hasOwnProperty']('context')&&!_0x38eba6['isString'](_0x3ad271['context'])?'context:\x20string\x20expected':null!=_0x3ad271['createdAt']&&_0x3ad271['hasOwnProperty']('createdAt')&&!_0x38eba6['isString'](_0x3ad271['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x3ad271['deletedAt']&&_0x3ad271['hasOwnProperty']('deletedAt')&&!_0x38eba6['isString'](_0x3ad271['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x3ad271['attributes']&&_0x3ad271['hasOwnProperty']('attributes')&&!_0x38eba6['isString'](_0x3ad271['attributes'])?'attributes:\x20string\x20expected':null!=_0x3ad271['unlinkedAt']&&_0x3ad271['hasOwnProperty']('unlinkedAt')&&!_0x38eba6['isString'](_0x3ad271['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x1bc2b5['fromObject']=function(_0x13fb9e,_0x283218){if(_0x13fb9e instanceof _0x17ddb1['CommentsV2GetCommentThreadResponse'])return _0x13fb9e;if(void 0x0===_0x283218&&(_0x283218=0x0),_0x283218>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x39e23b=new _0x17ddb1['CommentsV2GetCommentThreadResponse']();if(null!=_0x13fb9e['commentThreadId']&&(_0x39e23b['commentThreadId']=String(_0x13fb9e['commentThreadId'])),_0x13fb9e['comments']){if(!Array['isArray'](_0x13fb9e['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x39e23b['comments']=[];for(var _0x1e16bb=0x0;_0x1e16bb<_0x13fb9e['comments']['length'];++_0x1e16bb)_0x39e23b['comments'][_0x1e16bb]=String(_0x13fb9e['comments'][_0x1e16bb]);}if(_0x13fb9e['commentsV2']){if(!Array['isArray'](_0x13fb9e['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x39e23b['commentsV2']=[],_0x1e16bb=0x0;_0x1e16bb<_0x13fb9e['commentsV2']['length'];++_0x1e16bb){if('object'!=typeof _0x13fb9e['commentsV2'][_0x1e16bb])throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x39e23b['commentsV2'][_0x1e16bb]=_0x17ddb1['CommentDescriptor']['fromObject'](_0x13fb9e['commentsV2'][_0x1e16bb],_0x283218+0x1);}}return null!=_0x13fb9e['resolvedAt']&&(_0x39e23b['resolvedAt']=String(_0x13fb9e['resolvedAt'])),null!=_0x13fb9e['resolvedBy']&&(_0x39e23b['resolvedBy']=String(_0x13fb9e['resolvedBy'])),null!=_0x13fb9e['context']&&(_0x39e23b['context']=String(_0x13fb9e['context'])),null!=_0x13fb9e['createdAt']&&(_0x39e23b['createdAt']=String(_0x13fb9e['createdAt'])),null!=_0x13fb9e['deletedAt']&&(_0x39e23b['deletedAt']=String(_0x13fb9e['deletedAt'])),null!=_0x13fb9e['attributes']&&(_0x39e23b['attributes']=String(_0x13fb9e['attributes'])),null!=_0x13fb9e['unlinkedAt']&&(_0x39e23b['unlinkedAt']=String(_0x13fb9e['unlinkedAt'])),_0x39e23b;},_0x1bc2b5['toObject']=function(_0xfcd027,_0x21940c){_0x21940c||(_0x21940c={});var _0x4eaccf={};if((_0x21940c['arrays']||_0x21940c['defaults'])&&(_0x4eaccf['comments']=[],_0x4eaccf['commentsV2']=[]),_0x21940c['defaults']&&(_0x4eaccf['commentThreadId']='',_0x4eaccf['resolvedAt']='',_0x4eaccf['resolvedBy']='',_0x4eaccf['context']='',_0x4eaccf['createdAt']='',_0x4eaccf['deletedAt']='',_0x4eaccf['attributes']='',_0x4eaccf['unlinkedAt']=''),null!=_0xfcd027['commentThreadId']&&_0xfcd027['hasOwnProperty']('commentThreadId')&&(_0x4eaccf['commentThreadId']=_0xfcd027['commentThreadId']),_0xfcd027['comments']&&_0xfcd027['comments']['length']){_0x4eaccf['comments']=[];for(var _0x25cf17=0x0;_0x25cf17<_0xfcd027['comments']['length'];++_0x25cf17)_0x4eaccf['comments'][_0x25cf17]=_0xfcd027['comments'][_0x25cf17];}if(_0xfcd027['commentsV2']&&_0xfcd027['commentsV2']['length']){for(_0x4eaccf['commentsV2']=[],_0x25cf17=0x0;_0x25cf17<_0xfcd027['commentsV2']['length'];++_0x25cf17)_0x4eaccf['commentsV2'][_0x25cf17]=_0x17ddb1['CommentDescriptor']['toObject'](_0xfcd027['commentsV2'][_0x25cf17],_0x21940c);}return null!=_0xfcd027['resolvedAt']&&_0xfcd027['hasOwnProperty']('resolvedAt')&&(_0x4eaccf['resolvedAt']=_0xfcd027['resolvedAt']),null!=_0xfcd027['resolvedBy']&&_0xfcd027['hasOwnProperty']('resolvedBy')&&(_0x4eaccf['resolvedBy']=_0xfcd027['resolvedBy']),null!=_0xfcd027['context']&&_0xfcd027['hasOwnProperty']('context')&&(_0x4eaccf['context']=_0xfcd027['context']),null!=_0xfcd027['createdAt']&&_0xfcd027['hasOwnProperty']('createdAt')&&(_0x4eaccf['createdAt']=_0xfcd027['createdAt']),null!=_0xfcd027['deletedAt']&&_0xfcd027['hasOwnProperty']('deletedAt')&&(_0x4eaccf['deletedAt']=_0xfcd027['deletedAt']),null!=_0xfcd027['attributes']&&_0xfcd027['hasOwnProperty']('attributes')&&(_0x4eaccf['attributes']=_0xfcd027['attributes']),null!=_0xfcd027['unlinkedAt']&&_0xfcd027['hasOwnProperty']('unlinkedAt')&&(_0x4eaccf['unlinkedAt']=_0xfcd027['unlinkedAt']),_0x4eaccf;},_0x1bc2b5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x1bc2b5['getTypeUrl']=function(_0x11cf29){return void 0x0===_0x11cf29&&(_0x11cf29='type.googleapis.com'),_0x11cf29+'/CommentsV2GetCommentThreadResponse';},_0x1bc2b5;}()),_0x17ddb1['CommentsV2ConnectResponse']=(function(){function _0x37dda0(_0x5deb49){if(this['threads']=[],this['threadsV2']=[],_0x5deb49){for(var _0xb5106d=Object['keys'](_0x5deb49),_0x530bc4=0x0;_0x530bc4<_0xb5106d['length'];++_0x530bc4)null!=_0x5deb49[_0xb5106d[_0x530bc4]]&&'__proto__'!==_0xb5106d[_0x530bc4]&&(this[_0xb5106d[_0x530bc4]]=_0x5deb49[_0xb5106d[_0x530bc4]]);}}return _0x37dda0['prototype']['channel']='',_0x37dda0['prototype']['threads']=_0x38eba6['emptyArray'],_0x37dda0['prototype']['threadsV2']=_0x38eba6['emptyArray'],_0x37dda0['create']=function(_0xa04d94){return new _0x37dda0(_0xa04d94);},_0x37dda0['encode']=function(_0x139ed8,_0x30dee1){if(_0x30dee1||(_0x30dee1=_0x4cef4a['create']()),null!=_0x139ed8['channel']&&Object['hasOwnProperty']['call'](_0x139ed8,'channel')&&_0x30dee1['uint32'](0xa)['string'](_0x139ed8['channel']),null!=_0x139ed8['threads']&&_0x139ed8['threads']['length']){for(var _0x11455f=0x0;_0x11455f<_0x139ed8['threads']['length'];++_0x11455f)_0x30dee1['uint32'](0x12)['string'](_0x139ed8['threads'][_0x11455f]);}if(null!=_0x139ed8['threadsV2']&&_0x139ed8['threadsV2']['length']){for(_0x11455f=0x0;_0x11455f<_0x139ed8['threadsV2']['length'];++_0x11455f)_0x17ddb1['CommentsThreadDescriptor']['encode'](_0x139ed8['threadsV2'][_0x11455f],_0x30dee1['uint32'](0x1a)['fork']())['ldelim']();}return _0x30dee1;},_0x37dda0['encodeDelimited']=function(_0x4b69b1,_0x1722a3){return this['encode'](_0x4b69b1,_0x1722a3)['ldelim']();},_0x37dda0['decode']=function(_0x329584,_0x1ee373,_0x3d5836,_0x3150dd){if(_0x329584 instanceof _0x4b9dbe||(_0x329584=_0x4b9dbe['create'](_0x329584)),void 0x0===_0x3150dd&&(_0x3150dd=0x0),_0x3150dd>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2c4552=void 0x0===_0x1ee373?_0x329584['len']:_0x329584['pos']+_0x1ee373,_0xa3dff5=new _0x17ddb1['CommentsV2ConnectResponse']();_0x329584['pos']<_0x2c4552;){var _0x120913=_0x329584['uint32']();if(_0x120913===_0x3d5836)break;switch(_0x120913>>>0x3){case 0x1:_0xa3dff5['channel']=_0x329584['string']();break;case 0x2:_0xa3dff5['threads']&&_0xa3dff5['threads']['length']||(_0xa3dff5['threads']=[]),_0xa3dff5['threads']['push'](_0x329584['string']());break;case 0x3:_0xa3dff5['threadsV2']&&_0xa3dff5['threadsV2']['length']||(_0xa3dff5['threadsV2']=[]),_0xa3dff5['threadsV2']['push'](_0x17ddb1['CommentsThreadDescriptor']['decode'](_0x329584,_0x329584['uint32'](),void 0x0,_0x3150dd+0x1));break;default:_0x329584['skipType'](0x7&_0x120913,_0x3150dd);}}return _0xa3dff5;},_0x37dda0['decodeDelimited']=function(_0x33e445){return _0x33e445 instanceof _0x4b9dbe||(_0x33e445=new _0x4b9dbe(_0x33e445)),this['decode'](_0x33e445,_0x33e445['uint32']());},_0x37dda0['verify']=function(_0x18fb26,_0x50b4e9){if('object'!=typeof _0x18fb26||null===_0x18fb26)return'object\x20expected';if(void 0x0===_0x50b4e9&&(_0x50b4e9=0x0),_0x50b4e9>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x18fb26['channel']&&_0x18fb26['hasOwnProperty']('channel')&&!_0x38eba6['isString'](_0x18fb26['channel']))return'channel:\x20string\x20expected';if(null!=_0x18fb26['threads']&&_0x18fb26['hasOwnProperty']('threads')){if(!Array['isArray'](_0x18fb26['threads']))return'threads:\x20array\x20expected';for(var _0x134823=0x0;_0x134823<_0x18fb26['threads']['length'];++_0x134823)if(!_0x38eba6['isString'](_0x18fb26['threads'][_0x134823]))return'threads:\x20string[]\x20expected';}if(null!=_0x18fb26['threadsV2']&&_0x18fb26['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x18fb26['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x134823=0x0;_0x134823<_0x18fb26['threadsV2']['length'];++_0x134823){var _0x2a4444=_0x17ddb1['CommentsThreadDescriptor']['verify'](_0x18fb26['threadsV2'][_0x134823],_0x50b4e9+0x1);if(_0x2a4444)return'threadsV2.'+_0x2a4444;}}return null;},_0x37dda0['fromObject']=function(_0x5aaf3a,_0x58d8a1){if(_0x5aaf3a instanceof _0x17ddb1['CommentsV2ConnectResponse'])return _0x5aaf3a;if(void 0x0===_0x58d8a1&&(_0x58d8a1=0x0),_0x58d8a1>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x28a8f3=new _0x17ddb1['CommentsV2ConnectResponse']();if(null!=_0x5aaf3a['channel']&&(_0x28a8f3['channel']=String(_0x5aaf3a['channel'])),_0x5aaf3a['threads']){if(!Array['isArray'](_0x5aaf3a['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x28a8f3['threads']=[];for(var _0x18cf26=0x0;_0x18cf26<_0x5aaf3a['threads']['length'];++_0x18cf26)_0x28a8f3['threads'][_0x18cf26]=String(_0x5aaf3a['threads'][_0x18cf26]);}if(_0x5aaf3a['threadsV2']){if(!Array['isArray'](_0x5aaf3a['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x28a8f3['threadsV2']=[],_0x18cf26=0x0;_0x18cf26<_0x5aaf3a['threadsV2']['length'];++_0x18cf26){if('object'!=typeof _0x5aaf3a['threadsV2'][_0x18cf26])throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x28a8f3['threadsV2'][_0x18cf26]=_0x17ddb1['CommentsThreadDescriptor']['fromObject'](_0x5aaf3a['threadsV2'][_0x18cf26],_0x58d8a1+0x1);}}return _0x28a8f3;},_0x37dda0['toObject']=function(_0x531f59,_0x28aa6c){_0x28aa6c||(_0x28aa6c={});var _0x2f89c8={};if((_0x28aa6c['arrays']||_0x28aa6c['defaults'])&&(_0x2f89c8['threads']=[],_0x2f89c8['threadsV2']=[]),_0x28aa6c['defaults']&&(_0x2f89c8['channel']=''),null!=_0x531f59['channel']&&_0x531f59['hasOwnProperty']('channel')&&(_0x2f89c8['channel']=_0x531f59['channel']),_0x531f59['threads']&&_0x531f59['threads']['length']){_0x2f89c8['threads']=[];for(var _0xb1136c=0x0;_0xb1136c<_0x531f59['threads']['length'];++_0xb1136c)_0x2f89c8['threads'][_0xb1136c]=_0x531f59['threads'][_0xb1136c];}if(_0x531f59['threadsV2']&&_0x531f59['threadsV2']['length']){for(_0x2f89c8['threadsV2']=[],_0xb1136c=0x0;_0xb1136c<_0x531f59['threadsV2']['length'];++_0xb1136c)_0x2f89c8['threadsV2'][_0xb1136c]=_0x17ddb1['CommentsThreadDescriptor']['toObject'](_0x531f59['threadsV2'][_0xb1136c],_0x28aa6c);}return _0x2f89c8;},_0x37dda0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x37dda0['getTypeUrl']=function(_0x38e06d){return void 0x0===_0x38e06d&&(_0x38e06d='type.googleapis.com'),_0x38e06d+'/CommentsV2ConnectResponse';},_0x37dda0;}()),_0x17ddb1['CommentsV2AddCommentResponse']=(function(){function _0x140d23(_0x52e3a9){if(_0x52e3a9){for(var _0x247bb9=Object['keys'](_0x52e3a9),_0x6d041e=0x0;_0x6d041e<_0x247bb9['length'];++_0x6d041e)null!=_0x52e3a9[_0x247bb9[_0x6d041e]]&&'__proto__'!==_0x247bb9[_0x6d041e]&&(this[_0x247bb9[_0x6d041e]]=_0x52e3a9[_0x247bb9[_0x6d041e]]);}}return _0x140d23['prototype']['commentThreadId']='',_0x140d23['prototype']['commentId']='',_0x140d23['prototype']['createdAt']='',_0x140d23['create']=function(_0x53c212){return new _0x140d23(_0x53c212);},_0x140d23['encode']=function(_0x558138,_0xef276){return _0xef276||(_0xef276=_0x4cef4a['create']()),null!=_0x558138['commentThreadId']&&Object['hasOwnProperty']['call'](_0x558138,'commentThreadId')&&_0xef276['uint32'](0xa)['string'](_0x558138['commentThreadId']),null!=_0x558138['commentId']&&Object['hasOwnProperty']['call'](_0x558138,'commentId')&&_0xef276['uint32'](0x12)['string'](_0x558138['commentId']),null!=_0x558138['createdAt']&&Object['hasOwnProperty']['call'](_0x558138,'createdAt')&&_0xef276['uint32'](0x1a)['string'](_0x558138['createdAt']),_0xef276;},_0x140d23['encodeDelimited']=function(_0x2bbcd1,_0x1f7f3b){return this['encode'](_0x2bbcd1,_0x1f7f3b)['ldelim']();},_0x140d23['decode']=function(_0x18ed3a,_0x4e6d95,_0x442e8c,_0x45ac93){if(_0x18ed3a instanceof _0x4b9dbe||(_0x18ed3a=_0x4b9dbe['create'](_0x18ed3a)),void 0x0===_0x45ac93&&(_0x45ac93=0x0),_0x45ac93>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x52998a=void 0x0===_0x4e6d95?_0x18ed3a['len']:_0x18ed3a['pos']+_0x4e6d95,_0x3c6167=new _0x17ddb1['CommentsV2AddCommentResponse']();_0x18ed3a['pos']<_0x52998a;){var _0x1ac69b=_0x18ed3a['uint32']();if(_0x1ac69b===_0x442e8c)break;switch(_0x1ac69b>>>0x3){case 0x1:_0x3c6167['commentThreadId']=_0x18ed3a['string']();break;case 0x2:_0x3c6167['commentId']=_0x18ed3a['string']();break;case 0x3:_0x3c6167['createdAt']=_0x18ed3a['string']();break;default:_0x18ed3a['skipType'](0x7&_0x1ac69b,_0x45ac93);}}return _0x3c6167;},_0x140d23['decodeDelimited']=function(_0x395673){return _0x395673 instanceof _0x4b9dbe||(_0x395673=new _0x4b9dbe(_0x395673)),this['decode'](_0x395673,_0x395673['uint32']());},_0x140d23['verify']=function(_0x1f2745,_0x859349){return'object'!=typeof _0x1f2745||null===_0x1f2745?'object\x20expected':(void 0x0===_0x859349&&(_0x859349=0x0),_0x859349>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1f2745['commentThreadId']&&_0x1f2745['hasOwnProperty']('commentThreadId')&&!_0x38eba6['isString'](_0x1f2745['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1f2745['commentId']&&_0x1f2745['hasOwnProperty']('commentId')&&!_0x38eba6['isString'](_0x1f2745['commentId'])?'commentId:\x20string\x20expected':null!=_0x1f2745['createdAt']&&_0x1f2745['hasOwnProperty']('createdAt')&&!_0x38eba6['isString'](_0x1f2745['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x140d23['fromObject']=function(_0x5e9e32,_0x33bdb5){if(_0x5e9e32 instanceof _0x17ddb1['CommentsV2AddCommentResponse'])return _0x5e9e32;if(void 0x0===_0x33bdb5&&(_0x33bdb5=0x0),_0x33bdb5>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xda3fb1=new _0x17ddb1['CommentsV2AddCommentResponse']();return null!=_0x5e9e32['commentThreadId']&&(_0xda3fb1['commentThreadId']=String(_0x5e9e32['commentThreadId'])),null!=_0x5e9e32['commentId']&&(_0xda3fb1['commentId']=String(_0x5e9e32['commentId'])),null!=_0x5e9e32['createdAt']&&(_0xda3fb1['createdAt']=String(_0x5e9e32['createdAt'])),_0xda3fb1;},_0x140d23['toObject']=function(_0x1d946c,_0xd09ed9){_0xd09ed9||(_0xd09ed9={});var _0x5700ef={};return _0xd09ed9['defaults']&&(_0x5700ef['commentThreadId']='',_0x5700ef['commentId']='',_0x5700ef['createdAt']=''),null!=_0x1d946c['commentThreadId']&&_0x1d946c['hasOwnProperty']('commentThreadId')&&(_0x5700ef['commentThreadId']=_0x1d946c['commentThreadId']),null!=_0x1d946c['commentId']&&_0x1d946c['hasOwnProperty']('commentId')&&(_0x5700ef['commentId']=_0x1d946c['commentId']),null!=_0x1d946c['createdAt']&&_0x1d946c['hasOwnProperty']('createdAt')&&(_0x5700ef['createdAt']=_0x1d946c['createdAt']),_0x5700ef;},_0x140d23['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x140d23['getTypeUrl']=function(_0x331bfa){return void 0x0===_0x331bfa&&(_0x331bfa='type.googleapis.com'),_0x331bfa+'/CommentsV2AddCommentResponse';},_0x140d23;}()),_0x17ddb1['CommentsV2ResolveCommentThreadResponse']=(function(){function _0x595df1(_0x46851a){if(_0x46851a){for(var _0x158793=Object['keys'](_0x46851a),_0x2e4ea1=0x0;_0x2e4ea1<_0x158793['length'];++_0x2e4ea1)null!=_0x46851a[_0x158793[_0x2e4ea1]]&&'__proto__'!==_0x158793[_0x2e4ea1]&&(this[_0x158793[_0x2e4ea1]]=_0x46851a[_0x158793[_0x2e4ea1]]);}}return _0x595df1['prototype']['commentThreadId']='',_0x595df1['prototype']['documentId']='',_0x595df1['prototype']['resolvedAt']='',_0x595df1['prototype']['resolvedBy']='',_0x595df1['create']=function(_0x243538){return new _0x595df1(_0x243538);},_0x595df1['encode']=function(_0xf4580b,_0x13e3b6){return _0x13e3b6||(_0x13e3b6=_0x4cef4a['create']()),null!=_0xf4580b['commentThreadId']&&Object['hasOwnProperty']['call'](_0xf4580b,'commentThreadId')&&_0x13e3b6['uint32'](0xa)['string'](_0xf4580b['commentThreadId']),null!=_0xf4580b['documentId']&&Object['hasOwnProperty']['call'](_0xf4580b,'documentId')&&_0x13e3b6['uint32'](0x12)['string'](_0xf4580b['documentId']),null!=_0xf4580b['resolvedAt']&&Object['hasOwnProperty']['call'](_0xf4580b,'resolvedAt')&&_0x13e3b6['uint32'](0x1a)['string'](_0xf4580b['resolvedAt']),null!=_0xf4580b['resolvedBy']&&Object['hasOwnProperty']['call'](_0xf4580b,'resolvedBy')&&_0x13e3b6['uint32'](0x22)['string'](_0xf4580b['resolvedBy']),_0x13e3b6;},_0x595df1['encodeDelimited']=function(_0x573533,_0x4f102c){return this['encode'](_0x573533,_0x4f102c)['ldelim']();},_0x595df1['decode']=function(_0x1d35e8,_0x224d92,_0x5176f5,_0x5c9593){if(_0x1d35e8 instanceof _0x4b9dbe||(_0x1d35e8=_0x4b9dbe['create'](_0x1d35e8)),void 0x0===_0x5c9593&&(_0x5c9593=0x0),_0x5c9593>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xb5d454=void 0x0===_0x224d92?_0x1d35e8['len']:_0x1d35e8['pos']+_0x224d92,_0x5cf2dc=new _0x17ddb1['CommentsV2ResolveCommentThreadResponse']();_0x1d35e8['pos']<_0xb5d454;){var _0x16f433=_0x1d35e8['uint32']();if(_0x16f433===_0x5176f5)break;switch(_0x16f433>>>0x3){case 0x1:_0x5cf2dc['commentThreadId']=_0x1d35e8['string']();break;case 0x2:_0x5cf2dc['documentId']=_0x1d35e8['string']();break;case 0x3:_0x5cf2dc['resolvedAt']=_0x1d35e8['string']();break;case 0x4:_0x5cf2dc['resolvedBy']=_0x1d35e8['string']();break;default:_0x1d35e8['skipType'](0x7&_0x16f433,_0x5c9593);}}return _0x5cf2dc;},_0x595df1['decodeDelimited']=function(_0x2dcf9a){return _0x2dcf9a instanceof _0x4b9dbe||(_0x2dcf9a=new _0x4b9dbe(_0x2dcf9a)),this['decode'](_0x2dcf9a,_0x2dcf9a['uint32']());},_0x595df1['verify']=function(_0x55a91a,_0x5ad611){return'object'!=typeof _0x55a91a||null===_0x55a91a?'object\x20expected':(void 0x0===_0x5ad611&&(_0x5ad611=0x0),_0x5ad611>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x55a91a['commentThreadId']&&_0x55a91a['hasOwnProperty']('commentThreadId')&&!_0x38eba6['isString'](_0x55a91a['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x55a91a['documentId']&&_0x55a91a['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x55a91a['documentId'])?'documentId:\x20string\x20expected':null!=_0x55a91a['resolvedAt']&&_0x55a91a['hasOwnProperty']('resolvedAt')&&!_0x38eba6['isString'](_0x55a91a['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x55a91a['resolvedBy']&&_0x55a91a['hasOwnProperty']('resolvedBy')&&!_0x38eba6['isString'](_0x55a91a['resolvedBy'])?'resolvedBy:\x20string\x20expected':null);},_0x595df1['fromObject']=function(_0x4236e7,_0x53c163){if(_0x4236e7 instanceof _0x17ddb1['CommentsV2ResolveCommentThreadResponse'])return _0x4236e7;if(void 0x0===_0x53c163&&(_0x53c163=0x0),_0x53c163>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x65da7d=new _0x17ddb1['CommentsV2ResolveCommentThreadResponse']();return null!=_0x4236e7['commentThreadId']&&(_0x65da7d['commentThreadId']=String(_0x4236e7['commentThreadId'])),null!=_0x4236e7['documentId']&&(_0x65da7d['documentId']=String(_0x4236e7['documentId'])),null!=_0x4236e7['resolvedAt']&&(_0x65da7d['resolvedAt']=String(_0x4236e7['resolvedAt'])),null!=_0x4236e7['resolvedBy']&&(_0x65da7d['resolvedBy']=String(_0x4236e7['resolvedBy'])),_0x65da7d;},_0x595df1['toObject']=function(_0x479c46,_0x535f38){_0x535f38||(_0x535f38={});var _0x275f6d={};return _0x535f38['defaults']&&(_0x275f6d['commentThreadId']='',_0x275f6d['documentId']='',_0x275f6d['resolvedAt']='',_0x275f6d['resolvedBy']=''),null!=_0x479c46['commentThreadId']&&_0x479c46['hasOwnProperty']('commentThreadId')&&(_0x275f6d['commentThreadId']=_0x479c46['commentThreadId']),null!=_0x479c46['documentId']&&_0x479c46['hasOwnProperty']('documentId')&&(_0x275f6d['documentId']=_0x479c46['documentId']),null!=_0x479c46['resolvedAt']&&_0x479c46['hasOwnProperty']('resolvedAt')&&(_0x275f6d['resolvedAt']=_0x479c46['resolvedAt']),null!=_0x479c46['resolvedBy']&&_0x479c46['hasOwnProperty']('resolvedBy')&&(_0x275f6d['resolvedBy']=_0x479c46['resolvedBy']),_0x275f6d;},_0x595df1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x595df1['getTypeUrl']=function(_0x31a980){return void 0x0===_0x31a980&&(_0x31a980='type.googleapis.com'),_0x31a980+'/CommentsV2ResolveCommentThreadResponse';},_0x595df1;}()),_0x17ddb1['CommentsV2AddCommentThreadResponse']=(function(){function _0x5a715b(_0x25a922){if(this['comments']=[],_0x25a922){for(var _0x3085f8=Object['keys'](_0x25a922),_0x297cb7=0x0;_0x297cb7<_0x3085f8['length'];++_0x297cb7)null!=_0x25a922[_0x3085f8[_0x297cb7]]&&'__proto__'!==_0x3085f8[_0x297cb7]&&(this[_0x3085f8[_0x297cb7]]=_0x25a922[_0x3085f8[_0x297cb7]]);}}return _0x5a715b['prototype']['commentThreadId']='',_0x5a715b['prototype']['createdAt']='',_0x5a715b['prototype']['comments']=_0x38eba6['emptyArray'],_0x5a715b['create']=function(_0x39aae5){return new _0x5a715b(_0x39aae5);},_0x5a715b['encode']=function(_0x47cf84,_0x4a2296){if(_0x4a2296||(_0x4a2296=_0x4cef4a['create']()),null!=_0x47cf84['commentThreadId']&&Object['hasOwnProperty']['call'](_0x47cf84,'commentThreadId')&&_0x4a2296['uint32'](0xa)['string'](_0x47cf84['commentThreadId']),null!=_0x47cf84['createdAt']&&Object['hasOwnProperty']['call'](_0x47cf84,'createdAt')&&_0x4a2296['uint32'](0x12)['string'](_0x47cf84['createdAt']),null!=_0x47cf84['comments']&&_0x47cf84['comments']['length']){for(var _0x23f362=0x0;_0x23f362<_0x47cf84['comments']['length'];++_0x23f362)_0x17ddb1['CommentThreadAddedCommentDescriptor']['encode'](_0x47cf84['comments'][_0x23f362],_0x4a2296['uint32'](0x1a)['fork']())['ldelim']();}return _0x4a2296;},_0x5a715b['encodeDelimited']=function(_0x5e541c,_0x375002){return this['encode'](_0x5e541c,_0x375002)['ldelim']();},_0x5a715b['decode']=function(_0x4bb74b,_0x5d3f32,_0x1810f5,_0x1406ec){if(_0x4bb74b instanceof _0x4b9dbe||(_0x4bb74b=_0x4b9dbe['create'](_0x4bb74b)),void 0x0===_0x1406ec&&(_0x1406ec=0x0),_0x1406ec>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x46119e=void 0x0===_0x5d3f32?_0x4bb74b['len']:_0x4bb74b['pos']+_0x5d3f32,_0xbd8042=new _0x17ddb1['CommentsV2AddCommentThreadResponse']();_0x4bb74b['pos']<_0x46119e;){var _0x4d9a9c=_0x4bb74b['uint32']();if(_0x4d9a9c===_0x1810f5)break;switch(_0x4d9a9c>>>0x3){case 0x1:_0xbd8042['commentThreadId']=_0x4bb74b['string']();break;case 0x2:_0xbd8042['createdAt']=_0x4bb74b['string']();break;case 0x3:_0xbd8042['comments']&&_0xbd8042['comments']['length']||(_0xbd8042['comments']=[]),_0xbd8042['comments']['push'](_0x17ddb1['CommentThreadAddedCommentDescriptor']['decode'](_0x4bb74b,_0x4bb74b['uint32'](),void 0x0,_0x1406ec+0x1));break;default:_0x4bb74b['skipType'](0x7&_0x4d9a9c,_0x1406ec);}}return _0xbd8042;},_0x5a715b['decodeDelimited']=function(_0x24a1cf){return _0x24a1cf instanceof _0x4b9dbe||(_0x24a1cf=new _0x4b9dbe(_0x24a1cf)),this['decode'](_0x24a1cf,_0x24a1cf['uint32']());},_0x5a715b['verify']=function(_0x17f5ba,_0x374448){if('object'!=typeof _0x17f5ba||null===_0x17f5ba)return'object\x20expected';if(void 0x0===_0x374448&&(_0x374448=0x0),_0x374448>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x17f5ba['commentThreadId']&&_0x17f5ba['hasOwnProperty']('commentThreadId')&&!_0x38eba6['isString'](_0x17f5ba['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x17f5ba['createdAt']&&_0x17f5ba['hasOwnProperty']('createdAt')&&!_0x38eba6['isString'](_0x17f5ba['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x17f5ba['comments']&&_0x17f5ba['hasOwnProperty']('comments')){if(!Array['isArray'](_0x17f5ba['comments']))return'comments:\x20array\x20expected';for(var _0x4adf8c=0x0;_0x4adf8c<_0x17f5ba['comments']['length'];++_0x4adf8c){var _0x2943c8=_0x17ddb1['CommentThreadAddedCommentDescriptor']['verify'](_0x17f5ba['comments'][_0x4adf8c],_0x374448+0x1);if(_0x2943c8)return'comments.'+_0x2943c8;}}return null;},_0x5a715b['fromObject']=function(_0x2f9e64,_0x26263a){if(_0x2f9e64 instanceof _0x17ddb1['CommentsV2AddCommentThreadResponse'])return _0x2f9e64;if(void 0x0===_0x26263a&&(_0x26263a=0x0),_0x26263a>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x65f70f=new _0x17ddb1['CommentsV2AddCommentThreadResponse']();if(null!=_0x2f9e64['commentThreadId']&&(_0x65f70f['commentThreadId']=String(_0x2f9e64['commentThreadId'])),null!=_0x2f9e64['createdAt']&&(_0x65f70f['createdAt']=String(_0x2f9e64['createdAt'])),_0x2f9e64['comments']){if(!Array['isArray'](_0x2f9e64['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x65f70f['comments']=[];for(var _0x14d9a3=0x0;_0x14d9a3<_0x2f9e64['comments']['length'];++_0x14d9a3){if('object'!=typeof _0x2f9e64['comments'][_0x14d9a3])throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x65f70f['comments'][_0x14d9a3]=_0x17ddb1['CommentThreadAddedCommentDescriptor']['fromObject'](_0x2f9e64['comments'][_0x14d9a3],_0x26263a+0x1);}}return _0x65f70f;},_0x5a715b['toObject']=function(_0x273a45,_0x1c8c97){_0x1c8c97||(_0x1c8c97={});var _0x44547c={};if((_0x1c8c97['arrays']||_0x1c8c97['defaults'])&&(_0x44547c['comments']=[]),_0x1c8c97['defaults']&&(_0x44547c['commentThreadId']='',_0x44547c['createdAt']=''),null!=_0x273a45['commentThreadId']&&_0x273a45['hasOwnProperty']('commentThreadId')&&(_0x44547c['commentThreadId']=_0x273a45['commentThreadId']),null!=_0x273a45['createdAt']&&_0x273a45['hasOwnProperty']('createdAt')&&(_0x44547c['createdAt']=_0x273a45['createdAt']),_0x273a45['comments']&&_0x273a45['comments']['length']){_0x44547c['comments']=[];for(var _0x575440=0x0;_0x575440<_0x273a45['comments']['length'];++_0x575440)_0x44547c['comments'][_0x575440]=_0x17ddb1['CommentThreadAddedCommentDescriptor']['toObject'](_0x273a45['comments'][_0x575440],_0x1c8c97);}return _0x44547c;},_0x5a715b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x5a715b['getTypeUrl']=function(_0x3da404){return void 0x0===_0x3da404&&(_0x3da404='type.googleapis.com'),_0x3da404+'/CommentsV2AddCommentThreadResponse';},_0x5a715b;}()),_0x17ddb1['CommentsV2UpdateCommentMessage']=(function(){function _0x30ef12(_0x3252ba){if(_0x3252ba){for(var _0x2bf757=Object['keys'](_0x3252ba),_0x56f543=0x0;_0x56f543<_0x2bf757['length'];++_0x56f543)null!=_0x3252ba[_0x2bf757[_0x56f543]]&&'__proto__'!==_0x2bf757[_0x56f543]&&(this[_0x2bf757[_0x56f543]]=_0x3252ba[_0x2bf757[_0x56f543]]);}}return _0x30ef12['prototype']['commentThreadId']='',_0x30ef12['prototype']['commentId']='',_0x30ef12['prototype']['content']='',_0x30ef12['prototype']['documentId']='',_0x30ef12['prototype']['attributes']='',_0x30ef12['prototype']['isAttributesUpdated']=!0x1,_0x30ef12['prototype']['commentThread']=null,_0x30ef12['create']=function(_0x3c3235){return new _0x30ef12(_0x3c3235);},_0x30ef12['encode']=function(_0x40b52b,_0x426867){return _0x426867||(_0x426867=_0x4cef4a['create']()),null!=_0x40b52b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x40b52b,'commentThreadId')&&_0x426867['uint32'](0xa)['string'](_0x40b52b['commentThreadId']),null!=_0x40b52b['commentId']&&Object['hasOwnProperty']['call'](_0x40b52b,'commentId')&&_0x426867['uint32'](0x12)['string'](_0x40b52b['commentId']),null!=_0x40b52b['content']&&Object['hasOwnProperty']['call'](_0x40b52b,'content')&&_0x426867['uint32'](0x1a)['string'](_0x40b52b['content']),null!=_0x40b52b['documentId']&&Object['hasOwnProperty']['call'](_0x40b52b,'documentId')&&_0x426867['uint32'](0x22)['string'](_0x40b52b['documentId']),null!=_0x40b52b['attributes']&&Object['hasOwnProperty']['call'](_0x40b52b,'attributes')&&_0x426867['uint32'](0x2a)['string'](_0x40b52b['attributes']),null!=_0x40b52b['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x40b52b,'isAttributesUpdated')&&_0x426867['uint32'](0x30)['bool'](_0x40b52b['isAttributesUpdated']),null!=_0x40b52b['commentThread']&&Object['hasOwnProperty']['call'](_0x40b52b,'commentThread')&&_0x17ddb1['CommentsThreadDescriptor']['encode'](_0x40b52b['commentThread'],_0x426867['uint32'](0x3a)['fork']())['ldelim'](),_0x426867;},_0x30ef12['encodeDelimited']=function(_0x4ccf0a,_0x1963c3){return this['encode'](_0x4ccf0a,_0x1963c3)['ldelim']();},_0x30ef12['decode']=function(_0x3ea215,_0x5aad16,_0x108550,_0x4e0969){if(_0x3ea215 instanceof _0x4b9dbe||(_0x3ea215=_0x4b9dbe['create'](_0x3ea215)),void 0x0===_0x4e0969&&(_0x4e0969=0x0),_0x4e0969>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x20fd05=void 0x0===_0x5aad16?_0x3ea215['len']:_0x3ea215['pos']+_0x5aad16,_0xc30e55=new _0x17ddb1['CommentsV2UpdateCommentMessage']();_0x3ea215['pos']<_0x20fd05;){var _0x4e0f4a=_0x3ea215['uint32']();if(_0x4e0f4a===_0x108550)break;switch(_0x4e0f4a>>>0x3){case 0x1:_0xc30e55['commentThreadId']=_0x3ea215['string']();break;case 0x2:_0xc30e55['commentId']=_0x3ea215['string']();break;case 0x3:_0xc30e55['content']=_0x3ea215['string']();break;case 0x4:_0xc30e55['documentId']=_0x3ea215['string']();break;case 0x5:_0xc30e55['attributes']=_0x3ea215['string']();break;case 0x6:_0xc30e55['isAttributesUpdated']=_0x3ea215['bool']();break;case 0x7:_0xc30e55['commentThread']=_0x17ddb1['CommentsThreadDescriptor']['decode'](_0x3ea215,_0x3ea215['uint32'](),void 0x0,_0x4e0969+0x1);break;default:_0x3ea215['skipType'](0x7&_0x4e0f4a,_0x4e0969);}}return _0xc30e55;},_0x30ef12['decodeDelimited']=function(_0x1d0dd2){return _0x1d0dd2 instanceof _0x4b9dbe||(_0x1d0dd2=new _0x4b9dbe(_0x1d0dd2)),this['decode'](_0x1d0dd2,_0x1d0dd2['uint32']());},_0x30ef12['verify']=function(_0x323ec7,_0x477a6c){if('object'!=typeof _0x323ec7||null===_0x323ec7)return'object\x20expected';if(void 0x0===_0x477a6c&&(_0x477a6c=0x0),_0x477a6c>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x323ec7['commentThreadId']&&_0x323ec7['hasOwnProperty']('commentThreadId')&&!_0x38eba6['isString'](_0x323ec7['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x323ec7['commentId']&&_0x323ec7['hasOwnProperty']('commentId')&&!_0x38eba6['isString'](_0x323ec7['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x323ec7['content']&&_0x323ec7['hasOwnProperty']('content')&&!_0x38eba6['isString'](_0x323ec7['content']))return'content:\x20string\x20expected';if(null!=_0x323ec7['documentId']&&_0x323ec7['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x323ec7['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x323ec7['attributes']&&_0x323ec7['hasOwnProperty']('attributes')&&!_0x38eba6['isString'](_0x323ec7['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x323ec7['isAttributesUpdated']&&_0x323ec7['hasOwnProperty']('isAttributesUpdated')&&'boolean'!=typeof _0x323ec7['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x323ec7['commentThread']&&_0x323ec7['hasOwnProperty']('commentThread')){var _0x5a3dbe=_0x17ddb1['CommentsThreadDescriptor']['verify'](_0x323ec7['commentThread'],_0x477a6c+0x1);if(_0x5a3dbe)return'commentThread.'+_0x5a3dbe;}return null;},_0x30ef12['fromObject']=function(_0x57dd05,_0x5f4c30){if(_0x57dd05 instanceof _0x17ddb1['CommentsV2UpdateCommentMessage'])return _0x57dd05;if(void 0x0===_0x5f4c30&&(_0x5f4c30=0x0),_0x5f4c30>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x532c0b=new _0x17ddb1['CommentsV2UpdateCommentMessage']();if(null!=_0x57dd05['commentThreadId']&&(_0x532c0b['commentThreadId']=String(_0x57dd05['commentThreadId'])),null!=_0x57dd05['commentId']&&(_0x532c0b['commentId']=String(_0x57dd05['commentId'])),null!=_0x57dd05['content']&&(_0x532c0b['content']=String(_0x57dd05['content'])),null!=_0x57dd05['documentId']&&(_0x532c0b['documentId']=String(_0x57dd05['documentId'])),null!=_0x57dd05['attributes']&&(_0x532c0b['attributes']=String(_0x57dd05['attributes'])),null!=_0x57dd05['isAttributesUpdated']&&(_0x532c0b['isAttributesUpdated']=Boolean(_0x57dd05['isAttributesUpdated'])),null!=_0x57dd05['commentThread']){if('object'!=typeof _0x57dd05['commentThread'])throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x532c0b['commentThread']=_0x17ddb1['CommentsThreadDescriptor']['fromObject'](_0x57dd05['commentThread'],_0x5f4c30+0x1);}return _0x532c0b;},_0x30ef12['toObject']=function(_0x5a1166,_0x49ce9b){_0x49ce9b||(_0x49ce9b={});var _0x55130c={};return _0x49ce9b['defaults']&&(_0x55130c['commentThreadId']='',_0x55130c['commentId']='',_0x55130c['content']='',_0x55130c['documentId']='',_0x55130c['attributes']='',_0x55130c['isAttributesUpdated']=!0x1,_0x55130c['commentThread']=null),null!=_0x5a1166['commentThreadId']&&_0x5a1166['hasOwnProperty']('commentThreadId')&&(_0x55130c['commentThreadId']=_0x5a1166['commentThreadId']),null!=_0x5a1166['commentId']&&_0x5a1166['hasOwnProperty']('commentId')&&(_0x55130c['commentId']=_0x5a1166['commentId']),null!=_0x5a1166['content']&&_0x5a1166['hasOwnProperty']('content')&&(_0x55130c['content']=_0x5a1166['content']),null!=_0x5a1166['documentId']&&_0x5a1166['hasOwnProperty']('documentId')&&(_0x55130c['documentId']=_0x5a1166['documentId']),null!=_0x5a1166['attributes']&&_0x5a1166['hasOwnProperty']('attributes')&&(_0x55130c['attributes']=_0x5a1166['attributes']),null!=_0x5a1166['isAttributesUpdated']&&_0x5a1166['hasOwnProperty']('isAttributesUpdated')&&(_0x55130c['isAttributesUpdated']=_0x5a1166['isAttributesUpdated']),null!=_0x5a1166['commentThread']&&_0x5a1166['hasOwnProperty']('commentThread')&&(_0x55130c['commentThread']=_0x17ddb1['CommentsThreadDescriptor']['toObject'](_0x5a1166['commentThread'],_0x49ce9b)),_0x55130c;},_0x30ef12['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x30ef12['getTypeUrl']=function(_0xa12837){return void 0x0===_0xa12837&&(_0xa12837='type.googleapis.com'),_0xa12837+'/CommentsV2UpdateCommentMessage';},_0x30ef12;}()),_0x17ddb1['CommentsV2RemoveCommentThreadMessage']=(function(){function _0x16514d(_0x215d2d){if(_0x215d2d){for(var _0x22f52a=Object['keys'](_0x215d2d),_0x174ae7=0x0;_0x174ae7<_0x22f52a['length'];++_0x174ae7)null!=_0x215d2d[_0x22f52a[_0x174ae7]]&&'__proto__'!==_0x22f52a[_0x174ae7]&&(this[_0x22f52a[_0x174ae7]]=_0x215d2d[_0x22f52a[_0x174ae7]]);}}return _0x16514d['prototype']['commentThreadId']='',_0x16514d['prototype']['documentId']='',_0x16514d['create']=function(_0x209ca5){return new _0x16514d(_0x209ca5);},_0x16514d['encode']=function(_0x4c1aec,_0x58f3ed){return _0x58f3ed||(_0x58f3ed=_0x4cef4a['create']()),null!=_0x4c1aec['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4c1aec,'commentThreadId')&&_0x58f3ed['uint32'](0xa)['string'](_0x4c1aec['commentThreadId']),null!=_0x4c1aec['documentId']&&Object['hasOwnProperty']['call'](_0x4c1aec,'documentId')&&_0x58f3ed['uint32'](0x12)['string'](_0x4c1aec['documentId']),_0x58f3ed;},_0x16514d['encodeDelimited']=function(_0x3f0d3b,_0x315e27){return this['encode'](_0x3f0d3b,_0x315e27)['ldelim']();},_0x16514d['decode']=function(_0x3a4410,_0x1ee3cc,_0x3bdcb0,_0x341d32){if(_0x3a4410 instanceof _0x4b9dbe||(_0x3a4410=_0x4b9dbe['create'](_0x3a4410)),void 0x0===_0x341d32&&(_0x341d32=0x0),_0x341d32>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x24bebd=void 0x0===_0x1ee3cc?_0x3a4410['len']:_0x3a4410['pos']+_0x1ee3cc,_0x81c9f0=new _0x17ddb1['CommentsV2RemoveCommentThreadMessage']();_0x3a4410['pos']<_0x24bebd;){var _0xe1e797=_0x3a4410['uint32']();if(_0xe1e797===_0x3bdcb0)break;switch(_0xe1e797>>>0x3){case 0x1:_0x81c9f0['commentThreadId']=_0x3a4410['string']();break;case 0x2:_0x81c9f0['documentId']=_0x3a4410['string']();break;default:_0x3a4410['skipType'](0x7&_0xe1e797,_0x341d32);}}return _0x81c9f0;},_0x16514d['decodeDelimited']=function(_0x3bba21){return _0x3bba21 instanceof _0x4b9dbe||(_0x3bba21=new _0x4b9dbe(_0x3bba21)),this['decode'](_0x3bba21,_0x3bba21['uint32']());},_0x16514d['verify']=function(_0x34c99b,_0x308345){return'object'!=typeof _0x34c99b||null===_0x34c99b?'object\x20expected':(void 0x0===_0x308345&&(_0x308345=0x0),_0x308345>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x34c99b['commentThreadId']&&_0x34c99b['hasOwnProperty']('commentThreadId')&&!_0x38eba6['isString'](_0x34c99b['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x34c99b['documentId']&&_0x34c99b['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x34c99b['documentId'])?'documentId:\x20string\x20expected':null);},_0x16514d['fromObject']=function(_0x447199,_0x527948){if(_0x447199 instanceof _0x17ddb1['CommentsV2RemoveCommentThreadMessage'])return _0x447199;if(void 0x0===_0x527948&&(_0x527948=0x0),_0x527948>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1e659a=new _0x17ddb1['CommentsV2RemoveCommentThreadMessage']();return null!=_0x447199['commentThreadId']&&(_0x1e659a['commentThreadId']=String(_0x447199['commentThreadId'])),null!=_0x447199['documentId']&&(_0x1e659a['documentId']=String(_0x447199['documentId'])),_0x1e659a;},_0x16514d['toObject']=function(_0x1db720,_0x65638){_0x65638||(_0x65638={});var _0x473e20={};return _0x65638['defaults']&&(_0x473e20['commentThreadId']='',_0x473e20['documentId']=''),null!=_0x1db720['commentThreadId']&&_0x1db720['hasOwnProperty']('commentThreadId')&&(_0x473e20['commentThreadId']=_0x1db720['commentThreadId']),null!=_0x1db720['documentId']&&_0x1db720['hasOwnProperty']('documentId')&&(_0x473e20['documentId']=_0x1db720['documentId']),_0x473e20;},_0x16514d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x16514d['getTypeUrl']=function(_0x3e54d1){return void 0x0===_0x3e54d1&&(_0x3e54d1='type.googleapis.com'),_0x3e54d1+'/CommentsV2RemoveCommentThreadMessage';},_0x16514d;}()),_0x17ddb1['CommentsV2RemoveCommentMessage']=(function(){function _0x514773(_0x395d51){if(_0x395d51){for(var _0x298920=Object['keys'](_0x395d51),_0x14c81d=0x0;_0x14c81d<_0x298920['length'];++_0x14c81d)null!=_0x395d51[_0x298920[_0x14c81d]]&&'__proto__'!==_0x298920[_0x14c81d]&&(this[_0x298920[_0x14c81d]]=_0x395d51[_0x298920[_0x14c81d]]);}}return _0x514773['prototype']['commentThreadId']='',_0x514773['prototype']['commentId']='',_0x514773['prototype']['documentId']='',_0x514773['create']=function(_0x431274){return new _0x514773(_0x431274);},_0x514773['encode']=function(_0x15e267,_0x4e4fd1){return _0x4e4fd1||(_0x4e4fd1=_0x4cef4a['create']()),null!=_0x15e267['commentThreadId']&&Object['hasOwnProperty']['call'](_0x15e267,'commentThreadId')&&_0x4e4fd1['uint32'](0xa)['string'](_0x15e267['commentThreadId']),null!=_0x15e267['commentId']&&Object['hasOwnProperty']['call'](_0x15e267,'commentId')&&_0x4e4fd1['uint32'](0x12)['string'](_0x15e267['commentId']),null!=_0x15e267['documentId']&&Object['hasOwnProperty']['call'](_0x15e267,'documentId')&&_0x4e4fd1['uint32'](0x1a)['string'](_0x15e267['documentId']),_0x4e4fd1;},_0x514773['encodeDelimited']=function(_0x5ddaa8,_0xed462e){return this['encode'](_0x5ddaa8,_0xed462e)['ldelim']();},_0x514773['decode']=function(_0x2f1352,_0x401722,_0x4b144b,_0x6109c7){if(_0x2f1352 instanceof _0x4b9dbe||(_0x2f1352=_0x4b9dbe['create'](_0x2f1352)),void 0x0===_0x6109c7&&(_0x6109c7=0x0),_0x6109c7>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4df5da=void 0x0===_0x401722?_0x2f1352['len']:_0x2f1352['pos']+_0x401722,_0x33907e=new _0x17ddb1['CommentsV2RemoveCommentMessage']();_0x2f1352['pos']<_0x4df5da;){var _0x10ad26=_0x2f1352['uint32']();if(_0x10ad26===_0x4b144b)break;switch(_0x10ad26>>>0x3){case 0x1:_0x33907e['commentThreadId']=_0x2f1352['string']();break;case 0x2:_0x33907e['commentId']=_0x2f1352['string']();break;case 0x3:_0x33907e['documentId']=_0x2f1352['string']();break;default:_0x2f1352['skipType'](0x7&_0x10ad26,_0x6109c7);}}return _0x33907e;},_0x514773['decodeDelimited']=function(_0x360f83){return _0x360f83 instanceof _0x4b9dbe||(_0x360f83=new _0x4b9dbe(_0x360f83)),this['decode'](_0x360f83,_0x360f83['uint32']());},_0x514773['verify']=function(_0x4918a8,_0xd9bd72){return'object'!=typeof _0x4918a8||null===_0x4918a8?'object\x20expected':(void 0x0===_0xd9bd72&&(_0xd9bd72=0x0),_0xd9bd72>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4918a8['commentThreadId']&&_0x4918a8['hasOwnProperty']('commentThreadId')&&!_0x38eba6['isString'](_0x4918a8['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x4918a8['commentId']&&_0x4918a8['hasOwnProperty']('commentId')&&!_0x38eba6['isString'](_0x4918a8['commentId'])?'commentId:\x20string\x20expected':null!=_0x4918a8['documentId']&&_0x4918a8['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x4918a8['documentId'])?'documentId:\x20string\x20expected':null);},_0x514773['fromObject']=function(_0xa03636,_0x3dd108){if(_0xa03636 instanceof _0x17ddb1['CommentsV2RemoveCommentMessage'])return _0xa03636;if(void 0x0===_0x3dd108&&(_0x3dd108=0x0),_0x3dd108>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5a3639=new _0x17ddb1['CommentsV2RemoveCommentMessage']();return null!=_0xa03636['commentThreadId']&&(_0x5a3639['commentThreadId']=String(_0xa03636['commentThreadId'])),null!=_0xa03636['commentId']&&(_0x5a3639['commentId']=String(_0xa03636['commentId'])),null!=_0xa03636['documentId']&&(_0x5a3639['documentId']=String(_0xa03636['documentId'])),_0x5a3639;},_0x514773['toObject']=function(_0x2c7a95,_0xe1bf39){_0xe1bf39||(_0xe1bf39={});var _0x4ee217={};return _0xe1bf39['defaults']&&(_0x4ee217['commentThreadId']='',_0x4ee217['commentId']='',_0x4ee217['documentId']=''),null!=_0x2c7a95['commentThreadId']&&_0x2c7a95['hasOwnProperty']('commentThreadId')&&(_0x4ee217['commentThreadId']=_0x2c7a95['commentThreadId']),null!=_0x2c7a95['commentId']&&_0x2c7a95['hasOwnProperty']('commentId')&&(_0x4ee217['commentId']=_0x2c7a95['commentId']),null!=_0x2c7a95['documentId']&&_0x2c7a95['hasOwnProperty']('documentId')&&(_0x4ee217['documentId']=_0x2c7a95['documentId']),_0x4ee217;},_0x514773['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x514773['getTypeUrl']=function(_0x46375d){return void 0x0===_0x46375d&&(_0x46375d='type.googleapis.com'),_0x46375d+'/CommentsV2RemoveCommentMessage';},_0x514773;}()),_0x17ddb1['CommentsV2GetDocumentThreadsMessage']=(function(){function _0x12fd72(_0x11d13a){if(_0x11d13a){for(var _0x4ecc1e=Object['keys'](_0x11d13a),_0x4e506c=0x0;_0x4e506c<_0x4ecc1e['length'];++_0x4e506c)null!=_0x11d13a[_0x4ecc1e[_0x4e506c]]&&'__proto__'!==_0x4ecc1e[_0x4e506c]&&(this[_0x4ecc1e[_0x4e506c]]=_0x11d13a[_0x4ecc1e[_0x4e506c]]);}}return _0x12fd72['prototype']['documentId']='',_0x12fd72['create']=function(_0x48aaf7){return new _0x12fd72(_0x48aaf7);},_0x12fd72['encode']=function(_0x56e0ce,_0x336bf6){return _0x336bf6||(_0x336bf6=_0x4cef4a['create']()),null!=_0x56e0ce['documentId']&&Object['hasOwnProperty']['call'](_0x56e0ce,'documentId')&&_0x336bf6['uint32'](0xa)['string'](_0x56e0ce['documentId']),_0x336bf6;},_0x12fd72['encodeDelimited']=function(_0x3a2fa7,_0x1ec24a){return this['encode'](_0x3a2fa7,_0x1ec24a)['ldelim']();},_0x12fd72['decode']=function(_0x5dd25f,_0x58c465,_0x2f8c04,_0x2a994a){if(_0x5dd25f instanceof _0x4b9dbe||(_0x5dd25f=_0x4b9dbe['create'](_0x5dd25f)),void 0x0===_0x2a994a&&(_0x2a994a=0x0),_0x2a994a>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x276bad=void 0x0===_0x58c465?_0x5dd25f['len']:_0x5dd25f['pos']+_0x58c465,_0x36f8f9=new _0x17ddb1['CommentsV2GetDocumentThreadsMessage']();_0x5dd25f['pos']<_0x276bad;){var _0x51dbef=_0x5dd25f['uint32']();if(_0x51dbef===_0x2f8c04)break;_0x51dbef>>>0x3==0x1?_0x36f8f9['documentId']=_0x5dd25f['string']():_0x5dd25f['skipType'](0x7&_0x51dbef,_0x2a994a);}return _0x36f8f9;},_0x12fd72['decodeDelimited']=function(_0x179a2a){return _0x179a2a instanceof _0x4b9dbe||(_0x179a2a=new _0x4b9dbe(_0x179a2a)),this['decode'](_0x179a2a,_0x179a2a['uint32']());},_0x12fd72['verify']=function(_0x175686,_0xf1891b){return'object'!=typeof _0x175686||null===_0x175686?'object\x20expected':(void 0x0===_0xf1891b&&(_0xf1891b=0x0),_0xf1891b>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x175686['documentId']&&_0x175686['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x175686['documentId'])?'documentId:\x20string\x20expected':null);},_0x12fd72['fromObject']=function(_0x5af231,_0x242ba3){if(_0x5af231 instanceof _0x17ddb1['CommentsV2GetDocumentThreadsMessage'])return _0x5af231;if(void 0x0===_0x242ba3&&(_0x242ba3=0x0),_0x242ba3>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x7f0ead=new _0x17ddb1['CommentsV2GetDocumentThreadsMessage']();return null!=_0x5af231['documentId']&&(_0x7f0ead['documentId']=String(_0x5af231['documentId'])),_0x7f0ead;},_0x12fd72['toObject']=function(_0x15551c,_0x4f167b){_0x4f167b||(_0x4f167b={});var _0x1709a2={};return _0x4f167b['defaults']&&(_0x1709a2['documentId']=''),null!=_0x15551c['documentId']&&_0x15551c['hasOwnProperty']('documentId')&&(_0x1709a2['documentId']=_0x15551c['documentId']),_0x1709a2;},_0x12fd72['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x12fd72['getTypeUrl']=function(_0x1fa6d4){return void 0x0===_0x1fa6d4&&(_0x1fa6d4='type.googleapis.com'),_0x1fa6d4+'/CommentsV2GetDocumentThreadsMessage';},_0x12fd72;}()),_0x17ddb1['CommentsV2GetCommentThreadMessage']=(function(){function _0x2b19fb(_0x469a93){if(_0x469a93){for(var _0x6b8280=Object['keys'](_0x469a93),_0x33f2e3=0x0;_0x33f2e3<_0x6b8280['length'];++_0x33f2e3)null!=_0x469a93[_0x6b8280[_0x33f2e3]]&&'__proto__'!==_0x6b8280[_0x33f2e3]&&(this[_0x6b8280[_0x33f2e3]]=_0x469a93[_0x6b8280[_0x33f2e3]]);}}return _0x2b19fb['prototype']['commentThreadId']='',_0x2b19fb['prototype']['documentId']='',_0x2b19fb['create']=function(_0x23cac6){return new _0x2b19fb(_0x23cac6);},_0x2b19fb['encode']=function(_0x4ad1cc,_0x66df82){return _0x66df82||(_0x66df82=_0x4cef4a['create']()),null!=_0x4ad1cc['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4ad1cc,'commentThreadId')&&_0x66df82['uint32'](0xa)['string'](_0x4ad1cc['commentThreadId']),null!=_0x4ad1cc['documentId']&&Object['hasOwnProperty']['call'](_0x4ad1cc,'documentId')&&_0x66df82['uint32'](0x12)['string'](_0x4ad1cc['documentId']),_0x66df82;},_0x2b19fb['encodeDelimited']=function(_0x5aba9f,_0x30be1e){return this['encode'](_0x5aba9f,_0x30be1e)['ldelim']();},_0x2b19fb['decode']=function(_0x2cd8a1,_0x396479,_0x3d1c8a,_0x31283a){if(_0x2cd8a1 instanceof _0x4b9dbe||(_0x2cd8a1=_0x4b9dbe['create'](_0x2cd8a1)),void 0x0===_0x31283a&&(_0x31283a=0x0),_0x31283a>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x34f1a0=void 0x0===_0x396479?_0x2cd8a1['len']:_0x2cd8a1['pos']+_0x396479,_0x511cf6=new _0x17ddb1['CommentsV2GetCommentThreadMessage']();_0x2cd8a1['pos']<_0x34f1a0;){var _0x542bda=_0x2cd8a1['uint32']();if(_0x542bda===_0x3d1c8a)break;switch(_0x542bda>>>0x3){case 0x1:_0x511cf6['commentThreadId']=_0x2cd8a1['string']();break;case 0x2:_0x511cf6['documentId']=_0x2cd8a1['string']();break;default:_0x2cd8a1['skipType'](0x7&_0x542bda,_0x31283a);}}return _0x511cf6;},_0x2b19fb['decodeDelimited']=function(_0x2619a7){return _0x2619a7 instanceof _0x4b9dbe||(_0x2619a7=new _0x4b9dbe(_0x2619a7)),this['decode'](_0x2619a7,_0x2619a7['uint32']());},_0x2b19fb['verify']=function(_0xeb0b2a,_0x52c152){return'object'!=typeof _0xeb0b2a||null===_0xeb0b2a?'object\x20expected':(void 0x0===_0x52c152&&(_0x52c152=0x0),_0x52c152>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xeb0b2a['commentThreadId']&&_0xeb0b2a['hasOwnProperty']('commentThreadId')&&!_0x38eba6['isString'](_0xeb0b2a['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0xeb0b2a['documentId']&&_0xeb0b2a['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0xeb0b2a['documentId'])?'documentId:\x20string\x20expected':null);},_0x2b19fb['fromObject']=function(_0x8c51d5,_0x4471cb){if(_0x8c51d5 instanceof _0x17ddb1['CommentsV2GetCommentThreadMessage'])return _0x8c51d5;if(void 0x0===_0x4471cb&&(_0x4471cb=0x0),_0x4471cb>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3b67f=new _0x17ddb1['CommentsV2GetCommentThreadMessage']();return null!=_0x8c51d5['commentThreadId']&&(_0x3b67f['commentThreadId']=String(_0x8c51d5['commentThreadId'])),null!=_0x8c51d5['documentId']&&(_0x3b67f['documentId']=String(_0x8c51d5['documentId'])),_0x3b67f;},_0x2b19fb['toObject']=function(_0x5072be,_0x67cc03){_0x67cc03||(_0x67cc03={});var _0x8188aa={};return _0x67cc03['defaults']&&(_0x8188aa['commentThreadId']='',_0x8188aa['documentId']=''),null!=_0x5072be['commentThreadId']&&_0x5072be['hasOwnProperty']('commentThreadId')&&(_0x8188aa['commentThreadId']=_0x5072be['commentThreadId']),null!=_0x5072be['documentId']&&_0x5072be['hasOwnProperty']('documentId')&&(_0x8188aa['documentId']=_0x5072be['documentId']),_0x8188aa;},_0x2b19fb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x2b19fb['getTypeUrl']=function(_0x9ec9b4){return void 0x0===_0x9ec9b4&&(_0x9ec9b4='type.googleapis.com'),_0x9ec9b4+'/CommentsV2GetCommentThreadMessage';},_0x2b19fb;}()),_0x17ddb1['CommentsV2ConnectMessage']=(function(){function _0x49d12a(_0x167399){if(_0x167399){for(var _0x5c4d3b=Object['keys'](_0x167399),_0x5df747=0x0;_0x5df747<_0x5c4d3b['length'];++_0x5df747)null!=_0x167399[_0x5c4d3b[_0x5df747]]&&'__proto__'!==_0x5c4d3b[_0x5df747]&&(this[_0x5c4d3b[_0x5df747]]=_0x167399[_0x5c4d3b[_0x5df747]]);}}return _0x49d12a['prototype']['documentId']='',_0x49d12a['create']=function(_0x266e8c){return new _0x49d12a(_0x266e8c);},_0x49d12a['encode']=function(_0x4e137d,_0x2a8598){return _0x2a8598||(_0x2a8598=_0x4cef4a['create']()),null!=_0x4e137d['documentId']&&Object['hasOwnProperty']['call'](_0x4e137d,'documentId')&&_0x2a8598['uint32'](0xa)['string'](_0x4e137d['documentId']),_0x2a8598;},_0x49d12a['encodeDelimited']=function(_0x3c0ea0,_0x48dc39){return this['encode'](_0x3c0ea0,_0x48dc39)['ldelim']();},_0x49d12a['decode']=function(_0x472478,_0x3ba9aa,_0x2c4b19,_0x472777){if(_0x472478 instanceof _0x4b9dbe||(_0x472478=_0x4b9dbe['create'](_0x472478)),void 0x0===_0x472777&&(_0x472777=0x0),_0x472777>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5992e6=void 0x0===_0x3ba9aa?_0x472478['len']:_0x472478['pos']+_0x3ba9aa,_0x2c9865=new _0x17ddb1['CommentsV2ConnectMessage']();_0x472478['pos']<_0x5992e6;){var _0xb61789=_0x472478['uint32']();if(_0xb61789===_0x2c4b19)break;_0xb61789>>>0x3==0x1?_0x2c9865['documentId']=_0x472478['string']():_0x472478['skipType'](0x7&_0xb61789,_0x472777);}return _0x2c9865;},_0x49d12a['decodeDelimited']=function(_0x192998){return _0x192998 instanceof _0x4b9dbe||(_0x192998=new _0x4b9dbe(_0x192998)),this['decode'](_0x192998,_0x192998['uint32']());},_0x49d12a['verify']=function(_0x8a0692,_0x4d283d){return'object'!=typeof _0x8a0692||null===_0x8a0692?'object\x20expected':(void 0x0===_0x4d283d&&(_0x4d283d=0x0),_0x4d283d>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x8a0692['documentId']&&_0x8a0692['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x8a0692['documentId'])?'documentId:\x20string\x20expected':null);},_0x49d12a['fromObject']=function(_0xdd102d,_0x4c4ba8){if(_0xdd102d instanceof _0x17ddb1['CommentsV2ConnectMessage'])return _0xdd102d;if(void 0x0===_0x4c4ba8&&(_0x4c4ba8=0x0),_0x4c4ba8>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x101486=new _0x17ddb1['CommentsV2ConnectMessage']();return null!=_0xdd102d['documentId']&&(_0x101486['documentId']=String(_0xdd102d['documentId'])),_0x101486;},_0x49d12a['toObject']=function(_0x4b6050,_0x5aaf79){_0x5aaf79||(_0x5aaf79={});var _0x39116e={};return _0x5aaf79['defaults']&&(_0x39116e['documentId']=''),null!=_0x4b6050['documentId']&&_0x4b6050['hasOwnProperty']('documentId')&&(_0x39116e['documentId']=_0x4b6050['documentId']),_0x39116e;},_0x49d12a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x49d12a['getTypeUrl']=function(_0x90caa3){return void 0x0===_0x90caa3&&(_0x90caa3='type.googleapis.com'),_0x90caa3+'/CommentsV2ConnectMessage';},_0x49d12a;}()),_0x17ddb1['CommentsV2AddCommentMessage']=(function(){function _0x5ecf2c(_0xdd792c){if(_0xdd792c){for(var _0x430a0c=Object['keys'](_0xdd792c),_0x28490f=0x0;_0x28490f<_0x430a0c['length'];++_0x28490f)null!=_0xdd792c[_0x430a0c[_0x28490f]]&&'__proto__'!==_0x430a0c[_0x28490f]&&(this[_0x430a0c[_0x28490f]]=_0xdd792c[_0x430a0c[_0x28490f]]);}}return _0x5ecf2c['prototype']['commentThreadId']='',_0x5ecf2c['prototype']['content']='',_0x5ecf2c['prototype']['documentId']='',_0x5ecf2c['prototype']['commentId']='',_0x5ecf2c['prototype']['createdAt']='',_0x5ecf2c['prototype']['userId']='',_0x5ecf2c['prototype']['attributes']='',_0x5ecf2c['prototype']['commentThread']=null,_0x5ecf2c['create']=function(_0x43f351){return new _0x5ecf2c(_0x43f351);},_0x5ecf2c['encode']=function(_0x2fd740,_0x35869){return _0x35869||(_0x35869=_0x4cef4a['create']()),null!=_0x2fd740['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2fd740,'commentThreadId')&&_0x35869['uint32'](0xa)['string'](_0x2fd740['commentThreadId']),null!=_0x2fd740['content']&&Object['hasOwnProperty']['call'](_0x2fd740,'content')&&_0x35869['uint32'](0x12)['string'](_0x2fd740['content']),null!=_0x2fd740['documentId']&&Object['hasOwnProperty']['call'](_0x2fd740,'documentId')&&_0x35869['uint32'](0x1a)['string'](_0x2fd740['documentId']),null!=_0x2fd740['commentId']&&Object['hasOwnProperty']['call'](_0x2fd740,'commentId')&&_0x35869['uint32'](0x22)['string'](_0x2fd740['commentId']),null!=_0x2fd740['createdAt']&&Object['hasOwnProperty']['call'](_0x2fd740,'createdAt')&&_0x35869['uint32'](0x2a)['string'](_0x2fd740['createdAt']),null!=_0x2fd740['userId']&&Object['hasOwnProperty']['call'](_0x2fd740,'userId')&&_0x35869['uint32'](0x32)['string'](_0x2fd740['userId']),null!=_0x2fd740['attributes']&&Object['hasOwnProperty']['call'](_0x2fd740,'attributes')&&_0x35869['uint32'](0x3a)['string'](_0x2fd740['attributes']),null!=_0x2fd740['commentThread']&&Object['hasOwnProperty']['call'](_0x2fd740,'commentThread')&&_0x17ddb1['CommentsThreadDescriptor']['encode'](_0x2fd740['commentThread'],_0x35869['uint32'](0x42)['fork']())['ldelim'](),_0x35869;},_0x5ecf2c['encodeDelimited']=function(_0x57df2c,_0x438a13){return this['encode'](_0x57df2c,_0x438a13)['ldelim']();},_0x5ecf2c['decode']=function(_0xd7f82e,_0x1e0a50,_0xda1b73,_0x55e8da){if(_0xd7f82e instanceof _0x4b9dbe||(_0xd7f82e=_0x4b9dbe['create'](_0xd7f82e)),void 0x0===_0x55e8da&&(_0x55e8da=0x0),_0x55e8da>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x22d153=void 0x0===_0x1e0a50?_0xd7f82e['len']:_0xd7f82e['pos']+_0x1e0a50,_0x3bc867=new _0x17ddb1['CommentsV2AddCommentMessage']();_0xd7f82e['pos']<_0x22d153;){var _0x11cd11=_0xd7f82e['uint32']();if(_0x11cd11===_0xda1b73)break;switch(_0x11cd11>>>0x3){case 0x1:_0x3bc867['commentThreadId']=_0xd7f82e['string']();break;case 0x2:_0x3bc867['content']=_0xd7f82e['string']();break;case 0x3:_0x3bc867['documentId']=_0xd7f82e['string']();break;case 0x4:_0x3bc867['commentId']=_0xd7f82e['string']();break;case 0x5:_0x3bc867['createdAt']=_0xd7f82e['string']();break;case 0x6:_0x3bc867['userId']=_0xd7f82e['string']();break;case 0x7:_0x3bc867['attributes']=_0xd7f82e['string']();break;case 0x8:_0x3bc867['commentThread']=_0x17ddb1['CommentsThreadDescriptor']['decode'](_0xd7f82e,_0xd7f82e['uint32'](),void 0x0,_0x55e8da+0x1);break;default:_0xd7f82e['skipType'](0x7&_0x11cd11,_0x55e8da);}}return _0x3bc867;},_0x5ecf2c['decodeDelimited']=function(_0x4cc319){return _0x4cc319 instanceof _0x4b9dbe||(_0x4cc319=new _0x4b9dbe(_0x4cc319)),this['decode'](_0x4cc319,_0x4cc319['uint32']());},_0x5ecf2c['verify']=function(_0x2aabde,_0x3fda82){if('object'!=typeof _0x2aabde||null===_0x2aabde)return'object\x20expected';if(void 0x0===_0x3fda82&&(_0x3fda82=0x0),_0x3fda82>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2aabde['commentThreadId']&&_0x2aabde['hasOwnProperty']('commentThreadId')&&!_0x38eba6['isString'](_0x2aabde['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x2aabde['content']&&_0x2aabde['hasOwnProperty']('content')&&!_0x38eba6['isString'](_0x2aabde['content']))return'content:\x20string\x20expected';if(null!=_0x2aabde['documentId']&&_0x2aabde['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x2aabde['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x2aabde['commentId']&&_0x2aabde['hasOwnProperty']('commentId')&&!_0x38eba6['isString'](_0x2aabde['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x2aabde['createdAt']&&_0x2aabde['hasOwnProperty']('createdAt')&&!_0x38eba6['isString'](_0x2aabde['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x2aabde['userId']&&_0x2aabde['hasOwnProperty']('userId')&&!_0x38eba6['isString'](_0x2aabde['userId']))return'userId:\x20string\x20expected';if(null!=_0x2aabde['attributes']&&_0x2aabde['hasOwnProperty']('attributes')&&!_0x38eba6['isString'](_0x2aabde['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x2aabde['commentThread']&&_0x2aabde['hasOwnProperty']('commentThread')){var _0x4983c5=_0x17ddb1['CommentsThreadDescriptor']['verify'](_0x2aabde['commentThread'],_0x3fda82+0x1);if(_0x4983c5)return'commentThread.'+_0x4983c5;}return null;},_0x5ecf2c['fromObject']=function(_0x2cb7e8,_0xbb182d){if(_0x2cb7e8 instanceof _0x17ddb1['CommentsV2AddCommentMessage'])return _0x2cb7e8;if(void 0x0===_0xbb182d&&(_0xbb182d=0x0),_0xbb182d>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x481c3e=new _0x17ddb1['CommentsV2AddCommentMessage']();if(null!=_0x2cb7e8['commentThreadId']&&(_0x481c3e['commentThreadId']=String(_0x2cb7e8['commentThreadId'])),null!=_0x2cb7e8['content']&&(_0x481c3e['content']=String(_0x2cb7e8['content'])),null!=_0x2cb7e8['documentId']&&(_0x481c3e['documentId']=String(_0x2cb7e8['documentId'])),null!=_0x2cb7e8['commentId']&&(_0x481c3e['commentId']=String(_0x2cb7e8['commentId'])),null!=_0x2cb7e8['createdAt']&&(_0x481c3e['createdAt']=String(_0x2cb7e8['createdAt'])),null!=_0x2cb7e8['userId']&&(_0x481c3e['userId']=String(_0x2cb7e8['userId'])),null!=_0x2cb7e8['attributes']&&(_0x481c3e['attributes']=String(_0x2cb7e8['attributes'])),null!=_0x2cb7e8['commentThread']){if('object'!=typeof _0x2cb7e8['commentThread'])throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x481c3e['commentThread']=_0x17ddb1['CommentsThreadDescriptor']['fromObject'](_0x2cb7e8['commentThread'],_0xbb182d+0x1);}return _0x481c3e;},_0x5ecf2c['toObject']=function(_0x239281,_0x5eeee2){_0x5eeee2||(_0x5eeee2={});var _0x22aa7c={};return _0x5eeee2['defaults']&&(_0x22aa7c['commentThreadId']='',_0x22aa7c['content']='',_0x22aa7c['documentId']='',_0x22aa7c['commentId']='',_0x22aa7c['createdAt']='',_0x22aa7c['userId']='',_0x22aa7c['attributes']='',_0x22aa7c['commentThread']=null),null!=_0x239281['commentThreadId']&&_0x239281['hasOwnProperty']('commentThreadId')&&(_0x22aa7c['commentThreadId']=_0x239281['commentThreadId']),null!=_0x239281['content']&&_0x239281['hasOwnProperty']('content')&&(_0x22aa7c['content']=_0x239281['content']),null!=_0x239281['documentId']&&_0x239281['hasOwnProperty']('documentId')&&(_0x22aa7c['documentId']=_0x239281['documentId']),null!=_0x239281['commentId']&&_0x239281['hasOwnProperty']('commentId')&&(_0x22aa7c['commentId']=_0x239281['commentId']),null!=_0x239281['createdAt']&&_0x239281['hasOwnProperty']('createdAt')&&(_0x22aa7c['createdAt']=_0x239281['createdAt']),null!=_0x239281['userId']&&_0x239281['hasOwnProperty']('userId')&&(_0x22aa7c['userId']=_0x239281['userId']),null!=_0x239281['attributes']&&_0x239281['hasOwnProperty']('attributes')&&(_0x22aa7c['attributes']=_0x239281['attributes']),null!=_0x239281['commentThread']&&_0x239281['hasOwnProperty']('commentThread')&&(_0x22aa7c['commentThread']=_0x17ddb1['CommentsThreadDescriptor']['toObject'](_0x239281['commentThread'],_0x5eeee2)),_0x22aa7c;},_0x5ecf2c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x5ecf2c['getTypeUrl']=function(_0x45f7f6){return void 0x0===_0x45f7f6&&(_0x45f7f6='type.googleapis.com'),_0x45f7f6+'/CommentsV2AddCommentMessage';},_0x5ecf2c;}()),_0x17ddb1['CommentsV2UpdateCommentThreadMessage']=(function(){function _0x1b07ee(_0x4e47bd){if(_0x4e47bd){for(var _0x240ab5=Object['keys'](_0x4e47bd),_0x5aec98=0x0;_0x5aec98<_0x240ab5['length'];++_0x5aec98)null!=_0x4e47bd[_0x240ab5[_0x5aec98]]&&'__proto__'!==_0x240ab5[_0x5aec98]&&(this[_0x240ab5[_0x5aec98]]=_0x4e47bd[_0x240ab5[_0x5aec98]]);}}return _0x1b07ee['prototype']['commentThreadId']='',_0x1b07ee['prototype']['documentId']='',_0x1b07ee['prototype']['context']='',_0x1b07ee['prototype']['attributes']='',_0x1b07ee['prototype']['unlinkedAt']='',_0x1b07ee['create']=function(_0x4973b9){return new _0x1b07ee(_0x4973b9);},_0x1b07ee['encode']=function(_0x31982d,_0x243c6e){return _0x243c6e||(_0x243c6e=_0x4cef4a['create']()),null!=_0x31982d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x31982d,'commentThreadId')&&_0x243c6e['uint32'](0xa)['string'](_0x31982d['commentThreadId']),null!=_0x31982d['documentId']&&Object['hasOwnProperty']['call'](_0x31982d,'documentId')&&_0x243c6e['uint32'](0x12)['string'](_0x31982d['documentId']),null!=_0x31982d['context']&&Object['hasOwnProperty']['call'](_0x31982d,'context')&&_0x243c6e['uint32'](0x1a)['string'](_0x31982d['context']),null!=_0x31982d['attributes']&&Object['hasOwnProperty']['call'](_0x31982d,'attributes')&&_0x243c6e['uint32'](0x22)['string'](_0x31982d['attributes']),null!=_0x31982d['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x31982d,'unlinkedAt')&&_0x243c6e['uint32'](0x2a)['string'](_0x31982d['unlinkedAt']),_0x243c6e;},_0x1b07ee['encodeDelimited']=function(_0x5b5351,_0x1a76f3){return this['encode'](_0x5b5351,_0x1a76f3)['ldelim']();},_0x1b07ee['decode']=function(_0x1cb283,_0x273da6,_0x5b08c6,_0x5cad5a){if(_0x1cb283 instanceof _0x4b9dbe||(_0x1cb283=_0x4b9dbe['create'](_0x1cb283)),void 0x0===_0x5cad5a&&(_0x5cad5a=0x0),_0x5cad5a>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x37f734=void 0x0===_0x273da6?_0x1cb283['len']:_0x1cb283['pos']+_0x273da6,_0x518eac=new _0x17ddb1['CommentsV2UpdateCommentThreadMessage']();_0x1cb283['pos']<_0x37f734;){var _0x437581=_0x1cb283['uint32']();if(_0x437581===_0x5b08c6)break;switch(_0x437581>>>0x3){case 0x1:_0x518eac['commentThreadId']=_0x1cb283['string']();break;case 0x2:_0x518eac['documentId']=_0x1cb283['string']();break;case 0x3:_0x518eac['context']=_0x1cb283['string']();break;case 0x4:_0x518eac['attributes']=_0x1cb283['string']();break;case 0x5:_0x518eac['unlinkedAt']=_0x1cb283['string']();break;default:_0x1cb283['skipType'](0x7&_0x437581,_0x5cad5a);}}return _0x518eac;},_0x1b07ee['decodeDelimited']=function(_0x4564e0){return _0x4564e0 instanceof _0x4b9dbe||(_0x4564e0=new _0x4b9dbe(_0x4564e0)),this['decode'](_0x4564e0,_0x4564e0['uint32']());},_0x1b07ee['verify']=function(_0x46bd5f,_0x332b3c){return'object'!=typeof _0x46bd5f||null===_0x46bd5f?'object\x20expected':(void 0x0===_0x332b3c&&(_0x332b3c=0x0),_0x332b3c>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x46bd5f['commentThreadId']&&_0x46bd5f['hasOwnProperty']('commentThreadId')&&!_0x38eba6['isString'](_0x46bd5f['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x46bd5f['documentId']&&_0x46bd5f['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x46bd5f['documentId'])?'documentId:\x20string\x20expected':null!=_0x46bd5f['context']&&_0x46bd5f['hasOwnProperty']('context')&&!_0x38eba6['isString'](_0x46bd5f['context'])?'context:\x20string\x20expected':null!=_0x46bd5f['attributes']&&_0x46bd5f['hasOwnProperty']('attributes')&&!_0x38eba6['isString'](_0x46bd5f['attributes'])?'attributes:\x20string\x20expected':null!=_0x46bd5f['unlinkedAt']&&_0x46bd5f['hasOwnProperty']('unlinkedAt')&&!_0x38eba6['isString'](_0x46bd5f['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null);},_0x1b07ee['fromObject']=function(_0x5d0ae9,_0x59488c){if(_0x5d0ae9 instanceof _0x17ddb1['CommentsV2UpdateCommentThreadMessage'])return _0x5d0ae9;if(void 0x0===_0x59488c&&(_0x59488c=0x0),_0x59488c>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x23da8a=new _0x17ddb1['CommentsV2UpdateCommentThreadMessage']();return null!=_0x5d0ae9['commentThreadId']&&(_0x23da8a['commentThreadId']=String(_0x5d0ae9['commentThreadId'])),null!=_0x5d0ae9['documentId']&&(_0x23da8a['documentId']=String(_0x5d0ae9['documentId'])),null!=_0x5d0ae9['context']&&(_0x23da8a['context']=String(_0x5d0ae9['context'])),null!=_0x5d0ae9['attributes']&&(_0x23da8a['attributes']=String(_0x5d0ae9['attributes'])),null!=_0x5d0ae9['unlinkedAt']&&(_0x23da8a['unlinkedAt']=String(_0x5d0ae9['unlinkedAt'])),_0x23da8a;},_0x1b07ee['toObject']=function(_0x3dde89,_0x276f0d){_0x276f0d||(_0x276f0d={});var _0x4ff443={};return _0x276f0d['defaults']&&(_0x4ff443['commentThreadId']='',_0x4ff443['documentId']='',_0x4ff443['context']='',_0x4ff443['attributes']='',_0x4ff443['unlinkedAt']=''),null!=_0x3dde89['commentThreadId']&&_0x3dde89['hasOwnProperty']('commentThreadId')&&(_0x4ff443['commentThreadId']=_0x3dde89['commentThreadId']),null!=_0x3dde89['documentId']&&_0x3dde89['hasOwnProperty']('documentId')&&(_0x4ff443['documentId']=_0x3dde89['documentId']),null!=_0x3dde89['context']&&_0x3dde89['hasOwnProperty']('context')&&(_0x4ff443['context']=_0x3dde89['context']),null!=_0x3dde89['attributes']&&_0x3dde89['hasOwnProperty']('attributes')&&(_0x4ff443['attributes']=_0x3dde89['attributes']),null!=_0x3dde89['unlinkedAt']&&_0x3dde89['hasOwnProperty']('unlinkedAt')&&(_0x4ff443['unlinkedAt']=_0x3dde89['unlinkedAt']),_0x4ff443;},_0x1b07ee['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x1b07ee['getTypeUrl']=function(_0x112b8e){return void 0x0===_0x112b8e&&(_0x112b8e='type.googleapis.com'),_0x112b8e+'/CommentsV2UpdateCommentThreadMessage';},_0x1b07ee;}()),_0x17ddb1['CommentsV2ResolveCommentThreadMessage']=(function(){function _0x40147a(_0x2e37d2){if(_0x2e37d2){for(var _0x4085a7=Object['keys'](_0x2e37d2),_0x30d46f=0x0;_0x30d46f<_0x4085a7['length'];++_0x30d46f)null!=_0x2e37d2[_0x4085a7[_0x30d46f]]&&'__proto__'!==_0x4085a7[_0x30d46f]&&(this[_0x4085a7[_0x30d46f]]=_0x2e37d2[_0x4085a7[_0x30d46f]]);}}return _0x40147a['prototype']['commentThreadId']='',_0x40147a['prototype']['documentId']='',_0x40147a['prototype']['resolvedBy']='',_0x40147a['prototype']['resolvedAt']='',_0x40147a['create']=function(_0x3f8a4c){return new _0x40147a(_0x3f8a4c);},_0x40147a['encode']=function(_0x1fd7f5,_0xcf7eaf){return _0xcf7eaf||(_0xcf7eaf=_0x4cef4a['create']()),null!=_0x1fd7f5['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1fd7f5,'commentThreadId')&&_0xcf7eaf['uint32'](0xa)['string'](_0x1fd7f5['commentThreadId']),null!=_0x1fd7f5['documentId']&&Object['hasOwnProperty']['call'](_0x1fd7f5,'documentId')&&_0xcf7eaf['uint32'](0x12)['string'](_0x1fd7f5['documentId']),null!=_0x1fd7f5['resolvedBy']&&Object['hasOwnProperty']['call'](_0x1fd7f5,'resolvedBy')&&_0xcf7eaf['uint32'](0x1a)['string'](_0x1fd7f5['resolvedBy']),null!=_0x1fd7f5['resolvedAt']&&Object['hasOwnProperty']['call'](_0x1fd7f5,'resolvedAt')&&_0xcf7eaf['uint32'](0x22)['string'](_0x1fd7f5['resolvedAt']),_0xcf7eaf;},_0x40147a['encodeDelimited']=function(_0x503ae6,_0x246078){return this['encode'](_0x503ae6,_0x246078)['ldelim']();},_0x40147a['decode']=function(_0x112a85,_0x4f8de0,_0x42e551,_0x2ef654){if(_0x112a85 instanceof _0x4b9dbe||(_0x112a85=_0x4b9dbe['create'](_0x112a85)),void 0x0===_0x2ef654&&(_0x2ef654=0x0),_0x2ef654>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1c791a=void 0x0===_0x4f8de0?_0x112a85['len']:_0x112a85['pos']+_0x4f8de0,_0x27bbdd=new _0x17ddb1['CommentsV2ResolveCommentThreadMessage']();_0x112a85['pos']<_0x1c791a;){var _0x4976a0=_0x112a85['uint32']();if(_0x4976a0===_0x42e551)break;switch(_0x4976a0>>>0x3){case 0x1:_0x27bbdd['commentThreadId']=_0x112a85['string']();break;case 0x2:_0x27bbdd['documentId']=_0x112a85['string']();break;case 0x3:_0x27bbdd['resolvedBy']=_0x112a85['string']();break;case 0x4:_0x27bbdd['resolvedAt']=_0x112a85['string']();break;default:_0x112a85['skipType'](0x7&_0x4976a0,_0x2ef654);}}return _0x27bbdd;},_0x40147a['decodeDelimited']=function(_0x286ab7){return _0x286ab7 instanceof _0x4b9dbe||(_0x286ab7=new _0x4b9dbe(_0x286ab7)),this['decode'](_0x286ab7,_0x286ab7['uint32']());},_0x40147a['verify']=function(_0x25f137,_0x4e3cb7){return'object'!=typeof _0x25f137||null===_0x25f137?'object\x20expected':(void 0x0===_0x4e3cb7&&(_0x4e3cb7=0x0),_0x4e3cb7>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x25f137['commentThreadId']&&_0x25f137['hasOwnProperty']('commentThreadId')&&!_0x38eba6['isString'](_0x25f137['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x25f137['documentId']&&_0x25f137['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x25f137['documentId'])?'documentId:\x20string\x20expected':null!=_0x25f137['resolvedBy']&&_0x25f137['hasOwnProperty']('resolvedBy')&&!_0x38eba6['isString'](_0x25f137['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x25f137['resolvedAt']&&_0x25f137['hasOwnProperty']('resolvedAt')&&!_0x38eba6['isString'](_0x25f137['resolvedAt'])?'resolvedAt:\x20string\x20expected':null);},_0x40147a['fromObject']=function(_0x131a63,_0x2a0215){if(_0x131a63 instanceof _0x17ddb1['CommentsV2ResolveCommentThreadMessage'])return _0x131a63;if(void 0x0===_0x2a0215&&(_0x2a0215=0x0),_0x2a0215>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x453af7=new _0x17ddb1['CommentsV2ResolveCommentThreadMessage']();return null!=_0x131a63['commentThreadId']&&(_0x453af7['commentThreadId']=String(_0x131a63['commentThreadId'])),null!=_0x131a63['documentId']&&(_0x453af7['documentId']=String(_0x131a63['documentId'])),null!=_0x131a63['resolvedBy']&&(_0x453af7['resolvedBy']=String(_0x131a63['resolvedBy'])),null!=_0x131a63['resolvedAt']&&(_0x453af7['resolvedAt']=String(_0x131a63['resolvedAt'])),_0x453af7;},_0x40147a['toObject']=function(_0x29c586,_0x51d4f5){_0x51d4f5||(_0x51d4f5={});var _0x573793={};return _0x51d4f5['defaults']&&(_0x573793['commentThreadId']='',_0x573793['documentId']='',_0x573793['resolvedBy']='',_0x573793['resolvedAt']=''),null!=_0x29c586['commentThreadId']&&_0x29c586['hasOwnProperty']('commentThreadId')&&(_0x573793['commentThreadId']=_0x29c586['commentThreadId']),null!=_0x29c586['documentId']&&_0x29c586['hasOwnProperty']('documentId')&&(_0x573793['documentId']=_0x29c586['documentId']),null!=_0x29c586['resolvedBy']&&_0x29c586['hasOwnProperty']('resolvedBy')&&(_0x573793['resolvedBy']=_0x29c586['resolvedBy']),null!=_0x29c586['resolvedAt']&&_0x29c586['hasOwnProperty']('resolvedAt')&&(_0x573793['resolvedAt']=_0x29c586['resolvedAt']),_0x573793;},_0x40147a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x40147a['getTypeUrl']=function(_0x47e56a){return void 0x0===_0x47e56a&&(_0x47e56a='type.googleapis.com'),_0x47e56a+'/CommentsV2ResolveCommentThreadMessage';},_0x40147a;}()),_0x17ddb1['CommentsV2ReopenCommentThreadMessage']=(function(){function _0x4e583d(_0x397cc2){if(_0x397cc2){for(var _0x596061=Object['keys'](_0x397cc2),_0x5000de=0x0;_0x5000de<_0x596061['length'];++_0x5000de)null!=_0x397cc2[_0x596061[_0x5000de]]&&'__proto__'!==_0x596061[_0x5000de]&&(this[_0x596061[_0x5000de]]=_0x397cc2[_0x596061[_0x5000de]]);}}return _0x4e583d['prototype']['commentThreadId']='',_0x4e583d['prototype']['documentId']='',_0x4e583d['create']=function(_0x449ca7){return new _0x4e583d(_0x449ca7);},_0x4e583d['encode']=function(_0x34a1db,_0x256788){return _0x256788||(_0x256788=_0x4cef4a['create']()),null!=_0x34a1db['commentThreadId']&&Object['hasOwnProperty']['call'](_0x34a1db,'commentThreadId')&&_0x256788['uint32'](0xa)['string'](_0x34a1db['commentThreadId']),null!=_0x34a1db['documentId']&&Object['hasOwnProperty']['call'](_0x34a1db,'documentId')&&_0x256788['uint32'](0x12)['string'](_0x34a1db['documentId']),_0x256788;},_0x4e583d['encodeDelimited']=function(_0x1dc360,_0x1f4f6c){return this['encode'](_0x1dc360,_0x1f4f6c)['ldelim']();},_0x4e583d['decode']=function(_0x1c49b7,_0x562edf,_0x2ac1fe,_0x38609e){if(_0x1c49b7 instanceof _0x4b9dbe||(_0x1c49b7=_0x4b9dbe['create'](_0x1c49b7)),void 0x0===_0x38609e&&(_0x38609e=0x0),_0x38609e>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x40696f=void 0x0===_0x562edf?_0x1c49b7['len']:_0x1c49b7['pos']+_0x562edf,_0x510d18=new _0x17ddb1['CommentsV2ReopenCommentThreadMessage']();_0x1c49b7['pos']<_0x40696f;){var _0x3085f2=_0x1c49b7['uint32']();if(_0x3085f2===_0x2ac1fe)break;switch(_0x3085f2>>>0x3){case 0x1:_0x510d18['commentThreadId']=_0x1c49b7['string']();break;case 0x2:_0x510d18['documentId']=_0x1c49b7['string']();break;default:_0x1c49b7['skipType'](0x7&_0x3085f2,_0x38609e);}}return _0x510d18;},_0x4e583d['decodeDelimited']=function(_0x89fa93){return _0x89fa93 instanceof _0x4b9dbe||(_0x89fa93=new _0x4b9dbe(_0x89fa93)),this['decode'](_0x89fa93,_0x89fa93['uint32']());},_0x4e583d['verify']=function(_0x1d8de8,_0x28d09e){return'object'!=typeof _0x1d8de8||null===_0x1d8de8?'object\x20expected':(void 0x0===_0x28d09e&&(_0x28d09e=0x0),_0x28d09e>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1d8de8['commentThreadId']&&_0x1d8de8['hasOwnProperty']('commentThreadId')&&!_0x38eba6['isString'](_0x1d8de8['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1d8de8['documentId']&&_0x1d8de8['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x1d8de8['documentId'])?'documentId:\x20string\x20expected':null);},_0x4e583d['fromObject']=function(_0x3dde02,_0x3e1cb5){if(_0x3dde02 instanceof _0x17ddb1['CommentsV2ReopenCommentThreadMessage'])return _0x3dde02;if(void 0x0===_0x3e1cb5&&(_0x3e1cb5=0x0),_0x3e1cb5>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x97df86=new _0x17ddb1['CommentsV2ReopenCommentThreadMessage']();return null!=_0x3dde02['commentThreadId']&&(_0x97df86['commentThreadId']=String(_0x3dde02['commentThreadId'])),null!=_0x3dde02['documentId']&&(_0x97df86['documentId']=String(_0x3dde02['documentId'])),_0x97df86;},_0x4e583d['toObject']=function(_0x25758f,_0x53fb76){_0x53fb76||(_0x53fb76={});var _0x114289={};return _0x53fb76['defaults']&&(_0x114289['commentThreadId']='',_0x114289['documentId']=''),null!=_0x25758f['commentThreadId']&&_0x25758f['hasOwnProperty']('commentThreadId')&&(_0x114289['commentThreadId']=_0x25758f['commentThreadId']),null!=_0x25758f['documentId']&&_0x25758f['hasOwnProperty']('documentId')&&(_0x114289['documentId']=_0x25758f['documentId']),_0x114289;},_0x4e583d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x4e583d['getTypeUrl']=function(_0x11090b){return void 0x0===_0x11090b&&(_0x11090b='type.googleapis.com'),_0x11090b+'/CommentsV2ReopenCommentThreadMessage';},_0x4e583d;}()),_0x17ddb1['CommentsV2AddCommentThreadMessage']=(function(){function _0x44b8c6(_0x2743ac){if(this['comments']=[],_0x2743ac){for(var _0x1ebcb=Object['keys'](_0x2743ac),_0xda10ff=0x0;_0xda10ff<_0x1ebcb['length'];++_0xda10ff)null!=_0x2743ac[_0x1ebcb[_0xda10ff]]&&'__proto__'!==_0x1ebcb[_0xda10ff]&&(this[_0x1ebcb[_0xda10ff]]=_0x2743ac[_0x1ebcb[_0xda10ff]]);}}return _0x44b8c6['prototype']['documentId']='',_0x44b8c6['prototype']['commentThreadId']='',_0x44b8c6['prototype']['context']='',_0x44b8c6['prototype']['createdAt']='',_0x44b8c6['prototype']['resolvedAt']='',_0x44b8c6['prototype']['resolvedBy']='',_0x44b8c6['prototype']['attributes']='',_0x44b8c6['prototype']['deletedAt']='',_0x44b8c6['prototype']['comments']=_0x38eba6['emptyArray'],_0x44b8c6['create']=function(_0x56a51f){return new _0x44b8c6(_0x56a51f);},_0x44b8c6['encode']=function(_0x579d23,_0x3e97ff){if(_0x3e97ff||(_0x3e97ff=_0x4cef4a['create']()),null!=_0x579d23['documentId']&&Object['hasOwnProperty']['call'](_0x579d23,'documentId')&&_0x3e97ff['uint32'](0xa)['string'](_0x579d23['documentId']),null!=_0x579d23['commentThreadId']&&Object['hasOwnProperty']['call'](_0x579d23,'commentThreadId')&&_0x3e97ff['uint32'](0x12)['string'](_0x579d23['commentThreadId']),null!=_0x579d23['context']&&Object['hasOwnProperty']['call'](_0x579d23,'context')&&_0x3e97ff['uint32'](0x1a)['string'](_0x579d23['context']),null!=_0x579d23['createdAt']&&Object['hasOwnProperty']['call'](_0x579d23,'createdAt')&&_0x3e97ff['uint32'](0x22)['string'](_0x579d23['createdAt']),null!=_0x579d23['resolvedAt']&&Object['hasOwnProperty']['call'](_0x579d23,'resolvedAt')&&_0x3e97ff['uint32'](0x2a)['string'](_0x579d23['resolvedAt']),null!=_0x579d23['resolvedBy']&&Object['hasOwnProperty']['call'](_0x579d23,'resolvedBy')&&_0x3e97ff['uint32'](0x32)['string'](_0x579d23['resolvedBy']),null!=_0x579d23['attributes']&&Object['hasOwnProperty']['call'](_0x579d23,'attributes')&&_0x3e97ff['uint32'](0x3a)['string'](_0x579d23['attributes']),null!=_0x579d23['deletedAt']&&Object['hasOwnProperty']['call'](_0x579d23,'deletedAt')&&_0x3e97ff['uint32'](0x42)['string'](_0x579d23['deletedAt']),null!=_0x579d23['comments']&&_0x579d23['comments']['length']){for(var _0x48509b=0x0;_0x48509b<_0x579d23['comments']['length'];++_0x48509b)_0x17ddb1['CommentDescriptor']['encode'](_0x579d23['comments'][_0x48509b],_0x3e97ff['uint32'](0x4a)['fork']())['ldelim']();}return _0x3e97ff;},_0x44b8c6['encodeDelimited']=function(_0x43a8df,_0x2e10a5){return this['encode'](_0x43a8df,_0x2e10a5)['ldelim']();},_0x44b8c6['decode']=function(_0x1326b5,_0x538493,_0x55d7dd,_0x5ee6c5){if(_0x1326b5 instanceof _0x4b9dbe||(_0x1326b5=_0x4b9dbe['create'](_0x1326b5)),void 0x0===_0x5ee6c5&&(_0x5ee6c5=0x0),_0x5ee6c5>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x117967=void 0x0===_0x538493?_0x1326b5['len']:_0x1326b5['pos']+_0x538493,_0x37b4ef=new _0x17ddb1['CommentsV2AddCommentThreadMessage']();_0x1326b5['pos']<_0x117967;){var _0x5b3e5d=_0x1326b5['uint32']();if(_0x5b3e5d===_0x55d7dd)break;switch(_0x5b3e5d>>>0x3){case 0x1:_0x37b4ef['documentId']=_0x1326b5['string']();break;case 0x2:_0x37b4ef['commentThreadId']=_0x1326b5['string']();break;case 0x3:_0x37b4ef['context']=_0x1326b5['string']();break;case 0x4:_0x37b4ef['createdAt']=_0x1326b5['string']();break;case 0x5:_0x37b4ef['resolvedAt']=_0x1326b5['string']();break;case 0x6:_0x37b4ef['resolvedBy']=_0x1326b5['string']();break;case 0x7:_0x37b4ef['attributes']=_0x1326b5['string']();break;case 0x8:_0x37b4ef['deletedAt']=_0x1326b5['string']();break;case 0x9:_0x37b4ef['comments']&&_0x37b4ef['comments']['length']||(_0x37b4ef['comments']=[]),_0x37b4ef['comments']['push'](_0x17ddb1['CommentDescriptor']['decode'](_0x1326b5,_0x1326b5['uint32'](),void 0x0,_0x5ee6c5+0x1));break;default:_0x1326b5['skipType'](0x7&_0x5b3e5d,_0x5ee6c5);}}return _0x37b4ef;},_0x44b8c6['decodeDelimited']=function(_0x5bf375){return _0x5bf375 instanceof _0x4b9dbe||(_0x5bf375=new _0x4b9dbe(_0x5bf375)),this['decode'](_0x5bf375,_0x5bf375['uint32']());},_0x44b8c6['verify']=function(_0x1f8fe7,_0xf6d26d){if('object'!=typeof _0x1f8fe7||null===_0x1f8fe7)return'object\x20expected';if(void 0x0===_0xf6d26d&&(_0xf6d26d=0x0),_0xf6d26d>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1f8fe7['documentId']&&_0x1f8fe7['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x1f8fe7['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x1f8fe7['commentThreadId']&&_0x1f8fe7['hasOwnProperty']('commentThreadId')&&!_0x38eba6['isString'](_0x1f8fe7['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x1f8fe7['context']&&_0x1f8fe7['hasOwnProperty']('context')&&!_0x38eba6['isString'](_0x1f8fe7['context']))return'context:\x20string\x20expected';if(null!=_0x1f8fe7['createdAt']&&_0x1f8fe7['hasOwnProperty']('createdAt')&&!_0x38eba6['isString'](_0x1f8fe7['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x1f8fe7['resolvedAt']&&_0x1f8fe7['hasOwnProperty']('resolvedAt')&&!_0x38eba6['isString'](_0x1f8fe7['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x1f8fe7['resolvedBy']&&_0x1f8fe7['hasOwnProperty']('resolvedBy')&&!_0x38eba6['isString'](_0x1f8fe7['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x1f8fe7['attributes']&&_0x1f8fe7['hasOwnProperty']('attributes')&&!_0x38eba6['isString'](_0x1f8fe7['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x1f8fe7['deletedAt']&&_0x1f8fe7['hasOwnProperty']('deletedAt')&&!_0x38eba6['isString'](_0x1f8fe7['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x1f8fe7['comments']&&_0x1f8fe7['hasOwnProperty']('comments')){if(!Array['isArray'](_0x1f8fe7['comments']))return'comments:\x20array\x20expected';for(var _0x44c47a=0x0;_0x44c47a<_0x1f8fe7['comments']['length'];++_0x44c47a){var _0x580b16=_0x17ddb1['CommentDescriptor']['verify'](_0x1f8fe7['comments'][_0x44c47a],_0xf6d26d+0x1);if(_0x580b16)return'comments.'+_0x580b16;}}return null;},_0x44b8c6['fromObject']=function(_0x4df026,_0x29cbfd){if(_0x4df026 instanceof _0x17ddb1['CommentsV2AddCommentThreadMessage'])return _0x4df026;if(void 0x0===_0x29cbfd&&(_0x29cbfd=0x0),_0x29cbfd>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x37bb5b=new _0x17ddb1['CommentsV2AddCommentThreadMessage']();if(null!=_0x4df026['documentId']&&(_0x37bb5b['documentId']=String(_0x4df026['documentId'])),null!=_0x4df026['commentThreadId']&&(_0x37bb5b['commentThreadId']=String(_0x4df026['commentThreadId'])),null!=_0x4df026['context']&&(_0x37bb5b['context']=String(_0x4df026['context'])),null!=_0x4df026['createdAt']&&(_0x37bb5b['createdAt']=String(_0x4df026['createdAt'])),null!=_0x4df026['resolvedAt']&&(_0x37bb5b['resolvedAt']=String(_0x4df026['resolvedAt'])),null!=_0x4df026['resolvedBy']&&(_0x37bb5b['resolvedBy']=String(_0x4df026['resolvedBy'])),null!=_0x4df026['attributes']&&(_0x37bb5b['attributes']=String(_0x4df026['attributes'])),null!=_0x4df026['deletedAt']&&(_0x37bb5b['deletedAt']=String(_0x4df026['deletedAt'])),_0x4df026['comments']){if(!Array['isArray'](_0x4df026['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x37bb5b['comments']=[];for(var _0x1d2bd1=0x0;_0x1d2bd1<_0x4df026['comments']['length'];++_0x1d2bd1){if('object'!=typeof _0x4df026['comments'][_0x1d2bd1])throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x37bb5b['comments'][_0x1d2bd1]=_0x17ddb1['CommentDescriptor']['fromObject'](_0x4df026['comments'][_0x1d2bd1],_0x29cbfd+0x1);}}return _0x37bb5b;},_0x44b8c6['toObject']=function(_0x333726,_0x173d87){_0x173d87||(_0x173d87={});var _0x1b8d19={};if((_0x173d87['arrays']||_0x173d87['defaults'])&&(_0x1b8d19['comments']=[]),_0x173d87['defaults']&&(_0x1b8d19['documentId']='',_0x1b8d19['commentThreadId']='',_0x1b8d19['context']='',_0x1b8d19['createdAt']='',_0x1b8d19['resolvedAt']='',_0x1b8d19['resolvedBy']='',_0x1b8d19['attributes']='',_0x1b8d19['deletedAt']=''),null!=_0x333726['documentId']&&_0x333726['hasOwnProperty']('documentId')&&(_0x1b8d19['documentId']=_0x333726['documentId']),null!=_0x333726['commentThreadId']&&_0x333726['hasOwnProperty']('commentThreadId')&&(_0x1b8d19['commentThreadId']=_0x333726['commentThreadId']),null!=_0x333726['context']&&_0x333726['hasOwnProperty']('context')&&(_0x1b8d19['context']=_0x333726['context']),null!=_0x333726['createdAt']&&_0x333726['hasOwnProperty']('createdAt')&&(_0x1b8d19['createdAt']=_0x333726['createdAt']),null!=_0x333726['resolvedAt']&&_0x333726['hasOwnProperty']('resolvedAt')&&(_0x1b8d19['resolvedAt']=_0x333726['resolvedAt']),null!=_0x333726['resolvedBy']&&_0x333726['hasOwnProperty']('resolvedBy')&&(_0x1b8d19['resolvedBy']=_0x333726['resolvedBy']),null!=_0x333726['attributes']&&_0x333726['hasOwnProperty']('attributes')&&(_0x1b8d19['attributes']=_0x333726['attributes']),null!=_0x333726['deletedAt']&&_0x333726['hasOwnProperty']('deletedAt')&&(_0x1b8d19['deletedAt']=_0x333726['deletedAt']),_0x333726['comments']&&_0x333726['comments']['length']){_0x1b8d19['comments']=[];for(var _0x144530=0x0;_0x144530<_0x333726['comments']['length'];++_0x144530)_0x1b8d19['comments'][_0x144530]=_0x17ddb1['CommentDescriptor']['toObject'](_0x333726['comments'][_0x144530],_0x173d87);}return _0x1b8d19;},_0x44b8c6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x44b8c6['getTypeUrl']=function(_0x25160e){return void 0x0===_0x25160e&&(_0x25160e='type.googleapis.com'),_0x25160e+'/CommentsV2AddCommentThreadMessage';},_0x44b8c6;}()),_0x17ddb1['CommentThreadAddedCommentDescriptor']=(function(){function _0x4d68af(_0x164120){if(_0x164120){for(var _0x39d295=Object['keys'](_0x164120),_0x26f5d8=0x0;_0x26f5d8<_0x39d295['length'];++_0x26f5d8)null!=_0x164120[_0x39d295[_0x26f5d8]]&&'__proto__'!==_0x39d295[_0x26f5d8]&&(this[_0x39d295[_0x26f5d8]]=_0x164120[_0x39d295[_0x26f5d8]]);}}return _0x4d68af['prototype']['commentId']='',_0x4d68af['prototype']['createdAt']='',_0x4d68af['create']=function(_0x20699d){return new _0x4d68af(_0x20699d);},_0x4d68af['encode']=function(_0x4a3cea,_0x4c7f85){return _0x4c7f85||(_0x4c7f85=_0x4cef4a['create']()),null!=_0x4a3cea['commentId']&&Object['hasOwnProperty']['call'](_0x4a3cea,'commentId')&&_0x4c7f85['uint32'](0xa)['string'](_0x4a3cea['commentId']),null!=_0x4a3cea['createdAt']&&Object['hasOwnProperty']['call'](_0x4a3cea,'createdAt')&&_0x4c7f85['uint32'](0x12)['string'](_0x4a3cea['createdAt']),_0x4c7f85;},_0x4d68af['encodeDelimited']=function(_0x5403aa,_0x5d3ff5){return this['encode'](_0x5403aa,_0x5d3ff5)['ldelim']();},_0x4d68af['decode']=function(_0x542f4f,_0x83f4d6,_0x5f4c83,_0x2bf930){if(_0x542f4f instanceof _0x4b9dbe||(_0x542f4f=_0x4b9dbe['create'](_0x542f4f)),void 0x0===_0x2bf930&&(_0x2bf930=0x0),_0x2bf930>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x34d0bb=void 0x0===_0x83f4d6?_0x542f4f['len']:_0x542f4f['pos']+_0x83f4d6,_0x5efb41=new _0x17ddb1['CommentThreadAddedCommentDescriptor']();_0x542f4f['pos']<_0x34d0bb;){var _0xb91c7c=_0x542f4f['uint32']();if(_0xb91c7c===_0x5f4c83)break;switch(_0xb91c7c>>>0x3){case 0x1:_0x5efb41['commentId']=_0x542f4f['string']();break;case 0x2:_0x5efb41['createdAt']=_0x542f4f['string']();break;default:_0x542f4f['skipType'](0x7&_0xb91c7c,_0x2bf930);}}return _0x5efb41;},_0x4d68af['decodeDelimited']=function(_0x7d1239){return _0x7d1239 instanceof _0x4b9dbe||(_0x7d1239=new _0x4b9dbe(_0x7d1239)),this['decode'](_0x7d1239,_0x7d1239['uint32']());},_0x4d68af['verify']=function(_0x2dbb69,_0x58833e){return'object'!=typeof _0x2dbb69||null===_0x2dbb69?'object\x20expected':(void 0x0===_0x58833e&&(_0x58833e=0x0),_0x58833e>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2dbb69['commentId']&&_0x2dbb69['hasOwnProperty']('commentId')&&!_0x38eba6['isString'](_0x2dbb69['commentId'])?'commentId:\x20string\x20expected':null!=_0x2dbb69['createdAt']&&_0x2dbb69['hasOwnProperty']('createdAt')&&!_0x38eba6['isString'](_0x2dbb69['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x4d68af['fromObject']=function(_0x171566,_0x524ebd){if(_0x171566 instanceof _0x17ddb1['CommentThreadAddedCommentDescriptor'])return _0x171566;if(void 0x0===_0x524ebd&&(_0x524ebd=0x0),_0x524ebd>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4d1074=new _0x17ddb1['CommentThreadAddedCommentDescriptor']();return null!=_0x171566['commentId']&&(_0x4d1074['commentId']=String(_0x171566['commentId'])),null!=_0x171566['createdAt']&&(_0x4d1074['createdAt']=String(_0x171566['createdAt'])),_0x4d1074;},_0x4d68af['toObject']=function(_0x335455,_0x1c7104){_0x1c7104||(_0x1c7104={});var _0x447745={};return _0x1c7104['defaults']&&(_0x447745['commentId']='',_0x447745['createdAt']=''),null!=_0x335455['commentId']&&_0x335455['hasOwnProperty']('commentId')&&(_0x447745['commentId']=_0x335455['commentId']),null!=_0x335455['createdAt']&&_0x335455['hasOwnProperty']('createdAt')&&(_0x447745['createdAt']=_0x335455['createdAt']),_0x447745;},_0x4d68af['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x4d68af['getTypeUrl']=function(_0x323787){return void 0x0===_0x323787&&(_0x323787='type.googleapis.com'),_0x323787+'/CommentThreadAddedCommentDescriptor';},_0x4d68af;}()),_0x17ddb1['CommentsThreadDescriptor']=(function(){function _0x1e14d5(_0x2f18b0){if(this['comments']=[],_0x2f18b0){for(var _0x2f592b=Object['keys'](_0x2f18b0),_0x3ec6c9=0x0;_0x3ec6c9<_0x2f592b['length'];++_0x3ec6c9)null!=_0x2f18b0[_0x2f592b[_0x3ec6c9]]&&'__proto__'!==_0x2f592b[_0x3ec6c9]&&(this[_0x2f592b[_0x3ec6c9]]=_0x2f18b0[_0x2f592b[_0x3ec6c9]]);}}return _0x1e14d5['prototype']['commentThreadId']='',_0x1e14d5['prototype']['comments']=_0x38eba6['emptyArray'],_0x1e14d5['prototype']['resolvedAt']='',_0x1e14d5['prototype']['resolvedBy']='',_0x1e14d5['prototype']['context']='',_0x1e14d5['prototype']['createdAt']='',_0x1e14d5['prototype']['deletedAt']='',_0x1e14d5['prototype']['attributes']='',_0x1e14d5['prototype']['unlinkedAt']='',_0x1e14d5['create']=function(_0x56f392){return new _0x1e14d5(_0x56f392);},_0x1e14d5['encode']=function(_0x3f5c30,_0x1fd203){if(_0x1fd203||(_0x1fd203=_0x4cef4a['create']()),null!=_0x3f5c30['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3f5c30,'commentThreadId')&&_0x1fd203['uint32'](0xa)['string'](_0x3f5c30['commentThreadId']),null!=_0x3f5c30['comments']&&_0x3f5c30['comments']['length']){for(var _0x397a8d=0x0;_0x397a8d<_0x3f5c30['comments']['length'];++_0x397a8d)_0x17ddb1['CommentDescriptor']['encode'](_0x3f5c30['comments'][_0x397a8d],_0x1fd203['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x3f5c30['resolvedAt']&&Object['hasOwnProperty']['call'](_0x3f5c30,'resolvedAt')&&_0x1fd203['uint32'](0x1a)['string'](_0x3f5c30['resolvedAt']),null!=_0x3f5c30['resolvedBy']&&Object['hasOwnProperty']['call'](_0x3f5c30,'resolvedBy')&&_0x1fd203['uint32'](0x22)['string'](_0x3f5c30['resolvedBy']),null!=_0x3f5c30['context']&&Object['hasOwnProperty']['call'](_0x3f5c30,'context')&&_0x1fd203['uint32'](0x2a)['string'](_0x3f5c30['context']),null!=_0x3f5c30['createdAt']&&Object['hasOwnProperty']['call'](_0x3f5c30,'createdAt')&&_0x1fd203['uint32'](0x32)['string'](_0x3f5c30['createdAt']),null!=_0x3f5c30['deletedAt']&&Object['hasOwnProperty']['call'](_0x3f5c30,'deletedAt')&&_0x1fd203['uint32'](0x3a)['string'](_0x3f5c30['deletedAt']),null!=_0x3f5c30['attributes']&&Object['hasOwnProperty']['call'](_0x3f5c30,'attributes')&&_0x1fd203['uint32'](0x42)['string'](_0x3f5c30['attributes']),null!=_0x3f5c30['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x3f5c30,'unlinkedAt')&&_0x1fd203['uint32'](0x4a)['string'](_0x3f5c30['unlinkedAt']),_0x1fd203;},_0x1e14d5['encodeDelimited']=function(_0x4be70d,_0x5d997e){return this['encode'](_0x4be70d,_0x5d997e)['ldelim']();},_0x1e14d5['decode']=function(_0x73c96a,_0x3558d9,_0x3c6442,_0x32dab2){if(_0x73c96a instanceof _0x4b9dbe||(_0x73c96a=_0x4b9dbe['create'](_0x73c96a)),void 0x0===_0x32dab2&&(_0x32dab2=0x0),_0x32dab2>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x123f7a=void 0x0===_0x3558d9?_0x73c96a['len']:_0x73c96a['pos']+_0x3558d9,_0x2287a8=new _0x17ddb1['CommentsThreadDescriptor']();_0x73c96a['pos']<_0x123f7a;){var _0x37c29b=_0x73c96a['uint32']();if(_0x37c29b===_0x3c6442)break;switch(_0x37c29b>>>0x3){case 0x1:_0x2287a8['commentThreadId']=_0x73c96a['string']();break;case 0x2:_0x2287a8['comments']&&_0x2287a8['comments']['length']||(_0x2287a8['comments']=[]),_0x2287a8['comments']['push'](_0x17ddb1['CommentDescriptor']['decode'](_0x73c96a,_0x73c96a['uint32'](),void 0x0,_0x32dab2+0x1));break;case 0x3:_0x2287a8['resolvedAt']=_0x73c96a['string']();break;case 0x4:_0x2287a8['resolvedBy']=_0x73c96a['string']();break;case 0x5:_0x2287a8['context']=_0x73c96a['string']();break;case 0x6:_0x2287a8['createdAt']=_0x73c96a['string']();break;case 0x7:_0x2287a8['deletedAt']=_0x73c96a['string']();break;case 0x8:_0x2287a8['attributes']=_0x73c96a['string']();break;case 0x9:_0x2287a8['unlinkedAt']=_0x73c96a['string']();break;default:_0x73c96a['skipType'](0x7&_0x37c29b,_0x32dab2);}}return _0x2287a8;},_0x1e14d5['decodeDelimited']=function(_0x2bdc8e){return _0x2bdc8e instanceof _0x4b9dbe||(_0x2bdc8e=new _0x4b9dbe(_0x2bdc8e)),this['decode'](_0x2bdc8e,_0x2bdc8e['uint32']());},_0x1e14d5['verify']=function(_0x22f777,_0x34efd6){if('object'!=typeof _0x22f777||null===_0x22f777)return'object\x20expected';if(void 0x0===_0x34efd6&&(_0x34efd6=0x0),_0x34efd6>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x22f777['commentThreadId']&&_0x22f777['hasOwnProperty']('commentThreadId')&&!_0x38eba6['isString'](_0x22f777['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x22f777['comments']&&_0x22f777['hasOwnProperty']('comments')){if(!Array['isArray'](_0x22f777['comments']))return'comments:\x20array\x20expected';for(var _0x3a1d84=0x0;_0x3a1d84<_0x22f777['comments']['length'];++_0x3a1d84){var _0x36eea0=_0x17ddb1['CommentDescriptor']['verify'](_0x22f777['comments'][_0x3a1d84],_0x34efd6+0x1);if(_0x36eea0)return'comments.'+_0x36eea0;}}return null!=_0x22f777['resolvedAt']&&_0x22f777['hasOwnProperty']('resolvedAt')&&!_0x38eba6['isString'](_0x22f777['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x22f777['resolvedBy']&&_0x22f777['hasOwnProperty']('resolvedBy')&&!_0x38eba6['isString'](_0x22f777['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x22f777['context']&&_0x22f777['hasOwnProperty']('context')&&!_0x38eba6['isString'](_0x22f777['context'])?'context:\x20string\x20expected':null!=_0x22f777['createdAt']&&_0x22f777['hasOwnProperty']('createdAt')&&!_0x38eba6['isString'](_0x22f777['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x22f777['deletedAt']&&_0x22f777['hasOwnProperty']('deletedAt')&&!_0x38eba6['isString'](_0x22f777['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x22f777['attributes']&&_0x22f777['hasOwnProperty']('attributes')&&!_0x38eba6['isString'](_0x22f777['attributes'])?'attributes:\x20string\x20expected':null!=_0x22f777['unlinkedAt']&&_0x22f777['hasOwnProperty']('unlinkedAt')&&!_0x38eba6['isString'](_0x22f777['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x1e14d5['fromObject']=function(_0x2dea00,_0x276371){if(_0x2dea00 instanceof _0x17ddb1['CommentsThreadDescriptor'])return _0x2dea00;if(void 0x0===_0x276371&&(_0x276371=0x0),_0x276371>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x17b314=new _0x17ddb1['CommentsThreadDescriptor']();if(null!=_0x2dea00['commentThreadId']&&(_0x17b314['commentThreadId']=String(_0x2dea00['commentThreadId'])),_0x2dea00['comments']){if(!Array['isArray'](_0x2dea00['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x17b314['comments']=[];for(var _0x3cc713=0x0;_0x3cc713<_0x2dea00['comments']['length'];++_0x3cc713){if('object'!=typeof _0x2dea00['comments'][_0x3cc713])throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x17b314['comments'][_0x3cc713]=_0x17ddb1['CommentDescriptor']['fromObject'](_0x2dea00['comments'][_0x3cc713],_0x276371+0x1);}}return null!=_0x2dea00['resolvedAt']&&(_0x17b314['resolvedAt']=String(_0x2dea00['resolvedAt'])),null!=_0x2dea00['resolvedBy']&&(_0x17b314['resolvedBy']=String(_0x2dea00['resolvedBy'])),null!=_0x2dea00['context']&&(_0x17b314['context']=String(_0x2dea00['context'])),null!=_0x2dea00['createdAt']&&(_0x17b314['createdAt']=String(_0x2dea00['createdAt'])),null!=_0x2dea00['deletedAt']&&(_0x17b314['deletedAt']=String(_0x2dea00['deletedAt'])),null!=_0x2dea00['attributes']&&(_0x17b314['attributes']=String(_0x2dea00['attributes'])),null!=_0x2dea00['unlinkedAt']&&(_0x17b314['unlinkedAt']=String(_0x2dea00['unlinkedAt'])),_0x17b314;},_0x1e14d5['toObject']=function(_0x318d5b,_0x1de83c){_0x1de83c||(_0x1de83c={});var _0x3a1f97={};if((_0x1de83c['arrays']||_0x1de83c['defaults'])&&(_0x3a1f97['comments']=[]),_0x1de83c['defaults']&&(_0x3a1f97['commentThreadId']='',_0x3a1f97['resolvedAt']='',_0x3a1f97['resolvedBy']='',_0x3a1f97['context']='',_0x3a1f97['createdAt']='',_0x3a1f97['deletedAt']='',_0x3a1f97['attributes']='',_0x3a1f97['unlinkedAt']=''),null!=_0x318d5b['commentThreadId']&&_0x318d5b['hasOwnProperty']('commentThreadId')&&(_0x3a1f97['commentThreadId']=_0x318d5b['commentThreadId']),_0x318d5b['comments']&&_0x318d5b['comments']['length']){_0x3a1f97['comments']=[];for(var _0x35317d=0x0;_0x35317d<_0x318d5b['comments']['length'];++_0x35317d)_0x3a1f97['comments'][_0x35317d]=_0x17ddb1['CommentDescriptor']['toObject'](_0x318d5b['comments'][_0x35317d],_0x1de83c);}return null!=_0x318d5b['resolvedAt']&&_0x318d5b['hasOwnProperty']('resolvedAt')&&(_0x3a1f97['resolvedAt']=_0x318d5b['resolvedAt']),null!=_0x318d5b['resolvedBy']&&_0x318d5b['hasOwnProperty']('resolvedBy')&&(_0x3a1f97['resolvedBy']=_0x318d5b['resolvedBy']),null!=_0x318d5b['context']&&_0x318d5b['hasOwnProperty']('context')&&(_0x3a1f97['context']=_0x318d5b['context']),null!=_0x318d5b['createdAt']&&_0x318d5b['hasOwnProperty']('createdAt')&&(_0x3a1f97['createdAt']=_0x318d5b['createdAt']),null!=_0x318d5b['deletedAt']&&_0x318d5b['hasOwnProperty']('deletedAt')&&(_0x3a1f97['deletedAt']=_0x318d5b['deletedAt']),null!=_0x318d5b['attributes']&&_0x318d5b['hasOwnProperty']('attributes')&&(_0x3a1f97['attributes']=_0x318d5b['attributes']),null!=_0x318d5b['unlinkedAt']&&_0x318d5b['hasOwnProperty']('unlinkedAt')&&(_0x3a1f97['unlinkedAt']=_0x318d5b['unlinkedAt']),_0x3a1f97;},_0x1e14d5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x1e14d5['getTypeUrl']=function(_0x1bf0a4){return void 0x0===_0x1bf0a4&&(_0x1bf0a4='type.googleapis.com'),_0x1bf0a4+'/CommentsThreadDescriptor';},_0x1e14d5;}()),_0x17ddb1['CommentDescriptor']=(function(){function _0x23d586(_0x509cf1){if(_0x509cf1){for(var _0x3133bd=Object['keys'](_0x509cf1),_0x39438b=0x0;_0x39438b<_0x3133bd['length'];++_0x39438b)null!=_0x509cf1[_0x3133bd[_0x39438b]]&&'__proto__'!==_0x3133bd[_0x39438b]&&(this[_0x3133bd[_0x39438b]]=_0x509cf1[_0x3133bd[_0x39438b]]);}}return _0x23d586['prototype']['commentId']='',_0x23d586['prototype']['commentThreadId']='',_0x23d586['prototype']['userId']='',_0x23d586['prototype']['content']='',_0x23d586['prototype']['documentId']='',_0x23d586['prototype']['createdAt']='',_0x23d586['prototype']['attributes']='',_0x23d586['create']=function(_0x33078f){return new _0x23d586(_0x33078f);},_0x23d586['encode']=function(_0xc2ff9e,_0x5de16c){return _0x5de16c||(_0x5de16c=_0x4cef4a['create']()),null!=_0xc2ff9e['commentId']&&Object['hasOwnProperty']['call'](_0xc2ff9e,'commentId')&&_0x5de16c['uint32'](0xa)['string'](_0xc2ff9e['commentId']),null!=_0xc2ff9e['commentThreadId']&&Object['hasOwnProperty']['call'](_0xc2ff9e,'commentThreadId')&&_0x5de16c['uint32'](0x12)['string'](_0xc2ff9e['commentThreadId']),null!=_0xc2ff9e['userId']&&Object['hasOwnProperty']['call'](_0xc2ff9e,'userId')&&_0x5de16c['uint32'](0x1a)['string'](_0xc2ff9e['userId']),null!=_0xc2ff9e['content']&&Object['hasOwnProperty']['call'](_0xc2ff9e,'content')&&_0x5de16c['uint32'](0x22)['string'](_0xc2ff9e['content']),null!=_0xc2ff9e['documentId']&&Object['hasOwnProperty']['call'](_0xc2ff9e,'documentId')&&_0x5de16c['uint32'](0x2a)['string'](_0xc2ff9e['documentId']),null!=_0xc2ff9e['createdAt']&&Object['hasOwnProperty']['call'](_0xc2ff9e,'createdAt')&&_0x5de16c['uint32'](0x32)['string'](_0xc2ff9e['createdAt']),null!=_0xc2ff9e['attributes']&&Object['hasOwnProperty']['call'](_0xc2ff9e,'attributes')&&_0x5de16c['uint32'](0x3a)['string'](_0xc2ff9e['attributes']),_0x5de16c;},_0x23d586['encodeDelimited']=function(_0xf8144d,_0x5a1cf1){return this['encode'](_0xf8144d,_0x5a1cf1)['ldelim']();},_0x23d586['decode']=function(_0x347d5a,_0x28358f,_0x1e42b8,_0x31a0aa){if(_0x347d5a instanceof _0x4b9dbe||(_0x347d5a=_0x4b9dbe['create'](_0x347d5a)),void 0x0===_0x31a0aa&&(_0x31a0aa=0x0),_0x31a0aa>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3c5749=void 0x0===_0x28358f?_0x347d5a['len']:_0x347d5a['pos']+_0x28358f,_0x5da8a8=new _0x17ddb1['CommentDescriptor']();_0x347d5a['pos']<_0x3c5749;){var _0x349a2c=_0x347d5a['uint32']();if(_0x349a2c===_0x1e42b8)break;switch(_0x349a2c>>>0x3){case 0x1:_0x5da8a8['commentId']=_0x347d5a['string']();break;case 0x2:_0x5da8a8['commentThreadId']=_0x347d5a['string']();break;case 0x3:_0x5da8a8['userId']=_0x347d5a['string']();break;case 0x4:_0x5da8a8['content']=_0x347d5a['string']();break;case 0x5:_0x5da8a8['documentId']=_0x347d5a['string']();break;case 0x6:_0x5da8a8['createdAt']=_0x347d5a['string']();break;case 0x7:_0x5da8a8['attributes']=_0x347d5a['string']();break;default:_0x347d5a['skipType'](0x7&_0x349a2c,_0x31a0aa);}}return _0x5da8a8;},_0x23d586['decodeDelimited']=function(_0x32328a){return _0x32328a instanceof _0x4b9dbe||(_0x32328a=new _0x4b9dbe(_0x32328a)),this['decode'](_0x32328a,_0x32328a['uint32']());},_0x23d586['verify']=function(_0x1a7ed9,_0x495437){return'object'!=typeof _0x1a7ed9||null===_0x1a7ed9?'object\x20expected':(void 0x0===_0x495437&&(_0x495437=0x0),_0x495437>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1a7ed9['commentId']&&_0x1a7ed9['hasOwnProperty']('commentId')&&!_0x38eba6['isString'](_0x1a7ed9['commentId'])?'commentId:\x20string\x20expected':null!=_0x1a7ed9['commentThreadId']&&_0x1a7ed9['hasOwnProperty']('commentThreadId')&&!_0x38eba6['isString'](_0x1a7ed9['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x1a7ed9['userId']&&_0x1a7ed9['hasOwnProperty']('userId')&&!_0x38eba6['isString'](_0x1a7ed9['userId'])?'userId:\x20string\x20expected':null!=_0x1a7ed9['content']&&_0x1a7ed9['hasOwnProperty']('content')&&!_0x38eba6['isString'](_0x1a7ed9['content'])?'content:\x20string\x20expected':null!=_0x1a7ed9['documentId']&&_0x1a7ed9['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x1a7ed9['documentId'])?'documentId:\x20string\x20expected':null!=_0x1a7ed9['createdAt']&&_0x1a7ed9['hasOwnProperty']('createdAt')&&!_0x38eba6['isString'](_0x1a7ed9['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x1a7ed9['attributes']&&_0x1a7ed9['hasOwnProperty']('attributes')&&!_0x38eba6['isString'](_0x1a7ed9['attributes'])?'attributes:\x20string\x20expected':null);},_0x23d586['fromObject']=function(_0x775a7c,_0x474d54){if(_0x775a7c instanceof _0x17ddb1['CommentDescriptor'])return _0x775a7c;if(void 0x0===_0x474d54&&(_0x474d54=0x0),_0x474d54>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x21040e=new _0x17ddb1['CommentDescriptor']();return null!=_0x775a7c['commentId']&&(_0x21040e['commentId']=String(_0x775a7c['commentId'])),null!=_0x775a7c['commentThreadId']&&(_0x21040e['commentThreadId']=String(_0x775a7c['commentThreadId'])),null!=_0x775a7c['userId']&&(_0x21040e['userId']=String(_0x775a7c['userId'])),null!=_0x775a7c['content']&&(_0x21040e['content']=String(_0x775a7c['content'])),null!=_0x775a7c['documentId']&&(_0x21040e['documentId']=String(_0x775a7c['documentId'])),null!=_0x775a7c['createdAt']&&(_0x21040e['createdAt']=String(_0x775a7c['createdAt'])),null!=_0x775a7c['attributes']&&(_0x21040e['attributes']=String(_0x775a7c['attributes'])),_0x21040e;},_0x23d586['toObject']=function(_0x58c7d0,_0x13fd8a){_0x13fd8a||(_0x13fd8a={});var _0x5b1dd6={};return _0x13fd8a['defaults']&&(_0x5b1dd6['commentId']='',_0x5b1dd6['commentThreadId']='',_0x5b1dd6['userId']='',_0x5b1dd6['content']='',_0x5b1dd6['documentId']='',_0x5b1dd6['createdAt']='',_0x5b1dd6['attributes']=''),null!=_0x58c7d0['commentId']&&_0x58c7d0['hasOwnProperty']('commentId')&&(_0x5b1dd6['commentId']=_0x58c7d0['commentId']),null!=_0x58c7d0['commentThreadId']&&_0x58c7d0['hasOwnProperty']('commentThreadId')&&(_0x5b1dd6['commentThreadId']=_0x58c7d0['commentThreadId']),null!=_0x58c7d0['userId']&&_0x58c7d0['hasOwnProperty']('userId')&&(_0x5b1dd6['userId']=_0x58c7d0['userId']),null!=_0x58c7d0['content']&&_0x58c7d0['hasOwnProperty']('content')&&(_0x5b1dd6['content']=_0x58c7d0['content']),null!=_0x58c7d0['documentId']&&_0x58c7d0['hasOwnProperty']('documentId')&&(_0x5b1dd6['documentId']=_0x58c7d0['documentId']),null!=_0x58c7d0['createdAt']&&_0x58c7d0['hasOwnProperty']('createdAt')&&(_0x5b1dd6['createdAt']=_0x58c7d0['createdAt']),null!=_0x58c7d0['attributes']&&_0x58c7d0['hasOwnProperty']('attributes')&&(_0x5b1dd6['attributes']=_0x58c7d0['attributes']),_0x5b1dd6;},_0x23d586['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x23d586['getTypeUrl']=function(_0x201877){return void 0x0===_0x201877&&(_0x201877='type.googleapis.com'),_0x201877+'/CommentDescriptor';},_0x23d586;}()),_0x17ddb1['GetDocumentDetailsResponse']=(function(){function _0x3ab4fe(_0x5df01f){if(_0x5df01f){for(var _0x24646b=Object['keys'](_0x5df01f),_0x2007aa=0x0;_0x2007aa<_0x24646b['length'];++_0x2007aa)null!=_0x5df01f[_0x24646b[_0x2007aa]]&&'__proto__'!==_0x24646b[_0x2007aa]&&(this[_0x24646b[_0x2007aa]]=_0x5df01f[_0x24646b[_0x2007aa]]);}}return _0x3ab4fe['prototype']['lastDocumentSessionId']='',_0x3ab4fe['prototype']['lastDocumentSessionOperationId']='',_0x3ab4fe['prototype']['currentDocumentSessionId']='',_0x3ab4fe['prototype']['currentDocumentSessionVersion']=0x0,_0x3ab4fe['prototype']['currentDocumentSessionOperationId']='',_0x3ab4fe['create']=function(_0x14b05e){return new _0x3ab4fe(_0x14b05e);},_0x3ab4fe['encode']=function(_0x493946,_0x326be2){return _0x326be2||(_0x326be2=_0x4cef4a['create']()),null!=_0x493946['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x493946,'lastDocumentSessionId')&&_0x326be2['uint32'](0xa)['string'](_0x493946['lastDocumentSessionId']),null!=_0x493946['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x493946,'lastDocumentSessionOperationId')&&_0x326be2['uint32'](0x12)['string'](_0x493946['lastDocumentSessionOperationId']),null!=_0x493946['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x493946,'currentDocumentSessionId')&&_0x326be2['uint32'](0x1a)['string'](_0x493946['currentDocumentSessionId']),null!=_0x493946['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x493946,'currentDocumentSessionVersion')&&_0x326be2['uint32'](0x20)['uint32'](_0x493946['currentDocumentSessionVersion']),null!=_0x493946['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x493946,'currentDocumentSessionOperationId')&&_0x326be2['uint32'](0x2a)['string'](_0x493946['currentDocumentSessionOperationId']),_0x326be2;},_0x3ab4fe['encodeDelimited']=function(_0x2bf4ca,_0x5c7d1e){return this['encode'](_0x2bf4ca,_0x5c7d1e)['ldelim']();},_0x3ab4fe['decode']=function(_0x1aee49,_0x500881,_0x13d7c4,_0x2852cc){if(_0x1aee49 instanceof _0x4b9dbe||(_0x1aee49=_0x4b9dbe['create'](_0x1aee49)),void 0x0===_0x2852cc&&(_0x2852cc=0x0),_0x2852cc>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x28eb4c=void 0x0===_0x500881?_0x1aee49['len']:_0x1aee49['pos']+_0x500881,_0x323626=new _0x17ddb1['GetDocumentDetailsResponse']();_0x1aee49['pos']<_0x28eb4c;){var _0x564f03=_0x1aee49['uint32']();if(_0x564f03===_0x13d7c4)break;switch(_0x564f03>>>0x3){case 0x1:_0x323626['lastDocumentSessionId']=_0x1aee49['string']();break;case 0x2:_0x323626['lastDocumentSessionOperationId']=_0x1aee49['string']();break;case 0x3:_0x323626['currentDocumentSessionId']=_0x1aee49['string']();break;case 0x4:_0x323626['currentDocumentSessionVersion']=_0x1aee49['uint32']();break;case 0x5:_0x323626['currentDocumentSessionOperationId']=_0x1aee49['string']();break;default:_0x1aee49['skipType'](0x7&_0x564f03,_0x2852cc);}}return _0x323626;},_0x3ab4fe['decodeDelimited']=function(_0x455c30){return _0x455c30 instanceof _0x4b9dbe||(_0x455c30=new _0x4b9dbe(_0x455c30)),this['decode'](_0x455c30,_0x455c30['uint32']());},_0x3ab4fe['verify']=function(_0x86e98c,_0x21b9e9){return'object'!=typeof _0x86e98c||null===_0x86e98c?'object\x20expected':(void 0x0===_0x21b9e9&&(_0x21b9e9=0x0),_0x21b9e9>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x86e98c['lastDocumentSessionId']&&_0x86e98c['hasOwnProperty']('lastDocumentSessionId')&&!_0x38eba6['isString'](_0x86e98c['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0x86e98c['lastDocumentSessionOperationId']&&_0x86e98c['hasOwnProperty']('lastDocumentSessionOperationId')&&!_0x38eba6['isString'](_0x86e98c['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0x86e98c['currentDocumentSessionId']&&_0x86e98c['hasOwnProperty']('currentDocumentSessionId')&&!_0x38eba6['isString'](_0x86e98c['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0x86e98c['currentDocumentSessionVersion']&&_0x86e98c['hasOwnProperty']('currentDocumentSessionVersion')&&!_0x38eba6['isInteger'](_0x86e98c['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0x86e98c['currentDocumentSessionOperationId']&&_0x86e98c['hasOwnProperty']('currentDocumentSessionOperationId')&&!_0x38eba6['isString'](_0x86e98c['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null);},_0x3ab4fe['fromObject']=function(_0x40e1b1,_0x345715){if(_0x40e1b1 instanceof _0x17ddb1['GetDocumentDetailsResponse'])return _0x40e1b1;if(void 0x0===_0x345715&&(_0x345715=0x0),_0x345715>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x31c496=new _0x17ddb1['GetDocumentDetailsResponse']();return null!=_0x40e1b1['lastDocumentSessionId']&&(_0x31c496['lastDocumentSessionId']=String(_0x40e1b1['lastDocumentSessionId'])),null!=_0x40e1b1['lastDocumentSessionOperationId']&&(_0x31c496['lastDocumentSessionOperationId']=String(_0x40e1b1['lastDocumentSessionOperationId'])),null!=_0x40e1b1['currentDocumentSessionId']&&(_0x31c496['currentDocumentSessionId']=String(_0x40e1b1['currentDocumentSessionId'])),null!=_0x40e1b1['currentDocumentSessionVersion']&&(_0x31c496['currentDocumentSessionVersion']=_0x40e1b1['currentDocumentSessionVersion']>>>0x0),null!=_0x40e1b1['currentDocumentSessionOperationId']&&(_0x31c496['currentDocumentSessionOperationId']=String(_0x40e1b1['currentDocumentSessionOperationId'])),_0x31c496;},_0x3ab4fe['toObject']=function(_0x4b8f0b,_0x61e1e3){_0x61e1e3||(_0x61e1e3={});var _0x557018={};return _0x61e1e3['defaults']&&(_0x557018['lastDocumentSessionId']='',_0x557018['lastDocumentSessionOperationId']='',_0x557018['currentDocumentSessionId']='',_0x557018['currentDocumentSessionVersion']=0x0,_0x557018['currentDocumentSessionOperationId']=''),null!=_0x4b8f0b['lastDocumentSessionId']&&_0x4b8f0b['hasOwnProperty']('lastDocumentSessionId')&&(_0x557018['lastDocumentSessionId']=_0x4b8f0b['lastDocumentSessionId']),null!=_0x4b8f0b['lastDocumentSessionOperationId']&&_0x4b8f0b['hasOwnProperty']('lastDocumentSessionOperationId')&&(_0x557018['lastDocumentSessionOperationId']=_0x4b8f0b['lastDocumentSessionOperationId']),null!=_0x4b8f0b['currentDocumentSessionId']&&_0x4b8f0b['hasOwnProperty']('currentDocumentSessionId')&&(_0x557018['currentDocumentSessionId']=_0x4b8f0b['currentDocumentSessionId']),null!=_0x4b8f0b['currentDocumentSessionVersion']&&_0x4b8f0b['hasOwnProperty']('currentDocumentSessionVersion')&&(_0x557018['currentDocumentSessionVersion']=_0x4b8f0b['currentDocumentSessionVersion']),null!=_0x4b8f0b['currentDocumentSessionOperationId']&&_0x4b8f0b['hasOwnProperty']('currentDocumentSessionOperationId')&&(_0x557018['currentDocumentSessionOperationId']=_0x4b8f0b['currentDocumentSessionOperationId']),_0x557018;},_0x3ab4fe['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x3ab4fe['getTypeUrl']=function(_0x5177df){return void 0x0===_0x5177df&&(_0x5177df='type.googleapis.com'),_0x5177df+'/GetDocumentDetailsResponse';},_0x3ab4fe;}()),_0x17ddb1['CollaborativeEditingResponse']=(function(){function _0x31d253(_0x31c075){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x31c075){for(var _0x4f2c85=Object['keys'](_0x31c075),_0x2e645f=0x0;_0x2e645f<_0x4f2c85['length'];++_0x2e645f)null!=_0x31c075[_0x4f2c85[_0x2e645f]]&&'__proto__'!==_0x4f2c85[_0x2e645f]&&(this[_0x4f2c85[_0x2e645f]]=_0x31c075[_0x4f2c85[_0x2e645f]]);}}return _0x31d253['prototype']['version']=0x0,_0x31d253['prototype']['buffers']=_0x38eba6['emptyArray'],_0x31d253['prototype']['types']=_0x38eba6['emptyArray'],_0x31d253['prototype']['metadata']=_0x38eba6['emptyArray'],_0x31d253['prototype']['lastOperationId']='',_0x31d253['prototype']['lastOperationAcceptedAt']='',_0x31d253['create']=function(_0x3245ee){return new _0x31d253(_0x3245ee);},_0x31d253['encode']=function(_0x434f92,_0x26fbde){if(_0x26fbde||(_0x26fbde=_0x4cef4a['create']()),null!=_0x434f92['version']&&Object['hasOwnProperty']['call'](_0x434f92,'version')&&_0x26fbde['uint32'](0x8)['uint32'](_0x434f92['version']),null!=_0x434f92['buffers']&&_0x434f92['buffers']['length']){for(var _0x3e167d=0x0;_0x3e167d<_0x434f92['buffers']['length'];++_0x3e167d)_0x26fbde['uint32'](0x12)['bytes'](_0x434f92['buffers'][_0x3e167d]);}if(null!=_0x434f92['types']&&_0x434f92['types']['length']){for(_0x26fbde['uint32'](0x1a)['fork'](),_0x3e167d=0x0;_0x3e167d<_0x434f92['types']['length'];++_0x3e167d)_0x26fbde['uint32'](_0x434f92['types'][_0x3e167d]);_0x26fbde['ldelim']();}if(null!=_0x434f92['metadata']&&_0x434f92['metadata']['length']){for(_0x3e167d=0x0;_0x3e167d<_0x434f92['metadata']['length'];++_0x3e167d)_0x17ddb1['OperationMetadataDescriptor']['encode'](_0x434f92['metadata'][_0x3e167d],_0x26fbde['uint32'](0x2a)['fork']())['ldelim']();}return null!=_0x434f92['lastOperationId']&&Object['hasOwnProperty']['call'](_0x434f92,'lastOperationId')&&_0x26fbde['uint32'](0x32)['string'](_0x434f92['lastOperationId']),null!=_0x434f92['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x434f92,'lastOperationAcceptedAt')&&_0x26fbde['uint32'](0x3a)['string'](_0x434f92['lastOperationAcceptedAt']),_0x26fbde;},_0x31d253['encodeDelimited']=function(_0x1ef772,_0x4a6762){return this['encode'](_0x1ef772,_0x4a6762)['ldelim']();},_0x31d253['decode']=function(_0xa2342f,_0x1c4ecf,_0x1dde1b,_0xf835d3){if(_0xa2342f instanceof _0x4b9dbe||(_0xa2342f=_0x4b9dbe['create'](_0xa2342f)),void 0x0===_0xf835d3&&(_0xf835d3=0x0),_0xf835d3>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1f25b1=void 0x0===_0x1c4ecf?_0xa2342f['len']:_0xa2342f['pos']+_0x1c4ecf,_0x514ca1=new _0x17ddb1['CollaborativeEditingResponse']();_0xa2342f['pos']<_0x1f25b1;){var _0x4b54df=_0xa2342f['uint32']();if(_0x4b54df===_0x1dde1b)break;switch(_0x4b54df>>>0x3){case 0x1:_0x514ca1['version']=_0xa2342f['uint32']();break;case 0x2:_0x514ca1['buffers']&&_0x514ca1['buffers']['length']||(_0x514ca1['buffers']=[]),_0x514ca1['buffers']['push'](_0xa2342f['bytes']());break;case 0x3:if(_0x514ca1['types']&&_0x514ca1['types']['length']||(_0x514ca1['types']=[]),0x2==(0x7&_0x4b54df)){for(var _0x26d675=_0xa2342f['uint32']()+_0xa2342f['pos'];_0xa2342f['pos']<_0x26d675;)_0x514ca1['types']['push'](_0xa2342f['uint32']());}else _0x514ca1['types']['push'](_0xa2342f['uint32']());break;case 0x5:_0x514ca1['metadata']&&_0x514ca1['metadata']['length']||(_0x514ca1['metadata']=[]),_0x514ca1['metadata']['push'](_0x17ddb1['OperationMetadataDescriptor']['decode'](_0xa2342f,_0xa2342f['uint32'](),void 0x0,_0xf835d3+0x1));break;case 0x6:_0x514ca1['lastOperationId']=_0xa2342f['string']();break;case 0x7:_0x514ca1['lastOperationAcceptedAt']=_0xa2342f['string']();break;default:_0xa2342f['skipType'](0x7&_0x4b54df,_0xf835d3);}}return _0x514ca1;},_0x31d253['decodeDelimited']=function(_0x3f78a3){return _0x3f78a3 instanceof _0x4b9dbe||(_0x3f78a3=new _0x4b9dbe(_0x3f78a3)),this['decode'](_0x3f78a3,_0x3f78a3['uint32']());},_0x31d253['verify']=function(_0x17dc3a,_0x43b8e7){if('object'!=typeof _0x17dc3a||null===_0x17dc3a)return'object\x20expected';if(void 0x0===_0x43b8e7&&(_0x43b8e7=0x0),_0x43b8e7>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x17dc3a['version']&&_0x17dc3a['hasOwnProperty']('version')&&!_0x38eba6['isInteger'](_0x17dc3a['version']))return'version:\x20integer\x20expected';if(null!=_0x17dc3a['buffers']&&_0x17dc3a['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x17dc3a['buffers']))return'buffers:\x20array\x20expected';for(var _0x3276f3=0x0;_0x3276f3<_0x17dc3a['buffers']['length'];++_0x3276f3)if(!(_0x17dc3a['buffers'][_0x3276f3]&&'number'==typeof _0x17dc3a['buffers'][_0x3276f3]['length']||_0x38eba6['isString'](_0x17dc3a['buffers'][_0x3276f3])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x17dc3a['types']&&_0x17dc3a['hasOwnProperty']('types')){if(!Array['isArray'](_0x17dc3a['types']))return'types:\x20array\x20expected';for(_0x3276f3=0x0;_0x3276f3<_0x17dc3a['types']['length'];++_0x3276f3)if(!_0x38eba6['isInteger'](_0x17dc3a['types'][_0x3276f3]))return'types:\x20integer[]\x20expected';}if(null!=_0x17dc3a['metadata']&&_0x17dc3a['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x17dc3a['metadata']))return'metadata:\x20array\x20expected';for(_0x3276f3=0x0;_0x3276f3<_0x17dc3a['metadata']['length'];++_0x3276f3){var _0x4ef858=_0x17ddb1['OperationMetadataDescriptor']['verify'](_0x17dc3a['metadata'][_0x3276f3],_0x43b8e7+0x1);if(_0x4ef858)return'metadata.'+_0x4ef858;}}return null!=_0x17dc3a['lastOperationId']&&_0x17dc3a['hasOwnProperty']('lastOperationId')&&!_0x38eba6['isString'](_0x17dc3a['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x17dc3a['lastOperationAcceptedAt']&&_0x17dc3a['hasOwnProperty']('lastOperationAcceptedAt')&&!_0x38eba6['isString'](_0x17dc3a['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0x31d253['fromObject']=function(_0x7d17ff,_0x2a829b){if(_0x7d17ff instanceof _0x17ddb1['CollaborativeEditingResponse'])return _0x7d17ff;if(void 0x0===_0x2a829b&&(_0x2a829b=0x0),_0x2a829b>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x346a90=new _0x17ddb1['CollaborativeEditingResponse']();if(null!=_0x7d17ff['version']&&(_0x346a90['version']=_0x7d17ff['version']>>>0x0),_0x7d17ff['buffers']){if(!Array['isArray'](_0x7d17ff['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x346a90['buffers']=[];for(var _0x230c91=0x0;_0x230c91<_0x7d17ff['buffers']['length'];++_0x230c91)'string'==typeof _0x7d17ff['buffers'][_0x230c91]?_0x38eba6['base64']['decode'](_0x7d17ff['buffers'][_0x230c91],_0x346a90['buffers'][_0x230c91]=_0x38eba6['newBuffer'](_0x38eba6['base64']['length'](_0x7d17ff['buffers'][_0x230c91])),0x0):_0x7d17ff['buffers'][_0x230c91]['length']>=0x0&&(_0x346a90['buffers'][_0x230c91]=_0x7d17ff['buffers'][_0x230c91]);}if(_0x7d17ff['types']){if(!Array['isArray'](_0x7d17ff['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x346a90['types']=[],_0x230c91=0x0;_0x230c91<_0x7d17ff['types']['length'];++_0x230c91)_0x346a90['types'][_0x230c91]=_0x7d17ff['types'][_0x230c91]>>>0x0;}if(_0x7d17ff['metadata']){if(!Array['isArray'](_0x7d17ff['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x346a90['metadata']=[],_0x230c91=0x0;_0x230c91<_0x7d17ff['metadata']['length'];++_0x230c91){if('object'!=typeof _0x7d17ff['metadata'][_0x230c91])throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x346a90['metadata'][_0x230c91]=_0x17ddb1['OperationMetadataDescriptor']['fromObject'](_0x7d17ff['metadata'][_0x230c91],_0x2a829b+0x1);}}return null!=_0x7d17ff['lastOperationId']&&(_0x346a90['lastOperationId']=String(_0x7d17ff['lastOperationId'])),null!=_0x7d17ff['lastOperationAcceptedAt']&&(_0x346a90['lastOperationAcceptedAt']=String(_0x7d17ff['lastOperationAcceptedAt'])),_0x346a90;},_0x31d253['toObject']=function(_0x5bc533,_0x5c683f){_0x5c683f||(_0x5c683f={});var _0x559ae1={};if((_0x5c683f['arrays']||_0x5c683f['defaults'])&&(_0x559ae1['buffers']=[],_0x559ae1['types']=[],_0x559ae1['metadata']=[]),_0x5c683f['defaults']&&(_0x559ae1['version']=0x0,_0x559ae1['lastOperationId']='',_0x559ae1['lastOperationAcceptedAt']=''),null!=_0x5bc533['version']&&_0x5bc533['hasOwnProperty']('version')&&(_0x559ae1['version']=_0x5bc533['version']),_0x5bc533['buffers']&&_0x5bc533['buffers']['length']){_0x559ae1['buffers']=[];for(var _0x17f9a0=0x0;_0x17f9a0<_0x5bc533['buffers']['length'];++_0x17f9a0)_0x559ae1['buffers'][_0x17f9a0]=_0x5c683f['bytes']===String?_0x38eba6['base64']['encode'](_0x5bc533['buffers'][_0x17f9a0],0x0,_0x5bc533['buffers'][_0x17f9a0]['length']):_0x5c683f['bytes']===Array?Array['prototype']['slice']['call'](_0x5bc533['buffers'][_0x17f9a0]):_0x5bc533['buffers'][_0x17f9a0];}if(_0x5bc533['types']&&_0x5bc533['types']['length']){for(_0x559ae1['types']=[],_0x17f9a0=0x0;_0x17f9a0<_0x5bc533['types']['length'];++_0x17f9a0)_0x559ae1['types'][_0x17f9a0]=_0x5bc533['types'][_0x17f9a0];}if(_0x5bc533['metadata']&&_0x5bc533['metadata']['length']){for(_0x559ae1['metadata']=[],_0x17f9a0=0x0;_0x17f9a0<_0x5bc533['metadata']['length'];++_0x17f9a0)_0x559ae1['metadata'][_0x17f9a0]=_0x17ddb1['OperationMetadataDescriptor']['toObject'](_0x5bc533['metadata'][_0x17f9a0],_0x5c683f);}return null!=_0x5bc533['lastOperationId']&&_0x5bc533['hasOwnProperty']('lastOperationId')&&(_0x559ae1['lastOperationId']=_0x5bc533['lastOperationId']),null!=_0x5bc533['lastOperationAcceptedAt']&&_0x5bc533['hasOwnProperty']('lastOperationAcceptedAt')&&(_0x559ae1['lastOperationAcceptedAt']=_0x5bc533['lastOperationAcceptedAt']),_0x559ae1;},_0x31d253['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x31d253['getTypeUrl']=function(_0x28aa9e){return void 0x0===_0x28aa9e&&(_0x28aa9e='type.googleapis.com'),_0x28aa9e+'/CollaborativeEditingResponse';},_0x31d253;}()),_0x17ddb1['CollaborativeEditingConnectResponse']=(function(){function _0x4dd592(_0x503bbb){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x503bbb){for(var _0x497002=Object['keys'](_0x503bbb),_0x439329=0x0;_0x439329<_0x497002['length'];++_0x439329)null!=_0x503bbb[_0x497002[_0x439329]]&&'__proto__'!==_0x497002[_0x439329]&&(this[_0x497002[_0x439329]]=_0x503bbb[_0x497002[_0x439329]]);}}return _0x4dd592['prototype']['channel']='',_0x4dd592['prototype']['offset']=0x0,_0x4dd592['prototype']['version']=0x0,_0x4dd592['prototype']['buffers']=_0x38eba6['emptyArray'],_0x4dd592['prototype']['types']=_0x38eba6['emptyArray'],_0x4dd592['prototype']['metadata']=_0x38eba6['emptyArray'],_0x4dd592['prototype']['initData']='',_0x4dd592['prototype']['isInitialized']=!0x1,_0x4dd592['prototype']['sessionId']='',_0x4dd592['prototype']['lastOperationId']='',_0x4dd592['prototype']['sessionCreatedAt']='',_0x4dd592['create']=function(_0x1c551c){return new _0x4dd592(_0x1c551c);},_0x4dd592['encode']=function(_0x563b95,_0x5949ba){if(_0x5949ba||(_0x5949ba=_0x4cef4a['create']()),null!=_0x563b95['channel']&&Object['hasOwnProperty']['call'](_0x563b95,'channel')&&_0x5949ba['uint32'](0xa)['string'](_0x563b95['channel']),null!=_0x563b95['offset']&&Object['hasOwnProperty']['call'](_0x563b95,'offset')&&_0x5949ba['uint32'](0x10)['uint32'](_0x563b95['offset']),null!=_0x563b95['version']&&Object['hasOwnProperty']['call'](_0x563b95,'version')&&_0x5949ba['uint32'](0x18)['uint32'](_0x563b95['version']),null!=_0x563b95['buffers']&&_0x563b95['buffers']['length']){for(var _0x2f47d7=0x0;_0x2f47d7<_0x563b95['buffers']['length'];++_0x2f47d7)_0x5949ba['uint32'](0x22)['bytes'](_0x563b95['buffers'][_0x2f47d7]);}if(null!=_0x563b95['types']&&_0x563b95['types']['length']){for(_0x5949ba['uint32'](0x2a)['fork'](),_0x2f47d7=0x0;_0x2f47d7<_0x563b95['types']['length'];++_0x2f47d7)_0x5949ba['uint32'](_0x563b95['types'][_0x2f47d7]);_0x5949ba['ldelim']();}if(null!=_0x563b95['metadata']&&_0x563b95['metadata']['length']){for(_0x2f47d7=0x0;_0x2f47d7<_0x563b95['metadata']['length'];++_0x2f47d7)_0x17ddb1['OperationMetadataDescriptor']['encode'](_0x563b95['metadata'][_0x2f47d7],_0x5949ba['uint32'](0x3a)['fork']())['ldelim']();}return null!=_0x563b95['initData']&&Object['hasOwnProperty']['call'](_0x563b95,'initData')&&_0x5949ba['uint32'](0x42)['string'](_0x563b95['initData']),null!=_0x563b95['isInitialized']&&Object['hasOwnProperty']['call'](_0x563b95,'isInitialized')&&_0x5949ba['uint32'](0x48)['bool'](_0x563b95['isInitialized']),null!=_0x563b95['sessionId']&&Object['hasOwnProperty']['call'](_0x563b95,'sessionId')&&_0x5949ba['uint32'](0x52)['string'](_0x563b95['sessionId']),null!=_0x563b95['lastOperationId']&&Object['hasOwnProperty']['call'](_0x563b95,'lastOperationId')&&_0x5949ba['uint32'](0x5a)['string'](_0x563b95['lastOperationId']),null!=_0x563b95['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x563b95,'sessionCreatedAt')&&_0x5949ba['uint32'](0x62)['string'](_0x563b95['sessionCreatedAt']),_0x5949ba;},_0x4dd592['encodeDelimited']=function(_0x57751f,_0x56f1c8){return this['encode'](_0x57751f,_0x56f1c8)['ldelim']();},_0x4dd592['decode']=function(_0x937cb5,_0x43d8ee,_0x4e56e2,_0x2f3e5a){if(_0x937cb5 instanceof _0x4b9dbe||(_0x937cb5=_0x4b9dbe['create'](_0x937cb5)),void 0x0===_0x2f3e5a&&(_0x2f3e5a=0x0),_0x2f3e5a>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x173a17=void 0x0===_0x43d8ee?_0x937cb5['len']:_0x937cb5['pos']+_0x43d8ee,_0x2f1d50=new _0x17ddb1['CollaborativeEditingConnectResponse']();_0x937cb5['pos']<_0x173a17;){var _0x4fffc1=_0x937cb5['uint32']();if(_0x4fffc1===_0x4e56e2)break;switch(_0x4fffc1>>>0x3){case 0x1:_0x2f1d50['channel']=_0x937cb5['string']();break;case 0x2:_0x2f1d50['offset']=_0x937cb5['uint32']();break;case 0x3:_0x2f1d50['version']=_0x937cb5['uint32']();break;case 0x4:_0x2f1d50['buffers']&&_0x2f1d50['buffers']['length']||(_0x2f1d50['buffers']=[]),_0x2f1d50['buffers']['push'](_0x937cb5['bytes']());break;case 0x5:if(_0x2f1d50['types']&&_0x2f1d50['types']['length']||(_0x2f1d50['types']=[]),0x2==(0x7&_0x4fffc1)){for(var _0x4a5ed1=_0x937cb5['uint32']()+_0x937cb5['pos'];_0x937cb5['pos']<_0x4a5ed1;)_0x2f1d50['types']['push'](_0x937cb5['uint32']());}else _0x2f1d50['types']['push'](_0x937cb5['uint32']());break;case 0x7:_0x2f1d50['metadata']&&_0x2f1d50['metadata']['length']||(_0x2f1d50['metadata']=[]),_0x2f1d50['metadata']['push'](_0x17ddb1['OperationMetadataDescriptor']['decode'](_0x937cb5,_0x937cb5['uint32'](),void 0x0,_0x2f3e5a+0x1));break;case 0x8:_0x2f1d50['initData']=_0x937cb5['string']();break;case 0x9:_0x2f1d50['isInitialized']=_0x937cb5['bool']();break;case 0xa:_0x2f1d50['sessionId']=_0x937cb5['string']();break;case 0xb:_0x2f1d50['lastOperationId']=_0x937cb5['string']();break;case 0xc:_0x2f1d50['sessionCreatedAt']=_0x937cb5['string']();break;default:_0x937cb5['skipType'](0x7&_0x4fffc1,_0x2f3e5a);}}return _0x2f1d50;},_0x4dd592['decodeDelimited']=function(_0x2a5489){return _0x2a5489 instanceof _0x4b9dbe||(_0x2a5489=new _0x4b9dbe(_0x2a5489)),this['decode'](_0x2a5489,_0x2a5489['uint32']());},_0x4dd592['verify']=function(_0x6d63c7,_0x29b581){if('object'!=typeof _0x6d63c7||null===_0x6d63c7)return'object\x20expected';if(void 0x0===_0x29b581&&(_0x29b581=0x0),_0x29b581>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x6d63c7['channel']&&_0x6d63c7['hasOwnProperty']('channel')&&!_0x38eba6['isString'](_0x6d63c7['channel']))return'channel:\x20string\x20expected';if(null!=_0x6d63c7['offset']&&_0x6d63c7['hasOwnProperty']('offset')&&!_0x38eba6['isInteger'](_0x6d63c7['offset']))return'offset:\x20integer\x20expected';if(null!=_0x6d63c7['version']&&_0x6d63c7['hasOwnProperty']('version')&&!_0x38eba6['isInteger'](_0x6d63c7['version']))return'version:\x20integer\x20expected';if(null!=_0x6d63c7['buffers']&&_0x6d63c7['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x6d63c7['buffers']))return'buffers:\x20array\x20expected';for(var _0x3b7480=0x0;_0x3b7480<_0x6d63c7['buffers']['length'];++_0x3b7480)if(!(_0x6d63c7['buffers'][_0x3b7480]&&'number'==typeof _0x6d63c7['buffers'][_0x3b7480]['length']||_0x38eba6['isString'](_0x6d63c7['buffers'][_0x3b7480])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x6d63c7['types']&&_0x6d63c7['hasOwnProperty']('types')){if(!Array['isArray'](_0x6d63c7['types']))return'types:\x20array\x20expected';for(_0x3b7480=0x0;_0x3b7480<_0x6d63c7['types']['length'];++_0x3b7480)if(!_0x38eba6['isInteger'](_0x6d63c7['types'][_0x3b7480]))return'types:\x20integer[]\x20expected';}if(null!=_0x6d63c7['metadata']&&_0x6d63c7['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x6d63c7['metadata']))return'metadata:\x20array\x20expected';for(_0x3b7480=0x0;_0x3b7480<_0x6d63c7['metadata']['length'];++_0x3b7480){var _0x187882=_0x17ddb1['OperationMetadataDescriptor']['verify'](_0x6d63c7['metadata'][_0x3b7480],_0x29b581+0x1);if(_0x187882)return'metadata.'+_0x187882;}}return null!=_0x6d63c7['initData']&&_0x6d63c7['hasOwnProperty']('initData')&&!_0x38eba6['isString'](_0x6d63c7['initData'])?'initData:\x20string\x20expected':null!=_0x6d63c7['isInitialized']&&_0x6d63c7['hasOwnProperty']('isInitialized')&&'boolean'!=typeof _0x6d63c7['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x6d63c7['sessionId']&&_0x6d63c7['hasOwnProperty']('sessionId')&&!_0x38eba6['isString'](_0x6d63c7['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x6d63c7['lastOperationId']&&_0x6d63c7['hasOwnProperty']('lastOperationId')&&!_0x38eba6['isString'](_0x6d63c7['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x6d63c7['sessionCreatedAt']&&_0x6d63c7['hasOwnProperty']('sessionCreatedAt')&&!_0x38eba6['isString'](_0x6d63c7['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0x4dd592['fromObject']=function(_0x4d494,_0x23e7ab){if(_0x4d494 instanceof _0x17ddb1['CollaborativeEditingConnectResponse'])return _0x4d494;if(void 0x0===_0x23e7ab&&(_0x23e7ab=0x0),_0x23e7ab>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x37067a=new _0x17ddb1['CollaborativeEditingConnectResponse']();if(null!=_0x4d494['channel']&&(_0x37067a['channel']=String(_0x4d494['channel'])),null!=_0x4d494['offset']&&(_0x37067a['offset']=_0x4d494['offset']>>>0x0),null!=_0x4d494['version']&&(_0x37067a['version']=_0x4d494['version']>>>0x0),_0x4d494['buffers']){if(!Array['isArray'](_0x4d494['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x37067a['buffers']=[];for(var _0xa5a592=0x0;_0xa5a592<_0x4d494['buffers']['length'];++_0xa5a592)'string'==typeof _0x4d494['buffers'][_0xa5a592]?_0x38eba6['base64']['decode'](_0x4d494['buffers'][_0xa5a592],_0x37067a['buffers'][_0xa5a592]=_0x38eba6['newBuffer'](_0x38eba6['base64']['length'](_0x4d494['buffers'][_0xa5a592])),0x0):_0x4d494['buffers'][_0xa5a592]['length']>=0x0&&(_0x37067a['buffers'][_0xa5a592]=_0x4d494['buffers'][_0xa5a592]);}if(_0x4d494['types']){if(!Array['isArray'](_0x4d494['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0x37067a['types']=[],_0xa5a592=0x0;_0xa5a592<_0x4d494['types']['length'];++_0xa5a592)_0x37067a['types'][_0xa5a592]=_0x4d494['types'][_0xa5a592]>>>0x0;}if(_0x4d494['metadata']){if(!Array['isArray'](_0x4d494['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0x37067a['metadata']=[],_0xa5a592=0x0;_0xa5a592<_0x4d494['metadata']['length'];++_0xa5a592){if('object'!=typeof _0x4d494['metadata'][_0xa5a592])throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x37067a['metadata'][_0xa5a592]=_0x17ddb1['OperationMetadataDescriptor']['fromObject'](_0x4d494['metadata'][_0xa5a592],_0x23e7ab+0x1);}}return null!=_0x4d494['initData']&&(_0x37067a['initData']=String(_0x4d494['initData'])),null!=_0x4d494['isInitialized']&&(_0x37067a['isInitialized']=Boolean(_0x4d494['isInitialized'])),null!=_0x4d494['sessionId']&&(_0x37067a['sessionId']=String(_0x4d494['sessionId'])),null!=_0x4d494['lastOperationId']&&(_0x37067a['lastOperationId']=String(_0x4d494['lastOperationId'])),null!=_0x4d494['sessionCreatedAt']&&(_0x37067a['sessionCreatedAt']=String(_0x4d494['sessionCreatedAt'])),_0x37067a;},_0x4dd592['toObject']=function(_0x65c249,_0x669212){_0x669212||(_0x669212={});var _0x2e6210={};if((_0x669212['arrays']||_0x669212['defaults'])&&(_0x2e6210['buffers']=[],_0x2e6210['types']=[],_0x2e6210['metadata']=[]),_0x669212['defaults']&&(_0x2e6210['channel']='',_0x2e6210['offset']=0x0,_0x2e6210['version']=0x0,_0x2e6210['initData']='',_0x2e6210['isInitialized']=!0x1,_0x2e6210['sessionId']='',_0x2e6210['lastOperationId']='',_0x2e6210['sessionCreatedAt']=''),null!=_0x65c249['channel']&&_0x65c249['hasOwnProperty']('channel')&&(_0x2e6210['channel']=_0x65c249['channel']),null!=_0x65c249['offset']&&_0x65c249['hasOwnProperty']('offset')&&(_0x2e6210['offset']=_0x65c249['offset']),null!=_0x65c249['version']&&_0x65c249['hasOwnProperty']('version')&&(_0x2e6210['version']=_0x65c249['version']),_0x65c249['buffers']&&_0x65c249['buffers']['length']){_0x2e6210['buffers']=[];for(var _0x4f04d6=0x0;_0x4f04d6<_0x65c249['buffers']['length'];++_0x4f04d6)_0x2e6210['buffers'][_0x4f04d6]=_0x669212['bytes']===String?_0x38eba6['base64']['encode'](_0x65c249['buffers'][_0x4f04d6],0x0,_0x65c249['buffers'][_0x4f04d6]['length']):_0x669212['bytes']===Array?Array['prototype']['slice']['call'](_0x65c249['buffers'][_0x4f04d6]):_0x65c249['buffers'][_0x4f04d6];}if(_0x65c249['types']&&_0x65c249['types']['length']){for(_0x2e6210['types']=[],_0x4f04d6=0x0;_0x4f04d6<_0x65c249['types']['length'];++_0x4f04d6)_0x2e6210['types'][_0x4f04d6]=_0x65c249['types'][_0x4f04d6];}if(_0x65c249['metadata']&&_0x65c249['metadata']['length']){for(_0x2e6210['metadata']=[],_0x4f04d6=0x0;_0x4f04d6<_0x65c249['metadata']['length'];++_0x4f04d6)_0x2e6210['metadata'][_0x4f04d6]=_0x17ddb1['OperationMetadataDescriptor']['toObject'](_0x65c249['metadata'][_0x4f04d6],_0x669212);}return null!=_0x65c249['initData']&&_0x65c249['hasOwnProperty']('initData')&&(_0x2e6210['initData']=_0x65c249['initData']),null!=_0x65c249['isInitialized']&&_0x65c249['hasOwnProperty']('isInitialized')&&(_0x2e6210['isInitialized']=_0x65c249['isInitialized']),null!=_0x65c249['sessionId']&&_0x65c249['hasOwnProperty']('sessionId')&&(_0x2e6210['sessionId']=_0x65c249['sessionId']),null!=_0x65c249['lastOperationId']&&_0x65c249['hasOwnProperty']('lastOperationId')&&(_0x2e6210['lastOperationId']=_0x65c249['lastOperationId']),null!=_0x65c249['sessionCreatedAt']&&_0x65c249['hasOwnProperty']('sessionCreatedAt')&&(_0x2e6210['sessionCreatedAt']=_0x65c249['sessionCreatedAt']),_0x2e6210;},_0x4dd592['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x4dd592['getTypeUrl']=function(_0x56a632){return void 0x0===_0x56a632&&(_0x56a632='type.googleapis.com'),_0x56a632+'/CollaborativeEditingConnectResponse';},_0x4dd592;}()),_0x17ddb1['GetDocumentDetailsMessage']=(function(){function _0x8b035b(_0x4fed7f){if(_0x4fed7f){for(var _0x4d80a5=Object['keys'](_0x4fed7f),_0x183caf=0x0;_0x183caf<_0x4d80a5['length'];++_0x183caf)null!=_0x4fed7f[_0x4d80a5[_0x183caf]]&&'__proto__'!==_0x4d80a5[_0x183caf]&&(this[_0x4d80a5[_0x183caf]]=_0x4fed7f[_0x4d80a5[_0x183caf]]);}}return _0x8b035b['prototype']['documentId']='',_0x8b035b['prototype']['environmentId']='',_0x8b035b['create']=function(_0x33455c){return new _0x8b035b(_0x33455c);},_0x8b035b['encode']=function(_0x278780,_0x3a17b9){return _0x3a17b9||(_0x3a17b9=_0x4cef4a['create']()),null!=_0x278780['documentId']&&Object['hasOwnProperty']['call'](_0x278780,'documentId')&&_0x3a17b9['uint32'](0xa)['string'](_0x278780['documentId']),null!=_0x278780['environmentId']&&Object['hasOwnProperty']['call'](_0x278780,'environmentId')&&_0x3a17b9['uint32'](0x12)['string'](_0x278780['environmentId']),_0x3a17b9;},_0x8b035b['encodeDelimited']=function(_0x2ffe42,_0x954239){return this['encode'](_0x2ffe42,_0x954239)['ldelim']();},_0x8b035b['decode']=function(_0x2782b2,_0x5f24e0,_0x537c7e,_0x5409b0){if(_0x2782b2 instanceof _0x4b9dbe||(_0x2782b2=_0x4b9dbe['create'](_0x2782b2)),void 0x0===_0x5409b0&&(_0x5409b0=0x0),_0x5409b0>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2778d5=void 0x0===_0x5f24e0?_0x2782b2['len']:_0x2782b2['pos']+_0x5f24e0,_0x558b8e=new _0x17ddb1['GetDocumentDetailsMessage']();_0x2782b2['pos']<_0x2778d5;){var _0x351237=_0x2782b2['uint32']();if(_0x351237===_0x537c7e)break;switch(_0x351237>>>0x3){case 0x1:_0x558b8e['documentId']=_0x2782b2['string']();break;case 0x2:_0x558b8e['environmentId']=_0x2782b2['string']();break;default:_0x2782b2['skipType'](0x7&_0x351237,_0x5409b0);}}return _0x558b8e;},_0x8b035b['decodeDelimited']=function(_0x5aaf64){return _0x5aaf64 instanceof _0x4b9dbe||(_0x5aaf64=new _0x4b9dbe(_0x5aaf64)),this['decode'](_0x5aaf64,_0x5aaf64['uint32']());},_0x8b035b['verify']=function(_0x3616e0,_0x1674f4){return'object'!=typeof _0x3616e0||null===_0x3616e0?'object\x20expected':(void 0x0===_0x1674f4&&(_0x1674f4=0x0),_0x1674f4>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x3616e0['documentId']&&_0x3616e0['hasOwnProperty']('documentId')&&!_0x38eba6['isString'](_0x3616e0['documentId'])?'documentId:\x20string\x20expected':null!=_0x3616e0['environmentId']&&_0x3616e0['hasOwnProperty']('environmentId')&&!_0x38eba6['isString'](_0x3616e0['environmentId'])?'environmentId:\x20string\x20expected':null);},_0x8b035b['fromObject']=function(_0x2acee9,_0x5a0494){if(_0x2acee9 instanceof _0x17ddb1['GetDocumentDetailsMessage'])return _0x2acee9;if(void 0x0===_0x5a0494&&(_0x5a0494=0x0),_0x5a0494>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4345aa=new _0x17ddb1['GetDocumentDetailsMessage']();return null!=_0x2acee9['documentId']&&(_0x4345aa['documentId']=String(_0x2acee9['documentId'])),null!=_0x2acee9['environmentId']&&(_0x4345aa['environmentId']=String(_0x2acee9['environmentId'])),_0x4345aa;},_0x8b035b['toObject']=function(_0x1432b6,_0x497044){_0x497044||(_0x497044={});var _0x41a582={};return _0x497044['defaults']&&(_0x41a582['documentId']='',_0x41a582['environmentId']=''),null!=_0x1432b6['documentId']&&_0x1432b6['hasOwnProperty']('documentId')&&(_0x41a582['documentId']=_0x1432b6['documentId']),null!=_0x1432b6['environmentId']&&_0x1432b6['hasOwnProperty']('environmentId')&&(_0x41a582['environmentId']=_0x1432b6['environmentId']),_0x41a582;},_0x8b035b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x8b035b['getTypeUrl']=function(_0x4f5052){return void 0x0===_0x4f5052&&(_0x4f5052='type.googleapis.com'),_0x4f5052+'/GetDocumentDetailsMessage';},_0x8b035b;}()),_0x17ddb1['CollaborativeEditingUpdateMessage']=(function(){function _0x36a78a(_0x1a30cb){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x1a30cb){for(var _0x2b01d1=Object['keys'](_0x1a30cb),_0x541c26=0x0;_0x541c26<_0x2b01d1['length'];++_0x541c26)null!=_0x1a30cb[_0x2b01d1[_0x541c26]]&&'__proto__'!==_0x2b01d1[_0x541c26]&&(this[_0x2b01d1[_0x541c26]]=_0x1a30cb[_0x2b01d1[_0x541c26]]);}}return _0x36a78a['prototype']['id']='',_0x36a78a['prototype']['baseVersion']=0x0,_0x36a78a['prototype']['buffers']=_0x38eba6['emptyArray'],_0x36a78a['prototype']['types']=_0x38eba6['emptyArray'],_0x36a78a['prototype']['metadata']=_0x38eba6['emptyArray'],_0x36a78a['prototype']['lastOperationId']='',_0x36a78a['create']=function(_0x240d5b){return new _0x36a78a(_0x240d5b);},_0x36a78a['encode']=function(_0x3b6154,_0x57d905){if(_0x57d905||(_0x57d905=_0x4cef4a['create']()),null!=_0x3b6154['id']&&Object['hasOwnProperty']['call'](_0x3b6154,'id')&&_0x57d905['uint32'](0xa)['string'](_0x3b6154['id']),null!=_0x3b6154['baseVersion']&&Object['hasOwnProperty']['call'](_0x3b6154,'baseVersion')&&_0x57d905['uint32'](0x10)['uint32'](_0x3b6154['baseVersion']),null!=_0x3b6154['buffers']&&_0x3b6154['buffers']['length']){for(var _0x20b63e=0x0;_0x20b63e<_0x3b6154['buffers']['length'];++_0x20b63e)_0x57d905['uint32'](0x1a)['bytes'](_0x3b6154['buffers'][_0x20b63e]);}if(null!=_0x3b6154['types']&&_0x3b6154['types']['length']){for(_0x57d905['uint32'](0x22)['fork'](),_0x20b63e=0x0;_0x20b63e<_0x3b6154['types']['length'];++_0x20b63e)_0x57d905['uint32'](_0x3b6154['types'][_0x20b63e]);_0x57d905['ldelim']();}if(null!=_0x3b6154['metadata']&&_0x3b6154['metadata']['length']){for(_0x20b63e=0x0;_0x20b63e<_0x3b6154['metadata']['length'];++_0x20b63e)_0x17ddb1['OperationMetadataDescriptor']['encode'](_0x3b6154['metadata'][_0x20b63e],_0x57d905['uint32'](0x32)['fork']())['ldelim']();}return null!=_0x3b6154['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3b6154,'lastOperationId')&&_0x57d905['uint32'](0x3a)['string'](_0x3b6154['lastOperationId']),_0x57d905;},_0x36a78a['encodeDelimited']=function(_0x2b26eb,_0x3f1361){return this['encode'](_0x2b26eb,_0x3f1361)['ldelim']();},_0x36a78a['decode']=function(_0x29b792,_0x362654,_0xa4daac,_0x513bac){if(_0x29b792 instanceof _0x4b9dbe||(_0x29b792=_0x4b9dbe['create'](_0x29b792)),void 0x0===_0x513bac&&(_0x513bac=0x0),_0x513bac>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x454e77=void 0x0===_0x362654?_0x29b792['len']:_0x29b792['pos']+_0x362654,_0x44d2f1=new _0x17ddb1['CollaborativeEditingUpdateMessage']();_0x29b792['pos']<_0x454e77;){var _0x1fee1b=_0x29b792['uint32']();if(_0x1fee1b===_0xa4daac)break;switch(_0x1fee1b>>>0x3){case 0x1:_0x44d2f1['id']=_0x29b792['string']();break;case 0x2:_0x44d2f1['baseVersion']=_0x29b792['uint32']();break;case 0x3:_0x44d2f1['buffers']&&_0x44d2f1['buffers']['length']||(_0x44d2f1['buffers']=[]),_0x44d2f1['buffers']['push'](_0x29b792['bytes']());break;case 0x4:if(_0x44d2f1['types']&&_0x44d2f1['types']['length']||(_0x44d2f1['types']=[]),0x2==(0x7&_0x1fee1b)){for(var _0x120f70=_0x29b792['uint32']()+_0x29b792['pos'];_0x29b792['pos']<_0x120f70;)_0x44d2f1['types']['push'](_0x29b792['uint32']());}else _0x44d2f1['types']['push'](_0x29b792['uint32']());break;case 0x6:_0x44d2f1['metadata']&&_0x44d2f1['metadata']['length']||(_0x44d2f1['metadata']=[]),_0x44d2f1['metadata']['push'](_0x17ddb1['OperationMetadataDescriptor']['decode'](_0x29b792,_0x29b792['uint32'](),void 0x0,_0x513bac+0x1));break;case 0x7:_0x44d2f1['lastOperationId']=_0x29b792['string']();break;default:_0x29b792['skipType'](0x7&_0x1fee1b,_0x513bac);}}return _0x44d2f1;},_0x36a78a['decodeDelimited']=function(_0x10380c){return _0x10380c instanceof _0x4b9dbe||(_0x10380c=new _0x4b9dbe(_0x10380c)),this['decode'](_0x10380c,_0x10380c['uint32']());},_0x36a78a['verify']=function(_0x5aff24,_0x14993d){if('object'!=typeof _0x5aff24||null===_0x5aff24)return'object\x20expected';if(void 0x0===_0x14993d&&(_0x14993d=0x0),_0x14993d>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5aff24['id']&&_0x5aff24['hasOwnProperty']('id')&&!_0x38eba6['isString'](_0x5aff24['id']))return'id:\x20string\x20expected';if(null!=_0x5aff24['baseVersion']&&_0x5aff24['hasOwnProperty']('baseVersion')&&!_0x38eba6['isInteger'](_0x5aff24['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x5aff24['buffers']&&_0x5aff24['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x5aff24['buffers']))return'buffers:\x20array\x20expected';for(var _0x546f8d=0x0;_0x546f8d<_0x5aff24['buffers']['length'];++_0x546f8d)if(!(_0x5aff24['buffers'][_0x546f8d]&&'number'==typeof _0x5aff24['buffers'][_0x546f8d]['length']||_0x38eba6['isString'](_0x5aff24['buffers'][_0x546f8d])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x5aff24['types']&&_0x5aff24['hasOwnProperty']('types')){if(!Array['isArray'](_0x5aff24['types']))return'types:\x20array\x20expected';for(_0x546f8d=0x0;_0x546f8d<_0x5aff24['types']['length'];++_0x546f8d)if(!_0x38eba6['isInteger'](_0x5aff24['types'][_0x546f8d]))return'types:\x20integer[]\x20expected';}if(null!=_0x5aff24['metadata']&&_0x5aff24['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x5aff24['metadata']))return'metadata:\x20array\x20expected';for(_0x546f8d=0x0;_0x546f8d<_0x5aff24['metadata']['length'];++_0x546f8d){var _0xb3fcb4=_0x17ddb1['OperationMetadataDescriptor']['verify'](_0x5aff24['metadata'][_0x546f8d],_0x14993d+0x1);if(_0xb3fcb4)return'metadata.'+_0xb3fcb4;}}return null!=_0x5aff24['lastOperationId']&&_0x5aff24['hasOwnProperty']('lastOperationId')&&!_0x38eba6['isString'](_0x5aff24['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x36a78a['fromObject']=function(_0x2bd9f7,_0x1e8558){if(_0x2bd9f7 instanceof _0x17ddb1['CollaborativeEditingUpdateMessage'])return _0x2bd9f7;if(void 0x0===_0x1e8558&&(_0x1e8558=0x0),_0x1e8558>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4dfb67=new _0x17ddb1['CollaborativeEditingUpdateMessage']();if(null!=_0x2bd9f7['id']&&(_0x4dfb67['id']=String(_0x2bd9f7['id'])),null!=_0x2bd9f7['baseVersion']&&(_0x4dfb67['baseVersion']=_0x2bd9f7['baseVersion']>>>0x0),_0x2bd9f7['buffers']){if(!Array['isArray'](_0x2bd9f7['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x4dfb67['buffers']=[];for(var _0x308de3=0x0;_0x308de3<_0x2bd9f7['buffers']['length'];++_0x308de3)'string'==typeof _0x2bd9f7['buffers'][_0x308de3]?_0x38eba6['base64']['decode'](_0x2bd9f7['buffers'][_0x308de3],_0x4dfb67['buffers'][_0x308de3]=_0x38eba6['newBuffer'](_0x38eba6['base64']['length'](_0x2bd9f7['buffers'][_0x308de3])),0x0):_0x2bd9f7['buffers'][_0x308de3]['length']>=0x0&&(_0x4dfb67['buffers'][_0x308de3]=_0x2bd9f7['buffers'][_0x308de3]);}if(_0x2bd9f7['types']){if(!Array['isArray'](_0x2bd9f7['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x4dfb67['types']=[],_0x308de3=0x0;_0x308de3<_0x2bd9f7['types']['length'];++_0x308de3)_0x4dfb67['types'][_0x308de3]=_0x2bd9f7['types'][_0x308de3]>>>0x0;}if(_0x2bd9f7['metadata']){if(!Array['isArray'](_0x2bd9f7['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x4dfb67['metadata']=[],_0x308de3=0x0;_0x308de3<_0x2bd9f7['metadata']['length'];++_0x308de3){if('object'!=typeof _0x2bd9f7['metadata'][_0x308de3])throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x4dfb67['metadata'][_0x308de3]=_0x17ddb1['OperationMetadataDescriptor']['fromObject'](_0x2bd9f7['metadata'][_0x308de3],_0x1e8558+0x1);}}return null!=_0x2bd9f7['lastOperationId']&&(_0x4dfb67['lastOperationId']=String(_0x2bd9f7['lastOperationId'])),_0x4dfb67;},_0x36a78a['toObject']=function(_0x44cd18,_0x264b66){_0x264b66||(_0x264b66={});var _0xdabbbb={};if((_0x264b66['arrays']||_0x264b66['defaults'])&&(_0xdabbbb['buffers']=[],_0xdabbbb['types']=[],_0xdabbbb['metadata']=[]),_0x264b66['defaults']&&(_0xdabbbb['id']='',_0xdabbbb['baseVersion']=0x0,_0xdabbbb['lastOperationId']=''),null!=_0x44cd18['id']&&_0x44cd18['hasOwnProperty']('id')&&(_0xdabbbb['id']=_0x44cd18['id']),null!=_0x44cd18['baseVersion']&&_0x44cd18['hasOwnProperty']('baseVersion')&&(_0xdabbbb['baseVersion']=_0x44cd18['baseVersion']),_0x44cd18['buffers']&&_0x44cd18['buffers']['length']){_0xdabbbb['buffers']=[];for(var _0x9d5c44=0x0;_0x9d5c44<_0x44cd18['buffers']['length'];++_0x9d5c44)_0xdabbbb['buffers'][_0x9d5c44]=_0x264b66['bytes']===String?_0x38eba6['base64']['encode'](_0x44cd18['buffers'][_0x9d5c44],0x0,_0x44cd18['buffers'][_0x9d5c44]['length']):_0x264b66['bytes']===Array?Array['prototype']['slice']['call'](_0x44cd18['buffers'][_0x9d5c44]):_0x44cd18['buffers'][_0x9d5c44];}if(_0x44cd18['types']&&_0x44cd18['types']['length']){for(_0xdabbbb['types']=[],_0x9d5c44=0x0;_0x9d5c44<_0x44cd18['types']['length'];++_0x9d5c44)_0xdabbbb['types'][_0x9d5c44]=_0x44cd18['types'][_0x9d5c44];}if(_0x44cd18['metadata']&&_0x44cd18['metadata']['length']){for(_0xdabbbb['metadata']=[],_0x9d5c44=0x0;_0x9d5c44<_0x44cd18['metadata']['length'];++_0x9d5c44)_0xdabbbb['metadata'][_0x9d5c44]=_0x17ddb1['OperationMetadataDescriptor']['toObject'](_0x44cd18['metadata'][_0x9d5c44],_0x264b66);}return null!=_0x44cd18['lastOperationId']&&_0x44cd18['hasOwnProperty']('lastOperationId')&&(_0xdabbbb['lastOperationId']=_0x44cd18['lastOperationId']),_0xdabbbb;},_0x36a78a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x36a78a['getTypeUrl']=function(_0x446e99){return void 0x0===_0x446e99&&(_0x446e99='type.googleapis.com'),_0x446e99+'/CollaborativeEditingUpdateMessage';},_0x36a78a;}()),_0x17ddb1['CollaborativeEditingReconnectMessage']=(function(){function _0x5d9bf0(_0x116e19){if(_0x116e19){for(var _0x546527=Object['keys'](_0x116e19),_0xa2bb3c=0x0;_0xa2bb3c<_0x546527['length'];++_0xa2bb3c)null!=_0x116e19[_0x546527[_0xa2bb3c]]&&'__proto__'!==_0x546527[_0xa2bb3c]&&(this[_0x546527[_0xa2bb3c]]=_0x116e19[_0x546527[_0xa2bb3c]]);}}return _0x5d9bf0['prototype']['id']='',_0x5d9bf0['prototype']['bundleVersion']='',_0x5d9bf0['prototype']['lastKnowVersion']=0x0,_0x5d9bf0['create']=function(_0x19f9fc){return new _0x5d9bf0(_0x19f9fc);},_0x5d9bf0['encode']=function(_0x37deea,_0xe85855){return _0xe85855||(_0xe85855=_0x4cef4a['create']()),null!=_0x37deea['id']&&Object['hasOwnProperty']['call'](_0x37deea,'id')&&_0xe85855['uint32'](0xa)['string'](_0x37deea['id']),null!=_0x37deea['bundleVersion']&&Object['hasOwnProperty']['call'](_0x37deea,'bundleVersion')&&_0xe85855['uint32'](0x12)['string'](_0x37deea['bundleVersion']),null!=_0x37deea['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x37deea,'lastKnowVersion')&&_0xe85855['uint32'](0x18)['uint32'](_0x37deea['lastKnowVersion']),_0xe85855;},_0x5d9bf0['encodeDelimited']=function(_0x233904,_0x2332c0){return this['encode'](_0x233904,_0x2332c0)['ldelim']();},_0x5d9bf0['decode']=function(_0xd90493,_0x3b44b9,_0xf32b30,_0x1df2e1){if(_0xd90493 instanceof _0x4b9dbe||(_0xd90493=_0x4b9dbe['create'](_0xd90493)),void 0x0===_0x1df2e1&&(_0x1df2e1=0x0),_0x1df2e1>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1e2a3e=void 0x0===_0x3b44b9?_0xd90493['len']:_0xd90493['pos']+_0x3b44b9,_0x5a5c9b=new _0x17ddb1['CollaborativeEditingReconnectMessage']();_0xd90493['pos']<_0x1e2a3e;){var _0x1506f7=_0xd90493['uint32']();if(_0x1506f7===_0xf32b30)break;switch(_0x1506f7>>>0x3){case 0x1:_0x5a5c9b['id']=_0xd90493['string']();break;case 0x2:_0x5a5c9b['bundleVersion']=_0xd90493['string']();break;case 0x3:_0x5a5c9b['lastKnowVersion']=_0xd90493['uint32']();break;default:_0xd90493['skipType'](0x7&_0x1506f7,_0x1df2e1);}}return _0x5a5c9b;},_0x5d9bf0['decodeDelimited']=function(_0x4f2703){return _0x4f2703 instanceof _0x4b9dbe||(_0x4f2703=new _0x4b9dbe(_0x4f2703)),this['decode'](_0x4f2703,_0x4f2703['uint32']());},_0x5d9bf0['verify']=function(_0x13a1ea,_0x2db9a0){return'object'!=typeof _0x13a1ea||null===_0x13a1ea?'object\x20expected':(void 0x0===_0x2db9a0&&(_0x2db9a0=0x0),_0x2db9a0>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x13a1ea['id']&&_0x13a1ea['hasOwnProperty']('id')&&!_0x38eba6['isString'](_0x13a1ea['id'])?'id:\x20string\x20expected':null!=_0x13a1ea['bundleVersion']&&_0x13a1ea['hasOwnProperty']('bundleVersion')&&!_0x38eba6['isString'](_0x13a1ea['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x13a1ea['lastKnowVersion']&&_0x13a1ea['hasOwnProperty']('lastKnowVersion')&&!_0x38eba6['isInteger'](_0x13a1ea['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null);},_0x5d9bf0['fromObject']=function(_0x5b2040,_0x37bf2d){if(_0x5b2040 instanceof _0x17ddb1['CollaborativeEditingReconnectMessage'])return _0x5b2040;if(void 0x0===_0x37bf2d&&(_0x37bf2d=0x0),_0x37bf2d>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x374d78=new _0x17ddb1['CollaborativeEditingReconnectMessage']();return null!=_0x5b2040['id']&&(_0x374d78['id']=String(_0x5b2040['id'])),null!=_0x5b2040['bundleVersion']&&(_0x374d78['bundleVersion']=String(_0x5b2040['bundleVersion'])),null!=_0x5b2040['lastKnowVersion']&&(_0x374d78['lastKnowVersion']=_0x5b2040['lastKnowVersion']>>>0x0),_0x374d78;},_0x5d9bf0['toObject']=function(_0x4e7ecc,_0x4b2e03){_0x4b2e03||(_0x4b2e03={});var _0x398063={};return _0x4b2e03['defaults']&&(_0x398063['id']='',_0x398063['bundleVersion']='',_0x398063['lastKnowVersion']=0x0),null!=_0x4e7ecc['id']&&_0x4e7ecc['hasOwnProperty']('id')&&(_0x398063['id']=_0x4e7ecc['id']),null!=_0x4e7ecc['bundleVersion']&&_0x4e7ecc['hasOwnProperty']('bundleVersion')&&(_0x398063['bundleVersion']=_0x4e7ecc['bundleVersion']),null!=_0x4e7ecc['lastKnowVersion']&&_0x4e7ecc['hasOwnProperty']('lastKnowVersion')&&(_0x398063['lastKnowVersion']=_0x4e7ecc['lastKnowVersion']),_0x398063;},_0x5d9bf0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x5d9bf0['getTypeUrl']=function(_0x141c3a){return void 0x0===_0x141c3a&&(_0x141c3a='type.googleapis.com'),_0x141c3a+'/CollaborativeEditingReconnectMessage';},_0x5d9bf0;}()),_0x17ddb1['CollaborativeEditingConnectMessage']=(function(){function _0x582d56(_0x458787){if(this['buffers']=[],this['types']=[],_0x458787){for(var _0x30a830=Object['keys'](_0x458787),_0x5680b6=0x0;_0x5680b6<_0x30a830['length'];++_0x5680b6)null!=_0x458787[_0x30a830[_0x5680b6]]&&'__proto__'!==_0x30a830[_0x5680b6]&&(this[_0x30a830[_0x5680b6]]=_0x458787[_0x30a830[_0x5680b6]]);}}return _0x582d56['prototype']['id']='',_0x582d56['prototype']['bundleVersion']='',_0x582d56['prototype']['buffers']=_0x38eba6['emptyArray'],_0x582d56['prototype']['types']=_0x38eba6['emptyArray'],_0x582d56['prototype']['lastOperationId']='',_0x582d56['create']=function(_0x4a53cd){return new _0x582d56(_0x4a53cd);},_0x582d56['encode']=function(_0x2d3aaa,_0xa49cc7){if(_0xa49cc7||(_0xa49cc7=_0x4cef4a['create']()),null!=_0x2d3aaa['id']&&Object['hasOwnProperty']['call'](_0x2d3aaa,'id')&&_0xa49cc7['uint32'](0xa)['string'](_0x2d3aaa['id']),null!=_0x2d3aaa['bundleVersion']&&Object['hasOwnProperty']['call'](_0x2d3aaa,'bundleVersion')&&_0xa49cc7['uint32'](0x12)['string'](_0x2d3aaa['bundleVersion']),null!=_0x2d3aaa['buffers']&&_0x2d3aaa['buffers']['length']){for(var _0x385bd1=0x0;_0x385bd1<_0x2d3aaa['buffers']['length'];++_0x385bd1)_0xa49cc7['uint32'](0x1a)['bytes'](_0x2d3aaa['buffers'][_0x385bd1]);}if(null!=_0x2d3aaa['types']&&_0x2d3aaa['types']['length']){for(_0xa49cc7['uint32'](0x22)['fork'](),_0x385bd1=0x0;_0x385bd1<_0x2d3aaa['types']['length'];++_0x385bd1)_0xa49cc7['uint32'](_0x2d3aaa['types'][_0x385bd1]);_0xa49cc7['ldelim']();}return null!=_0x2d3aaa['lastOperationId']&&Object['hasOwnProperty']['call'](_0x2d3aaa,'lastOperationId')&&_0xa49cc7['uint32'](0x2a)['string'](_0x2d3aaa['lastOperationId']),_0xa49cc7;},_0x582d56['encodeDelimited']=function(_0x33d402,_0x350881){return this['encode'](_0x33d402,_0x350881)['ldelim']();},_0x582d56['decode']=function(_0x211f0a,_0x1104d2,_0x38a1df,_0x394c4d){if(_0x211f0a instanceof _0x4b9dbe||(_0x211f0a=_0x4b9dbe['create'](_0x211f0a)),void 0x0===_0x394c4d&&(_0x394c4d=0x0),_0x394c4d>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2b6055=void 0x0===_0x1104d2?_0x211f0a['len']:_0x211f0a['pos']+_0x1104d2,_0x36a09c=new _0x17ddb1['CollaborativeEditingConnectMessage']();_0x211f0a['pos']<_0x2b6055;){var _0x1af051=_0x211f0a['uint32']();if(_0x1af051===_0x38a1df)break;switch(_0x1af051>>>0x3){case 0x1:_0x36a09c['id']=_0x211f0a['string']();break;case 0x2:_0x36a09c['bundleVersion']=_0x211f0a['string']();break;case 0x3:_0x36a09c['buffers']&&_0x36a09c['buffers']['length']||(_0x36a09c['buffers']=[]),_0x36a09c['buffers']['push'](_0x211f0a['bytes']());break;case 0x4:if(_0x36a09c['types']&&_0x36a09c['types']['length']||(_0x36a09c['types']=[]),0x2==(0x7&_0x1af051)){for(var _0x4bb06f=_0x211f0a['uint32']()+_0x211f0a['pos'];_0x211f0a['pos']<_0x4bb06f;)_0x36a09c['types']['push'](_0x211f0a['uint32']());}else _0x36a09c['types']['push'](_0x211f0a['uint32']());break;case 0x5:_0x36a09c['lastOperationId']=_0x211f0a['string']();break;default:_0x211f0a['skipType'](0x7&_0x1af051,_0x394c4d);}}return _0x36a09c;},_0x582d56['decodeDelimited']=function(_0x37d98f){return _0x37d98f instanceof _0x4b9dbe||(_0x37d98f=new _0x4b9dbe(_0x37d98f)),this['decode'](_0x37d98f,_0x37d98f['uint32']());},_0x582d56['verify']=function(_0x1def4b,_0x547926){if('object'!=typeof _0x1def4b||null===_0x1def4b)return'object\x20expected';if(void 0x0===_0x547926&&(_0x547926=0x0),_0x547926>_0x38eba6['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1def4b['id']&&_0x1def4b['hasOwnProperty']('id')&&!_0x38eba6['isString'](_0x1def4b['id']))return'id:\x20string\x20expected';if(null!=_0x1def4b['bundleVersion']&&_0x1def4b['hasOwnProperty']('bundleVersion')&&!_0x38eba6['isString'](_0x1def4b['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x1def4b['buffers']&&_0x1def4b['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x1def4b['buffers']))return'buffers:\x20array\x20expected';for(var _0x50d99d=0x0;_0x50d99d<_0x1def4b['buffers']['length'];++_0x50d99d)if(!(_0x1def4b['buffers'][_0x50d99d]&&'number'==typeof _0x1def4b['buffers'][_0x50d99d]['length']||_0x38eba6['isString'](_0x1def4b['buffers'][_0x50d99d])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x1def4b['types']&&_0x1def4b['hasOwnProperty']('types')){if(!Array['isArray'](_0x1def4b['types']))return'types:\x20array\x20expected';for(_0x50d99d=0x0;_0x50d99d<_0x1def4b['types']['length'];++_0x50d99d)if(!_0x38eba6['isInteger'](_0x1def4b['types'][_0x50d99d]))return'types:\x20integer[]\x20expected';}return null!=_0x1def4b['lastOperationId']&&_0x1def4b['hasOwnProperty']('lastOperationId')&&!_0x38eba6['isString'](_0x1def4b['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x582d56['fromObject']=function(_0x4980fd,_0x1ca6ac){if(_0x4980fd instanceof _0x17ddb1['CollaborativeEditingConnectMessage'])return _0x4980fd;if(void 0x0===_0x1ca6ac&&(_0x1ca6ac=0x0),_0x1ca6ac>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x47660a=new _0x17ddb1['CollaborativeEditingConnectMessage']();if(null!=_0x4980fd['id']&&(_0x47660a['id']=String(_0x4980fd['id'])),null!=_0x4980fd['bundleVersion']&&(_0x47660a['bundleVersion']=String(_0x4980fd['bundleVersion'])),_0x4980fd['buffers']){if(!Array['isArray'](_0x4980fd['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x47660a['buffers']=[];for(var _0x1dcc88=0x0;_0x1dcc88<_0x4980fd['buffers']['length'];++_0x1dcc88)'string'==typeof _0x4980fd['buffers'][_0x1dcc88]?_0x38eba6['base64']['decode'](_0x4980fd['buffers'][_0x1dcc88],_0x47660a['buffers'][_0x1dcc88]=_0x38eba6['newBuffer'](_0x38eba6['base64']['length'](_0x4980fd['buffers'][_0x1dcc88])),0x0):_0x4980fd['buffers'][_0x1dcc88]['length']>=0x0&&(_0x47660a['buffers'][_0x1dcc88]=_0x4980fd['buffers'][_0x1dcc88]);}if(_0x4980fd['types']){if(!Array['isArray'](_0x4980fd['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0x47660a['types']=[],_0x1dcc88=0x0;_0x1dcc88<_0x4980fd['types']['length'];++_0x1dcc88)_0x47660a['types'][_0x1dcc88]=_0x4980fd['types'][_0x1dcc88]>>>0x0;}return null!=_0x4980fd['lastOperationId']&&(_0x47660a['lastOperationId']=String(_0x4980fd['lastOperationId'])),_0x47660a;},_0x582d56['toObject']=function(_0x3b4335,_0xd4639){_0xd4639||(_0xd4639={});var _0x4400f4={};if((_0xd4639['arrays']||_0xd4639['defaults'])&&(_0x4400f4['buffers']=[],_0x4400f4['types']=[]),_0xd4639['defaults']&&(_0x4400f4['id']='',_0x4400f4['bundleVersion']='',_0x4400f4['lastOperationId']=''),null!=_0x3b4335['id']&&_0x3b4335['hasOwnProperty']('id')&&(_0x4400f4['id']=_0x3b4335['id']),null!=_0x3b4335['bundleVersion']&&_0x3b4335['hasOwnProperty']('bundleVersion')&&(_0x4400f4['bundleVersion']=_0x3b4335['bundleVersion']),_0x3b4335['buffers']&&_0x3b4335['buffers']['length']){_0x4400f4['buffers']=[];for(var _0x45f9a6=0x0;_0x45f9a6<_0x3b4335['buffers']['length'];++_0x45f9a6)_0x4400f4['buffers'][_0x45f9a6]=_0xd4639['bytes']===String?_0x38eba6['base64']['encode'](_0x3b4335['buffers'][_0x45f9a6],0x0,_0x3b4335['buffers'][_0x45f9a6]['length']):_0xd4639['bytes']===Array?Array['prototype']['slice']['call'](_0x3b4335['buffers'][_0x45f9a6]):_0x3b4335['buffers'][_0x45f9a6];}if(_0x3b4335['types']&&_0x3b4335['types']['length']){for(_0x4400f4['types']=[],_0x45f9a6=0x0;_0x45f9a6<_0x3b4335['types']['length'];++_0x45f9a6)_0x4400f4['types'][_0x45f9a6]=_0x3b4335['types'][_0x45f9a6];}return null!=_0x3b4335['lastOperationId']&&_0x3b4335['hasOwnProperty']('lastOperationId')&&(_0x4400f4['lastOperationId']=_0x3b4335['lastOperationId']),_0x4400f4;},_0x582d56['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x582d56['getTypeUrl']=function(_0x36c7e5){return void 0x0===_0x36c7e5&&(_0x36c7e5='type.googleapis.com'),_0x36c7e5+'/CollaborativeEditingConnectMessage';},_0x582d56;}()),_0x17ddb1['OperationMetadataDescriptor']=(function(){function _0x1ee4ce(_0xced9d6){if(_0xced9d6){for(var _0x4ae8a8=Object['keys'](_0xced9d6),_0x834254=0x0;_0x834254<_0x4ae8a8['length'];++_0x834254)null!=_0xced9d6[_0x4ae8a8[_0x834254]]&&'__proto__'!==_0x4ae8a8[_0x834254]&&(this[_0x4ae8a8[_0x834254]]=_0xced9d6[_0x4ae8a8[_0x834254]]);}}return _0x1ee4ce['prototype']['userId']='',_0x1ee4ce['prototype']['type']='',_0x1ee4ce['prototype']['createdAt']='',_0x1ee4ce['create']=function(_0x102a13){return new _0x1ee4ce(_0x102a13);},_0x1ee4ce['encode']=function(_0x2a6598,_0x21024e){return _0x21024e||(_0x21024e=_0x4cef4a['create']()),null!=_0x2a6598['userId']&&Object['hasOwnProperty']['call'](_0x2a6598,'userId')&&_0x21024e['uint32'](0xa)['string'](_0x2a6598['userId']),null!=_0x2a6598['type']&&Object['hasOwnProperty']['call'](_0x2a6598,'type')&&_0x21024e['uint32'](0x12)['string'](_0x2a6598['type']),null!=_0x2a6598['createdAt']&&Object['hasOwnProperty']['call'](_0x2a6598,'createdAt')&&_0x21024e['uint32'](0x1a)['string'](_0x2a6598['createdAt']),_0x21024e;},_0x1ee4ce['encodeDelimited']=function(_0x55d5d1,_0x432447){return this['encode'](_0x55d5d1,_0x432447)['ldelim']();},_0x1ee4ce['decode']=function(_0xa44e9,_0x531974,_0x5aedd2,_0x2d51e2){if(_0xa44e9 instanceof _0x4b9dbe||(_0xa44e9=_0x4b9dbe['create'](_0xa44e9)),void 0x0===_0x2d51e2&&(_0x2d51e2=0x0),_0x2d51e2>_0x4b9dbe['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x565749=void 0x0===_0x531974?_0xa44e9['len']:_0xa44e9['pos']+_0x531974,_0x381fee=new _0x17ddb1['OperationMetadataDescriptor']();_0xa44e9['pos']<_0x565749;){var _0x4537e6=_0xa44e9['uint32']();if(_0x4537e6===_0x5aedd2)break;switch(_0x4537e6>>>0x3){case 0x1:_0x381fee['userId']=_0xa44e9['string']();break;case 0x2:_0x381fee['type']=_0xa44e9['string']();break;case 0x3:_0x381fee['createdAt']=_0xa44e9['string']();break;default:_0xa44e9['skipType'](0x7&_0x4537e6,_0x2d51e2);}}return _0x381fee;},_0x1ee4ce['decodeDelimited']=function(_0x21ab7b){return _0x21ab7b instanceof _0x4b9dbe||(_0x21ab7b=new _0x4b9dbe(_0x21ab7b)),this['decode'](_0x21ab7b,_0x21ab7b['uint32']());},_0x1ee4ce['verify']=function(_0x4ef132,_0x236601){return'object'!=typeof _0x4ef132||null===_0x4ef132?'object\x20expected':(void 0x0===_0x236601&&(_0x236601=0x0),_0x236601>_0x38eba6['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4ef132['userId']&&_0x4ef132['hasOwnProperty']('userId')&&!_0x38eba6['isString'](_0x4ef132['userId'])?'userId:\x20string\x20expected':null!=_0x4ef132['type']&&_0x4ef132['hasOwnProperty']('type')&&!_0x38eba6['isString'](_0x4ef132['type'])?'type:\x20string\x20expected':null!=_0x4ef132['createdAt']&&_0x4ef132['hasOwnProperty']('createdAt')&&!_0x38eba6['isString'](_0x4ef132['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x1ee4ce['fromObject']=function(_0x2f927d,_0xb4a5cc){if(_0x2f927d instanceof _0x17ddb1['OperationMetadataDescriptor'])return _0x2f927d;if(void 0x0===_0xb4a5cc&&(_0xb4a5cc=0x0),_0xb4a5cc>_0x38eba6['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5197fa=new _0x17ddb1['OperationMetadataDescriptor']();return null!=_0x2f927d['userId']&&(_0x5197fa['userId']=String(_0x2f927d['userId'])),null!=_0x2f927d['type']&&(_0x5197fa['type']=String(_0x2f927d['type'])),null!=_0x2f927d['createdAt']&&(_0x5197fa['createdAt']=String(_0x2f927d['createdAt'])),_0x5197fa;},_0x1ee4ce['toObject']=function(_0x524f7c,_0x4dbead){_0x4dbead||(_0x4dbead={});var _0x3d8f60={};return _0x4dbead['defaults']&&(_0x3d8f60['userId']='',_0x3d8f60['type']='',_0x3d8f60['createdAt']=''),null!=_0x524f7c['userId']&&_0x524f7c['hasOwnProperty']('userId')&&(_0x3d8f60['userId']=_0x524f7c['userId']),null!=_0x524f7c['type']&&_0x524f7c['hasOwnProperty']('type')&&(_0x3d8f60['type']=_0x524f7c['type']),null!=_0x524f7c['createdAt']&&_0x524f7c['hasOwnProperty']('createdAt')&&(_0x3d8f60['createdAt']=_0x524f7c['createdAt']),_0x3d8f60;},_0x1ee4ce['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x1ee4ce['getTypeUrl']=function(_0x3b0554){return void 0x0===_0x3b0554&&(_0x3b0554='type.googleapis.com'),_0x3b0554+'/OperationMetadataDescriptor';},_0x1ee4ce;}()),_0x17ddb1;})());class _0x3dbb2a{static['decode'](_0x2cb143,_0x43712c){const _0x5e9972=_0x1eb62b(_0x43712c)['decode']('undefined'==typeof window?_0x2cb143:new Uint8Array(_0x2cb143));return _0x43712c['fromJSON']({..._0x5e9972});}static['encode'](_0x56670f){const _0x2a2084=_0x1eb62b(_0x56670f['constructor']),_0x1771c2=_0x56670f['toJSON'](),_0x213541=_0x2a2084['verify'](_0x1771c2);if(_0x213541)throw Error(_0x213541);return _0x2a2084['encode'](_0x2a2084['create'](_0x1771c2))['finish']();}}function _0x1eb62b(_0x2ed946){return _0x4ed377[_0x2ed946['DESCRIPTOR_NAME']];}class GetManyUsersMessage extends _0x1cdc89{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x1893eb){super(),this['ids']=_0x1893eb;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](_0x2d0c13){return new GetManyUsersMessage(_0x2d0c13['ids']);}}class GetManyUsersResponse extends _0x1cdc89{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x290f69){super(),this['users']=_0x290f69;}['toJSON'](){return{'users':this['users']['map'](_0x55bfda)};}static['fromJSON'](_0x4bc442){return new GetManyUsersResponse(_0x4bc442['users']['map'](_0x64f9ba));}}function _0x55bfda(_0x309cb7){return{'attributes':Object['keys'](_0x309cb7)['map'](_0x348169=>({'key':_0x348169,'value':JSON['stringify'](_0x309cb7[_0x348169])}))};}function _0x64f9ba(_0x42824c){return _0x42824c['attributes']['reduce']((_0x2d2a7f,_0x431561)=>(_0x2d2a7f[_0x431561['key']]=_0x431561['value']?JSON['parse'](_0x431561['value']):null,_0x2d2a7f),{});}class _0x4fb79d{static ['_SERVICE']=0x2;constructor(_0x26fa1a={}){this['_attributes']=new Map();for(const _0x930c29 of Object['keys'](_0x26fa1a))'id'!==_0x930c29?(this['_attributes']['set'](_0x930c29,_0x26fa1a[_0x930c29]),Object['defineProperty'](this,_0x930c29,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x930c29)})):this['id']=_0x26fa1a['id'];}static['fromData'](_0x52807b){return new _0x4fb79d(_0x52807b);}static async['get'](_0x21067a,_0xbf291a){const _0x1844fb=new GetUserMessage(_0xbf291a);try{const _0x3f46cb=await _0x21067a['_sendRequest'](_0x4fb79d['_SERVICE'],GetUserMessage['TYPE'],_0x3dbb2a['encode'](_0x1844fb)),_0x31a571=_0x3dbb2a['decode'](_0x3f46cb,GetUserResponse);return new _0x4fb79d(_0x31a571['attributes']);}catch{return new _0x4fb79d({'id':_0xbf291a});}}static async['getMany'](_0x1d9770,_0x89f99b){const _0x192e8d=new GetManyUsersMessage(_0x89f99b);try{const _0x55933e=await _0x1d9770['_sendRequest'](_0x4fb79d['_SERVICE'],GetManyUsersMessage['TYPE'],_0x3dbb2a['encode'](_0x192e8d));return _0x3dbb2a['decode'](_0x55933e,GetManyUsersResponse)['users']['map'](_0x5372ae=>new _0x4fb79d(_0x5372ae));}catch{return _0x89f99b['map'](_0x14f56a=>new _0x4fb79d({'id':_0x14f56a}));}}}class _0x47ad48 extends _0x1cdc89{['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(_0xe04729,_0x24edc1,_0x55dc00){super(),this['type']=_0xe04729,this['socketId']=_0x24edc1,this['data']=_0x55dc00;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0x54404d){return new _0x47ad48(_0x54404d['type'],_0x54404d['socketId'],_0x54404d['data']);}}class _0x3c68bc extends/* #__PURE__ -- @preserve */
_0x5f37cd['EmitterMixin'](){['_channelName'];['_wsGateway'];['_socket'];constructor(_0x1aed2,_0x50d3dc,_0x314e06){super(),this['_channelName']=_0x1aed2,this['_wsGateway']=_0x50d3dc,this['_socket']=_0x314e06,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](_0x556ec3,_0x44e89c=!0x1){let _0x2165b8='';return _0x44e89c&&(_0x2165b8+='all:'),_0x2165b8+='event',_0x556ec3&&(_0x2165b8+=':'+_0x556ec3),_0x2165b8;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x3d5826=>{const _0x2758cb=_0x3dbb2a['decode'](_0x3d5826,_0x47ad48);this['fire'](this['getEventName'](_0x2758cb['type'],!0x0),_0x2758cb['data'],_0x2758cb['socketId']),_0x2758cb['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x2758cb['type']),_0x2758cb['data'],_0x2758cb['socketId']);});}}class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0x2daaba,_0x3b2f7c,_0x31654c=null,_0xba9361={}){super('cloud-services-internal-error:\x20'+_0x2daaba),this['context']=_0x3b2f7c,this['code']=_0x31654c,this['data']=_0xba9361,this['name']='CKEditorError';}static['fromPublicError'](_0x34a500){return new CKEditorCloudServicesError(function(_0x2778a5){let _0x48a082='cloud-services-error:\x20'+_0x2778a5['message'];return _0x2778a5['data']&&(_0x48a082+='\x0aError\x20data:\x20'+JSON['stringify'](_0x2778a5['data'])),_0x2778a5['explanation']&&(_0x48a082+='\x0aExplanation:\x20'+_0x2778a5['explanation']),_0x2778a5['action']&&(_0x48a082+='\x0aAction:\x20'+_0x2778a5['action']),_0x2778a5['traceId']&&(_0x48a082+='\x0aTraceId:\x20'+_0x2778a5['traceId']),_0x2778a5['code']&&(_0x48a082+='\x0aCode:\x20'+_0x2778a5['code']),_0x48a082;}(_0x34a500),_0x34a500);}}class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0x575498,_0x220b75){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x575498,this['code']=_0x220b75['code'],this['traceId']=_0x220b75['traceId'],this['data']=_0x220b75['data'];}static['fromPublicError'](_0x1dd9eb){return new CKEditorCloudServicesServerError(function(_0x2f93c6){let _0x2dca52='cloud-services-server-error:\x20'+_0x2f93c6['message'];return _0x2f93c6['explanation']&&(_0x2dca52+='\x0aExplanation:\x20'+_0x2f93c6['explanation']),_0x2f93c6['action']&&(_0x2dca52+='\x0aAction:\x20'+_0x2f93c6['action']),_0x2f93c6['traceId']&&(_0x2dca52+='\x0aTraceId:\x20'+_0x2f93c6['traceId']),_0x2f93c6['code']&&(_0x2dca52+='\x0aCode:\x20'+_0x2f93c6['code']),_0x2dca52;}(_0x1dd9eb),_0x1dd9eb);}}class PacketOptionsMessage extends _0x1cdc89{['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(_0x29572e,_0xbb82c9=[],_0x21a46c=[]){super(),this['flags']=_0x29572e,this['rooms']=_0xbb82c9,this['except']=_0x21a46c;}['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'](_0x5d0741){return new PacketOptionsMessage(_0x5d0741['flags']&&JSON['parse'](_0x5d0741['flags']),_0x5d0741['rooms'],_0x5d0741['except']);}}const _0x2d95a1=/* #__PURE__ -- @preserve */
((()=>!('undefined'==typeof process||!process['versions']?.['node']))());class ParserUtils{static['getPacketType'](..._0x289ce2){let _0x554e4d=0x0;for(let _0x12f51f=0x0;_0x12f51f<_0x289ce2['length'];_0x12f51f++)_0x554e4d+=_0x289ce2[_0x12f51f]*Math['pow'](0xa,_0x289ce2['length']-_0x12f51f-0x1);return _0x554e4d;}static['getType'](_0x19243d){if(ParserUtils['isBuffer'](_0x19243d))return 0x1;const _0x302c40=typeof _0x19243d;return'string'===_0x302c40?0x2:'number'===_0x302c40?0x3:0x4;}static['isBuffer'](_0x5a678d){return _0x2d95a1&&Buffer['isBuffer'](_0x5a678d)||_0x5a678d instanceof ArrayBuffer||_0x5a678d instanceof Uint8Array||this['_isBufferView'](_0x5a678d);}static['_isBufferView'](_0x23d3c7){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x23d3c7):_0x23d3c7['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends _0x1cdc89{['data'];['data1'];static['create'](_0x486425,_0xbf935d){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(_0x47dd44,_0x51d147){super(),this['data']=_0x47dd44,this['data1']=_0x51d147;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x3166a6){return new NumberBytesPacketDataMessage(_0x3166a6['data'],_0x3166a6['data1']);}static['create'](_0x915ffa,_0x442ab9){return new NumberBytesPacketDataMessage(_0x915ffa,_0x442ab9);}}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(_0x5a8529,_0x400077){super(),this['data']=_0x5a8529,this['data1']=_0x400077;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x1d86f5){return new StringBytesPacketDataMessage(_0x1d86f5['data'],_0x1d86f5['data1']);}static['create'](_0x451624,_0x443fd0){return new StringBytesPacketDataMessage(_0x451624,_0x443fd0);}}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(_0x3e3764,_0x56a9c5){super(),this['data']=_0x3e3764,this['data1']=_0x56a9c5;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0xce2095){return new BytesBytesPacketDataMessage(_0xce2095['data'],_0xce2095['data1']);}static['create'](_0x346eab,_0x41ae73){return new BytesBytesPacketDataMessage(_0x346eab,_0x41ae73);}}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(_0x20e577,_0x5d5c91){super(),this['data']=_0x20e577,this['data1']=_0x5d5c91;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x2b886d){return new StringObjectPacketDataMessage(_0x2b886d['data'],_0x2b886d['data1']&&JSON['parse'](_0x2b886d['data1']));}static['create'](_0x6b9e3,_0x492577){return new StringObjectPacketDataMessage(_0x6b9e3,_0x492577);}}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(_0x12622d,_0x459f4d){super(),this['data']=_0x12622d,this['data1']=_0x459f4d;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x5ef863){return new NumberObjectPacketDataMessage(_0x5ef863['data'],_0x5ef863['data1']&&JSON['parse'](_0x5ef863['data1']));}static['create'](_0x26e94d,_0xb52d24){return new NumberObjectPacketDataMessage(_0x26e94d,_0xb52d24);}}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(_0x55e39b,_0x29c290){super(),this['data']=_0x55e39b,this['data1']=_0x29c290;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x4d9dad){return new ObjectObjectPacketDataMessage(_0x4d9dad['data']&&JSON['parse'](_0x4d9dad['data']),_0x4d9dad['data1']&&JSON['parse'](_0x4d9dad['data1']));}static['create'](_0x378753,_0x3b3576){return new ObjectObjectPacketDataMessage(_0x378753,_0x3b3576);}}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(_0x4f1041,_0x23f40d){super(),this['data']=_0x4f1041,this['data1']=_0x23f40d;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0x38231f){return new ObjectBufferPacketDataMessage(_0x38231f['data']&&JSON['parse'](_0x38231f['data']),_0x38231f['data1']);}static['create'](_0x5034d3,_0x300940){return new ObjectBufferPacketDataMessage(_0x5034d3,_0x300940);}}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(_0x484d42,_0xb4cb9b){super(),this['data']=_0x484d42,this['data1']=_0xb4cb9b;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x3aa058){return new StringStringPacketDataMessage(_0x3aa058['data'],_0x3aa058['data1']);}static['create'](_0x4b20b0,_0x313163){return new StringStringPacketDataMessage(_0x4b20b0,_0x313163);}}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(_0x2e315a,_0x113868){super(),this['data']=_0x2e315a,this['data1']=_0x113868;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x326e1e){return new StringNumberPacketDataMessage(_0x326e1e['data'],_0x326e1e['data1']);}static['create'](_0x5d88ab,_0x3bcdcf){return new StringNumberPacketDataMessage(_0x5d88ab,_0x3bcdcf);}}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(_0x2a61a2,_0x3e8c84){super(),this['data']=_0x2a61a2,this['data1']=_0x3e8c84;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x27dafd){return new NumberNumberPacketDataMessage(_0x27dafd['data'],_0x27dafd['data1']);}static['create'](_0x54b50b,_0x4d680d){return new NumberNumberPacketDataMessage(_0x54b50b,_0x4d680d);}}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(_0xbb4077,_0x485f6e){super(),this['data']=_0xbb4077,this['data1']=_0x485f6e;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x433664){return new NumberStringPacketDataMessage(_0x433664['data'],_0x433664['data1']);}static['create'](_0x8351ee,_0x304930){return new NumberStringPacketDataMessage(_0x8351ee,_0x304930);}}const _0x367893=/* #__PURE__ -- @preserve */
((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((_0x4ef8ba,_0x565960)=>(_0x4ef8ba[_0x565960['TYPE']]=_0x565960,_0x4ef8ba),{}))());class PacketMessage extends _0x1cdc89{['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(_0x1f85fc,_0x3fb2f4,_0x6b63d8,_0x1a5205='/',_0x297ab4){super(),this['type']=_0x1f85fc,this['data']=_0x3fb2f4,this['id']=_0x6b63d8,this['nsp']=_0x1a5205,this['options']=_0x297ab4??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 _0x24cfe2=_0x3dbb2a['encode'](this['options']),_0x3ba18f=_0x3dbb2a['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x3ba18f,'options':_0x24cfe2};}static['fromJSON'](_0x3f9ae5){const _0x196c1f=Math['floor'](_0x3f9ae5['type']/0xa);return new PacketMessage(_0x3f9ae5['type']-0xa*_0x196c1f,_0x3dbb2a['decode'](_0x3f9ae5['data'],_0x367893[_0x196c1f]),_0x3f9ae5['id'],_0x3f9ae5['nsp'],_0x3f9ae5['options']?_0x3dbb2a['decode'](_0x3f9ae5['options'],PacketOptionsMessage):new PacketOptionsMessage());}static['create'](_0x56bebd,_0x1bc999={}){const _0x2f955e=ParserUtils['getPacketType'](ParserUtils['getType'](_0x56bebd['data'][0x0]),ParserUtils['getType'](_0x56bebd['data'][0x1]??_0x56bebd['data'][0x0]));return new PacketMessage(_0x56bebd['type'],_0x367893[_0x2f955e]['create'](_0x56bebd['data'][0x0],_0x56bebd['data'][0x1]),_0x56bebd['id'],_0x56bebd['nsp'],new PacketOptionsMessage(_0x1bc999['flags'],_0x1bc999['rooms'],_0x1bc999['except']));}}class PacketParser{['encode'](_0x1cdb2f,_0x24a63b,_0x189cfa,_0xe38cf0='/',_0x1ddd9f={}){if(_0x24a63b['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0x466aba={'type':_0x1cdb2f,'data':_0x24a63b,'id':_0x189cfa,'nsp':_0xe38cf0};return _0x3dbb2a['encode'](PacketMessage['create'](_0x466aba,_0x1ddd9f));}['decode'](_0x4e323d){const _0x39f2c6=_0x3dbb2a['decode'](_0x4e323d,PacketMessage);return{'packet':{'id':_0x39f2c6['id'],'type':_0x39f2c6['type'],'data':_0x39f2c6['packetData'],'nsp':_0x39f2c6['nsp']},'options':{'flags':_0x39f2c6['options']['flags'],'rooms':_0x39f2c6['options']['rooms'],'except':_0x39f2c6['options']['except']}};}}const _0x49ea4d=/* #__PURE__ -- @preserve */
((()=>[_0x59338f['EVENT'],_0x59338f['ACK'],_0x59338f['BINARY_ACK'],_0x59338f['BINARY_EVENT']])());class _0x648ab5 extends _0x5620c4{['_packetParser'];constructor(_0x2508a2){super(),this['_packetParser']=_0x2508a2??new PacketParser();}['encode'](_0x5c891c){if(_0x49ea4d['includes'](_0x5c891c['type']))try{return[this['_packetParser']['encode'](_0x5c891c['type'],_0x5c891c['data'],_0x5c891c['id'],_0x5c891c['nsp'])];}catch(_0xf450e1){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0xf450e1['message']}});}return super['encode'](_0x5c891c);}}class _0x258690 extends _0x539d5b{['_packetParser'];constructor(_0x32425f){super(),this['_packetParser']=_0x32425f??new PacketParser();}['add'](_0x4be00b){if(!ParserUtils['isBuffer'](_0x4be00b))return super['add'](_0x4be00b);let _0x425b42;try{_0x425b42=this['_packetParser']['decode'](_0x4be00b)['packet'];}catch{return super['add'](_0x4be00b);}super['emitReserved']('decoded',_0x425b42);}}class WebSocketRequest{['_context'];['_deferredPromise']=/* #__PURE__ -- @preserve */
_0x1c3e2e();['timeout'];constructor(_0x216851,_0x2253f8){this['_context']=_0x216851,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),_0x2253f8);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x4c846e){this['_deferredPromise']['resolve'](_0x4c846e);}['error'](_0x45f54a){this['_deferredPromise']['reject'](_0x45f54a);}}class WebSocketGatewayRequestsManager{['_context'];['_requests']=new Set();constructor(_0xebd00f){this['_context']=_0xebd00f;}async['send'](_0x34d531,_0xa20d76=0xafc8){const _0x4a4972=this['_createRequest'](_0xa20d76);try{return _0x34d531(_0x4a4972),await _0x4a4972['promise'];}finally{this['_finishRequest'](_0x4a4972);}}['errorAll'](_0x128317){for(const _0x36f7b1 of this['_requests'])_0x36f7b1['error'](_0x128317);}['waitForAllRequests'](_0x3f3b6d=0xafc8){return this['_waitForRequests'](_0x3f3b6d);}['_createRequest'](_0x5b80d8){const _0x46b55e=new WebSocketRequest(this['_context'],_0x5b80d8);return this['_requests']['add'](_0x46b55e),_0x46b55e;}['_finishRequest'](_0x33b7fe){this['_requests']['delete'](_0x33b7fe),clearTimeout(_0x33b7fe['timeout']);}async['_waitForRequests'](_0x100450=0x1388,_0x1bf01a=0x0){return!this['_requests']['size']||_0x1bf01a>=_0x100450/0x1f4?Promise['resolve']():(await new Promise(_0xd1e7cb=>{setTimeout(_0xd1e7cb,0x1f4);}),this['_waitForRequests'](_0x100450,_0x1bf01a++));}}function _0x1c3e2e(){let _0x5d2a88,_0x4d9bc9;const _0x43de3a=new Promise((_0x533f9d,_0x2cfd1e)=>{_0x5d2a88=_0x533f9d,_0x4d9bc9=_0x2cfd1e;});return{'resolve':_0x5d2a88,'reject':_0x4d9bc9,'promise':_0x43de3a};}const _0x298175='disconnected',_0x37eee4='connecting',_0x58cc78='connected';let _0x579418=class WebSocketGateway extends/* #__PURE__ -- @preserve */
_0x5f37cd['ObservableMixin'](){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x298175)());static ['STATE_CONNECTING']=/* #__PURE__ -- @preserve */
((()=>_0x37eee4)());static ['STATE_CONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x58cc78)());static ['_CHANGE_STATE_EVENT_PRIORITY']=/* #__PURE__ -- @preserve */
((()=>_0x5f37cd['priorities']['get']('highest')+0xf423f)());constructor(_0x4b0f50,_0x4ae1d3,_0x5c741d,_0x1caf18,_0x348964){if(super(),this['_token']=_0x4ae1d3,this['_options']=_0x5c741d??{},this['_connectionProvider']=_0x1caf18??_0x582911,this['_userFactory']=_0x348964??_0x4fb79d['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0x4b0f50)throw new TypeError('Api\x20address\x20must\x20be\x20provided.');if(!this['_token'])throw new TypeError('Token\x20must\x20be\x20provided.');this['_options']['requestTimeout']??=0x4e20,this['_url']=_0x32850b(_0x4b0f50['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',_0x298175),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0x72a9d3,_0x4cefa4,_0x9b0f71)=>{if(this['_debugEvent']('ws-gw:change:state',_0x9b0f71),_0x9b0f71!==WebSocketGateway['STATE_CONNECTED']){if(_0x9b0f71===WebSocketGateway['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new CKEditorCloudServicesError('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](_0x4fb79d,this,this['_socketAuth']?.['userId']);}catch{}},{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0x33b141,_0x17cd0e)=>{this['_options']['onError']?this['_options']['onError'](_0x17cd0e):console['error'](_0x17cd0e);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](_0x1dbe7f){return this['_requestsManager']['waitForAllRequests'](_0x1dbe7f);}['disconnect'](){this['state']!==_0x298175&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=_0x298175);}async['reconnect'](){this['_socket']||this['state']!==_0x298175||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](_0x2040e9,_0x35c4bf='local.cs.dev:443/ws-v2',_0x764624={},_0x2cdaa1=_0x582911,_0x88448e=_0x4fb79d['get']){const _0x2793c5=new this(_0x35c4bf,_0x2040e9,_0x764624,_0x2cdaa1,_0x88448e);return await _0x2793c5['_connect'](),_0x2793c5;}['_sendRequest'](_0x1e49d0,_0x22129c,_0x1d441f){if(!_0x1e49d0)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 _0x53f4aa=new ArrayBuffer(_0x1d441f['length']+0x2),_0x51ef4d=new Uint8Array(_0x53f4aa);return _0x51ef4d[0x0]=_0x1e49d0,_0x51ef4d[0x1]=parseInt(_0x22129c),_0x51ef4d['set'](_0x1d441f,0x2),this['_emit'](0x1,_0x51ef4d);}['_getChannel'](_0x1f2ad8,_0x21fcd9){const _0x3ea156=''+_0x1f2ad8+_0x21fcd9;return!this['_channels']['has'](_0x3ea156)&&this['_socket']&&this['_channels']['set'](_0x3ea156,new _0x3c68bc(_0x3ea156,this,this['_socket'])),this['_channels']['get'](_0x3ea156);}['_connect'](){return new Promise((_0x2b57c1,_0x58bdf2)=>{const _0x12d965=this['_setupSocket']();!this['socketId']&&_0x12d965['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0x58bdf2);}),_0x12d965['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x2b57c1();}catch(_0x4da7da){_0x58bdf2(_0x4da7da);}}),_0x12d965['connect']();});}['_getPortByProtocol'](_0x484503){return['http:','ws:']['includes'](_0x484503)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const _0x29840b=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x1a3f3d=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x29840b,_0x3b78f2=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0xa92292=this['_connectionProvider'](_0x1a3f3d,{'parser':{'Encoder':_0x648ab5,'Decoder':_0x258690},'path':_0x3b78f2+'/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']=_0x37eee4,_0xa92292['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0xa92292['id'];}),_0xa92292['on']('connect_error',_0x4c4779=>{this['_debugEvent']('connect_error',_0x4c4779);}),_0xa92292['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0xa92292['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0xa92292['io']['on']('reconnect_attempt',_0x44dc57=>{this['_debugEvent']('reconnect_attempt',_0x44dc57),this['state']=_0x37eee4,this['_connectionAttempt']=_0x44dc57;}),_0xa92292['on']('unauthorized',_0x18f837=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x18f837);}),_0xa92292['on']('authenticationRequest',async _0x551e48=>{this['_debugEvent']('authenticationRequest',_0x551e48['attempt']),await this['_onReconnect']();}),this['_socket']=_0xa92292,_0xa92292;}['_emit'](_0x3f1a1b,_0x5297b4){const _0x379b1a=this['_socket'];return this['_requestsManager']['send'](_0xd095b1=>{_0x379b1a['emit'](_0x3f1a1b,_0x5297b4,(_0x834b64,_0x58693f)=>{if(_0x834b64)return _0xd095b1['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x834b64));_0xd095b1['response'](_0x58693f);});},this['_options']['requestTimeout']);}['_addAuthData'](_0x3d7c7a,_0x3d1c16){this['_socketAuth']={'environmentId':_0x3d7c7a,'userId':_0x3d1c16,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=_0x58cc78;const _0x28de29=async(_0x5c1940,_0x3a0363,_0x8e9382)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x8e9382);}catch{}};this['_token']['on']('change:value',_0x28de29),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0x28de29);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=_0x298175,this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0x42ee05 of this['_channels']['values']())_0x42ee05['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](_0x40e199,_0x113699){if(!this['_isDebugModeEnabled']())return;const _0x3cbb51=void 0x0!==_0x113699?',\x20data:\x20'+_0x113699:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0x40e199+_0x3cbb51);}['_reconnectionAttemptError'](_0x3ab8fe){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x3ab8fe(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:_0x24fe86}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x24fe86));}async['_authenticate'](_0x1a328d){try{this['_debugEvent']('authenticate:start');const _0x582e7b=await this['_emit'](0x2,{'token':_0x1a328d});this['_debugEvent']('authenticate:success','envId:\x20'+_0x582e7b['environmentId']+',\x20userId:\x20'+_0x582e7b['userId']),this['_addAuthData'](_0x582e7b['environmentId'],_0x582e7b['userId']);}catch(_0x2e7c33){throw this['_debugEvent']('authenticate:error',_0x2e7c33['message']),this['_removeAuthData'](),_0x2e7c33;}}['_isDebugModeEnabled'](){return!!_0x5f37cd['global']['window']['localStorage']&&'true'===(_0x5f37cd['global']['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}};class IsEditorBundleUploadedMessage extends _0x1cdc89{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x569304){super(),this['bundleVersion']=_0x569304;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0x2c87ef){return new IsEditorBundleUploadedMessage(_0x2c87ef['bundleVersion']);}}class IsEditorBundleUploadedResponse extends _0x1cdc89{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x10cabe){super(),this['isUploaded']=_0x10cabe;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x3eeea1){return new IsEditorBundleUploadedResponse(_0x3eeea1['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
_0x5f37cd['EmitterMixin'](){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0x497199,_0x5e4b7b){const _0x28641b=new IsEditorBundleUploadedMessage(_0x5e4b7b);if(_0x497199['state']!==_0x58cc78)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x497199);const _0x50f14e=await _0x497199['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],_0x3dbb2a['encode'](_0x28641b));return _0x3dbb2a['decode'](_0x50f14e,IsEditorBundleUploadedResponse)['isUploaded'];}}class RevisionHistoryGetRevisionMessage extends _0x1cdc89{['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(_0x57900c,_0x32bae9){super(),this['documentId']=_0x57900c,this['revisionId']=_0x32bae9;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x1945c6){return new RevisionHistoryGetRevisionMessage(_0x1945c6['documentId'],_0x1945c6['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'](_0x5f1e5d){return{'revisionId':_0x5f1e5d['id'],'name':_0x5f1e5d['name'],'creatorId':_0x5f1e5d['creatorId'],'createdAt':_0x5f1e5d['createdAt'],'fromVersion':_0x5f1e5d['fromVersion'],'toVersion':_0x5f1e5d['toVersion'],'isEmptyCurrent':_0x5f1e5d['isEmptyCurrent'],'diffData':_0x5f1e5d['diffData']?JSON['stringify'](_0x5f1e5d['diffData']):void 0x0,'attributes':_0x5f1e5d['attributes'],'authorsIds':_0x5f1e5d['authorsIds']};}static['toJSON'](_0xff65be){return{'revisionId':_0xff65be['revisionId'],'name':_0xff65be['name'],'creatorId':_0xff65be['creatorId'],'authorsIds':_0xff65be['authorsIds']?JSON['stringify'](_0xff65be['authorsIds']):void 0x0,'diffData':_0xff65be['diffData'],'createdAt':_0xff65be['createdAt']?.['toISOString'](),'attributes':_0xff65be['attributes']?JSON['stringify'](_0xff65be['attributes']):void 0x0,'toVersion':_0xff65be['toVersion'],'fromVersion':_0xff65be['fromVersion'],'isEmptyCurrent':_0xff65be['isEmptyCurrent']};}static['fromJSON'](_0x5ea4a4){return{'revisionId':(_0x5ea4a4={..._0x5ea4a4})['revisionId'],'name':_0x5ea4a4['name'],'creatorId':_0x5ea4a4['creatorId'],'authorsIds':_0x5ea4a4['authorsIds']?JSON['parse'](_0x5ea4a4['authorsIds']):void 0x0,'diffData':_0x5ea4a4['diffData'],'createdAt':_0x5ea4a4['createdAt']?new Date(_0x5ea4a4['createdAt']):void 0x0,'attributes':_0x5ea4a4['attributes']?JSON['parse'](_0x5ea4a4['attributes']):void 0x0,'toVersion':_0x5ea4a4['toVersion'],'fromVersion':_0x5ea4a4['fromVersion'],'isEmptyCurrent':_0x5ea4a4['isEmptyCurrent']};}static['toObject'](_0x2029bd){return function(_0x59b4b7){for(const [_0x331b05,_0x4f9981]of Object['entries'](_0x59b4b7))void 0x0===_0x4f9981&&delete _0x59b4b7[_0x331b05];return _0x59b4b7;}({'id':_0x2029bd['revisionId'],'name':_0x2029bd['name'],'creatorId':_0x2029bd['creatorId'],'createdAt':_0x2029bd['createdAt'],'fromVersion':_0x2029bd['fromVersion'],'toVersion':_0x2029bd['toVersion'],'isEmptyCurrent':_0x2029bd['isEmptyCurrent'],'diffData':_0x2029bd['diffData']?JSON['parse'](_0x2029bd['diffData']):void 0x0,'attributes':_0x2029bd['attributes'],'authorsIds':_0x2029bd['authorsIds']});}}class RevisionHistoryGetRevisionResponse extends _0x1cdc89{['revisionId'];['name'];['creatorId'];['authorsIds'];['createdAt'];['diffData'];['attributes'];['fromVersion'];['toVersion'];['isEmptyCurrent'];static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>RevisionDescriptor['DESCRIPTOR'])());constructor(_0x5c184a,_0x2dd831,_0x4309c1,_0x5971ef,_0x33cf73,_0x529727,_0xb85bdc,_0x4a6421,_0x4fae1a,_0x178803){super(),this['revisionId']=_0x5c184a,this['name']=_0x2dd831,this['creatorId']=_0x4309c1,this['authorsIds']=_0x5971ef,this['createdAt']=_0x33cf73,this['diffData']=_0x529727,this['attributes']=_0xb85bdc,this['fromVersion']=_0x4a6421,this['toVersion']=_0x4fae1a,this['isEmptyCurrent']=_0x178803;}['toJSON'](){return RevisionDescriptor['toJSON'](this);}['toObject'](){return RevisionDescriptor['toObject'](this);}static['create'](_0x515737){return new RevisionHistoryGetRevisionResponse(_0x515737['revisionId'],_0x515737['name'],_0x515737['creatorId'],_0x515737['authorsIds'],_0x515737['createdAt'],_0x515737['diffData'],_0x515737['attributes'],_0x515737['fromVersion'],_0x515737['toVersion'],_0x515737['isEmptyCurrent']);}static['fromJSON'](_0x3fc8e4){return new RevisionHistoryGetRevisionResponse(_0x3fc8e4['revisionId'],_0x3fc8e4['name'],_0x3fc8e4['creatorId'],_0x3fc8e4['authorsIds']?JSON['parse'](_0x3fc8e4['authorsIds']):void 0x0,_0x3fc8e4['createdAt']?new Date(_0x3fc8e4['createdAt']):void 0x0,_0x3fc8e4['diffData'],_0x3fc8e4['attributes']?JSON['parse'](_0x3fc8e4['attributes']):void 0x0,_0x3fc8e4['fromVersion'],_0x3fc8e4['toVersion'],_0x3fc8e4['isEmptyCurrent']);}}class RevisionHistoryUpdateRevisionsMessage extends _0x1cdc89{['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(_0x2ea24d,_0xcfd424,_0x3a7a2b){super(),this['documentId']=_0x2ea24d,this['requestId']=_0xcfd424,this['revisions']=_0x3a7a2b;}['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'](_0x4f7945){return new RevisionHistoryUpdateRevisionsMessage(_0x4f7945['documentId'],_0x4f7945['requestId'],_0x4f7945['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0xb6f06f){return new RevisionHistoryUpdateRevisionsMessage(_0xb6f06f['documentId'],_0xb6f06f['requestId'],_0xb6f06f['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends _0x1cdc89{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x4b091c){super(),this['requestId']=_0x4b091c;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0x45011c){return new RevisionHistoryUpdateRevisionsResponse(_0x45011c['requestId']);}}class RevisionHistoryConnectMessage extends _0x1cdc89{['documentId'];static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x55df07){super(),this['documentId']=_0x55df07;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x33b016){return new RevisionHistoryConnectMessage(_0x33b016['documentId']);}}class RevisionHistoryConnectResponse extends _0x1cdc89{['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(_0x2350a2,_0xad483e,_0x2d6d59){super(),this['channel']=_0x2350a2,this['requestId']=_0xad483e,this['revisions']=_0x2d6d59;}['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'](_0x4a7e7d){return new RevisionHistoryConnectResponse(_0x4a7e7d['channel'],_0x4a7e7d['requestId'],_0x4a7e7d['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryReconnectMessage extends _0x1cdc89{['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(_0x3dafc8,_0x58b971){super(),this['documentId']=_0x3dafc8,this['requestId']=_0x58b971;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0x420333){return new RevisionHistoryReconnectMessage(_0x420333['documentId'],_0x420333['requestId']);}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0x1e9ac7,_0x5c58ae){super(_0x1e9ac7+'\x20Service\x20is\x20not\x20connected.',_0x5c58ae);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
_0x5f37cd['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_0x45b632){super(),this['_documentId']=_0x45b632;}get['isConnected'](){return this['_isConnected'];}['connect'](_0xce8028){return this['_isConnected']?Promise['resolve']():this['_connect'](_0xce8028,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'](_0x24182e,_0x40d18a){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x24182e);return this['_connect'](_0x24182e,new RevisionHistoryReconnectMessage(this['_documentId'],_0x40d18a));}async['updateRevisions'](_0x1b37fe,_0x1e724d){const _0x5d4939=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':_0x1e724d,'revisions':_0x1b37fe}),_0x4967b1=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x5d4939),{requestId:_0xfac196}=_0x3dbb2a['decode'](_0x4967b1,RevisionHistoryUpdateRevisionsResponse);return _0xfac196;}async['getRevision'](_0x3e9933){const _0x21d02c=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x3e9933),_0x2beb5e=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0x21d02c);return _0x3dbb2a['decode'](_0x2beb5e,RevisionHistoryGetRevisionResponse)['toObject']();}async['_connect'](_0x4e24a9,_0x367bc4){if(_0x4e24a9['state']!==_0x58cc78)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x4e24a9);this['_wsGateway']=_0x4e24a9,this['stopListening'](_0x4e24a9,'change:state');const _0xe3e9a0=await _0x4e24a9['_sendRequest'](0xc,_0x367bc4['constructor']['TYPE'],_0x3dbb2a['encode'](_0x367bc4)),{channel:_0x2beaa8,requestId:_0x339ac1,revisions:_0x179853}=_0x3dbb2a['decode'](_0xe3e9a0,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](_0x4e24a9,'change:state',(_0x316be0,_0x3b517e,_0x4623c4)=>this['_onWsGatewayStateChange'](_0x4623c4),{'priority':_0x579418['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x4e24a9,_0x2beaa8),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0x179853,'requestId':_0x339ac1};}['_connectToChannel'](_0x479bde,_0x2a4758){this['_channel']=_0x479bde['_getChannel'](RevisionHistoryService['_SERVICE'],_0x2a4758),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(_0xeb9fc3,_0x16c100)=>{const {documentId:_0x347f06,requestId:_0x5ad8fc,revisions:_0x3f144f}=_0x3dbb2a['decode'](_0x16c100,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0x347f06,'requestId':_0x5ad8fc,'revisionsData':_0x3f144f});});}['_onWsGatewayStateChange'](_0xf647a3){_0xf647a3===_0x298175&&this['disconnect']();}['_sendRequest'](_0xe1055,_0x1ea136){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0xe1055,_0x3dbb2a['encode'](_0x1ea136));}}class AddSuggestionMessage extends _0x1cdc89{['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(_0x480e31,_0x2b47ac,_0x7032cf,_0x5afa67={},_0x3eca69=null,_0x23f62c=null){super(),this['id']=_0x480e31,this['documentId']=_0x2b47ac,this['type']=_0x7032cf,this['data']=_0x5afa67,this['originalSuggestionId']=_0x3eca69,this['attributes']=_0x23f62c;}['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'](_0x5abfa9){return new AddSuggestionMessage(_0x5abfa9['id'],_0x5abfa9['documentId'],_0x5abfa9['type'],JSON['parse'](_0x5abfa9['data']),_0x5abfa9['originalSuggestionId']??null,_0x5abfa9['attributes']?JSON['parse'](_0x5abfa9['attributes']):null);}}class AddSuggestionResponse extends _0x1cdc89{['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(_0x51105f,_0x292021,_0x46321c,_0x26006e,_0x58f73b,_0xad0b3b,_0x390cdb={},_0x4b9b65=null){super(),this['id']=_0x51105f,this['authorId']=_0x292021,this['type']=_0x46321c,this['hasComments']=_0x58f73b,this['state']=_0xad0b3b,this['data']=_0x390cdb,this['attributes']=_0x4b9b65,this['createdAt']=_0x26006e?new Date(_0x26006e):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'](_0x58cd2b){return new AddSuggestionResponse(_0x58cd2b['id'],_0x58cd2b['authorId'],_0x58cd2b['type'],_0x58cd2b['createdAt'],_0x58cd2b['hasComments'],_0x58cd2b['state'],JSON['parse'](_0x58cd2b['data']),_0x58cd2b['attributes']?JSON['parse'](_0x58cd2b['attributes']):null);}}class GetSuggestionMessage extends _0x1cdc89{['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(_0x375a15,_0x5cd015){super(),this['id']=_0x375a15,this['documentId']=_0x5cd015;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0x5afbdc){return new GetSuggestionMessage(_0x5afbdc['id'],_0x5afbdc['documentId']);}}class GetSuggestionResponse extends _0x1cdc89{['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(_0x49bdce,_0x63771f,_0x54c4f6,_0xcdc710,_0x568434,_0x212c9b,_0x291333={},_0x53f129=null){super(),this['id']=_0x49bdce,this['authorId']=_0x63771f,this['type']=_0x54c4f6,this['hasComments']=_0x568434,this['state']=_0x212c9b,this['data']=_0x291333,this['attributes']=_0x53f129,this['createdAt']=new Date(_0xcdc710);}['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'](_0x5b201d){return new GetSuggestionResponse(_0x5b201d['id'],_0x5b201d['authorId'],_0x5b201d['type'],_0x5b201d['createdAt'],_0x5b201d['hasComments'],_0x5b201d['state'],JSON['parse'](_0x5b201d['data']),_0x5b201d['attributes']?JSON['parse'](_0x5b201d['attributes']):null);}}class GetAllSuggestionsMessage extends _0x1cdc89{['documentId'];static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x2440ca){super(),this['documentId']=_0x2440ca;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x3ed3d0){return new GetAllSuggestionsMessage(_0x3ed3d0['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'](_0xe0a5e4){return{..._0xe0a5e4,'data':_0xe0a5e4['data']?JSON['stringify'](_0xe0a5e4['data']):_0xe0a5e4['data'],'attributes':_0xe0a5e4['attributes']?JSON['stringify'](_0xe0a5e4['attributes']):_0xe0a5e4['attributes'],'createdAt':_0xe0a5e4['createdAt']?.['toISOString']()};}static['fromJSON'](_0x1fdc20){return{..._0x1fdc20,'data':_0x1fdc20['data']?JSON['parse'](_0x1fdc20['data']):_0x1fdc20['data'],'attributes':_0x1fdc20['attributes']?JSON['parse'](_0x1fdc20['attributes']):_0x1fdc20['attributes'],'createdAt':_0x1fdc20['createdAt']?new Date(_0x1fdc20['createdAt']):void 0x0};}}class GetAllSuggestionResponse extends _0x1cdc89{['_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(_0x339b59,_0x23541c){super(),this['_suggestions']=_0x339b59,this['_suggestionsV2']=_0x23541c,this['suggestions']=_0x23541c?.['length']?_0x23541c:_0x339b59;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](_0x5f19f0=>JSON['stringify'](_0x5f19f0)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x4105f9){return new GetAllSuggestionResponse(_0x4105f9['suggestions']?.['map'](_0x1caba1),_0x4105f9['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function _0x1caba1(_0x901bf2){const _0x38435e=JSON['parse'](_0x901bf2);return _0x38435e['createdAt']=_0x38435e['createdAt']?new Date(_0x38435e['createdAt']):void 0x0,_0x38435e;}class UpdateSuggestionMessage extends _0x1cdc89{['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(_0x4d9068,_0x1ae9c4,_0x7dbe99,_0x267513,_0xb08bc6,_0x128e6e=null){super(),this['id']=_0x4d9068,this['documentId']=_0x1ae9c4,this['hasComments']=_0x7dbe99,this['isHasCommentsModified']=_0x267513,this['state']=_0xb08bc6,this['attributes']=_0x128e6e;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0xd9a1c5){return new UpdateSuggestionMessage(_0xd9a1c5['id'],_0xd9a1c5['documentId'],_0xd9a1c5['hasComments'],_0xd9a1c5['isHasCommentsModified'],_0xd9a1c5['state'],_0xd9a1c5['attributes']?JSON['parse'](_0xd9a1c5['attributes']):null);}}let _0x23ed72=class ConnectMessage extends _0x1cdc89{['documentId'];static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x165716){super(),this['documentId']=_0x165716;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x7c9410){return new ConnectMessage(_0x7c9410['documentId']);}},_0xed5c53=class ConnectResponse extends _0x1cdc89{['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(_0x3cfddd,_0x379c87,_0x5c21eb){super(),this['channel']=_0x3cfddd,this['_suggestions']=_0x379c87,this['_suggestionsV2']=_0x5c21eb,this['suggestions']=_0x5c21eb?.['length']?_0x5c21eb:_0x379c87;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0x1bc204=>JSON['stringify'](_0x1bc204)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x365606){return new ConnectResponse(_0x365606['channel'],_0x365606['suggestions']?.['map'](_0x3bbe6b=>JSON['parse'](_0x3bbe6b)),_0x365606['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}};class BatchUpdateSuggestionsStateMessage extends _0x1cdc89{['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(_0x5e7c8a,_0x357347,_0x29c23f){super(),this['ids']=_0x5e7c8a,this['documentId']=_0x357347,this['state']=_0x29c23f;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0x233c8f){return new BatchUpdateSuggestionsStateMessage(_0x233c8f['ids'],_0x233c8f['documentId'],_0x233c8f['state']);}}class _0x2bfec9 extends/* #__PURE__ -- @preserve */
_0x5f37cd['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_0x1fb51b){super(),this['_documentId']=_0x1fb51b;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x3b75a9){if(this['_isConnected'])return;if(_0x3b75a9['state']!==_0x58cc78)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x3b75a9);const _0x51706c=new _0x23ed72(this['_documentId']);this['_wsGateway']=_0x3b75a9,this['stopListening'](_0x3b75a9,'change:state');const _0x3981f6=await _0x3b75a9['_sendRequest'](0xa,_0x23ed72['TYPE'],_0x3dbb2a['encode'](_0x51706c)),_0x1361e5=_0x3dbb2a['decode'](_0x3981f6,_0xed5c53);return this['listenTo'](_0x3b75a9,'change:state',(_0x40c0bd,_0xd0607d,_0x1adf5d)=>this['_onWsGatewayStateChange'](_0x1adf5d),{'priority':_0x579418['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x3b75a9,_0x1361e5['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x1361e5['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'](_0xc0e46b,_0x446133,_0x268fcb,_0x48aace=null,_0x1214a2){const _0x4afee3=new AddSuggestionMessage(_0xc0e46b,this['_documentId'],_0x446133,_0x268fcb,_0x48aace,_0x1214a2),_0x5985e0=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x4afee3);return _0x3dbb2a['decode'](_0x5985e0,AddSuggestionResponse);}async['get'](_0x5c9444,_0x495edd=0x1){const _0x175df4=new GetSuggestionMessage(_0x5c9444,this['_documentId']);try{const _0x579aaf=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0x175df4);return _0x3dbb2a['decode'](_0x579aaf,GetSuggestionResponse);}catch(_0x3c2cde){if('CKEditorCloudServicesServerError'===_0x3c2cde['name']&&'404'===_0x3c2cde['code']&&_0x495edd<0x5)return await(_0x5d1d9c=0x64*_0x495edd,new Promise(_0x2ba86d=>{setTimeout(_0x2ba86d,_0x5d1d9c);})),this['get'](_0x5c9444,_0x495edd+0x1);if('CKEditorCloudServicesServerError'===_0x3c2cde['name'])throw _0x3c2cde;throw CKEditorCloudServicesServerError['fromPublicError'](_0x3c2cde);}var _0x5d1d9c;}async['getAll'](){const _0x427b98=new GetAllSuggestionsMessage(this['_documentId']),_0x383952=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x427b98),{suggestions:_0x4c1cf8}=_0x3dbb2a['decode'](_0x383952,GetAllSuggestionResponse);return _0x4c1cf8;}async['update'](_0x1e18b1,_0x1f320d={}){const {hasComments:_0x4d605e,state:_0x3e775c,attributes:_0x35e39b}=_0x1f320d,_0x5a2435=void 0x0!==_0x4d605e,_0x35ddb4=new UpdateSuggestionMessage(_0x1e18b1,this['_documentId'],_0x4d605e,_0x5a2435,_0x3e775c,_0x35e39b);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x35ddb4);}async['batchUpdateState'](_0x3581a2){const _0x1ebc3b=new BatchUpdateSuggestionsStateMessage(_0x3581a2['ids'],this['_documentId'],_0x3581a2['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x1ebc3b);}['_connectToChannel'](_0x2a3c01,_0x571c75){this['_channel']=_0x2a3c01['_getChannel'](_0x2bfec9['_SERVICE'],_0x571c75),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(_0x34a210,_0x350a0a)=>{const _0x173661=_0x3dbb2a['decode'](_0x350a0a,UpdateSuggestionMessage);this['fire']('suggestionUpdated',_0x173661);});}['_onWsGatewayStateChange'](_0x28fbf4){_0x28fbf4===_0x298175&&this['disconnect']();}['_sendRequest'](_0x44d0db,_0x12aa25){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0x44d0db,_0x3dbb2a['encode'](_0x12aa25));}}class SessionsConnectResponse extends _0x1cdc89{['channel'];['sockets'];static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x2a8342,_0xafa664=[]){super(),this['channel']=_0x2a8342,this['sockets']=_0xafa664;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0x295497=>({'user':_0x295497['userId'],'session':_0x295497['id'],'role':_0x295497['role'],'permissions':_0x295497['permissions']}))};}static['fromJSON'](_0x438ece){return new SessionsConnectResponse(_0x438ece['channel'],_0x438ece['sockets']['map'](_0x1b9e1b=>({'id':_0x1b9e1b['session'],'userId':_0x1b9e1b['user'],'role':_0x1b9e1b['role'],'permissions':_0x1b9e1b['permissions']})));}}class SessionsConnectMessage extends _0x1cdc89{['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(_0x52b563,_0x164c86){super(),this['id']=_0x52b563,this['sessionType']=_0x164c86;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0x5bc57d){return new SessionsConnectMessage(_0x5bc57d['id'],_0x5bc57d['sessionType']);}}class SocketConnectMessage extends _0x1cdc89{['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(_0xb5aaa1,_0x4bb4b6,_0x2517fc,_0x551715){super(),this['id']=_0xb5aaa1,this['userId']=_0x4bb4b6,this['role']=_0x2517fc,this['permissions']=_0x551715;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x1718d3){return new SocketConnectMessage(_0x1718d3['id'],_0x1718d3['userId'],_0x1718d3['role'],_0x1718d3['permissions']);}}class SocketDisconnectMessage extends _0x1cdc89{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x444cbd){super(),this['id']=_0x444cbd;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x507136){return new SocketDisconnectMessage(_0x507136['id']);}}class SessionCollection extends _0x5f37cd['Collection']{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];['_wsGateway'];['_connected'];['_eventsQueue']=[];['_isRunning']=!0x1;constructor(_0x971053,_0x1ed8d2){super({'idProperty':'id'}),this['_id']=_0x971053,this['_sessionType']=_0x1ed8d2;}async['connect'](_0x5d00c3){this['_wsGateway']=_0x5d00c3,this['stopListening'](_0x5d00c3,'change:state');const _0x386275=new SessionsConnectMessage(this['_id'],this['_sessionType']);let _0x442d50;try{const _0x3a0b0c=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],_0x3dbb2a['encode'](_0x386275));_0x442d50=_0x3dbb2a['decode'](_0x3a0b0c,SessionsConnectResponse);}catch{_0x442d50=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x442d50['channel'],this['_sessionType']);const _0x36460a=await async function(_0x1a597c,_0x315863){const _0x49d584=_0x315863['map'](_0x427e2e=>_0x427e2e['userId']),_0x5e85a5=_0x49d584['length']?await _0x4fb79d['getMany'](_0x1a597c,_0x49d584):[];return _0x315863['map'](_0x185b26=>{const _0x54c31a={'id':_0x185b26['id'],'role':_0x185b26['role'],'permissions':_0x185b26['permissions']};return _0x54c31a['user']=_0x185b26['userId']&&_0x5e85a5['find'](_0x4eedef=>_0x4eedef['id']===_0x185b26['userId'])||new _0x4fb79d(),_0x54c31a;});}(this['_wsGateway'],_0x442d50['sockets']);for(const _0x5ebb8e of _0x36460a)super['add'](_0x5ebb8e);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0xfce1ce,_0x1b5bef,_0x346b52)=>this['_onWsGatewayStateChange'](_0x346b52),{'priority':_0x579418['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x44f832=!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']&&_0x44f832&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x44f832&&this['stopListening']();}}['add'](_0x40d7ad,_0x2e1158){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x19a1c2){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](_0x2e154a,_0x2c559f,_0x26014e){this['_channel']=_0x2e154a['_getChannel'](_0x26014e,_0x2c559f),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async _0x16e5d2=>{const _0x5eb4ee=_0x3dbb2a['decode'](_0x16e5d2,SocketConnectMessage);if(-0x1===this['getIndex'](_0x5eb4ee['id'])){const _0x3c562f={'id':_0x5eb4ee['id'],'role':_0x5eb4ee['role'],'permissions':_0x5eb4ee['permissions']};_0x5eb4ee['userId']&&(_0x3c562f['user']=await _0x4fb79d['get'](_0x2e154a,_0x5eb4ee['userId'])),super['add'](_0x3c562f);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],_0x2adc93=>{const _0x42f0e6=_0x3dbb2a['decode'](_0x2adc93,SocketDisconnectMessage);-0x1!==this['getIndex'](_0x42f0e6['id'])&&super['remove'](_0x42f0e6['id']);}));}async['_onWsGatewayStateChange'](_0x29adf3){_0x29adf3===_0x579418['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0x29adf3===_0x579418['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0x37ce8c;for(this['_isRunning']=!0x0;_0x37ce8c=this['_eventsQueue']['shift']();){const _0x38ff0b=this['_handlers']['get'](_0x37ce8c['eventName']);_0x38ff0b&&await _0x38ff0b(_0x37ce8c['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x4e0d03,_0x5e1ac8,_0x490ca6){const _0x26474c=_0x4e0d03['getEventName'](_0x5e1ac8,!0x0);this['listenTo'](_0x4e0d03,_0x26474c,async(_0x2205d4,_0x11ffc8)=>{const _0x7e1d04=_0x2205d4['name'];this['_eventsQueue']['push']({'eventName':_0x7e1d04,'data':_0x11ffc8}),await this['_runQueue']();}),this['_handlers']['set'](_0x26474c,_0x490ca6);}}let _0x2d93f0=class _0x58d11e{static async['getConnectedSessions'](_0x265ae9,_0x3c31c9,_0x4c7c41){const _0x143d19=new SessionCollection(_0x3c31c9,_0x4c7c41);return await _0x143d19['connect'](_0x265ae9),_0x143d19;}};class CollaborativeEditingConnectMessage extends _0x1cdc89{['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(_0x3abc96,_0x5cb0f3,_0x4df594,_0x1d3080,_0x13f490=''){super(),this['id']=_0x3abc96,this['buffers']=_0x5cb0f3,this['types']=_0x4df594,this['bundleVersion']=_0x1d3080,this['lastOperationId']=_0x13f490;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x37d863){return new CollaborativeEditingConnectMessage(_0x37d863['id'],_0x37d863['buffers'],_0x37d863['types'],_0x37d863['bundleVersion'],_0x37d863['lastOperationId']);}}class OperationMetadataHelpers{static['prepareMetadataForOperations'](_0x47ea8d,_0x49626d){if(!_0x47ea8d?.['length']||!_0x49626d?.['length'])return[];const _0x5c48c9=[];let _0x2361ac=0x0;for(const _0x2b0949 of _0x47ea8d)if(0x0!==_0x2b0949){if(!_0x49626d[_0x2361ac])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x5c48c9['push'](_0x49626d[_0x2361ac]),_0x2361ac++;}else _0x5c48c9['push'](_0x5c48c9[_0x5c48c9['length']-0x1]);return _0x5c48c9;}static['removeUnnecessaryMetadata'](_0x13b89b,_0x566667){if(!_0x13b89b?.['length']||!_0x566667?.['length'])return[];const _0x2da766=[];for(let _0x426e09=0x0;_0x426e09<_0x13b89b['length'];_0x426e09++)if(0x0!==_0x13b89b[_0x426e09]){if(!_0x566667[_0x426e09])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x2da766['push'](_0x566667[_0x426e09]);}return _0x2da766;}}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:_0x4e3269,..._0x1f1f60}){const _0x51450b={..._0x1f1f60};return _0x4e3269?.['toISOString']&&(_0x51450b['createdAt']=_0x4e3269['toISOString']()),_0x51450b;}static['fromJSON']({createdAt:_0x274020,..._0x1eb802}){const _0x4ca9aa={..._0x1eb802};return _0x274020&&(_0x4ca9aa['createdAt']=new Date(_0x274020)),_0x4ca9aa;}}class CollaborativeEditingUpdateMessage extends _0x1cdc89{['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(_0x54153d,_0x27fe58,_0x39b43c,_0x3ce495,_0x1dedec=[],_0x540530=''){super(),this['id']=_0x54153d,this['buffers']=_0x27fe58,this['types']=_0x39b43c,this['baseVersion']=_0x3ce495,this['metadata']=_0x1dedec,this['lastOperationId']=_0x540530;}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'](_0x106150){return new CollaborativeEditingUpdateMessage(_0x106150['id'],_0x106150['buffers'],_0x106150['types'],_0x106150['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x106150['types'],_0x106150['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x106150['lastOperationId']);}}class CollaborativeEditingReconnectMessage extends _0x1cdc89{['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(_0x5c6055,_0x17dce9,_0x45de8f){super(),this['id']=_0x5c6055,this['lastKnowVersion']=_0x17dce9,this['bundleVersion']=_0x45de8f;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0xb302c4){return new CollaborativeEditingReconnectMessage(_0xb302c4['id'],_0xb302c4['lastKnowVersion'],_0xb302c4['bundleVersion']);}}class CollaborativeEditingResponse extends _0x1cdc89{['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(_0x5c44b1,_0x2849ce=[],_0x39d9c1=[],_0x4af9cf=[],_0x56fb51='',_0x4f62c9=null){super(),this['version']=_0x5c44b1,this['buffers']=_0x2849ce,this['types']=_0x39d9c1,this['metadata']=_0x4af9cf,this['lastOperationId']=_0x56fb51,this['lastOperationAcceptedAt']=_0x4f62c9;}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'](_0x5702c6){return new CollaborativeEditingResponse(_0x5702c6['version'],_0x5702c6['buffers'],_0x5702c6['types'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x5702c6['types'],_0x5702c6['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x5702c6['lastOperationId'],_0x5702c6['lastOperationAcceptedAt']?new Date(_0x5702c6['lastOperationAcceptedAt']):null);}static['create'](_0x5d215a){return new CollaborativeEditingResponse(_0x5d215a['version'],_0x5d215a['buffers'],_0x5d215a['types'],_0x5d215a['metadata'],_0x5d215a['lastOperationId'],_0x5d215a['lastOperationAcceptedAt']?new Date(_0x5d215a['lastOperationAcceptedAt']):null);}}class CollaborativeEditingConnectResponse extends _0x1cdc89{['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(_0xe83521,_0x380ffc,_0x2cbe11=[],_0x1a7f39=[],_0x1fe4d7=0x0,_0x8a8199=[],_0x439a3a=null,_0x58184f='',_0x32e669='',_0x5bce47=null){super(),this['channel']=_0xe83521,this['version']=_0x380ffc,this['buffers']=_0x2cbe11,this['types']=_0x1a7f39,this['offset']=_0x1fe4d7,this['metadata']=_0x8a8199,this['initData']=_0x439a3a,this['sessionId']=_0x58184f,this['lastOperationId']=_0x32e669,this['sessionCreatedAt']=_0x5bce47;}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'](_0x481ac9){return new CollaborativeEditingConnectResponse(_0x481ac9['channel'],_0x481ac9['version'],_0x481ac9['buffers'],_0x481ac9['types'],_0x481ac9['offset'],_0x481ac9['metadata'],_0x481ac9['initData'],_0x481ac9['sessionId'],_0x481ac9['lastOperationId'],_0x481ac9['sessionCreatedAt']);}static['fromJSON'](_0x199270){let _0x15c78a=null;return!0x0===_0x199270['isInitialized']?_0x15c78a=_0x199270['initData']??'':'boolean'!=typeof _0x199270['isInitialized']&&_0x199270['initData']&&(_0x15c78a=_0x199270['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0x199270['channel'],'version':_0x199270['version'],'buffers':_0x199270['buffers'],'types':_0x199270['types'],'offset':_0x199270['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](_0x199270['types'],_0x199270['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':_0x15c78a,'sessionId':_0x199270['sessionId'],'lastOperationId':_0x199270['lastOperationId'],'sessionCreatedAt':_0x199270['sessionCreatedAt']?new Date(_0x199270['sessionCreatedAt']):null});}}class GetDocumentDetailsResponse extends _0x1cdc89{['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(_0x49737f,_0x2adc32){super(),this['lastDocumentSession']=_0x49737f,this['currentDocumentSession']=_0x2adc32;}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'](_0x32dad2){const _0x2cc85b=_0x32dad2['lastDocumentSessionId']?{'id':_0x32dad2['lastDocumentSessionId'],'lastOperationId':_0x32dad2['lastDocumentSessionOperationId']}:void 0x0,_0x5b8598=_0x32dad2['currentDocumentSessionId']?{'lastOperationId':_0x32dad2['currentDocumentSessionOperationId'],'version':_0x32dad2['currentDocumentSessionVersion'],'id':_0x32dad2['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(_0x2cc85b,_0x5b8598);}}class GetDocumentDetailsMessage extends _0x1cdc89{['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(_0x23c203){super(),this['documentId']=_0x23c203;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x194e9a){return new GetDocumentDetailsMessage(_0x194e9a['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
_0x5f37cd['EmitterMixin'](){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0xad7c72,_0x365e99){if(super(),!_0xad7c72)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x365e99??_0x4906dd(),this['_isConnected']=!0x1,this['_bundleVersion']=_0xad7c72;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](_0x55df6c,_0x535687={'buffers':[],'types':[]},_0x5e559e){const _0x43769a=new CollaborativeEditingConnectMessage(this['getId'](),_0x535687['buffers'],_0x535687['types'],this['_bundleVersion'],_0x5e559e);return this['_connect'](_0x55df6c,_0x43769a);}['reconnect'](_0x474905,_0x429a3b){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x474905);return this['_connect'](_0x474905,new CollaborativeEditingReconnectMessage(this['getId'](),_0x429a3b,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 _0x3072ff=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x5bd77b=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],_0x3dbb2a['encode'](_0x3072ff));return _0x3dbb2a['decode'](_0x5bd77b,GetDocumentDetailsResponse);}async['sendOperations'](_0x219b96,_0x31e0d0,_0x442b0f){if(!_0x219b96?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x32dbb3='number'==typeof _0x31e0d0?_0x31e0d0:parseInt(_0x31e0d0);if(!Number['isInteger'](_0x32dbb3)||_0x32dbb3<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x1589d7=new CollaborativeEditingUpdateMessage(this['getId'](),_0x219b96['buffers'],_0x219b96['types'],_0x32dbb3,[],_0x442b0f);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0xe06c5=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],_0x3dbb2a['encode'](_0x1589d7));return _0x3dbb2a['decode'](_0xe06c5,CollaborativeEditingResponse);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']??=await _0x2d93f0['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1),this['_connectedSessions'];}static['getConnectedSessions'](_0x294824,_0x496332){return _0x2d93f0['getConnectedSessions'](_0x294824,_0x496332,0x1);}async['_connect'](_0xdc7dc7,_0xb3e55e){if(this['isConnected']())return;if(_0xdc7dc7['state']!==_0x579418['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0xdc7dc7);this['_wsGateway']=_0xdc7dc7,this['stopListening'](_0xdc7dc7,'change:state');const _0x2dbcde=await _0xdc7dc7['_sendRequest'](0x1,_0xb3e55e['constructor']['TYPE'],_0x3dbb2a['encode'](_0xb3e55e)),_0x62b56a=_0x3dbb2a['decode'](_0x2dbcde,CollaborativeEditingConnectResponse);return this['listenTo'](_0xdc7dc7,'change:state',(_0x4a0a51,_0x35dedb,_0x538c5d)=>this['_onWsGatewayStateChange'](_0x538c5d),{'priority':_0x579418['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0xdc7dc7,_0x62b56a['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x62b56a;}['_connectToChannel'](_0x299df3,_0x12e610){this['_channel']=_0x299df3['_getChannel'](0x1,_0x12e610),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(_0x489fb3,_0x111142)=>{const _0x21e1cd=_0x3dbb2a['decode'](_0x111142,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',_0x21e1cd['baseVersion'],_0x21e1cd['data'],_0x21e1cd['metadata']);});}['_onWsGatewayStateChange'](_0x3b0121){_0x3b0121===_0x579418['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'](_0xd18d25){return{..._0xd18d25,'createdAt':_0xd18d25['createdAt']?.['toISOString'](),'attributes':_0xd18d25['attributes']?JSON['stringify'](_0xd18d25['attributes']):null};}static['fromJSON'](_0x37dac1){return{..._0x37dac1,'createdAt':new Date(_0x37dac1['createdAt']),'attributes':_0x37dac1['attributes']?JSON['parse'](_0x37dac1['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'](_0x20b5f7){return{..._0x20b5f7,'createdAt':_0x20b5f7['createdAt']?.['toISOString'](),'deletedAt':_0x20b5f7['deletedAt']?.['toISOString'](),'resolvedAt':_0x20b5f7['resolvedAt']?.['toISOString'](),'attributes':_0x20b5f7['attributes']?JSON['stringify'](_0x20b5f7['attributes']):null,'context':_0x20b5f7['context']?JSON['stringify'](_0x20b5f7['context']):_0x20b5f7['context'],'comments':_0x20b5f7['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':_0x20b5f7['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x44e694){return{..._0x44e694,'createdAt':_0x44e694['createdAt']?new Date(_0x44e694['createdAt']):void 0x0,'deletedAt':_0x44e694['deletedAt']?new Date(_0x44e694['deletedAt']):void 0x0,'resolvedAt':_0x44e694['resolvedAt']?new Date(_0x44e694['resolvedAt']):void 0x0,'attributes':_0x44e694['attributes']?JSON['parse'](_0x44e694['attributes']):null,'context':_0x44e694['context']?JSON['parse'](_0x44e694['context']):void 0x0,'comments':_0x44e694['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':_0x44e694['unlinkedAt']?new Date(_0x44e694['unlinkedAt']):void 0x0};}}class AddCommentMessage extends _0x1cdc89{['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(_0x250bf2,_0x29dbae,_0x434e81,_0x1c46d8='',_0xf5f952,_0x5de815='',_0x1ebcbf=null,_0x4c7fbe){super(),this['documentId']=_0x250bf2,this['commentThreadId']=_0x29dbae,this['content']=_0x434e81,this['commentId']=_0x1c46d8,this['userId']=_0x5de815,this['attributes']=_0x1ebcbf,this['commentThread']=_0x4c7fbe,this['createdAt']=_0xf5f952?new Date(_0xf5f952):'';}['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'](_0x50e499){return new AddCommentMessage(_0x50e499['documentId'],_0x50e499['commentThreadId'],_0x50e499['content'],_0x50e499['commentId']?_0x50e499['commentId']:void 0x0,_0x50e499['createdAt']?new Date(_0x50e499['createdAt']):void 0x0,_0x50e499['userId']?_0x50e499['userId']:void 0x0,_0x50e499['attributes']?JSON['parse'](_0x50e499['attributes']):{},_0x50e499['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x50e499['commentThread']):void 0x0);}}class AddCommentResponse extends _0x1cdc89{['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(_0x273a3d,_0x5b38d5,_0x3e7494){super(),this['commentThreadId']=_0x273a3d,this['commentId']=_0x5b38d5,this['createdAt']=new Date(_0x3e7494);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0x2c34c9){return new AddCommentResponse(_0x2c34c9['commentThreadId'],_0x2c34c9['commentId'],_0x2c34c9['createdAt']);}}class ConnectMessage extends _0x1cdc89{['documentId'];static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x5c0f3f){super(),this['documentId']=_0x5c0f3f;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x5bca39){return new ConnectMessage(_0x5bca39['documentId']);}}class ConnectResponse extends _0x1cdc89{['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(_0x1d2c51,_0x3a3b79,_0x39004e){super(),this['channel']=_0x1d2c51,this['_threads']=_0x3a3b79,this['_threadsV2']=_0x39004e,this['threads']=_0x39004e?.['length']?_0x39004e:_0x3a3b79;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0x4fff22=>JSON['stringify'](_0x4fff22)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x197cdc){return new ConnectResponse(_0x197cdc['channel'],_0x197cdc['threads']?.['map'](_0x123228=>JSON['parse'](_0x123228)),_0x197cdc['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class RemoveCommentMessage extends _0x1cdc89{['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(_0x475697,_0x3e2dde,_0xb0c89){super(),this['documentId']=_0x475697,this['commentThreadId']=_0x3e2dde,this['commentId']=_0xb0c89;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0x4f74e1){return new RemoveCommentMessage(_0x4f74e1['documentId'],_0x4f74e1['commentThreadId'],_0x4f74e1['commentId']);}}class RemoveCommentThreadMessage extends _0x1cdc89{['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(_0x5af757,_0x16f81a){super(),this['documentId']=_0x5af757,this['commentThreadId']=_0x16f81a;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x5ec7c1){return new RemoveCommentThreadMessage(_0x5ec7c1['documentId'],_0x5ec7c1['commentThreadId']);}}class UpdateCommentMessage extends _0x1cdc89{['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(_0x29d0f3,_0xde5c5c,_0x228442,_0x3fc901,_0x2aea52=null,_0x2aa8bf=!0x1,_0x17e734){super(),this['documentId']=_0x29d0f3,this['commentThreadId']=_0xde5c5c,this['commentId']=_0x228442,this['content']=_0x3fc901,this['attributes']=_0x2aea52,this['isAttributesUpdated']=_0x2aa8bf,this['commentThread']=_0x17e734;}['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'](_0x58acc8){return new UpdateCommentMessage(_0x58acc8['documentId'],_0x58acc8['commentThreadId'],_0x58acc8['commentId'],_0x58acc8['content'],_0x58acc8['attributes']?JSON['parse'](_0x58acc8['attributes']):null,_0x58acc8['isAttributesUpdated'],_0x58acc8['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x58acc8['commentThread']):void 0x0);}}class GetCommentThreadMessage extends _0x1cdc89{['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(_0x46b47e,_0x4929ae){super(),this['commentThreadId']=_0x46b47e,this['documentId']=_0x4929ae;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0x3a8bd4){return new GetCommentThreadMessage(_0x3a8bd4['commentThreadId'],_0x3a8bd4['documentId']);}}class GetCommentThreadResponse extends _0x1cdc89{['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(_0x31f530,_0x19e8be,_0x38eb83,_0x5b2602,_0x470736,_0x50a1ac,_0x1e8849,_0x4278f8,_0x2901dd,_0x2829c2){super(),this['commentThreadId']=_0x31f530,this['_comments']=_0x19e8be,this['_commentsV2']=_0x38eb83,this['resolvedBy']=_0x470736,this['comments']=_0x38eb83?.['length']?_0x38eb83:_0x19e8be,this['createdAt']=_0x1e8849?new Date(_0x1e8849):void 0x0,this['deletedAt']='string'==typeof _0x4278f8?new Date(_0x4278f8):_0x4278f8,this['resolvedAt']='string'==typeof _0x2901dd?new Date(_0x2901dd):_0x2901dd,this['unlinkedAt']='string'==typeof _0x2829c2?new Date(_0x2829c2):_0x2829c2,this['attributes']='string'==typeof _0x5b2602?JSON['parse'](_0x5b2602):_0x5b2602,this['context']='string'==typeof _0x50a1ac?JSON['parse'](_0x50a1ac):_0x50a1ac;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0x9f89b0=>JSON['stringify'](_0x9f89b0)),'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'](_0x283913){return new GetCommentThreadResponse(_0x283913['commentThreadId'],_0x283913['comments']?.['map'](_0x1fb643=>function(_0x1ae6fd){const _0x357426=JSON['parse'](_0x1ae6fd);return{..._0x357426,'createdAt':new Date(_0x357426['createdAt'])};}(_0x1fb643)),_0x283913['commentsV2']?.['map'](CommentDescriptor['fromJSON']),_0x283913['attributes']?JSON['parse'](_0x283913['attributes']):_0x283913['attributes'],_0x283913['resolvedBy'],_0x283913['context']?JSON['parse'](_0x283913['context']):_0x283913['context'],_0x283913['createdAt'],_0x283913['deletedAt'],_0x283913['resolvedAt'],_0x283913['unlinkedAt']);}}class GetDocumentThreadsMessage extends _0x1cdc89{['documentId'];static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x19e908){super(),this['documentId']=_0x19e908;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x1cf7b4){return new GetDocumentThreadsMessage(_0x1cf7b4['documentId']);}}class GetDocumentThreadsResponse extends _0x1cdc89{['_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(_0x374fe7,_0x455194){super(),this['_threads']=_0x374fe7,this['_threadsV2']=_0x455194,this['threads']=_0x455194?.['length']?_0x455194:_0x374fe7;}['toJSON'](){return{'threads':this['_threads']?.['map'](_0x409bb6=>JSON['stringify'](_0x409bb6)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x14a629){return new GetDocumentThreadsResponse(_0x14a629['threads']?.['map'](_0x439bc7=>function(_0x5d73af){const _0x1cc30d=JSON['parse'](_0x5d73af),_0xee5701={..._0x1cc30d};return _0x1cc30d['comments']&&(_0xee5701['comments']=_0x1cc30d['comments']?.['map'](_0x2f4a19=>({..._0x2f4a19,'createdAt':new Date(_0x2f4a19['createdAt'])}))),_0xee5701;}(_0x439bc7)),_0x14a629['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'](_0x413020){return{'commentId':_0x413020['commentId'],'createdAt':_0x413020['createdAt']?.['toISOString']()};}static['fromJSON'](_0x31cad9){return{'commentId':_0x31cad9['commentId'],'createdAt':new Date(_0x31cad9['createdAt'])};}}class AddCommentThreadResponse extends _0x1cdc89{['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(_0x5bcfc6,_0x40a90a,_0x3b7e18=[]){super(),this['commentThreadId']=_0x5bcfc6,this['comments']=_0x3b7e18,this['createdAt']=new Date(_0x40a90a);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x1b2c68=>CommentThreadAddedCommentDescriptor['toJSON'](_0x1b2c68))};}static['fromJSON'](_0x3c8b44){return new AddCommentThreadResponse(_0x3c8b44['commentThreadId'],_0x3c8b44['createdAt'],_0x3c8b44['comments']['map'](_0x3bb4dc=>CommentThreadAddedCommentDescriptor['fromJSON'](_0x3bb4dc)));}}class AddCommentThreadMessage extends _0x1cdc89{['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(_0x432b7b,_0x5c8f5c,_0x2592a8=[],_0x3e6b28,_0x4aeb23=null,_0x4e5333=null,_0x3e9c7a=null,_0x2948dc=null,_0x5024db=null){super(),this['documentId']=_0x432b7b,this['commentThreadId']=_0x5c8f5c,this['comments']=_0x2592a8,this['context']=_0x3e6b28,this['resolvedBy']=_0x4aeb23,this['attributes']=_0x5024db,this['createdAt']=_0x4e5333?new Date(_0x4e5333):'',this['resolvedAt']=_0x3e9c7a?new Date(_0x3e9c7a):'',this['deletedAt']=_0x2948dc?new Date(_0x2948dc):'';}['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'](_0x19d632=>CommentDescriptor['toJSON'](_0x19d632))};}static['fromJSON'](_0x16e6a3){return new AddCommentThreadMessage(_0x16e6a3['documentId'],_0x16e6a3['commentThreadId'],_0x16e6a3['comments']?.['map'](_0x534d53=>CommentDescriptor['fromJSON']({..._0x534d53,'documentId':_0x16e6a3['documentId'],'commentThreadId':_0x16e6a3['commentThreadId']})),_0x16e6a3['context']?JSON['parse'](_0x16e6a3['context']):_0x16e6a3['context'],_0x16e6a3['resolvedBy'],_0x16e6a3['createdAt']?new Date(_0x16e6a3['createdAt']):void 0x0,_0x16e6a3['resolvedAt']?new Date(_0x16e6a3['resolvedAt']):void 0x0,_0x16e6a3['deletedAt']?new Date(_0x16e6a3['deletedAt']):void 0x0,_0x16e6a3['attributes']?JSON['parse'](_0x16e6a3['attributes']):_0x16e6a3['attributes']);}}class ResolveCommentThreadMessage extends _0x1cdc89{['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(_0x12103a,_0x4bd589,_0x450975,_0x34b747){super(),this['commentThreadId']=_0x12103a,this['documentId']=_0x4bd589,this['resolvedBy']=_0x450975,this['resolvedAt']=_0x34b747?new Date(_0x34b747):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0x4147bf){return new ResolveCommentThreadMessage(_0x4147bf['commentThreadId'],_0x4147bf['documentId'],_0x4147bf['resolvedBy'],_0x4147bf['resolvedAt']);}}class ReopenCommentThreadMessage extends _0x1cdc89{['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(_0xaf7555,_0x17dcaa){super(),this['commentThreadId']=_0xaf7555,this['documentId']=_0x17dcaa;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x3ac953){return new ReopenCommentThreadMessage(_0x3ac953['commentThreadId'],_0x3ac953['documentId']);}}class UpdateCommentThreadMessage extends _0x1cdc89{['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(_0x152550,_0x523ca6,_0x4a5ccf,_0x275527=null,_0x1237a5=null){super(),this['commentThreadId']=_0x152550,this['documentId']=_0x523ca6,this['context']=_0x4a5ccf,this['attributes']=_0x275527,this['unlinkedAt']=_0x1237a5?new Date(_0x1237a5):'';}['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'](_0x5f0553){return new UpdateCommentThreadMessage(_0x5f0553['commentThreadId'],_0x5f0553['documentId'],_0x5f0553['context']?JSON['parse'](_0x5f0553['context']):_0x5f0553['context'],_0x5f0553['attributes']?JSON['parse'](_0x5f0553['attributes']):null,_0x5f0553['unlinkedAt']?new Date(_0x5f0553['unlinkedAt']):null);}}class ResolveCommentThreadResponse extends _0x1cdc89{['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(_0x3015a5,_0x37e6e3,_0x5721f9,_0x289259){super(),this['commentThreadId']=_0x3015a5,this['documentId']=_0x37e6e3,this['resolvedBy']=_0x5721f9,this['resolvedAt']=new Date(_0x289259);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x46894a){return new ResolveCommentThreadResponse(_0x46894a['commentThreadId'],_0x46894a['documentId'],_0x46894a['resolvedBy'],_0x46894a['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
_0x5f37cd['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_0x331ebe){super(),this['_documentId']=_0x331ebe;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x2f7eb2){if(this['_isConnected'])return;if(_0x2f7eb2['state']!==_0x58cc78)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x2f7eb2);const _0x4e123f=new ConnectMessage(this['_documentId']);this['_wsGateway']=_0x2f7eb2,this['stopListening'](_0x2f7eb2,'change:state');const _0x360744=await _0x2f7eb2['_sendRequest'](0x9,ConnectMessage['TYPE'],_0x3dbb2a['encode'](_0x4e123f)),{channel:_0x524ec7,threads:_0x2b14a4}=_0x3dbb2a['decode'](_0x360744,ConnectResponse);return this['listenTo'](_0x2f7eb2,'change:state',(_0x469148,_0x41c92e,_0x486508)=>this['_onWsGatewayStateChange'](_0x486508),{'priority':_0x579418['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x2f7eb2,_0x524ec7),this['_isConnected']=!0x0,this['fire']('connected'),_0x2b14a4;}['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'](_0xca890,_0x1ed07c,_0x88c0c,_0x36ea43){const _0x2caf55=new AddCommentMessage(this['_documentId'],_0xca890,_0x88c0c,_0x1ed07c,void 0x0,void 0x0,_0x36ea43),_0x502e0e=await this['_sendRequest'](AddCommentMessage['TYPE'],_0x2caf55);return _0x3dbb2a['decode'](_0x502e0e,AddCommentResponse);}async['updateComment'](_0x5c9c50,_0x4af435,_0x1245e7,_0x1f5b4d){const _0x32d9f4=void 0x0!==_0x1f5b4d,_0x456f8a=new UpdateCommentMessage(this['_documentId'],_0x5c9c50,_0x4af435,_0x1245e7,_0x1f5b4d,_0x32d9f4);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0x456f8a);}async['removeComment'](_0x24098f,_0x92a46f){const _0x101614=new RemoveCommentMessage(this['_documentId'],_0x24098f,_0x92a46f);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0x101614);}async['removeCommentThread'](_0x2034e3){const _0x264dfa=new RemoveCommentThreadMessage(this['_documentId'],_0x2034e3);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0x264dfa);}async['addCommentThread'](_0x1855c1){const _0x31853a=new AddCommentThreadMessage(this['_documentId'],_0x1855c1['commentThreadId'],_0x1855c1['comments']?.['map'](_0x3324f3=>({..._0x3324f3,'documentId':this['_documentId'],'commentThreadId':_0x1855c1['commentThreadId']})),_0x1855c1['context'],_0x1855c1['resolvedBy'],_0x1855c1['createdAt'],_0x1855c1['resolvedAt'],_0x1855c1['deletedAt'],_0x1855c1['attributes']),_0xac21d0=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x31853a);return _0x3dbb2a['decode'](_0xac21d0,AddCommentThreadResponse);}async['resolveCommentThread'](_0x59da9c){const _0x5a8b84=new ResolveCommentThreadMessage(_0x59da9c,this['_documentId']),_0x296e06=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0x5a8b84);return _0x3dbb2a['decode'](_0x296e06,ResolveCommentThreadResponse);}async['reopenCommentThread'](_0x240561){const _0x225f49=new ReopenCommentThreadMessage(_0x240561,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0x225f49);}async['updateCommentThread'](_0x26e22f){const _0x4edcb3=new UpdateCommentThreadMessage(_0x26e22f['commentThreadId'],this['_documentId'],_0x26e22f['context'],_0x26e22f['attributes'],_0x26e22f['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0x4edcb3);}async['getCommentThread'](_0xe21692,_0x4e3e00=0x1){const _0x1d5a43=new GetCommentThreadMessage(_0xe21692,this['_documentId']);try{const _0x5e8a63=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0x1d5a43),_0x5a6e85=_0x3dbb2a['decode'](_0x5e8a63,GetCommentThreadResponse);return{'commentThreadId':_0x5a6e85['commentThreadId'],'comments':_0x5a6e85['comments'],'attributes':_0x5a6e85['attributes'],'context':_0x5a6e85['context'],'resolvedAt':_0x5a6e85['resolvedAt'],'resolvedBy':_0x5a6e85['resolvedBy'],'deletedAt':_0x5a6e85['deletedAt'],'unlinkedAt':_0x5a6e85['unlinkedAt']};}catch(_0x218801){if('CKEditorCloudServicesServerError'===_0x218801['name']&&'404'===_0x218801['code']&&_0x4e3e00<0x5)return await(_0x56818e=0x64*_0x4e3e00,new Promise(_0x2c6b08=>{setTimeout(_0x2c6b08,_0x56818e);})),this['getCommentThread'](_0xe21692,_0x4e3e00+0x1);if('CKEditorCloudServicesServerError'===_0x218801['name'])throw _0x218801;throw CKEditorCloudServicesServerError['fromPublicError'](_0x218801);}var _0x56818e;}async['getDocumentThreads'](){const _0x2e6eef=new GetDocumentThreadsMessage(this['_documentId']),_0x5c9748=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0x2e6eef),{threads:_0x386c67}=_0x3dbb2a['decode'](_0x5c9748,GetDocumentThreadsResponse);return{'threads':_0x386c67};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']??=await _0x2d93f0['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9),this['_connectedSessions'];}['_connectToChannel'](_0x189880,_0x24bcfa){this['_channel']=_0x189880['_getChannel'](CommentsService['_SERVICE'],_0x24bcfa),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(_0x2e65f7,_0x270c5a)=>{const _0x4d5013=_0x3dbb2a['decode'](_0x270c5a,AddCommentMessage);this['fire']('commentAdded',_0x4d5013);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(_0x9f55da,_0x1d2a49)=>{const _0x1f4252=_0x3dbb2a['decode'](_0x1d2a49,RemoveCommentMessage);this['fire']('commentRemoved',_0x1f4252);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(_0x2208a8,_0x27c862)=>{const _0x4e4599=_0x3dbb2a['decode'](_0x27c862,UpdateCommentMessage);this['fire']('commentUpdated',_0x4e4599);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(_0x1b0345,_0x24b741)=>{const _0x47ae6e=_0x3dbb2a['decode'](_0x24b741,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',_0x47ae6e);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(_0x145f44,_0x3c88c3)=>{const _0x26069b=_0x3dbb2a['decode'](_0x3c88c3,AddCommentThreadMessage);this['fire']('commentThreadAdded',_0x26069b);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(_0x1c04e0,_0x2e34db)=>{const _0xb33240=_0x3dbb2a['decode'](_0x2e34db,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',_0xb33240);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(_0x34a08f,_0x5dbc4c)=>{const _0xad6cec=_0x3dbb2a['decode'](_0x5dbc4c,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',_0xad6cec);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(_0x21e709,_0x209616)=>{const _0x27ebe6=_0x3dbb2a['decode'](_0x209616,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',_0x27ebe6);}));}['_onWsGatewayStateChange'](_0x545c54){_0x545c54===_0x298175&&this['disconnect']();}['_sendRequest'](_0x3003ea,_0x396db1){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0x3003ea,_0x3dbb2a['encode'](_0x396db1));}}class WebSocketGateway extends _0x5f37cd['ContextPlugin']{static ['WebSocketGateway']=/* #__PURE__ -- @preserve */
((()=>_0x579418)());static ['initialReconnectionInterval']=0x3e8;['connection'];['_reconnectionStack'];['_shouldPluginsReconnect'];['_domEmitter'];static get['requires'](){return[_0x5f37cd['CloudServices'],_0x5f37cd['Notification']];}static get['pluginName'](){return'WebSocketGateway';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x823983){super(_0x823983),this['set']('state',_0x58cc78),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=new(_0x5f37cd['DomEmitterMixin']())();}['init'](){const _0x5f39fd=this['context'],_0x30a8b6=_0x5f39fd['plugins']['get'](_0x5f37cd['CloudServices']),_0x5485cb=_0x5f39fd['plugins']['get'](_0x5f37cd['Notification']);if(!_0x30a8b6['token'])throw new _0x5f37cd['CKEditorError']('websocketgateway-missing-token',this);if(!_0x30a8b6['webSocketUrl'])throw new _0x5f37cd['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'](_0x30a8b6['token'],_0x30a8b6['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0x5bb9cb=>{if(this['connection']=_0x5bb9cb,this['bind']('state')['to'](_0x5bb9cb,'state',this,'_isBrowserOffline',(_0x439696,_0x369781)=>('connected'!==_0x439696&&(this['_shouldPluginsReconnect']=!0x0),_0x369781||_0x439696!==_0x58cc78?_0x298175:this['state']==_0x298175&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),_0x37eee4):_0x58cc78)),this['connection']['on']('error',(_0x2ba8d9,_0x5abe98)=>{if('limitExceeded'!==_0x5abe98['code'])throw console['error'](_0x5abe98),new _0x5f37cd['CKEditorError']('cloudservices-init',null,{'originalError':_0x5abe98});_0x5485cb['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'});}),!_0x5bb9cb['me'])return new Promise(_0xe36377=>_0x5bb9cb['on']('change:me',_0xe36377));})['catch'](_0x16673d=>{throw console['error'](_0x16673d),new _0x5f37cd['CKEditorError']('cloudservices-init',null,{'originalError':_0x16673d});});}['addToReconnectionStack'](_0x27fa43){if('function'!=typeof _0x27fa43['reconnect'])throw new _0x5f37cd['CKEditorError']('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0x27fa43))throw new _0x5f37cd['CKEditorError']('websocketgateway-plugin-already-registered',this,{'name':_0x27fa43['constructor']['pluginName']});this['_reconnectionStack']['add'](_0x27fa43);}['removeFromReconnectionStack'](_0x404eb1){this['_reconnectionStack']['delete'](_0x404eb1);}['isInReconnectionStack'](_0x3769d4){return this['_reconnectionStack']['has'](_0x3769d4);}['_reconnect'](){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x1daabf=>_0x1daabf['reconnect']())))['then'](()=>this['state']=_0x58cc78)['catch'](_0x5c467a=>{throw console['error'](_0x5c467a),new _0x5f37cd['CKEditorError']('cloudservices-reconnection-error',this['context']);});}['disconnect'](){this['connection']&&this['connection']['disconnect'](),this['state']=_0x298175,this['_domEmitter']['stopListening']();}['destroy'](){this['disconnect'](),super['destroy']();}}class _0x59e0d0 extends _0x5f37cd['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,_0x4e0926];}constructor(_0x239c7a){super(_0x239c7a),this['channelSessions']=new Map(),this['channelConnectedUsers']=new Map(),this['allConnectedUsers']=new _0x5f37cd['Collection'](),this['_registeredSessions']=new Map(),this['_uniqueUsersCount']=0x0,this['_users']=this['context']['plugins']['get'](_0x4e0926);}['init'](){const _0x1d4ebd=this['context']['plugins']['get'](WebSocketGateway);this['listenTo'](_0x1d4ebd,'change:state',(_0x140de0,_0x4dee4d,_0x54bfaa)=>{if('connected'!==_0x54bfaa)this['channelSessions']['forEach'](_0x82e504=>_0x82e504['clear']()),this['channelConnectedUsers']['forEach'](_0x34a686=>_0x34a686['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x211c62,_0x175434]of this['_registeredSessions'])for(const _0x3918d0 of _0x175434)this['_handleSessionAdd'](_0x211c62,_0x3918d0);}}),this['_createUser'](_0x1d4ebd['connection']['me'],!0x0);}['register'](_0x405cc2,_0x13b61d){if(this['_registeredSessions']['has'](_0x405cc2))throw new _0x5f37cd['CKEditorError']('sessions-register-already-registered',null,{'channelId':_0x405cc2});this['_registeredSessions']['set'](_0x405cc2,_0x13b61d),this['channelSessions']['set'](_0x405cc2,new _0x5f37cd['Collection']()),this['channelConnectedUsers']['set'](_0x405cc2,new _0x5f37cd['Collection']()),this['listenTo'](_0x13b61d,'add',(_0x21112e,_0x53b8c7)=>this['_handleSessionAdd'](_0x405cc2,_0x53b8c7)),this['listenTo'](_0x13b61d,'remove',(_0x139652,_0x173a08)=>this['_handleSessionRemove'](_0x405cc2,_0x173a08));for(const _0x3aec9e of _0x13b61d)this['_handleSessionAdd'](_0x405cc2,_0x3aec9e);}['unregister'](_0x1964d9){if(!this['_registeredSessions']['has'](_0x1964d9))throw new _0x5f37cd['CKEditorError']('sessions-unregister-not-exist',null,{'channelId':_0x1964d9});const _0xf0207b=this['_registeredSessions']['get'](_0x1964d9);this['stopListening'](_0xf0207b);for(const _0x2dca20 of _0xf0207b)'connected'===this['context']['plugins']['get'](WebSocketGateway)['state']&&this['_handleSessionRemove'](_0x1964d9,_0x2dca20);this['_registeredSessions']['delete'](_0x1964d9),this['channelSessions']['delete'](_0x1964d9),this['channelConnectedUsers']['delete'](_0x1964d9);}get['mySessionId'](){return this['context']['plugins']['get'](WebSocketGateway)['connection']['sessionId'];}['getUserBySessionId'](_0x48c480){for(const _0x27db17 of this['channelSessions']['values']())for(const _0x43be99 of _0x27db17)if(_0x43be99['id']===_0x48c480)return _0x43be99['user'];}['getUserSessions'](_0x1ce518,_0x197210){const _0x52d028=_0x197210?[this['channelSessions']['get'](_0x197210)]:this['channelSessions']['values'](),_0x297705=new Set();for(const _0x2f73c9 of _0x52d028)for(const _0x20bfd4 of _0x2f73c9)_0x20bfd4['user']['id']===_0x1ce518['id']&&_0x297705['add'](_0x20bfd4['id']);return _0x297705;}['getUserRole'](_0x58fc53){for(const _0xc1b8b7 of this['channelSessions']['values']())for(const _0x28de6e of _0xc1b8b7)if(_0x28de6e['user']===_0x58fc53)return _0x28de6e['role'];}['_handleSessionAdd'](_0xe6fc55,_0xf5d65){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0xe05a30=_0xf5d65['user'],_0x205d93=this['_users']['getUser'](_0xe05a30['id'])||this['_createUser'](_0xe05a30),_0x279e3a=Object['assign']({},_0xf5d65,{'user':_0x205d93});if(this['channelSessions']['get'](_0xe6fc55)['add'](_0x279e3a),!_0xe05a30['hiddenInPresenceList']){const _0x2e618d=this['channelConnectedUsers']['get'](_0xe6fc55);_0x2e618d['has'](_0x205d93['id'])||_0x2e618d['add'](_0x205d93),this['allConnectedUsers']['has'](_0x205d93['id'])||_0xe05a30['hiddenInPresenceList']||this['allConnectedUsers']['add'](_0x205d93,_0x205d93['isMe']?0x0:void 0x0);}this['fire']('sessionAdd:'+_0xe6fc55,{'channelId':_0xe6fc55,'session':_0x279e3a});}['_handleSessionRemove'](_0x1f9ea3,_0x3098b1){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x37af5d=this['channelConnectedUsers']['get'](_0x1f9ea3),_0x5fb018=_0x3098b1['user'];_0x5fb018['id']&&(this['channelSessions']['get'](_0x1f9ea3)['remove'](_0x3098b1['id']),_0x37af5d['has'](_0x5fb018['id'])&&!this['getUserSessions'](_0x5fb018,_0x1f9ea3)['size']&&_0x37af5d['remove'](_0x5fb018['id']),this['allConnectedUsers']['get'](_0x5fb018['id'])&&!this['getUserSessions'](_0x5fb018)['size']&&this['allConnectedUsers']['remove'](_0x5fb018['id']));}['_createUser'](_0x223a20,_0x5e7ca5){const _0x5490ef=this['_users']['addUser'](_0x223a20);return _0x5e7ca5&&this['_users']['defineMe'](_0x223a20['id']),_0x5490ef['orderNumber']=this['_uniqueUsersCount']++,_0x5490ef;}}class _0x5dc1ed extends _0x5f37cd['Plugin']{['_domEmitter']=new(_0x5f37cd['DomEmitterMixin']())();static get['requires'](){return[_0x59e0d0];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4fb4db=this['editor'],_0x567fbc=_0x4fb4db['plugins']['get'](_0x59e0d0);_0x4fb4db['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x5e856d,{writer:_0x43b176})=>function(_0x35d31c,_0x46d0b8,_0x13bbcc,_0x2ea350){const _0x5e2a39=_0x35d31c['markerName']['split'](':')[0x2],_0x331fcb=_0x13bbcc['getUserBySessionId'](_0x5e2a39);if(!_0x331fcb||_0x5e2a39===_0x13bbcc['mySessionId'])return;if(!_0x2ea350['model']['schema']['checkChild'](_0x35d31c['markerRange']['start'],'$text'))return;const _0x4bf945={'class':'ck-user__marker\x20'+_0x331fcb['color']['getMarkerClass'](),'style':_0xe6cbd0(_0x331fcb),'data-name':_0x331fcb['name'],'data-session-id':_0x5e2a39},_0x3f96d9=_0x2ea350['model']['markers']['get'](_0x35d31c['markerName']),_0x5bb5e2=_0x3f96d9['getStart'](),_0x3ccc9c=_0x5bb5e2['nodeAfter'],_0x4d1f9f=_0x2ea350['model']['schema'];if(_0x3ccc9c&&_0x4d1f9f['isObject'](_0x3ccc9c)&&_0x4d1f9f['isInline'](_0x3ccc9c)&&!_0x2ea350['model']['markers']['get']('user:range:'+_0x5e2a39)['getRange']()['isCollapsed'])return;const _0x480c68=_0x5bb5e2['parent'];return _0x2ea350['model']['schema']['isLimit'](_0x480c68)&&!_0x2ea350['model']['hasContent'](_0x480c68)&&(_0x4bf945['contenteditable']=!0x1),function(_0x879682,_0x58ddc8,_0x1adcaa){const _0x1b376b=_0x879682['createUIElement']('span',_0x58ddc8);return _0x879682['setCustomProperty']('userPositionMarker',!0x0,_0x1b376b),_0x1b376b['render']=function(_0x29b59c){const _0x57a44c=this['toDomElement'](_0x29b59c),_0x50b1c8=document['createElement']('span');return _0x50b1c8['classList']['add']('ck-user__marker-tooltip'),_0x50b1c8['setAttribute']('contenteditable','false'),_0x50b1c8['setAttribute']('spellcheck','false'),_0x50b1c8['textContent']=_0x1adcaa['name'],_0x57a44c['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0x50b1c8['outerHTML']+'⁠',_0x57a44c['addEventListener']('mouseenter',()=>{_0x57a44c['classList']['add']('ck-user__marker_hovered');}),_0x57a44c['addEventListener']('mouseleave',()=>{_0x57a44c['classList']['remove']('ck-user__marker_hovered');}),_0x57a44c;},_0x1b376b['isSimilar']=function(_0x5d97d9){return!(!this['getCustomProperty']('userPositionMarker')||!_0x5d97d9['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0x5d97d9['getAttribute']('data-session-id'));},_0x1b376b;}(_0x46d0b8,_0x4bf945,_0x331fcb);}(_0x5e856d,_0x43b176,_0x567fbc,_0x4fb4db)}),_0x4fb4db['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0x8049ee=>function(_0x16874c,_0x8a6f6a){const _0x2e5c6a=_0x16874c['markerName']['split'](':')[0x2];if(_0x2e5c6a===_0x8a6f6a['mySessionId'])return null;const _0x5065ad=_0x8a6f6a['getUserBySessionId'](_0x2e5c6a);if(!_0x5065ad)return{'id':_0x2e5c6a,'classes':[]};return{'id':_0x2e5c6a,'classes':['ck-user__selection',_0x5065ad['color']['getSelectionClass']()],'attributes':{'style':_0xe6cbd0(_0x5065ad),'data-session-id':_0x2e5c6a},'priority':0x7d0+_0x5065ad['orderNumber']};}(_0x8049ee,_0x567fbc)}),function(_0x2b1855){const _0x4b0ee6=_0x2b1855['model'],_0x4dbf65=new Map(),_0x44fd31=_0x2b1855['plugins']['get'](_0x59e0d0);_0x4b0ee6['markers']['on']('update:user:range',(_0xb4e58c,_0x22baf2,_0x3e01e7,_0x51b52b)=>{if(!_0x51b52b&&_0x4dbf65['get'](_0x22baf2['name']))return _0x4dbf65['get'](_0x22baf2['name'])['detach'](),void _0x4dbf65['delete'](_0x22baf2['name']);const _0x4528ab=_0x22baf2['name']['split'](':')[0x2];if(_0x4528ab===_0x44fd31['mySessionId'])return;const _0x2fcb0f='user:position:'+_0x4528ab;_0x4b0ee6['markers']['has'](_0x2fcb0f)&&_0x2b1855['editing']['reconvertMarker'](_0x2fcb0f),_0x22baf2['on']('change:range',(_0x5c6c8a,_0x26eb09,_0x58ca46)=>{if('$graveyard'!=_0x26eb09['root']['rootName']&&'$graveyard'==_0x22baf2['getRange']()['root']['rootName']&&!_0x4dbf65['has'](_0x22baf2['name'])){const _0x1856a3=_0x4b0ee6['schema']['getNearestSelectionRange'](_0x58ca46['deletionPosition']);if(_0x1856a3){const _0xbe8627=_0x5f37cd['ModelLiveRange']['fromRange'](_0x1856a3);_0x4dbf65['set'](_0x22baf2['name'],_0xbe8627),_0xbe8627['on']('change:range',(_0x28b033,_0x1fdc61,_0x3ca61f)=>{if('$graveyard'==_0xbe8627['root']['rootName']){const _0x207765=_0x4b0ee6['schema']['getNearestSelectionRange'](_0x3ca61f['deletionPosition']);_0x207765?(_0xbe8627['start']=_0x207765['start'],_0xbe8627['end']=_0x207765['end']):(_0x4dbf65['delete'](_0x22baf2['name']),_0xbe8627['detach']());}});}}});}),_0x4b0ee6['document']['on']('change',()=>{_0x4dbf65['size']>0x0&&_0x4b0ee6['enqueueChange']({'isUndoable':!0x1},_0x13ccf4=>{for(const [_0x3c0b81,_0x85c36b]of _0x4dbf65)'$graveyard'==_0x4b0ee6['markers']['get'](_0x3c0b81)['getRange']()['root']['rootName']&&(_0x1a9c0f(_0x3c0b81['split'](':')[0x2],_0x85c36b['toRange'](),_0x4b0ee6,_0x13ccf4),_0x85c36b['detach']());_0x4dbf65['clear']();});});}(_0x4fb4db),this['_domEmitter']['listenTo'](_0x5f37cd['global']['document'],'keydown',(_0x3ab367,{key:_0x430fa2})=>{'Escape'===_0x430fa2&&function(_0x5899ab){_0x5899ab['editing']['view']['change'](_0x4008d5=>{for(const _0x3505a5 of _0x5899ab['model']['markers']){if(!_0x3505a5['name']['startsWith']('user:position'))continue;const _0x458de7=_0x5899ab['editing']['mapper']['markerNameToElements'](_0x3505a5['name']);if(_0x458de7){for(const _0x389ba3 of _0x458de7)_0x4008d5['removeClass']('ck-user__marker_hovered',_0x389ba3);}}});}(_0x4fb4db);},{'useCapture':!0x0});}['afterInit'](){const _0x389ab6=this['editor'],_0x4075ea=_0x389ab6['commands']['get']('undo');_0x4075ea&&_0x389ab6['model']['on']('applyOperation',(_0x2af888,_0x43f376)=>{const _0x36a42b=_0x43f376[0x0];if(!_0x36a42b['isDocumentOperation'])return;if('marker'!=_0x36a42b['type']||!_0x36a42b['name']['startsWith']('user:'))return;const _0x2dbe48=_0x36a42b['batch'];_0x4075ea['_createdBatches']['has'](_0x2dbe48)&&(_0x36a42b['newRange']=_0x36a42b['oldRange']?_0x389ab6['model']['createRange'](_0x36a42b['oldRange']['start'],_0x36a42b['oldRange']['end']):null);},{'priority':'highest'});}['destroy'](){return this['_domEmitter']['stopListening'](),super['destroy']();}['createUserMarkerOperations'](){const _0x53ab18=this['editor'],_0x3a0d67=_0x53ab18['model']['document'],_0x157cec=_0x53ab18['plugins']['get'](_0x59e0d0);_0x53ab18['model']['enqueueChange']({'isUndoable':!0x1},_0xedeade=>{const _0x22b223='user:range:'+_0x157cec['mySessionId'],_0x2d513e='user:position:'+_0x157cec['mySessionId'],_0x4aa245=_0x53ab18['model']['markers']['has'](_0x22b223);_0x53ab18['editing']['view']['hasDomSelection']?_0x1a9c0f(_0x157cec['mySessionId'],_0x3a0d67['selection']['getFirstRange'](),_0x53ab18['model'],_0xedeade):_0x4aa245&&(_0xedeade['removeMarker'](_0x22b223),_0xedeade['removeMarker'](_0x2d513e));});}}function _0x1a9c0f(_0x3369a4,_0x544491,_0x18ee0b,_0x5a9d48){const _0x1e8c2a='user:range:'+_0x3369a4,_0x3dc4b4='user:position:'+_0x3369a4,_0x3a0bf2=_0x544491['getContainedElement']();let _0x12c310=_0x544491['start'];if(_0x3a0bf2&&_0x3a0bf2['is']('element','tableCell')){const _0x21bffd=function(_0xfd1242,_0xfebd35){for(const _0x39ce31 of _0xfd1242['getPositions']())if(_0xfebd35['schema']['checkChild'](_0x39ce31,'$text'))return _0x39ce31;}(_0x544491,_0x18ee0b);_0x21bffd&&(_0x12c310=_0x21bffd,_0x544491=_0x5a9d48['createRange'](_0x12c310));}const _0x54c917=_0x5a9d48['createRange'](_0x12c310);_0x18ee0b['markers']['has'](_0x1e8c2a)?(_0x5a9d48['updateMarker'](_0x1e8c2a,{'range':_0x544491}),_0x5a9d48['updateMarker'](_0x3dc4b4,{'range':_0x54c917})):(_0x5a9d48['addMarker'](_0x1e8c2a,{'range':_0x544491,'usingOperation':!0x0}),_0x5a9d48['addMarker'](_0x3dc4b4,{'range':_0x54c917,'usingOperation':!0x0}));}function _0xe6cbd0(_0x3fce34){return'--ck-user-color:'+_0x3fce34['color']['getColorVariable']()+';--ck-user-color-alpha:'+_0x3fce34['color']['getColorAlphaVariable']()+';';}function _0x299820(_0x5befdd,_0x16d16a,_0x22d126){const _0x37019c=_0x5befdd['t'],t=_0x5befdd['t'];switch(_0x16d16a){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 _0x37019c({'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'},_0x22d126);default:return'';}}const _0x42beff=/* #__PURE__ -- @preserve */
((()=>{var _0x133053=_0x56243c['Reader'],_0x28c300=_0x56243c['Writer'],_0x113724=_0x56243c['util'],_0x45dc37=_0x56243c['roots']['default']||(_0x56243c['roots']['default']={});return _0x45dc37['AttributeOperation']=(function(){function _0x4654be(_0x468ceb){if(_0x468ceb){for(var _0x4ec5d=Object['keys'](_0x468ceb),_0x3d6c67=0x0;_0x3d6c67<_0x4ec5d['length'];++_0x3d6c67)null!=_0x468ceb[_0x4ec5d[_0x3d6c67]]&&'__proto__'!==_0x4ec5d[_0x3d6c67]&&(this[_0x4ec5d[_0x3d6c67]]=_0x468ceb[_0x4ec5d[_0x3d6c67]]);}}return _0x4654be['prototype']['range']=null,_0x4654be['prototype']['key']='',_0x4654be['prototype']['oldValueBoolean']=!0x1,_0x4654be['prototype']['oldValueJson']='',_0x4654be['prototype']['newValueBoolean']=!0x1,_0x4654be['prototype']['newValueJson']='',_0x4654be['prototype']['wasUndone']=!0x1,_0x4654be['create']=function(_0x3c03f4){return new _0x4654be(_0x3c03f4);},_0x4654be['encode']=function(_0x3c91fb,_0xe974f6){return _0xe974f6||(_0xe974f6=_0x28c300['create']()),null!=_0x3c91fb['range']&&Object['hasOwnProperty']['call'](_0x3c91fb,'range')&&_0x45dc37['Range']['encode'](_0x3c91fb['range'],_0xe974f6['uint32'](0xa)['fork']())['ldelim'](),null!=_0x3c91fb['key']&&Object['hasOwnProperty']['call'](_0x3c91fb,'key')&&_0xe974f6['uint32'](0x12)['string'](_0x3c91fb['key']),null!=_0x3c91fb['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x3c91fb,'oldValueBoolean')&&_0xe974f6['uint32'](0x18)['bool'](_0x3c91fb['oldValueBoolean']),null!=_0x3c91fb['oldValueJson']&&Object['hasOwnProperty']['call'](_0x3c91fb,'oldValueJson')&&_0xe974f6['uint32'](0x22)['string'](_0x3c91fb['oldValueJson']),null!=_0x3c91fb['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x3c91fb,'newValueBoolean')&&_0xe974f6['uint32'](0x28)['bool'](_0x3c91fb['newValueBoolean']),null!=_0x3c91fb['newValueJson']&&Object['hasOwnProperty']['call'](_0x3c91fb,'newValueJson')&&_0xe974f6['uint32'](0x32)['string'](_0x3c91fb['newValueJson']),null!=_0x3c91fb['wasUndone']&&Object['hasOwnProperty']['call'](_0x3c91fb,'wasUndone')&&_0xe974f6['uint32'](0x38)['bool'](_0x3c91fb['wasUndone']),_0xe974f6;},_0x4654be['encodeDelimited']=function(_0x4896d5,_0x12da82){return this['encode'](_0x4896d5,_0x12da82)['ldelim']();},_0x4654be['decode']=function(_0x3d07f9,_0xc506a0,_0x36536a,_0x587086){if(_0x3d07f9 instanceof _0x133053||(_0x3d07f9=_0x133053['create'](_0x3d07f9)),void 0x0===_0x587086&&(_0x587086=0x0),_0x587086>_0x133053['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2d62b3=void 0x0===_0xc506a0?_0x3d07f9['len']:_0x3d07f9['pos']+_0xc506a0,_0x2fed93=new _0x45dc37['AttributeOperation']();_0x3d07f9['pos']<_0x2d62b3;){var _0x57588d=_0x3d07f9['uint32']();if(_0x57588d===_0x36536a)break;switch(_0x57588d>>>0x3){case 0x1:_0x2fed93['range']=_0x45dc37['Range']['decode'](_0x3d07f9,_0x3d07f9['uint32'](),void 0x0,_0x587086+0x1);break;case 0x2:_0x2fed93['key']=_0x3d07f9['string']();break;case 0x3:_0x2fed93['oldValueBoolean']=_0x3d07f9['bool']();break;case 0x4:_0x2fed93['oldValueJson']=_0x3d07f9['string']();break;case 0x5:_0x2fed93['newValueBoolean']=_0x3d07f9['bool']();break;case 0x6:_0x2fed93['newValueJson']=_0x3d07f9['string']();break;case 0x7:_0x2fed93['wasUndone']=_0x3d07f9['bool']();break;default:_0x3d07f9['skipType'](0x7&_0x57588d,_0x587086);}}return _0x2fed93;},_0x4654be['decodeDelimited']=function(_0x50c3b5){return _0x50c3b5 instanceof _0x133053||(_0x50c3b5=new _0x133053(_0x50c3b5)),this['decode'](_0x50c3b5,_0x50c3b5['uint32']());},_0x4654be['verify']=function(_0x8420c3,_0x123307){if('object'!=typeof _0x8420c3||null===_0x8420c3)return'object\x20expected';if(void 0x0===_0x123307&&(_0x123307=0x0),_0x123307>_0x113724['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x8420c3['range']&&_0x8420c3['hasOwnProperty']('range')){var _0x375a38=_0x45dc37['Range']['verify'](_0x8420c3['range'],_0x123307+0x1);if(_0x375a38)return'range.'+_0x375a38;}return null!=_0x8420c3['key']&&_0x8420c3['hasOwnProperty']('key')&&!_0x113724['isString'](_0x8420c3['key'])?'key:\x20string\x20expected':null!=_0x8420c3['oldValueBoolean']&&_0x8420c3['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x8420c3['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x8420c3['oldValueJson']&&_0x8420c3['hasOwnProperty']('oldValueJson')&&!_0x113724['isString'](_0x8420c3['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x8420c3['newValueBoolean']&&_0x8420c3['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x8420c3['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x8420c3['newValueJson']&&_0x8420c3['hasOwnProperty']('newValueJson')&&!_0x113724['isString'](_0x8420c3['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x8420c3['wasUndone']&&_0x8420c3['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x8420c3['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x4654be['fromObject']=function(_0x2766e2,_0x293946){if(_0x2766e2 instanceof _0x45dc37['AttributeOperation'])return _0x2766e2;if(void 0x0===_0x293946&&(_0x293946=0x0),_0x293946>_0x113724['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x500e93=new _0x45dc37['AttributeOperation']();if(null!=_0x2766e2['range']){if('object'!=typeof _0x2766e2['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x500e93['range']=_0x45dc37['Range']['fromObject'](_0x2766e2['range'],_0x293946+0x1);}return null!=_0x2766e2['key']&&(_0x500e93['key']=String(_0x2766e2['key'])),null!=_0x2766e2['oldValueBoolean']&&(_0x500e93['oldValueBoolean']=Boolean(_0x2766e2['oldValueBoolean'])),null!=_0x2766e2['oldValueJson']&&(_0x500e93['oldValueJson']=String(_0x2766e2['oldValueJson'])),null!=_0x2766e2['newValueBoolean']&&(_0x500e93['newValueBoolean']=Boolean(_0x2766e2['newValueBoolean'])),null!=_0x2766e2['newValueJson']&&(_0x500e93['newValueJson']=String(_0x2766e2['newValueJson'])),null!=_0x2766e2['wasUndone']&&(_0x500e93['wasUndone']=Boolean(_0x2766e2['wasUndone'])),_0x500e93;},_0x4654be['toObject']=function(_0x702f60,_0x113a5f){_0x113a5f||(_0x113a5f={});var _0x728e22={};return _0x113a5f['defaults']&&(_0x728e22['range']=null,_0x728e22['key']='',_0x728e22['oldValueBoolean']=!0x1,_0x728e22['oldValueJson']='',_0x728e22['newValueBoolean']=!0x1,_0x728e22['newValueJson']='',_0x728e22['wasUndone']=!0x1),null!=_0x702f60['range']&&_0x702f60['hasOwnProperty']('range')&&(_0x728e22['range']=_0x45dc37['Range']['toObject'](_0x702f60['range'],_0x113a5f)),null!=_0x702f60['key']&&_0x702f60['hasOwnProperty']('key')&&(_0x728e22['key']=_0x702f60['key']),null!=_0x702f60['oldValueBoolean']&&_0x702f60['hasOwnProperty']('oldValueBoolean')&&(_0x728e22['oldValueBoolean']=_0x702f60['oldValueBoolean']),null!=_0x702f60['oldValueJson']&&_0x702f60['hasOwnProperty']('oldValueJson')&&(_0x728e22['oldValueJson']=_0x702f60['oldValueJson']),null!=_0x702f60['newValueBoolean']&&_0x702f60['hasOwnProperty']('newValueBoolean')&&(_0x728e22['newValueBoolean']=_0x702f60['newValueBoolean']),null!=_0x702f60['newValueJson']&&_0x702f60['hasOwnProperty']('newValueJson')&&(_0x728e22['newValueJson']=_0x702f60['newValueJson']),null!=_0x702f60['wasUndone']&&_0x702f60['hasOwnProperty']('wasUndone')&&(_0x728e22['wasUndone']=_0x702f60['wasUndone']),_0x728e22;},_0x4654be['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x4654be['getTypeUrl']=function(_0x59310c){return void 0x0===_0x59310c&&(_0x59310c='type.googleapis.com'),_0x59310c+'/AttributeOperation';},_0x4654be;}()),_0x45dc37['InsertOperation']=(function(){function _0x2c764b(_0x3267a5){if(this['nodes']=[],_0x3267a5){for(var _0x43077f=Object['keys'](_0x3267a5),_0x371788=0x0;_0x371788<_0x43077f['length'];++_0x371788)null!=_0x3267a5[_0x43077f[_0x371788]]&&'__proto__'!==_0x43077f[_0x371788]&&(this[_0x43077f[_0x371788]]=_0x3267a5[_0x43077f[_0x371788]]);}}return _0x2c764b['prototype']['position']=null,_0x2c764b['prototype']['nodes']=_0x113724['emptyArray'],_0x2c764b['prototype']['shouldReceiveAttributes']=!0x1,_0x2c764b['prototype']['wasUndone']=!0x1,_0x2c764b['create']=function(_0x493e39){return new _0x2c764b(_0x493e39);},_0x2c764b['encode']=function(_0x51fa2b,_0x399e54){if(_0x399e54||(_0x399e54=_0x28c300['create']()),null!=_0x51fa2b['position']&&Object['hasOwnProperty']['call'](_0x51fa2b,'position')&&_0x45dc37['Position']['encode'](_0x51fa2b['position'],_0x399e54['uint32'](0xa)['fork']())['ldelim'](),null!=_0x51fa2b['nodes']&&_0x51fa2b['nodes']['length']){for(var _0x2f536f=0x0;_0x2f536f<_0x51fa2b['nodes']['length'];++_0x2f536f)_0x45dc37['Element']['encode'](_0x51fa2b['nodes'][_0x2f536f],_0x399e54['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x51fa2b['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x51fa2b,'shouldReceiveAttributes')&&_0x399e54['uint32'](0x18)['bool'](_0x51fa2b['shouldReceiveAttributes']),null!=_0x51fa2b['wasUndone']&&Object['hasOwnProperty']['call'](_0x51fa2b,'wasUndone')&&_0x399e54['uint32'](0x20)['bool'](_0x51fa2b['wasUndone']),_0x399e54;},_0x2c764b['encodeDelimited']=function(_0x1c238b,_0x500252){return this['encode'](_0x1c238b,_0x500252)['ldelim']();},_0x2c764b['decode']=function(_0x243762,_0x5f408c,_0x310e30,_0x4c60af){if(_0x243762 instanceof _0x133053||(_0x243762=_0x133053['create'](_0x243762)),void 0x0===_0x4c60af&&(_0x4c60af=0x0),_0x4c60af>_0x133053['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x389c34=void 0x0===_0x5f408c?_0x243762['len']:_0x243762['pos']+_0x5f408c,_0x33721a=new _0x45dc37['InsertOperation']();_0x243762['pos']<_0x389c34;){var _0x348766=_0x243762['uint32']();if(_0x348766===_0x310e30)break;switch(_0x348766>>>0x3){case 0x1:_0x33721a['position']=_0x45dc37['Position']['decode'](_0x243762,_0x243762['uint32'](),void 0x0,_0x4c60af+0x1);break;case 0x2:_0x33721a['nodes']&&_0x33721a['nodes']['length']||(_0x33721a['nodes']=[]),_0x33721a['nodes']['push'](_0x45dc37['Element']['decode'](_0x243762,_0x243762['uint32'](),void 0x0,_0x4c60af+0x1));break;case 0x3:_0x33721a['shouldReceiveAttributes']=_0x243762['bool']();break;case 0x4:_0x33721a['wasUndone']=_0x243762['bool']();break;default:_0x243762['skipType'](0x7&_0x348766,_0x4c60af);}}return _0x33721a;},_0x2c764b['decodeDelimited']=function(_0x520a9a){return _0x520a9a instanceof _0x133053||(_0x520a9a=new _0x133053(_0x520a9a)),this['decode'](_0x520a9a,_0x520a9a['uint32']());},_0x2c764b['verify']=function(_0x3f3b01,_0x1c660b){if('object'!=typeof _0x3f3b01||null===_0x3f3b01)return'object\x20expected';if(void 0x0===_0x1c660b&&(_0x1c660b=0x0),_0x1c660b>_0x113724['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3f3b01['position']&&_0x3f3b01['hasOwnProperty']('position')&&(_0x45d306=_0x45dc37['Position']['verify'](_0x3f3b01['position'],_0x1c660b+0x1)))return'position.'+_0x45d306;if(null!=_0x3f3b01['nodes']&&_0x3f3b01['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x3f3b01['nodes']))return'nodes:\x20array\x20expected';for(var _0x2b93ce=0x0;_0x2b93ce<_0x3f3b01['nodes']['length'];++_0x2b93ce){var _0x45d306;if(_0x45d306=_0x45dc37['Element']['verify'](_0x3f3b01['nodes'][_0x2b93ce],_0x1c660b+0x1))return'nodes.'+_0x45d306;}}return null!=_0x3f3b01['shouldReceiveAttributes']&&_0x3f3b01['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x3f3b01['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x3f3b01['wasUndone']&&_0x3f3b01['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3f3b01['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2c764b['fromObject']=function(_0x1cf0ca,_0x33941){if(_0x1cf0ca instanceof _0x45dc37['InsertOperation'])return _0x1cf0ca;if(void 0x0===_0x33941&&(_0x33941=0x0),_0x33941>_0x113724['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xeed409=new _0x45dc37['InsertOperation']();if(null!=_0x1cf0ca['position']){if('object'!=typeof _0x1cf0ca['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0xeed409['position']=_0x45dc37['Position']['fromObject'](_0x1cf0ca['position'],_0x33941+0x1);}if(_0x1cf0ca['nodes']){if(!Array['isArray'](_0x1cf0ca['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0xeed409['nodes']=[];for(var _0x91ad68=0x0;_0x91ad68<_0x1cf0ca['nodes']['length'];++_0x91ad68){if('object'!=typeof _0x1cf0ca['nodes'][_0x91ad68])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0xeed409['nodes'][_0x91ad68]=_0x45dc37['Element']['fromObject'](_0x1cf0ca['nodes'][_0x91ad68],_0x33941+0x1);}}return null!=_0x1cf0ca['shouldReceiveAttributes']&&(_0xeed409['shouldReceiveAttributes']=Boolean(_0x1cf0ca['shouldReceiveAttributes'])),null!=_0x1cf0ca['wasUndone']&&(_0xeed409['wasUndone']=Boolean(_0x1cf0ca['wasUndone'])),_0xeed409;},_0x2c764b['toObject']=function(_0x5b26ba,_0x203443){_0x203443||(_0x203443={});var _0x5c0613={};if((_0x203443['arrays']||_0x203443['defaults'])&&(_0x5c0613['nodes']=[]),_0x203443['defaults']&&(_0x5c0613['position']=null,_0x5c0613['shouldReceiveAttributes']=!0x1,_0x5c0613['wasUndone']=!0x1),null!=_0x5b26ba['position']&&_0x5b26ba['hasOwnProperty']('position')&&(_0x5c0613['position']=_0x45dc37['Position']['toObject'](_0x5b26ba['position'],_0x203443)),_0x5b26ba['nodes']&&_0x5b26ba['nodes']['length']){_0x5c0613['nodes']=[];for(var _0x50fcad=0x0;_0x50fcad<_0x5b26ba['nodes']['length'];++_0x50fcad)_0x5c0613['nodes'][_0x50fcad]=_0x45dc37['Element']['toObject'](_0x5b26ba['nodes'][_0x50fcad],_0x203443);}return null!=_0x5b26ba['shouldReceiveAttributes']&&_0x5b26ba['hasOwnProperty']('shouldReceiveAttributes')&&(_0x5c0613['shouldReceiveAttributes']=_0x5b26ba['shouldReceiveAttributes']),null!=_0x5b26ba['wasUndone']&&_0x5b26ba['hasOwnProperty']('wasUndone')&&(_0x5c0613['wasUndone']=_0x5b26ba['wasUndone']),_0x5c0613;},_0x2c764b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x2c764b['getTypeUrl']=function(_0x117e5b){return void 0x0===_0x117e5b&&(_0x117e5b='type.googleapis.com'),_0x117e5b+'/InsertOperation';},_0x2c764b;}()),_0x45dc37['MarkerOperation']=(function(){function _0x191b90(_0x402216){if(_0x402216){for(var _0x295a51=Object['keys'](_0x402216),_0x7f45ce=0x0;_0x7f45ce<_0x295a51['length'];++_0x7f45ce)null!=_0x402216[_0x295a51[_0x7f45ce]]&&'__proto__'!==_0x295a51[_0x7f45ce]&&(this[_0x295a51[_0x7f45ce]]=_0x402216[_0x295a51[_0x7f45ce]]);}}return _0x191b90['prototype']['name']='',_0x191b90['prototype']['oldRange']=null,_0x191b90['prototype']['newRange']=null,_0x191b90['prototype']['affectsData']=!0x1,_0x191b90['prototype']['wasUndone']=!0x1,_0x191b90['create']=function(_0x3f2a5c){return new _0x191b90(_0x3f2a5c);},_0x191b90['encode']=function(_0x21f7b1,_0x2ceadc){return _0x2ceadc||(_0x2ceadc=_0x28c300['create']()),null!=_0x21f7b1['name']&&Object['hasOwnProperty']['call'](_0x21f7b1,'name')&&_0x2ceadc['uint32'](0xa)['string'](_0x21f7b1['name']),null!=_0x21f7b1['oldRange']&&Object['hasOwnProperty']['call'](_0x21f7b1,'oldRange')&&_0x45dc37['Range']['encode'](_0x21f7b1['oldRange'],_0x2ceadc['uint32'](0x12)['fork']())['ldelim'](),null!=_0x21f7b1['newRange']&&Object['hasOwnProperty']['call'](_0x21f7b1,'newRange')&&_0x45dc37['Range']['encode'](_0x21f7b1['newRange'],_0x2ceadc['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x21f7b1['affectsData']&&Object['hasOwnProperty']['call'](_0x21f7b1,'affectsData')&&_0x2ceadc['uint32'](0x20)['bool'](_0x21f7b1['affectsData']),null!=_0x21f7b1['wasUndone']&&Object['hasOwnProperty']['call'](_0x21f7b1,'wasUndone')&&_0x2ceadc['uint32'](0x28)['bool'](_0x21f7b1['wasUndone']),_0x2ceadc;},_0x191b90['encodeDelimited']=function(_0x3dd0d0,_0x427464){return this['encode'](_0x3dd0d0,_0x427464)['ldelim']();},_0x191b90['decode']=function(_0x3be5f8,_0x1a9605,_0x1e12af,_0x5bf005){if(_0x3be5f8 instanceof _0x133053||(_0x3be5f8=_0x133053['create'](_0x3be5f8)),void 0x0===_0x5bf005&&(_0x5bf005=0x0),_0x5bf005>_0x133053['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2a297f=void 0x0===_0x1a9605?_0x3be5f8['len']:_0x3be5f8['pos']+_0x1a9605,_0x2dffcd=new _0x45dc37['MarkerOperation']();_0x3be5f8['pos']<_0x2a297f;){var _0x5dbfdb=_0x3be5f8['uint32']();if(_0x5dbfdb===_0x1e12af)break;switch(_0x5dbfdb>>>0x3){case 0x1:_0x2dffcd['name']=_0x3be5f8['string']();break;case 0x2:_0x2dffcd['oldRange']=_0x45dc37['Range']['decode'](_0x3be5f8,_0x3be5f8['uint32'](),void 0x0,_0x5bf005+0x1);break;case 0x3:_0x2dffcd['newRange']=_0x45dc37['Range']['decode'](_0x3be5f8,_0x3be5f8['uint32'](),void 0x0,_0x5bf005+0x1);break;case 0x4:_0x2dffcd['affectsData']=_0x3be5f8['bool']();break;case 0x5:_0x2dffcd['wasUndone']=_0x3be5f8['bool']();break;default:_0x3be5f8['skipType'](0x7&_0x5dbfdb,_0x5bf005);}}return _0x2dffcd;},_0x191b90['decodeDelimited']=function(_0x1ea7a7){return _0x1ea7a7 instanceof _0x133053||(_0x1ea7a7=new _0x133053(_0x1ea7a7)),this['decode'](_0x1ea7a7,_0x1ea7a7['uint32']());},_0x191b90['verify']=function(_0x2ac989,_0x48888c){if('object'!=typeof _0x2ac989||null===_0x2ac989)return'object\x20expected';if(void 0x0===_0x48888c&&(_0x48888c=0x0),_0x48888c>_0x113724['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2ac989['name']&&_0x2ac989['hasOwnProperty']('name')&&!_0x113724['isString'](_0x2ac989['name']))return'name:\x20string\x20expected';var _0x3c4135;if(null!=_0x2ac989['oldRange']&&_0x2ac989['hasOwnProperty']('oldRange')&&(_0x3c4135=_0x45dc37['Range']['verify'](_0x2ac989['oldRange'],_0x48888c+0x1)))return'oldRange.'+_0x3c4135;if(null!=_0x2ac989['newRange']&&_0x2ac989['hasOwnProperty']('newRange')&&(_0x3c4135=_0x45dc37['Range']['verify'](_0x2ac989['newRange'],_0x48888c+0x1)))return'newRange.'+_0x3c4135;return null!=_0x2ac989['affectsData']&&_0x2ac989['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x2ac989['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x2ac989['wasUndone']&&_0x2ac989['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2ac989['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x191b90['fromObject']=function(_0x54c438,_0x4c0c64){if(_0x54c438 instanceof _0x45dc37['MarkerOperation'])return _0x54c438;if(void 0x0===_0x4c0c64&&(_0x4c0c64=0x0),_0x4c0c64>_0x113724['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2bd574=new _0x45dc37['MarkerOperation']();if(null!=_0x54c438['name']&&(_0x2bd574['name']=String(_0x54c438['name'])),null!=_0x54c438['oldRange']){if('object'!=typeof _0x54c438['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x2bd574['oldRange']=_0x45dc37['Range']['fromObject'](_0x54c438['oldRange'],_0x4c0c64+0x1);}if(null!=_0x54c438['newRange']){if('object'!=typeof _0x54c438['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x2bd574['newRange']=_0x45dc37['Range']['fromObject'](_0x54c438['newRange'],_0x4c0c64+0x1);}return null!=_0x54c438['affectsData']&&(_0x2bd574['affectsData']=Boolean(_0x54c438['affectsData'])),null!=_0x54c438['wasUndone']&&(_0x2bd574['wasUndone']=Boolean(_0x54c438['wasUndone'])),_0x2bd574;},_0x191b90['toObject']=function(_0x1ce85b,_0x3483c6){_0x3483c6||(_0x3483c6={});var _0xaef744={};return _0x3483c6['defaults']&&(_0xaef744['name']='',_0xaef744['oldRange']=null,_0xaef744['newRange']=null,_0xaef744['affectsData']=!0x1,_0xaef744['wasUndone']=!0x1),null!=_0x1ce85b['name']&&_0x1ce85b['hasOwnProperty']('name')&&(_0xaef744['name']=_0x1ce85b['name']),null!=_0x1ce85b['oldRange']&&_0x1ce85b['hasOwnProperty']('oldRange')&&(_0xaef744['oldRange']=_0x45dc37['Range']['toObject'](_0x1ce85b['oldRange'],_0x3483c6)),null!=_0x1ce85b['newRange']&&_0x1ce85b['hasOwnProperty']('newRange')&&(_0xaef744['newRange']=_0x45dc37['Range']['toObject'](_0x1ce85b['newRange'],_0x3483c6)),null!=_0x1ce85b['affectsData']&&_0x1ce85b['hasOwnProperty']('affectsData')&&(_0xaef744['affectsData']=_0x1ce85b['affectsData']),null!=_0x1ce85b['wasUndone']&&_0x1ce85b['hasOwnProperty']('wasUndone')&&(_0xaef744['wasUndone']=_0x1ce85b['wasUndone']),_0xaef744;},_0x191b90['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x191b90['getTypeUrl']=function(_0x119f42){return void 0x0===_0x119f42&&(_0x119f42='type.googleapis.com'),_0x119f42+'/MarkerOperation';},_0x191b90;}()),_0x45dc37['MergeOperation']=(function(){function _0x2e805c(_0x5e31fa){if(_0x5e31fa){for(var _0x4f742e=Object['keys'](_0x5e31fa),_0x3afeed=0x0;_0x3afeed<_0x4f742e['length'];++_0x3afeed)null!=_0x5e31fa[_0x4f742e[_0x3afeed]]&&'__proto__'!==_0x4f742e[_0x3afeed]&&(this[_0x4f742e[_0x3afeed]]=_0x5e31fa[_0x4f742e[_0x3afeed]]);}}return _0x2e805c['prototype']['sourcePosition']=null,_0x2e805c['prototype']['targetPosition']=null,_0x2e805c['prototype']['graveyardPosition']=null,_0x2e805c['prototype']['howMany']=0x0,_0x2e805c['prototype']['wasUndone']=!0x1,_0x2e805c['create']=function(_0x5a43c2){return new _0x2e805c(_0x5a43c2);},_0x2e805c['encode']=function(_0x1fca88,_0x1c9ead){return _0x1c9ead||(_0x1c9ead=_0x28c300['create']()),null!=_0x1fca88['sourcePosition']&&Object['hasOwnProperty']['call'](_0x1fca88,'sourcePosition')&&_0x45dc37['Position']['encode'](_0x1fca88['sourcePosition'],_0x1c9ead['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1fca88['targetPosition']&&Object['hasOwnProperty']['call'](_0x1fca88,'targetPosition')&&_0x45dc37['Position']['encode'](_0x1fca88['targetPosition'],_0x1c9ead['uint32'](0x12)['fork']())['ldelim'](),null!=_0x1fca88['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x1fca88,'graveyardPosition')&&_0x45dc37['Position']['encode'](_0x1fca88['graveyardPosition'],_0x1c9ead['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x1fca88['howMany']&&Object['hasOwnProperty']['call'](_0x1fca88,'howMany')&&_0x1c9ead['uint32'](0x20)['uint32'](_0x1fca88['howMany']),null!=_0x1fca88['wasUndone']&&Object['hasOwnProperty']['call'](_0x1fca88,'wasUndone')&&_0x1c9ead['uint32'](0x28)['bool'](_0x1fca88['wasUndone']),_0x1c9ead;},_0x2e805c['encodeDelimited']=function(_0x31a167,_0x1e5618){return this['encode'](_0x31a167,_0x1e5618)['ldelim']();},_0x2e805c['decode']=function(_0x3f56f8,_0x1e61f8,_0x2fdf8a,_0x14cb31){if(_0x3f56f8 instanceof _0x133053||(_0x3f56f8=_0x133053['create'](_0x3f56f8)),void 0x0===_0x14cb31&&(_0x14cb31=0x0),_0x14cb31>_0x133053['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x553af5=void 0x0===_0x1e61f8?_0x3f56f8['len']:_0x3f56f8['pos']+_0x1e61f8,_0x3d625a=new _0x45dc37['MergeOperation']();_0x3f56f8['pos']<_0x553af5;){var _0x545ec7=_0x3f56f8['uint32']();if(_0x545ec7===_0x2fdf8a)break;switch(_0x545ec7>>>0x3){case 0x1:_0x3d625a['sourcePosition']=_0x45dc37['Position']['decode'](_0x3f56f8,_0x3f56f8['uint32'](),void 0x0,_0x14cb31+0x1);break;case 0x2:_0x3d625a['targetPosition']=_0x45dc37['Position']['decode'](_0x3f56f8,_0x3f56f8['uint32'](),void 0x0,_0x14cb31+0x1);break;case 0x3:_0x3d625a['graveyardPosition']=_0x45dc37['Position']['decode'](_0x3f56f8,_0x3f56f8['uint32'](),void 0x0,_0x14cb31+0x1);break;case 0x4:_0x3d625a['howMany']=_0x3f56f8['uint32']();break;case 0x5:_0x3d625a['wasUndone']=_0x3f56f8['bool']();break;default:_0x3f56f8['skipType'](0x7&_0x545ec7,_0x14cb31);}}return _0x3d625a;},_0x2e805c['decodeDelimited']=function(_0x239976){return _0x239976 instanceof _0x133053||(_0x239976=new _0x133053(_0x239976)),this['decode'](_0x239976,_0x239976['uint32']());},_0x2e805c['verify']=function(_0x1051ba,_0x41078c){if('object'!=typeof _0x1051ba||null===_0x1051ba)return'object\x20expected';if(void 0x0===_0x41078c&&(_0x41078c=0x0),_0x41078c>_0x113724['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x50edef;if(null!=_0x1051ba['sourcePosition']&&_0x1051ba['hasOwnProperty']('sourcePosition')&&(_0x50edef=_0x45dc37['Position']['verify'](_0x1051ba['sourcePosition'],_0x41078c+0x1)))return'sourcePosition.'+_0x50edef;if(null!=_0x1051ba['targetPosition']&&_0x1051ba['hasOwnProperty']('targetPosition')&&(_0x50edef=_0x45dc37['Position']['verify'](_0x1051ba['targetPosition'],_0x41078c+0x1)))return'targetPosition.'+_0x50edef;if(null!=_0x1051ba['graveyardPosition']&&_0x1051ba['hasOwnProperty']('graveyardPosition')&&(_0x50edef=_0x45dc37['Position']['verify'](_0x1051ba['graveyardPosition'],_0x41078c+0x1)))return'graveyardPosition.'+_0x50edef;return null!=_0x1051ba['howMany']&&_0x1051ba['hasOwnProperty']('howMany')&&!_0x113724['isInteger'](_0x1051ba['howMany'])?'howMany:\x20integer\x20expected':null!=_0x1051ba['wasUndone']&&_0x1051ba['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x1051ba['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x2e805c['fromObject']=function(_0x430602,_0x243030){if(_0x430602 instanceof _0x45dc37['MergeOperation'])return _0x430602;if(void 0x0===_0x243030&&(_0x243030=0x0),_0x243030>_0x113724['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x215650=new _0x45dc37['MergeOperation']();if(null!=_0x430602['sourcePosition']){if('object'!=typeof _0x430602['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x215650['sourcePosition']=_0x45dc37['Position']['fromObject'](_0x430602['sourcePosition'],_0x243030+0x1);}if(null!=_0x430602['targetPosition']){if('object'!=typeof _0x430602['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x215650['targetPosition']=_0x45dc37['Position']['fromObject'](_0x430602['targetPosition'],_0x243030+0x1);}if(null!=_0x430602['graveyardPosition']){if('object'!=typeof _0x430602['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x215650['graveyardPosition']=_0x45dc37['Position']['fromObject'](_0x430602['graveyardPosition'],_0x243030+0x1);}return null!=_0x430602['howMany']&&(_0x215650['howMany']=_0x430602['howMany']>>>0x0),null!=_0x430602['wasUndone']&&(_0x215650['wasUndone']=Boolean(_0x430602['wasUndone'])),_0x215650;},_0x2e805c['toObject']=function(_0x353dc9,_0xf7776a){_0xf7776a||(_0xf7776a={});var _0x1a4d71={};return _0xf7776a['defaults']&&(_0x1a4d71['sourcePosition']=null,_0x1a4d71['targetPosition']=null,_0x1a4d71['graveyardPosition']=null,_0x1a4d71['howMany']=0x0,_0x1a4d71['wasUndone']=!0x1),null!=_0x353dc9['sourcePosition']&&_0x353dc9['hasOwnProperty']('sourcePosition')&&(_0x1a4d71['sourcePosition']=_0x45dc37['Position']['toObject'](_0x353dc9['sourcePosition'],_0xf7776a)),null!=_0x353dc9['targetPosition']&&_0x353dc9['hasOwnProperty']('targetPosition')&&(_0x1a4d71['targetPosition']=_0x45dc37['Position']['toObject'](_0x353dc9['targetPosition'],_0xf7776a)),null!=_0x353dc9['graveyardPosition']&&_0x353dc9['hasOwnProperty']('graveyardPosition')&&(_0x1a4d71['graveyardPosition']=_0x45dc37['Position']['toObject'](_0x353dc9['graveyardPosition'],_0xf7776a)),null!=_0x353dc9['howMany']&&_0x353dc9['hasOwnProperty']('howMany')&&(_0x1a4d71['howMany']=_0x353dc9['howMany']),null!=_0x353dc9['wasUndone']&&_0x353dc9['hasOwnProperty']('wasUndone')&&(_0x1a4d71['wasUndone']=_0x353dc9['wasUndone']),_0x1a4d71;},_0x2e805c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x2e805c['getTypeUrl']=function(_0x425c7c){return void 0x0===_0x425c7c&&(_0x425c7c='type.googleapis.com'),_0x425c7c+'/MergeOperation';},_0x2e805c;}()),_0x45dc37['MoveOperation']=(function(){function _0x298980(_0x565de8){if(_0x565de8){for(var _0x122dec=Object['keys'](_0x565de8),_0x39a397=0x0;_0x39a397<_0x122dec['length'];++_0x39a397)null!=_0x565de8[_0x122dec[_0x39a397]]&&'__proto__'!==_0x122dec[_0x39a397]&&(this[_0x122dec[_0x39a397]]=_0x565de8[_0x122dec[_0x39a397]]);}}return _0x298980['prototype']['sourcePosition']=null,_0x298980['prototype']['howMany']=0x0,_0x298980['prototype']['targetPosition']=null,_0x298980['prototype']['wasUndone']=!0x1,_0x298980['create']=function(_0x497bee){return new _0x298980(_0x497bee);},_0x298980['encode']=function(_0x4afd2e,_0x872719){return _0x872719||(_0x872719=_0x28c300['create']()),null!=_0x4afd2e['sourcePosition']&&Object['hasOwnProperty']['call'](_0x4afd2e,'sourcePosition')&&_0x45dc37['Position']['encode'](_0x4afd2e['sourcePosition'],_0x872719['uint32'](0xa)['fork']())['ldelim'](),null!=_0x4afd2e['howMany']&&Object['hasOwnProperty']['call'](_0x4afd2e,'howMany')&&_0x872719['uint32'](0x10)['uint32'](_0x4afd2e['howMany']),null!=_0x4afd2e['targetPosition']&&Object['hasOwnProperty']['call'](_0x4afd2e,'targetPosition')&&_0x45dc37['Position']['encode'](_0x4afd2e['targetPosition'],_0x872719['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x4afd2e['wasUndone']&&Object['hasOwnProperty']['call'](_0x4afd2e,'wasUndone')&&_0x872719['uint32'](0x20)['bool'](_0x4afd2e['wasUndone']),_0x872719;},_0x298980['encodeDelimited']=function(_0x5dcfc2,_0x57e344){return this['encode'](_0x5dcfc2,_0x57e344)['ldelim']();},_0x298980['decode']=function(_0x3d64ba,_0xcb2681,_0x10742d,_0x4f6841){if(_0x3d64ba instanceof _0x133053||(_0x3d64ba=_0x133053['create'](_0x3d64ba)),void 0x0===_0x4f6841&&(_0x4f6841=0x0),_0x4f6841>_0x133053['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x17bfac=void 0x0===_0xcb2681?_0x3d64ba['len']:_0x3d64ba['pos']+_0xcb2681,_0x4566b7=new _0x45dc37['MoveOperation']();_0x3d64ba['pos']<_0x17bfac;){var _0x2f6cc4=_0x3d64ba['uint32']();if(_0x2f6cc4===_0x10742d)break;switch(_0x2f6cc4>>>0x3){case 0x1:_0x4566b7['sourcePosition']=_0x45dc37['Position']['decode'](_0x3d64ba,_0x3d64ba['uint32'](),void 0x0,_0x4f6841+0x1);break;case 0x2:_0x4566b7['howMany']=_0x3d64ba['uint32']();break;case 0x3:_0x4566b7['targetPosition']=_0x45dc37['Position']['decode'](_0x3d64ba,_0x3d64ba['uint32'](),void 0x0,_0x4f6841+0x1);break;case 0x4:_0x4566b7['wasUndone']=_0x3d64ba['bool']();break;default:_0x3d64ba['skipType'](0x7&_0x2f6cc4,_0x4f6841);}}return _0x4566b7;},_0x298980['decodeDelimited']=function(_0x201e0c){return _0x201e0c instanceof _0x133053||(_0x201e0c=new _0x133053(_0x201e0c)),this['decode'](_0x201e0c,_0x201e0c['uint32']());},_0x298980['verify']=function(_0x256217,_0x496280){if('object'!=typeof _0x256217||null===_0x256217)return'object\x20expected';if(void 0x0===_0x496280&&(_0x496280=0x0),_0x496280>_0x113724['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x418427;if(null!=_0x256217['sourcePosition']&&_0x256217['hasOwnProperty']('sourcePosition')&&(_0x418427=_0x45dc37['Position']['verify'](_0x256217['sourcePosition'],_0x496280+0x1)))return'sourcePosition.'+_0x418427;if(null!=_0x256217['howMany']&&_0x256217['hasOwnProperty']('howMany')&&!_0x113724['isInteger'](_0x256217['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x256217['targetPosition']&&_0x256217['hasOwnProperty']('targetPosition')&&(_0x418427=_0x45dc37['Position']['verify'](_0x256217['targetPosition'],_0x496280+0x1)))return'targetPosition.'+_0x418427;return null!=_0x256217['wasUndone']&&_0x256217['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x256217['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x298980['fromObject']=function(_0x41ec9e,_0xc13040){if(_0x41ec9e instanceof _0x45dc37['MoveOperation'])return _0x41ec9e;if(void 0x0===_0xc13040&&(_0xc13040=0x0),_0xc13040>_0x113724['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1bf645=new _0x45dc37['MoveOperation']();if(null!=_0x41ec9e['sourcePosition']){if('object'!=typeof _0x41ec9e['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x1bf645['sourcePosition']=_0x45dc37['Position']['fromObject'](_0x41ec9e['sourcePosition'],_0xc13040+0x1);}if(null!=_0x41ec9e['howMany']&&(_0x1bf645['howMany']=_0x41ec9e['howMany']>>>0x0),null!=_0x41ec9e['targetPosition']){if('object'!=typeof _0x41ec9e['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x1bf645['targetPosition']=_0x45dc37['Position']['fromObject'](_0x41ec9e['targetPosition'],_0xc13040+0x1);}return null!=_0x41ec9e['wasUndone']&&(_0x1bf645['wasUndone']=Boolean(_0x41ec9e['wasUndone'])),_0x1bf645;},_0x298980['toObject']=function(_0x5200ac,_0x6cdb3e){_0x6cdb3e||(_0x6cdb3e={});var _0x267425={};return _0x6cdb3e['defaults']&&(_0x267425['sourcePosition']=null,_0x267425['howMany']=0x0,_0x267425['targetPosition']=null,_0x267425['wasUndone']=!0x1),null!=_0x5200ac['sourcePosition']&&_0x5200ac['hasOwnProperty']('sourcePosition')&&(_0x267425['sourcePosition']=_0x45dc37['Position']['toObject'](_0x5200ac['sourcePosition'],_0x6cdb3e)),null!=_0x5200ac['howMany']&&_0x5200ac['hasOwnProperty']('howMany')&&(_0x267425['howMany']=_0x5200ac['howMany']),null!=_0x5200ac['targetPosition']&&_0x5200ac['hasOwnProperty']('targetPosition')&&(_0x267425['targetPosition']=_0x45dc37['Position']['toObject'](_0x5200ac['targetPosition'],_0x6cdb3e)),null!=_0x5200ac['wasUndone']&&_0x5200ac['hasOwnProperty']('wasUndone')&&(_0x267425['wasUndone']=_0x5200ac['wasUndone']),_0x267425;},_0x298980['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x298980['getTypeUrl']=function(_0x29c79c){return void 0x0===_0x29c79c&&(_0x29c79c='type.googleapis.com'),_0x29c79c+'/MoveOperation';},_0x298980;}()),_0x45dc37['RenameOperation']=(function(){function _0x44361a(_0x22f0c0){if(_0x22f0c0){for(var _0x28c90f=Object['keys'](_0x22f0c0),_0xa9f8ce=0x0;_0xa9f8ce<_0x28c90f['length'];++_0xa9f8ce)null!=_0x22f0c0[_0x28c90f[_0xa9f8ce]]&&'__proto__'!==_0x28c90f[_0xa9f8ce]&&(this[_0x28c90f[_0xa9f8ce]]=_0x22f0c0[_0x28c90f[_0xa9f8ce]]);}}return _0x44361a['prototype']['position']=null,_0x44361a['prototype']['oldName']='',_0x44361a['prototype']['newName']='',_0x44361a['prototype']['wasUndone']=!0x1,_0x44361a['create']=function(_0x57ec8b){return new _0x44361a(_0x57ec8b);},_0x44361a['encode']=function(_0x20af69,_0x5e1ff6){return _0x5e1ff6||(_0x5e1ff6=_0x28c300['create']()),null!=_0x20af69['position']&&Object['hasOwnProperty']['call'](_0x20af69,'position')&&_0x45dc37['Position']['encode'](_0x20af69['position'],_0x5e1ff6['uint32'](0xa)['fork']())['ldelim'](),null!=_0x20af69['oldName']&&Object['hasOwnProperty']['call'](_0x20af69,'oldName')&&_0x5e1ff6['uint32'](0x12)['string'](_0x20af69['oldName']),null!=_0x20af69['newName']&&Object['hasOwnProperty']['call'](_0x20af69,'newName')&&_0x5e1ff6['uint32'](0x1a)['string'](_0x20af69['newName']),null!=_0x20af69['wasUndone']&&Object['hasOwnProperty']['call'](_0x20af69,'wasUndone')&&_0x5e1ff6['uint32'](0x20)['bool'](_0x20af69['wasUndone']),_0x5e1ff6;},_0x44361a['encodeDelimited']=function(_0x137f2c,_0x188768){return this['encode'](_0x137f2c,_0x188768)['ldelim']();},_0x44361a['decode']=function(_0x3d3a13,_0x521bc5,_0x355777,_0x1d5fe1){if(_0x3d3a13 instanceof _0x133053||(_0x3d3a13=_0x133053['create'](_0x3d3a13)),void 0x0===_0x1d5fe1&&(_0x1d5fe1=0x0),_0x1d5fe1>_0x133053['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x33a76c=void 0x0===_0x521bc5?_0x3d3a13['len']:_0x3d3a13['pos']+_0x521bc5,_0x30d3d3=new _0x45dc37['RenameOperation']();_0x3d3a13['pos']<_0x33a76c;){var _0xbc90bc=_0x3d3a13['uint32']();if(_0xbc90bc===_0x355777)break;switch(_0xbc90bc>>>0x3){case 0x1:_0x30d3d3['position']=_0x45dc37['Position']['decode'](_0x3d3a13,_0x3d3a13['uint32'](),void 0x0,_0x1d5fe1+0x1);break;case 0x2:_0x30d3d3['oldName']=_0x3d3a13['string']();break;case 0x3:_0x30d3d3['newName']=_0x3d3a13['string']();break;case 0x4:_0x30d3d3['wasUndone']=_0x3d3a13['bool']();break;default:_0x3d3a13['skipType'](0x7&_0xbc90bc,_0x1d5fe1);}}return _0x30d3d3;},_0x44361a['decodeDelimited']=function(_0x2a0457){return _0x2a0457 instanceof _0x133053||(_0x2a0457=new _0x133053(_0x2a0457)),this['decode'](_0x2a0457,_0x2a0457['uint32']());},_0x44361a['verify']=function(_0xfecf7a,_0x4553bd){if('object'!=typeof _0xfecf7a||null===_0xfecf7a)return'object\x20expected';if(void 0x0===_0x4553bd&&(_0x4553bd=0x0),_0x4553bd>_0x113724['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xfecf7a['position']&&_0xfecf7a['hasOwnProperty']('position')){var _0x2367e2=_0x45dc37['Position']['verify'](_0xfecf7a['position'],_0x4553bd+0x1);if(_0x2367e2)return'position.'+_0x2367e2;}return null!=_0xfecf7a['oldName']&&_0xfecf7a['hasOwnProperty']('oldName')&&!_0x113724['isString'](_0xfecf7a['oldName'])?'oldName:\x20string\x20expected':null!=_0xfecf7a['newName']&&_0xfecf7a['hasOwnProperty']('newName')&&!_0x113724['isString'](_0xfecf7a['newName'])?'newName:\x20string\x20expected':null!=_0xfecf7a['wasUndone']&&_0xfecf7a['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xfecf7a['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x44361a['fromObject']=function(_0x4e6543,_0x456ee3){if(_0x4e6543 instanceof _0x45dc37['RenameOperation'])return _0x4e6543;if(void 0x0===_0x456ee3&&(_0x456ee3=0x0),_0x456ee3>_0x113724['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xdb8448=new _0x45dc37['RenameOperation']();if(null!=_0x4e6543['position']){if('object'!=typeof _0x4e6543['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0xdb8448['position']=_0x45dc37['Position']['fromObject'](_0x4e6543['position'],_0x456ee3+0x1);}return null!=_0x4e6543['oldName']&&(_0xdb8448['oldName']=String(_0x4e6543['oldName'])),null!=_0x4e6543['newName']&&(_0xdb8448['newName']=String(_0x4e6543['newName'])),null!=_0x4e6543['wasUndone']&&(_0xdb8448['wasUndone']=Boolean(_0x4e6543['wasUndone'])),_0xdb8448;},_0x44361a['toObject']=function(_0x1f6e5d,_0x4fc70b){_0x4fc70b||(_0x4fc70b={});var _0x14f5f8={};return _0x4fc70b['defaults']&&(_0x14f5f8['position']=null,_0x14f5f8['oldName']='',_0x14f5f8['newName']='',_0x14f5f8['wasUndone']=!0x1),null!=_0x1f6e5d['position']&&_0x1f6e5d['hasOwnProperty']('position')&&(_0x14f5f8['position']=_0x45dc37['Position']['toObject'](_0x1f6e5d['position'],_0x4fc70b)),null!=_0x1f6e5d['oldName']&&_0x1f6e5d['hasOwnProperty']('oldName')&&(_0x14f5f8['oldName']=_0x1f6e5d['oldName']),null!=_0x1f6e5d['newName']&&_0x1f6e5d['hasOwnProperty']('newName')&&(_0x14f5f8['newName']=_0x1f6e5d['newName']),null!=_0x1f6e5d['wasUndone']&&_0x1f6e5d['hasOwnProperty']('wasUndone')&&(_0x14f5f8['wasUndone']=_0x1f6e5d['wasUndone']),_0x14f5f8;},_0x44361a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x44361a['getTypeUrl']=function(_0x24beb4){return void 0x0===_0x24beb4&&(_0x24beb4='type.googleapis.com'),_0x24beb4+'/RenameOperation';},_0x44361a;}()),_0x45dc37['RootAttributeOperation']=(function(){function _0x557d50(_0x1f6f96){if(_0x1f6f96){for(var _0x18b3cd=Object['keys'](_0x1f6f96),_0x3993c4=0x0;_0x3993c4<_0x18b3cd['length'];++_0x3993c4)null!=_0x1f6f96[_0x18b3cd[_0x3993c4]]&&'__proto__'!==_0x18b3cd[_0x3993c4]&&(this[_0x18b3cd[_0x3993c4]]=_0x1f6f96[_0x18b3cd[_0x3993c4]]);}}return _0x557d50['prototype']['root']='',_0x557d50['prototype']['key']='',_0x557d50['prototype']['oldValueBoolean']=!0x1,_0x557d50['prototype']['oldValueJson']='',_0x557d50['prototype']['newValueBoolean']=!0x1,_0x557d50['prototype']['newValueJson']='',_0x557d50['prototype']['wasUndone']=!0x1,_0x557d50['create']=function(_0x881c84){return new _0x557d50(_0x881c84);},_0x557d50['encode']=function(_0x2deb87,_0x46582d){return _0x46582d||(_0x46582d=_0x28c300['create']()),null!=_0x2deb87['root']&&Object['hasOwnProperty']['call'](_0x2deb87,'root')&&_0x46582d['uint32'](0xa)['string'](_0x2deb87['root']),null!=_0x2deb87['key']&&Object['hasOwnProperty']['call'](_0x2deb87,'key')&&_0x46582d['uint32'](0x12)['string'](_0x2deb87['key']),null!=_0x2deb87['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x2deb87,'oldValueBoolean')&&_0x46582d['uint32'](0x18)['bool'](_0x2deb87['oldValueBoolean']),null!=_0x2deb87['oldValueJson']&&Object['hasOwnProperty']['call'](_0x2deb87,'oldValueJson')&&_0x46582d['uint32'](0x22)['string'](_0x2deb87['oldValueJson']),null!=_0x2deb87['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x2deb87,'newValueBoolean')&&_0x46582d['uint32'](0x28)['bool'](_0x2deb87['newValueBoolean']),null!=_0x2deb87['newValueJson']&&Object['hasOwnProperty']['call'](_0x2deb87,'newValueJson')&&_0x46582d['uint32'](0x32)['string'](_0x2deb87['newValueJson']),null!=_0x2deb87['wasUndone']&&Object['hasOwnProperty']['call'](_0x2deb87,'wasUndone')&&_0x46582d['uint32'](0x38)['bool'](_0x2deb87['wasUndone']),_0x46582d;},_0x557d50['encodeDelimited']=function(_0x3a663f,_0xe9870c){return this['encode'](_0x3a663f,_0xe9870c)['ldelim']();},_0x557d50['decode']=function(_0x8863f7,_0x51dab7,_0x3aad94,_0x2ead80){if(_0x8863f7 instanceof _0x133053||(_0x8863f7=_0x133053['create'](_0x8863f7)),void 0x0===_0x2ead80&&(_0x2ead80=0x0),_0x2ead80>_0x133053['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4b2f4b=void 0x0===_0x51dab7?_0x8863f7['len']:_0x8863f7['pos']+_0x51dab7,_0x30130e=new _0x45dc37['RootAttributeOperation']();_0x8863f7['pos']<_0x4b2f4b;){var _0x2c9692=_0x8863f7['uint32']();if(_0x2c9692===_0x3aad94)break;switch(_0x2c9692>>>0x3){case 0x1:_0x30130e['root']=_0x8863f7['string']();break;case 0x2:_0x30130e['key']=_0x8863f7['string']();break;case 0x3:_0x30130e['oldValueBoolean']=_0x8863f7['bool']();break;case 0x4:_0x30130e['oldValueJson']=_0x8863f7['string']();break;case 0x5:_0x30130e['newValueBoolean']=_0x8863f7['bool']();break;case 0x6:_0x30130e['newValueJson']=_0x8863f7['string']();break;case 0x7:_0x30130e['wasUndone']=_0x8863f7['bool']();break;default:_0x8863f7['skipType'](0x7&_0x2c9692,_0x2ead80);}}return _0x30130e;},_0x557d50['decodeDelimited']=function(_0x30e79c){return _0x30e79c instanceof _0x133053||(_0x30e79c=new _0x133053(_0x30e79c)),this['decode'](_0x30e79c,_0x30e79c['uint32']());},_0x557d50['verify']=function(_0xa675af,_0x508353){return'object'!=typeof _0xa675af||null===_0xa675af?'object\x20expected':(void 0x0===_0x508353&&(_0x508353=0x0),_0x508353>_0x113724['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xa675af['root']&&_0xa675af['hasOwnProperty']('root')&&!_0x113724['isString'](_0xa675af['root'])?'root:\x20string\x20expected':null!=_0xa675af['key']&&_0xa675af['hasOwnProperty']('key')&&!_0x113724['isString'](_0xa675af['key'])?'key:\x20string\x20expected':null!=_0xa675af['oldValueBoolean']&&_0xa675af['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0xa675af['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0xa675af['oldValueJson']&&_0xa675af['hasOwnProperty']('oldValueJson')&&!_0x113724['isString'](_0xa675af['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0xa675af['newValueBoolean']&&_0xa675af['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0xa675af['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0xa675af['newValueJson']&&_0xa675af['hasOwnProperty']('newValueJson')&&!_0x113724['isString'](_0xa675af['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0xa675af['wasUndone']&&_0xa675af['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xa675af['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0x557d50['fromObject']=function(_0x14731d,_0x496e8f){if(_0x14731d instanceof _0x45dc37['RootAttributeOperation'])return _0x14731d;if(void 0x0===_0x496e8f&&(_0x496e8f=0x0),_0x496e8f>_0x113724['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3b1606=new _0x45dc37['RootAttributeOperation']();return null!=_0x14731d['root']&&(_0x3b1606['root']=String(_0x14731d['root'])),null!=_0x14731d['key']&&(_0x3b1606['key']=String(_0x14731d['key'])),null!=_0x14731d['oldValueBoolean']&&(_0x3b1606['oldValueBoolean']=Boolean(_0x14731d['oldValueBoolean'])),null!=_0x14731d['oldValueJson']&&(_0x3b1606['oldValueJson']=String(_0x14731d['oldValueJson'])),null!=_0x14731d['newValueBoolean']&&(_0x3b1606['newValueBoolean']=Boolean(_0x14731d['newValueBoolean'])),null!=_0x14731d['newValueJson']&&(_0x3b1606['newValueJson']=String(_0x14731d['newValueJson'])),null!=_0x14731d['wasUndone']&&(_0x3b1606['wasUndone']=Boolean(_0x14731d['wasUndone'])),_0x3b1606;},_0x557d50['toObject']=function(_0x35cc5d,_0x267b49){_0x267b49||(_0x267b49={});var _0x5d7e1c={};return _0x267b49['defaults']&&(_0x5d7e1c['root']='',_0x5d7e1c['key']='',_0x5d7e1c['oldValueBoolean']=!0x1,_0x5d7e1c['oldValueJson']='',_0x5d7e1c['newValueBoolean']=!0x1,_0x5d7e1c['newValueJson']='',_0x5d7e1c['wasUndone']=!0x1),null!=_0x35cc5d['root']&&_0x35cc5d['hasOwnProperty']('root')&&(_0x5d7e1c['root']=_0x35cc5d['root']),null!=_0x35cc5d['key']&&_0x35cc5d['hasOwnProperty']('key')&&(_0x5d7e1c['key']=_0x35cc5d['key']),null!=_0x35cc5d['oldValueBoolean']&&_0x35cc5d['hasOwnProperty']('oldValueBoolean')&&(_0x5d7e1c['oldValueBoolean']=_0x35cc5d['oldValueBoolean']),null!=_0x35cc5d['oldValueJson']&&_0x35cc5d['hasOwnProperty']('oldValueJson')&&(_0x5d7e1c['oldValueJson']=_0x35cc5d['oldValueJson']),null!=_0x35cc5d['newValueBoolean']&&_0x35cc5d['hasOwnProperty']('newValueBoolean')&&(_0x5d7e1c['newValueBoolean']=_0x35cc5d['newValueBoolean']),null!=_0x35cc5d['newValueJson']&&_0x35cc5d['hasOwnProperty']('newValueJson')&&(_0x5d7e1c['newValueJson']=_0x35cc5d['newValueJson']),null!=_0x35cc5d['wasUndone']&&_0x35cc5d['hasOwnProperty']('wasUndone')&&(_0x5d7e1c['wasUndone']=_0x35cc5d['wasUndone']),_0x5d7e1c;},_0x557d50['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x557d50['getTypeUrl']=function(_0x2ebc80){return void 0x0===_0x2ebc80&&(_0x2ebc80='type.googleapis.com'),_0x2ebc80+'/RootAttributeOperation';},_0x557d50;}()),_0x45dc37['RootOperation']=(function(){function _0x2af88f(_0x45eb31){if(_0x45eb31){for(var _0x2e47f0=Object['keys'](_0x45eb31),_0x5e2286=0x0;_0x5e2286<_0x2e47f0['length'];++_0x5e2286)null!=_0x45eb31[_0x2e47f0[_0x5e2286]]&&'__proto__'!==_0x2e47f0[_0x5e2286]&&(this[_0x2e47f0[_0x5e2286]]=_0x45eb31[_0x2e47f0[_0x5e2286]]);}}return _0x2af88f['prototype']['rootName']='',_0x2af88f['prototype']['elementName']='',_0x2af88f['prototype']['isAdd']=!0x1,_0x2af88f['prototype']['wasUndone']=!0x1,_0x2af88f['create']=function(_0xca74d4){return new _0x2af88f(_0xca74d4);},_0x2af88f['encode']=function(_0x4b262a,_0x57a3ea){return _0x57a3ea||(_0x57a3ea=_0x28c300['create']()),null!=_0x4b262a['rootName']&&Object['hasOwnProperty']['call'](_0x4b262a,'rootName')&&_0x57a3ea['uint32'](0xa)['string'](_0x4b262a['rootName']),null!=_0x4b262a['elementName']&&Object['hasOwnProperty']['call'](_0x4b262a,'elementName')&&_0x57a3ea['uint32'](0x12)['string'](_0x4b262a['elementName']),null!=_0x4b262a['isAdd']&&Object['hasOwnProperty']['call'](_0x4b262a,'isAdd')&&_0x57a3ea['uint32'](0x18)['bool'](_0x4b262a['isAdd']),null!=_0x4b262a['wasUndone']&&Object['hasOwnProperty']['call'](_0x4b262a,'wasUndone')&&_0x57a3ea['uint32'](0x20)['bool'](_0x4b262a['wasUndone']),_0x57a3ea;},_0x2af88f['encodeDelimited']=function(_0x2c2cbf,_0x92b385){return this['encode'](_0x2c2cbf,_0x92b385)['ldelim']();},_0x2af88f['decode']=function(_0x1a479a,_0x297301,_0x1a937d,_0x510ba0){if(_0x1a479a instanceof _0x133053||(_0x1a479a=_0x133053['create'](_0x1a479a)),void 0x0===_0x510ba0&&(_0x510ba0=0x0),_0x510ba0>_0x133053['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x7d5793=void 0x0===_0x297301?_0x1a479a['len']:_0x1a479a['pos']+_0x297301,_0x2af6c7=new _0x45dc37['RootOperation']();_0x1a479a['pos']<_0x7d5793;){var _0x3c8287=_0x1a479a['uint32']();if(_0x3c8287===_0x1a937d)break;switch(_0x3c8287>>>0x3){case 0x1:_0x2af6c7['rootName']=_0x1a479a['string']();break;case 0x2:_0x2af6c7['elementName']=_0x1a479a['string']();break;case 0x3:_0x2af6c7['isAdd']=_0x1a479a['bool']();break;case 0x4:_0x2af6c7['wasUndone']=_0x1a479a['bool']();break;default:_0x1a479a['skipType'](0x7&_0x3c8287,_0x510ba0);}}return _0x2af6c7;},_0x2af88f['decodeDelimited']=function(_0x25b573){return _0x25b573 instanceof _0x133053||(_0x25b573=new _0x133053(_0x25b573)),this['decode'](_0x25b573,_0x25b573['uint32']());},_0x2af88f['verify']=function(_0x17686d,_0x88790e){return'object'!=typeof _0x17686d||null===_0x17686d?'object\x20expected':(void 0x0===_0x88790e&&(_0x88790e=0x0),_0x88790e>_0x113724['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x17686d['rootName']&&_0x17686d['hasOwnProperty']('rootName')&&!_0x113724['isString'](_0x17686d['rootName'])?'rootName:\x20string\x20expected':null!=_0x17686d['elementName']&&_0x17686d['hasOwnProperty']('elementName')&&!_0x113724['isString'](_0x17686d['elementName'])?'elementName:\x20string\x20expected':null!=_0x17686d['isAdd']&&_0x17686d['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x17686d['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x17686d['wasUndone']&&_0x17686d['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x17686d['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0x2af88f['fromObject']=function(_0x2b2a64,_0x3d3958){if(_0x2b2a64 instanceof _0x45dc37['RootOperation'])return _0x2b2a64;if(void 0x0===_0x3d3958&&(_0x3d3958=0x0),_0x3d3958>_0x113724['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x43d388=new _0x45dc37['RootOperation']();return null!=_0x2b2a64['rootName']&&(_0x43d388['rootName']=String(_0x2b2a64['rootName'])),null!=_0x2b2a64['elementName']&&(_0x43d388['elementName']=String(_0x2b2a64['elementName'])),null!=_0x2b2a64['isAdd']&&(_0x43d388['isAdd']=Boolean(_0x2b2a64['isAdd'])),null!=_0x2b2a64['wasUndone']&&(_0x43d388['wasUndone']=Boolean(_0x2b2a64['wasUndone'])),_0x43d388;},_0x2af88f['toObject']=function(_0x2f469c,_0x493747){_0x493747||(_0x493747={});var _0x4c2bad={};return _0x493747['defaults']&&(_0x4c2bad['rootName']='',_0x4c2bad['elementName']='',_0x4c2bad['isAdd']=!0x1,_0x4c2bad['wasUndone']=!0x1),null!=_0x2f469c['rootName']&&_0x2f469c['hasOwnProperty']('rootName')&&(_0x4c2bad['rootName']=_0x2f469c['rootName']),null!=_0x2f469c['elementName']&&_0x2f469c['hasOwnProperty']('elementName')&&(_0x4c2bad['elementName']=_0x2f469c['elementName']),null!=_0x2f469c['isAdd']&&_0x2f469c['hasOwnProperty']('isAdd')&&(_0x4c2bad['isAdd']=_0x2f469c['isAdd']),null!=_0x2f469c['wasUndone']&&_0x2f469c['hasOwnProperty']('wasUndone')&&(_0x4c2bad['wasUndone']=_0x2f469c['wasUndone']),_0x4c2bad;},_0x2af88f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x2af88f['getTypeUrl']=function(_0x94845e){return void 0x0===_0x94845e&&(_0x94845e='type.googleapis.com'),_0x94845e+'/RootOperation';},_0x2af88f;}()),_0x45dc37['SplitOperation']=(function(){function _0x30a856(_0x1134a4){if(_0x1134a4){for(var _0x2fd538=Object['keys'](_0x1134a4),_0x4c9e0c=0x0;_0x4c9e0c<_0x2fd538['length'];++_0x4c9e0c)null!=_0x1134a4[_0x2fd538[_0x4c9e0c]]&&'__proto__'!==_0x2fd538[_0x4c9e0c]&&(this[_0x2fd538[_0x4c9e0c]]=_0x1134a4[_0x2fd538[_0x4c9e0c]]);}}return _0x30a856['prototype']['splitPosition']=null,_0x30a856['prototype']['graveyardPosition']=null,_0x30a856['prototype']['howMany']=0x0,_0x30a856['prototype']['insertionPosition']=null,_0x30a856['prototype']['wasUndone']=!0x1,_0x30a856['create']=function(_0x4458c2){return new _0x30a856(_0x4458c2);},_0x30a856['encode']=function(_0x1e5230,_0x1a7a69){return _0x1a7a69||(_0x1a7a69=_0x28c300['create']()),null!=_0x1e5230['splitPosition']&&Object['hasOwnProperty']['call'](_0x1e5230,'splitPosition')&&_0x45dc37['Position']['encode'](_0x1e5230['splitPosition'],_0x1a7a69['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1e5230['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x1e5230,'graveyardPosition')&&_0x45dc37['Position']['encode'](_0x1e5230['graveyardPosition'],_0x1a7a69['uint32'](0x12)['fork']())['ldelim'](),null!=_0x1e5230['howMany']&&Object['hasOwnProperty']['call'](_0x1e5230,'howMany')&&_0x1a7a69['uint32'](0x18)['uint32'](_0x1e5230['howMany']),null!=_0x1e5230['insertionPosition']&&Object['hasOwnProperty']['call'](_0x1e5230,'insertionPosition')&&_0x45dc37['Position']['encode'](_0x1e5230['insertionPosition'],_0x1a7a69['uint32'](0x22)['fork']())['ldelim'](),null!=_0x1e5230['wasUndone']&&Object['hasOwnProperty']['call'](_0x1e5230,'wasUndone')&&_0x1a7a69['uint32'](0x28)['bool'](_0x1e5230['wasUndone']),_0x1a7a69;},_0x30a856['encodeDelimited']=function(_0x54f469,_0x509066){return this['encode'](_0x54f469,_0x509066)['ldelim']();},_0x30a856['decode']=function(_0x5c9290,_0x8d8b21,_0x2bade1,_0xf427d2){if(_0x5c9290 instanceof _0x133053||(_0x5c9290=_0x133053['create'](_0x5c9290)),void 0x0===_0xf427d2&&(_0xf427d2=0x0),_0xf427d2>_0x133053['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1bbb6b=void 0x0===_0x8d8b21?_0x5c9290['len']:_0x5c9290['pos']+_0x8d8b21,_0x1e628e=new _0x45dc37['SplitOperation']();_0x5c9290['pos']<_0x1bbb6b;){var _0x2b2083=_0x5c9290['uint32']();if(_0x2b2083===_0x2bade1)break;switch(_0x2b2083>>>0x3){case 0x1:_0x1e628e['splitPosition']=_0x45dc37['Position']['decode'](_0x5c9290,_0x5c9290['uint32'](),void 0x0,_0xf427d2+0x1);break;case 0x2:_0x1e628e['graveyardPosition']=_0x45dc37['Position']['decode'](_0x5c9290,_0x5c9290['uint32'](),void 0x0,_0xf427d2+0x1);break;case 0x3:_0x1e628e['howMany']=_0x5c9290['uint32']();break;case 0x4:_0x1e628e['insertionPosition']=_0x45dc37['Position']['decode'](_0x5c9290,_0x5c9290['uint32'](),void 0x0,_0xf427d2+0x1);break;case 0x5:_0x1e628e['wasUndone']=_0x5c9290['bool']();break;default:_0x5c9290['skipType'](0x7&_0x2b2083,_0xf427d2);}}return _0x1e628e;},_0x30a856['decodeDelimited']=function(_0x26a8c3){return _0x26a8c3 instanceof _0x133053||(_0x26a8c3=new _0x133053(_0x26a8c3)),this['decode'](_0x26a8c3,_0x26a8c3['uint32']());},_0x30a856['verify']=function(_0x16db4b,_0x56bff4){if('object'!=typeof _0x16db4b||null===_0x16db4b)return'object\x20expected';if(void 0x0===_0x56bff4&&(_0x56bff4=0x0),_0x56bff4>_0x113724['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x368fff;if(null!=_0x16db4b['splitPosition']&&_0x16db4b['hasOwnProperty']('splitPosition')&&(_0x368fff=_0x45dc37['Position']['verify'](_0x16db4b['splitPosition'],_0x56bff4+0x1)))return'splitPosition.'+_0x368fff;if(null!=_0x16db4b['graveyardPosition']&&_0x16db4b['hasOwnProperty']('graveyardPosition')&&(_0x368fff=_0x45dc37['Position']['verify'](_0x16db4b['graveyardPosition'],_0x56bff4+0x1)))return'graveyardPosition.'+_0x368fff;if(null!=_0x16db4b['howMany']&&_0x16db4b['hasOwnProperty']('howMany')&&!_0x113724['isInteger'](_0x16db4b['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x16db4b['insertionPosition']&&_0x16db4b['hasOwnProperty']('insertionPosition')&&(_0x368fff=_0x45dc37['Position']['verify'](_0x16db4b['insertionPosition'],_0x56bff4+0x1)))return'insertionPosition.'+_0x368fff;return null!=_0x16db4b['wasUndone']&&_0x16db4b['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x16db4b['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x30a856['fromObject']=function(_0x1470a7,_0x40c019){if(_0x1470a7 instanceof _0x45dc37['SplitOperation'])return _0x1470a7;if(void 0x0===_0x40c019&&(_0x40c019=0x0),_0x40c019>_0x113724['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x575c29=new _0x45dc37['SplitOperation']();if(null!=_0x1470a7['splitPosition']){if('object'!=typeof _0x1470a7['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x575c29['splitPosition']=_0x45dc37['Position']['fromObject'](_0x1470a7['splitPosition'],_0x40c019+0x1);}if(null!=_0x1470a7['graveyardPosition']){if('object'!=typeof _0x1470a7['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x575c29['graveyardPosition']=_0x45dc37['Position']['fromObject'](_0x1470a7['graveyardPosition'],_0x40c019+0x1);}if(null!=_0x1470a7['howMany']&&(_0x575c29['howMany']=_0x1470a7['howMany']>>>0x0),null!=_0x1470a7['insertionPosition']){if('object'!=typeof _0x1470a7['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x575c29['insertionPosition']=_0x45dc37['Position']['fromObject'](_0x1470a7['insertionPosition'],_0x40c019+0x1);}return null!=_0x1470a7['wasUndone']&&(_0x575c29['wasUndone']=Boolean(_0x1470a7['wasUndone'])),_0x575c29;},_0x30a856['toObject']=function(_0x49c7d1,_0x213bcb){_0x213bcb||(_0x213bcb={});var _0xe4776f={};return _0x213bcb['defaults']&&(_0xe4776f['splitPosition']=null,_0xe4776f['graveyardPosition']=null,_0xe4776f['howMany']=0x0,_0xe4776f['insertionPosition']=null,_0xe4776f['wasUndone']=!0x1),null!=_0x49c7d1['splitPosition']&&_0x49c7d1['hasOwnProperty']('splitPosition')&&(_0xe4776f['splitPosition']=_0x45dc37['Position']['toObject'](_0x49c7d1['splitPosition'],_0x213bcb)),null!=_0x49c7d1['graveyardPosition']&&_0x49c7d1['hasOwnProperty']('graveyardPosition')&&(_0xe4776f['graveyardPosition']=_0x45dc37['Position']['toObject'](_0x49c7d1['graveyardPosition'],_0x213bcb)),null!=_0x49c7d1['howMany']&&_0x49c7d1['hasOwnProperty']('howMany')&&(_0xe4776f['howMany']=_0x49c7d1['howMany']),null!=_0x49c7d1['insertionPosition']&&_0x49c7d1['hasOwnProperty']('insertionPosition')&&(_0xe4776f['insertionPosition']=_0x45dc37['Position']['toObject'](_0x49c7d1['insertionPosition'],_0x213bcb)),null!=_0x49c7d1['wasUndone']&&_0x49c7d1['hasOwnProperty']('wasUndone')&&(_0xe4776f['wasUndone']=_0x49c7d1['wasUndone']),_0xe4776f;},_0x30a856['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x30a856['getTypeUrl']=function(_0x356827){return void 0x0===_0x356827&&(_0x356827='type.googleapis.com'),_0x356827+'/SplitOperation';},_0x30a856;}()),_0x45dc37['Position']=(function(){function _0x5f4245(_0x1933f6){if(this['path']=[],_0x1933f6){for(var _0xfa06f5=Object['keys'](_0x1933f6),_0x4741ce=0x0;_0x4741ce<_0xfa06f5['length'];++_0x4741ce)null!=_0x1933f6[_0xfa06f5[_0x4741ce]]&&'__proto__'!==_0xfa06f5[_0x4741ce]&&(this[_0xfa06f5[_0x4741ce]]=_0x1933f6[_0xfa06f5[_0x4741ce]]);}}return _0x5f4245['prototype']['root']='',_0x5f4245['prototype']['rootMain']=!0x1,_0x5f4245['prototype']['rootGraveyard']=!0x1,_0x5f4245['prototype']['path']=_0x113724['emptyArray'],_0x5f4245['prototype']['stickiness']='',_0x5f4245['create']=function(_0x197ffb){return new _0x5f4245(_0x197ffb);},_0x5f4245['encode']=function(_0x2e8c68,_0x5bb0db){if(_0x5bb0db||(_0x5bb0db=_0x28c300['create']()),null!=_0x2e8c68['root']&&Object['hasOwnProperty']['call'](_0x2e8c68,'root')&&_0x5bb0db['uint32'](0xa)['string'](_0x2e8c68['root']),null!=_0x2e8c68['rootMain']&&Object['hasOwnProperty']['call'](_0x2e8c68,'rootMain')&&_0x5bb0db['uint32'](0x10)['bool'](_0x2e8c68['rootMain']),null!=_0x2e8c68['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x2e8c68,'rootGraveyard')&&_0x5bb0db['uint32'](0x18)['bool'](_0x2e8c68['rootGraveyard']),null!=_0x2e8c68['path']&&_0x2e8c68['path']['length']){_0x5bb0db['uint32'](0x22)['fork']();for(var _0x554f50=0x0;_0x554f50<_0x2e8c68['path']['length'];++_0x554f50)_0x5bb0db['uint32'](_0x2e8c68['path'][_0x554f50]);_0x5bb0db['ldelim']();}return null!=_0x2e8c68['stickiness']&&Object['hasOwnProperty']['call'](_0x2e8c68,'stickiness')&&_0x5bb0db['uint32'](0x2a)['string'](_0x2e8c68['stickiness']),_0x5bb0db;},_0x5f4245['encodeDelimited']=function(_0x26c748,_0x9121c0){return this['encode'](_0x26c748,_0x9121c0)['ldelim']();},_0x5f4245['decode']=function(_0x1bde75,_0x1d8a0a,_0x507cc3,_0x58f580){if(_0x1bde75 instanceof _0x133053||(_0x1bde75=_0x133053['create'](_0x1bde75)),void 0x0===_0x58f580&&(_0x58f580=0x0),_0x58f580>_0x133053['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2b01dd=void 0x0===_0x1d8a0a?_0x1bde75['len']:_0x1bde75['pos']+_0x1d8a0a,_0x3e33b1=new _0x45dc37['Position']();_0x1bde75['pos']<_0x2b01dd;){var _0x524495=_0x1bde75['uint32']();if(_0x524495===_0x507cc3)break;switch(_0x524495>>>0x3){case 0x1:_0x3e33b1['root']=_0x1bde75['string']();break;case 0x2:_0x3e33b1['rootMain']=_0x1bde75['bool']();break;case 0x3:_0x3e33b1['rootGraveyard']=_0x1bde75['bool']();break;case 0x4:if(_0x3e33b1['path']&&_0x3e33b1['path']['length']||(_0x3e33b1['path']=[]),0x2==(0x7&_0x524495)){for(var _0x5ae66a=_0x1bde75['uint32']()+_0x1bde75['pos'];_0x1bde75['pos']<_0x5ae66a;)_0x3e33b1['path']['push'](_0x1bde75['uint32']());}else _0x3e33b1['path']['push'](_0x1bde75['uint32']());break;case 0x5:_0x3e33b1['stickiness']=_0x1bde75['string']();break;default:_0x1bde75['skipType'](0x7&_0x524495,_0x58f580);}}return _0x3e33b1;},_0x5f4245['decodeDelimited']=function(_0x6a2f79){return _0x6a2f79 instanceof _0x133053||(_0x6a2f79=new _0x133053(_0x6a2f79)),this['decode'](_0x6a2f79,_0x6a2f79['uint32']());},_0x5f4245['verify']=function(_0x12fd4d,_0x47a0a1){if('object'!=typeof _0x12fd4d||null===_0x12fd4d)return'object\x20expected';if(void 0x0===_0x47a0a1&&(_0x47a0a1=0x0),_0x47a0a1>_0x113724['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x12fd4d['root']&&_0x12fd4d['hasOwnProperty']('root')&&!_0x113724['isString'](_0x12fd4d['root']))return'root:\x20string\x20expected';if(null!=_0x12fd4d['rootMain']&&_0x12fd4d['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x12fd4d['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x12fd4d['rootGraveyard']&&_0x12fd4d['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x12fd4d['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x12fd4d['path']&&_0x12fd4d['hasOwnProperty']('path')){if(!Array['isArray'](_0x12fd4d['path']))return'path:\x20array\x20expected';for(var _0x31a7c2=0x0;_0x31a7c2<_0x12fd4d['path']['length'];++_0x31a7c2)if(!_0x113724['isInteger'](_0x12fd4d['path'][_0x31a7c2]))return'path:\x20integer[]\x20expected';}return null!=_0x12fd4d['stickiness']&&_0x12fd4d['hasOwnProperty']('stickiness')&&!_0x113724['isString'](_0x12fd4d['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x5f4245['fromObject']=function(_0x1219d6,_0x44336c){if(_0x1219d6 instanceof _0x45dc37['Position'])return _0x1219d6;if(void 0x0===_0x44336c&&(_0x44336c=0x0),_0x44336c>_0x113724['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x514bf9=new _0x45dc37['Position']();if(null!=_0x1219d6['root']&&(_0x514bf9['root']=String(_0x1219d6['root'])),null!=_0x1219d6['rootMain']&&(_0x514bf9['rootMain']=Boolean(_0x1219d6['rootMain'])),null!=_0x1219d6['rootGraveyard']&&(_0x514bf9['rootGraveyard']=Boolean(_0x1219d6['rootGraveyard'])),_0x1219d6['path']){if(!Array['isArray'](_0x1219d6['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x514bf9['path']=[];for(var _0x586261=0x0;_0x586261<_0x1219d6['path']['length'];++_0x586261)_0x514bf9['path'][_0x586261]=_0x1219d6['path'][_0x586261]>>>0x0;}return null!=_0x1219d6['stickiness']&&(_0x514bf9['stickiness']=String(_0x1219d6['stickiness'])),_0x514bf9;},_0x5f4245['toObject']=function(_0x31fe37,_0x35dfce){_0x35dfce||(_0x35dfce={});var _0x1f9e91={};if((_0x35dfce['arrays']||_0x35dfce['defaults'])&&(_0x1f9e91['path']=[]),_0x35dfce['defaults']&&(_0x1f9e91['root']='',_0x1f9e91['rootMain']=!0x1,_0x1f9e91['rootGraveyard']=!0x1,_0x1f9e91['stickiness']=''),null!=_0x31fe37['root']&&_0x31fe37['hasOwnProperty']('root')&&(_0x1f9e91['root']=_0x31fe37['root']),null!=_0x31fe37['rootMain']&&_0x31fe37['hasOwnProperty']('rootMain')&&(_0x1f9e91['rootMain']=_0x31fe37['rootMain']),null!=_0x31fe37['rootGraveyard']&&_0x31fe37['hasOwnProperty']('rootGraveyard')&&(_0x1f9e91['rootGraveyard']=_0x31fe37['rootGraveyard']),_0x31fe37['path']&&_0x31fe37['path']['length']){_0x1f9e91['path']=[];for(var _0x4aa200=0x0;_0x4aa200<_0x31fe37['path']['length'];++_0x4aa200)_0x1f9e91['path'][_0x4aa200]=_0x31fe37['path'][_0x4aa200];}return null!=_0x31fe37['stickiness']&&_0x31fe37['hasOwnProperty']('stickiness')&&(_0x1f9e91['stickiness']=_0x31fe37['stickiness']),_0x1f9e91;},_0x5f4245['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x5f4245['getTypeUrl']=function(_0x3319f1){return void 0x0===_0x3319f1&&(_0x3319f1='type.googleapis.com'),_0x3319f1+'/Position';},_0x5f4245;}()),_0x45dc37['Range']=(function(){function _0x5145f9(_0x27f945){if(_0x27f945){for(var _0x20e90d=Object['keys'](_0x27f945),_0x4367bc=0x0;_0x4367bc<_0x20e90d['length'];++_0x4367bc)null!=_0x27f945[_0x20e90d[_0x4367bc]]&&'__proto__'!==_0x20e90d[_0x4367bc]&&(this[_0x20e90d[_0x4367bc]]=_0x27f945[_0x20e90d[_0x4367bc]]);}}return _0x5145f9['prototype']['start']=null,_0x5145f9['prototype']['end']=null,_0x5145f9['create']=function(_0xe6dfb0){return new _0x5145f9(_0xe6dfb0);},_0x5145f9['encode']=function(_0x115aea,_0x45be82){return _0x45be82||(_0x45be82=_0x28c300['create']()),null!=_0x115aea['start']&&Object['hasOwnProperty']['call'](_0x115aea,'start')&&_0x45dc37['Position']['encode'](_0x115aea['start'],_0x45be82['uint32'](0xa)['fork']())['ldelim'](),null!=_0x115aea['end']&&Object['hasOwnProperty']['call'](_0x115aea,'end')&&_0x45dc37['Position']['encode'](_0x115aea['end'],_0x45be82['uint32'](0x12)['fork']())['ldelim'](),_0x45be82;},_0x5145f9['encodeDelimited']=function(_0xae6cad,_0x363a2d){return this['encode'](_0xae6cad,_0x363a2d)['ldelim']();},_0x5145f9['decode']=function(_0x253a0c,_0x2775c2,_0x2c5da9,_0x58c50d){if(_0x253a0c instanceof _0x133053||(_0x253a0c=_0x133053['create'](_0x253a0c)),void 0x0===_0x58c50d&&(_0x58c50d=0x0),_0x58c50d>_0x133053['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1833f7=void 0x0===_0x2775c2?_0x253a0c['len']:_0x253a0c['pos']+_0x2775c2,_0x585688=new _0x45dc37['Range']();_0x253a0c['pos']<_0x1833f7;){var _0x1c009c=_0x253a0c['uint32']();if(_0x1c009c===_0x2c5da9)break;switch(_0x1c009c>>>0x3){case 0x1:_0x585688['start']=_0x45dc37['Position']['decode'](_0x253a0c,_0x253a0c['uint32'](),void 0x0,_0x58c50d+0x1);break;case 0x2:_0x585688['end']=_0x45dc37['Position']['decode'](_0x253a0c,_0x253a0c['uint32'](),void 0x0,_0x58c50d+0x1);break;default:_0x253a0c['skipType'](0x7&_0x1c009c,_0x58c50d);}}return _0x585688;},_0x5145f9['decodeDelimited']=function(_0x2e9a08){return _0x2e9a08 instanceof _0x133053||(_0x2e9a08=new _0x133053(_0x2e9a08)),this['decode'](_0x2e9a08,_0x2e9a08['uint32']());},_0x5145f9['verify']=function(_0x17f5c6,_0x2e58aa){if('object'!=typeof _0x17f5c6||null===_0x17f5c6)return'object\x20expected';if(void 0x0===_0x2e58aa&&(_0x2e58aa=0x0),_0x2e58aa>_0x113724['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x4fa871;if(null!=_0x17f5c6['start']&&_0x17f5c6['hasOwnProperty']('start')&&(_0x4fa871=_0x45dc37['Position']['verify'](_0x17f5c6['start'],_0x2e58aa+0x1)))return'start.'+_0x4fa871;if(null!=_0x17f5c6['end']&&_0x17f5c6['hasOwnProperty']('end')&&(_0x4fa871=_0x45dc37['Position']['verify'](_0x17f5c6['end'],_0x2e58aa+0x1)))return'end.'+_0x4fa871;return null;},_0x5145f9['fromObject']=function(_0x3b87ea,_0x3f59a6){if(_0x3b87ea instanceof _0x45dc37['Range'])return _0x3b87ea;if(void 0x0===_0x3f59a6&&(_0x3f59a6=0x0),_0x3f59a6>_0x113724['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x57a882=new _0x45dc37['Range']();if(null!=_0x3b87ea['start']){if('object'!=typeof _0x3b87ea['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x57a882['start']=_0x45dc37['Position']['fromObject'](_0x3b87ea['start'],_0x3f59a6+0x1);}if(null!=_0x3b87ea['end']){if('object'!=typeof _0x3b87ea['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x57a882['end']=_0x45dc37['Position']['fromObject'](_0x3b87ea['end'],_0x3f59a6+0x1);}return _0x57a882;},_0x5145f9['toObject']=function(_0x18713d,_0x477bdb){_0x477bdb||(_0x477bdb={});var _0x54aed8={};return _0x477bdb['defaults']&&(_0x54aed8['start']=null,_0x54aed8['end']=null),null!=_0x18713d['start']&&_0x18713d['hasOwnProperty']('start')&&(_0x54aed8['start']=_0x45dc37['Position']['toObject'](_0x18713d['start'],_0x477bdb)),null!=_0x18713d['end']&&_0x18713d['hasOwnProperty']('end')&&(_0x54aed8['end']=_0x45dc37['Position']['toObject'](_0x18713d['end'],_0x477bdb)),_0x54aed8;},_0x5145f9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x5145f9['getTypeUrl']=function(_0x358034){return void 0x0===_0x358034&&(_0x358034='type.googleapis.com'),_0x358034+'/Range';},_0x5145f9;}()),_0x45dc37['Element']=(function(){function _0x4add26(_0x43ea61){if(this['children']=[],this['attributesBoolean']={},_0x43ea61){for(var _0x170104=Object['keys'](_0x43ea61),_0x43a3dc=0x0;_0x43a3dc<_0x170104['length'];++_0x43a3dc)null!=_0x43ea61[_0x170104[_0x43a3dc]]&&'__proto__'!==_0x170104[_0x43a3dc]&&(this[_0x170104[_0x43a3dc]]=_0x43ea61[_0x170104[_0x43a3dc]]);}}return _0x4add26['prototype']['name']='',_0x4add26['prototype']['children']=_0x113724['emptyArray'],_0x4add26['prototype']['data']='',_0x4add26['prototype']['attributesBoolean']=_0x113724['emptyObject'],_0x4add26['prototype']['attributesJson']='',_0x4add26['create']=function(_0x142ac5){return new _0x4add26(_0x142ac5);},_0x4add26['encode']=function(_0x2ed700,_0x140197){if(_0x140197||(_0x140197=_0x28c300['create']()),null!=_0x2ed700['name']&&Object['hasOwnProperty']['call'](_0x2ed700,'name')&&_0x140197['uint32'](0xa)['string'](_0x2ed700['name']),null!=_0x2ed700['children']&&_0x2ed700['children']['length']){for(var _0x378899=0x0;_0x378899<_0x2ed700['children']['length'];++_0x378899)_0x45dc37['Element']['encode'](_0x2ed700['children'][_0x378899],_0x140197['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x2ed700['data']&&Object['hasOwnProperty']['call'](_0x2ed700,'data')&&_0x140197['uint32'](0x1a)['string'](_0x2ed700['data']),null!=_0x2ed700['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x2ed700,'attributesBoolean')){var _0x391ef1=Object['keys'](_0x2ed700['attributesBoolean']);for(_0x378899=0x0;_0x378899<_0x391ef1['length'];++_0x378899)_0x140197['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x391ef1[_0x378899])['uint32'](0x10)['bool'](_0x2ed700['attributesBoolean'][_0x391ef1[_0x378899]])['ldelim']();}return null!=_0x2ed700['attributesJson']&&Object['hasOwnProperty']['call'](_0x2ed700,'attributesJson')&&_0x140197['uint32'](0x2a)['string'](_0x2ed700['attributesJson']),_0x140197;},_0x4add26['encodeDelimited']=function(_0x4536ea,_0x3d4dd1){return this['encode'](_0x4536ea,_0x3d4dd1)['ldelim']();},_0x4add26['decode']=function(_0x319919,_0x18d684,_0x23adc0,_0x35fb89){if(_0x319919 instanceof _0x133053||(_0x319919=_0x133053['create'](_0x319919)),void 0x0===_0x35fb89&&(_0x35fb89=0x0),_0x35fb89>_0x133053['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3b9496,_0x2d60d3,_0x1ee3f3=void 0x0===_0x18d684?_0x319919['len']:_0x319919['pos']+_0x18d684,_0x11f843=new _0x45dc37['Element']();_0x319919['pos']<_0x1ee3f3;){var _0x4528e2=_0x319919['uint32']();if(_0x4528e2===_0x23adc0)break;switch(_0x4528e2>>>0x3){case 0x1:_0x11f843['name']=_0x319919['string']();break;case 0x2:_0x11f843['children']&&_0x11f843['children']['length']||(_0x11f843['children']=[]),_0x11f843['children']['push'](_0x45dc37['Element']['decode'](_0x319919,_0x319919['uint32'](),void 0x0,_0x35fb89+0x1));break;case 0x3:_0x11f843['data']=_0x319919['string']();break;case 0x4:_0x11f843['attributesBoolean']===_0x113724['emptyObject']&&(_0x11f843['attributesBoolean']={});var _0x17ca1e=_0x319919['uint32']()+_0x319919['pos'];for(_0x3b9496='',_0x2d60d3=!0x1;_0x319919['pos']<_0x17ca1e;){var _0x1f502c=_0x319919['uint32']();switch(_0x1f502c>>>0x3){case 0x1:_0x3b9496=_0x319919['string']();break;case 0x2:_0x2d60d3=_0x319919['bool']();break;default:_0x319919['skipType'](0x7&_0x1f502c,_0x35fb89);}}'__proto__'===_0x3b9496&&_0x113724['makeProp'](_0x11f843['attributesBoolean'],_0x3b9496),_0x11f843['attributesBoolean'][_0x3b9496]=_0x2d60d3;break;case 0x5:_0x11f843['attributesJson']=_0x319919['string']();break;default:_0x319919['skipType'](0x7&_0x4528e2,_0x35fb89);}}return _0x11f843;},_0x4add26['decodeDelimited']=function(_0x5b3271){return _0x5b3271 instanceof _0x133053||(_0x5b3271=new _0x133053(_0x5b3271)),this['decode'](_0x5b3271,_0x5b3271['uint32']());},_0x4add26['verify']=function(_0x1eed33,_0x2aacd3){if('object'!=typeof _0x1eed33||null===_0x1eed33)return'object\x20expected';if(void 0x0===_0x2aacd3&&(_0x2aacd3=0x0),_0x2aacd3>_0x113724['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1eed33['name']&&_0x1eed33['hasOwnProperty']('name')&&!_0x113724['isString'](_0x1eed33['name']))return'name:\x20string\x20expected';if(null!=_0x1eed33['children']&&_0x1eed33['hasOwnProperty']('children')){if(!Array['isArray'](_0x1eed33['children']))return'children:\x20array\x20expected';for(var _0x3cd70e=0x0;_0x3cd70e<_0x1eed33['children']['length'];++_0x3cd70e){var _0xe5487a=_0x45dc37['Element']['verify'](_0x1eed33['children'][_0x3cd70e],_0x2aacd3+0x1);if(_0xe5487a)return'children.'+_0xe5487a;}}if(null!=_0x1eed33['data']&&_0x1eed33['hasOwnProperty']('data')&&!_0x113724['isString'](_0x1eed33['data']))return'data:\x20string\x20expected';if(null!=_0x1eed33['attributesBoolean']&&_0x1eed33['hasOwnProperty']('attributesBoolean')){if(!_0x113724['isObject'](_0x1eed33['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x39e77f=Object['keys'](_0x1eed33['attributesBoolean']);for(_0x3cd70e=0x0;_0x3cd70e<_0x39e77f['length'];++_0x3cd70e)if('boolean'!=typeof _0x1eed33['attributesBoolean'][_0x39e77f[_0x3cd70e]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x1eed33['attributesJson']&&_0x1eed33['hasOwnProperty']('attributesJson')&&!_0x113724['isString'](_0x1eed33['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x4add26['fromObject']=function(_0x31ab23,_0x1c5c9a){if(_0x31ab23 instanceof _0x45dc37['Element'])return _0x31ab23;if(void 0x0===_0x1c5c9a&&(_0x1c5c9a=0x0),_0x1c5c9a>_0x113724['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x555699=new _0x45dc37['Element']();if(null!=_0x31ab23['name']&&(_0x555699['name']=String(_0x31ab23['name'])),_0x31ab23['children']){if(!Array['isArray'](_0x31ab23['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x555699['children']=[];for(var _0x4132ca=0x0;_0x4132ca<_0x31ab23['children']['length'];++_0x4132ca){if('object'!=typeof _0x31ab23['children'][_0x4132ca])throw TypeError('.Element.children:\x20object\x20expected');_0x555699['children'][_0x4132ca]=_0x45dc37['Element']['fromObject'](_0x31ab23['children'][_0x4132ca],_0x1c5c9a+0x1);}}if(null!=_0x31ab23['data']&&(_0x555699['data']=String(_0x31ab23['data'])),_0x31ab23['attributesBoolean']){if('object'!=typeof _0x31ab23['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x555699['attributesBoolean']={};var _0x41fb83=Object['keys'](_0x31ab23['attributesBoolean']);for(_0x4132ca=0x0;_0x4132ca<_0x41fb83['length'];++_0x4132ca)'__proto__'===_0x41fb83[_0x4132ca]&&_0x113724['makeProp'](_0x555699['attributesBoolean'],_0x41fb83[_0x4132ca]),_0x555699['attributesBoolean'][_0x41fb83[_0x4132ca]]=Boolean(_0x31ab23['attributesBoolean'][_0x41fb83[_0x4132ca]]);}return null!=_0x31ab23['attributesJson']&&(_0x555699['attributesJson']=String(_0x31ab23['attributesJson'])),_0x555699;},_0x4add26['toObject']=function(_0x2b1012,_0x164d5b){_0x164d5b||(_0x164d5b={});var _0x3d2ded,_0x379f81={};if((_0x164d5b['arrays']||_0x164d5b['defaults'])&&(_0x379f81['children']=[]),(_0x164d5b['objects']||_0x164d5b['defaults'])&&(_0x379f81['attributesBoolean']={}),_0x164d5b['defaults']&&(_0x379f81['name']='',_0x379f81['data']='',_0x379f81['attributesJson']=''),null!=_0x2b1012['name']&&_0x2b1012['hasOwnProperty']('name')&&(_0x379f81['name']=_0x2b1012['name']),_0x2b1012['children']&&_0x2b1012['children']['length']){_0x379f81['children']=[];for(var _0x561585=0x0;_0x561585<_0x2b1012['children']['length'];++_0x561585)_0x379f81['children'][_0x561585]=_0x45dc37['Element']['toObject'](_0x2b1012['children'][_0x561585],_0x164d5b);}if(null!=_0x2b1012['data']&&_0x2b1012['hasOwnProperty']('data')&&(_0x379f81['data']=_0x2b1012['data']),_0x2b1012['attributesBoolean']&&(_0x3d2ded=Object['keys'](_0x2b1012['attributesBoolean']))['length']){_0x379f81['attributesBoolean']={};for(_0x561585=0x0;_0x561585<_0x3d2ded['length'];++_0x561585)'__proto__'===_0x3d2ded[_0x561585]&&_0x113724['makeProp'](_0x379f81['attributesBoolean'],_0x3d2ded[_0x561585]),_0x379f81['attributesBoolean'][_0x3d2ded[_0x561585]]=_0x2b1012['attributesBoolean'][_0x3d2ded[_0x561585]];}return null!=_0x2b1012['attributesJson']&&_0x2b1012['hasOwnProperty']('attributesJson')&&(_0x379f81['attributesJson']=_0x2b1012['attributesJson']),_0x379f81;},_0x4add26['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x56243c['util']['toJSONOptions']);},_0x4add26['getTypeUrl']=function(_0x4b6bd5){return void 0x0===_0x4b6bd5&&(_0x4b6bd5='type.googleapis.com'),_0x4b6bd5+'/Element';},_0x4add26;}()),_0x45dc37;})());class ProtobufFactory{['_protobufRoot'];constructor(){this['_protobufRoot']=_0x42beff;}['getDescriptor'](_0x27438e){return new ProtobufDescriptor(this['_protobufRoot'][_0x27438e]);}}class ProtobufDescriptor{['_protobuf'];constructor(_0x2e426e){this['_protobuf']=_0x2e426e;}['compress'](_0x27d07e){const _0x3f484e=this['_protobuf']['verify'](_0x27d07e);if(_0x3f484e)throw Error(_0x3f484e);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x27d07e))['finish']();}['decompress'](_0x57f681){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x57f681),{'oneofs':!0x0});}}function _0x36d0f3(_0x34be88,_0x43ebe9){const _0x4279f3=_0x30292a(_0x34be88);return _0x4279f3['path'][_0x4279f3['path']['length']-0x1]+=_0x43ebe9,_0x4279f3;}function _0x17c860(_0x5d2f9a,_0x58ca7d){return _0x5d2f9a['root']===_0x58ca7d['root']&&pt(_0x5d2f9a['path'],_0x58ca7d['path']);}function tg(_0x503b93){_0x409390(_0x503b93,_0x97fcd6=>('main'==_0x97fcd6['root']?(_0x97fcd6['rootMain']=!0x0,delete _0x97fcd6['root']):'$graveyard'==_0x97fcd6['root']&&(_0x97fcd6['rootGraveyard']=!0x0,delete _0x97fcd6['root']),_0x97fcd6));}function _0x305cf9(_0x5a23c9){_0x409390(_0x5a23c9,_0x120e2a=>(_0x120e2a['rootMain']?(_0x120e2a['root']='main',delete _0x120e2a['rootMain']):_0x120e2a['rootGraveyard']&&(_0x120e2a['root']='$graveyard',delete _0x120e2a['rootGraveyard']),_0x120e2a));}function _0x409390(_0x537597,_0x22bec1){for(const _0x324d34 in _0x537597){const _0x2a0c3c=_0x537597[_0x324d34];'nodes'!==_0x324d34&&_0x114102(_0x2a0c3c)&&(_0x2a0c3c['path']&&(_0x2a0c3c['root']||_0x2a0c3c['rootMain']||_0x2a0c3c['rootGraveyard'])?_0x537597[_0x324d34]=_0x22bec1(_0x2a0c3c):_0x409390(_0x2a0c3c,_0x22bec1));}return _0x537597;}class OperationCompressor{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x4aaeaf,_0x4d1962,_0x1d16d4){this['_id']=_0x4aaeaf,this['_operationName']=_0x4d1962,this['_protobufDescriptor']=_0x1d16d4;}['compress'](_0x3746b2,_0x3bb8e5){const _0x416926=_0x3bb8e5['operations'][_0x3bb8e5['index']++];return tg(_0x416926),_0x3746b2['buffers']['push'](this['_protobufDescriptor']['compress'](_0x416926)),_0x3746b2['types']['push'](this['_id']),!0x0;}['decompress'](_0x2e254b,_0xd3d52){_0xd3d52['typeIndex']++;const _0x3fd23c=_0xd3d52['buffers'][_0xd3d52['bufferIndex']++],_0x17cb0d=this['_protobufDescriptor']['decompress'](_0x3fd23c);_0x305cf9(_0x17cb0d),_0x17cb0d['__className']=this['_operationName'],_0x2e254b['push'](_0x17cb0d);}}class AttributeOperationCompressor extends OperationCompressor{['compress'](_0x5e055f,_0x58f5d6){const _0x1aafee=_0x58f5d6['operations'][_0x58f5d6['index']++];return this['_serializeOneOf']('oldValue',_0x1aafee),this['_serializeOneOf']('newValue',_0x1aafee),tg(_0x1aafee),_0x5e055f['buffers']['push'](this['_protobufDescriptor']['compress'](_0x1aafee)),_0x5e055f['types']['push'](this['_id']),!0x0;}['decompress'](_0x22f52d,_0x4147ef){_0x4147ef['typeIndex']++;const _0x54b182=_0x4147ef['buffers'][_0x4147ef['bufferIndex']++],_0x478c68=this['_protobufDescriptor']['decompress'](_0x54b182);this['_deserializeOneOf']('oldValue',_0x478c68),this['_deserializeOneOf']('newValue',_0x478c68),_0x305cf9(_0x478c68),_0x478c68['__className']=this['_operationName'],_0x22f52d['push'](_0x478c68);}['_serializeOneOf'](_0x474870,_0x4ebf71){const _0x427dac=_0x4ebf71[_0x474870];'boolean'==typeof _0x427dac?_0x4ebf71[_0x474870+'Boolean']=_0x427dac:_0x4ebf71[_0x474870+'Json']=JSON['stringify'](_0x427dac);}['_deserializeOneOf'](_0x574e98,_0x5577e3){const _0x3576be=_0x574e98+'Json';_0x5577e3[_0x3576be]?(_0x5577e3[_0x574e98]=JSON['parse'](_0x5577e3[_0x3576be]),delete _0x5577e3[_0x3576be]):(_0x5577e3[_0x574e98]=_0x5577e3[_0x574e98+'Boolean'],delete _0x5577e3[_0x574e98+'Boolean']);}}class InsertOperationCompressor extends OperationCompressor{['compress'](_0x3b68cf,_0x3ad812){const _0x1d68cd=_0x3ad812['operations'][_0x3ad812['index']++];return this['_serializeNodesAttributes'](_0x1d68cd['nodes']),tg(_0x1d68cd),_0x3b68cf['buffers']['push'](this['_protobufDescriptor']['compress'](_0x1d68cd)),_0x3b68cf['types']['push'](this['_id']),!0x0;}['decompress'](_0x264a21,_0x31173b){_0x31173b['typeIndex']++;const _0x3cb9db=_0x31173b['buffers'][_0x31173b['bufferIndex']++],_0x3c3964=this['_protobufDescriptor']['decompress'](_0x3cb9db);_0x3c3964['nodes']||(_0x3c3964['nodes']=[]),this['_deserializeNodesAttributes'](_0x3c3964['nodes']),_0x305cf9(_0x3c3964),_0x3c3964['__className']=this['_operationName'],_0x264a21['push'](_0x3c3964);}['_serializeNodesAttributes'](_0x4f6843){for(const _0x3c19b7 of _0x4f6843){if(_0x3c19b7['attributes']){const _0x62f5a7=_0x3c19b7['attributes'];this['_areValuesBoolean'](_0x62f5a7)?_0x3c19b7['attributesBoolean']=_0x62f5a7:_0x3c19b7['attributesJson']=JSON['stringify'](_0x62f5a7);}_0x3c19b7['children']&&this['_serializeNodesAttributes'](_0x3c19b7['children']);}}['_deserializeNodesAttributes'](_0x112f16){for(const _0x1f3319 of _0x112f16)(_0x1f3319['attributesBoolean']||_0x1f3319['attributesJson'])&&(_0x1f3319['attributesBoolean']?(_0x1f3319['attributes']=_0x1f3319['attributesBoolean'],delete _0x1f3319['attributesBoolean']):(_0x1f3319['attributes']=JSON['parse'](_0x1f3319['attributesJson']),delete _0x1f3319['attributesJson'])),_0x1f3319['children']&&this['_deserializeNodesAttributes'](_0x1f3319['children']);}['_areValuesBoolean'](_0x17443d){return Object['keys'](_0x17443d)['every'](_0x22ec0e=>'boolean'==typeof _0x17443d[_0x22ec0e]);}}class MarkerOperationCompressor extends OperationCompressor{['decompress'](_0x4022b5,_0x31330f){super['decompress'](_0x4022b5,_0x31330f);const _0x238f29=_0x4022b5[_0x4022b5['length']-0x1];_0x238f29['oldRange']||(_0x238f29['oldRange']=null),_0x238f29['newRange']||(_0x238f29['newRange']=null);}}class NoOperationCompressor extends OperationCompressor{['compress'](_0x3eec7a,_0x22343c){return _0x22343c['index']++,_0x3eec7a['types']['push'](this['_id']),!0x0;}['decompress'](_0x4b5c33,_0xd780b8){_0xd780b8['typeIndex']++,_0x4b5c33['push']({'__className':this['_operationName']});}}class AnnotationMarkerOperationCompressor extends MarkerOperationCompressor{['_omittedNamespace'];constructor(_0x3455ba,_0x1b0498,_0x1edc5d,_0x1fd0db){super(_0x3455ba,_0x1b0498,_0x1edc5d),this['_omittedNamespace']=_0x1fd0db+':';}['compress'](_0x8cd27d,_0x2136f4){const _0x304f2f=_0x2136f4['operations'][_0x2136f4['index']];return!('MarkerOperation'!=_0x304f2f['__className']||!_0x304f2f['name']['startsWith'](this['_omittedNamespace']))&&(_0x304f2f['name']=_0x304f2f['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x8cd27d,_0x2136f4),!0x0);}['decompress'](_0x45a8a0,_0x3eff53){super['decompress'](_0x45a8a0,_0x3eff53);const _0x2204c8=_0x45a8a0[_0x45a8a0['length']-0x1];_0x2204c8['name']=this['_omittedNamespace']+_0x2204c8['name'];}}class ActionCompressor{['_id'];['_context'];constructor(_0x3a2dd0,_0x606cbc){this['_id']=_0x3a2dd0,this['_context']=_0x606cbc;}['compress'](_0x2e74ef,_0x2b24c0){let _0x51f2f1,_0x4d587c=_0x2b24c0['operations'][_0x2b24c0['index']],_0x2d9c7f=_0x2b24c0['operations'][_0x2b24c0['index']+0x1];for(;_0x2d9c7f&&this['_compareOperations'](_0x4d587c,_0x2d9c7f);)_0x51f2f1?(_0x51f2f1=this['_combineNext'](_0x4d587c,_0x51f2f1),_0x2e74ef['types']['push'](0x0)):(_0x51f2f1=_0x30292a(_0x4d587c),_0x2e74ef['types']['push'](this['_id'])),_0x2b24c0['index']++,_0x4d587c=_0x2b24c0['operations'][_0x2b24c0['index']],_0x2d9c7f=_0x2b24c0['operations'][_0x2b24c0['index']+0x1];return!!_0x51f2f1&&(_0x51f2f1=this['_combineNext'](_0x2b24c0['operations'][_0x2b24c0['index']++],_0x51f2f1),_0x2e74ef['types']['push'](0x0),_0x2e74ef['buffers']['push'](this['_compressSingleOperation'](_0x51f2f1)),!0x0);}['decompress'](_0x1d2e52,_0x5144ea){const _0x29e44e=this['_decompressSingleOperation'](_0x5144ea);for(;0x0==_0x5144ea['types'][_0x5144ea['typeIndex']];)_0x5144ea['typeIndex']++,_0x1d2e52['push'](this['_splitCurrent'](_0x29e44e));_0x1d2e52['push'](_0x29e44e);}}class TypingActionCompressor extends ActionCompressor{['_combineNext'](_0x5ed16e,_0x352652){return _0x352652['nodes'][0x0]['data']+=_0x5ed16e['nodes'][0x0]['data'],_0x352652;}['_splitCurrent'](_0x58135d){const _0x51ae85=_0x30292a(_0x58135d),_0x25f948=_0x51ae85['nodes'][0x0],_0x31ceca=_0x58135d['nodes'][0x0],_0x1761b9=_0x31ceca['data'][Symbol['iterator']]()['next']()['value'],_0x4f61ad=_0x1761b9['length'];return _0x25f948['data']=_0x1761b9,_0x31ceca['data']=_0x31ceca['data']['substr'](_0x4f61ad),_0x58135d['position']=_0x36d0f3(_0x58135d['position'],_0x4f61ad),_0x51ae85;}['_compareOperations'](_0x1d6af2,_0x27d473){if(this['_checkOperation'](_0x1d6af2)&&this['_checkOperation'](_0x27d473)){const _0x2dbfc0=_0x1d6af2['nodes'][0x0]['data']['length'],_0x1575c2=_0x17c860(_0x36d0f3(_0x1d6af2['position'],_0x2dbfc0),_0x27d473['position']),_0x105f1d=_0x1d6af2['nodes'][0x0],_0xe91133=_0x27d473['nodes'][0x0];return _0x1575c2&&this['_compareAttributes'](_0x105f1d,_0xe91133);}return!0x1;}['_compressSingleOperation'](_0x2a2396){const _0x45e6e6={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x45e6e6,{'operations':[_0x2a2396],'index':0x0}),_0x45e6e6['buffers'][0x0];}['_decompressSingleOperation'](_0x1d27ca){const _0x19b18c=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x19b18c,_0x1d27ca),_0x19b18c[0x0];}['_checkOperation'](_0x168233){return'InsertOperation'==_0x168233['__className']&&0x1==_0x168233['nodes']['length']&&_0x168233['nodes'][0x0]['data']&&!_0x168233['wasUndone']&&0x1==Array['from'](_0x168233['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x1d3005,_0x2250a0){const _0x14f592=Object['keys'](_0x1d3005['attributes']||{}),_0x22adb6=Object['keys'](_0x2250a0['attributes']||{});return _0x14f592['length']===_0x22adb6['length']&&_0x14f592['every'](_0x370b91=>_0x2250a0['attributes'][_0x370b91]&&_0x2250a0['attributes'][_0x370b91]===_0x1d3005['attributes'][_0x370b91]);}}class DeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x5df9c0,_0x3fac46){return _0x3fac46['howMany']++,_0x3fac46['sourcePosition']=_0x30292a(_0x5df9c0['sourcePosition']),_0x3fac46;}['_splitCurrent'](_0x50d335){const _0x520455=_0x30292a(_0x50d335);return _0x50d335['howMany']--,_0x520455['howMany']=0x1,_0x520455['sourcePosition']=_0x36d0f3(_0x520455['sourcePosition'],_0x50d335['howMany']),_0x520455;}['_compareOperations'](_0x5b2fc0,_0x2e723f){return!(!this['_checkOperation'](_0x5b2fc0)||!this['_checkOperation'](_0x2e723f))&&(_0x17c860(_0x36d0f3(_0x5b2fc0['sourcePosition'],-0x1),_0x2e723f['sourcePosition'])&&_0x17c860(_0x5b2fc0['targetPosition'],_0x2e723f['targetPosition']));}['_compressSingleOperation'](_0xf2119){const _0x3937d4={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x3937d4,{'operations':[_0xf2119],'index':0x0}),_0x3937d4['buffers'][0x0];}['_decompressSingleOperation'](_0x4dbda2){const _0xc6ce8a=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0xc6ce8a,_0x4dbda2),_0xc6ce8a[0x0];}['_checkOperation'](_0x1d15d2){return'MoveOperation'==_0x1d15d2['__className']&&'$graveyard'==_0x1d15d2['targetPosition']['root']&&0x1==_0x1d15d2['howMany']&&!_0x1d15d2['wasUndone'];}}class ForwardDeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x382798,_0x3a463b){return _0x3a463b['howMany']++,_0x3a463b;}['_splitCurrent'](_0x54fa90){const _0x6546dc=_0x30292a(_0x54fa90);return _0x6546dc['howMany']=0x1,_0x54fa90['howMany']--,_0x6546dc;}['_compareOperations'](_0x4a7389,_0x88104d){return!(!this['_checkOperation'](_0x4a7389)||!this['_checkOperation'](_0x88104d))&&(_0x17c860(_0x4a7389['sourcePosition'],_0x88104d['sourcePosition'])&&_0x17c860(_0x4a7389['targetPosition'],_0x88104d['targetPosition']));}['_compressSingleOperation'](_0xb86d09){const _0x5376a2={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x5376a2,{'operations':[_0xb86d09],'index':0x0}),_0x5376a2['buffers'][0x0];}['_decompressSingleOperation'](_0x3c0771){const _0x5a871c=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x5a871c,_0x3c0771),_0x5a871c[0x0];}['_checkOperation'](_0x25ab99){return'MoveOperation'==_0x25ab99['__className']&&'$graveyard'==_0x25ab99['targetPosition']['root']&&0x1==_0x25ab99['howMany']&&!_0x25ab99['wasUndone'];}}class UserSelectionActionCompressor extends ActionCompressor{['compress'](_0x1a3b00,_0x5e873f){if(!this['_compareOperations'](_0x5e873f['operations'][_0x5e873f['index']],_0x5e873f['operations'][_0x5e873f['index']+0x1]))return!0x1;const _0x12451e=_0x5e873f['operations'][_0x5e873f['index']++];return _0x12451e['oldRange']=null,_0x12451e['newRange']&&_0x17c860(_0x12451e['newRange']['start'],_0x12451e['newRange']['end'])&&(_0x12451e['newRange']['end']=null),_0x5e873f['index']++,_0x1a3b00['types']['push'](this['_id']),_0x1a3b00['types']['push'](0x0),_0x1a3b00['buffers']['push'](this['_compressSingleOperation'](_0x12451e)),!0x0;}['decompress'](_0x168cf6,_0x24b756){const _0x50dcb6=this['_decompressSingleOperation'](_0x24b756);_0x50dcb6['newRange']&&!_0x50dcb6['newRange']['end']&&(_0x50dcb6['newRange']['end']=_0x30292a(_0x50dcb6['newRange']['start']));const _0x5de1f7=_0x30292a(_0x50dcb6);_0x5de1f7['newRange']&&(_0x5de1f7['newRange']['start']['stickiness']='toNone',_0x5de1f7['newRange']['end']=_0x30292a(_0x5de1f7['newRange']['start'])),_0x5de1f7['name']='user:position:'+_0x5de1f7['name']['split'](':')[0x2],_0x24b756['typeIndex']++,_0x168cf6['push'](_0x50dcb6),_0x168cf6['push'](_0x5de1f7);}['_compressSingleOperation'](_0xdf87d0){const _0x2f0223={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x2f0223,{'operations':[_0xdf87d0],'index':0x0}),_0x2f0223['buffers'][0x0];}['_decompressSingleOperation'](_0x5aca7d){const _0x1d5bf9=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x1d5bf9,_0x5aca7d),_0x1d5bf9[0x0];}['_compareOperations'](_0xe7c664,_0x453fe4){return!(!_0xe7c664||!_0x453fe4)&&('MarkerOperation'==_0xe7c664['__className']&&'MarkerOperation'==_0x453fe4['__className']&&!(!_0xe7c664['name']['startsWith']('user:')||!_0x453fe4['name']['startsWith']('user:')||_0xe7c664['name']==_0x453fe4['name']));}}class _0x11c1ed{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new ProtobufFactory();const _0x5759ce=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',_0x5759ce,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new AnnotationMarkerOperationCompressor(0x13,'MarkerOperation',_0x5759ce,'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'](_0x2a8c56){if(!_0x2a8c56||!_0x2a8c56[0x0])throw new _0x5f37cd['CKEditorError']('no-operations-provided',this);const _0xb79582={'operations':_0x2a8c56,'index':0x0},_0x7935f9={'types':[],'buffers':[],'baseVersion':_0x2a8c56[0x0]['baseVersion']};for(;_0xb79582['index']<_0xb79582['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0x7935f9,_0xb79582))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0x7935f9,_0xb79582))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0x7935f9,_0xb79582))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x7935f9,_0xb79582))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x7935f9,_0xb79582))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x7935f9,_0xb79582))continue;const _0x437994=_0xb79582['operations'][_0xb79582['index']]['__className'];this['_getCompressorByName'](_0x437994)['compress'](_0x7935f9,_0xb79582);}return _0x7935f9;}['decompress'](_0x110896){const _0xa3f553=[],_0x3c8411={'types':_0x110896['types'],'buffers':_0x110896['buffers'],'baseVersion':_0x110896['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0x3c8411['typeIndex']<_0x3c8411['types']['length'];){const _0x239b78=_0x3c8411['types'][_0x3c8411['typeIndex']],_0x1131a8=this['_compressorById']['get'](_0x239b78);if(!_0x1131a8)throw new _0x5f37cd['CKEditorError']('decompress-compressor-not-found',this,{'type':_0x239b78});_0x1131a8['decompress'](_0xa3f553,_0x3c8411);}return _0xa3f553['forEach']((_0x48d9f1,_0x2d4cac)=>_0x48d9f1['baseVersion']=_0x110896['baseVersion']+_0x2d4cac),_0xa3f553;}['_getCompressorByName'](_0x8603d1){return this['_compressorByName']['get'](_0x8603d1);}['_registerOperationCompressor'](_0xd7f527,_0x2822be,_0x2baa70){const _0x19d99f=new _0x2baa70(_0xd7f527,_0x2822be,this['_protobufFactory']['getDescriptor'](_0x2822be));this['_registerCompressor'](_0xd7f527,_0x2822be,_0x19d99f);}['_registerActionCompressor'](_0x2fbda5,_0x340bbc,_0x4801c0){const _0x4909ae=new _0x4801c0(_0x2fbda5,this);this['_registerCompressor'](_0x2fbda5,_0x340bbc,_0x4909ae);}['_registerCompressor'](_0xa5aa24,_0x574e3a,_0x2b114b){this['_compressorById']['set'](_0xa5aa24,_0x2b114b),this['_compressorByName']['set'](_0x574e3a,_0x2b114b);}}let _0x1ea1fc=0x1;class RealTimeCollaborationClient extends _0x5f37cd['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,_0x59e0d0,_0x5dc1ed,_0x5f37cd['PendingActions'],_0x4e0926,_0x5f37cd['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 _0x58ce85=this['serverHistory']['getOperations']();for(let _0x9b48e0=_0x58ce85['length']-0x1;_0x9b48e0>=0x0;_0x9b48e0--){const _0x50ea10=_0x58ce85[_0x9b48e0];if(!this['_disconnectionOperations']['has'](_0x50ea10))return _0x50ea10['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0x3fe615){if(super(_0x3fe615),this['_offset']=0x0,this['sessionId']=null,this['serverHistory']=new _0x5f37cd['History'](),this['editor']['config']['define']('collaboration',{}),this['_channelId']=this['editor']['config']['get']('collaboration.channelId'),!this['_channelId'])throw new _0x5f37cd['CKEditorError']('collaboration-missing-channelid',this);const _0x1b5ceb=_0x3fe615['config']['get']('cloudServices.bundleVersion')||_0x5f37cd['version'];this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0x1b5ceb,this['_channelId']),this['_document']=this['editor']['model']['document'],this['_compressor']=new _0x11c1ed(),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 _0x43a6e7=this['editor'],_0x4d1bb6=_0x43a6e7['plugins']['get'](_0x4e0926),_0xdaafee=_0x43a6e7['plugins']['get'](WebSocketGateway);this['listenTo'](_0x4d1bb6,'getOperationAuthor',(_0x18b1c8,_0x26d13e)=>{const _0x3ae7b1=_0x26d13e[0x0];_0x3ae7b1['_authorId']&&(_0x18b1c8['return']=_0x4d1bb6['getUser'](_0x3ae7b1['_authorId']),_0x18b1c8['stop']()),null===_0x3ae7b1['_authorId']&&(_0x18b1c8['return']=null,_0x18b1c8['stop']());},{'priority':'high'}),this['listenTo'](_0x43a6e7['model']['document']['selection'],'change:range',(_0xea4ca2,_0x1f3ab1)=>{_0x1f3ab1['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0x43a6e7['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0x43a6e7['model']['on']('applyOperation',(_0x22e5d8,_0x5aad35)=>{const _0x5141b7=_0x5aad35[0x0];_0x5141b7['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x5141b7),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['bind']('_isEditingAllowed')['to'](_0xdaafee,'state',this,'_hasSynchronizationProblem',(_0x5a159a,_0x71113d)=>'connected'===_0x5a159a&&!_0x71113d),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0x43a6e7['disableReadOnlyMode']('rtc-offline'):_0x43a6e7['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0x43a6e7['disableReadOnlyMode']('rtc-offline'):_0x43a6e7['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async['reconnect'](){const _0x2478c5=this['editor']['plugins']['get'](_0x59e0d0),_0x2ba30a=this['editor']['plugins']['get'](WebSocketGateway);try{this['_isPendingUpdate']=!0x0,_0x2478c5['unregister'](this['_channelId']);const _0x246a56=await this['_service']['reconnect'](_0x2ba30a['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x246a56)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x515678=await this['_service']['getConnectedSessions']();_0x2478c5['register'](this['_channelId'],_0x515678),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0x1362eb){if(function(_0x5a2df8){return'404'===_0x5a2df8['code'];}(_0x1362eb)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(function(_0x11f113){return'409'===_0x11f113['code'];}(_0x1362eb)){const _0x5cc215=_0x299820(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'](_0x5cc215);}else{if(!(_0x1362eb instanceof ReconnectionError))throw _0x1362eb;this['_handleReconnectionError']();}}}}['destroy'](){const _0x566639=this['editor']['plugins']['get'](WebSocketGateway),_0x566ef6=this['editor']['plugins']['get'](_0x59e0d0);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0x566ef6['channelSessions']['has'](this['_channelId'])&&_0x566ef6['unregister'](this['_channelId']),_0x566639['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async['_handleReconnectionResponse'](_0x223c19){if(this['sessionId']!==_0x223c19['sessionId']&&this['_lastSyncedOperationId']!==_0x223c19['lastOperationId'])throw new ReconnectionError();return this['sessionId']=_0x223c19['sessionId'],this['_handleServerResponse']([],{..._0x223c19,'wereChangesApplied':!0x1,'data':_0x223c19['data']},'reconnect');}async['_connectService'](_0xf2bea6,_0x3bac97=!0x1){const {connection:_0x46fdd4}=this['editor']['plugins']['get'](WebSocketGateway);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0x46fdd4,this['_channelId'])['then'](_0x5bb3b0=>this['_initSessionsHandling'](_0x5bb3b0))['catch'](_0x2bb9b2=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0x2bb9b2);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0x10af00,_0x356c1c)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0x356c1c);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_isConnected']=!0x1;});const _0x1d8b9f=this['_operationIdentifier']['getIdOfTheLastOperation'](_0xf2bea6);this['_isPendingUpdate']=!0x0;const _0x4fe465=await this['_service']['connect'](_0x46fdd4,this['_compressOperations'](_0xf2bea6),_0x1d8b9f);if(this['sessionId']=_0x4fe465['sessionId'],_0x3bac97){if(!_0x4fe465['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x4fe465['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0xf2bea6,_0x4fe465,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x4fe465,_0xf2bea6);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}['_handleSendingSelectionMarkers'](){const _0x5e5e66=this['editor']['plugins']['get'](_0x59e0d0),_0x8d11af=this['editor']['plugins']['get'](_0x5dc1ed),_0xead24e=_0x5e5e66['channelSessions']['get'](this['_channelId']);_0xead24e&&_0xead24e['length']>0x1?_0x8d11af['createUserMarkerOperations']():this['listenTo'](_0x5e5e66,'sessionAdd:'+this['_channelId'],()=>{0x2===_0x5e5e66['channelSessions']['get'](this['_channelId'])['length']&&_0x8d11af['createUserMarkerOperations']();});}async['_handleReceivedOperations'](_0x2b21c9,_0x13e949,_0x4b9323,_0x4f01b2){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x13e949){const _0xb1db98=this['_decompressOperations'](_0x4b9323,_0x4f01b2);await this['_fetchMissingUsers'](_0xb1db98),this['_handleExternalOperations'](_0xb1db98,_0x13e949,_0x4b9323['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this['_disconnectService']();const {locale:_0x34e54c}=this['editor'];let _0x380dee;try{_0x380dee=await this['_service']['getDocumentDetails']();}catch{const _0x58b8a6=_0x299820(_0x34e54c,'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'](_0x58b8a6);}const _0x4552ee=_0x380dee['currentDocumentSession']||_0x380dee['lastDocumentSession'];if(this['_lastSyncedOperationId']!==_0x4552ee['lastOperationId']){const _0x40f40a=_0x299820(_0x34e54c,'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'](_0x40f40a);}await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);}['_disconnectService'](){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x5b949e){const _0x5874de=this['editor']['plugins']['get'](_0x59e0d0);this['listenTo'](_0x5874de,'sessionAdd:'+this['_channelId'],(_0x44741f,{session:_0x3dc32f})=>{if(_0x3dc32f['id']===_0x5874de['mySessionId']){_0x44741f['off']();const _0xd2268c=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0x20f3c1=_0x3dc32f['permissions'];_0xd2268c&&_0xd2268c['isEnabled']&&(_0x20f3c1=_0x20f3c1['filter'](_0x17419e=>'document:write'!==_0x17419e)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0x20f3c1,this['_channelId']);}}),_0x5874de['register'](this['_channelId'],_0x5b949e);}['_initThrowingOnDataSet'](){const _0x50f427=this['editor']['data']['set'];this['editor']['data']['set']=(..._0x2151aa)=>{if(!_0x2151aa[_0x2151aa['length']-0x1]['suppressErrorInCollaboration'])throw new _0x5f37cd['CKEditorError']('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0x50f427['apply'](this['editor']['data'],_0x2151aa);};}['_setUpDataInit'](){this['editor']['data']['on']('init',(_0x2d19c5,[_0x176187])=>{if(this['_document']['version'])throw new _0x5f37cd['CKEditorError']('realtimecollaborationclient-init-document-already-initialized',this);_0x2d19c5['stop'](),this['_setPendingAction']();const _0x12a67a=Object['fromEntries'](Object['entries'](this['editor']['config']['get']('roots')||{})['filter'](([,_0x490d9d])=>!_0x490d9d['lazyLoad'])['map'](([_0x86c7d,_0x171be0])=>[_0x86c7d,_0x171be0['modelAttributes']||{}])),_0x580b70=this['_getOperationsFromInitData'](_0x176187,_0x12a67a);0x0==_0x580b70['length']&&_0x580b70['push'](new _0x5f37cd['NoOperation'](0x0)),_0x2d19c5['return']=this['_connectService'](_0x580b70)['then'](()=>{this['editor']['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x3725b5=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x3725b5))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0x3fce90,[_0x387a97,_0x17b129])=>{_0x3fce90['stop']();const _0x31ea71=this['editor']['model']['document']['getRoot'](_0x387a97);if(!this['_knownRootNames']['has'](_0x387a97)){const _0x1fc732=_0x17b129&&_0x17b129['data']?_0x17b129['data']:'',_0x727d6c=_0x17b129&&_0x17b129['attributes']?_0x17b129['attributes']:{};await this['_loadRoot'](_0x387a97,_0x1fc732,_0x727d6c);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x31ea71['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0x31ea71);});},{'priority':'high'});}async['_fetchMissingUsers'](_0x329ccd){const _0x386fc8=this['editor']['plugins']['get'](_0x4e0926),{connection:_0x105f58}=this['editor']['plugins']['get'](WebSocketGateway),_0x23e112=new Set();for(const _0x15a04f of _0x329ccd){const _0x3e088b=_0x15a04f['_authorId'];_0x3e088b&&!_0x386fc8['getUser'](_0x3e088b)&&_0x23e112['add'](_0x3e088b);}if(0x0===_0x23e112['size'])return;const _0x54323b=await _0x4fb79d['getMany'](_0x105f58,Array['from'](_0x23e112));for(const _0x7c5f6c of _0x54323b)_0x386fc8['getUser'](_0x7c5f6c['id'])||_0x386fc8['addUser'](_0x7c5f6c);}['_getOperationsFromInitData'](_0x13f98d,_0x2b4391={}){const _0x5e80a4=this['editor']['model'],_0x5d69e0=[];let _0x1a379b=0x0;const _0x23574d='string'==typeof _0x13f98d?{'main':_0x13f98d}:_0x13f98d;for(const _0x55e110 of Object['keys'](_0x23574d)){if(!this['_document']['roots']['has'](_0x55e110))throw new _0x5f37cd['CKEditorError']('realtimecollaborationclient-init-non-existent-root',this);const _0x3a1300=this['_document']['getRoot'](_0x55e110),_0x5f52b3=this['editor']['data']['parse'](_0x23574d[_0x55e110],_0x3a1300),_0x20e01f=new _0x5f37cd['InsertOperation'](_0x5e80a4['createPositionAt'](_0x3a1300,0x0),_0x5f52b3,_0x1a379b++);_0x5d69e0['push'](_0x20e01f);for(const [_0x1d17bc,_0x153783]of _0x5f52b3['markers']){const _0x4c9760=_0x5e80a4['createRange'](_0x5e80a4['createPositionFromPath'](_0x3a1300,_0x153783['start']['path']['slice']()),_0x5e80a4['createPositionFromPath'](_0x3a1300,_0x153783['end']['path']['slice']())),_0x32b6d3=new _0x5f37cd['MarkerOperation'](_0x1d17bc,null,_0x4c9760,_0x5e80a4['markers'],!0x0,_0x1a379b++);_0x5d69e0['push'](_0x32b6d3);}}if(_0x2b4391)for(const [_0x55ea4e,_0x302981]of Object['entries'](_0x2b4391)){const _0x4963e5=_0x5e80a4['document']['getRoot'](_0x55ea4e);if(!_0x4963e5)throw new _0x5f37cd['CKEditorError']('multi-root-editor-root-attributes-no-root',null);for(const [_0x1dbdc5,_0x19ce39]of Object['entries'](_0x302981))if(null!==_0x19ce39){const _0x4966a1=new _0x5f37cd['RootAttributeOperation'](_0x4963e5,_0x1dbdc5,null,_0x19ce39,_0x1a379b++);_0x5d69e0['push'](_0x4966a1);}}return _0x5d69e0;}async['_loadRoot'](_0x25fe4d,_0x495f11,_0x578518){this['_getOperationsFromInitData']({[_0x25fe4d]:_0x495f11},{[_0x25fe4d]:_0x578518})['forEach']((_0x2c3ea5,_0x1f22f3)=>{_0x2c3ea5['baseVersion']=this['_document']['version']+_0x1f22f3,_0x2c3ea5['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x2c3ea5);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async['_handleInitialConnectionData'](_0x125946,_0x1d5602){let _0x2c208f;this['_offset']=_0x125946['offset'];const _0x201a7a=_0x125946['wereChangesApplied']&&!_0x125946['initData'],_0x43070c=_0x201a7a?0x0:_0x125946['data']['baseVersion'];if(_0x1d5602['forEach'](_0x57322c=>{_0x57322c['_isInit']=!0x0,_0x57322c['createdAt']=_0x125946['sessionCreatedAt'],_0x57322c['_authorId']=null;}),_0x201a7a)_0x2c208f=_0x1d5602,this['_applyOperationsSet'](_0x2c208f,_0x201a7a);else{if(_0x125946['initData']){const _0x37e4b2=this['_getOperationsFromInitData'](_0x125946['initData']);this['_document']['history']['version']=-_0x37e4b2['length'],_0x37e4b2['forEach'](_0x537dd7=>{_0x537dd7['baseVersion']-=_0x37e4b2['length'],_0x537dd7['createdAt']=_0x125946['sessionCreatedAt'],_0x537dd7['_isInit']=!0x0,_0x537dd7['_authorId']=null;}),this['_applyOperationsSet'](_0x37e4b2,!0x0),this['serverHistory']['version']=-_0x37e4b2['length']+this['_offset'],this['_updateServerHistory'](_0x37e4b2);}this['_document']['history']['version']=_0x43070c,_0x2c208f=this['_decompressOperations'](_0x125946['data'],_0x125946['metadata']),await this['_fetchMissingUsers'](_0x2c208f),this['_applyOperationsSet'](_0x2c208f,_0x201a7a);}_0x125946['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x2c208f,_0x125946['lastOperationId']),this['_lastSyncedOperationId']=_0x125946['lastOperationId']),this['serverHistory']['version']=_0x43070c+this['_offset'],this['_updateServerHistory'](_0x2c208f),_0x1d5602['filter'](_0x29470f=>{const _0x4ce1b1=this['_getAffectedRoot'](_0x29470f);return _0x4ce1b1&&!this['_knownRootNames']['has'](_0x4ce1b1);})['forEach']((_0x3180d0,_0x2b94e0)=>{_0x3180d0['baseVersion']=this['_document']['version']+_0x2b94e0,this['_saveOperationInBuffer'](_0x3180d0);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0x3d0429,_0x38bda0){const _0x5d555c=_0x38bda0&&_0x38bda0['message'];if(_0x5d555c&&_0x5d555c['startsWith']('realtimecollaborationclient'))throw _0x38bda0;const _0x33c242=this['editor']['plugins']['get'](WebSocketGateway);throw this['_isPendingUpdate']=!0x0,_0x33c242['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new _0x5f37cd['CKEditorError'](_0x3d0429,this['editor'],_0x5d555c?{'originalError':_0x5d555c}:void 0x0);}['_saveOperationInBuffer'](_0x4b9f81){this['_knownOperations']['has'](_0x4b9f81)||(this['_knownOperations']['add'](_0x4b9f81),this['_bufferedOperations']['push'](_0x4b9f81),this['_pendingAction']||'marker'==_0x4b9f81['type']&&!_0x4b9f81['affectsData']||this['_setPendingAction']());}['_sendBufferedOperationsDelayed'](_0x26edf6=!0x1){!_0x26edf6&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0x4851eb=>{_0x4851eb&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0x2c7519=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,function(_0x5cca28){return _0x5cca28['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x5cca28['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0x5cca28['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}(_0x2c7519)||this['_crash'](_0x2c7519['message'],_0x2c7519);});},this['_currentBufferDelay']));}['_waitUntilSynced'](){return new Promise(_0x599255=>{this['on']('change:_isPendingUpdate',()=>{_0x599255();});});}async['_sendBufferedOperations'](){const _0x5a15a4=this['editor']['plugins']['get'](_0x5dc1ed);if(this['_shouldSendSelectionUpdate']()&&(_0x5a15a4['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x5794e2=[...this['_bufferedOperations']];for(const _0x12651b of _0x5794e2)_0x12651b['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x12651b);const _0x46d712=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x5794e2),_0x2b9f94=_0x1ea1fc++,_0x23d4bb=this['_compressOperations'](_0x5794e2),_0x32945c=await this['_service']['sendOperations'](_0x23d4bb,_0x23d4bb['baseVersion'],_0x46d712);try{return await this['_handleServerResponse'](_0x5794e2,_0x32945c,_0x2b9f94);}catch(_0x2124e2){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0x2124e2);}}async['_handleServerResponse'](_0x4f2f92,_0x452812,_0x4fe5f3){if('error'in _0x452812)throw _0x452812['error'];let _0x574ae0=!0x1;if(_0x452812['wereChangesApplied']){_0x452812['lastOperationId']&&(this['_lastSyncedOperationId']=_0x452812['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x4ae241=>!_0x4f2f92['includes'](_0x4ae241));for(const _0x200ee5 of _0x4f2f92)_0x200ee5['createdAt']='lastOperationAcceptedAt'in _0x452812&&_0x452812['lastOperationAcceptedAt']||void 0x0;_0x20af93(_0x4f2f92,_0x452812['version']-_0x4f2f92['length']),this['_updateServerHistory'](_0x4f2f92);const _0x1ddd3d=_0x4f2f92['filter'](_0x42e627=>{if(!_0x42e627['_isInit'])return!0x1;const _0x2183a3=this['_getAffectedRoot'](_0x42e627);return _0x2183a3&&!this['_knownRootNames']['has'](_0x2183a3);});_0x20af93(_0x1ddd3d,this['_document']['version']),this['_applyOperationsSet'](_0x1ddd3d),_0x574ae0=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0x356681=this['_decompressOperations'](_0x452812['data'],_0x452812['metadata'])['filter'](_0x390e74=>_0x390e74['baseVersion']>=this['_lastServerVersion']);_0x356681['forEach'](_0x2a1787=>this['_addKnownRoot'](_0x2a1787)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0xb7e041=>!_0xb7e041['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0xb7e041))),this['_bufferedOperations']['length']&&_0x20af93(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0x356681),_0x574ae0=this['_handleExternalOperations'](_0x356681,_0x452812['version'],_0x452812['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0x574ae0?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}['_handleExternalOperations'](_0x504388,_0x6b8bcd,_0x4f1b7a){try{const _0x55654c={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x32769a,operationsB:_0x216d6b,originalOperations:_0x550c16}=_0x5f37cd['transformOperationSets'](_0x504388,this['_bufferedOperations'],_0x55654c);_0x20af93(_0x32769a,this['_document']['version']),_0x20af93(_0x216d6b,_0x6b8bcd);for(const _0x1fc730 of _0x32769a){const _0x2d1e79=_0x550c16['get'](_0x1fc730);_0x1fc730['_authorId']=_0x2d1e79?_0x2d1e79['_authorId']:null;}_0x4f1b7a&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x504388,_0x4f1b7a),this['_lastSyncedOperationId']=_0x4f1b7a),this['_bufferedOperations']=[..._0x216d6b],this['_applyOperationsSet'](_0x32769a),this['_updateServerHistory'](_0x504388);}catch(_0x9796b4){return console['error'](_0x9796b4),!0x1;}return!0x0;}['_applyOperationsSet'](_0x455bd5,_0x38ebfa=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x520e40=>{for(const _0x587876 of _0x455bd5)this['_knownOperations']['add'](_0x587876),this['_addKnownRoot'](_0x587876),_0x520e40['batch']['addOperation'](_0x587876),this['editor']['model']['applyOperation'](_0x587876);});}['_addKnownRoot'](_0x24853f){const _0x1be4cf=this['_getAffectedRoot'](_0x24853f);_0x1be4cf&&this['_knownRootNames']['add'](_0x1be4cf);}['_getAffectedRoot'](_0x32eb10){let _0x28e059,_0x2979cd;switch(_0x32eb10['type']){case'insert':_0x28e059=_0x32eb10['position']['root'];break;case'marker':if(_0x2979cd=_0x32eb10['newRange'],!_0x2979cd)return null;_0x28e059=_0x2979cd['root'];break;case'addRootAttribute':_0x28e059=_0x32eb10['root'];break;case'addRoot':_0x28e059=_0x32eb10['affectedSelectable'];break;case'move':_0x28e059=_0x32eb10['targetPosition']['root'];break;default:return null;}return _0x28e059['rootName'];}['_updateServerHistory'](_0x46a5d3){_0x46a5d3['forEach'](_0x13f12a=>{const _0x14e925=_0x13f12a['clone']();_0x14e925['_authorId']=_0x13f12a['_authorId'],_0x14e925['_isInit']=!!_0x13f12a['_isInit'],_0x14e925['createdAt']=_0x13f12a['createdAt'],_0x14e925['baseVersion']+=this['_offset'],_0x13f12a['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x14e925),this['serverHistory']['addOperation'](_0x14e925);});}['_handleReconnectionError'](_0x5b4307){const _0x2c96d7=this['editor']['plugins']['get']('Notification'),_0x213206=this['editor']['locale'];_0x5b4307||(_0x5b4307=_0x299820(_0x213206,'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.')),_0x2c96d7['showWarning'](_0x5b4307,{'title':_0x299820(_0x213206,'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'](_0x5f37cd['PendingActions'])['add'](_0x299820(this['editor']['locale'],'PENDING_ACTION_SENDING_DATA')));}['_clearPendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get'](_0x5f37cd['PendingActions'])['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_compressOperations'](_0xe31a6e){const _0x1cead6=_0xe31a6e['map'](_0x443a9d=>_0x443a9d['toJSON']());return this['_compressor']['compress'](_0x1cead6);}['_decompressOperations'](_0x1fbbc4,_0x4d7efc){return this['_compressor']['decompress'](_0x1fbbc4)['map']((_0x17b633,_0x192fa1)=>{const _0x5df103='init'==_0x4d7efc[_0x192fa1]['type'];if('InsertOperation'==_0x17b633['__className']){const _0x42822=_0x17b633['position']['root'];!this['_document']['getRoot'](_0x42822)&&(this['_document']['createRoot']('$unknown',_0x42822)['_isAttached']=!0x1);}else{if('RootOperation'==_0x17b633['__className']){const _0x5cd0de=this['_document']['getRoot'](_0x17b633['rootName']);_0x5cd0de&&'$unknown'==_0x5cd0de['name']&&_0x17b633['elementName']!=_0x5cd0de['name']&&(_0x5cd0de['name']=_0x17b633['elementName']);}}const _0x303e33=_0x5f37cd['OperationFactory']['fromJSON'](_0x17b633,this['_document']);return _0x303e33['wasUndone']=_0x17b633['wasUndone'],_0x303e33['_isInit']=_0x5df103,_0x303e33['_authorId']=_0x5df103?null:_0x4d7efc[_0x192fa1]['userId'],_0x303e33['_isDisconnection']='cs:removeUser'===_0x4d7efc[_0x192fa1]['type'],_0x303e33['createdAt']=_0x4d7efc[_0x192fa1]['createdAt'],_0x303e33;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x3db753=this['editor']['plugins']['get'](_0x59e0d0)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x3db753&&_0x3db753['length']>0x1&&this['_hasSelectionChanged'];}['_shouldSendUpdate'](){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}}class ReconnectionError extends Error{}function _0x20af93(_0x1bb02b,_0x1d7640){for(const _0x2306da of _0x1bb02b)_0x2306da['baseVersion']=_0x1d7640++;}class OperationIdentifier{['_ignoredOperations'];['_operationToId'];constructor(_0x23bd97){this['_ignoredOperations']=_0x23bd97,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x524b5d){let _0x20e66c=_0x524b5d['length'];for(;_0x20e66c--;){const _0x409d87=_0x524b5d[_0x20e66c];if(!this['_ignoredOperations']['has'](_0x409d87)){if(!this['_operationToId']['has'](_0x409d87)){const _0x1607bd=_0x5f37cd['uid']()['slice'](0x1,0x12);this['_operationToId']['set'](_0x409d87,_0x1607bd);}return this['_operationToId']['get'](_0x409d87);}}}['setIdForTheLastOperation'](_0x3b1dbe,_0x34cf51){if(!_0x34cf51)return;let _0x195d21=_0x3b1dbe['length'];for(;_0x195d21--;){const _0x49f03a=_0x3b1dbe[_0x195d21];this['_ignoredOperations']['has'](_0x49f03a)||this['_operationToId']['set'](_0x49f03a,_0x34cf51);}}}class RealTimeCollaborativeEditing extends _0x5f37cd['Plugin']{static get['requires'](){return[RealTimeCollaborationClient];}static get['pluginName'](){return'RealTimeCollaborativeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x595165 extends _0x5f37cd['Command']{['_enabledCommands'];constructor(_0x5d4942,_0x979d8d){super(_0x5d4942),this['_enabledCommands']=_0x979d8d,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 _0x494821 of this['editor']['commands']['commands']())_0x494821['affectsData']&&!this['_enabledCommands']['has'](_0x494821)&&_0x494821['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x5768de of this['editor']['commands']['commands']())_0x5768de['affectsData']&&!this['_enabledCommands']['has'](_0x5768de)&&_0x5768de['clearForceDisabled']('TrackChangesCommand');}}class AcceptSuggestionCommand extends _0x5f37cd['Command']{['_suggestions'];constructor(_0x1ad1f7,_0x4d4e58){super(_0x1ad1f7),this['_suggestions']=_0x4d4e58,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x28700a){const _0x4fe1df=this['_suggestions']['get'](_0x28700a);if(!_0x4fe1df)throw new _0x5f37cd['CKEditorError']('track-changes-accept-suggestion-not-found',this);const _0xc787f8=_0x4fe1df['getRanges']();this['editor']['model']['canEditAt'](_0xc787f8)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x4fe1df);}}class DiscardSuggestionCommand extends _0x5f37cd['Command']{['_suggestions'];constructor(_0x15b595,_0x7776c5){super(_0x15b595),this['_suggestions']=_0x7776c5,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x55fbc7){const _0x46a6c4=this['_suggestions']['get'](_0x55fbc7);if(!_0x46a6c4)throw new _0x5f37cd['CKEditorError']('track-changes-discard-suggestion-not-found',this);const _0x510ce5=_0x46a6c4['getRanges']();this['editor']['model']['canEditAt'](_0x510ce5)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0x46a6c4);}}function _0x3c3afa(_0x190d5e,_0x190736){let _0x3f5edd='';return _0x3f5edd+=_0x190d5e['split']('*')['map']((_0x5c9b67,_0x37a8c0)=>_0x37a8c0%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+_0x314ccd(_0x5c9b67)+'</span>':_0x314ccd(_0x5c9b67))['join'](''),_0x190736&&(_0x3f5edd+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x190736['value']+'\x22\x20title=\x22'+_0x190736['title']+'\x22></span>'),_0x3f5edd;}function _0x314ccd(_0x151502){const _0x3b2425=document['createElement']('span');return _0x3b2425['innerText']=_0x151502,_0x3b2425['innerHTML'];}function _0x517832(_0x433843){return _0x433843['sort']((_0x450c35,_0x7d9422)=>'attribute'===_0x450c35['type']&&'attribute'!==_0x7d9422['type']?-0x1:'attribute'!==_0x450c35['type']&&'attribute'===_0x7d9422['type']?0x1:'deletion'==_0x450c35['type']&&'deletion'!=_0x7d9422['type']?-0x1:'deletion'!=_0x450c35['type']&&'deletion'==_0x7d9422['type']?0x1:0x0);}function _0x2be81c(_0x1a3b45,_0x384bb1){let _0x4688a5,_0x1055f6=0x0;const _0x2c26fc=[],_0x3a638d=_0x384bb1['schema'];for(;_0x1055f6<_0x1a3b45['length'];){const _0x2ab7c0=_0x1a3b45[_0x1055f6],_0x5a29fd=_0x1a3b45[_0x1055f6+0x1];_0x4688a5||(_0x4688a5=_0x384bb1['createPositionBefore'](_0x2ab7c0)),_0x109969(_0x384bb1,_0x2ab7c0,_0x5a29fd)||(_0x2c26fc['push'](_0x384bb1['createRange'](_0x4688a5,_0x3a638d['isObject'](_0x2ab7c0)?_0x384bb1['createPositionAfter'](_0x2ab7c0):_0x384bb1['createPositionAt'](_0x2ab7c0,'end'))),_0x4688a5=null),_0x1055f6++;}return _0x2c26fc;}function _0x109969(_0x49c375,_0x1840dd,_0xe82e28){if(!_0xe82e28)return!0x1;const _0xcc5cff=_0x49c375['createPositionAfter'](_0x1840dd),_0x5e95ef=_0x49c375['createPositionBefore'](_0xe82e28);return _0xcc5cff['isTouching'](_0x5e95ef);}function _0x49a16e(_0x5a6b76,_0x34705a,_0x264907){for(;_0x264907['length'];){const _0x4740ed=_0x264907['splice'](0x0,0x64);_0x5a6b76['change'](()=>{for(const _0x13b244 of _0x4740ed)_0x13b244['isInContent']&&_0x34705a['execute'](_0x13b244['id']);});}}class ExecuteOnAllSuggestionsCommand extends _0x5f37cd['Command']{['_command'];['_suggestions'];constructor(_0x1850d9,_0x3e6949,_0x1f5b47){super(_0x1850d9),this['_command']=_0x3e6949,this['_suggestions']=_0x1f5b47,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x5cd960=Array['from'](this['_suggestions']['values']())['some'](_0x2dcf85=>_0x2dcf85['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x5cd960;}['execute'](){const _0x435ed3=_0x517832(Array['from'](this['_suggestions']['values']()));for(const _0x24bacc of _0x435ed3){const _0x47e143=_0x24bacc['getRanges']();if(!this['editor']['model']['canEditAt'](_0x47e143))return;}_0x49a16e(this['editor']['model'],this['_command'],_0x435ed3);}}class ExecuteOnSelectedSuggestionsCommand extends _0x5f37cd['Command']{['_command'];['_suggestions'];['_selectedSuggestions'];constructor(_0x260548,_0x613291,_0x18556a){super(_0x260548),this['_command']=_0x613291,this['_suggestions']=_0x18556a,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x30eaf4=this['editor']['model']['document']['selection'],_0x48ed6d=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=function(_0x2a56ae,_0x5e206d){const _0x1219ad=Array['from'](_0x2a56ae['getRanges']()),_0x3b2d1c=new Set();for(const _0x45d186 of _0x5e206d)if(_0x45d186['isInContent']){for(const _0xcd2f55 of _0x1219ad)for(const _0x2b3967 of _0x45d186['getRanges']())(_0xcd2f55['isIntersecting'](_0x2b3967)||_0x2a56ae['isCollapsed']&&!_0x45d186['isMultiRange']&&_0x45d186['next']&&_0x2b3967['end']['isTouching'](_0xcd2f55['start']))&&_0x3b2d1c['add'](_0x45d186);}return _0x3b2d1c;}(_0x30eaf4,_0x48ed6d),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){const _0x5e0983=_0x517832(Array['from'](this['_selectedSuggestions']));for(const _0x4a920a of _0x5e0983){const _0x6c6b9b=_0x4a920a['getRanges']();if(!this['editor']['model']['canEditAt'](_0x6c6b9b))return;}_0x49a16e(this['editor']['model'],this['_command'],_0x5e0983);}}class Suggestion extends/* #__PURE__ -- @preserve */
_0x5f37cd['ObservableMixin'](){['id'];['type'];['subType'];['author'];['creator'];['isExternal'];['data'];['createdAt'];['_originalSuggestionId'];['_isDataLoaded']=!0x1;['_model'];['_onAccept'];['_onDiscard'];['_onAttributesChange'];['_markerNames'];constructor(_0x1d31ad,_0x40cd8a){super(),this['id']=_0x40cd8a['id'],this['type']=_0x40cd8a['type'],this['subType']=_0x40cd8a['subType']||null,this['author']=_0x40cd8a['author'],this['creator']=_0x40cd8a['creator']||_0x40cd8a['author'],this['isExternal']=Boolean(_0x40cd8a['attributes']&&_0x40cd8a['attributes']['@external']),this['data']=null,this['_originalSuggestionId']=_0x40cd8a['originalSuggestionId']||null,this['_model']=_0x1d31ad,this['_onAccept']=_0x40cd8a['onAccept'],this['_onDiscard']=_0x40cd8a['onDiscard'],this['_onAttributesChange']=_0x40cd8a['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x40cd8a['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 _0x43ed56=this;for(;_0x43ed56['previous'];)_0x43ed56=_0x43ed56['previous'];return _0x43ed56;}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'](_0x247230){this['_markerNames']['add'](_0x247230);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this['getMarkerNames']()['map'](_0x17c993=>this['_model']['markers']['get'](_0x17c993))['filter'](_0x8ad171=>_0x8ad171);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0xdc59c6=>{for(const _0x44b584 of this['getMarkers']())_0xdc59c6['removeMarker'](_0x44b584);}),this['_markerNames']['clear']();}['removeMarker'](_0x357e87){this['_model']['change'](_0x1ff9f5=>{_0x1ff9f5['removeMarker'](_0x357e87);}),this['_markerNames']['delete'](_0x357e87);}['addRange'](_0x4609bd){const _0x1c963c='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0x1c963c),this['_model']['change'](_0xcc9371=>{_0xcc9371['addMarker'](_0x1c963c,{'range':_0x4609bd,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x703d39){for(const _0x215cd6 of this['getRanges']())if(_0x215cd6['isIntersecting'](_0x703d39))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()['map'](_0x5ae4cf=>_0x5ae4cf['getRange']());}['getItems'](){return this['getRanges']()['reduce']((_0x5cccbc,_0x53ee90)=>[..._0x5cccbc,..._0x53ee90['getItems']()],[]);}['getFirstRange'](){return this['getFirstMarker']()?.['getRange']()||null;}['getContainedElement'](){const _0x589b3b=this['getRanges']();if(0x1!=_0x589b3b['length'])return null;const _0x3d70f0=_0x589b3b[0x0],_0x5d2945=_0x3d70f0['start']['nodeAfter'],_0x453c55=_0x3d70f0['end']['nodeBefore'];return _0x5d2945 instanceof _0x5f37cd['ModelElement']?_0x5d2945!=_0x453c55?null:_0x5d2945: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 _0x135fb0=[];let _0x3b94b3=this['head'];for(;_0x3b94b3;)_0x135fb0['push'](_0x3b94b3),_0x3b94b3=_0x3b94b3['next'];return _0x135fb0;}['setAttribute'](_0x24e65a,_0x595ddd){const _0x5a48f5=_0x30292a(this['attributes']);ct(_0x5a48f5,_0x24e65a,_0x595ddd),pt(_0x5a48f5,this['attributes'])||(this['attributes']=_0x5a48f5,this['_onAttributesChange'](_0x5a48f5));}['removeAttribute'](_0x44fca5){const _0x25227d=_0x30292a(this['attributes']);nt(_0x25227d,_0x44fca5),pt(_0x25227d,this['attributes'])||(this['attributes']=_0x25227d,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 _0x5f37cd['uid']()['substr'](0x1,0x5);}}function _0x538d4a(_0x1d8871,_0x5c0071,_0x27925f){const _0x4ac548=_0x1d8871['t'],t=_0x1d8871['t'];switch(_0x5c0071){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',_0x27925f);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x27925f);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x27925f);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x27925f);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x27925f);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',_0x27925f);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x27925f);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',_0x27925f);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x27925f);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x27925f);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x27925f);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x27925f);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x27925f);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x27925f);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x27925f);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x27925f);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x27925f);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x27925f);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x27925f);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x27925f);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x27925f);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x27925f);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x27925f);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x27925f);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x27925f);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'},_0x27925f);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x27925f);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x27925f);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x27925f);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x27925f);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x27925f);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x27925f);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x27925f);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_RAW_HTML':return t({'string':'raw\x20HTML','id':'ELEMENT_RAW_HTML'});case'ELEMENT_HTML_TAG':return t({'string':'%1\x20element','plural':'%0\x20%1\x20elements','id':'ELEMENT_HTML_TAG'},_0x27925f);case'FORMAT_RAW_HTML_CONTENT':return t({'string':'raw\x20HTML\x20content','id':'FORMAT_RAW_HTML_CONTENT'});case'FORMAT_HTML_CLASS':return t({'string':'style','id':'FORMAT_HTML_CLASS'});case'FORMAT_HTML_ATTRIBUTE':return t({'string':'metadata','id':'FORMAT_HTML_ATTRIBUTE'});case'FORMAT_HTML_LIST_ITEM':return t({'string':'list\x20item\x20HTML','id':'FORMAT_HTML_LIST_ITEM'});case'FORMAT_HTML_BULLETED_LIST':return t({'string':'list\x20HTML','id':'FORMAT_HTML_BULLETED_LIST'});case'FORMAT_HTML_NUMBERED_LIST':return t({'string':'list\x20HTML','id':'FORMAT_HTML_NUMBERED_LIST'});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'},_0x27925f);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x27925f);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x27925f);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x27925f);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x27925f);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'},_0x27925f);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x27925f);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'},_0x27925f);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_MEDIA_SIZE':return t({'string':'media\x20size','id':'FORMAT_MEDIA_SIZE'});case'FORMAT_MEDIA_ALIGN_LEFT':return t({'string':'align\x20left','id':'FORMAT_MEDIA_ALIGN_LEFT'});case'FORMAT_MEDIA_ALIGN_BLOCK_LEFT':return t({'string':'align\x20block\x20left','id':'FORMAT_MEDIA_ALIGN_BLOCK_LEFT'});case'FORMAT_MEDIA_ALIGN_CENTER':return t({'string':'align\x20center','id':'FORMAT_MEDIA_ALIGN_CENTER'});case'FORMAT_MEDIA_ALIGN_BLOCK_RIGHT':return t({'string':'align\x20block\x20right','id':'FORMAT_MEDIA_ALIGN_BLOCK_RIGHT'});case'FORMAT_MEDIA_ALIGN_RIGHT':return t({'string':'align\x20right','id':'FORMAT_MEDIA_ALIGN_RIGHT'});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'},_0x27925f);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x27925f);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'},_0x27925f);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x27925f);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'},_0x27925f);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x27925f);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x27925f);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x27925f);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x27925f);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x27925f);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'},_0x27925f);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x27925f);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 _0x4ac548({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x27925f);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x4ac548({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x27925f);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x27925f);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'},_0x27925f);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'},_0x27925f);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'},_0x27925f);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x5c0071;}}class SuggestionDescriptionFactory{['_customCallbacks'];['_itemLabels'];['_itemLabelsCallbacks'];['_attributeLabels'];['_schema'];['_locale'];constructor(_0x23eb4f,_0x14fe4b){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x23eb4f,this['_locale']=_0x14fe4b;}['getDescriptions'](_0x519c86){const _0x2ab32c=[],_0x1cc202=new Set(),_0x1355c7=new Set();for(let _0x347962=0x0;_0x347962<_0x519c86['length'];_0x347962++){const _0x250e65=_0x519c86[_0x347962];if(!_0x250e65['isInContent'])continue;const _0x571564=this['_handleCustomCallbackDescription'](_0x250e65);if(_0x571564){if(null!=_0x250e65['subType']){if(_0x1cc202['has'](_0x250e65['subType']))continue;_0x1cc202['add'](_0x250e65['subType']);}_0x2ab32c['push'](_0x571564);}else{if('attribute'==_0x250e65['type']){const _0x4e92ff=_0x250e65['data']['key'];if(_0x1355c7['has'](_0x4e92ff))continue;_0x1355c7['add'](_0x250e65['data']['key']),_0x4e92ff==_0x233bc5?this['_handleRenameSuggestionDescription'](_0x2ab32c,_0x250e65):this['_handleAttributeSuggestionDescription'](_0x2ab32c,_0x250e65);continue;}'insertion'!=_0x250e65['type']&&'deletion'!=_0x250e65['type']||this['_handleInsertRemoveSuggestionDescription'](_0x2ab32c,_0x250e65,_0x519c86[_0x347962+0x1]);}}return this['_resolveDescriptionItems'](_0x2ab32c);}['registerDescriptionCallback'](_0x5bf6b2){this['_customCallbacks']['push'](_0x5bf6b2);}['registerElementLabel'](_0x1e04ef,_0x49adb7,_0x12107d=_0x5f37cd['priorities']['normal']){'function'==typeof _0x1e04ef?_0x5f37cd['insertToPriorityArray'](this['_itemLabelsCallbacks'],{'matchingCallback':_0x1e04ef,'label':_0x49adb7,'priority':_0x12107d}):this['_itemLabels']['set'](_0x1e04ef,_0x49adb7);}['registerAttributeLabel'](_0x3038f4,_0xa50ff7){this['_attributeLabels']['set'](_0x3038f4,_0xa50ff7);}['getItemLabel'](_0x1b9392,_0x89f574=0x1){let _0x2f6a4c;for(const _0x31a6fb of this['_itemLabelsCallbacks'])if(_0x31a6fb['matchingCallback'](_0x1b9392)){_0x2f6a4c=_0x31a6fb['label'];break;}return _0x2f6a4c||(_0x2f6a4c=this['_itemLabels']['get'](_0x1b9392['name'])),_0x2f6a4c?_0x2f6a4c(_0x89f574):0x1!==_0x89f574?_0x89f574+'\x20'+_0x1b9392['name']+'s':''+_0x1b9392['name'];}['_addDescriptionItems'](_0x56ac56,_0x48e993){const _0x410f73=_0x48e993['getFirstRange']()['getWalker'](),_0x3d28c1='insertion'==_0x48e993['type']?'add':'remove';for(const _0x283bf9 of _0x410f73){const _0x36a32c=_0x283bf9['item'],_0x52dfa7=_0x56ac56[_0x56ac56['length']-0x1];if(_0x36a32c['is']('$textProxy'))_0x52dfa7&&_0x52dfa7['type']['indexOf']('Container')>-0x1&&_0x56ac56['pop'](),_0x52dfa7&&'text'==_0x52dfa7['type']?_0x52dfa7[_0x3d28c1]+=_0x36a32c['data']:_0x56ac56['push']({'type':'text','add':'add'==_0x3d28c1?_0x36a32c['data']:'','remove':'remove'==_0x3d28c1?_0x36a32c['data']:''});else{if(this['_schema']['isObject'](_0x36a32c)){const _0x28bacf=_0x36a32c;if(_0x52dfa7&&_0x52dfa7['type']['indexOf']('Container')>-0x1&&_0x56ac56['pop'](),'elementEnd'==_0x283bf9['type'])continue;_0x52dfa7&&_0x52dfa7['type']==_0x3d28c1+'Object'&&_0x52dfa7['element']['name']==_0x28bacf['name']?_0x52dfa7['quantity']++:_0x56ac56['push']({'type':_0x3d28c1+'Object','element':_0x28bacf,'quantity':0x1}),_0x410f73['skip'](_0x159036=>!('elementEnd'==_0x159036['type']&&_0x159036['item']==_0x36a32c));}else{if(this['_schema']['checkChild'](_0x36a32c,'$text')||_0x36a32c['is']('element','softBreak')){const _0x283922=_0x36a32c;if('add'==_0x3d28c1&&'elementStart'==_0x283bf9['type']||'remove'==_0x3d28c1&&'elementEnd'==_0x283bf9['type'])continue;if(_0x52dfa7&&-0x1==_0x52dfa7['type']['indexOf']('Container')){'text'==_0x52dfa7['type']&&(_0x52dfa7[_0x3d28c1]+='\x0a');continue;}let _0x5cd979;if(_0x5cd979='add'==_0x3d28c1?_0x283922['nextSibling']&&!this['_schema']['isObject'](_0x283922['nextSibling'])?_0x283922['nextSibling']:null:_0x283922['previousSibling']&&!this['_schema']['isObject'](_0x283922['previousSibling'])?_0x283922['previousSibling']:null,_0x283922['isEmpty']||_0x5cd979&&_0x5cd979['isEmpty']){const _0x125490=_0x5cd979&&_0x5cd979['isEmpty']?_0x5cd979:_0x283922;_0x52dfa7&&_0x52dfa7['type']==_0x3d28c1+'EmptyContainer'&&_0x52dfa7['element']['name']==_0x125490['name']?_0x52dfa7['quantity']++:_0x56ac56['push']({'type':_0x3d28c1+'EmptyContainer','element':_0x125490,'quantity':0x1});}else _0x56ac56['push']({'type':_0x3d28c1+'Container','element':_0x283922});}}}}}['_resolveDescriptionItems'](_0x2c2b59){const _0x6c5bad=this['_locale'],_0x5188ab=[],_0x50783c=[],_0x5260ee=[];for(const _0x2a9bd7 of _0x2c2b59)switch(_0x2a9bd7['type']){case'text':if(_0x2a9bd7['add']=_0x2a9bd7['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x2a9bd7['remove']=_0x2a9bd7['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x2a9bd7['add']&&''!=_0x2a9bd7['remove']){_0x5188ab['push']({'type':'replace','content':_0x538d4a(_0x6c5bad,'REPLACE_TEXT',['\x22'+_0x2a9bd7['remove']+'\x22','\x22'+_0x2a9bd7['add']+'\x22'])});continue;}if(null!=_0x2a9bd7['add']['match'](/^ +$/)){_0x5188ab['push']({'type':'insertion','content':_0x538d4a(_0x6c5bad,'*Insert:*\x20%0',_0x538d4a(_0x6c5bad,'ELEMENT_SPACE',_0x2a9bd7['add']['length']))});continue;}if(null!=_0x2a9bd7['remove']['match'](/^ +$/)){_0x5188ab['push']({'type':'deletion','content':_0x538d4a(_0x6c5bad,'*Remove:*\x20%0',_0x538d4a(_0x6c5bad,'ELEMENT_SPACE',_0x2a9bd7['remove']['length']))});continue;}if(''!=_0x2a9bd7['add']){_0x5188ab['push']({'type':'insertion','content':_0x538d4a(_0x6c5bad,'*Insert:*\x20%0','\x22'+_0x2a9bd7['add']+'\x22')});continue;}_0x5188ab['push']({'type':'deletion','content':_0x538d4a(_0x6c5bad,'*Remove:*\x20%0','\x22'+_0x2a9bd7['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x5188ab['push']({'type':'insertion','content':_0x538d4a(_0x6c5bad,'*Insert:*\x20%0',this['getItemLabel'](_0x2a9bd7['element'],_0x2a9bd7['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0x5188ab['push']({'type':'deletion','content':_0x538d4a(_0x6c5bad,'*Remove:*\x20%0',this['getItemLabel'](_0x2a9bd7['element'],_0x2a9bd7['quantity']))});continue;case'addContainer':_0x5188ab['push']({'type':'insertion','content':_0x538d4a(_0x6c5bad,'*Split:*\x20%0',this['getItemLabel'](_0x2a9bd7['element'],_0x2a9bd7['quantity']))});continue;case'removeContainer':_0x5188ab['push']({'type':'deletion','content':_0x538d4a(_0x6c5bad,'*Merge:*\x20%0',this['getItemLabel'](_0x2a9bd7['element'],_0x2a9bd7['quantity']))});continue;case'addFormat':_0x50783c['push'](_0x2a9bd7['key']);continue;case'removeFormat':_0x5260ee['push'](_0x2a9bd7['key']);continue;default:_0x5188ab['push'](_0x2a9bd7);}if(_0x50783c['length']){const _0x3381ec=_0x50783c['map'](_0x2320a8=>this['_attributeLabels']['has'](_0x2320a8)?this['_attributeLabels']['get'](_0x2320a8):_0x2320a8)['join'](',\x20');_0x5188ab['push']({'type':'format','content':_0x538d4a(this['_locale'],'*Set\x20format:*\x20%0',_0x3381ec)});}if(_0x5260ee['length']){const _0x203805=_0x5260ee['map'](_0x2beb93=>this['_attributeLabels']['has'](_0x2beb93)?this['_attributeLabels']['get'](_0x2beb93):_0x2beb93)['join'](',\x20');_0x5188ab['push']({'type':'format','content':_0x538d4a(this['_locale'],'*Remove\x20format:*\x20%0',_0x203805)});}return _0x5188ab;}['_handleCustomCallbackDescription'](_0x16ac7){for(const _0x59f72b of this['_customCallbacks']){const _0x4f6470=_0x59f72b(_0x16ac7);if(_0x4f6470&&'type'in _0x4f6470)return _0x4f6470;}}['_handleAttributeSuggestionDescription'](_0x83deea,_0x5abd95){const _0x4f4b9b=_0x5abd95['data'],_0x4df6ff=void 0x0===_0x4f4b9b['newValue']?'removeFormat':'addFormat';_0x83deea['push']({'type':_0x4df6ff,'key':_0x4f4b9b['key']});}['_handleRenameSuggestionDescription'](_0x2349b6,_0xceba44){_0x2349b6['push']({'type':'format','content':_0x538d4a(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0xceba44['getFirstRange']()['start']['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x3d809c,_0x340e5d,_0x3749d9){if(this['_addDescriptionItems'](_0x3d809c,_0x340e5d),_0x3749d9&&_0x3749d9['getFirstRange']()&&!_0x340e5d['getFirstRange']()['end']['isEqual'](_0x3749d9['getFirstRange']()['start'])){const _0x182794=_0x3d809c[_0x3d809c['length']-0x1],_0xf5bb16='insertion'==_0x340e5d['type']?'add':'remove';_0x182794&&'text'==_0x182794['type']&&(_0x182794[_0xf5bb16]+='\x0a');}}}class TrackChangesAIAssistant extends _0x5f37cd['Plugin']{['afterInit'](){const _0x370cef=this['editor'],_0xd86bfd=_0x370cef['plugins']['get']('TrackChangesEditing');_0x370cef['commands']['get']('showAIAssistant')&&_0xd86bfd['enableCommand']('showAIAssistant');}}class _0x254495 extends _0x5f37cd['Plugin']{['afterInit'](){const _0x943f21=this['editor'],_0x482603=_0x943f21['plugins']['get']('TrackChangesEditing');_0x943f21['commands']['get']('toggleAi')&&_0x482603['enableCommand']('toggleAi');}}class TrackChangesAIQuickActions extends _0x5f37cd['Plugin']{['afterInit'](){const _0x438162=this['editor'],_0x3e30ce=_0x438162['plugins']['get']('TrackChangesEditing');_0x438162['commands']['get']('aiQuickAction')&&_0x3e30ce['enableCommand']('aiQuickAction');}}class TrackChangesAlignment extends _0x5f37cd['Plugin']{['afterInit'](){const _0x27cd74=this['editor'],_0x58dbc7=_0x27cd74['locale'];if(!_0x27cd74['plugins']['has']('AlignmentEditing'))return;const _0x44cbbc=_0x27cd74['plugins']['get']('TrackChangesEditing');_0x44cbbc['enableDefaultAttributesIntegration']('alignment'),_0x44cbbc['descriptionFactory']['registerAttributeLabel']('alignment',_0x538d4a(_0x58dbc7,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x25f27e=this['editor'],_0x3b8c08=_0x25f27e['locale'];_0x25f27e['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x39aef6=>{if('formatBlock'!=_0x39aef6['type'])return;const {data:_0x3fbf05}=_0x39aef6;if(_0x3fbf05&&'alignment'==_0x3fbf05['commandName']){const _0x36da2e=_0x3fbf05['commandParams'][0x0]['value'];return{'type':'format','content':_0x538d4a(_0x3b8c08,'*Format:*\x20%0',function(_0x1840ef){switch(_0x1840ef){case'left':return _0x538d4a(_0x3b8c08,'FORMAT_ALIGN_TO_LEFT');case'right':return _0x538d4a(_0x3b8c08,'FORMAT_ALIGN_TO_RIGHT');case'center':return _0x538d4a(_0x3b8c08,'FORMAT_ALIGN_TO_CENTER');case'justify':return _0x538d4a(_0x3b8c08,'FORMAT_JUSTIFY_TEXT');}}(_0x36da2e))};}});}}const _0x48eefe=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class TrackChangesBasicStyles extends _0x5f37cd['Plugin']{['afterInit'](){const _0xb492de=this['editor'],_0x466f71=_0xb492de['plugins']['get']('TrackChangesEditing'),_0x5874a6=_0xb492de['locale'];for(const _0x3366b3 of _0x48eefe){if(!_0xb492de['plugins']['has'](_0x3366b3))continue;const _0x1b24f4=_0x3366b3['slice'](0x0,-0x7)['toLowerCase'](),_0x35c46a='FORMAT_'+_0x1b24f4['toUpperCase']();_0x466f71['enableDefaultAttributesIntegration'](_0x1b24f4),_0x466f71['descriptionFactory']['registerAttributeLabel'](_0x1b24f4,_0x538d4a(_0x5874a6,_0x35c46a));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x7974f=this['editor'],_0x43fc1b=_0x7974f['locale'],_0x345574=_0x7974f['plugins']['get']('TrackChangesEditing');function _0xa878a4(_0x3550c7,_0x1632c5){_0x345574['descriptionFactory']['registerDescriptionCallback'](_0x5bc516=>{if('formatInline'!=_0x5bc516['type'])return;const {data:_0x412c98}=_0x5bc516;return _0x412c98&&_0x412c98['commandName']===_0x3550c7?_0x412c98['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x538d4a(_0x43fc1b,'*Format:*\x20%0',_0x1632c5)}:{'type':'format','content':_0x538d4a(_0x43fc1b,'*Remove\x20format:*\x20%0',_0x1632c5)}:void 0x0;});}_0xa878a4('bold',_0x538d4a(_0x43fc1b,'FORMAT_BOLD')),_0xa878a4('italic',_0x538d4a(_0x43fc1b,'FORMAT_ITALIC')),_0xa878a4('underline',_0x538d4a(_0x43fc1b,'FORMAT_UNDERLINE')),_0xa878a4('code',_0x538d4a(_0x43fc1b,'FORMAT_CODE')),_0xa878a4('strikethrough',_0x538d4a(_0x43fc1b,'FORMAT_STRIKETHROUGH')),_0xa878a4('subscript',_0x538d4a(_0x43fc1b,'FORMAT_SUBSCRIPT')),_0xa878a4('superscript',_0x538d4a(_0x43fc1b,'FORMAT_SUPERSCRIPT'));}}class TrackChangesBlockQuote extends _0x5f37cd['Plugin']{['afterInit'](){const _0x56bd0a=this['editor'],_0x5d9f4f=_0x56bd0a['locale'];if(!_0x56bd0a['plugins']['has']('BlockQuoteEditing'))return;const _0x166ea2=_0x56bd0a['plugins']['get']('TrackChangesEditing'),_0x3ee82c=this['editor']['commands']['get']('blockQuote');_0x166ea2['enableCommand']('blockQuote',(_0x3a86fc,_0x49e516={})=>{const _0x26b235=this['editor']['model']['document']['selection'],_0x39aaf3=_0x49e516&&void 0x0!==_0x49e516['forceValue']?_0x49e516['forceValue']:!_0x3ee82c['value'];let _0x3aeed8=[];if(_0x39aaf3){const _0x3c25cc=Array['from'](_0x26b235['getSelectedBlocks']())['filter'](_0x4d3552=>_0x27dc34(_0x4d3552)||function(_0x503466,_0x350dad){const _0x1561d7=_0x350dad['createContext'](_0x503466['parent']);if(!_0x350dad['checkChild'](_0x1561d7,'blockQuote'))return!0x1;if(!_0x350dad['checkChild'](_0x1561d7['push']('blockQuote'),_0x503466))return!0x1;return!0x0;}(_0x4d3552,this['editor']['model']['schema']));_0x3aeed8=_0x2be81c(_0x3c25cc,_0x56bd0a['model']);}else{const _0x3f118e=Array['from'](_0x26b235['getSelectedBlocks']())['filter'](_0xfab7c3=>_0x27dc34(_0xfab7c3));_0x3aeed8=_0x2be81c(_0x3f118e,_0x56bd0a['model']);}_0x56bd0a['model']['change'](()=>{for(const _0x5bb6da of _0x3aeed8)_0x166ea2['markBlockFormat'](_0x5bb6da,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x39aaf3}]});});}),_0x166ea2['descriptionFactory']['registerDescriptionCallback'](_0x13288a=>{const {data:_0x23acfa}=_0x13288a;if(_0x23acfa&&'blockQuote'==_0x23acfa['commandName']){const _0x562d58=_0x538d4a(_0x5d9f4f,'ELEMENT_BLOCK_QUOTE');return _0x23acfa['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x538d4a(_0x5d9f4f,'*Set\x20format:*\x20%0',_0x562d58)}:{'type':'format','content':_0x538d4a(_0x5d9f4f,'*Remove\x20format:*\x20%0',_0x562d58)};}});}}function _0x27dc34(_0x2eadbe){return'blockQuote'==_0x2eadbe['parent']['name'];}class _0x52e7ee extends _0x5f37cd['Plugin']{['afterInit'](){const _0x19bf9b=this['editor'],_0x4672ff=_0x19bf9b['locale'],_0x4b20cb=_0x19bf9b['plugins']['get']('TrackChangesEditing');_0x19bf9b['plugins']['has']('BookmarkEditing')&&(_0x4b20cb['enableCommand']('insertBookmark'),_0x4b20cb['enableDefaultAttributesIntegration']('updateBookmark'),_0x4b20cb['descriptionFactory']['registerDescriptionCallback'](_0x57c9b2=>{if('insertion'!=_0x57c9b2['type']&&'deletion'!=_0x57c9b2['type']&&'attribute'!=_0x57c9b2['type'])return;const _0x739f6b=_0x57c9b2['getContainedElement']();if(null==_0x739f6b)return;if(!_0x739f6b['is']('element','bookmark'))return;const _0x4375af=_0x739f6b['getAttribute']('bookmarkId');if('insertion'==_0x57c9b2['type'])return{'type':'insertion','content':_0x538d4a(_0x4672ff,'*Insert:*\x20%0','\x22'+_0x4375af+'\x22\x20'+_0x538d4a(_0x4672ff,'ELEMENT_BOOKMARK'))};if('deletion'==_0x57c9b2['type'])return{'type':'deletion','content':_0x538d4a(_0x4672ff,'*Remove:*\x20%0','\x22'+_0x4375af+'\x22\x20'+_0x538d4a(_0x4672ff,'ELEMENT_BOOKMARK'))};const {data:_0x3ea8dc}=_0x57c9b2;if(!_0x3ea8dc||'bookmarkId'!=_0x3ea8dc['key'])return;return{'type':'format','content':_0x538d4a(_0x4672ff,'*Set\x20bookmark:*\x20%0','\x22'+_0x3ea8dc['newValue']+'\x22')};}));}}class _0x34ee33 extends _0x5f37cd['Plugin']{['afterInit'](){const _0x114b0b=this['editor'];_0x114b0b['plugins']['has']('CaseChange')&&(_0x114b0b['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0x114b0b['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0x114b0b['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}}class _0x573ded extends _0x5f37cd['Plugin']{['afterInit'](){const _0x15790f=this['editor'];_0x15790f['commands']['get']('ckbox')&&_0x15790f['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}}class _0x2d94f5 extends _0x5f37cd['Plugin']{['afterInit'](){const _0x380f89=this['editor'];if(!_0x380f89['plugins']['has']('CodeBlock'))return;const _0x235d69=_0x380f89['plugins']['get']('TrackChangesEditing'),_0x3654ee=_0x380f89['locale'],_0x45dc1c=_0x380f89['config']['get']('codeBlock')['languages'],_0x21a9dd=_0x380f89['commands']['get']('codeBlock');_0x235d69['enableCommand']('indentCodeBlock'),_0x235d69['enableCommand']('outdentCodeBlock'),_0x235d69['enableCommand']('codeBlock',(_0x21cb53,_0x4518f0={})=>{const _0x9f017c=_0x380f89['model'],_0x1dee95=_0x380f89['model']['document']['selection'],_0x270ea9=_0x4518f0&&void 0x0!==_0x4518f0['forceValue']?_0x4518f0['forceValue']:!_0x21a9dd['value'];let _0x5f0758;_0x4518f0['language']||(_0x4518f0['language']=_0x45dc1c[0x0]['language']),_0x5f0758=_0x270ea9?Array['from'](_0x1dee95['getSelectedBlocks']())['filter'](_0x2b8573=>_0x281198(_0x2b8573)||function(_0x2971ca,_0x3016dc){if(_0x2971ca['is']('rootElement')||_0x3016dc['isLimit'](_0x2971ca))return!0x1;return _0x3016dc['checkChild'](_0x2971ca['parent'],'codeBlock');}(_0x2b8573,_0x9f017c['schema'])):Array['from'](_0x1dee95['getSelectedBlocks']())['filter'](_0xdaa7a8=>_0x281198(_0xdaa7a8));const _0x2c5380=_0x2be81c(_0x5f0758,_0x9f017c);_0x9f017c['change'](()=>{for(const _0x5546d0 of _0x2c5380)_0x235d69['markBlockFormat'](_0x5546d0,{'commandName':'codeBlock','commandParams':[{..._0x4518f0,'forceValue':_0x270ea9}],'formatGroupId':'blockName'});});}),(_0x235d69['descriptionFactory']['registerElementLabel']('codeBlock',_0x455942=>_0x538d4a(_0x3654ee,'ELEMENT_CODE_BLOCK',_0x455942)),_0x235d69['descriptionFactory']['registerDescriptionCallback'](_0x394b11=>{if('formatBlock'!=_0x394b11['type'])return;const _0x58999e=_0x3654ee['t'],{data:_0x12b8b2}=_0x394b11;if(!_0x12b8b2||'codeBlock'!=_0x12b8b2['commandName'])return;const _0x1801a6=_0x12b8b2['commandParams'][0x0]['language'],_0xb817c0=_0x45dc1c['find'](_0x1a35ca=>_0x1a35ca['language']===_0x1801a6)['label'],_0x1fd849=_0x58999e(_0xb817c0)['toLowerCase']();return _0x12b8b2['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x538d4a(_0x3654ee,'*Set\x20format:*\x20%0',_0x538d4a(_0x3654ee,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x1fd849+')')}:{'type':'format','content':_0x538d4a(_0x3654ee,'*Remove\x20format:*\x20%0',_0x538d4a(_0x3654ee,'ELEMENT_CODE_BLOCK',0x1))};}));}}function _0x281198(_0x2aba7c){return'codeBlock'==_0x2aba7c['name'];}class TrackChangesComments extends _0x5f37cd['Plugin']{['afterInit'](){const _0x130c35=this['editor'];if(!_0x130c35['plugins']['has']('CommentsEditing'))return;_0x130c35['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}}class TrackChangesDeleteCommand extends _0x5f37cd['Plugin']{static get['requires'](){return[_0x5f37cd['Delete']];}['init'](){const _0x1d182f=this['editor'],_0x399a7e=_0x1d182f['plugins']['get']('TrackChangesEditing');_0x399a7e['enableCommand']('delete');const _0x53ad52=_0x1d182f['commands']['get']('deleteForward');_0x399a7e['enableCommand']('deleteForward',(_0xe1f036,_0x570862={})=>{const _0x23a287=_0x1d182f['model']['createSelection'](_0x1d182f['model']['document']['selection']);_0x23a287['isCollapsed']&&_0x1d182f['model']['modifySelection'](_0x23a287,{'direction':'forward','unit':_0x570862['unit']});const _0x3d39ff=_0x23a287['getFirstRange'](),_0x40c7a8=_0x5f37cd['ModelLiveRange']['fromRange'](_0x3d39ff);let _0x4b6688;_0xe1f036(_0x570862),_0x4b6688='$graveyard'==_0x40c7a8['root']['rootName']?_0x1d182f['model']['createRange'](_0x3d39ff['start']):_0x1d182f['model']['createRange'](_0x40c7a8['start'],_0x40c7a8['end']),_0x40c7a8['detach'](),_0x1d182f['model']['enqueueChange'](_0x53ad52['buffer']['batch'],_0x55fcd0=>{_0x53ad52['buffer']['lock'](),_0x55fcd0['setSelection'](_0x55fcd0['createRange'](_0x4b6688['end'])),_0x53ad52['buffer']['unlock']();});});}}class TrackChangesList extends _0x5f37cd['Plugin']{['afterInit'](){const _0x4d58e7=this['editor'];if(!_0x4d58e7['plugins']['has']('ListEditing'))return;const _0x33f37b=_0x4d58e7['locale'],_0x35c1bb=_0x4d58e7['plugins']['get']('TrackChangesEditing'),_0x511f06=_0x4d58e7['plugins']['has']('TodoListEditing'),_0x2f9047=!!_0x4d58e7['config']['get']('list.multiBlock');function _0x71fb41(_0xca19d7){return{'type':'format','content':''+_0x538d4a(_0x33f37b,'*Set\x20format:*\x20%0',_0xca19d7)};}function _0x396c9b(_0x375400){return{'type':'format','content':''+_0x538d4a(_0x33f37b,'*Remove\x20format:*\x20%0',_0x375400)};}_0x35c1bb['enableDefaultAttributesIntegration']('numberedList'),_0x35c1bb['enableDefaultAttributesIntegration']('bulletedList'),_0x35c1bb['enableDefaultAttributesIntegration']('customNumberedList'),_0x35c1bb['enableDefaultAttributesIntegration']('customBulletedList'),_0x35c1bb['enableDefaultAttributesIntegration']('indentList'),_0x35c1bb['enableDefaultAttributesIntegration']('outdentList'),_0x35c1bb['enableDefaultAttributesIntegration']('splitListItemAfter'),_0x35c1bb['enableDefaultAttributesIntegration']('splitListItemBefore'),_0x2f9047&&(_0x35c1bb['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0x35c1bb['enableDefaultAttributesIntegration']('mergeListItemForward')),_0x511f06&&(_0x35c1bb['enableDefaultAttributesIntegration']('todoList'),_0x35c1bb['enableDefaultAttributesIntegration']('checkTodoList'),_0x35c1bb['descriptionFactory']['registerDescriptionCallback'](_0x1496c0=>{const {data:_0x47d6e8}=_0x1496c0;if(_0x47d6e8&&'todoListChecked'==_0x47d6e8['key'])return{'type':'format','content':_0x47d6e8['newValue']?_0x538d4a(_0x33f37b,'*Check\x20item*'):_0x538d4a(_0x33f37b,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0x37e5c5=>{if(_0x37e5c5['batch']['isUndo'])return!0x1;let _0x11d200=!0x1;const _0x5285df=_0x35c1bb['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x193e11=>'todoListChecked'===_0x35c1bb['_getAttributeKey'](_0x193e11));for(const _0x513ea1 of _0x5285df){'todo'!=_0x513ea1['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0x35c1bb['_findSuggestions'](_0x513ea1['getFirstRange'](),'attribute')['find'](_0xe65641=>'listType'===_0x35c1bb['_getAttributeKey'](_0xe65641['suggestion']))||(_0x37e5c5['removeMarker'](_0x513ea1['getFirstMarker']()),_0x11d200=!0x0));}return _0x11d200;})),_0x35c1bb['descriptionFactory']['registerAttributeLabel']('listIndent',_0x538d4a(_0x33f37b,'FORMAT_INDENT'));const _0x481c50={'type':'format','content':''};_0x35c1bb['descriptionFactory']['registerDescriptionCallback'](_0x2d557d=>{const {data:_0x5172ab}=_0x2d557d;if(!_0x5172ab||'listType'!=_0x5172ab['key'])return;let _0x3daee9=_0x2d557d['head'];for(;_0x3daee9;){if(_0x3daee9['data']&&(('listStyle'==_0x3daee9['data']['key']||'listMarkerStyle'==_0x3daee9['data']['key'])&&(_0x3daee9['data']['newValue']&&'default'!=_0x3daee9['data']['newValue']||'default'!=_0x3daee9['data']['oldValue']&&!_0x5172ab['newValue'])||!_0x2f9047&&_0x3daee9['data']['key']==_0x233bc5))return _0x481c50;_0x3daee9=_0x3daee9['next'];}if(null==_0x5172ab['newValue'])switch(_0x5172ab['oldValue']){case'bulleted':return _0x396c9b(_0x538d4a(_0x33f37b,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x396c9b(_0x538d4a(_0x33f37b,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x396c9b(_0x538d4a(_0x33f37b,'ELEMENT_TODO_LIST'));}switch(_0x5172ab['newValue']){case'bulleted':return _0x71fb41(_0x538d4a(_0x33f37b,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x71fb41(_0x538d4a(_0x33f37b,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x71fb41(_0x538d4a(_0x33f37b,'ELEMENT_TODO_LIST'));}}),_0x35c1bb['descriptionFactory']['registerDescriptionCallback'](_0x152974=>{const {data:_0x344423}=_0x152974;if(_0x344423&&'listIndent'==_0x344423['key'])return null==_0x344423['newValue']||null==_0x344423['oldValue']&&0x0==_0x344423['newValue']?_0x481c50:void 0x0;}),_0x35c1bb['descriptionFactory']['registerDescriptionCallback'](_0x27351e=>{if('attribute'!=_0x27351e['type'])return;const {data:_0x38ce27}=_0x27351e;if(!_0x38ce27||'listItemId'!=_0x38ce27['key'])return;const _0x3a469a=_0x34f8(_0x27351e);return'newValue'==_0x3a469a?{'type':'format','content':_0x538d4a(_0x33f37b,'*Merge:*\x20list\x20item')}:'oldValue'==_0x3a469a?{'type':'format','content':_0x538d4a(_0x33f37b,'*Split:*\x20list\x20item')}:_0x481c50;}),_0x4d58e7['model']['document']['registerPostFixer'](_0x4f3c74=>this['listItemIdFixer'](_0x4f3c74)),_0x4d58e7['model']['document']['registerPostFixer'](_0x33d67c=>this['noTrackChangesFixer'](_0x33d67c)),_0x4d58e7['model']['document']['on']('change:data',(_0x3e08cf,_0x468885)=>{if(_0x468885['isUndo']||!_0x468885['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x1d7eeb){if(_0x1d7eeb['batch']['isUndo']||!_0x1d7eeb['batch']['isLocal'])return!0x1;let _0x4d7a9a=!0x1;const _0x4e596e=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x47bb06=>_0x47bb06['data']&&'listItemId'==_0x47bb06['data']['key'])['filter'](_0x5e5af1=>_0x5e5af1['data']['newValue']&&_0x5e5af1['data']['oldValue']);for(const _0x49c109 of _0x4e596e)_0x34f8(_0x49c109)||(_0x1d7eeb['removeMarker'](_0x49c109['getFirstMarker']()),_0x4d7a9a=!0x0);return _0x4d7a9a;}['noTrackChangesFixer'](_0x5910b3){if(_0x5910b3['batch']['isUndo']||!_0x5910b3['batch']['isLocal'])return!0x1;const _0x3b87ad=this['editor']['model']['document']['differ'],_0x475bf9=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x475bf9['trackChangesCommand']['value'])return!0x1;let _0x3b1a32=!0x1;const _0x583e2c=new Set(['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle','htmlLiAttributes','htmlUlAttributes','htmlOlAttributes']),_0x36219c=_0x3b87ad['getChanges']()['filter'](_0x5e02d5=>'attribute'==_0x5e02d5['type'])['filter'](_0x4cf624=>_0x583e2c['has'](_0x4cf624['attributeKey']));if(0x0==_0x36219c['length'])return _0x3b1a32;const _0x9a64c2=new Set(_0x3b87ad['getMarkersToAdd']()['filter'](_0x2cad95=>{if(!_0x2cad95['name']['startsWith']('suggestion:attribute:'))return!0x1;const _0x140ba4=_0x1ee8e4(_0x2cad95['name'])['subType']['split']('|')[0x0];return _0x583e2c['has'](_0x140ba4);})['map'](_0x53a956=>_0x1ee8e4(_0x53a956['name'])['id']));for(const _0x2b0983 of _0x36219c){const _0x1ad80d=_0x475bf9['_findSuggestions'](_0x2b0983['range'],'attribute')['filter'](_0x508ea7=>{if(_0x508ea7['meta']['isNextTo'])return!0x1;if(_0x9a64c2['has'](_0x508ea7['suggestion']['id']))return!0x1;const _0x5f306c=_0x475bf9['_getAttributeKey'](_0x508ea7['suggestion']);return _0x583e2c['has'](_0x5f306c);})['map'](_0x46333c=>_0x46333c['suggestion']);if(_0x1ad80d['length']){for(const _0x1275c6 of _0x1ad80d)_0x5910b3['removeMarker'](_0x1275c6['getFirstMarker']());_0x3b1a32=!0x0;}}return _0x3b1a32;}['assureChains'](){const _0x3da799=this['editor']['plugins']['get']('TrackChangesEditing'),_0x3acaf8=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle','htmlLiAttributes','htmlUlAttributes','htmlOlAttributes'];let _0x425adc;const _0xda37e2=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x3c8685=>{if(_0x3c8685['data']['oldRange']||!_0x3c8685['data']['newRange'])return null;if(!_0x3c8685['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0x18822f}=_0x1ee8e4(_0x3c8685['name']);if(!_0x3da799['hasSuggestion'](_0x18822f))return null;const _0x56a6a9=_0x3da799['getSuggestion'](_0x18822f);return _0x3acaf8['includes'](_0x56a6a9['data']['key']);})['map'](_0x1eaef3=>{const {id:_0x50a078}=_0x1ee8e4(_0x1eaef3['name']),_0x4c9913=_0x3da799['getSuggestion'](_0x50a078);return _0x425adc=_0x4c9913['attributes']['groupId'],_0x4c9913['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0xda37e2['size'])return;const _0x241210=_0x3da799['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x40b742=>'attribute'==_0x40b742['type']&&_0x40b742['data']&&_0x3acaf8['includes'](_0x40b742['data']['key'])&&_0x40b742['attributes']['groupId']!=_0x425adc)['map'](_0x44524d=>({'listItem':_0x44524d['getFirstRange']()['start']['nodeAfter'],'groupId':_0x44524d['attributes']['groupId']})),_0x26e6e3=new Set();for(const {groupId:_0x7b36d3,listItem:_0x4fa1fc}of _0x241210)_0xda37e2['has'](_0x4fa1fc)&&_0x26e6e3['add'](_0x7b36d3);for(const _0x47f2ca of _0x3da799['getSuggestions']())_0x26e6e3['has'](_0x47f2ca['attributes']['groupId'])&&_0x47f2ca['setAttribute']('groupId',_0x425adc);}['_supportLegacySuggestions'](){const _0x3c7ed6=this['editor'],_0x2e862a=_0x3c7ed6['locale'],_0x52346e=_0x3c7ed6['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0x52346e['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0x3422cd,_0x299f21){const _0x4df027=[];for(let _0x119ab3 of _0x3422cd)_0x119ab3['start']['nodeAfter']===_0x119ab3['end']['parent']&&(_0x119ab3=_0x3c7ed6['model']['createRange'](_0x3c7ed6['model']['createPositionAt'](_0x119ab3['start']['nodeAfter'],0x0))),_0x4df027['push'](_0x119ab3);_0x3c7ed6['model']['change'](_0x49165f=>{const _0x28f26c=_0x3c7ed6['model']['document']['selection'],_0x2d4d33=Array['from'](_0x28f26c['getRanges']())['map'](_0x3f0a03=>_0x5f37cd['ModelLiveRange']['fromRange'](_0x3f0a03));_0x49165f['setSelection'](_0x4df027),_0x3c7ed6['commands']['get'](_0x299f21['commandName'])['refresh'](),_0x299f21['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x3c7ed6['execute'](_0x299f21['commandName'],..._0x299f21['commandParams']),_0x49165f['setSelection'](_0x2d4d33);for(const _0x895e7d of _0x2d4d33)_0x895e7d['detach']();});}),_0x52346e['descriptionFactory']['registerElementLabel'](function(_0x1e1d0e){const _0x357e76=!_0x3c7ed6['model']['schema']['isObject'](_0x1e1d0e),_0x11bd79=_0x1e1d0e['previousSibling'],_0x49ade0=_0x1e1d0e['nextSibling'],_0x3f2c8e=_0x1e1d0e['getAttribute']('listItemId'),_0x1bfb61=!_0x11bd79||_0x11bd79['getAttribute']('listItemId')!==_0x3f2c8e,_0x52ffcc=!_0x49ade0||_0x49ade0['getAttribute']('listItemId')!==_0x3f2c8e;return _0x357e76&&Boolean(_0x3f2c8e)&&_0x1bfb61&&_0x52ffcc;},_0x5b7859=>_0x538d4a(_0x2e862a,'ELEMENT_LIST_ITEM',_0x5b7859));}['_registerLegacyDescription'](){const _0x4ee531=this['editor'],_0x15b7a9=_0x4ee531['locale'];function _0x2c38a0(_0x1f854a){const _0x26c1fd=_0x4ee531['commands']['get']('bulletedList')['value'],_0x26261e=_0x4ee531['commands']['get']('numberedList')['value'];return'numberedList'===_0x1f854a?_0x26c1fd:_0x26261e;}_0x4ee531['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0x2a4a4){if('formatBlock'!=_0x2a4a4['type'])return;const {data:_0x3a7a30}=_0x2a4a4;if(!_0x3a7a30)return;let _0x262ec6,_0x16e589,_0x4bf247,_0x53cc60;switch(_0x3a7a30['commandName']){case'bulletedList':_0x4bf247=_0x3a7a30['commandParams'][0x0]['forceValue'],_0x53cc60=_0x2c38a0(_0x3a7a30['commandName']),_0x262ec6=_0x4bf247?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x53cc60&&_0x4ee531['config']['get']('list.multiBlock')||(_0x262ec6='*Change\x20to:*\x20%0'),_0x16e589={'type':'format','content':_0x538d4a(_0x15b7a9,_0x262ec6,_0x538d4a(_0x15b7a9,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x4bf247=_0x3a7a30['commandParams'][0x0]['forceValue'],_0x53cc60=_0x2c38a0(_0x3a7a30['commandName']),_0x262ec6=_0x4bf247?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x53cc60&&_0x4ee531['config']['get']('list.multiBlock')||(_0x262ec6='*Change\x20to:*\x20%0'),_0x16e589={'type':'format','content':_0x538d4a(_0x15b7a9,_0x262ec6,_0x538d4a(_0x15b7a9,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x262ec6='*Indent:*\x20%0',_0x16e589={'type':'format','content':_0x538d4a(_0x15b7a9,_0x262ec6,_0x538d4a(_0x15b7a9,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x262ec6=function(_0x415e6f){const _0x3c2707=_0x415e6f['getFirstRange']();let _0x3aed72=_0x3c2707['start']['nodeAfter'];for(;_0x3aed72&&_0x3c2707['containsItem'](_0x3aed72);){if(_0x3aed72['getAttribute']('listIndent')>0x0)return!0x1;_0x3aed72=_0x3aed72['nextSibling'];}return!0x0;}(_0x2a4a4)?_0x538d4a(_0x15b7a9,'*Format:*\x20remove\x20from\x20%0',_0x538d4a(_0x15b7a9,function(_0x282f42){return'ELEMENT_'+_0x282f42['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x2a4a4))):_0x538d4a(_0x15b7a9,'*Outdent:*\x20%0',_0x538d4a(_0x15b7a9,'ELEMENT_LIST_ITEM')),_0x16e589={'type':'format','content':_0x262ec6};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x3a7a30['multipleBlocks']&&(_0x262ec6='*Merge:*\x20%0',_0x16e589={'type':'deletion','content':_0x538d4a(_0x15b7a9,_0x262ec6,_0x538d4a(_0x15b7a9,'ELEMENT_LIST_ITEM'))});}return _0x16e589;});}}function _0x34f8(_0x47a7db){let _0x5e2b82=_0x47a7db['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0x5e2b82;){const _0x20d5af=_0x5e2b82['getAttribute']('listItemId');if(!_0x20d5af)return!0x1;if(_0x20d5af==_0x47a7db['data']['newValue'])return'newValue';if(_0x20d5af==_0x47a7db['data']['oldValue'])return'oldValue';_0x5e2b82=_0x5e2b82['previousSibling'];}return!0x1;}class TrackChangesDocumentListProperties extends _0x5f37cd['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x572268=this['editor']['config']['get']('list.properties'),_0x295575=this['editor']['plugins']['get']('TrackChangesEditing');_0x572268['styles']&&_0x295575['enableDefaultAttributesIntegration']('listStyle'),_0x572268['reversed']&&_0x295575['enableDefaultAttributesIntegration']('listReversed'),_0x572268['startIndex']&&_0x295575['enableDefaultAttributesIntegration']('listStart');const _0x235e46={'type':'format','content':''};_0x295575['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0xd36b9f=this['editor']['locale'];_0x295575['descriptionFactory']['registerAttributeLabel']('listReversed',_0x538d4a(_0xd36b9f,'FORMAT_LIST_REVERSED')),_0x295575['descriptionFactory']['registerDescriptionCallback'](_0x32bfa5=>{const {data:_0x1037f2}=_0x32bfa5;if(_0x1037f2&&'listReversed'==_0x1037f2['key'])return null==_0x1037f2['newValue']||0x0==_0x1037f2['newValue']&&null==_0x1037f2['oldValue']?_0x235e46:void 0x0;}),_0x295575['descriptionFactory']['registerAttributeLabel']('listStart',_0x538d4a(_0xd36b9f,'FORMAT_LIST_START')),_0x295575['descriptionFactory']['registerDescriptionCallback'](_0x24c28d=>{const {data:_0x2abb1c}=_0x24c28d;if(_0x2abb1c&&'listStart'==_0x2abb1c['key'])return null==_0x2abb1c['newValue']||0x1==_0x2abb1c['newValue']&&null==_0x2abb1c['oldValue']?_0x235e46:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0x208654=>{if(_0x208654['batch']['isUndo'])return!0x1;let _0x263df9=!0x1;const _0x1d9ea5=_0x295575['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x32f0ea=>{const _0x1de68c=_0x295575['_getAttributeKey'](_0x32f0ea);return'listStart'==_0x1de68c||'listReversed'==_0x1de68c;});for(const _0x753f4e of _0x1d9ea5){const _0x3bc13c=_0x753f4e['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');if('numbered'==_0x3bc13c||'customNumbered'==_0x3bc13c)continue;const _0x49bfd7=_0x295575['_findSuggestions'](_0x753f4e['getFirstRange'](),'attribute')['find'](_0x226d95=>'listType'==_0x295575['_getAttributeKey'](_0x226d95['suggestion']));_0x49bfd7||(_0x208654['removeMarker'](_0x753f4e['getFirstMarker']()),_0x263df9=!0x0);}return _0x263df9;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0x27fc56){const _0x12f23e=this['editor']['locale'],{data:_0x404427}=_0x27fc56,_0x535037={'type':'format','content':''};if(!_0x404427||'listStyle'!=_0x404427['key'])return;if(!_0x404427['oldValue'])return'default'==_0x404427['newValue']?_0x535037:{'type':'format','content':''+_0x538d4a(_0x12f23e,'*Set\x20format:*\x20%0',_0x538d4a(_0x12f23e,this['_getTranslationKeyForListStyle'](_0x404427['newValue'])))};if(!_0x404427['newValue']){if('default'==_0x404427['oldValue'])return _0x535037;let _0x204133=_0x27fc56['head'];for(;_0x204133;){if(_0x204133['data']&&'listType'==_0x204133['data']['key']&&_0x204133['data']['newValue'])return _0x535037;_0x204133=_0x204133['next'];}return{'type':'format','content':''+_0x538d4a(_0x12f23e,'*Remove\x20format:*\x20%0',_0x538d4a(_0x12f23e,this['_getTranslationKeyForListStyle'](_0x404427['oldValue'])))};}if('default'!=_0x404427['newValue'])return{'type':'format','content':''+_0x538d4a(_0x12f23e,'*Set\x20format:*\x20%0',_0x538d4a(_0x12f23e,this['_getTranslationKeyForListStyle'](_0x404427['newValue'])))};let _0x17cca3=_0x27fc56['head'];for(;_0x17cca3;){if(_0x17cca3['data']&&'listType'==_0x17cca3['data']['key']&&_0x17cca3['data']['newValue']&&_0x17cca3['data']['oldValue'])return _0x535037;_0x17cca3=_0x17cca3['next'];}return{'type':'format','content':_0x538d4a(_0x12f23e,'*Set\x20format:*\x20%0',_0x538d4a(_0x12f23e,'ELEMENT_'+_0x27fc56['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0x30d063=this['editor'],_0x4fb24c=_0x30d063['locale'];_0x30d063['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x52bbcb=>{if('formatBlock'!=_0x52bbcb['type'])return;const {data:_0x45b012}=_0x52bbcb;if(!_0x45b012)return;let _0xf4abf6,_0x120add;switch(_0x45b012['commandName']){case'listStyle':_0xf4abf6='*Change\x20to:*\x20%0',_0x120add={'type':'format','content':_0x538d4a(_0x4fb24c,_0xf4abf6,_0x538d4a(_0x4fb24c,this['_getTranslationKeyForListStyle'](_0x45b012['commandParams'][0x0]['type'])))};break;case'listReversed':_0xf4abf6=_0x45b012['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x120add={'type':'format','content':_0x538d4a(_0x4fb24c,_0xf4abf6)};break;case'listStart':_0xf4abf6='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x120add={'type':'format','content':_0x538d4a(_0x4fb24c,_0xf4abf6,_0x45b012['commandParams'][0x0]['startIndex'])};}return _0x120add;});}['_getTranslationKeyForListStyle'](_0x3814f6){return'ELEMENT_'+function(_0x232355){if(_0x3589b4['includes'](_0x232355))return'bulleted';if(_0x2deffe['includes'](_0x232355))return'numbered';return null;}(_0x3814f6)['toUpperCase']()+'_LIST_'+_0x3814f6['toUpperCase']()['replace'](/-/g,'_');}}const _0x3589b4=['disc','circle','square'],_0x2deffe=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin','arabic-indic'];class _0x53c5f0 extends _0x5f37cd['Plugin']{['afterInit'](){const _0x4c5642=this['editor'];_0x4c5642['commands']['get']('emoji')&&_0x4c5642['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}}class TrackChangesEnterCommand extends _0x5f37cd['Plugin']{static get['requires'](){return[_0x5f37cd['Enter']];}['init'](){const _0x2f54f3=this['editor'],_0x240dd6=_0x2f54f3['plugins']['get']('TrackChangesEditing'),_0x261f8f=_0x2f54f3['commands']['get']('enter');_0x240dd6['enableCommand']('enter',()=>{_0x2f54f3['model']['change'](_0x8d1640=>{const _0x2b5709=_0x2f54f3['model']['document']['selection'],_0x3347b3=_0x2b5709['getFirstPosition'](),_0x275dbc=_0x5f37cd['ModelLiveRange']['fromRange'](_0x2b5709['getFirstRange']());if(_0x261f8f['enterBlock'](_0x8d1640)){const _0x18c9bb=_0x2f54f3['model']['createPositionAt'](_0x3347b3['parent']['nextSibling'],0x0),_0x5c1b9e=_0x8d1640['createRange'](_0x3347b3,_0x18c9bb);_0x240dd6['markInsertion'](_0x5c1b9e);}else _0x8d1640['setSelection'](_0x8d1640['createRange'](_0x275dbc['end']));_0x275dbc['detach'](),_0x261f8f['fire']('afterExecute',{'writer':_0x8d1640});});});}}class _0x55f25f extends _0x5f37cd['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0x59fc98=this['editor']['plugins']['get']('TrackChangesEditing');_0x59fc98['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0x59fc98['enableCommand']('findNext'),_0x59fc98['enableCommand']('findPrevious'),_0x59fc98['enableCommand']('replace'),_0x59fc98['enableCommand']('replaceAll');}['handleFindCommand'](_0x370d26,_0x1e1da0,_0x327bbf={}){const _0xc1ee3=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0x370d26(_0x4c23f5=>{let _0x435044=('string'==typeof _0x1e1da0?_0xc1ee3['findByTextCallback'](_0x1e1da0,_0x327bbf):_0x1e1da0)(_0x4c23f5);Array['isArray'](_0x435044)&&(_0x435044={'results':_0x435044,'searchText':'string'==typeof _0x1e1da0?_0x1e1da0:''});const _0x39ceac=_0x435044['results']['filter'](_0x4c08b3=>!0x1===this['_isInDeletionRange'](_0x4c08b3,_0x4c23f5['item']));return{..._0x435044,'results':_0x39ceac};},_0x327bbf);}['_isInDeletionRange'](_0x38858c,_0x39ce27){const _0x87e76c=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x39ce27,_0x38858c['start']),this['editor']['model']['createPositionAt'](_0x39ce27,_0x38858c['end']));for(const _0x28c2b4 of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x87e76c['getIntersection'](_0x28c2b4['getRange']()))return!0x0;return!0x1;}}const _0x485a91=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class TrackChangesFont extends _0x5f37cd['Plugin']{['afterInit'](){const _0x25f48a=this['editor']['locale'],_0x52dee9=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x140632,commandName:_0x383725}of _0x485a91)this['editor']['plugins']['has'](_0x140632)&&_0x52dee9['enableDefaultAttributesIntegration'](_0x383725);_0x52dee9['descriptionFactory']['registerAttributeLabel']('fontSize',_0x538d4a(_0x25f48a,'FORMAT_FONT_SIZE')),_0x52dee9['descriptionFactory']['registerAttributeLabel']('fontFamily',_0x538d4a(_0x25f48a,'FORMAT_FONT_FAMILY')),_0x52dee9['descriptionFactory']['registerAttributeLabel']('fontColor',_0x538d4a(_0x25f48a,'FORMAT_FONT_COLOR')),_0x52dee9['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',_0x538d4a(_0x25f48a,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2c403e=this['editor'],_0x1e1596=_0x2c403e['locale'];_0x2c403e['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0xb658a8=>{const _0x46dddf=_0x1e1596['t'];if('formatInline'!=_0xb658a8['type'])return;const {data:_0x4fe2ff}=_0xb658a8;if(null!=_0x4fe2ff){if('fontSize'==_0x4fe2ff['commandName']){const _0x13ef11=_0x4fe2ff['commandParams'][0x0]['value'];if(_0x13ef11){const _0x89cd3f=_0x46dddf(this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0x538625=>_0x538625['model']==_0x13ef11)['title'])['toLowerCase']();return{'type':'format','content':_0x538d4a(_0x1e1596,'*Set\x20font\x20size:*\x20%0',_0x89cd3f)};}return{'type':'format','content':_0x538d4a(_0x1e1596,'*Reset\x20font\x20size*')};}if('fontFamily'==_0x4fe2ff['commandName']){const _0x917e7a=_0x4fe2ff['commandParams'][0x0]['value'];return _0x917e7a?{'type':'format','content':_0x538d4a(_0x1e1596,'*Set\x20font\x20family:*\x20%0',_0x917e7a)}:{'type':'format','content':_0x538d4a(_0x1e1596,'*Reset\x20font\x20family*')};}if('fontColor'==_0x4fe2ff['commandName']){const _0x578f15=_0x4fe2ff['commandParams'][0x0]['value'];if(_0x578f15){const _0x3c3183=_0x5f37cd['normalizeColorOptions'](this['editor']['config']['get']('fontColor.colors'))['find'](_0x53e725=>_0x53e725['model']==_0x578f15);let _0x59300c=_0x578f15,_0x51e59d='';return _0x3c3183&&(_0x59300c=_0x3c3183['label'],_0x51e59d=_0x46dddf(_0x59300c)['toLowerCase']()),{'type':'format','content':_0x538d4a(_0x1e1596,'*Set\x20font\x20color:*\x20%0',_0x51e59d)['trim'](),'color':{'value':_0x578f15,'title':_0x51e59d||_0x59300c}};}return{'type':'format','content':_0x538d4a(_0x1e1596,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x4fe2ff['commandName']){const _0x87c3c7=_0x4fe2ff['commandParams'][0x0]['value'];if(_0x87c3c7){const _0x52d47a=_0x5f37cd['normalizeColorOptions'](this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0x1e4d37=>_0x1e4d37['model']==_0x87c3c7);let _0x8a7d0f=_0x87c3c7,_0x314352='';return _0x52d47a&&(_0x8a7d0f=_0x52d47a['label'],_0x314352=_0x46dddf(_0x8a7d0f)['toLowerCase']()),{'type':'format','content':_0x538d4a(_0x1e1596,'*Set\x20font\x20background\x20color:*\x20%0',_0x314352)['trim'](),'color':{'value':_0x87c3c7,'title':_0x314352||_0x8a7d0f}};}return{'type':'format','content':_0x538d4a(_0x1e1596,'*Reset\x20font\x20background\x20color*')};}}});}}class TrackChangesFootnotes extends _0x5f37cd['Plugin']{['afterInit'](){const {plugins:_0x5af5ac}=this['editor'];_0x5af5ac['has']('FootnotesEditing')&&this['_registerFootnotesEditingIntegration'](),_0x5af5ac['has']('FootnotesPropertiesEditing')&&this['_registerFootnotesPropertiesEditingIntegration']();}['_registerFootnotesPropertiesEditingIntegration'](){const {locale:_0x2549bd,plugins:_0x4c74f5,commands:_0x5d6d7f}=this['editor'],_0x27be28=_0x4c74f5['get']('TrackChangesEditing');_0x5d6d7f['get']('footnotesStyle')&&_0x27be28['enableDefaultAttributesIntegration']('footnotesStyle'),_0x5d6d7f['get']('footnotesStart')&&_0x27be28['enableDefaultAttributesIntegration']('footnotesStart'),_0x27be28['descriptionFactory']['registerAttributeLabel']('footnotesListStyle',_0x538d4a(_0x2549bd,'FORMAT_FOOTNOTES_LIST_STYLE')),_0x27be28['descriptionFactory']['registerAttributeLabel']('footnotesListStart',_0x538d4a(_0x2549bd,'FORMAT_FOOTNOTES_LIST_START'));}['_registerFootnotesEditingIntegration'](){const _0x55da44=this['editor']['plugins']['get']('TrackChangesEditing'),{locale:_0x43ae0e,commands:_0x3d5766}=this['editor'];_0x3d5766['get']('insertFootnote')&&_0x55da44['enableCommand']('insertFootnote'),_0x55da44['descriptionFactory']['registerElementLabel']('footnoteRef',_0x46a01d=>_0x538d4a(_0x43ae0e,'ELEMENT_FOOTNOTE_REF',_0x46a01d)),_0x55da44['descriptionFactory']['registerElementLabel']('footnoteDefinition',_0x4c80a9=>_0x538d4a(_0x43ae0e,'ELEMENT_FOOTNOTE_DEFINITION',_0x4c80a9)),_0x55da44['descriptionFactory']['registerElementLabel']('footnotesDefinitions',_0x550f79=>_0x538d4a(_0x43ae0e,'ELEMENT_FOOTNOTES_DEFINITIONS_LIST',_0x550f79));}}class TrackChangesFormatPainter extends _0x5f37cd['Plugin']{['afterInit'](){const _0x4055cc=this['editor'],_0x5f49ef=_0x4055cc['plugins']['get']('TrackChangesEditing'),_0x491663=_0x4055cc['commands']['get']('copyFormat'),_0x199db5=_0x4055cc['commands']['get']('pasteFormat');_0x491663&&_0x199db5&&(_0x5f49ef['enableDefaultAttributesIntegration']('pasteFormat'),_0x5f49ef['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x29462a=this['editor'],_0xbafda4=_0x29462a['locale'];_0x29462a['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x26c8fa=>{if('formatBlock'!=_0x26c8fa['type']&&'formatInline'!=_0x26c8fa['type'])return;const {data:_0x145d80}=_0x26c8fa;if(_0x145d80&&'pasteFormat'===_0x145d80['commandName']){const _0xc266dd=[],_0x41438c=_0x145d80['commandParams'][0x0];for(const [_0x29a519,_0x53959f]of Object['entries'](_0x41438c))_0xc266dd['push'](_0x4ad367(_0x29462a,_0x29a519,_0x53959f));return _0xc266dd['length']?{'type':'format','content':_0x538d4a(_0xbafda4,'*Set\x20format\x20to:*\x20%0',_0xc266dd['join'](',\x20'))}:{'type':'format','content':_0x538d4a(_0xbafda4,'*Remove\x20all\x20formatting*')};}});}}function _0x4ad367(_0x5318ef,_0x5d23b6,_0x333bb5){const _0x14796e=_0x5318ef['locale']['t'],_0x16c961=_0x5d23b6['split'](/(?=[A-Z])/)['join']('\x20'),_0x2a97bf=_0x14796e(_0x16c961['charAt'](0x0)['toUpperCase']()+_0x16c961['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x333bb5)return _0x2a97bf;if('fontColor'===_0x5d23b6||'fontBackgroundColor'===_0x5d23b6){const _0x525a33=_0x5f37cd['normalizeColorOptions'](_0x5318ef['config']['get']('fontColor.colors'))['find'](_0x15b67d=>_0x15b67d['model']==_0x333bb5);return _0x2a97bf+'\x20('+(_0x525a33?_0x14796e(_0x525a33['label'])['toLowerCase']():_0x333bb5)+')';}if('fontSize'===_0x5d23b6&&isNaN(parseFloat(_0x333bb5))){const _0xa907dd=_0x5318ef['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x5318ef['config']['get']('fontSize.options'))['find'](_0x3f90b7=>_0x3f90b7['model']==_0x333bb5);return _0x2a97bf+'\x20('+(_0xa907dd?_0x14796e(_0xa907dd['title'])['toLowerCase']():_0x333bb5)+')';}return _0x2a97bf+'\x20('+_0x333bb5+')';}class TrackChangesGeneralHtmlSupport extends _0x5f37cd['Plugin']{['afterInit'](){const _0x3adcad=this['editor'];if(!_0x3adcad['plugins']['has']('GeneralHtmlSupport')||!_0x3adcad['plugins']['has']('DataSchema'))return;const _0xaeab41=_0x3adcad['plugins']['get']('TrackChangesEditing'),_0x598d09=_0x3adcad['plugins']['get']('GeneralHtmlSupport'),_0x185cca=_0x3adcad['plugins']['get']('DataSchema'),_0x5d7a8e=_0x3adcad['locale'],_0x55473e=new Set(['htmlContent']);for(const _0x169720 of _0x185cca['getDefinitionsForView'](/.*/,!0x1)){const _0x251520=_0x169720['view'],_0x3a7062=_0x598d09['getGhsAttributeNameForElement'](_0x251520);_0x55473e['add'](_0x3a7062),(_0x169720['isInline']&&!_0x169720['isObject']&&!('appliesToBlock'in _0x169720&&_0x169720['appliesToBlock'])&&_0xaeab41['descriptionFactory']['registerAttributeLabel'](_0x3a7062,_0x251520),_0x169720['model']['startsWith']('html')&&_0xaeab41['descriptionFactory']['registerElementLabel'](_0x169720['model'],_0x1be677=>_0x538d4a(_0x5d7a8e,'ELEMENT_HTML_TAG',[_0x1be677,_0x251520])));}_0xaeab41['descriptionFactory']['registerAttributeLabel']('htmlContent',_0x538d4a(_0x5d7a8e,'FORMAT_RAW_HTML_CONTENT')),_0xaeab41['descriptionFactory']['registerAttributeLabel']('htmlLiAttributes',_0x538d4a(_0x5d7a8e,'FORMAT_HTML_LIST_ITEM')),_0xaeab41['descriptionFactory']['registerAttributeLabel']('htmlUlAttributes',_0x538d4a(_0x5d7a8e,'FORMAT_HTML_BULLETED_LIST')),_0xaeab41['descriptionFactory']['registerAttributeLabel']('htmlOlAttributes',_0x538d4a(_0x5d7a8e,'FORMAT_HTML_NUMBERED_LIST')),_0xaeab41['descriptionFactory']['registerDescriptionCallback'](_0x1d76bb=>{if('attribute'!==_0x1d76bb['type'])return;const _0x58ce1f=_0x1d76bb['data'];if(!_0x58ce1f||!_0x55473e['has'](_0x58ce1f['key']))return;if('htmlContent'===_0x58ce1f['key'])return{'type':'format','content':_0x538d4a(_0x5d7a8e,'*Change\x20%0\x20content*',_0x538d4a(_0x5d7a8e,'ELEMENT_RAW_HTML'))};const {setItems:_0x5b8bc9,removeItems:_0x45f337}=function(_0x2cdc63,_0x3f7090,_0x5a13a0){const _0x4d1c96=[],_0x350d99=[],_0x73327e=_0x2cdc63['styles']??{},_0x474eb5=_0x3f7090['styles']??{};for(const _0x47c99b of new Set([...Object['keys'](_0x73327e),...Object['keys'](_0x474eb5)]))_0x73327e[_0x47c99b]!==_0x474eb5[_0x47c99b]&&(void 0x0===_0x474eb5[_0x47c99b]?_0x350d99['push'](_0x47c99b):_0x4d1c96['push'](_0x47c99b+'\x20('+_0x474eb5[_0x47c99b]+')'));const _0x54ca49=_0x538d4a(_0x5a13a0,'FORMAT_HTML_CLASS'),_0xa6a3b7=new Set(_0x2cdc63['classes']??[]),_0x4157c4=new Set(_0x3f7090['classes']??[]),_0x5effcf=[..._0x4157c4]['some'](_0x5bbce2=>!_0xa6a3b7['has'](_0x5bbce2)),_0x367d8a=[..._0xa6a3b7]['some'](_0x378f51=>!_0x4157c4['has'](_0x378f51));_0x5effcf&&_0x4d1c96['push'](_0x54ca49),_0x367d8a&&_0x350d99['push'](_0x54ca49);const _0x36f98e=_0x538d4a(_0x5a13a0,'FORMAT_HTML_ATTRIBUTE'),_0x1fb66c=_0x2cdc63['attributes']??{},_0x56de84=_0x3f7090['attributes']??{};let _0x36aee0=!0x1,_0x5ed5f0=!0x1;for(const _0x49f07f of new Set([...Object['keys'](_0x1fb66c),...Object['keys'](_0x56de84)]))_0x1fb66c[_0x49f07f]!==_0x56de84[_0x49f07f]&&(void 0x0===_0x56de84[_0x49f07f]?_0x5ed5f0=!0x0:_0x36aee0=!0x0);return _0x36aee0&&_0x4d1c96['push'](_0x36f98e),_0x5ed5f0&&_0x350d99['push'](_0x36f98e),{'setItems':_0x4d1c96,'removeItems':_0x350d99};}(_0x58ce1f['oldValue']??{},_0x58ce1f['newValue']??{},_0x5d7a8e);if(!_0x5b8bc9['length']&&!_0x45f337['length'])return;const _0x421891=[];return _0x5b8bc9['length']&&_0x421891['push'](_0x538d4a(_0x5d7a8e,'*Set\x20format:*\x20%0',_0x5b8bc9['join'](',\x20'))),_0x45f337['length']&&_0x421891['push'](_0x538d4a(_0x5d7a8e,'*Remove\x20format:*\x20%0',_0x45f337['join'](',\x20'))),{'type':'format','content':_0x421891['join']('\x0a')};});}}class _0x4b8ff1 extends _0x5f37cd['Plugin']{['_headingOptions'];['afterInit'](){const _0x5c896d=this['editor'];if(!_0x5c896d['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0x5c896d['config']['get']('heading.options');const _0x37e705=_0x5c896d['locale'],_0x356b2b=_0x5c896d['plugins']['get']('TrackChangesEditing');_0x356b2b['enableDefaultAttributesIntegration']('heading');for(const _0x18b407 of this['_headingOptions'])'paragraph'!=_0x18b407['model']&&_0x356b2b['descriptionFactory']['registerElementLabel'](_0x18b407['model'],_0x4dd2b9=>{const _0x5434e7=this['_getHeadingLevel'](_0x18b407['model']);return null!==_0x5434e7?_0x1273ab(_0x4dd2b9,_0x5434e7):_0x25c8b5(_0x4dd2b9,_0x18b407['title']);});function _0x1273ab(_0x54658e,_0x774f97){return _0x538d4a(_0x37e705,'ELEMENT_HEADING',[_0x54658e,_0x774f97]);}function _0x25c8b5(_0x3ccdc4,_0x5b7735){return _0x538d4a(_0x37e705,'ELEMENT_HEADING_CUSTOM',[_0x3ccdc4,_0x5b7735]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x122595=this['editor'],_0xd73a83=_0x122595['locale'];function _0x118b31(_0x1c9bf1,_0x1e62f4){return _0x538d4a(_0xd73a83,'ELEMENT_HEADING_CUSTOM',[_0x1c9bf1,_0x1e62f4]);}_0x122595['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1c3fe2=>{if('formatBlock'!=_0x1c3fe2['type'])return;const {data:_0x3c7733}=_0x1c3fe2;if(_0x3c7733&&'heading'==_0x3c7733['commandName']){const _0x175f71=_0x3c7733['commandParams'][0x0]['value'],_0x300ddd=this['_getHeadingLevel'](_0x175f71);if(null!==_0x300ddd)return{'type':'format','content':_0x538d4a(_0xd73a83,'*Change\x20to:*\x20%0',(_0x10d813=0x1,_0x45b56a=_0x300ddd,_0x538d4a(_0xd73a83,'ELEMENT_HEADING',[_0x10d813,_0x45b56a])))};const _0x5f1546=this['_headingOptions']['find'](_0x42239e=>_0x42239e['model']===_0x175f71)['title'];return{'type':'format','content':_0x538d4a(_0xd73a83,'*Change\x20to:*\x20%0',_0x118b31(0x1,_0x5f1546))};}var _0x10d813,_0x45b56a;});}['_getHeadingLevel'](_0x42e140){const _0x3cac1f=_0x42e140['match'](/^heading(\d+)/);if(_0x3cac1f)return _0x3cac1f[0x1];const _0x57df2b=this['_headingOptions']?.['find'](_0x1353ac=>_0x1353ac['model']==_0x42e140);if(_0x57df2b&&_0x57df2b['view']){const _0x28feae=_0x57df2b['view'],_0x4b08d4=(_0x28feae['name']??_0x28feae)['match'](/^h(\d+)/);if(_0x4b08d4)return _0x4b08d4[0x1];}return null;}}class TrackChangesHighlight extends _0x5f37cd['Plugin']{['afterInit'](){const _0x2b9b87=this['editor'];if(!_0x2b9b87['plugins']['has']('HighlightEditing'))return;const _0x8f2199=_0x2b9b87['plugins']['get']('TrackChangesEditing'),_0x297b62=_0x2b9b87['locale'];_0x8f2199['enableDefaultAttributesIntegration']('highlight'),_0x8f2199['descriptionFactory']['registerAttributeLabel']('highlight',_0x538d4a(_0x297b62,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3bfda2=this['editor'],_0x205177=_0x3bfda2['locale'];_0x3bfda2['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x497b1e=>{if('formatInline'!=_0x497b1e['type'])return;const {data:_0x3cd5f7}=_0x497b1e;if(_0x3cd5f7&&'highlight'==_0x3cd5f7['commandName']){const _0xf44d06=_0x205177['t'],_0x535e1d=_0x3cd5f7['commandParams'][0x0]['value'];if(_0x535e1d){const _0x3158c2=_0x3bfda2['config']['get']('highlight.options')['find'](_0x34ed81=>_0x34ed81['model']==_0x535e1d),_0xea16fb=_0xf44d06(_0x3158c2['title'])['toLowerCase']();return{'type':'format','content':_0x538d4a(_0x205177,'*Set\x20highlight:*\x20%0',_0xea16fb),'color':{'value':_0x3158c2['color'],'title':_0x3158c2['title']}};}return{'type':'format','content':_0x538d4a(_0x205177,'*Remove\x20highlight*',_0x538d4a(_0x205177,'FORMAT_HIGHLIGHT'))};}});}}class TrackChangesHorizontalLine extends _0x5f37cd['Plugin']{['afterInit'](){const _0x4a7bee=this['editor'];if(!_0x4a7bee['plugins']['has']('HorizontalLineEditing'))return;_0x4a7bee['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x4f1cf5=_0x4a7bee['plugins']['get']('TrackChangesEditing'),_0x200b86=_0x4a7bee['locale'];_0x4f1cf5['descriptionFactory']['registerElementLabel']('horizontalLine',_0x138547=>_0x538d4a(_0x200b86,'ELEMENT_HORIZONTAL_LINE',_0x138547));}}class TrackChangesHtmlEmbed extends _0x5f37cd['Plugin']{['afterInit'](){const _0xb06817=this['editor'];if(!_0xb06817['plugins']['has']('HtmlEmbed'))return;const _0x1dc40f=_0xb06817['plugins']['get']('TrackChangesEditing'),_0x49e458=_0xb06817['locale'];_0x1dc40f['descriptionFactory']['registerElementLabel']('rawHtml',_0x1045c3=>_0x538d4a(_0x49e458,'ELEMENT_HTML_EMBED',_0x1045c3)),_0x1dc40f['enableDefaultAttributesIntegration']('htmlEmbed'),_0x1dc40f['descriptionFactory']['registerDescriptionCallback'](_0x4c830d=>{if('attribute'!=_0x4c830d['type'])return;const {data:_0x2c5dd5}=_0x4c830d;if(_0x2c5dd5&&'value'==_0x2c5dd5['key']&&_0x4c830d['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')){const _0x2065b4=_0x538d4a(_0x49e458,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x538d4a(_0x49e458,'*Change\x20%0\x20content*',_0x2065b4)};}}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x276813=this['editor'],_0x3aebfb=_0x276813['locale'];_0x276813['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x246b3d=>{if('formatBlock'!=_0x246b3d['type'])return;const {data:_0x3dbd91}=_0x246b3d;if(_0x3dbd91&&'htmlEmbed'==_0x3dbd91['commandName']){const _0x31c349=_0x538d4a(_0x3aebfb,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x538d4a(_0x3aebfb,'*Change\x20%0\x20content*',_0x31c349)};}});}}class _0x297044 extends _0x5f37cd['Plugin']{['afterInit'](){const _0x5cd279=this['editor'];if(!_0x5cd279['plugins']['has']('ImageEditing'))return;const _0x54757a=_0x5cd279['plugins']['get']('TrackChangesEditing'),_0x37a322=_0x5cd279['plugins']['get']('ImageUtils'),_0x4afd2a=_0x5cd279['locale'];_0x54757a['enableCommand']('insertImage'),_0x54757a['descriptionFactory']['registerElementLabel']('imageBlock',_0x34b6ee=>_0x538d4a(_0x4afd2a,'ELEMENT_IMAGE',_0x34b6ee)),_0x54757a['descriptionFactory']['registerElementLabel']('imageInline',_0x4d2dbd=>_0x538d4a(_0x4afd2a,'ELEMENT_INLINE_IMAGE',_0x4d2dbd)),_0x54757a['descriptionFactory']['registerElementLabel']('caption',()=>_0x538d4a(_0x4afd2a,'ELEMENT_CAPTION')),_0x5cd279['plugins']['has']('ImageUploadEditing')&&_0x54757a['enableCommand']('uploadImage'),_0x5cd279['plugins']['has']('ImageBlockEditing')&&_0x5cd279['plugins']['has']('ImageInlineEditing')&&(_0x54757a['enableCommand']('imageTypeInline',(_0x50be2a,_0x29426f)=>{const _0x5f5c22=_0x37a322['getClosestSelectedImageElement'](_0x5cd279['model']['document']['selection']);_0x5cd279['model']['change'](()=>{_0x54757a['markBlockFormat'](_0x5f5c22,{'commandName':'imageTypeInline','commandParams':[_0x29426f]},[],'convertBlockImageToInline');});}),_0x54757a['enableCommand']('imageTypeBlock',(_0x3c841d,_0x3c8dd2)=>{_0x5cd279['model']['change'](_0x2fb87a=>{let _0xcbbb81=_0x37a322['getClosestSelectedImageElement'](_0x5cd279['model']['document']['selection']),_0x4d72e2=_0x2fb87a['createRangeOn'](_0xcbbb81);const _0x247313=_0x5f37cd['ModelLivePosition']['fromPosition'](_0x4d72e2['start'],'toPrevious'),_0x4fa4f8=_0x5f37cd['ModelLivePosition']['fromPosition'](_0x4d72e2['end'],'toNext');_0x54757a['forceDefaultExecution'](()=>_0x3c841d(_0x3c8dd2)),_0xcbbb81=_0x37a322['getClosestSelectedImageElement'](_0x5cd279['model']['document']['selection']),_0x4d72e2=_0x2fb87a['createRangeOn'](_0xcbbb81);const _0x465e8b=_0x2fb87a['createRange'](_0x247313,_0x4fa4f8);_0x247313['detach'](),_0x4fa4f8['detach'](),_0x54757a['markBlockFormat'](_0xcbbb81,{'commandName':'imageTypeInline','commandParams':[_0x3c8dd2]},[],'convertInlineImageToBlock'),_0x465e8b['start']['isBefore'](_0x4d72e2['start'])&&_0x54757a['markInsertion'](_0x2fb87a['createRange'](_0x465e8b['start'],_0x4d72e2['start']),'convertInlineImageToBlock'),_0x4d72e2['end']['isBefore'](_0x465e8b['end'])&&_0x54757a['markInsertion'](_0x2fb87a['createRange'](_0x4d72e2['end'],_0x465e8b['end']),'convertInlineImageToBlock');});}),_0x54757a['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x54757a['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x54757a['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x54757a['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x54757a['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x54757a['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0x22e130])=>{const _0x1fa6f8=_0x54757a['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x5df954=_0x22e130['start'],_0x171ef1=_0x22e130['end'];const _0x3d9180=_0x5cd279['model']['schema']['getNearestSelectionRange'](_0x5df954,'backward'),_0x301579=_0x5cd279['model']['schema']['getNearestSelectionRange'](_0x171ef1,'forward');_0x3d9180['isCollapsed']&&(_0x5df954=_0x3d9180['start']),_0x301579['isCollapsed']&&(_0x171ef1=_0x301579['end']),_0x1fa6f8([_0x5cd279['model']['createRange'](_0x5df954,_0x171ef1)]);}),_0x54757a['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0x1a7353),_0x54757a['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0x1a7353)),_0x5cd279['plugins']['has']('ImageCaptionEditing')&&(_0x54757a['enableCommand']('toggleImageCaption',(_0x27e9a,_0x3f1bf9)=>{const _0x33ebf4=_0x5cd279['plugins']['get']('ImageCaptionUtils');let _0x61c04f=_0x37a322['getClosestSelectedImageElement'](_0x5cd279['model']['document']['selection']),_0x58c5b6=_0x33ebf4['getCaptionFromImageModelElement'](_0x61c04f);_0x5cd279['model']['change'](()=>{if(_0x58c5b6)return void _0x54757a['markDeletion'](_0x5cd279['model']['createRangeOn'](_0x58c5b6));const _0x312f2a=_0x37a322['isBlockImage'](_0x61c04f);_0x27e9a(_0x3f1bf9),_0x61c04f=_0x37a322['getClosestSelectedImageElement'](_0x5cd279['model']['document']['selection']),_0x58c5b6=_0x33ebf4['getCaptionFromImageModelElement'](_0x61c04f),_0x54757a['markInsertion'](_0x5cd279['model']['createRangeOn'](_0x58c5b6),_0x312f2a?null:'imageCaption');});}),_0x54757a['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0x1a7353));const _0x25e5d8=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x627483(_0x216683,_0x27c4d1){const _0x23c640=_0x25e5d8['findIndex'](({type:_0x39ec78,subType:_0x2724ed})=>_0x216683['type']==_0x39ec78&&_0x216683['subType']==_0x2724ed),_0x8b7544=_0x25e5d8['findIndex'](({type:_0xcaafe9,subType:_0x554c53})=>_0x27c4d1['type']==_0xcaafe9&&_0x27c4d1['subType']==_0x554c53);if(_0x23c640<0x0||_0x8b7544<0x0)return!0x1;const _0x756d85=_0x216683['getFirstRange'](),_0x158ee7=_0x27c4d1['getFirstRange']();if((0x0==_0x23c640||0x1==_0x23c640)&&0x2==_0x8b7544&&_0x756d85['isIntersecting'](_0x158ee7))return!0x0;if(0x2==_0x23c640&&0x3==_0x8b7544){const _0x40a6e8=_0x54757a['_findSuggestions'](_0x756d85,'insertion')['filter'](({suggestion:_0x473ccc,meta:_0x3bc4ca})=>_0x3bc4ca['isOwn']&&'convertInlineImageToBlock'==_0x473ccc['subType']);if(_0x40a6e8['length']>0x1&&_0x158ee7['end']['isEqual'](_0x756d85['start']))return!0x0;if(0x1==_0x40a6e8['length']&&(_0x756d85['start']['isEqual'](_0x158ee7['end'])||_0x756d85['end']['isEqual'](_0x158ee7['start'])))return!0x0;}if(0x3==_0x23c640&&0x3==_0x8b7544&&_0x756d85['start']['isBefore'](_0x158ee7['start'])){const _0x3195e4=_0x756d85['end']['nodeAfter'],_0x224c8f=_0x158ee7['start']['nodeBefore'];return _0x37a322['isBlockImage'](_0x3195e4)&&_0x3195e4===_0x224c8f;}return!0x1;}function _0x1a7353(_0x1ffb06,_0x7f7623){return _0x627483(_0x1ffb06,_0x7f7623)?[_0x1ffb06,_0x7f7623]:_0x627483(_0x7f7623,_0x1ffb06)?[_0x7f7623,_0x1ffb06]:null;}_0x5cd279['plugins']['has']('ImageResize')&&(_0x54757a['enableDefaultAttributesIntegration']('resizeImage'),_0x54757a['descriptionFactory']['registerAttributeLabel']('resizedWidth',_0x538d4a(_0x4afd2a,'FORMAT_IMAGE_SIZE'))),_0x5cd279['plugins']['has']('ImageTextAlternativeEditing')&&_0x54757a['enableDefaultAttributesIntegration']('imageTextAlternative'),_0x5cd279['plugins']['has']('PictureEditing')&&_0x54757a['descriptionFactory']['registerDescriptionCallback'](_0x3b6a7e=>{if('attribute'!=_0x3b6a7e['type'])return;const {data:_0x8e30dc}=_0x3b6a7e;return _0x8e30dc&&'sources'==_0x8e30dc['key']?{'type':'format','content':''}:void 0x0;}),_0x5cd279['plugins']['has']('ImageSizeAttributes')&&_0x54757a['descriptionFactory']['registerDescriptionCallback'](_0x3545c9=>{if('attribute'!=_0x3545c9['type'])return;const {data:_0x3bdc58}=_0x3545c9;return!_0x3bdc58||'width'!=_0x3bdc58['key']&&'height'!=_0x3bdc58['key']?void 0x0:{'type':'format','content':''};}),_0x54757a['descriptionFactory']['registerDescriptionCallback'](_0x1347b0=>{if(!!_0x25e5d8['find'](({type:_0x3c2bc3,subType:_0xa9058d})=>_0x1347b0['type']==_0x3c2bc3&&_0x1347b0['subType']==_0xa9058d))return _0x1347b0['previous']?{}:void 0x0;}),_0x54757a['descriptionFactory']['registerDescriptionCallback'](_0x435c98=>{if('insertion'==_0x435c98['type']||'deletion'==_0x435c98['type']){const _0x1e31df=_0x435c98['getContainedElement']();if(_0x1e31df&&_0x1e31df['is']('element','caption'))return{'type':'insertion'==_0x435c98['type']?'addObject':'removeObject','element':_0x1e31df,'quantity':0x1};}}),_0x54757a['descriptionFactory']['registerDescriptionCallback'](_0x52daac=>'formatBlock'==_0x52daac['type']&&'convertInlineImageToBlock'==_0x52daac['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x52daac['type']&&'convertBlockImageToInline'==_0x52daac['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x54757a['descriptionFactory']['registerDescriptionCallback'](_0x61e7e4=>{if('attribute'!=_0x61e7e4['type'])return;const {data:_0x182e6c}=_0x61e7e4;if(!_0x182e6c||'alt'!=_0x182e6c['key'])return;const _0x24bbe4=_0x182e6c['newValue'];return _0x24bbe4?{'type':'format','content':_0x538d4a(_0x4afd2a,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x24bbe4+'\x22')}:{'type':'format','content':_0x538d4a(_0x4afd2a,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x3edeb7=this['editor'],_0x5bcd8e=_0x3edeb7['locale'];_0x3edeb7['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3bd0e9=>{if('formatBlock'!=_0x3bd0e9['type']&&'formatInline'!=_0x3bd0e9['type'])return;const {data:_0xbd16fe}=_0x3bd0e9;if(_0xbd16fe){if('imageTextAlternative'==_0xbd16fe['commandName']){const _0x5593aa=_0xbd16fe['commandParams'][0x0]['newValue'];return _0x5593aa?{'type':'format','content':_0x538d4a(_0x5bcd8e,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x5593aa+'\x22')}:{'type':'format','content':_0x538d4a(_0x5bcd8e,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0xbd16fe['commandName']){const _0x17e028=_0xbd16fe['commandParams'][0x0]['width'];return _0x17e028?{'type':'format','content':_0x538d4a(_0x5bcd8e,'*Set\x20image\x20width:*\x20%0',_0x17e028)}:{'type':'format','content':_0x538d4a(_0x5bcd8e,'*Reset\x20image\x20width*')};}}});}}class _0xf6113 extends _0x5f37cd['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x26e422=this['editor']['locale'],_0x1c5823=this['editor']['plugins']['get']('TrackChangesEditing');_0x1c5823['enableDefaultAttributesIntegration']('replaceImageSource'),_0x1c5823['descriptionFactory']['registerDescriptionCallback'](_0x5aa60a=>{if('attribute'!=_0x5aa60a['type'])return;const {data:_0x4ee0c1}=_0x5aa60a;return _0x4ee0c1&&'src'==_0x4ee0c1['key']?_0x4ee0c1['newValue']&&_0x4ee0c1['oldValue']?{'type':'format','content':_0x538d4a(_0x26e422,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x50a132=this['editor']['plugins']['get']('TrackChangesEditing');_0x50a132['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0x50a132['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x50a132['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x50a132['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xcbe055=this['editor'],_0x1b1204=_0xcbe055['locale'];_0xcbe055['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x9073fb=>{if('formatBlock'!=_0x9073fb['type']&&'formatInline'!=_0x9073fb['type'])return;const {data:_0x2218b8}=_0x9073fb;if(!_0x2218b8||'replaceImageSource'!=_0x2218b8['commandName'])return;return{'type':'format','content':_0x538d4a(_0x1b1204,'*Format:*\x20replace\x20image\x20URL')};});}}class TrackChangesImageStyle extends _0x5f37cd['Plugin']{['afterInit'](){const _0x2f5459=this['editor'];if(!_0x2f5459['plugins']['has']('ImageStyleEditing'))return;const _0x34aa59=_0x2f5459['plugins']['get']('TrackChangesEditing'),_0x114b31=_0x2f5459['plugins']['get']('ImageUtils'),_0x12dc45={};_0x34aa59['enableCommand']('imageStyle',(_0x503d4c,_0x10bb8e)=>{const _0x16fbfe=_0x2f5459['plugins']['get']('Users')['me'],_0x27e901=_0x2f5459['commands']['get']('imageStyle');let _0x48c135=_0x114b31['getClosestSelectedImageElement'](_0x2f5459['model']['document']['selection']),_0x2fd9a1=_0x2f5459['model']['createRangeOn'](_0x48c135),_0x44751e=_0x27e901['value'];if(_0x44751e==_0x10bb8e['value'])return;const _0x57d076={'commandName':'imageStyle','commandParams':[_0x10bb8e],'formatGroupId':_0x5f37cd['uid']()};_0x2f5459['model']['change'](()=>{if(_0x34aa59['getSuggestions']()['filter'](_0x1089e3=>_0x1089e3['isInContent']&&_0x16fbfe==_0x1089e3['author']&&('formatBlock'==_0x1089e3['type']||'formatInline'==_0x1089e3['type'])&&('imageStylePreApply'==_0x1089e3['subType']||'imageStylePostApply'==_0x1089e3['subType'])&&_0x1089e3['getFirstRange']()['isEqual'](_0x2fd9a1))['forEach'](_0x257f19=>_0x34aa59['discardSuggestion'](_0x257f19['head'])),_0x48c135=_0x114b31['getClosestSelectedImageElement'](_0x2f5459['model']['document']['selection']),_0x2fd9a1=_0x2f5459['model']['createRangeOn'](_0x48c135),_0x27e901['refresh'](),_0x2f5459['commands']['get']('imageTypeInline')['refresh'](),_0x2f5459['commands']['get']('imageTypeBlock')['refresh'](),_0x44751e=_0x27e901['value'],_0x44751e!=_0x10bb8e['value'])return _0x114b31['isInlineImage'](_0x48c135)&&_0x27e901['shouldConvertImageType'](_0x10bb8e['value'],_0x48c135)?(_0x503d4c({..._0x10bb8e,'setImageSizes':!0x1}),_0x48c135=_0x114b31['getClosestSelectedImageElement'](_0x2f5459['model']['document']['selection']),void _0x34aa59['markBlockFormat'](_0x48c135,{..._0x57d076,'commandReversedParams':[{'value':_0x44751e||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x114b31['isBlockImage'](_0x48c135)?_0x34aa59['markBlockFormat'](_0x48c135,_0x57d076,[],'imageStylePostApply'):_0x34aa59['markInlineFormat'](_0x2fd9a1,_0x57d076,'imageStylePostApply'));});});for(const _0xcc6f67 of _0x2f5459['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0x12dc45[_0xcc6f67['name']]=_0xcc6f67['title']['toLowerCase']();_0x34aa59['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x34aa59['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x34aa59['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x34aa59['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x52b04e])=>{_0x114b31['setImageNaturalSizeAttributes'](_0x52b04e['getContainedElement']());}),_0x34aa59['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0x2c0354,_0x5d8851)=>{_0x34aa59['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x2c0354,{'commandName':_0x5d8851['commandName'],'commandParams':_0x5d8851['commandReversedParams']});}),_0x34aa59['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x3b51a5,_0x326985){if(_0x29c978(_0x3b51a5,_0x326985))return[_0x3b51a5,_0x326985];if(_0x29c978(_0x326985,_0x3b51a5))return[_0x326985,_0x3b51a5];return null;});const _0x1d398b=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x29c978(_0x1671fa,_0x483af6){const _0x5e8de3=_0x1d398b['findIndex'](({type:_0x225284,subType:_0x24aec9})=>_0x1671fa['type']==_0x225284&&_0x1671fa['subType']==_0x24aec9),_0x3a0645=_0x1d398b['findIndex'](({type:_0x1820f0,subType:_0x45abb8})=>_0x483af6['type']==_0x1820f0&&_0x483af6['subType']==_0x45abb8);if(_0x5e8de3<0x0||_0x3a0645<0x0)return!0x1;const _0x403a9a=_0x1671fa['getFirstRange'](),_0x1c20e1=_0x483af6['getFirstRange']();if((0x0==_0x5e8de3||0x1==_0x5e8de3)&&0x2==_0x3a0645&&_0x403a9a['isIntersecting'](_0x1c20e1))return!0x0;if(0x2==_0x5e8de3&&0x3==_0x3a0645){const _0x2f4eed=_0x34aa59['_findSuggestions'](_0x403a9a,'insertion')['filter'](({suggestion:_0x2753fa,meta:_0x42a291})=>_0x42a291['isOwn']&&'convertInlineImageToBlock'==_0x2753fa['subType']);if(_0x2f4eed['length']>0x1&&_0x1c20e1['end']['isEqual'](_0x403a9a['start']))return!0x0;if(0x1==_0x2f4eed['length']&&(_0x403a9a['start']['isEqual'](_0x1c20e1['end'])||_0x403a9a['end']['isEqual'](_0x1c20e1['start'])))return!0x0;}if(0x3==_0x5e8de3&&0x3==_0x3a0645&&_0x403a9a['start']['isBefore'](_0x1c20e1['start'])){const _0x402951=_0x403a9a['end']['nodeAfter'],_0x3e4fdd=_0x1c20e1['start']['nodeBefore'];return _0x114b31['isBlockImage'](_0x402951)&&_0x402951===_0x3e4fdd;}return!0x1;}_0x2f5459['model']['document']['registerPostFixer'](()=>{let _0x4254b1=!0x1;const _0x4f34d3=Array['from'](_0x2f5459['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x5a1ebe,data:_0x41e321}of _0x4f34d3){const {group:_0x1e457d,type:_0x4ee428,subType:_0x41b420,id:_0x364d27}=_0x1ee8e4(_0x5a1ebe);if('suggestion'==_0x1e457d&&_0x34aa59['hasSuggestion'](_0x364d27)){if('formatBlock'==_0x4ee428&&('imageStylePreApply'==_0x41b420||'imageStylePostApply'==_0x41b420)){const _0x1c20d8=_0x34aa59['getSuggestion'](_0x364d27);if(_0x41e321['newRange']){const _0x514793=_0x1c20d8['getFirstRange']()['getContainedElement']();if(_0x114b31['isBlockImage'](_0x514793))continue;_0x34aa59['discardSuggestion'](_0x1c20d8),_0x4254b1=!0x0;}}if('insertion'==_0x4ee428&&'imageCaption'==_0x41b420&&!_0x41e321['newRange']){const _0x29ec0e=_0x34aa59['getSuggestion'](_0x364d27);_0x29ec0e['next']&&_0x29ec0e['next']['isInContent']&&(_0x34aa59['discardSuggestion'](_0x29ec0e['next']),_0x4254b1=!0x0);}}}return _0x4254b1;}),this['_registerLegacyDescription'](_0x12dc45);}['_registerLegacyDescription'](_0x536a51){const _0x1c6fe7=this['editor'],_0x6ea0fa=_0x1c6fe7['locale'];_0x1c6fe7['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5a40a9=>{if('formatBlock'!=_0x5a40a9['type']&&'formatInline'!=_0x5a40a9['type'])return;const {data:_0xf3707f}=_0x5a40a9;if(!_0xf3707f||'imageStyle'!=_0xf3707f['commandName'])return;const _0x426217=_0xf3707f['commandParams'][0x0]['value'];return _0x35bf9e('side'===_0x426217?_0x538d4a(_0x6ea0fa,'FORMAT_SIDE_IMAGE'):_0x536a51[_0x426217]||_0x426217);function _0x35bf9e(_0x4d5c74){return{'type':'format','content':_0x538d4a(_0x6ea0fa,'*Format:*\x20%0',_0x4d5c74)};}});}}class TrackChangesImportWord extends _0x5f37cd['Plugin']{['_trackChangesValueDuringImport'];['_trackChangesExecuted'];constructor(_0x5c9aad){super(_0x5c9aad),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x3d74de=this['editor'],_0x51131f=_0x3d74de['commands']['get']('importWord'),_0x804e66=_0x3d74de['commands']['get']('trackChanges');_0x51131f&&(_0x51131f['on']('execute',(_0x4fc772,[,_0x4a2380])=>{this['_trackChangesValueDuringImport']=_0x804e66['value'],_0x4a2380['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x51131f,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x51131f,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x804e66['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x3d74de['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}['_handleImportedData'](_0x15477d,_0x585020){const {suggestions:_0x3c667e}=_0x585020,_0x2e6c78=this['editor']['commands']['get']('trackChanges'),_0xdd2f5c=_0x2e6c78['value'];this['_trackChangesValueDuringImport']!==_0xdd2f5c&&(_0x2e6c78['execute'](),this['_trackChangesExecuted']=!0x0),_0x3c667e&&_0x3c667e['forEach'](({id:_0x1809fd,type:_0x3cdf2c,author:_0xc47125,created_at:_0x3557d1})=>{const _0xd9413a={'id':_0x1809fd,'type':_0x3cdf2c,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0xc47125,'createdAt':_0x3557d1?new Date(_0x3557d1):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0xd9413a);});}}class TrackChangesIndent extends _0x5f37cd['Plugin']{['afterInit'](){const _0x38aab7=this['editor'],_0x31a49d=_0x38aab7['plugins']['get']('TrackChangesEditing');if(_0x38aab7['plugins']['has']('IndentEditing')&&(_0x31a49d['enableCommand']('indent'),_0x31a49d['enableCommand']('outdent')),_0x38aab7['plugins']['has']('IndentBlock')){for(const _0x6c0f67 of['indentBlock','outdentBlock'])_0x31a49d['enableDefaultAttributesIntegration'](_0x6c0f67);if(_0x38aab7['plugins']['has']('ListEditing')){for(const _0x484784 of['indentBlockList','indentBlockListItem','outdentBlockList','outdentBlockListItem'])_0x31a49d['enableDefaultAttributesIntegration'](_0x484784);}}const _0x4df7dc=_0x38aab7['locale'];_0x31a49d['descriptionFactory']['registerAttributeLabel']('blockIndent',_0x538d4a(_0x4df7dc,'FORMAT_INDENT')),_0x31a49d['descriptionFactory']['registerAttributeLabel']('blockIndentList',_0x538d4a(_0x4df7dc,'FORMAT_INDENT')),_0x31a49d['descriptionFactory']['registerAttributeLabel']('blockIndentListItem',_0x538d4a(_0x4df7dc,'FORMAT_INDENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x256c5c=this['editor'],_0x2a72e2=_0x256c5c['locale'],_0x5654a2=_0x256c5c['plugins']['get']('TrackChangesEditing');_0x5654a2['descriptionFactory']['registerDescriptionCallback'](_0x3458fa=>{if('formatBlock'!=_0x3458fa['type'])return;const {data:_0x10f8c6}=_0x3458fa;if(!_0x10f8c6)return;if('indentBlock'!=_0x10f8c6['commandName']&&'outdentBlock'!=_0x10f8c6['commandName'])return;const _0x5c070b=_0x3458fa['getItems']()[0x0],_0x3fa27d=_0x5654a2['descriptionFactory']['getItemLabel'](_0x5c070b);return'indentBlock'==_0x10f8c6['commandName']?{'type':'format','content':_0x538d4a(_0x2a72e2,'*Indent:*\x20%0',_0x3fa27d)}:'outdentBlock'==_0x10f8c6['commandName']?{'type':'format','content':_0x538d4a(_0x2a72e2,'*Outdent:*\x20%0',_0x3fa27d)}:void 0x0;});}}class TrackChangesInputCommand extends _0x5f37cd['Plugin']{static get['requires'](){return[_0x5f37cd['Input']];}['init'](){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}}class _0x440811 extends _0x5f37cd['Plugin']{['afterInit'](){const _0x4b2043=this['editor'];if(!_0x4b2043['plugins']['has']('LinkEditing'))return;const _0x57f659=_0x4b2043['plugins']['get']('TrackChangesEditing'),_0x291cd5=_0x4b2043['commands']['get']('link');_0x57f659['enableDefaultAttributesIntegration']('link'),_0x57f659['enableDefaultAttributesIntegration']('unlink');for(const _0x21d9a5 of _0x291cd5['manualDecorators'])_0x57f659['descriptionFactory']['registerAttributeLabel'](_0x21d9a5['id'],'link\x20('+_0x21d9a5['label']['toLowerCase']()+')');_0x57f659['descriptionFactory']['registerDescriptionCallback'](_0x10bee8=>{if('attribute'!=_0x10bee8['type'])return;const {data:_0x48987e}=_0x10bee8;if(!_0x48987e||'linkHref'!=_0x48987e['key'])return;const _0x342cdb=_0x48987e['newValue'],_0x2b4edd=_0x4b2043['locale'];return{'type':'format','content':null==_0x342cdb?_0x538d4a(_0x2b4edd,'*Remove\x20link*'):_0x538d4a(_0x2b4edd,'*Set\x20link:*\x20%0','\x22'+_0x342cdb+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xb2dda5=this['editor'],_0x1b5e5e=_0xb2dda5['locale'];_0xb2dda5['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x27b304=>{if('formatInline'!=_0x27b304['type'])return;const {data:_0x1b17f8}=_0x27b304;if(_0x1b17f8){if('link'==_0x1b17f8['commandName']){const _0x2705b6=_0x1b17f8['commandParams'][0x0];return{'type':'format','content':_0x538d4a(_0x1b5e5e,'*Set\x20link:*\x20%0','\x22'+_0x2705b6+'\x22')};}return'unlink'==_0x1b17f8['commandName']?{'type':'format','content':_0x538d4a(_0x1b5e5e,'*Remove\x20link*')}:void 0x0;}});}}class TrackChangesLegacyList extends _0x5f37cd['Plugin']{['afterInit'](){const _0x2abf37=this['editor'],_0x3e2913=_0x2abf37['locale'];if(!_0x2abf37['plugins']['has']('LegacyListEditing'))return;const _0x596371=_0x2abf37['plugins']['get']('TrackChangesEditing'),_0x280e59=_0x2abf37['plugins']['has']('LegacyTodoListEditing');function _0x35f283(_0x579d73){return()=>{const _0x43c0ff=_0x2abf37['model']['document']['selection'],_0x3fd0e8=_0x2abf37['commands']['get'](_0x579d73);if(_0x3fd0e8['value'])return void _0x2abf37['execute']('paragraph',{});const _0x4ab925=_0x579d73['slice'](0x0,-0x4),_0x213c06=function(_0x3329b8,_0x412df6,_0x11f203){let _0x31f47e=Array['from'](_0x3329b8)['filter'](_0x59e148=>function(_0x383583,_0x217ac5){return _0x217ac5['checkChild'](_0x383583['parent'],'listItem')&&!_0x217ac5['isObject'](_0x383583);}(_0x59e148,_0x11f203));_0x31f47e=_0x31f47e['filter'](_0x5863d7=>!_0x5863d7['is']('element','listItem')||_0x5863d7['getAttribute']('listType')!=_0x412df6);const _0x2d8707=new Set();for(const _0x31fe92 of _0x31f47e)_0x31fe92['is']('element','listItem')?_0x2d8707['add'](_0x167c4f(_0x31fe92)):_0x2d8707['add'](_0x31fe92);return Array['from'](_0x2d8707);}(_0x43c0ff['getSelectedBlocks'](),_0x4ab925,_0x2abf37['model']['schema']);_0x2abf37['model']['change'](()=>{for(const _0x32aa5c of _0x213c06)_0x596371['markBlockFormat'](_0x32aa5c,{'commandName':_0x579d73,'commandParams':[{'forceValue':!_0x3fd0e8['value']}],'formatGroupId':'blockName'},_0x4f1fb1(_0x32aa5c));});};}function _0x5785df(_0x3d8b2e){return()=>{const _0x20aa19=function(_0x592dc1){let _0xaab1f1=Array['from'](_0x592dc1);const _0x47651f=_0xaab1f1['findIndex'](_0x9d2c5e=>'listItem'!=_0x9d2c5e['name']);return _0x47651f>-0x1&&(_0xaab1f1=_0xaab1f1['slice'](0x0,_0x47651f)),_0xaab1f1;}(_0x2abf37['model']['document']['selection']['getSelectedBlocks']()),_0x5df517=_0x2abf37['model']['createRange'](_0x2abf37['model']['createPositionAt'](_0x20aa19[0x0],'before'),_0x2abf37['model']['createPositionAt'](_0x20aa19[_0x20aa19['length']-0x1],'end'));_0x2abf37['model']['change'](()=>{_0x596371['markBlockFormat'](_0x5df517,{'commandName':_0x3d8b2e,'commandParams':[],'formatGroupId':'listIndent'},function(_0x143c9a){const _0x5ef5a1=new Set();for(const _0x3aa31f of _0x143c9a){let _0x5a99ef=_0x3aa31f['nextSibling'];for(;_0x5a99ef&&_0x5a99ef['getAttribute']('listIndent')>_0x3aa31f['getAttribute']('listIndent');)_0x5ef5a1['add'](_0x5a99ef),_0x5a99ef=_0x5a99ef['nextSibling'];}return Array['from'](_0x5ef5a1);}(_0x20aa19));});};}_0x596371['enableCommand']('numberedList',_0x35f283('numberedList')),_0x596371['enableCommand']('bulletedList',_0x35f283('bulletedList')),_0x280e59&&_0x596371['enableCommand']('todoList',_0x35f283('todoList')),_0x596371['enableCommand']('indentList',_0x5785df('indentList')),_0x596371['enableCommand']('outdentList',_0x5785df('outdentList')),_0x280e59&&_0x596371['enableCommand']('checkTodoList',()=>{const _0x586c24=_0x2abf37['commands']['get']('checkTodoList'),_0x4d4267=Array['from'](_0x586c24['_selectedElements']);_0x4d4267['filter'](_0x2c972c=>_0x2c972c['getAttribute']('todoListChecked')!=_0x586c24['value']),_0x2abf37['model']['change'](()=>{for(const _0x59a8da of _0x4d4267)_0x596371['markBlockFormat'](_0x59a8da,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x586c24['value']}]});});}),_0x596371['descriptionFactory']['registerElementLabel']('listItem',_0xd3fd2a=>_0x538d4a(_0x3e2913,'ELEMENT_LIST_ITEM',_0xd3fd2a)),_0x596371['descriptionFactory']['registerDescriptionCallback'](_0x5c20f3=>{if('formatBlock'!=_0x5c20f3['type']&&'formatInline'!=_0x5c20f3['type'])return;const {data:_0x53bd56}=_0x5c20f3;if(_0x53bd56){if('numberedList'==_0x53bd56['commandName']||'bulletedList'==_0x53bd56['commandName']||'todoList'==_0x53bd56['commandName'])switch(_0x53bd56['commandName']['replace']('List','')){case'bulleted':return _0x120a3a(_0x538d4a(_0x3e2913,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x120a3a(_0x538d4a(_0x3e2913,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x120a3a(_0x538d4a(_0x3e2913,'ELEMENT_TODO_LIST'));}if('indentList'==_0x53bd56['commandName'])return{'type':'format','content':_0x538d4a(_0x3e2913,'*Indent:*\x20%0',_0x538d4a(_0x3e2913,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x53bd56['commandName'])return{'type':'format','content':_0x538d4a(_0x3e2913,'*Outdent:*\x20%0',_0x538d4a(_0x3e2913,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x53bd56['commandName'])return _0x53bd56['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x538d4a(_0x3e2913,'*Check\x20item*')}:{'type':'format','content':_0x538d4a(_0x3e2913,'*Uncheck\x20item*')};}function _0x120a3a(_0x4e2c94){return{'type':'format','content':_0x538d4a(_0x3e2913,'*Change\x20to:*\x20%0',_0x4e2c94)};}});}}function _0x167c4f(_0x317fa4){const _0x5d1625=_0x317fa4['getAttribute']('listIndent');if(0x0==_0x5d1625)return _0x317fa4;let _0x86fb92=_0x317fa4;for(;_0x317fa4['previousSibling']&&_0x317fa4['previousSibling']['is']('element','listItem');){const _0x33366c=_0x317fa4['previousSibling']['getAttribute']('listIndent');if(_0x33366c==_0x5d1625)_0x86fb92=_0x317fa4['previousSibling'];else{if(_0x33366c<_0x5d1625)break;}_0x317fa4=_0x317fa4['previousSibling'];}return _0x86fb92;}function _0x4f1fb1(_0x37b5a1){const _0x3cf555=[];if(_0x37b5a1['is']('element','listItem')&&_0x37b5a1['getAttribute']('listIndent')>0x0){let _0x2472e4=_0x37b5a1['nextSibling'];for(;_0x2472e4&&'listItem'==_0x2472e4['name']&&_0x2472e4['getAttribute']('listIndent')==_0x37b5a1['getAttribute']('listIndent');)_0x3cf555['push'](_0x2472e4),_0x2472e4=_0x2472e4['nextSibling'];}return _0x3cf555;}class TrackChangesLegacyListProperties extends _0x5f37cd['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x44f88f=this['editor']['config']['get']('list.properties'),_0x6647aa=this['editor']['plugins']['get']('TrackChangesEditing');_0x44f88f['styles']&&_0x6647aa['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0x44f88f['reversed']&&_0x6647aa['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x44f88f['startIndex']&&_0x6647aa['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0x6647aa['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x2bb1f8,_0x2b887c={}){const _0x122bdb=this['editor']['plugins']['get']('TrackChangesEditing'),_0x455ad6=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0x122bdb['markMultiRangeBlockFormat'](_0x455ad6,{'commandName':'listStyle','commandParams':[{'type':_0x2b887c['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x5d39e3,_0x202678={}){const _0x5d2299=this['editor']['plugins']['get']('TrackChangesEditing'),_0x2a11af=this['_getSuggestionBlocks'](_0x4ab7de=>_0x4ab7de['is']('element','listItem')&&'numbered'===_0x4ab7de['getAttribute']('listType'));if(_0x2a11af['length']<0x1)return;const _0x423e18=_0x2a11af['map'](_0x18b0ba=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x18b0ba,'before'),this['editor']['model']['createPositionAt'](_0x18b0ba,0x0)));this['editor']['model']['change'](()=>{_0x5d2299['markMultiRangeBlockFormat'](_0x423e18,{'commandName':'listReversed','commandParams':[{'reversed':_0x202678['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x3e88b3,_0x1a6775={}){const _0x1ff290=this['editor']['plugins']['get']('TrackChangesEditing'),_0x32ea1e=this['_getSuggestionBlocks'](_0xba8d3e=>_0xba8d3e['is']('element','listItem')&&'numbered'===_0xba8d3e['getAttribute']('listType'));if(_0x32ea1e['length']<0x1)return;const _0x168535=_0x32ea1e['map'](_0x4bea04=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x4bea04,'before'),this['editor']['model']['createPositionAt'](_0x4bea04,0x0)));this['editor']['model']['change'](()=>{_0x1ff290['markMultiRangeBlockFormat'](_0x168535,{'commandName':'listStart','commandParams':[{'startIndex':_0x1a6775['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x15fb2e){if('formatBlock'!=_0x15fb2e['type']&&'formatInline'!=_0x15fb2e['type'])return;const _0x1095fc=this['editor']['locale'],{data:_0x1488f2}=_0x15fb2e;if(!_0x1488f2)return;let _0x290df6,_0x1eaa8d;switch(_0x1488f2['commandName']){case'listStyle':_0x290df6='*Change\x20to:*\x20%0',_0x1eaa8d={'type':'format','content':_0x538d4a(_0x1095fc,_0x290df6,_0x538d4a(_0x1095fc,this['_getTranslationKeyForListStyle'](_0x1488f2['commandParams'][0x0]['type'])))};break;case'listReversed':_0x290df6=_0x1488f2['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x1eaa8d={'type':'format','content':_0x538d4a(_0x1095fc,_0x290df6)};break;case'listStart':_0x290df6='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x1eaa8d={'type':'format','content':_0x538d4a(_0x1095fc,_0x290df6,_0x1488f2['commandParams'][0x0]['startIndex'])};}return _0x1eaa8d;}['_getSuggestionBlocksForListStyle'](){const _0x3b3938=this['editor']['plugins']['get']('LegacyListUtils');let _0x1a0178=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return _0x1a0178[0x0]?.['is']('element','listItem')&&_0x1a0178['unshift'](..._0x3b3938['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),_0x1a0178[_0x1a0178['length']-0x1]?.['is']('element','listItem')&&_0x1a0178['push'](..._0x3b3938['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0x1a0178=[...new Set(_0x1a0178)],this['editor']['model']['document']['selection']['getFirstPosition']()?.['parent']?.['is']('element','listItem')&&(_0x1a0178=_0x1a0178['filter'](_0x3a0530=>_0x3a0530['is']('element','listItem'))),_0x1a0178;}['_getSuggestionBlocks'](_0x3f7b5d){const _0x10fe65=this['editor']['plugins']['get']('LegacyListUtils');let _0x176c4e=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x3f7b5d)['map'](_0x592f4b=>{const _0x1a88d1=this['editor']['model']['createPositionAt'](_0x592f4b,0x0);return[..._0x10fe65['getSiblingNodes'](_0x1a88d1,'backward'),..._0x10fe65['getSiblingNodes'](_0x1a88d1,'forward')];})['flat']();return _0x176c4e=[...new Set(_0x176c4e)],_0x176c4e;}['_getTranslationKeyForListStyle'](_0xa3459e){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0xa3459e)||'default')['toUpperCase']()+'_LIST_'+_0xa3459e['toUpperCase']()['replace'](/-/g,'_');}}class _0x174fd3 extends _0x5f37cd['Plugin']{['afterInit'](){const _0xba951a=this['editor'];if(!_0xba951a['plugins']['has']('MediaEmbedEditing'))return;const _0x2e2c03=_0xba951a['plugins']['get']('TrackChangesEditing'),_0x2954f0=_0xba951a['locale'];_0x2e2c03['enableCommand']('mediaEmbed'),_0x2e2c03['descriptionFactory']['registerElementLabel']('media',_0x4eae31=>_0x538d4a(_0x2954f0,'ELEMENT_MEDIA',_0x4eae31)),_0xba951a['plugins']['has']('MediaEmbedResizeEditing')&&(_0x2e2c03['enableDefaultAttributesIntegration']('resizeMediaEmbed'),_0x2e2c03['descriptionFactory']['registerDescriptionCallback'](_0x514a7e=>{if('attribute'!=_0x514a7e['type'])return;const {data:_0x356b5f}=_0x514a7e;if(!_0x356b5f||'resizedWidth'!=_0x356b5f['key'])return;const _0xaa1043=_0x514a7e['getContainedElement']();if(!_0xaa1043||!_0xaa1043['is']('element','media'))return;const _0x2ab435=_0x538d4a(_0x2954f0,'FORMAT_MEDIA_SIZE');return{'type':'format','content':_0x538d4a(_0x2954f0,'*Set\x20format:*\x20%0',_0x2ab435)};}));}}class TrackChangesMediaEmbedStyle extends _0x5f37cd['Plugin']{['afterInit'](){const _0x2c25d1=this['editor'];if(!_0x2c25d1['plugins']['has']('MediaEmbedStyleEditing'))return;const _0x42d013=_0x2c25d1['plugins']['get']('TrackChangesEditing'),_0x46c281=_0x2c25d1['locale'],_0x230a35=_0x2c25d1['plugins']['get']('MediaEmbedStyleEditing'),_0x460a8e={};for(const _0x46d8b3 of _0x230a35['normalizedStyles'])_0x460a8e[_0x46d8b3['name']]=_0x46d8b3['title']['toLowerCase']();const _0x4afbd0=_0x230a35['normalizedStyles']['find'](_0x4c9656=>_0x4c9656['isDefault'])?.['name'];_0x42d013['enableCommand']('mediaStyle',(_0x11d0ea,_0x3d4274)=>{const _0x5b10a7=_0x2c25d1['plugins']['get']('Users')['me'],_0x24a543=_0x2c25d1['commands']['get']('mediaStyle'),_0x20ebb5=function(_0x426588){const _0x330d7f=_0x426588['model']['document']['selection']['getSelectedElement']();if(_0x330d7f&&_0x330d7f['is']('element','media'))return _0x330d7f;return null;}(_0x2c25d1);if(!_0x20ebb5)return;const _0x232683=_0x2c25d1['model']['createRangeOn'](_0x20ebb5);let _0x1d02fd=_0x24a543['value'];if(_0x1d02fd==_0x3d4274['value'])return;const _0x41c47f={'commandName':'mediaStyle','commandParams':[_0x3d4274],'formatGroupId':_0x5f37cd['uid']()};_0x2c25d1['model']['change'](()=>{_0x42d013['getSuggestions']()['filter'](_0x5537f8=>_0x5537f8['isInContent']&&_0x5b10a7==_0x5537f8['author']&&'formatBlock'==_0x5537f8['type']&&'mediaStylePostApply'==_0x5537f8['subType']&&_0x5537f8['getFirstRange']()['isEqual'](_0x232683))['forEach'](_0x5aa766=>_0x42d013['discardSuggestion'](_0x5aa766['head'])),_0x24a543['refresh'](),_0x1d02fd=_0x24a543['value'],_0x1d02fd!=_0x3d4274['value']&&_0x42d013['markBlockFormat'](_0x20ebb5,{..._0x41c47f,'commandReversedParams':[{'value':'string'==typeof _0x1d02fd?_0x1d02fd:null}]},[],'mediaStylePostApply');});}),_0x42d013['_suggestionFactory']['registerCustomCallback']('formatBlock','mediaStylePostApply','join',()=>!0x1),_0x42d013['_suggestionFactory']['registerCustomCallback']('formatBlock','mediaStylePostApply','discard',(_0x593c54,_0x3f6a95)=>{_0x42d013['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x593c54,{'commandName':_0x3f6a95['commandName'],'commandParams':_0x3f6a95['commandReversedParams']});}),_0x42d013['descriptionFactory']['registerDescriptionCallback'](_0x103924=>{if('formatBlock'!=_0x103924['type'])return;const {data:_0x60a38d}=_0x103924;if(!_0x60a38d||'mediaStyle'!=_0x60a38d['commandName'])return;const _0x190fb9=_0x60a38d['commandParams'][0x0]['value']||_0x4afbd0;if(!_0x190fb9)return;const _0x35e3ba=_0x460a8e[_0x190fb9]||_0x190fb9;return{'type':'format','content':_0x538d4a(_0x46c281,'*Format:*\x20%0',_0x35e3ba)};});}}class TrackChangesMention extends _0x5f37cd['Plugin']{['afterInit'](){const _0x5d9004=this['editor'];_0x5d9004['plugins']['has']('MentionEditing')&&_0x5d9004['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}}class _0x494a55 extends _0x5f37cd['Plugin']{['afterInit'](){const _0x221046=this['editor'];if(!_0x221046['plugins']['has']('MergeFieldsEditing'))return;const _0x1be989=_0x221046['plugins']['get']('TrackChangesEditing'),_0x27ed22=_0x221046['locale'];_0x1be989['enableCommand']('insertMergeField'),_0x1be989['enableCommand']('insertMergeFieldBlock'),_0x1be989['enableCommand']('insertMergeFieldImage'),_0x1be989['descriptionFactory']['registerElementLabel']('mergeField',_0x3de0bb=>_0x538d4a(_0x27ed22,'ELEMENT_MERGE_FIELD',_0x3de0bb)),_0x1be989['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x38d23b=>_0x538d4a(_0x27ed22,'ELEMENT_MERGE_FIELD',_0x38d23b)),_0x1be989['descriptionFactory']['registerDescriptionCallback'](_0x1c9f32=>{if('insertion'!=_0x1c9f32['type']&&'deletion'!=_0x1c9f32['type'])return;const _0x5c0fd8=_0x1c9f32['getContainedElement']();if(null==_0x5c0fd8)return;const _0x2ba584=_0x221046['plugins']['get']('MergeFieldsEditing');let _0x49231a;switch(_0x2ba584['getMergeFieldType'](_0x5c0fd8)){case null:return;case'image':{const _0x57f977=_0x2ba584['unwrapAffixes'](_0x5c0fd8['getAttribute']('src'));_0x49231a=_0x2ba584['getLabel'](_0x57f977)||_0x57f977;break;}default:{const _0x15c4b5=_0x5c0fd8['getAttribute']('id');_0x49231a=_0x2ba584['getLabel'](_0x15c4b5)||_0x15c4b5;break;}}return'insertion'==_0x1c9f32['type']?{'type':'insertion','content':_0x538d4a(_0x27ed22,'*Insert:*\x20%0','\x22'+_0x49231a+'\x22\x20'+_0x538d4a(_0x27ed22,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':_0x538d4a(_0x27ed22,'*Remove:*\x20%0','\x22'+_0x49231a+'\x22\x20'+_0x538d4a(_0x27ed22,'ELEMENT_MERGE_FIELD'))};});}}class TrackChangesMultiLevelList extends _0x5f37cd['Plugin']{['afterInit'](){const _0x374954=this['editor'],_0x3549e9=_0x374954['plugins']['get']('TrackChangesEditing');_0x374954['plugins']['has']('MultiLevelList')&&(_0x3549e9['enableDefaultAttributesIntegration']('multiLevelList'),_0x3549e9['descriptionFactory']['registerDescriptionCallback'](_0x2e64a2=>this['handleDescriptions'](_0x2e64a2)));}['handleDescriptions'](_0x14cc30){const _0x366c49=this['editor']['locale'],{data:_0x409bf1}=_0x14cc30,_0x274e07={'type':'format','content':''};if(_0x409bf1&&'listMarkerStyle'==_0x409bf1['key']){if(!_0x409bf1['oldValue'])return{'type':'format','content':_0x538d4a(_0x366c49,'*Set\x20format:*\x20%0',_0x538d4a(_0x366c49,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x409bf1['newValue']+')'};if(!_0x409bf1['newValue']){let _0x31e7ab=_0x14cc30['head'];for(;_0x31e7ab;){if(_0x31e7ab['data']&&'listType'==_0x31e7ab['data']['key']&&_0x31e7ab['data']['newValue'])return _0x274e07;_0x31e7ab=_0x31e7ab['next'];}return{'type':'format','content':_0x538d4a(_0x366c49,'*Remove\x20format:*\x20%0',_0x538d4a(_0x366c49,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x409bf1['oldValue']+')'};}}}}class _0x5e0894 extends _0x5f37cd['Plugin']{['afterInit'](){const _0x1bb067=this['editor'];if(!_0x1bb067['plugins']['has']('PageBreakEditing'))return;_0x1bb067['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x508aac=_0x1bb067['plugins']['get']('TrackChangesEditing'),_0x3f0197=_0x1bb067['locale'];_0x508aac['descriptionFactory']['registerElementLabel']('pageBreak',_0x3f2cdb=>_0x538d4a(_0x3f0197,'ELEMENT_PAGE_BREAK',_0x3f2cdb));}}class _0x5115d4 extends _0x5f37cd['Plugin']{['afterInit'](){const _0x4476dd=this['editor'];if(!_0x4476dd['plugins']['has']('Paragraph'))return;const _0x3e65e0=_0x4476dd['locale'],_0x3254dc=_0x4476dd['plugins']['get']('TrackChangesEditing');_0x3254dc['descriptionFactory']['registerElementLabel']('paragraph',_0x1cf49e=>_0x538d4a(_0x3e65e0,'ELEMENT_PARAGRAPH',_0x1cf49e)),_0x3254dc['enableDefaultAttributesIntegration']('paragraph'),_0x3254dc['enableCommand']('insertParagraph');const _0x2df62f=_0x3254dc['descriptionFactory'];_0x2df62f['registerDescriptionCallback'](_0x1fcf2d=>{if('insertion'!==_0x1fcf2d['type'])return;const {start:_0x3a46e0,end:_0x369c9e}=_0x1fcf2d['getFirstRange']();if(!_0x3a46e0['isTouching'](_0x369c9e)||!_0x3a46e0['nodeAfter'])return;const _0x249ca3=_0x4476dd['model']['schema'],_0x1f0ec8=_0x3a46e0['nodeAfter'];return _0x249ca3['isBlock'](_0x1f0ec8)&&!_0x249ca3['isLimit'](_0x1f0ec8)&&_0x249ca3['checkChild'](_0x1f0ec8,'$text')?{'type':'insertion','content':_0x538d4a(_0x3e65e0,'*Insert:*\x20%0',_0x2df62f['getItemLabel'](_0x1f0ec8,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x9d3d00=this['editor'],_0x4776e0=_0x9d3d00['locale'];_0x9d3d00['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x400084=>{if('formatBlock'!=_0x400084['type'])return;const {data:_0x24cff6}=_0x400084;return _0x24cff6&&'paragraph'==_0x24cff6['commandName']?{'type':'format','content':_0x538d4a(_0x4776e0,'*Change\x20to:*\x20%0',_0x538d4a(_0x4776e0,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}class _0x370bb2 extends _0x5f37cd['Plugin']{['afterInit'](){const _0x510a5f=this['editor'];_0x510a5f['commands']['get']('replaceSource')&&_0x510a5f['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}}class TrackChangesRemoveFormat extends _0x5f37cd['Plugin']{['afterInit'](){const _0x42d5a5=this['editor'];if(!_0x42d5a5['plugins']['has']('RemoveFormatEditing'))return;_0x42d5a5['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1cbcac=this['editor'];_0x1cbcac['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x480307=>{if('formatBlock'!=_0x480307['type']&&'formatInline'!=_0x480307['type'])return;const {data:_0x37ad1b}=_0x480307;return _0x37ad1b&&'removeFormat'==_0x37ad1b['commandName']?{'type':'format','content':_0x538d4a(_0x1cbcac['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}}class TrackChangesRestrictedEditingMode extends _0x5f37cd['Plugin']{['afterInit'](){const _0x5db76f=this['editor'];if(!_0x5db76f['plugins']['has']('RestrictedEditingModeEditing'))return;const _0x4f90e8=_0x5db76f['plugins']['get']('TrackChangesEditing');_0x4f90e8['enableCommand']('goToPreviousRestrictedEditingException'),_0x4f90e8['enableCommand']('goToNextRestrictedEditingException');const _0x490344=_0x5db76f['plugins']['get']('RestrictedEditingModeEditing');_0x490344['enableCommand']('trackChanges'),_0x490344['enableCommand']('acceptSuggestion'),_0x490344['enableCommand']('discardSuggestion'),_0x490344['enableCommand']('acceptAllSuggestions'),_0x490344['enableCommand']('discardAllSuggestions'),_0x490344['enableCommand']('acceptSelectedSuggestions'),_0x490344['enableCommand']('discardSelectedSuggestions');}}class TrackChangesShiftEnterCommand extends _0x5f37cd['Plugin']{['afterInit'](){const _0x467772=this['editor'];if(!_0x467772['plugins']['has']('ShiftEnter'))return;const _0x3d3122=_0x467772['plugins']['get']('TrackChangesEditing');_0x3d3122['enableCommand']('shiftEnter'),_0x3d3122['descriptionFactory']['registerElementLabel']('softBreak',_0x425253=>_0x538d4a(_0x467772['locale'],'ELEMENT_LINE_BREAK',_0x425253));}}function _0x1954ef(_0x979994,_0x119be8,_0x481bbf){const _0x4e6d5a=[];for(const _0x531a49 of _0x119be8['getItems']())_0x531a49['hasAttribute'](_0x979994)&&_0x4e6d5a['push'](_0x481bbf['createRangeOn'](_0x531a49));return _0x4e6d5a;}class TrackChangesStandardEditingMode extends _0x5f37cd['Plugin']{['afterInit'](){const _0x3140c5=this['editor'],_0x35ce99=_0x3140c5['plugins']['get']('TrackChangesEditing');_0x3140c5['plugins']['has']('StandardEditingModeEditing')&&(this['_enableEditingExceptionCommand'](),this['_enableEditingExceptionBlockCommand'](),_0x35ce99['enableCommand']('restrictedEditingExceptionAuto'));}['_enableEditingExceptionCommand'](){const _0x3112dc=this['editor'],_0xc202be=_0x3112dc['model'],_0x4d3ec0=_0x3112dc['locale'],_0x5404b0=_0x3112dc['plugins']['get']('TrackChangesEditing'),_0x39c20e='restrictedEditingException',_0x21f7e9=_0x3112dc['commands']['get'](_0x39c20e);_0x5404b0['enableCommand'](_0x39c20e,(_0x518887,_0x2d6931={})=>{const _0x2292dd=_0xc202be['document']['selection'];if(_0x2292dd['isCollapsed'])return void _0x518887(_0x2d6931);const _0x384193=void 0x0!==_0x2d6931['forceValue']?_0x2d6931['forceValue']:!_0x21f7e9['value'];_0xc202be['change'](()=>{const _0x5ee749=Array['from'](_0x2292dd['getRanges']());for(const _0x10b94b of _0x5ee749){const _0x50c5c9=_0x384193?[_0x10b94b]:_0x1954ef(_0x39c20e,_0x10b94b,_0xc202be);for(const _0x244a37 of _0x50c5c9)_0x5404b0['markInlineFormat'](_0x244a37,{'commandName':_0x39c20e,'commandParams':[{'forceValue':_0x384193}]});}});}),_0x5404b0['descriptionFactory']['registerDescriptionCallback'](_0x34a8c6=>{if('formatBlock'!=_0x34a8c6['type']&&'formatInline'!=_0x34a8c6['type'])return;const {data:_0x5cfd13}=_0x34a8c6;return _0x5cfd13&&_0x5cfd13['commandName']==_0x39c20e?_0x5cfd13['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x538d4a(_0x4d3ec0,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x538d4a(_0x4d3ec0,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}['_enableEditingExceptionBlockCommand'](){const _0x4ce356=this['editor'],_0x100570=_0x4ce356['locale'],_0x4f70c7=_0x4ce356['plugins']['get']('TrackChangesEditing'),_0x51c88f='restrictedEditingExceptionBlock',_0x1e2883=this['editor']['commands']['get'](_0x51c88f);_0x4f70c7['enableCommand'](_0x51c88f,(_0x4df377,_0x35311a={})=>{const _0x37e7af=this['editor']['model']['document']['selection'],_0x3f8550=_0x35311a&&void 0x0!==_0x35311a['forceValue']?_0x35311a['forceValue']:!_0x1e2883['value'];let _0x21a61a=[];if(_0x3f8550){const _0x12a0e5=Array['from'](_0x37e7af['getSelectedBlocks']())['filter'](_0x657218=>function(_0x50c935){return!!_0x50c935['findAncestor']('restrictedEditingException',{'includeSelf':!0x0});}(_0x657218)||function(_0x5a000f,_0x5e9aca){const _0x32ba4a=_0x5e9aca['createContext'](_0x5a000f['parent']);if(!_0x5e9aca['checkChild'](_0x32ba4a,'restrictedEditingException'))return!0x1;if(!_0x5e9aca['checkChild'](_0x32ba4a['push']('restrictedEditingException'),_0x5a000f))return!0x1;return!0x0;}(_0x657218,this['editor']['model']['schema']));_0x21a61a=_0x2be81c(_0x12a0e5,_0x4ce356['model']);}else{const _0x375d51=Array['from'](_0x37e7af['getSelectedBlocks']())['map'](_0x2eaa7c=>function(_0x4d6aec){let _0x4e28de=_0x4d6aec;for(;_0x4e28de['parent'];){if('restrictedEditingException'==_0x4e28de['parent']['name'])return _0x4e28de;_0x4e28de=_0x4e28de['parent'];}return null;}(_0x2eaa7c))['filter'](_0x101545=>!!_0x101545);_0x21a61a=_0x2be81c(_0x375d51,_0x4ce356['model']);}_0x4ce356['model']['change'](()=>{for(const _0x2e0a14 of _0x21a61a)_0x4f70c7['markBlockFormat'](_0x2e0a14,{'commandName':_0x51c88f,'commandParams':[{'forceValue':_0x3f8550}]});});}),_0x4f70c7['descriptionFactory']['registerDescriptionCallback'](_0xb34ec6=>{const {data:_0x3a95d1}=_0xb34ec6;if(_0x3a95d1&&_0x3a95d1['commandName']==_0x51c88f)return _0x3a95d1['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x538d4a(_0x100570,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x538d4a(_0x100570,'FORMAT_RESTRICTED_DISABLED')};});}}class TrackChangesStylesDropdown extends _0x5f37cd['Plugin']{['afterInit'](){const _0x37d791=this['editor'];if(!_0x37d791['plugins']['has']('Style')||!_0x37d791['plugins']['has']('DataSchema'))return;_0x37d791['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('style'),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x21eb0c=this['editor'],_0x446e97=_0x21eb0c['locale'];_0x21eb0c['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2c4da5=>{if('formatBlock'!=_0x2c4da5['type']&&'formatInline'!=_0x2c4da5['type'])return;const {data:_0x47c271}=_0x2c4da5;return _0x47c271&&'style'===_0x47c271['commandName']?_0x47c271['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x538d4a(_0x446e97,'*Set\x20format:*\x20%0',_0x47c271['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':_0x538d4a(_0x446e97,'*Remove\x20format:*\x20%0',_0x47c271['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}}class _0x196227 extends _0x5f37cd['Plugin']{['_tablePostFixingSubtypes'];['_tableSuggestions'];constructor(_0x31df94){super(_0x31df94),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0xbd66c5=this['editor'],_0x1e13bd=_0xbd66c5['model']['document']['selection'];if(!_0xbd66c5['plugins']['has']('TableEditing'))return;const _0x3468ba=_0xbd66c5['locale'],_0x8c6972=_0xbd66c5['plugins']['get']('TrackChangesEditing'),_0x2c618b=_0xbd66c5['plugins']['get']('TableUtils');_0x8c6972['descriptionFactory']['registerElementLabel']('table',_0x2b594c=>_0x538d4a(_0x3468ba,'ELEMENT_TABLE',_0x2b594c)),this['_setupColumnsRowsFixing'](),_0x8c6972['enableCommand']('insertTable'),_0x8c6972['enableCommand']('selectTableRow'),_0x8c6972['enableCommand']('selectTableColumn');for(const _0x5a3947 of['insertTableRowAbove','insertTableRowBelow']){const _0x15cf96=_0xbd66c5['commands']['get'](_0x5a3947);_0x8c6972['enableCommand'](_0x5a3947,_0x34f9f0=>{_0xbd66c5['model']['change'](_0x192af0=>{_0x34f9f0();const _0xa362b='above'===_0x15cf96['order'],_0xc7e5b1=_0x2c618b['getSelectionAffectedTableCells'](_0x1e13bd),_0x3792a9=_0x2c618b['getRowIndexes'](_0xc7e5b1),_0x99f772=_0xa362b?_0x3792a9['first']-0x1:_0x3792a9['last']+0x1,_0x4d3085=_0xc7e5b1[0x0]['findAncestor']('table'),_0x52bb9c=_0x2c618b['createTableWalker'](_0x4d3085,{'startRow':_0x99f772,'endRow':_0x99f772}),_0x383785=Array['from'](_0x52bb9c)['map'](_0x316ac6=>_0x192af0['createRangeOn'](_0x316ac6['cell']));_0x8c6972['markMultiRangeInsertion'](_0x383785,'tableRow');});});}for(const _0x1926f5 of['insertTableColumnLeft','insertTableColumnRight']){const _0x587f39=_0xbd66c5['commands']['get'](_0x1926f5);_0x8c6972['enableCommand'](_0x1926f5,_0x3fe0c=>{_0xbd66c5['model']['change'](_0x25b25f=>{_0x3fe0c();const _0x3c8d78='left'===_0x587f39['order'],_0x24035d=_0x2c618b['getSelectionAffectedTableCells'](_0x1e13bd),_0x2d7710=_0x2c618b['getColumnIndexes'](_0x24035d),_0x5e0653=_0x3c8d78?_0x2d7710['first']-0x1:_0x2d7710['last']+0x1,_0x534d30=_0x24035d[0x0]['findAncestor']('table'),_0x3541fc=_0x2c618b['createTableWalker'](_0x534d30,{'startRow':0x0,'column':_0x5e0653,'includeAllSlots':!0x1}),_0x46ef6a=Array['from'](_0x3541fc)['map'](_0x10c3c6=>_0x25b25f['createRangeOn'](_0x10c3c6['cell']));_0x8c6972['markMultiRangeInsertion'](_0x46ef6a,'tableColumn');});});}for(const _0x4bfb2e of['removeTableRow','removeTableColumn']){const _0x40402b=_0x4bfb2e['substr'](0xb),_0x2bf53b=_0x40402b['toLowerCase'](),_0x14518f=_0x2bf53b['substr'](0x0,0x3)+'span',_0x2cc9a5='table'+_0x40402b,_0x22af6e='min'+_0x40402b,_0x4257f9='max'+_0x40402b;_0x8c6972['enableCommand'](_0x4bfb2e,()=>{_0xbd66c5['model']['change'](_0x240d92=>{const _0x566339=_0x2c618b['getSelectionAffectedTableCells'](_0x1e13bd),_0x27d130=_0x566339[0x0]['findAncestor']('table');let _0x4f5b29;if('removeTableRow'==_0x4bfb2e){const _0x56a556=_0x2c618b['getRowIndexes'](_0x566339);_0x4f5b29={'startRow':_0x56a556['first'],'endRow':_0x56a556['last'],'includeAllSlots':!0x0};}else{const _0x14ff1b=_0x2c618b['getColumnIndexes'](_0x566339);_0x4f5b29={'startColumn':_0x14ff1b['first'],'endColumn':_0x14ff1b['last'],'includeAllSlots':!0x0};}const _0x9004a=_0x2c618b['createTableWalker'](_0x27d130,_0x4f5b29),_0x29688d=Array['from'](_0x9004a)['map'](({cell:_0x2f7281})=>_0x2f7281),_0xf05384=_0x369146(_0x29688d['filter'](_0x105196=>_0x105196['hasAttribute'](_0x14518f))),_0x1f85e5=_0x369146(_0x29688d['filter'](_0x15c950=>!_0x15c950['hasAttribute'](_0x14518f)))['map'](_0x2d2857=>_0x240d92['createRangeOn'](_0x2d2857)),_0x4284a2=_0x8c6972['markMultiRangeDeletion'](_0x1f85e5,_0x2cc9a5);if(_0x4284a2&&('tableRow'==_0x4284a2['subType']||'tableColumn'==_0x4284a2['subType'])){const _0x1c20a8=this['_getSuggestionCoords'](_0x4284a2);for(const _0x532677 of _0xf05384){const _0x56ce9a=_0x240d92['createRangeOn'](_0x532677),_0x122c74=_0x2c618b['getCellLocation'](_0x532677),_0x836174=_0x532677['getAttribute'](_0x14518f)-0x1,_0x3b38cb=_0x1c20a8[_0x22af6e],_0x5f44fc=_0x1c20a8[_0x4257f9];_0x3b38cb<=_0x122c74[_0x2bf53b]&&_0x122c74[_0x2bf53b]+_0x836174<=_0x5f44fc&&_0x4284a2['addRange'](_0x56ce9a);}}});});}function _0x443165(_0x319512){const _0x787c44=Array['from'](_0x1e13bd['getRanges']())['map'](_0x5377bb=>_0x5f37cd['ModelLiveRange']['fromRange'](_0x5377bb));_0xbd66c5['model']['change'](_0x337b44=>{const _0x565322=_0x337b44['batch'];_0x319512=_0x319512['filter'](_0x3a95bc=>'$graveyard'!=_0x3a95bc['root']['rootName']),_0x337b44['setSelection'](_0x319512),_0xbd66c5['commands']['get']('removeTableRow')['refresh'](),_0xbd66c5['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0xbd66c5['model']['enqueueChange'](()=>{_0xbd66c5['model']['enqueueChange'](_0x565322,_0x3914ab=>{const _0x1862b1=_0x787c44['filter'](_0x1ec2fe=>'$graveyard'!=_0x1ec2fe['root']['rootName']);_0x1862b1['length']>0x0&&_0x3914ab['setSelection'](_0x1862b1);for(const _0x13ee89 of _0x787c44)_0x13ee89['detach']();});});});}function _0x4ccb7b(_0x5aea11){_0xbd66c5['model']['change'](_0xb07401=>{const _0x9d68dc=Array['from'](_0x1e13bd['getRanges']())['map'](_0x4d6fc2=>_0x5f37cd['ModelLiveRange']['fromRange'](_0x4d6fc2)),_0xd551a4=[];for(const _0x36c21c of _0x5aea11)for(const _0x8fc094 of _0x36c21c['getItems']({'shallow':!0x0}))_0xd551a4['push'](_0x8fc094);for(const _0x1402e4 of _0xd551a4)'$graveyard'!=_0x1402e4['root']['rootName']&&(_0xb07401['setSelection'](_0xb07401['createPositionAt'](_0x1402e4,0x0)),_0xbd66c5['commands']['get']('removeTableColumn')['refresh'](),_0xbd66c5['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x16991f=_0x9d68dc['filter'](_0x4f3459=>'$graveyard'!=_0x4f3459['root']['rootName']);_0x16991f['length']>0x0&&_0xb07401['setSelection'](_0x16991f);for(const _0x14836a of _0x9d68dc)_0x14836a['detach']();});}function _0x1bfb25(_0x1b042c,_0x1162ee){return _0x1162ee['every'](_0x526045=>_0x1b042c['some'](_0x53165f=>_0x53165f['end']['isEqual'](_0x526045['start'])||_0x526045['end']['isEqual'](_0x53165f['start'])));}function _0x1379e2(_0xa1348c,_0x9885fe){return!_0xa1348c['some'](_0x5306a8=>_0x9885fe['some'](_0x2b60ee=>_0x5306a8['isIntersecting'](_0x2b60ee)))&&_0xa1348c['some'](_0x4968d5=>_0x9885fe['some'](_0x533feb=>_0x4968d5['end']['isTouching'](_0x533feb['start'])));}_0x8c6972['descriptionFactory']['registerDescriptionCallback'](_0xf46d87=>{if('insertion'!=_0xf46d87['type']&&'deletion'!=_0xf46d87['type'])return;const _0x34e994=_0xf46d87['getContainedElement']();if(null!=_0x34e994&&_0x34e994['is']('element','table')){if('insertion'==_0xf46d87['type']){const _0x2254d3=_0xf46d87['getItems']()['filter'](_0x5ad175=>_0x5ad175['is']('$textProxy'))['map'](_0x550075=>_0x550075['data']);if(_0x2254d3['length'])return{'type':'insertion','content':_0x538d4a(_0x3468ba,'*Insert:*\x20%0',_0x538d4a(_0x3468ba,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x2254d3['join']('\x20')+'\x22'))};}if('deletion'==_0xf46d87['type']){const _0x3816e4=_0xf46d87['getItems']()['filter'](_0x5a173a=>_0x5a173a['is']('$textProxy'))['map'](_0x17dccc=>_0x17dccc['data']);if(_0x3816e4['length'])return{'type':'deletion','content':_0x538d4a(_0x3468ba,'*Remove:*\x20%0',_0x538d4a(_0x3468ba,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x3816e4['join']('\x20')+'\x22'))};}}}),_0x8c6972['descriptionFactory']['registerDescriptionCallback'](_0x35842b=>{if('tableRow'==_0x35842b['subType']){const _0x90ed8c=_0x35842b['getItems']()['filter'](_0x4a9365=>_0x4a9365['is']('$textProxy'))['map'](_0x4c977a=>_0x4c977a['data']),_0x156846=this['_getSuggestionCoords'](_0x35842b),_0x2aacca=_0x156846['maxRow']-_0x156846['minRow']+0x1;if('insertion'==_0x35842b['type'])return _0x90ed8c['length']?{'type':'insertion','content':_0x538d4a(_0x3468ba,'*Insert:*\x20%0',_0x538d4a(_0x3468ba,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x2aacca,'\x22'+_0x90ed8c['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x538d4a(_0x3468ba,'*Insert:*\x20%0',_0x538d4a(_0x3468ba,'ELEMENT_TABLE_ROW',_0x2aacca))};if('deletion'==_0x35842b['type'])return _0x90ed8c['length']?{'type':'deletion','content':_0x538d4a(_0x3468ba,'*Remove:*\x20%0',_0x538d4a(_0x3468ba,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x2aacca,'\x22'+_0x90ed8c['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x538d4a(_0x3468ba,'*Remove:*\x20%0',_0x538d4a(_0x3468ba,'ELEMENT_TABLE_ROW',_0x2aacca))};}if('tableColumn'==_0x35842b['subType']){const _0x34c8d5=_0x35842b['getItems']()['filter'](_0x5c49be=>_0x5c49be['is']('$textProxy'))['map'](_0x3db0d8=>_0x3db0d8['data']),_0x1de67d=this['_getSuggestionCoords'](_0x35842b),_0x2c4baf=_0x1de67d['maxColumn']-_0x1de67d['minColumn']+0x1;if('insertion'==_0x35842b['type'])return _0x34c8d5['length']?{'type':'insertion','content':_0x538d4a(_0x3468ba,'*Insert:*\x20%0',_0x538d4a(_0x3468ba,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x2c4baf,'\x22'+_0x34c8d5['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x538d4a(_0x3468ba,'*Insert:*\x20%0',_0x538d4a(_0x3468ba,'ELEMENT_TABLE_COLUMN',_0x2c4baf))};if('deletion'==_0x35842b['type'])return _0x34c8d5['length']?{'type':'deletion','content':_0x538d4a(_0x3468ba,'*Remove:*\x20%0',_0x538d4a(_0x3468ba,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x2c4baf,'\x22'+_0x34c8d5['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x538d4a(_0x3468ba,'*Remove:*\x20%0',_0x538d4a(_0x3468ba,'ELEMENT_TABLE_COLUMN',_0x2c4baf))};}}),_0x8c6972['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0x443165),_0x8c6972['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0x443165),_0x8c6972['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0x4ccb7b),_0x8c6972['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0x4ccb7b),_0x8c6972['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0x1bfb25),_0x8c6972['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0x1bfb25),_0x8c6972['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0x1379e2),_0x8c6972['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0x1379e2);}['_acceptFormatSuggestionCallbackFactory'](){const _0x36c3dc=this['editor'],_0x52e890=_0x36c3dc['model']['document']['selection'];return(_0x388703,_0x317af4)=>{_0x36c3dc['model']['change'](_0x1326aa=>{const {commandName:_0xfaae0,commandParams:_0xe6359a}=_0x317af4;let _0x36da81=_0x388703[0x0]['end']['nodeBefore'];_0xe6359a&&_0xe6359a[0x0]&&!0x1===_0xe6359a[0x0]['forceValue']&&(_0x36da81=_0x388703[0x0]['start']['nodeAfter']);const _0x1c1d96=_0x1326aa['createRangeIn'](_0x36da81);if('$graveyard'==_0x1c1d96['root']['rootName'])return;const _0x4dfc8f=Array['from'](_0x52e890['getRanges']())['map'](_0x2678e6=>_0x5f37cd['ModelLiveRange']['fromRange'](_0x2678e6));_0x1326aa['setSelection'](_0x1c1d96),_0x36c3dc['commands']['get'](_0xfaae0)['refresh'](),_0xe6359a['push']({'forceDefaultExecution':!0x0}),_0x36c3dc['execute'](_0xfaae0,..._0xe6359a);const _0xff6f1c=_0x4dfc8f['filter'](_0x1e34ec=>'$graveyard'!=_0x1e34ec['root']['rootName']);_0xff6f1c['length']>0x0&&_0x1326aa['setSelection'](_0xff6f1c);for(const _0x2358bc of _0x4dfc8f)_0x2358bc['detach']();});};}['_getCoordsForCells'](_0x599035){const _0x260982=this['editor']['plugins']['get']('TableUtils');let _0x98913e=Number['MAX_SAFE_INTEGER'],_0x2c837a=Number['MIN_SAFE_INTEGER'],_0x514f85=Number['MAX_SAFE_INTEGER'],_0x3ed075=Number['MIN_SAFE_INTEGER'];for(const _0x6ceb17 of _0x599035){if('$graveyard'==_0x6ceb17['root']['rootName'])continue;const {row:_0x173bda,column:_0xcc9d3}=_0x260982['getCellLocation'](_0x6ceb17),_0x33ba15=_0x6ceb17['hasAttribute']('rowspan')?_0x6ceb17['getAttribute']('rowspan')-0x1:0x0,_0x3ee4aa=_0x6ceb17['hasAttribute']('colspan')?_0x6ceb17['getAttribute']('colspan')-0x1:0x0;_0x98913e=_0x173bda<_0x98913e?_0x173bda:_0x98913e,_0x2c837a=_0x173bda+_0x33ba15>_0x2c837a?_0x173bda+_0x33ba15:_0x2c837a,_0x514f85=_0xcc9d3<_0x514f85?_0xcc9d3:_0x514f85,_0x3ed075=_0xcc9d3+_0x3ee4aa>_0x3ed075?_0xcc9d3+_0x3ee4aa:_0x3ed075;}return{'minRow':_0x98913e,'maxRow':_0x2c837a,'minColumn':_0x514f85,'maxColumn':_0x3ed075};}['_setupColumnsRowsFixing'](){const _0xa5dae1=this['editor'],_0x138586=_0xa5dae1['plugins']['get']('TrackChangesEditing'),_0x2f3838=_0xa5dae1['plugins']['get']('TableUtils');_0xa5dae1['model']['document']['on']('change:data',()=>{const _0x1d6723=Array['from'](_0xa5dae1['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x596b02,data:_0x2d5451}of _0x1d6723){const {group:_0x193fe1,id:_0x447b86,subType:_0x338e71}=_0x1ee8e4(_0x596b02);if('suggestion'!=_0x193fe1)continue;if(null!=_0x2d5451['oldRange'])continue;const _0x2025e6=_0x138586['getSuggestion'](_0x447b86);this['_tablePostFixingSubtypes']['includes'](_0x338e71)&&this['_tableSuggestions']['add'](_0x2025e6);}},{'priority':'low'});const _0x2e1dcc=(_0x466429,_0x3971a4)=>{let _0x5b44e4=!0x1;const _0xba1657=_0x3971a4['createRangeOn'](_0x466429),_0x5b0fe9=_0x466429['findAncestor']('table'),_0xb7d613=_0x2f3838['getCellLocation'](_0x466429);for(const _0x2585a0 of this['_tableSuggestions']){const _0x131d6d=_0x2585a0['subType'],_0x47550b=_0x131d6d['startsWith']('tablePaste'),_0x35efb0=_0x131d6d['substr'](_0x47550b?0xa:0x5),_0x264b2c=_0x35efb0['toLowerCase'](),_0x4612c1=_0x264b2c['substr'](0x0,0x3)+'span',_0x416357='min'+_0x35efb0,_0x51d3e5='max'+_0x35efb0;if(!_0x2585a0['isInContent'])continue;if(_0x5b0fe9!=_0x2585a0['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0x2585a0['isIntersectingWithRange'](_0xba1657))continue;const _0x2995f3=_0x466429['hasAttribute'](_0x4612c1)?_0x466429['getAttribute'](_0x4612c1)-0x1:0x0,_0x3f4032=this['_getSuggestionCoords'](_0x2585a0),_0x445705=_0x3f4032[_0x416357],_0x2e1ea2=_0x3f4032[_0x51d3e5];_0x445705<=_0xb7d613[_0x264b2c]&&_0xb7d613[_0x264b2c]+_0x2995f3<=_0x2e1ea2&&(_0x2585a0['addRange'](_0xba1657),_0x5b44e4=!0x0);}return _0x5b44e4;};_0xa5dae1['model']['document']['registerPostFixer'](_0x508934=>{let _0x321069=!0x1;for(const _0x157d64 of _0xa5dae1['model']['document']['differ']['getChanges']())if('insert'==_0x157d64['type']){if('tableRow'==_0x157d64['name']){for(const _0x4fab98 of _0x157d64['position']['nodeAfter']['getChildren']())_0x321069=_0x321069||_0x2e1dcc(_0x4fab98,_0x508934);}else'tableCell'==_0x157d64['name']&&(_0x321069=_0x321069||_0x2e1dcc(_0x157d64['position']['nodeAfter'],_0x508934));}return _0x321069;});}['_getSuggestionCoords'](_0x41e2b9){return this['_getCoordsForCells'](_0x41e2b9['getRanges']()['map'](_0x544998=>_0x544998['start']['nodeAfter']));}}function _0x369146(_0x32019c){return Array['from'](new Set(_0x32019c)['values']());}class TrackChangesTableMergeSplit extends _0x5f37cd['Plugin']{static get['requires'](){return[_0x196227];}['afterInit'](){const _0x58a878=this['editor'],_0x671ec8=_0x58a878['model']['document']['selection'],_0x19dc1a=_0x58a878['locale'];if(!_0x58a878['plugins']['has']('TableEditing'))return;const _0x45068e=_0x58a878['plugins']['get']('TrackChangesEditing'),_0x5530dd=_0x58a878['plugins']['get']('TableUtils'),_0x30ade7=_0x58a878['plugins']['get'](_0x196227);_0x30ade7['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x45068e['enableCommand']('mergeTableCells',()=>{const _0x38623c=_0x5530dd['getSelectionAffectedTableCells'](_0x58a878['model']['document']['selection']);_0x58a878['model']['change'](()=>{_0x45068e['markMultiRangeBlockFormat'](_0x38623c,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x58a878['commands']['get']('mergeTableCells')['on']('execute',(_0x5cd4cc,_0x3056b4)=>{_0x58a878['commands']['get']('trackChanges')['value']&&(_0x3056b4['length']>0x0&&_0x3056b4[_0x3056b4['length']-0x1]&&_0x3056b4[_0x3056b4['length']-0x1]['forceDefaultExecution']||_0x45068e['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x5cd4cc['stop']());},{'priority':'highest'});for(const _0x412294 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x5ccefa=_0x58a878['commands']['get'](_0x412294);_0x45068e['enableCommand'](_0x412294,()=>{const _0x4a6424=_0x58a878['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x1db656=>_0x1db656['is']('element','tableCell')),_0x823381=_0x5ccefa['value'];_0x58a878['model']['change'](()=>{_0x45068e['markMultiRangeBlockFormat']([_0x4a6424,_0x823381],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x9a8596 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x50990c=_0x58a878['commands']['get'](_0x9a8596);_0x45068e['enableCommand'](_0x9a8596,()=>{const _0x1cf4f4=_0x5530dd['getSelectionAffectedTableCells'](_0x58a878['model']['document']['selection'])[0x0],_0x2f9e44=_0x1cf4f4['findAncestor']('table'),{column:_0x52604f,row:_0x542a32}=_0x5530dd['getCellLocation'](_0x1cf4f4);let _0x256977=[];if('horizontally'==_0x50990c['direction']){const _0x474198=_0x5530dd['createTableWalker'](_0x2f9e44,{'startRow':_0x542a32,'endRow':_0x542a32,'includeAllSlots':!0x0});_0x256977=Array['from'](_0x474198)['map'](_0x4562e6=>_0x4562e6['cell']);}else{const _0x251365=_0x5530dd['createTableWalker'](_0x2f9e44,{'column':_0x52604f,'includeAllSlots':!0x0});_0x256977=Array['from'](_0x251365)['map'](_0x149e38=>_0x149e38['cell']);}_0x58a878['model']['change'](_0x225a76=>{_0x45068e['markBlockFormat'](_0x225a76['createRangeOn'](_0x1cf4f4),{'commandName':_0x9a8596,'commandParams':[]},_0x256977,_0x9a8596);});});}_0x45068e['descriptionFactory']['registerDescriptionCallback'](_0x33ff5c=>{if('formatBlock'!=_0x33ff5c['type']&&'formatInline'!=_0x33ff5c['type'])return;const {data:_0x7fa0bc}=_0x33ff5c;return _0x7fa0bc&&'mergeTableCells'==_0x7fa0bc['commandName']?{'type':'format','content':_0x538d4a(_0x19dc1a,'*Merge\x20cells*')}:void 0x0;}),_0x45068e['descriptionFactory']['registerDescriptionCallback'](_0x30e851=>{if('formatBlock'!=_0x30e851['type']&&'formatInline'!=_0x30e851['type'])return;const {data:_0x383253}=_0x30e851;return _0x383253?'splitTableCellVertically'==_0x383253['commandName']?{'type':'format','content':_0x538d4a(_0x19dc1a,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x383253['commandName']?{'type':'format','content':_0x538d4a(_0x19dc1a,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0xa5b271=_0x30ade7['_acceptFormatSuggestionCallbackFactory']();for(const _0x2f4d5c of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0x45068e['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x2f4d5c,'accept',_0xa5b271);for(const _0xe3ecc2 of['splitTableCellVertically','splitTableCellHorizontally'])_0x45068e['_suggestionFactory']['registerCustomCallback']('formatBlock',_0xe3ecc2,'accept',_0xa5b271);_0x45068e['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0x56a2c9=>{_0x58a878['model']['change'](_0x3dcd10=>{const _0x439d92=Array['from'](_0x671ec8['getRanges']())['map'](_0x46034a=>_0x5f37cd['ModelLiveRange']['fromRange'](_0x46034a));_0x3dcd10['setSelection'](_0x56a2c9),_0x58a878['commands']['get']('mergeTableCells')['refresh'](),_0x58a878['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x149cfb=_0x439d92['filter'](_0x30ac4c=>'$graveyard'!=_0x30ac4c['root']['rootName']);_0x149cfb['length']>0x0&&_0x3dcd10['setSelection'](_0x149cfb);for(const _0x2ebba3 of _0x439d92)_0x2ebba3['detach']();});});for(const _0x22ee1a of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x2e968d=_0x58a878['commands']['get'](_0x22ee1a);_0x2e968d['on']('set:isEnabled',(_0x125374,_0x33f627,_0x540593)=>{if(_0x540593){const _0x1b4adf=_0x58a878['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x2a7c81=>_0x2a7c81['is']('element','tableCell'));this['_areMergableCells'](_0x2e968d['value'],_0x1b4adf)||(_0x125374['return']=!0x1,_0x125374['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x3a5bc5=this['editor']['commands']['get']('mergeTableCells'),_0x1a3091=this['editor']['plugins']['get']('TableUtils');if(!_0x3a5bc5['isEnabled'])return!0x1;const _0x55c842=_0x1a3091['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0x203b48 of _0x55c842)for(const _0x858b72 of _0x55c842)if(_0x203b48!=_0x858b72&&!this['_areMergableCells'](_0x203b48,_0x858b72))return!0x1;return!0x0;}['_areMergableCells'](_0xdb159d,_0x1726bb){const _0x3978cd=this['editor']['plugins']['get']('TrackChangesEditing'),_0x441d91=this['editor']['model']['createRangeOn'](_0xdb159d),_0x439564=this['editor']['model']['createRangeOn'](_0x1726bb),_0x48dca7=new Set(),_0x4bff02=new Set();for(const _0x4ab6cd of _0x3978cd['getSuggestions']())if(('insertion'==_0x4ab6cd['type']||'deletion'==_0x4ab6cd['type']||'mergeTableCells'==_0x4ab6cd['subType'])&&_0x4ab6cd['isInContent']){for(const _0x90d184 of _0x4ab6cd['getRanges']())_0x90d184['containsRange'](_0x441d91,!0x0)&&_0x48dca7['add'](_0x4ab6cd['type']+':'+_0x4ab6cd['author']['id']),_0x90d184['containsRange'](_0x439564,!0x0)&&_0x4bff02['add'](_0x4ab6cd['type']+':'+_0x4ab6cd['author']['id']);}if(_0x48dca7['size']!=_0x4bff02['size'])return!0x1;for(const _0x71241d of _0x48dca7)if(!_0x4bff02['has'](_0x71241d))return!0x1;return!0x0;}}class _0x147a80 extends _0x5f37cd['Plugin']{static get['requires'](){return[_0x196227];}['afterInit'](){const _0x384d96=this['editor'];if(!_0x384d96['plugins']['has']('TableEditing'))return;const _0x506756=_0x384d96['locale'],_0x1491eb=_0x384d96['plugins']['get']('TrackChangesEditing');_0x1491eb['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x1491eb['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x1491eb['descriptionFactory']['registerAttributeLabel']('headingRows',_0x538d4a(_0x506756,'FORMAT_HEADER_ROW')),_0x1491eb['descriptionFactory']['registerAttributeLabel']('headingColumns',_0x538d4a(_0x506756,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x23eadf=this['editor']['plugins']['get']('TrackChangesEditing'),_0x47a1f4=this['editor']['plugins']['get'](_0x196227)['_acceptFormatSuggestionCallbackFactory']();_0x23eadf['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0x47a1f4),_0x23eadf['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x47a1f4),this['_registerLegacyConverters'](),this['_registerLegacyDescription']();}['_registerLegacyConverters'](){const _0x41198e=this['editor']['plugins']['get']('TrackChangesEditing'),_0x543902=this['editor']['plugins']['get']('TableUtils');function _0x4a6c52({showActiveMarker:_0x267de3=!0x0,setDataAttribute:_0xa418a2=!0x0}={}){return(_0x3d3a78,_0x572017,_0x335818)=>{const {type:_0x4ad72b,id:_0x258754}=_0x1ee8e4(_0x572017['markerName']);if(!_0x41198e['hasSuggestion'](_0x258754))return;const _0xb87d7f=_0x41198e['getSuggestion'](_0x258754),_0x5bf304=_0xb87d7f['data'];if('formatBlock'!=_0xb87d7f['type']||!_0x5bf304||'setTableColumnHeader'!=_0x5bf304['commandName'])return;if(_0x572017['item'])return void _0x3d3a78['stop']();if(!_0x335818['consumable']['consume'](_0x572017['markerRange'],_0x3d3a78['name']))return;const _0x324c47=_0x572017['markerRange']['start']['nodeAfter'],_0x462c94=_0x572017['markerRange']['end']['nodeBefore'],_0x2ebd46=_0x324c47['parent']['parent'],{column:_0xbd6043}=_0x543902['getCellLocation'](_0x324c47),{column:_0xe88f4e}=_0x543902['getCellLocation'](_0x462c94);for(let _0x37f43a=_0xbd6043;_0x37f43a<=_0xe88f4e;_0x37f43a++){const _0x32cff8=_0x543902['createTableWalker'](_0x2ebd46,{'column':_0x37f43a,'includeAllSlots':!0x1});for(const _0x4f62d7 of _0x32cff8){const _0x162ffb=_0x4f62d7['cell'],_0x57cd12=_0x335818['mapper']['toViewElement'](_0x162ffb);_0x335818['writer']['addClass']('ck-suggestion-marker-'+_0x4ad72b,_0x57cd12),_0xa418a2&&_0x335818['writer']['setAttribute']('data-suggestion',_0x258754,_0x57cd12),_0x335818['mapper']['bindElementToMarker'](_0x57cd12,_0x572017['markerName']),_0x267de3&&(_0x41198e['activeMarkers']['includes'](_0x572017['markerName'])?_0x335818['writer']['addClass']('ck-suggestion-marker--active',_0x57cd12):_0x335818['writer']['removeClass']('ck-suggestion-marker--active',_0x57cd12));}}};}this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x4a6c52(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x230960,_0x5ede0d,_0x19ad13)=>{_0x19ad13['options']['showSuggestionHighlights']&&_0x4a6c52({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x230960,_0x5ede0d,_0x19ad13);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x34c476,_0x29d32e,_0x387aae)=>{const {type:_0x3d1b6d,id:_0x42a183}=_0x1ee8e4(_0x29d32e['markerName']);if(!_0x41198e['hasSuggestion'](_0x42a183))return;const _0x5e5814=_0x41198e['getSuggestion'](_0x42a183),_0xbc61de=_0x5e5814['data'];if('formatBlock'!=_0x5e5814['type']||!_0xbc61de||'setTableColumnHeader'!=_0xbc61de['commandName'])return;const _0x4e0bda=_0x387aae['mapper']['markerNameToElements'](_0x29d32e['markerName']);if(_0x4e0bda){for(const _0x46b9ed of _0x4e0bda)_0x387aae['writer']['removeClass']('ck-suggestion-marker-'+_0x3d1b6d,_0x46b9ed),_0x387aae['writer']['removeClass']('ck-suggestion-marker--active',_0x46b9ed),_0x387aae['writer']['removeAttribute']('data-suggestion',_0x46b9ed),_0x387aae['mapper']['unbindElementFromMarkerName'](_0x46b9ed,_0x29d32e['markerName']);}},{'priority':'highest'});}['_registerLegacyDescription'](){const _0x19bc29=this['editor'],_0x325729=_0x19bc29['locale'];function _0x2ecea0(_0x2c9372){return{'type':'format','content':_0x538d4a(_0x325729,'*Format:*\x20%0',_0x2c9372)};}_0x19bc29['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1f7657=>{if('formatBlock'!=_0x1f7657['type'])return;const {data:_0x3d1e81}=_0x1f7657;if(_0x3d1e81){if('setTableRowHeader'==_0x3d1e81['commandName']){const _0x47b110=_0x3d1e81['commandParams'][0x0]['forceValue'];return _0x2ecea0(_0x538d4a(_0x325729,_0x47b110?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x3d1e81['commandName']){const _0x360eaa=_0x3d1e81['commandParams'][0x0]['forceValue'];return _0x2ecea0(_0x538d4a(_0x325729,_0x360eaa?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}});}}class TrackChangesTableFooters extends _0x5f37cd['Plugin']{static get['requires'](){return[_0x196227];}['afterInit'](){const _0xdde9c4=this['editor'];if(!_0xdde9c4['plugins']['has']('TableEditing')||!_0xdde9c4['config']['get']('table.enableFooters'))return;const _0x3141e7=_0xdde9c4['locale'],_0x27da74=_0xdde9c4['plugins']['get']('TrackChangesEditing');_0x27da74['enableDefaultAttributesIntegration']('setTableFooterRow'),_0x27da74['descriptionFactory']['registerAttributeLabel']('footerRows',_0x538d4a(_0x3141e7,'FORMAT_FOOTER_ROW'));}}class TrackChangesTableLayout extends _0x5f37cd['Plugin']{['afterInit'](){const _0x49167c=this['editor'],_0x55d9f1=_0x49167c['locale'],_0x522635=_0x49167c['plugins']['get']('TrackChangesEditing');function _0x584ac0(_0xf32ea0){return{'type':'format','content':''+_0x538d4a(_0x55d9f1,'*Set\x20table\x20type:*\x20%0',_0xf32ea0)};}_0x49167c['plugins']['has']('TableLayout')&&(_0x522635['enableCommand']('insertTableLayout'),_0x522635['enableDefaultAttributesIntegration']('tableType'),_0x522635['descriptionFactory']['registerElementLabel'](_0x54afc5=>_0x54afc5['is']('element','table')&&'layout'===_0x54afc5['getAttribute']('tableType'),_0x165e9d=>_0x538d4a(_0x55d9f1,'ELEMENT_LAYOUT_TABLE',_0x165e9d)),_0x522635['descriptionFactory']['registerDescriptionCallback'](_0x18491a=>{const {data:_0x4a749b}=_0x18491a;if(_0x4a749b&&'tableType'==_0x4a749b['key'])switch(_0x4a749b['newValue']){case'layout':return _0x584ac0(_0x538d4a(_0x55d9f1,'ELEMENT_LAYOUT_TABLE'));case'content':return _0x584ac0(_0x538d4a(_0x55d9f1,'ELEMENT_CONTENT_TABLE'));}}));}}const _0x126a75=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],_0x4c8e80=/* #__PURE__ -- @preserve */
Object['fromEntries'](_0x126a75['map'](_0x47fa70=>[_0x47fa70,null]));class _0x4060ac extends _0x5f37cd['Plugin']{static get['requires'](){return[_0x196227];}['afterInit'](){const _0xaa6b39=this['editor'];if(!_0xaa6b39['plugins']['has']('TableClipboard'))return;const _0x56ff5a=_0xaa6b39['plugins']['get']('TrackChangesEditing'),_0x3c914a=_0xaa6b39['plugins']['get']('TableUtils'),_0x548c92=_0xaa6b39['plugins']['get'](_0x196227),_0x12d6d2=_0xaa6b39['plugins']['get']('TableClipboard'),_0x57323f=_0xaa6b39['plugins']['get']('TableSelection'),_0x3743d1=_0xaa6b39['plugins']['get'](_0x5f37cd['ClipboardPipeline']);_0x548c92['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0xaa6b39['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0xaa6b39['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x1ed464=null,_0x5d62b7=!0x1;_0x3743d1['on']('contentInsertion',(_0x452ad0,_0x1dc955)=>{_0x5d62b7='paste'===_0x1dc955['method'];}),_0xaa6b39['model']['on']('insertContent',(_0x4c5820,_0x5e2f26)=>{if(!_0x5d62b7&&null===_0x57323f['getSelectedTableCells']())return;const [_0x4ebb60,_0x4d4367]=_0x5e2f26,_0x594ec3=_0x5e2f26[_0x5e2f26['length']-0x1];_0x594ec3&&_0x594ec3['forceDefaultExecution']||_0x56ff5a['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&function(_0x204f05,_0x1276ab,_0x2f44,_0x7aaedb,_0xe788ee){if(_0x1276ab&&!_0x1276ab['is']('documentSelection'))return!0x1;const _0x44cf63=_0xe788ee['getTableIfOnlyTableInContent'](_0x204f05,_0x2f44);if(!_0x44cf63||!_0x1c207e(_0x44cf63,void 0x0,_0x7aaedb))return!0x1;const _0x2fad55=_0x7aaedb['getSelectionAffectedTableCells'](_0x2f44['document']['selection']);if(!_0x2fad55['length'])return!0x1;const _0x43d05d=_0x2fad55[0x0]['findAncestor']('table'),_0x174937=_0x7aaedb['getRowIndexes'](_0x2fad55),_0x1b5b7f=_0x7aaedb['getColumnIndexes'](_0x2fad55),_0x566d34={'startRow':_0x174937['first'],'endRow':_0x174937['last'],'startColumn':_0x1b5b7f['first'],'endColumn':_0x1b5b7f['last']};return 0x1==_0x2fad55['length']&&(_0x566d34['endRow']+=_0x7aaedb['getRows'](_0x44cf63)-0x1,_0x566d34['endColumn']+=_0x7aaedb['getColumns'](_0x44cf63)-0x1),_0x1c207e(_0x43d05d,_0x566d34,_0x7aaedb);}(_0x4ebb60,_0x4d4367,_0xaa6b39['model'],_0x3c914a,_0x12d6d2)&&(_0x4c5820['stop'](),_0x1ed464={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0xaa6b39['model']['change'](()=>{_0xaa6b39['model']['insertContent'](_0x5e2f26[0x0],_0x5e2f26[0x1],_0x5e2f26[0x2],{'forceDefaultExecution':!0x0});const _0x17f9ec=_0x5f37cd['uid'](),{rowInsertionRanges:_0x360655,columnInsertionRanges:_0x5ba9f9,insertionRanges:_0x55bfef,deletionRanges:_0x503bb1,cells:_0x21d231}=_0x1ed464;_0x360655['length']&&_0x56ff5a['markMultiRangeInsertion'](_0x360655,'tablePasteRow',{'tablePasteChainId':_0x17f9ec}),_0x5ba9f9['length']&&_0x56ff5a['markMultiRangeInsertion'](_0x5ba9f9,'tablePasteColumn',{'tablePasteChainId':_0x17f9ec}),_0x55bfef['length']&&(_0x56ff5a['markMultiRangeInsertion'](_0x55bfef,'tablePaste',{'tablePasteChainId':_0x17f9ec,'skipNestingCheck':!0x0}),_0x55bfef['forEach'](_0x38c622=>_0x38c622['detach']?.())),_0x503bb1['length']&&(_0x56ff5a['markMultiRangeDeletion'](_0x503bb1,'tablePaste',{'tablePasteChainId':_0x17f9ec,'skipNestingCheck':!0x0}),_0x503bb1['forEach'](_0x5106d4=>_0x5106d4['detach']?.()));const _0x42704c=_0x56ff5a['markMultiRangeBlockFormat'](_0x21d231['map'](({element:_0x1be45b})=>_0x1be45b),{'formatGroupId':_0x5f37cd['uid']()},[],'tablePasteCell',{'tablePasteChainId':_0x17f9ec});if(_0x42704c){const _0x2ccb3e=_0x42704c['getMarkers'](),_0x59978a=[];for(const {element:_0x581b86,attributes:_0x4caf9b}of _0x21d231){if(!_0x4caf9b)continue;const _0x3ac79a=_0xaa6b39['model']['createRangeOn'](_0x581b86),_0x1f9e42=_0x2ccb3e['find'](_0x12c9ad=>_0x12c9ad['getRange']()['isEqual'](_0x3ac79a));_0x1f9e42&&_0x59978a['push']([_0x1f9e42['name'],_0x4caf9b]);}_0x59978a['length']&&_0x42704c['setAttribute']('markerAttributes',Object['fromEntries'](_0x59978a));}_0x1ed464=null;}));},{'priority':_0x5f37cd['priorities']['high']+0xa}),_0x3743d1['on']('contentInsertion',()=>{_0x5d62b7=!0x1;},{'priority':'lowest'}),_0xaa6b39['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x422447,_0x22b6cf)=>{const [_0x294811,_0x1bc501,,_0x1de6b5]=_0x22b6cf;if(!_0x1ed464)return;_0x422447['stop']();const _0x359edc=_0x294811['cell'],_0x5d1948=_0x1bc501,_0x40aa85=_0x3c7c1f(_0x359edc),_0x24f1d3=_0x3c7c1f(_0x5d1948);_0x422447['return']=_0x359edc;let _0x478e0b=null,_0xfebd9b=null;if(_0x24f1d3||_0x40aa85){if(_0x40aa85&&!_0x24f1d3){_0x1de6b5['remove'](_0x359edc['getChild'](0x0));for(const _0x31e950 of Array['from'](_0x5d1948['getChildren']()))_0x1de6b5['insert'](_0x31e950,_0x359edc,'end');const _0x57f7f5=_0x1ed464['rowInsertionIndexes']['includes'](_0x294811['row']),_0x143a08=_0x1ed464['columnInsertionIndexes']['includes'](_0x294811['column']);_0x57f7f5||_0x143a08||(_0x478e0b=_0x5f37cd['ModelLiveRange']['fromRange'](_0x1de6b5['createRangeIn'](_0x359edc)));}else _0x24f1d3&&!_0x40aa85&&(_0xfebd9b=_0x1de6b5['createRangeIn'](_0x359edc));}else{const _0x527e7b=_0x1de6b5['createElement']('tableCellSuggestion'),_0x332e2b=_0x1de6b5['createElement']('tableCellSuggestion');_0x1de6b5['wrap'](_0x1de6b5['createRangeIn'](_0x359edc),_0x332e2b),_0x1de6b5['insert'](_0x527e7b,_0x359edc,0x0);for(const _0x4afbd3 of Array['from'](_0x5d1948['getChildren']()))_0x1de6b5['insert'](_0x4afbd3,_0x527e7b,'end');_0x478e0b=_0x5f37cd['ModelLiveRange']['fromRange'](_0x1de6b5['createRangeOn'](_0x527e7b)),_0xfebd9b=_0x5f37cd['ModelLiveRange']['fromRange'](_0x1de6b5['createRangeOn'](_0x332e2b));}const _0x5ae77e=Array['from'](_0x5d1948['getAttributes']())['filter'](([_0x5bdf39])=>_0x126a75['includes'](_0x5bdf39));_0x1ed464['cells']['push']({'element':_0x359edc,'attributes':_0x5ae77e['length']?Object['fromEntries'](_0x5ae77e):null}),_0x478e0b&&_0x1ed464['insertionRanges']['push'](_0x478e0b),_0xfebd9b&&_0x1ed464['deletionRanges']['push'](_0xfebd9b);},{'priority':'high'}),_0x3c914a['on']('insertColumns',(_0x1640d3,_0x3d6d58)=>{const [_0x5b81c7,_0x15d19e={}]=_0x3d6d58;if(!_0x1ed464)return;const _0x194f37=_0x15d19e['at']||0x0,_0xadde40=_0x15d19e['columns']||0x1;_0x1ed464['columnInsertionIndexes']=new Array(_0xadde40)['fill'](_0x194f37)['map']((_0xb6feac,_0x14395c)=>_0xb6feac+_0x14395c);for(const {cell:_0x4b5b35}of _0x3c914a['createTableWalker'](_0x5b81c7,{'startColumn':_0x194f37,'endColumn':_0x194f37+_0xadde40-0x1}))_0x1ed464['columnInsertionRanges']['push'](_0xaa6b39['model']['createRangeOn'](_0x4b5b35));},{'priority':'low'}),_0x3c914a['on']('insertRows',(_0x42286d,_0x596038)=>{const [_0x54af8f,_0x38642b={}]=_0x596038;if(!_0x1ed464)return;const _0x2de9ef=_0x38642b['at']||0x0,_0x190c07=_0x38642b['rows']||0x1;_0x1ed464['rowInsertionIndexes']=new Array(_0x190c07)['fill'](_0x2de9ef)['map']((_0x1c8484,_0x3bf392)=>_0x1c8484+_0x3bf392);for(const {cell:_0x23a163}of _0x3c914a['createTableWalker'](_0x54af8f,{'startRow':_0x2de9ef,'endRow':_0x2de9ef+_0x190c07-0x1}))_0x1ed464['rowInsertionRanges']['push'](_0xaa6b39['model']['createRangeOn'](_0x23a163));},{'priority':'low'}),_0x56ff5a['descriptionFactory']['registerDescriptionCallback'](_0x5ebdd3=>{if(_0x5ebdd3['subType']&&_0x5ebdd3['subType']['startsWith']('tablePaste'))return _0x5ebdd3['previous']?{}:{'type':'insertion','content':_0x538d4a(_0xaa6b39['locale'],'*Replace\x20table\x20cells*')};});const _0x5adbf6=()=>!0x1;for(const _0x4966e3 of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0x56ff5a['_suggestionFactory']['registerCustomCallback']('insertion',_0x4966e3,'join',_0x5adbf6),_0x56ff5a['_suggestionFactory']['registerCustomCallback']('deletion',_0x4966e3,'join',_0x5adbf6),_0x56ff5a['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x4966e3,'join',_0x5adbf6);_0x56ff5a['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0x5adbf6),_0x56ff5a['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x5bfd0c,_0x2d593d,_0x313062)=>{const _0x181ff5=_0x5bfd0c['map'](_0x322faf=>_0x322faf['getContainedElement']())['filter'](_0x58cc2f=>_0x58cc2f),_0x1be929=new Map(_0x181ff5['map'](_0xe1f37d=>[_0xe1f37d,null]));if(_0x1ed464){for(const {element:_0xae0773,attributes:_0x33f39c}of _0x1ed464['cells'])_0x33f39c&&_0x1be929['set'](_0xae0773,_0x33f39c);}else{if(_0x313062&&_0x313062['markerAttributes'])for(const [_0x223450,_0x3e4aaf]of Object['entries'](_0x313062['markerAttributes'])){const _0x4140c5=_0xaa6b39['model']['markers']['get'](_0x223450),_0x1f836e=_0x4140c5?_0x4140c5['getRange']()['getContainedElement']():null;_0x1f836e&&_0x1be929['set'](_0x1f836e,_0x3e4aaf);}}_0xaa6b39['model']['change'](_0x2e4040=>{for(const [_0x41c636,_0x3392d2]of _0x1be929)_0x2e4040['setAttributes']({..._0x4c8e80,..._0x3392d2},_0x41c636);});});const _0x19dc34=(_0xf7b4dc,_0x55b50b)=>{_0x56ff5a['_suggestionFactory']['registerCustomCallback'](_0xf7b4dc,'tablePaste',_0x55b50b,(_0x43c218,_0x49f90f,_0x25790e)=>{_0xaa6b39['model']['change'](_0x2706b6=>{const _0x5de853=[];for(const _0x11ce80 of _0x43c218){const _0x7c42e4=_0x11ce80['start']['nodeAfter'];_0x7c42e4['is']('element','tableCellSuggestion')&&_0x5de853['push'](_0x7c42e4);}_0x56ff5a['_suggestionFactory']['getSuggestionCallback'](_0xf7b4dc,null,_0x55b50b)(_0x43c218,_0x49f90f,_0x25790e);for(const _0x28cc52 of _0x5de853)'$graveyard'!=_0x28cc52['root']['rootName']&&_0x2706b6['unwrap'](_0x28cc52);});});};_0x19dc34('insertion','accept'),_0x19dc34('insertion','discard'),_0x19dc34('deletion','accept'),_0x19dc34('deletion','discard'),_0x56ff5a['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x2855b5=>{const _0x161c02=_0x2855b5['map'](_0x15709f=>_0x15709f['getContainedElement']()),_0x117619=_0x161c02[0x0]['findAncestor']('table'),{minRow:_0x173109,maxRow:_0x3420c9}=_0x548c92['_getCoordsForCells'](_0x161c02);_0x3c914a['removeRows'](_0x117619,{'at':_0x173109,'rows':_0x3420c9-_0x173109+0x1});}),_0x56ff5a['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x30c336=>{const _0x386d9a=_0x30c336['map'](_0x3af3fa=>_0x3af3fa['getContainedElement']()),_0x56f65d=_0x386d9a[0x0]['findAncestor']('table'),{minColumn:_0x316a30,maxColumn:_0x3e696f}=_0x548c92['_getCoordsForCells'](_0x386d9a);_0x3c914a['removeColumns'](_0x56f65d,{'at':_0x316a30,'columns':_0x3e696f-_0x316a30+0x1});});const _0x428c4a=(_0x1addd0,_0x46f8ca)=>{if(!_0x46f8ca['subType']||!_0x46f8ca['subType']['startsWith']('tablePaste'))return;const _0x3c0153=_0x46f8ca['attributes']['tablePasteChainId'],_0x2b4647=_0x56ff5a['getSuggestions']()['filter'](_0xe6d88d=>_0xe6d88d['isInContent']&&_0xe6d88d['attributes']&&_0xe6d88d['attributes']['tablePasteChainId']==_0x3c0153);_0x2b4647['length']&&_0x46f8ca['getAllAdjacentSuggestions']()['length']!=_0x2b4647['length']&&_0x2b4647['reduce']((_0x43b4a9,_0x3cc872)=>(_0x43b4a9['next']=_0x3cc872,_0x3cc872['previous']=_0x43b4a9,_0x3cc872));};function _0xe9741c(_0x4d0653,_0x27711d=!0x0){const {id:_0x1c2fff,authorId:_0x3bb5a8}=_0x1ee8e4(_0x4d0653['markerName']),_0x42a511=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x2ef328=_0x56ff5a['activeMarkers']['includes'](_0x4d0653['markerName']);return _0x2ef328&&_0x42a511['push']('ck-suggestion-marker--active'),{'classes':_0x42a511,'attributes':{'data-suggestion':_0x1c2fff,'data-author-id':_0x3bb5a8},'priority':_0x2ef328&&_0x27711d?0xbc2:0xbb8};}_0x56ff5a['on']('suggestionLoaded',_0x428c4a,{'priority':'high'}),_0x56ff5a['on']('suggestionUnloaded',_0x428c4a,{'priority':'high'}),_0xaa6b39['model']['document']['registerPostFixer'](()=>{let _0x436fc9=!0x1;const _0x53a126=Array['from'](_0xaa6b39['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x35dcba,data:_0x1bddf9}of _0x53a126){const {group:_0x5d8bfe,type:_0x566be2,id:_0x5972a4}=_0x1ee8e4(_0x35dcba);if('suggestion'!=_0x5d8bfe||'deletion'!=_0x566be2||_0x1bddf9['oldRange'])continue;if(!_0x56ff5a['hasSuggestion'](_0x5972a4))continue;const _0x4ebcee=_0x56ff5a['getSuggestion'](_0x5972a4)['getRanges'](),_0x288cad=_0xaa6b39['plugins']['get']('Users')['me'];for(const _0x59c93f of _0x56ff5a['getSuggestions']()){if(!_0x59c93f['isInContent']||_0x59c93f['author']!=_0x288cad)continue;if('formatBlock'!=_0x59c93f['type']||'tablePasteCell'!=_0x59c93f['subType'])continue;if(_0x59c93f['getRanges']()['every'](_0x407efe=>_0x4ebcee['some'](_0x43c34f=>_0x43c34f['containsRange'](_0x407efe,!0x0)))){for(const _0xaf5be1 of _0x59c93f['getAllAdjacentSuggestions']())_0xaf5be1['isInContent']&&(_0xaf5be1['discard'](),_0x436fc9=!0x0);}}}return _0x436fc9;}),_0xaa6b39['model']['document']['registerPostFixer'](_0x2b8665=>{const _0x571873=_0xaa6b39['commands']['get']('redo');if(!_0x571873||!_0x571873['_createdBatches']['has'](_0x2b8665['batch']))return!0x1;let _0x1fd908=!0x1;const _0x39d9cd=_0xaa6b39['plugins']['get']('Users')['me'],_0x4a4393=_0xaa6b39['model']['document']['differ']['getChanges'](),_0x19d7d9=Array['from'](_0xaa6b39['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0x81d9a2,data:_0x470ae8})=>{const {group:_0x1a3da4,subType:_0x302547,authorId:_0x490530}=_0x1ee8e4(_0x81d9a2);return'suggestion'==_0x1a3da4&&'tablePaste'==_0x302547&&_0x490530==_0x39d9cd['id']&&!_0x470ae8['oldRange'];});for(const _0x1b11c3 of _0x4a4393){if('insert'!=_0x1b11c3['type']||'tableCellSuggestion'!=_0x1b11c3['name']||0x1!=_0x1b11c3['length'])continue;const _0x1316ff=_0x2b8665['createRange'](_0x1b11c3['position'],_0x1b11c3['position']['getShiftedBy'](0x1)),_0x4797fa=_0x19d7d9['find'](({data:_0x1e140d})=>_0x1e140d['newRange']['isEqual'](_0x1316ff));if(!_0x4797fa){for(const {name:_0x281080,data:_0xd3fa4a}of _0x19d7d9)if(_0x1316ff['containsRange'](_0xd3fa4a['newRange'])){_0x2b8665['updateMarker'](_0x281080,{'range':_0x1316ff}),_0x1fd908=!0x0;break;}}}return _0x1fd908;}),_0xaa6b39['model']['document']['registerPostFixer'](_0x1b4520=>{let _0x5ce3ef=!0x1;const _0x2d46e1=_0xaa6b39['plugins']['get']('Users')['me'],_0x2254d6=_0x56ff5a['getSuggestions']()['filter'](_0x41754a=>_0x41754a['isInContent']&&_0x41754a['author']==_0x2d46e1),_0x2c0a6e=new Set(),_0x327121=new Set();for(const _0x597924 of _0x2254d6)if('tablePaste'==_0x597924['subType'])for(const _0x13fd56 of _0x597924['getMarkers']()){const _0x385dbb=_0x13fd56['getRange']()['getContainedElement']();if(_0x385dbb){if(_0x385dbb['is']('element','tableCellSuggestion')&&_0x3c7c1f(_0x385dbb)){_0x597924['removeMarker'](_0x13fd56['name']),_0x2c0a6e['add'](_0x385dbb),_0x5ce3ef=!0x0;const _0x24e918=_0x385dbb['nextSibling'],_0x46fe67=_0x385dbb['previousSibling'],_0x4a0f70=_0x24e918&&_0x24e918['is']('element','tableCellSuggestion'),_0x4c0803=_0x46fe67&&_0x46fe67['is']('element','tableCellSuggestion');_0x4a0f70&&!_0x2c0a6e['has'](_0x24e918)&&_0x327121['add'](_0x24e918),_0x4c0803&&!_0x2c0a6e['has'](_0x46fe67)&&_0x327121['add'](_0x46fe67);}else _0x385dbb['is']('element','paragraph')&&_0x385dbb['isEmpty']&&(_0x597924['removeMarker'](_0x13fd56['name']),_0x5ce3ef=!0x0);}}else{if('tablePasteCell'==_0x597924['subType']){if(!_0x597924['attributes']||!_0x597924['attributes']['tablePasteChainId'])continue;const _0x489d8a=_0x597924['attributes']['markerAttributes'];if(_0x489d8a&&Object['keys'](_0x489d8a)['length'])continue;const _0x266785=_0x597924['attributes']['tablePasteChainId'];let _0x49d222=!0x0,_0x55a781=!0x0;for(const _0xbde1ab of _0x2254d6)if(_0xbde1ab['subType']&&_0xbde1ab['subType']['startsWith']('tablePaste')){if(!_0xbde1ab['attributes']['tablePasteChainId']){_0x55a781=!0x1;break;}if(_0xbde1ab['id']!=_0x597924['id']&&_0xbde1ab['attributes']['tablePasteChainId']==_0x266785){_0x49d222=!0x1;break;}}_0x55a781&&_0x49d222&&(_0x597924['removeMarkers'](),_0x5ce3ef=!0x0);}}for(const _0x2110d2 of _0x2c0a6e)_0x1b4520['remove'](_0x2110d2);for(const _0x286e18 of _0x327121)_0x1b4520['unwrap'](_0x286e18);return _0x5ce3ef;}),_0xaa6b39['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x5bdb05=>_0xe9741c(_0x5bdb05),'converterPriority':'high'}),_0xaa6b39['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x5c08a0,_0x45b27d)=>_0x45b27d['options']['showSuggestionHighlights']?_0xe9741c(_0x5c08a0,!0x1):null,'converterPriority':'high'});const _0x3ae598=_0xaa6b39['editing']['view'];this['listenTo'](_0x3ae598['document'],'clipboardOutput',(_0x436585,_0x23ee1c)=>{const _0x40b1bd=[];for(const _0x2d5722 of _0x3ae598['createRangeIn'](_0x23ee1c['content'])['getItems']())_0x2d5722['is']('element','suggestion-td')&&_0x40b1bd['push'](_0x2d5722);_0x3ae598['change'](_0x49e760=>{for(const _0x3eec02 of _0x40b1bd)_0x49e760['move'](_0x49e760['createRangeIn'](_0x3eec02),_0x49e760['createPositionBefore'](_0x3eec02)),_0x49e760['remove'](_0x3eec02);});});}}function _0x3c7c1f(_0x55f3bb){if(_0x55f3bb['isEmpty'])return!0x0;const _0x276408=_0x55f3bb['getChild'](0x0);return _0x276408['is']('element','paragraph')&&_0x276408['isEmpty'];}function _0x1c207e(_0x47f525,_0x5eeb7d={},_0x36cda4){for(const {isAnchor:_0x4cf5c0,cellHeight:_0x1fc132,cellWidth:_0x263fc4}of _0x36cda4['createTableWalker'](_0x47f525,{'includeAllSlots':!0x0,..._0x5eeb7d}))if(!_0x4cf5c0||0x1!=_0x1fc132||0x1!=_0x263fc4)return!0x1;return!0x0;}class _0x5bfedf extends _0x5f37cd['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0x33e32e=this['editor']['plugins']['get']('TrackChangesEditing');_0x33e32e['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0x33e32e['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0x33e32e['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x33e32e['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',_0x33e32e['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),_0x33e32e['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x20dc69,_0x3fece9){const _0x44d284=this['editor']['plugins']['get']('TrackChangesEditing'),_0x3fff6e=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x80ebbb=_0x3fece9['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x2abf12=_0x3fff6e['getColumnGroupElement'](_0x80ebbb);let _0x23375a=_0x2abf12?_0x3fff6e['getTableColumnsWidths'](_0x2abf12):null,_0x591800=_0x80ebbb['getAttribute']('tableWidth')||null;const _0x240a9e=_0x3fece9['tableWidth']||_0x591800,_0x2f48df=_0x3fece9['columnWidths']||_0x23375a,_0x65db60=this['editor']['plugins']['get']('Users')['me'];for(const _0x439307 of _0x44d284['getSuggestions']()){const _0x4c5eba=_0x439307['getContainedElement']();if('resizeTable'===_0x439307['subType']&&_0x4c5eba===_0x80ebbb){_0x439307['author']!==_0x65db60&&_0x439307['discard']();const _0x4444f2=_0x439307['data']['commandParams'];_0x591800=_0x4444f2[0x0]['tableWidth'],_0x23375a=_0x4444f2[0x0]['columnWidths'];break;}}_0x20dc69({'table':_0x80ebbb,'tableWidth':_0x240a9e,'columnWidths':_0x2f48df}),_0x44d284['markBlockFormat'](_0x80ebbb,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x591800,'columnWidths':_0x23375a}],'formatGroupId':'resizeTable'},[],'resizeTable');});}['handleSuggestionDescription'](_0x323835){if('formatBlock'!=_0x323835['type']&&'formatInline'!=_0x323835['type'])return;const {data:_0x5d78c5}=_0x323835;if(_0x5d78c5&&'resizeTable'===_0x5d78c5['formatGroupId']){const _0x483657='*Format:*\x20resize\x20table';return{'type':'format','content':_0x538d4a(this['editor']['locale'],_0x483657)};}}}class TrackChangesTemplate extends _0x5f37cd['Plugin']{['afterInit'](){const _0x26c3c0=this['editor'];_0x26c3c0['plugins']['has']('Template')&&_0x26c3c0['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}}class TrackChangesTableOfContents extends _0x5f37cd['Plugin']{['afterInit'](){const _0x4fc44b=this['editor'];if(!_0x4fc44b['commands']['get']('insertTableOfContents'))return;_0x4fc44b['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x3b8ca6=_0x4fc44b['plugins']['get']('TrackChangesEditing'),_0x210b99=_0x4fc44b['locale'];_0x3b8ca6['descriptionFactory']['registerElementLabel']('tableOfContents',_0x2924cf=>_0x538d4a(_0x210b99,'ELEMENT_TABLE_OF_CONTENTS',_0x2924cf));}}class TrackChangesTitle extends _0x5f37cd['Plugin']{['afterInit'](){const _0x28fae5=this['editor'];if(!_0x28fae5['plugins']['has']('Title'))return;_0x28fae5['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerElementLabel']('title-content',()=>_0x538d4a(_0x28fae5['locale'],'ELEMENT_TITLE')),_0x28fae5['model']['document']['registerPostFixer'](_0x578c91=>{let _0x16344f=!0x1;const _0x6986cf=Array['from'](_0x28fae5['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x3ca769,data:_0x3223ff}of _0x6986cf){const {group:_0x430117}=_0x1ee8e4(_0x3ca769);if('suggestion'!==_0x430117||!_0x3223ff['newRange'])continue;const _0x182066=_0x3223ff['newRange'],_0x5e426a=_0x182066['end']['nodeBefore'];if(!_0x5e426a||!_0x5e426a['is']('element','title-content'))continue;if(!_0x182066['start']['isTouching'](_0x182066['end']))continue;const _0x22b7fd=_0x28fae5['model']['schema']['getNearestSelectionRange'](_0x182066['end'],'forward');if(_0x22b7fd&&_0x22b7fd['isCollapsed']){const _0x342efd=_0x578c91['createRange'](_0x182066['start'],_0x22b7fd['start']);_0x342efd['isEqual'](_0x182066)||(_0x578c91['updateMarker'](_0x3ca769,{'range':_0x342efd}),_0x16344f=!0x0);}_0x16344f||(_0x578c91['removeMarker'](_0x3ca769),_0x16344f=!0x0);}return _0x16344f;});}}class _0x3e6345 extends _0x5f37cd['Plugin']{['afterInit'](){const _0x323df9=this['editor'],_0x39c9b2=_0x323df9['plugins']['get']('TrackChangesEditing');_0x323df9['plugins']['has']('Uploadcare')&&(_0x39c9b2['enableCommand']('uploadcare'),_0x323df9['plugins']['has']('UploadcareImageEdit')&&(_0x39c9b2['enableCommand']('uploadcareImageEdit'),_0x39c9b2['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0x39c9b2['descriptionFactory']['registerDescriptionCallback'](_0x2f72c2=>{if('attribute'!=_0x2f72c2['type'])return;const {data:_0x2398cb}=_0x2f72c2;return _0x2398cb&&'uploadcareImageId'==_0x2398cb['key']?{'type':'format','content':''}:void 0x0;})));}}class _0x38c846 extends _0x5f37cd['Plugin']{['afterInit'](){const _0x300c83=this['editor'],_0x2a0a94=_0x300c83['plugins']['get']('TrackChangesEditing');_0x300c83['plugins']['has']('UndoEditing')&&(_0x2a0a94['enableCommand']('undo'),_0x2a0a94['enableCommand']('redo'));}}class TrackChangesTableCaption extends _0x5f37cd['Plugin']{static get['requires'](){return[_0x196227];}['afterInit'](){const _0x5a43e4=this['editor'];if(!_0x5a43e4['plugins']['has']('TableCaptionEditing'))return;_0x5a43e4['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}class TrackChangesTableProperties extends _0x5f37cd['Plugin']{['tableProperties'];['tableCellProperties'];constructor(_0x477185){super(_0x477185),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 _0x10a150=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x27030c of this['tableProperties'])_0x10a150['enableCommand'](_0x27030c,(_0x4df60b,_0x17b59c)=>{const _0x2e4bad=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x27030c,[_0x2e4bad],this['tableProperties'],'tableProperties',_0x4df60b,_0x17b59c);});_0x10a150['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x10a150['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x10a150['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0xc16d7d,_0x36106f)=>this['handleDiscardAction'](this['tableProperties'],_0xc16d7d,_0x36106f)),_0x10a150['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x268065 of this['tableCellProperties'])this['editor']['commands']['get'](_0x268065)&&_0x10a150['enableCommand'](_0x268065,(_0x5173b4,_0x5630cd)=>{const _0x2c85ff=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x268065,_0x2c85ff,this['tableCellProperties'],'tableCellProperties',_0x5173b4,_0x5630cd);});_0x10a150['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0x10a150['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x10a150['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0x35331c,_0x12dabd)=>this['handleDiscardAction'](this['tableCellProperties'],_0x35331c,_0x12dabd)),_0x10a150['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1),this['editor']['model']['schema']['checkAttribute']('tableCell','tableCellType')&&_0x10a150['descriptionFactory']['registerAttributeLabel']('tableCellType',_0x538d4a(this['editor']['locale'],'FORMAT_TABLE_CELL_TYPE'));}_0x10a150['descriptionFactory']['registerDescriptionCallback'](_0x449464=>this['handleSuggestionDescription'](_0x449464)),this['_registerTablePropertiesAttributes']();}['_handlePropertyChange'](_0x2f3d8d,_0x55eb7b,_0x5bc994,_0x5f2e45,_0x311cdc,_0x554a78){const _0x17c34e=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x554a78['batch'],()=>{for(const _0x2a806a of _0x55eb7b){if(this['_getSuggestion'](_0x2a806a,_0x5f2e45))_0x311cdc(_0x554a78);else{const _0x2b3236={};for(const _0x3ecc42 of _0x5bc994){const _0x3cd76c=_0x2a806a['getAttribute'](_0x3ecc42);void 0x0!==_0x3cd76c&&(_0x2b3236[_0x3ecc42]=_0x3cd76c);}_0x311cdc(_0x554a78),_0x17c34e['markBlockFormat'](_0x2a806a,{'commandParams':[_0x2b3236]},[],_0x5f2e45);}}});}['handleDiscardAction'](_0x52c40b,_0x28a18c,_0x48f085){const _0x4ebe1b=_0x28a18c[0x0]['start']['nodeAfter'],_0x5c93a7=_0x48f085['commandParams'][0x0];this['editor']['model']['change'](_0x10a3ab=>{for(const _0x164d7c of _0x52c40b)void 0x0!==_0x5c93a7[_0x164d7c]?_0x10a3ab['setAttribute'](_0x164d7c,_0x5c93a7[_0x164d7c],_0x4ebe1b):_0x10a3ab['removeAttribute'](_0x164d7c,_0x4ebe1b);});}['handleSuggestionDescription'](_0x43b2c8){if(_0x43b2c8['data'])switch(_0x43b2c8['subType']){case'tableProperties':return{'type':'format','content':_0x538d4a(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':_0x538d4a(this['editor']['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0x22d8b2,_0x5115b6){const _0x1505ca=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x18e27c of _0x1505ca['getSuggestions']({'skipNotAttached':!0x0})){const _0x8622a6=_0x18e27c['getContainedElement']();if(_0x18e27c['subType']===_0x5115b6&&_0x8622a6===_0x22d8b2)return _0x18e27c;}return null;}['_registerTablePropertiesAttributes'](){const _0xd5d636=this['editor']['plugins']['get']('TrackChangesEditing'),_0x59325c=[...this['tableProperties'],...this['tableCellProperties']];for(const _0x252ba2 of _0x59325c){const _0x38c25a=_0x252ba2['replace'](/([A-Z])/g,'_$1')['toUpperCase']();_0xd5d636['descriptionFactory']['registerAttributeLabel'](_0x252ba2,_0x538d4a(this['editor']['locale'],'FORMAT_'+_0x38c25a));}}}class TrackChangesLineHeight extends _0x5f37cd['Plugin']{['afterInit'](){const _0x4b5e71=this['editor'];if(!_0x4b5e71['plugins']['has']('LineHeight'))return;const _0x3a92a7=_0x4b5e71['plugins']['get']('TrackChangesEditing'),_0x4b78d1=_0x4b5e71['locale'];_0x3a92a7['enableDefaultAttributesIntegration']('lineHeight'),_0x3a92a7['descriptionFactory']['registerAttributeLabel']('lineHeight',_0x538d4a(_0x4b78d1,'FORMAT_LINE_HEIGHT'));}}const _0x233bc5='$elementName';class TrackChangesEditing extends _0x5f37cd['Plugin']{['descriptionFactory'];['trackChangesCommand'];['_adapter'];['_suggestionFactory'];['_suggestions'];['_commentsRepository'];['_suggestionsConversion'];['_enabledCommands'];['_model'];['_suggestionState'];['_isForcedDefaultExecutionBlock'];['_trackFormatChanges'];['_mergeNestedSuggestions'];['_recordAttributeSuggestions']=!0x1;['_trackingSessionId']=null;static get['requires'](){return[CommentsRepository,SuggestionsConversion,_0x4e0926,_0x5f37cd['PendingActions'],DocumentCompare,TrackChangesAIAssistant,_0x254495,TrackChangesAIQuickActions,TrackChangesAlignment,TrackChangesBasicStyles,TrackChangesBlockQuote,_0x52e7ee,_0x573ded,_0x34ee33,_0x2d94f5,TrackChangesComments,TrackChangesDeleteCommand,_0x53c5f0,TrackChangesEnterCommand,_0x55f25f,TrackChangesFont,TrackChangesFootnotes,TrackChangesFormatPainter,TrackChangesGeneralHtmlSupport,_0x4b8ff1,TrackChangesHighlight,TrackChangesHorizontalLine,TrackChangesHtmlEmbed,_0x297044,TrackChangesImageStyle,_0xf6113,TrackChangesImportWord,TrackChangesIndent,TrackChangesInputCommand,TrackChangesLegacyList,TrackChangesLegacyListProperties,TrackChangesMultiLevelList,_0x440811,TrackChangesList,TrackChangesLineHeight,TrackChangesDocumentListProperties,_0x174fd3,TrackChangesMediaEmbedStyle,TrackChangesMention,_0x494a55,_0x5e0894,_0x5115d4,_0x370bb2,TrackChangesRemoveFormat,TrackChangesRestrictedEditingMode,TrackChangesShiftEnterCommand,TrackChangesStandardEditingMode,TrackChangesStylesDropdown,_0x196227,TrackChangesTableMergeSplit,_0x147a80,TrackChangesTableFooters,TrackChangesTableLayout,TrackChangesTableCaption,_0x4060ac,_0x5bfedf,TrackChangesTableOfContents,TrackChangesTableProperties,TrackChangesTemplate,TrackChangesTitle,_0x3e6345,_0x38c846];}static get['pluginName'](){return'TrackChangesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1e6807){super(_0x1e6807),this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0x48a751,_0x18d387,_0x9265f1,_0x225a7b)=>{this['_model']['change'](()=>{for(const _0x2803e1 of[..._0x225a7b,..._0x9265f1])this['_model']['markers']['has'](_0x2803e1)&&_0x1e6807['editing']['reconvertMarker'](_0x2803e1);});}),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']=_0x1e6807['plugins']['get'](CommentsRepository),this['_suggestionsConversion']=_0x1e6807['plugins']['get'](SuggestionsConversion),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,_0x1e6807['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0x1e6807['config']['get']('trackChanges.trackFormatChanges'),_0x1e6807['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x1e6807['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0x595165(_0x1e6807,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x4f6126=this['editor'];_0x4f6126['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x4d82ab,{writer:_0x22e456})=>{let _0x7f2942='suggestion:'+_0x4d82ab['getAttribute']('suggestion-type')+':'+_0x4d82ab['getAttribute']('id');return _0x4d82ab['getAttribute']('marker-count')&&(_0x7f2942+=':'+_0x4d82ab['getAttribute']('marker-count')),_0x22e456['createElement']('$marker',{'data-name':_0x7f2942});}}),_0x4f6126['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0x4f6126['model']['document']['registerPostFixer'](_0x4f5e74=>{let _0x3ecbd8=!0x1;const _0x22e5c7=Array['from'](_0x4f6126['model']['document']['differ']['getChangedMarkers']()),_0x12e115=new Set();for(const {name:_0x4e017f,data:_0x581b19}of _0x22e5c7){const {group:_0x3e0f17,type:_0x11d235,subType:_0x59aa9c,id:_0x23025a}=_0x1ee8e4(_0x4e017f);if('suggestion'!==_0x3e0f17)continue;const _0x3c03c2=_0x59aa9c?'suggestion:'+_0x11d235+':'+_0x59aa9c+':'+_0x23025a:'suggestion:'+_0x11d235+':'+_0x23025a,_0xd6c31f=_0x4f6126['model']['markers']['getMarkersGroup'](_0x3c03c2),_0x550162=_0x4f6126['model']['markers']['get'](_0x4e017f),_0x31fc89=this['_suggestions']['get'](_0x23025a);if(null!=_0x581b19['newRange']){'formatInline'==_0x11d235&&(_0x3ecbd8=_0x3ecbd8||_0x8e5c5b(_0x581b19['newRange'],_0x4e017f,_0x4f5e74,_0x4f6126['model']['schema']));const _0x4b8ce1='attribute'==_0x11d235&&this['_suggestionsConversion']['isBlockAttribute'](_0x4e8ac9(_0x59aa9c)),_0x14626b='attribute'==_0x11d235&&this['_suggestionsConversion']['isInlineAttribute'](_0x4e8ac9(_0x59aa9c));if(_0x581b19['newRange']['isCollapsed']||'$graveyard'==_0x581b19['newRange']['root']['rootName']||'formatBlock'==_0x11d235&&!_0x24dab1(_0x581b19['newRange'])||_0x4b8ce1&&!_0x24dab1(_0x581b19['newRange'])||_0x14626b&&_0x194f8f(_0x581b19['newRange'])||'deletion'==_0x11d235&&_0x194f8f(_0x581b19['newRange'])||_0x550162&&_0x1b3950(_0x550162,_0xd6c31f))_0x4f5e74['removeMarker'](_0x4e017f),_0x3ecbd8=!0x0;else{if(!_0x31fc89||!_0x31fc89['isInContent'])continue;if(_0x581b19['newRange']&&_0x581b19['oldRange']&&_0x581b19['newRange']['isEqual'](_0x581b19['oldRange']))continue;_0x12e115['add'](_0x31fc89);}}}return _0x12e115['size']>0x0&&(_0x3ecbd8=!!this['_joinWithAdjacentSuggestions'](_0x12e115)||_0x3ecbd8),_0x3ecbd8;}),_0x4f6126['model']['document']['registerPostFixer'](_0x2b18a5=>{let _0x2b9d6c=!0x1;for(const _0x2cb571 of _0x4f6126['model']['document']['differ']['getChanges']())if('insert'==_0x2cb571['type'])for(const _0xcb892 of this['_suggestions']['values']()){if(_0xcb892['isMultiRange']||!_0xcb892['isInContent'])continue;const _0x115935='formatBlock'==_0xcb892['type'],_0x2f38ef=this['_getAttributeKey'](_0xcb892),_0x29c9ba=_0x2f38ef&&this['_suggestionsConversion']['isBlockAttribute'](_0x2f38ef);if(!_0x115935&&!_0x29c9ba)continue;const _0x4031f9=_0xcb892['getFirstRange']();if(_0x4031f9['start']['parent']!=_0x4031f9['end']['parent']&&!_0x4031f9['end']['isAtEnd']){const _0x261ff2=_0x4f6126['model']['createPositionAt'](_0x4031f9['start']['nodeAfter'],'end'),_0x508ce0=_0x4f6126['model']['createRange'](_0x4031f9['start'],_0x261ff2);_0x2b18a5['updateMarker'](_0xcb892['getFirstMarker'](),{'range':_0x508ce0}),_0x2b9d6c=!0x0;}}return _0x2b9d6c;}),_0x4f6126['model']['document']['registerPostFixer'](_0x28667e=>this['_processAttributeChanges'](_0x28667e)),_0x4f6126['model']['document']['registerPostFixer'](_0x205535=>!_0x205535['batch']['isLocal']&&this['_processAttributeSuggestions'](_0x205535)),_0x4f6126['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0x4f6126['model']['document']['on']('change:data',(_0x298720,_0x5e45f5)=>{if(!_0x5e45f5['isLocal']||_0x5e45f5['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0x4d7a72=_0x4f6126['model']['document']['differ']['getChanges']();if(0x0==_0x4d7a72['length'])return;const _0x37244e=[],_0x56bba4=_0x4d7a72['filter'](_0x4c6e5b=>'attribute'==_0x4c6e5b['type']),_0x31f60b=_0x4d7a72['filter'](_0x57cf28=>'insert'==_0x57cf28['type']&&'$text'!=_0x57cf28['name']);for(const _0x249338 of _0x56bba4)this['_suggestionsConversion']['isRegisteredAttribute'](_0x249338['attributeKey'])&&_0x37244e['push']({'key':_0x249338['attributeKey'],'newValue':_0x249338['attributeNewValue'],'oldValue':_0x249338['attributeOldValue'],'range':_0x51f5dd(_0x249338['range'],_0x4f6126['model'])});for(const _0x1a3135 of _0x31f60b){if('rename'!=_0x1a3135['action']&&'refresh'!=_0x1a3135['action'])continue;const _0x49ec81=_0x13ac2f(_0x1a3135['position']['nodeAfter'],_0x4f6126['model']),_0x4c29fa=_0x1a3135['before'];'rename'==_0x1a3135['action']&&_0x37244e['push']({'key':_0x233bc5,'newValue':_0x1a3135['name'],'oldValue':_0x4c29fa['name'],'range':_0x49ec81});for(const [_0x4e46b7,_0x40e41a]of _0x4c29fa['attributes']){if(!this['_suggestionsConversion']['isRegisteredAttribute'](_0x4e46b7))continue;const _0x59b53f=_0x1a3135['attributes']['get'](_0x4e46b7);_0x40e41a!==_0x59b53f&&_0x37244e['push']({'key':_0x4e46b7,'newValue':_0x59b53f,'oldValue':_0x40e41a,'range':_0x49ec81});}for(const [_0x2fa3af,_0x55405d]of _0x1a3135['attributes'])this['_suggestionsConversion']['isRegisteredAttribute'](_0x2fa3af)&&(_0x4c29fa['attributes']['has'](_0x2fa3af)||_0x37244e['push']({'key':_0x2fa3af,'newValue':_0x55405d,'oldValue':null,'range':_0x49ec81}));}0x0!=_0x37244e['length']&&_0x4f6126['model']['enqueueChange'](_0x5e45f5,_0x45b558=>{const _0xe6880=_0x5f37cd['uid']();for(const {range:_0x81d6b6,key:_0x46e0ad,oldValue:_0x250ce2,newValue:_0x2aa71f}of _0x37244e)this['markAttributeChange'](_0x81d6b6,_0x46e0ad,_0x250ce2,_0x2aa71f,{'groupId':_0xe6880});this['_reduceExistingSuggestions'](_0x45b558,_0x37244e);});},{'priority':'lowest'}),_0x4f6126['model']['markers']['on']('update:suggestion',(_0x2e9423,_0x8abe75,_0x1776cb)=>{if(null==_0x1776cb){const {id:_0x34c617}=_0x1ee8e4(_0x8abe75['name']),_0x3df63c=this['_suggestions']['get'](_0x34c617);_0x3df63c&&_0x3df63c['addMarkerName'](_0x8abe75['name']);}}),_0x4f6126['model']['document']['on']('change:data',()=>{const _0x3b6264=Array['from'](_0x4f6126['model']['document']['differ']['getChangedMarkers']())['filter'](_0x16972a=>'suggestion'===_0x1ee8e4(_0x16972a['name'])['group']);if(0x0===_0x3b6264['length'])return;_0x3b6264['sort']((_0x398f2c,_0x56e66b)=>{const _0x317092=_0x398f2c['data']['oldRange'],_0x6d75c3=_0x56e66b['data']['oldRange'];return null===_0x317092&&null===_0x6d75c3?0x0:null===_0x317092&&null!==_0x6d75c3?-0x1:null!==_0x317092&&null===_0x6d75c3?0x1:_0x317092['start']['isBefore'](_0x6d75c3['start'])?-0x1:0x1;});const _0x20a0c2=new Set(),_0x4bf93a=new Set();for(const {name:_0x10efe5,data:_0x36fbeb}of _0x3b6264){const {id:_0x52545c}=_0x1ee8e4(_0x10efe5);if(null===_0x36fbeb['oldRange']){const _0x54396e=this['_handleNewSuggestionMarker'](_0x10efe5);_0x4bf93a['add'](_0x54396e);}else{const _0x202ac4=this['_suggestions']['get'](_0x52545c);null!==_0x36fbeb['newRange']||_0x202ac4['isInContent']?(_0x20a0c2['add'](_0x202ac4['head']),_0x4bf93a['add'](_0x202ac4)):this['_removeSuggestion'](_0x202ac4);}}_0x4bf93a['size']>0x0&&this['_refreshSuggestionsChain'](_0x4bf93a);for(const _0x34d233 of _0x20a0c2)this['fire']('suggestionChanged',_0x34d233);}),_0x4f6126['model']['on']('applyOperation',(_0x55b1fc,_0x552b72)=>{const _0x4697e0=_0x552b72[0x0];if(!this['_suggestions']['size'])return;if(!_0x4697e0['isDocumentOperation'])return;if(_0x4697e0['batch']['isUndo']||!_0x4697e0['batch']['isLocal'])return;let _0x4e66ea,_0x111133;switch(_0x4697e0['type']){case'insert':_0x4e66ea=_0x4f6126['model']['createPositionAt'](_0x4697e0['position']),_0x111133=_0x4e66ea['getShiftedBy'](_0x4697e0['howMany']);break;case'split':_0x4e66ea=_0x4f6126['model']['createPositionAt'](_0x4697e0['splitPosition']),_0x111133=_0x4f6126['model']['createPositionAt'](_0x4697e0['moveTargetPosition']);break;case'move':_0x4e66ea=_0x4f6126['model']['createPositionAt'](_0x4697e0['targetPosition']),_0x111133=_0x4e66ea['getShiftedBy'](_0x4697e0['howMany']);break;default:return;}const _0x467e34=_0x4f6126['model']['createRange'](_0x4e66ea,_0x111133);_0x4f6126['model']['change'](()=>{for(const {suggestion:_0x5e7e49,meta:_0x2f7f44}of this['_findSuggestions'](_0x467e34)){if(_0x5e7e49['isMultiRange'])continue;if('formatInline'==_0x5e7e49['type'])continue;const _0x38f51e=this['_getAttributeKey'](_0x5e7e49);if(_0x38f51e&&this['_suggestionsConversion']['isBlockAttribute'](_0x38f51e)&&'split'!=_0x4697e0['type'])continue;const _0x55d3e3=_0x5e7e49['data']&&_0x5e7e49['data']['multipleBlocks'];('formatBlock'!=_0x5e7e49['type']||'split'==_0x4697e0['type']&&!_0x55d3e3)&&(_0x2f7f44['containsRangeInObject']||'insertion'==_0x5e7e49['type']&&_0x2f7f44['isOwn']||_0x5e7e49['getFirstRange']()['containsRange'](_0x467e34)&&this['_breakSuggestionMarker'](_0x5e7e49,_0x4e66ea,_0x111133));}});},{'priority':'lowest'}),_0x4f6126['model']['on']('deleteContent',(_0x1a7197,_0x362a6d)=>{const _0x24c875=_0x362a6d[0x0],_0x131074=_0x362a6d[0x1];if(_0x131074&&_0x131074['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x24c875['isCollapsed'])return;const _0x31a0ba=_0x4f6126['model']['schema'],{start:_0x23cd3f,end:_0x10aa08}=_0x24c875['getFirstRange'](),_0x22c44a=_0x23cd3f['nodeAfter']&&_0x31a0ba['isLimit'](_0x23cd3f['nodeAfter'])?null:_0x31a0ba['getNearestSelectionRange'](_0x23cd3f,'forward'),_0x28aac4=_0x10aa08['nodeBefore']&&_0x31a0ba['isLimit'](_0x10aa08['nodeBefore'])?null:_0x31a0ba['getNearestSelectionRange'](_0x10aa08,'backward'),_0x2451a3=_0x4f6126['model']['createRange'](_0x22c44a?_0x22c44a['start']:_0x23cd3f,_0x28aac4?_0x28aac4['end']:_0x10aa08);_0x4f6126['model']['change'](_0x5b921d=>{this['markDeletion'](_0x2451a3);const _0x6f5829=_0x4f6126['model']['schema']['getNearestSelectionRange'](_0x2451a3['start']);_0x24c875['is']('documentSelection')?_0x5b921d['setSelection'](_0x6f5829):_0x24c875['setTo'](_0x6f5829);}),_0x1a7197['stop']();},{'priority':_0x5f37cd['priorities']['normal']+0xa}),_0x4f6126['model']['on']('insertContent',(_0x3b1a49,_0x5081a1)=>{const _0x223a61=_0x5081a1[_0x5081a1['length']-0x1];_0x223a61&&_0x223a61['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0x4f6126['model']['change'](()=>{let _0x1a70c4=_0x4f6126['model']['insertContent'](_0x5081a1[0x0],_0x5081a1[0x1],_0x5081a1[0x2],{'forceDefaultExecution':!0x0});if(!_0x1a70c4)return;_0x3b1a49['return']=_0x1a70c4['clone']();const _0x4f8e0d=_0x1a70c4['end']['nodeBefore'],_0x3d0e5b=_0x4f6126['model']['schema'];_0x4f8e0d&&_0x3d0e5b['isBlock'](_0x4f8e0d)&&!_0x3d0e5b['isObject'](_0x4f8e0d)&&(_0x1a70c4=_0x4f6126['model']['createRange'](_0x1a70c4['start'],_0x4f6126['model']['createPositionAt'](_0x4f8e0d,'end'))),this['markInsertion'](_0x1a70c4);}),_0x3b1a49['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0xdea540=new AcceptSuggestionCommand(_0x4f6126,this['_suggestions']);_0x4f6126['commands']['add']('acceptSuggestion',_0xdea540),this['enableCommand']('acceptSuggestion');const _0x1a556f=new DiscardSuggestionCommand(_0x4f6126,this['_suggestions']);_0x4f6126['commands']['add']('discardSuggestion',_0x1a556f),this['enableCommand']('discardSuggestion'),_0x4f6126['commands']['add']('acceptAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x4f6126,_0xdea540,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x4f6126['commands']['add']('discardAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x4f6126,_0x1a556f,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x4f6126['commands']['add']('acceptSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x4f6126,_0xdea540,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x4f6126['commands']['add']('discardSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x4f6126,_0x1a556f,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x546c73=_0x4f6126['plugins']['get'](CommentsRepository);this['listenTo'](_0x546c73,'addComment',(_0x275de1,{threadId:_0x5c94c4})=>{const _0x4e7356=this['_suggestions']['get'](_0x5c94c4);_0x4e7356&&_0x4e7356['commentThread']&&0x1===_0x4e7356['commentThread']['length']&&this['_updateSuggestionData'](_0x5c94c4,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x546c73,'removeComment',(_0x56ce2e,{threadId:_0x4abefb})=>{const _0x5967a8=this['_suggestions']['get'](_0x4abefb);_0x5967a8&&_0x5967a8['commentThread']&&!_0x5967a8['commentThread']['length']&&this['_updateSuggestionData'](_0x4abefb,{'hasComments':!0x1});},{'priority':'low'});}['afterInit'](){!async function(_0x3e66e7){const _0xa7fe4e=_0x240976([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]),_0xf0bb53=0x3d8d0df,_0xb506ea=0x3df5b0f^_0xf0bb53,_0x4eb1ba=window[_0x240976([0x44,0x61,0x74,0x65])][_0x240976([0x6e,0x6f,0x77])](),_0xb06974=_0x3e66e7[_0x240976([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x541125=new window[(_0x240976([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cbf6b=>{_0xb06974[_0x240976([0x6f,0x6e,0x63,0x65])](_0x240976([0x72,0x65,0x61,0x64,0x79]),_0x4cbf6b);}),_0x43cdc2={[_0x240976([0x6b,0x74,0x79])]:_0x240976([0x45,0x43]),[_0x240976([0x75,0x73,0x65])]:_0x240976([0x73,0x69,0x67]),[_0x240976([0x63,0x72,0x76])]:_0x240976([0x50,0x2d,0x32,0x35,0x36]),[_0x240976([0x78])]:_0x240976([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]),[_0x240976([0x79])]:_0x240976([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]),[_0x240976([0x61,0x6c,0x67])]:_0x240976([0x45,0x53,0x32,0x35,0x36])},_0x2fdede=_0xb06974[_0x240976([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x240976([0x67,0x65,0x74])](_0x240976([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1544b7(){let _0x1e2ea2,_0x37bf58=null,_0x17a971=null;try{if(_0x2fdede==_0x240976([0x47,0x50,0x4c]))return _0x240976([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1e2ea2=_0x2a3ec7(),!_0x1e2ea2)return _0x240976([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1e2ea2[_0x240976([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x17a971=_0x5a3c02(_0x1e2ea2[_0x240976([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1e2ea2[_0x240976([0x6a,0x74,0x69])])),await _0x2287eb()?_0x203c51()?_0x3844e1()?_0x240976([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x590f6()?(_0x1e2ea2[_0x240976([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x240976([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x37bf58=_0x24ad0a(_0x240976([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x215b99()):_0x240976([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x240976([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x240976([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x240976([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3844e1(){const _0x3293d8=[_0x240976([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x240976([0x74,0x72,0x69,0x61,0x6c])][_0x240976([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e2ea2[_0x240976([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4eb1ba/0x3e8:0xe10*_0xb506ea;return _0x1e2ea2[_0x240976([0x65,0x78,0x70])]<_0x3293d8;}function _0x203c51(){const _0x477b5e=_0x1e2ea2[_0x240976([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x477b5e)return!0x1;if(_0x477b5e[_0x240976([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x240976([0x2a])))return!0x0;if(_0x477b5e[_0x240976([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x240976([0x54,0x43])))return!0x0;if(_0x477b5e[_0x240976([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x240976([0x52,0x54,0x43]))){if(_0x295201())return!0x0;if(_0x8b3d22()||_0x1f4775())return!0x0;}return!0x1;}function _0x590f6(){const _0x3bf536=_0x1e2ea2[_0x240976([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3bf536||0x0==_0x3bf536[_0x240976([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x263952}=new URL(window[_0x240976([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3bf536[_0x240976([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x263952))return!0x0;const _0xc0641c=_0x263952[_0x240976([0x73,0x70,0x6c,0x69,0x74])](_0x240976([0x2e]));return _0x3bf536[_0x240976([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x186f6e=>_0x186f6e[_0x240976([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x240976([0x2a])))[_0x240976([0x6d,0x61,0x70])](_0x36ad55=>_0x36ad55[_0x240976([0x73,0x70,0x6c,0x69,0x74])](_0x240976([0x2e])))[_0x240976([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45e610=>_0x45e610[_0x240976([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xc0641c[_0x240976([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x240976([0x6d,0x61,0x70])](_0x5377ae=>Array(_0xc0641c[_0x240976([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5377ae[_0x240976([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x240976([0x66,0x69,0x6c,0x6c])](_0x5377ae[0x0]===_0x240976([0x2a])?_0x240976([0x2a]):'')[_0x240976([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5377ae))[_0x240976([0x73,0x6f,0x6d,0x65])](_0x5dae86=>_0xc0641c[_0x240976([0x65,0x76,0x65,0x72,0x79])]((_0x34e0fa,_0x562208)=>_0x5dae86[_0x562208]===_0x34e0fa||_0x5dae86[_0x562208]===_0x240976([0x2a])));}function _0x215b99(){return _0x37bf58&&_0x17a971?new window[(_0x240976([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3504c7,_0x38cf97)=>{_0x37bf58[_0x240976([0x74,0x68,0x65,0x6e])](_0x3504c7,_0x38cf97),_0x17a971[_0x240976([0x74,0x68,0x65,0x6e])](_0x40402a=>{_0x40402a!=_0x240976([0x56,0x61,0x6c,0x69,0x64])&&_0x3504c7(_0x40402a);},_0x38cf97);}):_0x37bf58||_0x17a971||_0x240976([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5a3c02(_0x4f4632,_0x341e00){return new window[(_0x240976([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x74345f=>{if(_0x29f1f4())return _0x74345f(_0x240976([0x56,0x61,0x6c,0x69,0x64]));_0x5a2e67(),_0xb06974[_0x240976([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x240976([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1d9bcc=!0x1;const _0x25348b=_0x5f37cd['uid']();function _0x17b90d(_0x45b0b9){return!!_0x45b0b9&&(typeof _0x45b0b9===_0x240976([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x45b0b9===_0x240976([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x45b0b9[_0x240976([0x74,0x68,0x65,0x6e])]===_0x240976([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x45b0b9[_0x240976([0x63,0x61,0x74,0x63,0x68])]===_0x240976([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x27adba(_0x48afe8){_0x4cad58(_0x48afe8)[_0x240976([0x74,0x68,0x65,0x6e])](_0x60b9aa=>{if(!_0x60b9aa||_0x60b9aa[_0x240976([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x240976([0x6f,0x6b]))return _0x240976([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x301e55(_0x48b633(_0x25348b+_0x341e00))!=_0x60b9aa[_0x240976([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x240976([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x240976([0x56,0x61,0x6c,0x69,0x64]);})[_0x240976([0x74,0x68,0x65,0x6e])](_0x41308c=>(_0x502c1f(),_0x41308c),()=>{const _0x58ce9b=_0x599e4e();return null==_0x58ce9b?(_0x502c1f(),_0x240976([0x56,0x61,0x6c,0x69,0x64])):_0x240976(_0x4eb1ba-_0x58ce9b>(0x27d454df^_0xf0bb53)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x240976([0x74,0x68,0x65,0x6e])](_0x74345f)[_0x240976([0x63,0x61,0x74,0x63,0x68])](()=>{_0x74345f(_0x240976([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x39a56c=0x3ee3e5f^_0xf0bb53;function _0x502c1f(){const _0x104298=_0x240976([0x6c,0x6c,0x63,0x74,0x2d])+_0x301e55(_0x48b633(_0x4f4632)),_0x12a6a4=_0x42a864(_0x301e55(window[_0x240976([0x4d,0x61,0x74,0x68])][_0x240976([0x63,0x65,0x69,0x6c])](_0x4eb1ba/_0x39a56c)));window[_0x240976([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x240976([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x104298,_0x12a6a4);}function _0x599e4e(){const _0x47bb40=_0x240976([0x6c,0x6c,0x63,0x74,0x2d])+_0x301e55(_0x48b633(_0x4f4632)),_0x25eba3=window[_0x240976([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x240976([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x47bb40);return _0x25eba3?window[_0x240976([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42a864(_0x25eba3),0x10)*_0x39a56c:null;}function _0x4cad58(_0xf6fb49){return new window[(_0x240976([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2af15b,_0x49a000)=>{_0xf6fb49[_0x240976([0x74,0x68,0x65,0x6e])](_0x2af15b,_0x49a000),window[_0x240976([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x49a000,0x3d9041f^_0xf0bb53);});}}_0xb06974[_0x240976([0x6f,0x6e])](_0x240976([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5cd029,_0x4587c2)=>{if(_0x4587c2[0x0]!=_0x4f4632)return _0x74345f(_0x240976([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4587c2[0x1]={..._0x4587c2[0x1],[_0x240976([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x25348b};},{[_0x240976([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x240976([0x68,0x69,0x67,0x68])}),_0xb06974[_0x240976([0x6f,0x6e])](_0x240976([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5852ea=>{_0x17b90d(_0x5852ea[_0x240976([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1d9bcc=!0x0,_0x27adba(_0x5852ea[_0x240976([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x240976([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x240976([0x6c,0x6f,0x77])}),_0x541125[_0x240976([0x74,0x68,0x65,0x6e])](()=>{_0x1d9bcc||_0x74345f(_0x240976([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x29f1f4(){return _0xb06974[_0x240976([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x240976([0x76,0x69,0x65,0x77])][_0x240976([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x240976([0x61,0x75,0x74,0x6f]);}function _0x5a2e67(){_0xb06974[_0x240976([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x240976([0x76,0x69,0x65,0x77])][_0x240976([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x240976([0x61,0x75,0x74,0x6f]);}}function _0x24ad0a(_0x385717){const _0x250c5e=[new window[(_0x240976([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35548a=>setTimeout(_0x35548a,0x3d1ee13^_0xf0bb53)),_0x541125[_0x240976([0x74,0x68,0x65,0x6e])](()=>new window[(_0x240976([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49deed=>{let _0x2ea115=0x0;_0xb06974[_0x240976([0x6d,0x6f,0x64,0x65,0x6c])][_0x240976([0x6f,0x6e])](_0x240976([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xe912b4,_0x4060dc)=>{_0x4060dc[0x0][_0x240976([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ea115++,_0x2ea115==(0x3d8d537^_0xf0bb53)&&(_0x49deed(),_0xe912b4[_0x240976([0x6f,0x66,0x66])]());});}))];return window[_0x240976([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x240976([0x72,0x61,0x63,0x65])](_0x250c5e)[_0x240976([0x74,0x68,0x65,0x6e])](()=>_0x385717);}async function _0x4def75(){await _0x541125,_0xb06974[_0x240976([0x6d,0x6f,0x64,0x65,0x6c])][_0x240976([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x410c38,_0xb06974[_0x240976([0x6d,0x6f,0x64,0x65,0x6c])][_0x240976([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x410c38,_0xb06974[_0x240976([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x240976([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x295201(){return _0x32d5db(_0x240976([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4ab4c9(_0x240976([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x240976([0x73,0x74,0x61,0x74,0x65])]==_0x240976([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x8b3d22(){return _0x32d5db(_0x240976([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 _0x1f4775(){return _0x32d5db(_0x240976([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x329fce(_0x386d42){const _0x525374=_0x4b98a4();_0xb06974[_0x525374]=_0x240976([0x74,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x386d42,_0x386d42!=_0x240976([0x56,0x61,0x6c,0x69,0x64])&&_0x4def75();}function _0x4b98a4(){const _0x1557af=window[_0x240976([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x240976([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x240976([0x6e,0x6f,0x77])]())[_0x240976([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x240976([0x2e]),'');let _0x1d1713=_0x240976([0x52]);for(let _0x90d6fa=0x0;_0x90d6fa<_0x1557af[_0x240976([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x90d6fa+=0x2){let _0x4746d8=window[_0x240976([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1557af[_0x240976([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x90d6fa,_0x90d6fa+0x2));_0x4746d8>=_0xa7fe4e[_0x240976([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4746d8-=_0xa7fe4e[_0x240976([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d1713+=_0xa7fe4e[_0x4746d8];}return _0x1d1713;}function _0x2a3ec7(){const _0x4b7369=_0x2fdede[_0x240976([0x73,0x70,0x6c,0x69,0x74])](_0x240976([0x2e]));if(0x3!=_0x4b7369[_0x240976([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c96f2(_0x4b7369[0x1]);function _0x3c96f2(_0x57d1ac){const _0x73f528=_0x184286(_0x57d1ac);return _0x73f528&&_0x478405()?_0x73f528:null;function _0x478405(){const _0x496bc3=_0x73f528[_0x240976([0x6a,0x74,0x69])],_0x2f8980=window[_0x240976([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x496bc3[_0x240976([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x496bc3[_0x240976([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e70bb={..._0x73f528,[_0x240976([0x6a,0x74,0x69])]:_0x496bc3[_0x240976([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x496bc3[_0x240976([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e70bb[_0x240976([0x76,0x63])],_0x48b633(_0x3e70bb)==_0x2f8980;}}}async function _0x2287eb(){let _0x17bf48=!0x0;try{const _0x175a9=_0x2fdede[_0x240976([0x73,0x70,0x6c,0x69,0x74])](_0x240976([0x2e])),[_0x239b72,_0x125cc4,_0x42c4d3]=_0x175a9;return _0x41bbac(_0x239b72),await _0x49d2b8(_0x239b72,_0x125cc4,_0x42c4d3),_0x17bf48;}catch{return!0x1;}function _0x41bbac(_0x2b8c84){const _0x2c11db=_0x184286(_0x2b8c84);_0x2c11db&&_0x2c11db[_0x240976([0x61,0x6c,0x67])]==_0x240976([0x45,0x53,0x32,0x35,0x36])||(_0x17bf48=!0x1);}async function _0x49d2b8(_0x7065c0,_0xd7fcbe,_0x3df869){const _0x4dadf0=window[_0x240976([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x240976([0x66,0x72,0x6f,0x6d])](_0x7e5b73(_0x3df869),_0x20513c=>_0x20513c[_0x240976([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x43f159=new window[(_0x240976([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x240976([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x7065c0+_0x240976([0x2e])+_0xd7fcbe),_0x4edaa1=window[_0x240976([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x240976([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4edaa1)return;const _0x2abf42=await _0x4edaa1[_0x240976([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x240976([0x6a,0x77,0x6b]),_0x43cdc2,{[_0x240976([0x6e,0x61,0x6d,0x65])]:_0x240976([0x45,0x43,0x44,0x53,0x41]),[_0x240976([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x240976([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x240976([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4edaa1[_0x240976([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x240976([0x6e,0x61,0x6d,0x65])]:_0x240976([0x45,0x43,0x44,0x53,0x41]),[_0x240976([0x68,0x61,0x73,0x68])]:{[_0x240976([0x6e,0x61,0x6d,0x65])]:_0x240976([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2abf42,_0x4dadf0,_0x43f159)||(_0x17bf48=!0x1);}}function _0x184286(_0xfc8125){return _0xfc8125[_0x240976([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x240976([0x65,0x79]))?JSON[_0x240976([0x70,0x61,0x72,0x73,0x65])](_0x7e5b73(_0xfc8125)):null;}function _0x7e5b73(_0x4f77a1){return window[_0x240976([0x61,0x74,0x6f,0x62])](_0x4f77a1[_0x240976([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x240976([0x2b]))[_0x240976([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x240976([0x2f])));}function _0x48b633(_0x3ba4ca){let _0x57350a=0x1505;function _0x34be6c(_0x39e3e9){for(let _0x1666c7=0x0;_0x1666c7<_0x39e3e9[_0x240976([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1666c7++){const _0x308003=_0x39e3e9[_0x240976([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1666c7);_0x57350a=(_0x57350a<<0x5)+_0x57350a+_0x308003,_0x57350a&=_0x57350a;}}function _0x1e0039(_0x4a1598){Array[_0x240976([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a1598)?_0x4a1598[_0x240976([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e0039):_0x4a1598&&typeof _0x4a1598==_0x240976([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x240976([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a1598)[_0x240976([0x73,0x6f,0x72,0x74])]()[_0x240976([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2987f2,_0x4bab4e])=>{_0x34be6c(_0x2987f2),_0x1e0039(_0x4bab4e);}):_0x34be6c(window[_0x240976([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a1598));}return _0x1e0039(_0x3ba4ca),_0x57350a>>>0x0;}function _0x301e55(_0x1808ba){return _0x1808ba[_0x240976([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x240976([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x240976([0x30]));}function _0x42a864(_0x3de9b2){return _0x3de9b2[_0x240976([0x73,0x70,0x6c,0x69,0x74])]('')[_0x240976([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x240976([0x6a,0x6f,0x69,0x6e])]('');}function _0x32d5db(_0x4ac59f){return _0xb06974[_0x240976([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x240976([0x68,0x61,0x73])](_0x4ac59f);}function _0x4ab4c9(_0x17e1f8){return _0xb06974[_0x240976([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x240976([0x67,0x65,0x74])](_0x17e1f8);}function _0x410c38(){}function _0x240976(_0x57dd71){return _0x57dd71['map'](_0x16453c=>String['fromCharCode'](_0x16453c))['join']('');}_0x329fce(await _0x1544b7());}(this);}set['adapter'](_0x173ef6){if(this['_adapter'])throw new _0x5f37cd['CKEditorError']('track-changes-adapter-already-set',this);this['_adapter']=_0x173ef6;}get['adapter'](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x3d6edb=!0x1,toJSON:_0x466afa=!0x1}={}){const _0x1dc22b=[];for(const _0x47e7f0 of this['_suggestions']['values']())_0x3d6edb&&!_0x47e7f0['isInContent']||_0x1dc22b['push'](_0x47e7f0);return _0x466afa?_0x1dc22b['map'](_0x4d96ff=>_0x4d96ff['toJSON']()):_0x1dc22b;}['getSuggestion'](_0x3dfb6d){const _0x25e2ce=this['_suggestions']['get'](_0x3dfb6d);if(!_0x25e2ce)throw new _0x5f37cd['CKEditorError']('track-changes-suggestion-not-found',this);return _0x25e2ce;}['hasSuggestion'](_0x12d46c){return this['_suggestions']['has'](_0x12d46c);}['addSuggestionData'](_0x3cf701){const {authorId:_0x1fa76f,id:_0x301191,originalSuggestionId:_0x447c8d,attributes:_0x46d60a}=_0x3cf701,[_0x1bfed3,_0x44c96f]=_0x3cf701['type']['split'](':'),_0x5934ca=this['_suggestions']['get'](_0x301191)||this['_createSuggestion'](_0x1bfed3,_0x44c96f,_0x301191,_0x1fa76f,_0x46d60a,_0x447c8d);if(this['_addThreadToSuggestion'](_0x5934ca),this['_checkSuggestionCorrectness'](_0x5934ca,_0x1bfed3,_0x44c96f||null,_0x1fa76f),_0x5934ca['createdAt']=_0x3cf701['createdAt'],_0x5934ca['_isDataLoaded']=!0x0,_0x46d60a&&_0x46d60a['@external']){const _0x474bc6=_0x46d60a['@external'],_0x269b49=this['_getExternalAuthor'](_0x474bc6['authorName']);_0x5934ca['authoredAt']=_0x474bc6['createdAt'],_0x5934ca['author']=_0x269b49,_0x5934ca['isExternal']=!0x0;}else _0x5934ca['authoredAt']=_0x3cf701['createdAt'];switch(_0x3cf701['data']&&(_0x5934ca['data']=_0x3cf701['data']),_0x3cf701['attributes']&&(_0x5934ca['attributes']=_0x3cf701['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0x5934ca['_saved']=!0x0),this['_suggestionState']['get'](_0x5934ca)){case'notReady':this['_suggestionState']['set'](_0x5934ca,'dataReady');break;case'markerReady':_0x5934ca['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0x5934ca])),this['_refreshSuggestionsChain'](new Set([_0x5934ca])),this['_suggestionState']['set'](_0x5934ca,'ready'),this['fire']('suggestionLoaded',_0x5934ca)):this['_suggestionState']['set'](_0x5934ca,'removed');}return _0x5934ca;}['acceptSuggestion'](_0x164ecc){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x2661e2 of _0x164ecc['getAllAdjacentSuggestions']())_0x2661e2['accept']();});});}['discardSuggestion'](_0x20d500){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x58b2ef of _0x20d500['getAllAdjacentSuggestions']())_0x58b2ef['discard']();});});}['enableCommand'](_0x5f3b96,_0x2441a9){const _0xe51ad0=this['editor']['commands']['get'](_0x5f3b96);if(!_0xe51ad0)throw new _0x5f37cd['CKEditorError']('track-changes-command-not-found',this,{'commandName':_0x5f3b96});if(this['_enabledCommands']['has'](_0xe51ad0))throw new _0x5f37cd['CKEditorError']('track-changes-enable-command-twice',this,{'commandName':_0x5f3b96});this['_enabledCommands']['add'](_0xe51ad0),_0x2441a9&&_0xe51ad0['on']('execute',(_0x491c52,_0xe84e5e)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0xe84e5e['length']>0x0&&_0xe84e5e[_0xe84e5e['length']-0x1]&&_0xe84e5e[_0xe84e5e['length']-0x1]['forceDefaultExecution']?_0xe84e5e['pop']():(_0x491c52['return']=_0x2441a9((..._0x55ad45)=>_0xe51ad0['execute'](..._0x55ad45,{'forceDefaultExecution':!0x0}),..._0xe84e5e),_0x491c52['stop']())));},{'priority':'high'});}['forceDefaultExecution'](_0x569f59){let _0x3b3d87,_0x4660f7;const _0x8f2dde=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x3b3d87=_0x569f59();}catch(_0x177c28){_0x4660f7=_0x177c28;}return _0x8f2dde||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x4660f7&&_0x5f37cd['CKEditorError']['rethrowUnexpectedError'](_0x4660f7,this),_0x3b3d87;}['markInsertion'](_0x80b006,_0x200431=null,_0xd03da={}){if(_0x80b006['isCollapsed'])return null;const _0x42aa92=this['editor']['plugins']['get']('Users')['me'];this['_trackingSessionId']&&(_0xd03da['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x4b9505,meta:_0x386a92}of this['_findSuggestions'](_0x80b006,'insertion'))if(_0x386a92['isOwn']){if(!_0x386a92['isNextTo']){if(_0x386a92['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!_0x1b1043(_0x4b9505,_0xd03da))continue;return _0x4b9505;}if(_0x1b1043(_0x4b9505,_0xd03da))return _0x4b9505;this['_breakSuggestionMarker'](_0x4b9505,_0x80b006['start'],_0x80b006['end']);break;}if(_0x200431==_0x4b9505['subType']&&_0x1b1043(_0x4b9505,_0xd03da)){const _0x2b23de=_0x4b9505['getFirstRange']();return _0x2b23de['start']['isEqual'](_0x80b006['end'])?this['_setSuggestionRange'](_0x4b9505,this['_model']['createRange'](_0x80b006['start'],_0x2b23de['end'])):this['_setSuggestionRange'](_0x4b9505,this['_model']['createRange'](_0x2b23de['start'],_0x80b006['end'])),_0x4b9505;}}const _0x46707b=_0x5f37cd['uid'](),_0xacb0bc=_0x42aa92['id'],_0x1e4382=_0x200431?'insertion:'+_0x200431:'insertion',_0x9f07fa=this['_setSuggestionData']({'id':_0x46707b,'type':_0x1e4382,'createdAt':new Date(),'authorId':_0xacb0bc,'attributes':_0xd03da});return this['_addSuggestionMarker'](_0x1e4382,_0x46707b,_0xacb0bc,_0x80b006),_0x9f07fa;}['markMultiRangeInsertion'](_0x4c3638,_0x463698='multi',_0x2a0d3c={}){const _0x3598c4=this['editor']['plugins']['get']('Users')['me'],_0x486ebd=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0x463698,'join');this['_trackingSessionId']&&(_0x2a0d3c['trackingSessionId']=this['_trackingSessionId']);for(const _0xcf86f7 of this['getSuggestions']())if(_0xcf86f7['author']['id']==_0x3598c4['id']&&'insertion'==_0xcf86f7['type']&&_0xcf86f7['subType']==_0x463698&&_0x1b1043(_0xcf86f7,_0x2a0d3c)&&(_0x486ebd(_0xcf86f7['getRanges'](),_0x4c3638)||_0x486ebd(_0x4c3638,_0xcf86f7['getRanges']()))){for(const _0x4f510a of _0x4c3638)_0xcf86f7['addRange'](_0x4f510a);return _0xcf86f7;}for(const {suggestion:_0x201040,meta:_0x4bbec0}of this['_findSuggestions'](_0x4c3638,'insertion')){if(!_0x4bbec0['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x4bbec0['containsRangeInObject'])continue;if(!_0x1b1043(_0x201040,_0x2a0d3c))continue;let _0x926e8b=!0x0;for(const _0x4b64fa of _0x201040['getRanges']())for(const _0x126a39 of _0x4c3638)if(!_0x4b64fa['containsRange'](_0x126a39)){_0x926e8b=!0x1;break;}if(_0x926e8b)return _0x201040;}const _0x10090d=_0x5f37cd['uid'](),_0x5cee65=_0x3598c4['id'],_0x205002='insertion:'+_0x463698,_0x171268=this['_setSuggestionData']({'id':_0x10090d,'type':_0x205002,'createdAt':new Date(),'authorId':_0x5cee65,'attributes':_0x2a0d3c});for(const _0x41500f of _0x4c3638)this['_addSuggestionMarker'](_0x205002,_0x10090d,_0x5cee65,_0x41500f,Suggestion['getMultiRangeId']());return _0x171268;}['markInlineFormat'](_0x43b91f,_0x19cd58,_0x2582ea=null,_0x5bfc89={}){if(_0x2582ea=_0x2582ea||_0x524237(_0x19cd58),_0x43b91f['isCollapsed'])return null;if(this['_trackingSessionId']&&(_0x5bfc89['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x1c6fd4=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x2582ea,'accept');return this['forceDefaultExecution'](()=>_0x1c6fd4([_0x43b91f],_0x19cd58,_0x5bfc89)),null;}const _0xa6fd1c=this['editor']['plugins']['get']('Users')['me'],_0x2d592b=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x103f26,meta:_0x4d4d6b}of this['_findSuggestions'](_0x43b91f,'insertion'))_0x4d4d6b['isOwn']&&!_0x4d4d6b['isInsideObject']&&_0x2d592b['push'](..._0x103f26['getRanges']());}const _0x5c0325=function(_0x535ffb,_0xb13d00){const _0x56cb02=[];for(const _0x1820fd of _0xb13d00){const _0x1b4836=_0x535ffb['getIntersection'](_0x1820fd);_0x1b4836&&_0x56cb02['push'](_0x1b4836);}return _0x56cb02;}(_0x43b91f,_0x2d592b),_0x2b72e2=function(_0x4d8a26,_0x254d1f){const _0x2fe6ca=[_0x4d8a26];for(const _0x1c0223 of _0x254d1f){let _0x194ba7=0x0;for(;_0x194ba7<_0x2fe6ca['length'];){const _0x3139d1=_0x2fe6ca[_0x194ba7]['getDifference'](_0x1c0223);_0x2fe6ca['splice'](_0x194ba7,0x1,..._0x3139d1),_0x194ba7+=_0x3139d1['length'];}}return _0x2fe6ca;}(_0x43b91f,_0x2d592b);_0x5c0325['length']&&this['_model']['change'](()=>{for(const _0x327f44 of _0x5c0325){const _0x29602a=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x2582ea,'accept');this['forceDefaultExecution'](()=>_0x29602a([_0x327f44],_0x19cd58,_0x5bfc89));}});for(const _0x19faab of _0x2b72e2){let _0x42a1b7=null,_0x53c434=_0x19faab['start'],_0x2fbf47=_0x19faab['end'];for(const {suggestion:_0x3eedb5,meta:_0x93e122}of this['_findSuggestions'](_0x19faab,'formatInline')){if(!_0x93e122['isOwn'])continue;if(_0x3eedb5['subType']!=_0x2582ea)continue;if(!_0x1b1043(_0x3eedb5,_0x5bfc89))continue;const _0x355830=_0x3eedb5['getFirstRange']();if(_0x355830['containsRange'](_0x19faab,!0x0))return null;_0x53c434=_0x53c434['isBefore'](_0x355830['start'])?_0x53c434:_0x355830['start'],_0x2fbf47=_0x2fbf47['isAfter'](_0x355830['end'])?_0x2fbf47:_0x355830['end'],_0x42a1b7?_0x355830['start']['isBefore'](_0x42a1b7['getFirstRange']()['start'])?(_0x42a1b7['removeMarkers'](),_0x42a1b7=_0x3eedb5):_0x3eedb5['removeMarkers']():_0x42a1b7=_0x3eedb5;}const _0x453480=this['_model']['createRange'](_0x53c434,_0x2fbf47);if(_0x42a1b7)this['_setSuggestionRange'](_0x42a1b7,_0x453480);else{const _0x5d60c0=_0x5f37cd['uid'](),_0x51cf59=_0xa6fd1c['id'];this['_setSuggestionData']({'id':_0x5d60c0,'type':'formatInline:'+_0x2582ea,'data':_0x19cd58,'createdAt':new Date(),'authorId':_0x51cf59,'attributes':_0x5bfc89}),this['_addSuggestionMarker']('formatInline:'+_0x2582ea,_0x5d60c0,_0x51cf59,_0x453480);}}return null;}['markBlockFormat'](_0x35578b,_0x553d6d,_0xd3e843=[],_0x154df8=null,_0x618203={}){_0x553d6d['formatGroupId']||(_0x553d6d['formatGroupId']=_0x553d6d['commandName']),_0x553d6d['multipleBlocks']=_0x35578b['is']('range'),_0x154df8=_0x154df8||_0x524237(_0x553d6d);const _0xf32739=_0xd3e843['map'](_0x540c65=>_0x13ac2f(_0x540c65,this['_model'])),_0x525d18=_0x35578b['is']('range')?_0x35578b:_0x13ac2f(_0x35578b,this['_model']);if(this['_trackingSessionId']&&(_0x618203['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x1c5708=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x154df8,'accept');return this['forceDefaultExecution'](()=>_0x1c5708([_0x525d18],_0x553d6d,_0x618203)),null;}_0xf32739['push'](_0x525d18);let _0x2d5551=!0x0;for(const _0x18abd6 of _0xf32739)if(!this['_rangeIsInLocalUserInsertion'](_0x18abd6)){_0x2d5551=!0x1;break;}if(_0x2d5551&&'always'!==this['_trackFormatChanges']){const _0x239fc1=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x154df8,'accept');return this['forceDefaultExecution'](()=>_0x239fc1([_0x525d18],_0x553d6d,_0x618203)),null;}let _0xf35075=null,_0x31c618=_0x525d18['start'],_0x2c191f=_0x525d18['end'];for(const {suggestion:_0x27e7ef,meta:_0x4f664d}of this['_findSuggestions'](_0x525d18,'formatBlock')){if(!_0x4f664d['isOwn'])continue;if(_0x4f664d['isNextTo']||_0x4f664d['containsRangeInObject']||_0x4f664d['isInsideObject'])continue;if(_0x27e7ef['data']['formatGroupId']!=_0x553d6d['formatGroupId'])continue;if(!_0x1b1043(_0x27e7ef,_0x618203))continue;const _0x481401=_0x27e7ef['getFirstRange']();if(_0x27e7ef['subType']==_0x154df8){if(_0x481401['containsRange'](_0x525d18,!0x0))return null;_0x31c618=_0x31c618['isBefore'](_0x481401['start'])?_0x31c618:_0x481401['start'],_0x2c191f=_0x2c191f['isAfter'](_0x481401['end'])?_0x2c191f:_0x481401['end'],_0xf35075?_0x481401['start']['isBefore'](_0xf35075['getFirstRange']()['start'])?(_0xf35075['removeMarkers'](),_0xf35075=_0x27e7ef):_0x27e7ef['removeMarkers']():_0xf35075=_0x27e7ef;}else{const _0xe84ca0=_0x525d18['getIntersection'](_0x481401);this['_cutOutSuggestionMarker'](_0x27e7ef,_0xe84ca0);}}const _0x246360=this['editor']['plugins']['get']('Users')['me'],_0x337cea=_0x5f37cd['uid'](),_0x321e18=_0x246360['id'];if(_0xf35075)return this['_setSuggestionRange'](_0xf35075,this['_model']['createRange'](_0x31c618,_0x2c191f)),_0xf35075;{const _0x285e08=this['_setSuggestionData']({'id':_0x337cea,'type':'formatBlock:'+_0x154df8,'data':_0x553d6d,'createdAt':new Date(),'authorId':_0x321e18,'attributes':_0x618203});return this['_addSuggestionMarker']('formatBlock:'+_0x154df8,_0x337cea,_0x321e18,this['_model']['createRange'](_0x31c618,_0x2c191f)),_0x285e08;}}['markMultiRangeBlockFormat'](_0x371937,_0x161b5b,_0x530361=[],_0x17024e=null,_0x2ab1f4={}){_0x161b5b['formatGroupId']||(_0x161b5b['formatGroupId']=_0x161b5b['commandName']);const _0x21c244=_0x371937[0x0];_0x161b5b['multipleBlocks']=_0x21c244['is']('range'),_0x17024e=_0x17024e||_0x524237(_0x161b5b);const _0x201b74=_0x530361['map'](_0x321f27=>_0x13ac2f(_0x321f27,this['_model'])),_0x567693=_0x21c244['is']('range')?_0x371937:_0x371937['map'](_0x404ea8=>_0x13ac2f(_0x404ea8,this['_model']));if(this['_trackingSessionId']&&(_0x2ab1f4['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x3d1bc2=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x17024e,'accept');return this['forceDefaultExecution'](()=>_0x3d1bc2(_0x567693,_0x161b5b,_0x2ab1f4)),null;}_0x201b74['push'](..._0x567693);let _0x5830cf=!0x0;for(const _0x35eaa8 of _0x201b74)if(!this['_rangeIsInLocalUserInsertion'](_0x35eaa8)){_0x5830cf=!0x1;break;}if(_0x5830cf&&'always'!==this['_trackFormatChanges']){const _0x200dee=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x17024e,'accept');return this['forceDefaultExecution'](()=>_0x200dee(_0x567693,_0x161b5b,_0x2ab1f4)),null;}const _0x40df6e=this['editor']['plugins']['get']('Users')['me'];for(const _0x167a60 of this['getSuggestions']()){const _0x5509a4=_0x167a60['data'];if(_0x167a60['author']['id']!=_0x40df6e['id'])continue;if('formatBlock'!=_0x167a60['type']||_0x5509a4['formatGroupId']!=_0x161b5b['formatGroupId'])continue;if(!_0x1b1043(_0x167a60,_0x2ab1f4))continue;const _0x5a76af=_0x167a60['subType']==_0x17024e;for(let _0x150ec3=0x0;_0x150ec3<_0x567693['length'];_0x150ec3++){const _0x5abe72=_0x567693[_0x150ec3];for(const _0xc3356e of _0x167a60['getMarkers']()){const _0x36e398=_0xc3356e['getRange']();if(_0x5abe72['isEqual'](_0x36e398)){_0x5a76af?(_0x567693['splice'](_0x150ec3,0x1),_0x150ec3--):_0x167a60['removeMarker'](_0xc3356e['name']);break;}}}}if(0x0==_0x567693['length'])return null;const _0x44dd06=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x17024e,'join');for(const _0x4f0261 of this['getSuggestions']()){const _0x37415c=_0x4f0261['data'];if(_0x4f0261['author']['id']==_0x40df6e['id']&&('formatBlock'==_0x4f0261['type']&&_0x37415c['formatGroupId']==_0x161b5b['formatGroupId']&&_0x4f0261['subType']==_0x17024e&&_0x1b1043(_0x4f0261,_0x2ab1f4)&&(_0x44dd06(_0x4f0261['getRanges'](),_0x567693)||_0x44dd06(_0x567693,_0x4f0261['getRanges']())))){for(const _0x5f4e58 of _0x567693)_0x4f0261['addRange'](_0x5f4e58);return _0x4f0261;}}const _0x8aacae=_0x5f37cd['uid'](),_0x184f73=_0x40df6e['id'],_0x49b9c9='formatBlock:'+_0x17024e,_0x5af07e=this['_setSuggestionData']({'id':_0x8aacae,'type':_0x49b9c9,'data':_0x161b5b,'createdAt':new Date(),'authorId':_0x184f73,'attributes':_0x2ab1f4});for(const _0x23a68c of _0x567693)this['_addSuggestionMarker'](_0x49b9c9,_0x8aacae,_0x184f73,_0x23a68c,Suggestion['getMultiRangeId']());return _0x5af07e;}['markDeletion'](_0x270732,_0x301549=null,_0x16cbb7={}){if(_0x270732['isCollapsed'])return null;const _0x2ab6c4=this['editor']['plugins']['get']('Users')['me'],_0x410f0d=new _0x5f37cd['ModelLiveRange'](_0x270732['start'],_0x270732['end']);this['_trackingSessionId']&&(_0x16cbb7['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x35f905,meta:_0x963084}of this['_findSuggestions'](_0x410f0d,'insertion'))if(_0x963084['isOwn']&&!_0x963084['isNextTo']){if(_0x35f905['isMultiRange']){const _0x331cbe=_0x35f905['getRanges']()['filter'](_0x4bcbce=>'$graveyard'!=_0x4bcbce['root']['rootName']);_0x331cbe['every'](_0x209f90=>_0x410f0d['containsRange'](_0x209f90,!0x0))&&_0x35f905['discard']();if(_0x331cbe['some'](_0x357dcf=>_0x357dcf['containsRange'](_0x410f0d,!0x0))){const _0x19f8f4=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x301549,'accept');return this['forceDefaultExecution'](()=>_0x19f8f4([_0x410f0d],null,_0x16cbb7)),null;}}else{const _0x5a3b19=_0x410f0d['getIntersection'](_0x35f905['getFirstRange']());null!==_0x5a3b19&&_0x35f905['_onDiscard']([_0x5a3b19],null,_0x16cbb7);}}if(_0x410f0d['detach'](),_0x410f0d['isCollapsed']||'$graveyard'==_0x410f0d['root']['rootName'])return null;let _0x123e89=null,_0x33fe37=_0x410f0d['start'],_0x17afb9=_0x410f0d['end'];const _0x1d84fe=this['_findSuggestions'](_0x410f0d,'deletion');for(const {suggestion:_0x5bf0a3,meta:_0x511215}of _0x1d84fe){const _0x36f555=this['_model']['createRange'](_0x33fe37,_0x17afb9);if(_0x511215['isOwn']&&(this['_mergeNestedSuggestions']||!_0x511215['containsRangeInObject']&&!_0x511215['isInsideObject'])){if(_0x5bf0a3['isMultiRange']){if(!_0x1b1043(_0x5bf0a3,_0x16cbb7))continue;let _0x27340f=!0x0;for(const _0x3292b2 of _0x5bf0a3['getRanges']()){if(_0x3292b2['containsRange'](_0x36f555,!0x0))return _0x5bf0a3;_0x36f555['containsRange'](_0x3292b2)||(_0x27340f=!0x1);}_0x27340f&&_0x5bf0a3['discard']();}else{const _0x144987=_0x5bf0a3['getFirstRange']();if(_0x144987['containsRange'](_0x36f555,!0x0))return _0x5bf0a3;if(!_0x1b1043(_0x5bf0a3,_0x16cbb7)){_0x36f555['containsRange'](_0x144987)?_0x5bf0a3['removeMarkers']():_0x144987['containsPosition'](_0x33fe37)?_0x33fe37=_0x144987['end']:_0x144987['containsPosition'](_0x17afb9)&&(_0x17afb9=_0x144987['start']);continue;}_0x33fe37=_0x33fe37['isBefore'](_0x144987['start'])?_0x33fe37:_0x144987['start'],_0x17afb9=_0x17afb9['isAfter'](_0x144987['end'])?_0x17afb9:_0x144987['end'],_0x16cbb7=Object['assign']({},_0x5bf0a3['attributes']),_0x123e89?_0x144987['start']['isBefore'](_0x123e89['getFirstRange']()['start'])?(_0x123e89['removeMarkers'](),_0x123e89=_0x5bf0a3):_0x5bf0a3['removeMarkers']():_0x123e89=_0x5bf0a3;}}}if(_0x123e89)return this['_setSuggestionRange'](_0x123e89,this['_model']['createRange'](_0x33fe37,_0x17afb9)),_0x123e89;{const _0x4eebef=_0x5f37cd['uid'](),_0x16d425=this['_model']['createRange'](_0x33fe37,_0x17afb9),_0x496aa2=_0x2ab6c4['id'],_0x20b6c0=_0x301549?'deletion:'+_0x301549:'deletion',_0x37b20d=this['_setSuggestionData']({'id':_0x4eebef,'type':_0x20b6c0,'createdAt':new Date(),'authorId':_0x496aa2,'attributes':_0x16cbb7});return this['_addSuggestionMarker'](_0x20b6c0,_0x4eebef,_0x496aa2,_0x16d425),_0x37b20d;}}['markMultiRangeDeletion'](_0x233a39,_0x32ec2e='multi',_0x17c941={}){const _0x33456a=this['editor']['plugins']['get']('Users')['me'],_0x211a1a=_0x233a39['map'](_0x5dd28e=>new _0x5f37cd['ModelLiveRange'](_0x5dd28e['start'],_0x5dd28e['end'])),_0x58675d=new Set();this['_trackingSessionId']&&(_0x17c941['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x846380,meta:_0x45e293}of this['_findSuggestions'](_0x211a1a,'insertion'))_0x45e293['isOwn']&&!_0x45e293['isNextTo']&&_0x58675d['add'](_0x846380);for(const _0xea0491 of _0x58675d)if(_0xea0491['isMultiRange']){const _0x1e521a=_0xea0491['getRanges']();(!_0xea0491['attributes']||!_0xea0491['attributes']['skipNestingCheck'])&&(_0x1e521a['every'](_0x3eb516=>_0x211a1a['some'](_0x19671f=>_0x19671f['containsRange'](_0x3eb516,!0x0)))&&_0xea0491['discard']());if(_0x211a1a['every'](_0x3e8922=>_0x1e521a['some'](_0x4fc8a2=>_0x4fc8a2['containsRange'](_0x3e8922,!0x0)))){const _0x37cb8c=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x32ec2e,'accept');return this['forceDefaultExecution'](()=>_0x37cb8c(_0x233a39,null,_0x17c941)),null;}}else{const _0x48f11d=_0xea0491['getFirstRange']();_0x211a1a['some'](_0x6fcb8=>_0x6fcb8['containsRange'](_0x48f11d,!0x0))&&_0xea0491['discard']();if(_0x211a1a['every'](_0x3ec7cc=>_0x48f11d['containsRange'](_0x3ec7cc,!0x0))){const _0x138a6b=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x32ec2e,'accept');return this['forceDefaultExecution'](()=>_0x138a6b(_0x211a1a,null,_0x17c941)),null;}}const _0x246df4=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x32ec2e,'join');let _0x57b74c=null;for(const _0xd198fa of this['getSuggestions']())if(_0xd198fa['author']['id']==_0x33456a['id']&&_0xd198fa['isInContent']&&'deletion'==_0xd198fa['type']&&_0xd198fa['subType']==_0x32ec2e&&_0x1b1043(_0xd198fa,_0x17c941)&&(_0x246df4(_0xd198fa['getRanges'](),_0x211a1a)||_0x246df4(_0x211a1a,_0xd198fa['getRanges']()))){if(_0x57b74c){if(_0xd198fa['commentThread']&&_0xd198fa['commentThread']['length'])continue;for(const _0x421828 of _0xd198fa['getRanges']())_0x57b74c['isIntersectingWithRange'](_0x421828)||_0x57b74c['addRange'](_0x421828);_0xd198fa['removeMarkers']();}else{_0x57b74c=_0xd198fa;for(const _0x3c46ab of _0x211a1a)_0xd198fa['isIntersectingWithRange'](_0x3c46ab)||_0xd198fa['addRange'](_0x3c46ab);}}if(_0x57b74c)return _0x57b74c;_0x58675d['clear']();for(const {suggestion:_0x518b1d,meta:_0xfc5e3}of this['_findSuggestions'](_0x211a1a,'deletion'))_0xfc5e3['isOwn']&&(this['_mergeNestedSuggestions']||!_0xfc5e3['containsRangeInObject']&&!_0xfc5e3['isInsideObject'])&&_0x1b1043(_0x518b1d,_0x17c941)&&_0x58675d['add'](_0x518b1d);for(const _0x473595 of _0x58675d){const _0xba48b0=_0x473595['getRanges']();if(!_0x17c941||!_0x17c941['skipNestingCheck']){if(_0x211a1a['every'](_0x189b88=>_0xba48b0['some'](_0x5c0958=>_0x5c0958['containsRange'](_0x189b88,!0x0))))return _0x473595;}(!_0x473595['attributes']||!_0x473595['attributes']['skipNestingCheck'])&&(_0xba48b0['every'](_0x5bba32=>_0x211a1a['some'](_0x116a31=>_0x116a31['containsRange'](_0x5bba32,!0x0)))&&_0x473595['discard']());}const _0x26668d=_0x5f37cd['uid'](),_0x5e73c4=_0x33456a['id'],_0x39ee6a='deletion:'+_0x32ec2e,_0x31769f=this['_setSuggestionData']({'id':_0x26668d,'type':_0x39ee6a,'createdAt':new Date(),'authorId':_0x5e73c4,'attributes':_0x17c941});for(const _0x2b042f of _0x211a1a)_0x2b042f['detach'](),_0x2b042f['isCollapsed']||'$graveyard'==_0x2b042f['root']['rootName']||this['_addSuggestionMarker'](_0x39ee6a,_0x26668d,_0x5e73c4,_0x2b042f,Suggestion['getMultiRangeId']());return _0x31769f;}['markAttributeChange'](_0x102045,_0x5db52d,_0x390742,_0xa607f4,_0x4f4a96){if(_0x102045['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x3f2362=this['editor']['plugins']['get']('Users')['me']['id'],_0x580267=Array['from'](this['_suggestions']['values']())['filter'](_0x45ecde=>'attribute'==_0x45ecde['type']&&_0x45ecde['data']['key']==_0x5db52d&&_0x45ecde['isIntersectingWithRange'](_0x102045));if(this['_trackingSessionId']&&(_0x4f4a96['trackingSessionId']=this['_trackingSessionId']),'default'===this['_trackFormatChanges']){const _0x2bf998=this['_findSuggestions'](_0x102045,'insertion')['filter'](({meta:_0x404979})=>_0x404979['isOwn']&&!_0x404979['isInsideObject']&&!_0x404979['isNextTo'])['map'](({suggestion:_0x494222})=>_0x494222);_0x580267['unshift'](..._0x2bf998);}const _0x3e196d=new Map([[_0x102045,_0x390742]]);for(const _0x595157 of _0x580267){const _0x2db4d3='attribute'==_0x595157['type']?_0x595157['data']['oldValue']:void 0x0,_0x87657c=_0x595157['getFirstRange'](),_0x37d82c=Array['from'](_0x3e196d['keys']())['find'](_0x3706fa=>_0x3706fa['isIntersecting'](_0x87657c));if(!_0x37d82c)continue;const _0x21c2be=_0x37d82c['getDifference'](_0x87657c);this['_suggestionsConversion']['isBlockAttribute'](_0x5db52d)&&'insertion'==_0x595157['type']&&0x0!=_0x21c2be['length']||(_0x3e196d['delete'](_0x37d82c),_0x21c2be['forEach'](_0x5f0030=>{_0x3e196d['set'](_0x5f0030,_0x390742);}),'insertion'!=_0x595157['type']&&_0x2db4d3!=_0xa607f4&&_0x3e196d['set'](_0x37d82c['getIntersection'](_0x87657c),_0x2db4d3));}const _0x143494=[];for(const [_0xdf80d6,_0x31c620]of _0x3e196d){const _0x1ad02b=_0x5f37cd['uid'](),_0x33966a={'key':_0x5db52d,'oldValue':_0x31c620,'newValue':_0xa607f4};_0x5db52d['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':_0x5db52d});const _0x5645e4=('attribute:'+(_0x5db52d+'|'+_0x524237({'newValue':_0xa607f4})))['substring'](0x0,0x3c),_0x198acf=this['_setSuggestionData']({'id':_0x1ad02b,'type':_0x5645e4,'data':_0x33966a,'createdAt':new Date(),'authorId':_0x3f2362,'attributes':_0x4f4a96});_0x143494['push'](_0x198acf),this['_addSuggestionMarker'](_0x5645e4,_0x1ad02b,_0x3f2362,_0xdf80d6);}return _0x143494;}['enableDefaultAttributesIntegration'](_0x267968){this['enableCommand'](_0x267968,(_0x27df90,..._0x36bcee)=>{this['recordAttributeChanges'](()=>{_0x27df90(..._0x36bcee);});});}['startTrackingSession'](_0x1aa8db){return this['_trackingSessionId']=void 0x0!==_0x1aa8db?_0x1aa8db:_0x5f37cd['uid'](),this['_trackingSessionId'];}['_getAttributeKey'](_0x3e4218){return'attribute'==_0x3e4218['type']?_0x4e8ac9(_0x3e4218['subType']):null;}['_applyOperationsAsSuggestions'](_0x34bec9){if(0x0==_0x34bec9['length'])return;const _0x4a0e39=this['editor'],_0x582378=_0x4a0e39['plugins']['get'](DocumentCompare),_0x54816f=[];_0x4a0e39['model']['change'](_0x373afa=>{for(let _0x5a0eb5=0x0;_0x5a0eb5<_0x34bec9['length'];_0x5a0eb5++){const _0x85e5a3=_0x34bec9[_0x5a0eb5];if(_0x85e5a3['baseVersion']=_0x4a0e39['model']['document']['version'],_0x85e5a3['isDocumentOperation']=!0x0,_0x582378['isMarkedRemoveOperation'](_0x85e5a3)){const _0x165cad=_0x1ce3fa(_0x85e5a3['newRange'],_0x4a0e39['model']);_0x54816f['unshift'](_0x5f37cd['ModelLiveRange']['fromRange'](_0x165cad));}else switch(_0x85e5a3['type']){case'rename':{const _0x288243=_0x85e5a3['oldName'],_0x18fa80=_0x85e5a3['newName'];if(_0x288243==_0x18fa80)break;_0x373afa['batch']['addOperation'](_0x85e5a3),_0x4a0e39['model']['applyOperation'](_0x85e5a3);const _0x20fe6e='$elementName',_0x2696eb=_0x85e5a3['position'],_0x42b578=_0x4a0e39['model']['createRange'](_0x2696eb,_0x4a0e39['model']['createPositionAt'](_0x2696eb['nodeAfter'],'end'));this['markAttributeChange'](_0x42b578,_0x20fe6e,_0x288243,_0x18fa80,{'groupId':_0x5f37cd['uid']()});break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{const _0x12feda=_0x85e5a3['oldValue'],_0x1911df=_0x85e5a3['newValue'];if(_0x12feda==_0x1911df)break;_0x373afa['batch']['addOperation'](_0x85e5a3),_0x4a0e39['model']['applyOperation'](_0x85e5a3);const _0x58f5e4=_0x85e5a3['key'];if(!this['_suggestionsConversion']['isRegisteredAttribute'](_0x58f5e4))break;const _0x15d92c=_0x1ce3fa(_0x85e5a3['range'],_0x4a0e39['model']);this['markAttributeChange'](_0x15d92c,_0x58f5e4,_0x12feda,_0x1911df,{'groupId':_0x5f37cd['uid']()});break;}case'insert':{_0x373afa['batch']['addOperation'](_0x85e5a3),_0x4a0e39['model']['applyOperation'](_0x85e5a3);if(_0x34bec9[_0x5a0eb5+0x1]&&'move'==_0x34bec9[_0x5a0eb5+0x1]['type'])break;const _0x3eb698=_0x85e5a3['position'],_0x516ae4=_0x85e5a3['howMany'],_0x3a764c=_0x1ce3fa(_0x4a0e39['model']['createRange'](_0x3eb698,_0x3eb698['getShiftedBy'](_0x516ae4)),_0x4a0e39['model']);this['markInsertion'](_0x3a764c);break;}case'split':{_0x373afa['batch']['addOperation'](_0x85e5a3),_0x4a0e39['model']['applyOperation'](_0x85e5a3);const _0x2008ad=_0x85e5a3['splitPosition'],_0x1eb8d3=_0x85e5a3['moveTargetPosition'];this['markInsertion'](_0x4a0e39['model']['createRange'](_0x2008ad,_0x1eb8d3));break;}case'move':case'remove':_0x373afa['batch']['addOperation'](_0x85e5a3),_0x4a0e39['model']['applyOperation'](_0x85e5a3);}}for(const _0x314c91 of _0x54816f)_0x314c91['detach'](),this['markDeletion'](_0x314c91);});}['_setSuggestionRange'](_0x21bd25,_0x640f8b){const _0x59f71f=_0x21bd25['getFirstMarker']();this['_model']['change'](_0x110655=>{_0x110655['updateMarker'](_0x59f71f,{'range':_0x640f8b});});}['_addThreadToSuggestion'](_0x40155){const _0x1703e3=_0x40155['id'],_0x637183=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x1703e3)||this['_commentsRepository']['addCommentThread']({'channelId':_0x637183,'threadId':_0x1703e3,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x52829a=this['_commentsRepository']['getCommentThread'](_0x1703e3);_0x52829a['unbind']('isRemovable'),_0x52829a['isRemovable']=!0x1,_0x40155['commentThread']=_0x52829a;}['_checkSuggestionCorrectness'](_0x13ff9c,_0x4028af,_0x30a1dd,_0x147782){if(_0x13ff9c['type']!=_0x4028af||_0x13ff9c['subType']!=_0x30a1dd||_0x13ff9c['creator']['id']!=_0x147782)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new _0x5f37cd['CKEditorError']('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x5a0046,_0x241315){const _0x54edd0=_0x5a0046['getFirstRange']();if(_0x241315['isEqual'](_0x54edd0))_0x5a0046['removeMarkers']();else{if(_0x54edd0['containsRange'](_0x241315)){const _0x123b26=this['_model']['createPositionAt'](_0x241315['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x5a0046,this['_model']['createRange'](_0x54edd0['start'],_0x123b26));const _0x47d503=_0x5f37cd['uid'](),_0xd88669=_0x5a0046['creator']['id'],_0x2a7136=_0x5a0046['type']+':'+_0x5a0046['subType'];this['_setSuggestionData']({'id':_0x47d503,'type':_0x2a7136,'createdAt':new Date(),'authorId':_0xd88669,'data':_0x5a0046['data'],'attributes':_0x5a0046['attributes']});const _0x56c4f7=this['_model']['createPositionAt'](_0x241315['end']['parent'],'after'),_0x36cdf4=this['_model']['createRange'](_0x56c4f7,_0x54edd0['end']);this['_addSuggestionMarker'](_0x2a7136,_0x47d503,_0xd88669,_0x36cdf4);}else{if(_0x54edd0['containsPosition'](_0x241315['start'])){const _0x17a97b=this['_model']['createPositionAt'](_0x241315['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x5a0046,this['_model']['createRange'](_0x54edd0['start'],_0x17a97b));}else{const _0x3bb99a=this['_model']['createPositionAt'](_0x241315['end']['parent'],'after');this['_setSuggestionRange'](_0x5a0046,this['_model']['createRange'](_0x3bb99a,_0x54edd0['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x22a6ea){for(const {suggestion:_0x1df9bf,meta:_0x5d428e}of this['_findSuggestions'](_0x22a6ea,'insertion')){if(!_0x5d428e['isOwn'])continue;const _0x5a1f58=_0x1df9bf['getRanges']();for(const _0x5773ce of _0x5a1f58)if(!_0x22a6ea['getDifference'](_0x5773ce)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0xfa0111){return this['editor']['plugins']['get']('Users')['getUser'](_0xfa0111);}['_getExternalAuthor'](_0x5563ac){const _0x589256=this['editor']['plugins']['get']('Users'),_0x10ea8b=_0x16cf9f('external:'+_0x5563ac),_0x34f1c1=_0x589256['getUser'](_0x10ea8b);return _0x34f1c1||_0x589256['addUser']({'id':_0x10ea8b,'name':_0x5563ac});}['_createSuggestion'](_0x62ff0f,_0x284370,_0x327a69,_0x19e213,_0x4a8785,_0x25de6c){const _0x2290bd=this['_getAuthorFromId'](_0x19e213);if(!_0x2290bd)throw new _0x5f37cd['CKEditorError']('track-changes-user-not-found',this,{'authorId':_0x19e213,'suggestionId':_0x327a69});const _0x17f98c=this['_suggestionFactory']['buildSuggestion'](_0x62ff0f,_0x284370,_0x327a69,_0x2290bd,_0x4a8785,_0x3f7d6e=>{this['_updateSuggestionData'](_0x327a69,{'attributes':_0x3f7d6e});const _0x24f852=this['getSuggestion'](_0x327a69);this['_joinWithAdjacentSuggestions'](new Set([_0x24f852])),this['_refreshSuggestionsChain'](new Set([_0x24f852]));},_0x25de6c);return this['listenTo'](_0x17f98c,'accept',()=>{this['_updateSuggestionData'](_0x327a69,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x17f98c,'discard',()=>{this['_updateSuggestionData'](_0x327a69,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0x327a69,_0x17f98c),this['_suggestionState']['set'](_0x17f98c,'notReady'),_0x17f98c;}['_breakSuggestionMarker'](_0x3125b1,_0xc8b9d4,_0x38d108){const _0x5e71f5=_0x3125b1['getFirstRange'](),_0x245cc8=_0x5e71f5['start'],_0x23bde7=_0x5e71f5['end'];this['_setSuggestionRange'](_0x3125b1,this['_model']['createRange'](_0x245cc8,_0xc8b9d4));const _0x137b83=_0x5f37cd['uid'](),_0x3210f2=_0x3125b1['creator']['id'],_0x56d632=_0x3125b1['type']+(_0x3125b1['subType']?':'+_0x3125b1['subType']:'');this['_setSuggestionData']({'id':_0x137b83,'type':_0x56d632,'createdAt':new Date(),'authorId':_0x3210f2,'originalSuggestionId':_0x3125b1['_originalSuggestionId']||_0x3125b1['id'],'attributes':_0x3125b1['attributes'],'data':_0x3125b1['data']});const _0x58574a=this['_getAttributeKey'](_0x3125b1);('formatBlock'==_0x3125b1['type']||_0x58574a&&this['_suggestionsConversion']['isBlockAttribute'](_0x58574a))&&(_0x38d108=this['_model']['createPositionBefore'](_0x38d108['parent'])),this['_addSuggestionMarker'](_0x56d632,_0x137b83,_0x3210f2,this['_model']['createRange'](_0x38d108,_0x23bde7));}['_findSuggestions'](_0x2d164d,_0x3d47ce=null){const _0x1bdec4=[],_0x31a21d=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x2d164d)||(_0x2d164d=[_0x2d164d]);for(const _0x5773e3 of this['getSuggestions']()){if(!_0x5773e3['isInContent'])continue;if(_0x3d47ce&&_0x5773e3['type']!=_0x3d47ce)continue;let _0x233c05=!0x1;for(const _0x183ed2 of _0x5773e3['getRanges']()){for(const _0x4128fc of _0x2d164d){const _0x43dcb8=_0x4128fc['start']['isEqual'](_0x183ed2['end'])||_0x4128fc['end']['isEqual'](_0x183ed2['start']);if(_0x43dcb8||_0x4128fc['getIntersection'](_0x183ed2)){const _0x46f110=_0x4128fc['containsRange'](_0x183ed2)&&_0x5ac4d7(this['_model']['schema'],_0x183ed2['start'],_0x4128fc),_0x29473e=_0x183ed2['containsRange'](_0x4128fc)&&_0x5ac4d7(this['_model']['schema'],_0x4128fc['start'],_0x183ed2);_0x1bdec4['push']({'suggestion':_0x5773e3,'meta':{'isOwn':_0x31a21d==_0x5773e3['author'],'isNextTo':_0x43dcb8,'isInsideObject':_0x46f110,'containsRangeInObject':_0x29473e}}),_0x233c05=!0x0;break;}}if(_0x233c05)break;}}return _0x1bdec4;}['_addSuggestionMarker'](_0x2d584e,_0x28e59a,_0xd26298,_0x278035,_0x5ac174){this['_model']['change'](_0x15b460=>{let _0x353889='suggestion:'+_0x2d584e+':'+_0x28e59a+':'+_0xd26298;_0x5ac174&&(_0x353889=_0x353889+':'+_0x5ac174),_0x15b460['addMarker'](_0x353889,{'range':_0x278035,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x33c4aa){const _0x21f235=_0x33c4aa['previous'],_0x31ae7f=_0x33c4aa['next'];_0x33c4aa['previous']=null,_0x33c4aa['next']=null,null!=_0x21f235&&_0x21f235['next']==_0x33c4aa&&(_0x21f235['next']=_0x31ae7f),null!=_0x31ae7f&&_0x31ae7f['previous']==_0x33c4aa&&(_0x31ae7f['previous']=_0x21f235),'ready'==this['_suggestionState']['get'](_0x33c4aa)&&(this['_suggestionState']['set'](_0x33c4aa,'removed'),this['fire']('suggestionUnloaded',_0x33c4aa,_0x21f235,_0x31ae7f));}['_setSuggestionData'](_0x43b5d0){const _0xd4834e=_0x43b5d0['id'],_0x558e32=this['addSuggestionData'](_0x43b5d0);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x115748=this['editor']['plugins']['get']('PendingActions'),_0x230565=_0x558e32['hasComments'],_0x5261ca=_0x558e32['subType']?_0x558e32['type']+':'+_0x558e32['subType']:_0x558e32['type'],_0x5941f2=this['editor']['locale'],_0x16899d=_0x115748['add'](_0x538d4a(_0x5941f2,'PENDING_ACTION_SUGGESTION')),_0xe96e47={'id':_0xd4834e,'type':_0x5261ca,'hasComments':_0x230565,'data':_0x43b5d0['data']||null,'originalSuggestionId':_0x43b5d0['originalSuggestionId']||null,'attributes':_0x558e32['attributes']};this['_adapter']['addSuggestion'](_0xe96e47)['then'](_0x17ac02=>{_0x558e32['_saved']=!0x0,_0x115748['remove'](_0x16899d),_0x17ac02&&_0x17ac02['createdAt']&&(this['_suggestions']['get'](_0xd4834e)['createdAt']=_0x17ac02['createdAt']);})['catch'](_0x3a6cfa=>{throw _0x5f37cd['logWarning']('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x558e32['discard']();}),_0x558e32['stopListening'](),this['_suggestions']['delete'](_0x558e32['id']),this['_suggestionState']['delete'](_0x558e32),_0x3a6cfa;});}return _0x558e32;}['_updateSuggestionData'](_0xf30d9c,_0x4b5f83){const _0x2e8baf=this['editor']['plugins']['get']('PendingActions'),_0x370a4d=this['getSuggestion'](_0xf30d9c);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0x370a4d['_saved']){const _0x40df6c=_0x2e8baf['add'](_0x538d4a(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0xf30d9c,_0x4b5f83)['then'](()=>{_0x2e8baf['remove'](_0x40df6c);});}else _0x370a4d['on']('change:_saved',()=>{this['_updateSuggestionData'](_0xf30d9c,_0x4b5f83);});}}['_getSuggestionData'](_0x423850){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new _0x5f37cd['CKEditorError']('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0x423850);}['_handleNewSuggestionMarker'](_0x7517de){const {id:_0x3f4c56,type:_0x4ca32b,subType:_0x19ee66,authorId:_0x2784e3}=_0x1ee8e4(_0x7517de),_0x323828=this['_suggestions']['get'](_0x3f4c56)||this['_createSuggestion'](_0x4ca32b,_0x19ee66,_0x3f4c56,_0x2784e3,{});switch(this['_checkSuggestionCorrectness'](_0x323828,_0x4ca32b,_0x19ee66,_0x2784e3),this['_suggestionState']['get'](_0x323828)){case'notReady':this['_getSuggestionData'](_0x3f4c56)['then'](_0x28bc68=>{let _0x436a89=Promise['resolve']();_0x28bc68['hasComments']&&(_0x436a89=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x3f4c56})),_0x436a89['then'](()=>{this['addSuggestionData'](_0x28bc68)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x323828,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x3f4c56,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x323828,'ready'),this['fire']('suggestionLoaded',_0x323828);break;case'ready':this['fire']('suggestionChanged',_0x323828);}return _0x323828['addMarkerName'](_0x7517de),_0x323828;}['_refreshSuggestionsChain'](_0xb2e78e){const _0x2a4389=Array['from'](_0xb2e78e),_0x1e5153=_0x2a4389['filter'](_0x8cacbb=>'attribute'==_0x8cacbb['type']);this['_refreshAttributeSuggestionsChain'](_0x1e5153);const _0x553d6c=_0x2a4389['filter'](_0x548a22=>!_0x548a22['isMultiRange']&&'attribute'!=_0x548a22['type']),_0x97b40=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x3a2512=>!_0x3a2512['isMultiRange']&&'attribute'!=_0x3a2512['type']),_0x22981d=_0x97b40['filter'](_0x4d3816=>!_0xb2e78e['has'](_0x4d3816)),_0x2722b0=new Map(_0x97b40['map'](_0x45a2ce=>[_0x45a2ce,this['_suggestionFactory']['getSuggestionCallback'](_0x45a2ce['type'],_0x45a2ce['subType'],'chain')])),_0x1e4cb1=new Map(_0x97b40['map'](_0x3e4d66=>[_0x3e4d66,_0x3e4d66['getFirstRange']()])),_0x25d293=new Set(),_0x36e0b7=new Set();for(let _0x4c701e=0x0;_0x4c701e<_0x553d6c['length'];_0x4c701e++)_0x235686(_0x553d6c[_0x4c701e],_0x553d6c,_0x4c701e+0x1);for(let _0x395ef6=0x0;_0x395ef6<_0x553d6c['length'];_0x395ef6++)_0x235686(_0x553d6c[_0x395ef6],_0x22981d,0x0);const _0x583984=new Set();for(let _0x5d052a=0x0;_0x5d052a<_0x553d6c['length'];_0x5d052a++){const _0x394673=_0x553d6c[_0x5d052a];!_0x36e0b7['has'](_0x394673)&&_0x394673['previous']&&(_0x583984['add'](_0x394673['previous']),_0x394673['previous']['next']===_0x394673&&(_0x394673['previous']['next']=null),_0x394673['previous']=null),!_0x25d293['has'](_0x394673)&&_0x394673['next']&&(_0x583984['add'](_0x394673['next']),_0x394673['next']['previous']===_0x394673&&(_0x394673['next']['previous']=null),_0x394673['next']=null);}function _0x235686(_0x45bc0a,_0x3d4126,_0x530d45){for(let _0x4cc1dc=_0x530d45;_0x4cc1dc<_0x3d4126['length'];_0x4cc1dc++){const _0x4a3c23=_0xdd7b9(_0x45bc0a,_0x3d4126[_0x4cc1dc]);_0x4a3c23&&(_0x4a3c23[0x0]['next']=_0x4a3c23[0x1],_0x4a3c23[0x1]['previous']=_0x4a3c23[0x0],_0x25d293['add'](_0x4a3c23[0x0]),_0x36e0b7['add'](_0x4a3c23[0x1]));}}function _0xdd7b9(_0x2d4255,_0x5dd694){if(_0x2d4255['author']['id']!==_0x5dd694['author']['id'])return null;const _0x14c3fe=_0x2722b0['get'](_0x2d4255)(_0x2d4255,_0x5dd694,_0x1e4cb1['get'](_0x2d4255),_0x1e4cb1['get'](_0x5dd694));if(!_0x14c3fe)return null;return _0x2722b0['get'](_0x5dd694)(_0x2d4255,_0x5dd694,_0x1e4cb1['get'](_0x2d4255),_0x1e4cb1['get'](_0x5dd694))?_0x14c3fe[0x1]['commentThread']&&_0x14c3fe[0x1]['commentThread']['length']?null:_0x14c3fe:null;}_0x583984['size']&&this['_refreshSuggestionsChain'](_0x583984);}['_refreshAttributeSuggestionsChain'](_0x413d16){if(0x0==_0x413d16['length'])return;const _0x25cd26=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x39e0ad=>'attribute'==_0x39e0ad['type']&&_0x39e0ad['_isDataLoaded']),_0xe24d71=[],_0x4b4e13=new Map();for(const _0x19346c of _0x25cd26){const _0x15521c=_0x16cf9f(_0x19346c['attributes']);_0x4b4e13['has'](_0x15521c)||(_0x4b4e13['set'](_0x15521c,_0xe24d71['length']),_0xe24d71['push']([]));const _0x4f6401=_0x4b4e13['get'](_0x15521c);_0xe24d71[_0x4f6401]['push'](_0x19346c);}!(function(){_0xe24d71['sort']((_0x202ec0,_0xbdea74)=>{const _0x4b13c5=_0x202ec0[0x0]['createdAt'],_0x26d881=_0xbdea74[0x0]['createdAt'];return _0x4b13c5==_0x26d881?_0x202ec0[0x0]['attributes']['groupId']<_0xbdea74[0x0]['attributes']['groupId']?-0x1:0x1:_0x4b13c5<_0x26d881?-0x1:0x1;});for(const _0x45d540 of _0xe24d71)_0x45d540['sort']((_0x2f103e,_0x3e7116)=>_0x2f103e['id']<_0x3e7116['id']?-0x1:0x1);}());for(let _0x2e1e13=0x0;_0x2e1e13<_0xe24d71['length'];_0x2e1e13++){if(0x0==_0xe24d71[_0x2e1e13]['length'])continue;const _0x192f2c=[];for(let _0x2c27e3=_0x2e1e13+0x1;_0x2c27e3<_0xe24d71['length'];_0x2c27e3++)0x0!=_0xe24d71[_0x2c27e3]['length']&&_0x6d8848(_0xe24d71[_0x2e1e13],_0xe24d71[_0x2c27e3])&&_0x192f2c['push'](_0x2c27e3);for(const _0x3377e5 of _0x192f2c)_0xe24d71[_0x2e1e13]=_0xe24d71[_0x2e1e13]['concat'](_0xe24d71[_0x3377e5]),_0xe24d71[_0x3377e5]=[];}for(const _0x2b54af of _0xe24d71)for(let _0x5d9dfb=0x0;_0x5d9dfb<_0x2b54af['length'];_0x5d9dfb++){const _0x1caf68=_0x2b54af[_0x5d9dfb+0x1]||null;_0x2b54af[_0x5d9dfb]['next']!==_0x1caf68&&(_0x2b54af[_0x5d9dfb]['next']=_0x1caf68);}for(const _0x427903 of _0xe24d71)for(let _0x1e6e5a=0x0;_0x1e6e5a<_0x427903['length'];_0x1e6e5a++){const _0xdf0180=_0x427903[_0x1e6e5a-0x1]||null;_0x427903[_0x1e6e5a]['previous']!==_0xdf0180&&(_0x427903[_0x1e6e5a]['previous']=_0xdf0180);}function _0x6d8848(_0x582a3e,_0x1122f7){if(_0x582a3e[0x0]['attributes']['groupId']!==_0x1122f7[0x0]['attributes']['groupId']&&_0x582a3e[0x0]['author']!==_0x1122f7[0x0]['author'])return!0x1;if(!function(_0x41556a,_0x11f2dd){if(!_0x41556a['hasComments']&&!_0x11f2dd['hasComments'])return!0x0;if(_0x41556a['hasComments']&&_0x11f2dd['hasComments'])return!0x1;if(_0x41556a['hasComments']&&_0x11f2dd['createdAt']<_0x41556a['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;if(_0x11f2dd['hasComments']&&_0x41556a['createdAt']<_0x11f2dd['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x582a3e[0x0],_0x1122f7[0x0]))return!0x1;if(!pt(_t(_0x582a3e[0x0]['attributes'],['groupId','trackingSessionId']),_t(_0x1122f7[0x0]['attributes'],['groupId','trackingSessionId'])))return!0x1;if(_0x582a3e[0x0]['attributes']['groupId']==_0x1122f7[0x0]['attributes']['groupId'])return!0x0;if(_0x582a3e[0x0]['attributes']['trackingSessionId']!==_0x1122f7[0x0]['attributes']['trackingSessionId'])return!0x1;return!!_0x582a3e['every'](_0x2dec15=>_0x1122f7['some'](_0x5239bf=>_0x2dec15['getFirstRange']()['isEqual'](_0x5239bf['getFirstRange']())))&&_0x1122f7['every'](_0x2a28ba=>_0x582a3e['some'](_0xed496c=>_0x2a28ba['getFirstRange']()['isEqual'](_0xed496c['getFirstRange']())));}}['_joinWithAdjacentSuggestions'](_0x549261){const _0x378ecc=Array['from'](_0x549261),_0x1eb1e2=this['getSuggestions']({'skipNotAttached':!0x0}),_0x156ac3=_0x1eb1e2['filter'](_0x31928b=>!_0x549261['has'](_0x31928b)),_0x589df8=new Map(_0x378ecc['map'](_0x5eb926=>[_0x5eb926,this['_suggestionFactory']['getSuggestionCallback'](_0x5eb926['type'],_0x5eb926['subType'],'join')])),_0x4ea496=new Map(_0x1eb1e2['map'](_0x58d287=>[_0x58d287,_0x58d287['getRanges']()]));for(let _0x52a28d=0x0;_0x52a28d<_0x378ecc['length'];_0x52a28d++){if(_0x511c25(this,_0x378ecc[_0x52a28d],_0x378ecc,_0x52a28d+0x1))return!0x0;}for(let _0x261a19=0x0;_0x261a19<_0x378ecc['length'];_0x261a19++){if(_0x511c25(this,_0x378ecc[_0x261a19],_0x156ac3,0x0))return!0x0;}return!0x1;function _0x511c25(_0x84f21a,_0xf207ba,_0x1f903c,_0x39a61d){for(let _0x81d80a=_0x39a61d;_0x81d80a<_0x1f903c['length'];_0x81d80a++){const _0x438f89=_0x1f903c[_0x81d80a];if(_0x438f89['type']!==_0xf207ba['type']||_0x438f89['author']['id']!==_0xf207ba['author']['id']||_0x438f89['subType']!==_0xf207ba['subType'])continue;if(!_0x38f143(_0xf207ba,_0x438f89))continue;if('attribute'==_0xf207ba['type']&&_0xf207ba['data']['oldValue']!=_0x438f89['data']['oldValue'])continue;if('attribute'==_0xf207ba['type']&&_0x84f21a['_suggestionsConversion']['isBlockAttribute'](_0xf207ba['data']['key']))continue;if('formatBlock'==_0xf207ba['type']){const _0x3d89a9=_0x84f21a['editor']['model'],_0x30092d=_0xf207ba['getContainedElement']();if(_0x30092d&&(_0x3d89a9['schema']['isObject'](_0x30092d)||_0x3d89a9['schema']['isLimit'](_0x30092d)))continue;}const _0x4668eb=_0x589df8['get'](_0xf207ba),_0xb421b3=_0x4ea496['get'](_0xf207ba),_0x47e6f6=_0x4ea496['get'](_0x438f89),_0x70ef53=_0xf207ba['commentThread']&&_0xf207ba['commentThread']['length'],_0x18ff55=_0x438f89['commentThread']&&_0x438f89['commentThread']['length'];if(!_0x70ef53&&_0x4668eb(_0x47e6f6,_0xb421b3))return _0x84f21a['_joinSuggestions'](_0x438f89,_0xf207ba),_0x4ea496['delete'](_0xf207ba),!0x0;if(!_0x18ff55&&_0x4668eb(_0xb421b3,_0x47e6f6))return _0x84f21a['_joinSuggestions'](_0xf207ba,_0x438f89),_0x4ea496['delete'](_0x438f89),!0x0;}return!0x1;}}['_joinSuggestions'](_0x528a72,_0x527b2f){if(_0x528a72['isMultiRange']){for(const _0x164d56 of _0x527b2f['getRanges']())_0x528a72['addRange'](_0x164d56);}else{const _0x4845e2=_0x527b2f['getFirstRange']()['end'];this['_setSuggestionRange'](_0x528a72,this['_model']['createRange'](_0x528a72['getFirstRange']()['start'],_0x4845e2));}_0x527b2f['removeMarkers']();}['_getMarkerAnnouncementText'](_0x15c8d9,_0xac360b,_0x5bd1f3){const _0x1044e1=_0x15c8d9['startsWith']('format')||_0x15c8d9['startsWith']('attribute')?'FORMATTING':_0x15c8d9['toUpperCase']();return _0x538d4a(this['editor']['locale'],_0xac360b+'_'+_0x1044e1+'_SUGGESTION_ANNOUNCEMENT',_0x5bd1f3);}['_initAriaMarkerChangeAnnouncements'](){const _0x54531c=this['editor'];if(!_0x54531c['ui'])return;const {ariaLiveAnnouncer:_0x30dcb9}=_0x54531c['ui'];_0x42a5b9(this['_model'],({left:_0x39e0cb,entered:_0x9c2124})=>{for(const _0x589f78 of _0x39e0cb){const {group:_0x501bbe,type:_0x5688b9}=_0x1ee8e4(_0x589f78['name']);if('suggestion'===_0x501bbe){_0x30dcb9['announce'](this['_getMarkerAnnouncementText'](_0x5688b9,'LEAVE'));break;}}for(const _0x381d10 of _0x9c2124){const {group:_0x33a2b4,type:_0x28f0de}=_0x1ee8e4(_0x381d10['name']);if('suggestion'===_0x33a2b4){_0x30dcb9['announce'](this['_getMarkerAnnouncementText'](_0x28f0de,'ENTER',_0x5f37cd['getEnvKeystrokeText'](_0x472d0e)));break;}}});}['_processAttributeChanges'](_0x3ee324){if(this['_recordAttributeSuggestions'])return!0x1;const _0x1d87ec=this['editor'],_0x509fea=_0x1d87ec['model']['document']['differ']['getChanges']();if(0x0==_0x509fea['length'])return!0x1;const _0x4d5a9b=[],_0x438599=_0x509fea['filter'](_0x2a64a7=>'attribute'==_0x2a64a7['type']),_0x38a8a5=_0x509fea['filter'](_0x5bdacd=>'insert'==_0x5bdacd['type']&&'$text'!=_0x5bdacd['name']),_0x256284=_0x509fea['filter'](_0x5766c7=>'remove'==_0x5766c7['type']&&'$text'!=_0x5766c7['name']);for(const _0x4a9eb8 of _0x438599)_0x4d5a9b['push']({'key':_0x4a9eb8['attributeKey'],'newValue':_0x4a9eb8['attributeNewValue'],'oldValue':_0x4a9eb8['attributeOldValue'],'range':_0x51f5dd(_0x4a9eb8['range'],_0x1d87ec['model'])});for(const _0x39e297 of _0x38a8a5){const _0x54acf4=_0x256284['find'](_0x3d3805=>_0x3d3805['position']['isEqual'](_0x39e297['position']));_0x54acf4&&_0x4d5a9b['push']({'key':_0x233bc5,'newValue':_0x39e297['name'],'oldValue':_0x54acf4['name'],'range':_0x1d87ec['model']['createRangeOn'](_0x39e297['position']['nodeAfter'])});}return 0x0!=_0x4d5a9b['length']&&this['_reduceExistingSuggestions'](_0x3ee324,_0x4d5a9b);}['_processAttributeSuggestions'](_0x2c6335){let _0x2a80c7=!0x1;const _0x570b30=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x31e05d=>_0x31e05d['data']['newRange']&&_0x31e05d['name']['startsWith']('suggestion:attribute:'));for(const _0x10e880 of _0x570b30){const {subType:_0x188e6e,id:_0x5dc7a1}=_0x1ee8e4(_0x10e880['name']),_0x304648=_0x188e6e['split']('|')[0x0];for(const _0x5a0aa3 of this['getSuggestions']({'skipNotAttached':!0x0}))_0x5a0aa3['id']!=_0x5dc7a1&&'attribute'==_0x5a0aa3['type']&&_0x5a0aa3['data']&&_0x5a0aa3['data']['key']==_0x304648&&_0x5a0aa3['getFirstRange']()['isIntersecting'](_0x10e880['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x5a0aa3,_0x10e880['data']['newRange'],_0x2c6335),_0x2a80c7=!0x0);}return _0x2a80c7;}['recordAttributeChanges'](_0x513416){this['_recordAttributeSuggestions']=!0x0,_0x513416();}['_reduceExistingSuggestions'](_0x503794,_0x598d4c){if(0x0==_0x598d4c['length'])return!0x1;let _0x394b65=!0x1;for(const _0x42e26d of _0x598d4c){const _0x592842=this['_findSuggestions'](_0x42e26d['range'],'attribute')['filter'](_0x56afd2=>!_0x56afd2['meta']['isNextTo'])['map'](_0x2a3469=>_0x2a3469['suggestion']),_0x45c101=_0x16cf9f({'newValue':_0x42e26d['newValue']});_0x592842['filter'](_0x1d2409=>{const [_0xbc5559,_0x5a10ad]=_0x1d2409['subType']['split']('|');return _0xbc5559==_0x42e26d['key']&&_0x5a10ad!=_0x45c101;})['forEach'](_0x665cf5=>{this['_reduceSuggestionAttributeRange'](_0x665cf5,_0x42e26d['range'],_0x503794),_0x394b65=!0x0;});}return _0x394b65;}['_reduceSuggestionAttributeRange'](_0x34f88d,_0x411851,_0x361d76){const _0x23e769=_0x34f88d['getFirstRange']()['getDifference'](_0x411851);0x0!==_0x23e769['length']?0x1!==_0x23e769['length']?this['_breakSuggestionMarker'](_0x34f88d,_0x411851['start'],_0x411851['end']):this['_setSuggestionRange'](_0x34f88d,_0x23e769[0x0]):_0x361d76['removeMarker'](_0x34f88d['getFirstMarker']());}}class SuggestionFactory{['_editor'];['_model'];['_customCallbacks'];['_defaultCallbacks'];constructor(_0x5ed5bb){this['_editor']=_0x5ed5bb,this['_model']=_0x5ed5bb['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0x80ae30,_0x1221c3,_0x341d6c,_0x4c25d7,_0x5a438f,_0x4e08f6,_0x20de60){return new Suggestion(this['_model'],{'type':_0x80ae30,'subType':_0x1221c3,'id':_0x341d6c,'originalSuggestionId':_0x20de60,'author':_0x4c25d7,'creator':_0x4c25d7,'attributes':_0x5a438f,'onAttributesChange':_0x4e08f6,'onAccept':(..._0x46927a)=>this['getSuggestionCallback'](_0x80ae30,_0x1221c3,'accept')(..._0x46927a),'onDiscard':(..._0x4d7070)=>this['getSuggestionCallback'](_0x80ae30,_0x1221c3,'discard')(..._0x4d7070)});}['registerCustomCallback'](_0xb857de,_0x38f5fc,_0x129afd,_0x303e2c){const _0x2ec412=_0xb857de+':'+_0x38f5fc+':'+_0x129afd;this['_customCallbacks']['set'](_0x2ec412,_0x303e2c);}['getSuggestionCallback'](_0x1f4748,_0x1b1262,_0x587a0c){const _0x16d9f5=_0x1f4748+':'+_0x1b1262+':'+_0x587a0c;return this['_customCallbacks']['get'](_0x16d9f5)||this['_defaultCallbacks']['get'](_0x1f4748+':'+_0x587a0c);}['_registerDefaultCallbacks'](){const _0x6b03e7=()=>!0x1,_0x2f964b=_0x602fc6=>{_0x602fc6['sort']((_0x1e20c9,_0x124377)=>_0x1e20c9['start']['isBefore'](_0x124377['start'])?0x1:-0x1),this['_model']['change'](_0x24fc6e=>{for(const _0x1ce2c7 of _0x602fc6){let _0x4cea22;_0x4cea22=_0x1ce2c7['end']['isAtEnd']&&_0x1ce2c7['end']['parent']==_0x1ce2c7['start']['nodeAfter']?_0x24fc6e['createSelection'](_0x1ce2c7['start']['nodeAfter'],'on'):_0x24fc6e['createSelection'](_0x1ce2c7),this['_model']['deleteContent'](_0x4cea22,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0,'doNotFixSelection':!0x0});}});},_0x559270=(_0x2c67c2,_0x2a24f3)=>{_0x2a24f3&&this['_model']['change'](_0x18ffe6=>{const {commandName:_0x1989d5,commandParams:_0x29f728=[]}=_0x2a24f3,_0x22de23=_0x2c67c2['map'](_0x5a1d61=>(_0x432235(_0x5a1d61)&&(_0x5a1d61=this['_model']['createRange'](_0x5a1d61['end'])),_0x5a1d61))['filter'](_0x3f692d=>'$graveyard'!==_0x3f692d['root']['rootName']);if(_0x22de23['length']<0x1)return;const _0x44f6af=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x3e0853=>_0x5f37cd['ModelLiveRange']['fromRange'](_0x3e0853));_0x18ffe6['setSelection'](_0x22de23);for(const _0x4661e2 of this['_editor']['commands']['commands']())_0x4661e2['refresh']();_0x29f728['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x1989d5,..._0x29f728);const _0x1c86c6=_0x44f6af['filter'](_0x3030c4=>'$graveyard'!=_0x3030c4['root']['rootName']);_0x1c86c6['length']>0x0&&_0x18ffe6['setSelection'](_0x1c86c6);for(const _0x4e804e of _0x44f6af)_0x4e804e['detach']();});},_0xf76158=(_0x45d3f8,_0x5dc184)=>0x1==_0x45d3f8['length']&&0x1==_0x5dc184['length']&&_0x45d3f8[0x0]['end']['isEqual'](_0x5dc184[0x0]['start']),_0x2d0a35=(_0x1a0f2e,_0x311ff0,_0x225730,_0x4ea412)=>_0x8e4802(_0x1a0f2e,_0x311ff0,_0x225730,_0x4ea412)?[_0x1a0f2e,_0x311ff0]:_0x8e4802(_0x311ff0,_0x1a0f2e,_0x4ea412,_0x225730)?[_0x311ff0,_0x1a0f2e]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x6b03e7),this['_defaultCallbacks']['set']('insertion:discard',_0x2f964b),this['_defaultCallbacks']['set']('insertion:join',_0xf76158),this['_defaultCallbacks']['set']('insertion:chain',_0x2d0a35),this['_defaultCallbacks']['set']('deletion:accept',_0x2f964b),this['_defaultCallbacks']['set']('deletion:discard',_0x6b03e7),this['_defaultCallbacks']['set']('deletion:join',_0xf76158),this['_defaultCallbacks']['set']('deletion:chain',_0x2d0a35),this['_defaultCallbacks']['set']('formatInline:accept',_0x559270),this['_defaultCallbacks']['set']('formatInline:discard',_0x6b03e7),this['_defaultCallbacks']['set']('formatInline:join',_0xf76158),this['_defaultCallbacks']['set']('formatInline:chain',_0x6b03e7),this['_defaultCallbacks']['set']('formatBlock:accept',_0x559270),this['_defaultCallbacks']['set']('formatBlock:discard',_0x6b03e7),this['_defaultCallbacks']['set']('formatBlock:join',_0xf76158),this['_defaultCallbacks']['set']('formatBlock:chain',_0x6b03e7),this['_defaultCallbacks']['set']('attribute:accept',_0x6b03e7),this['_defaultCallbacks']['set']('attribute:discard',(_0x5af2d6,_0x2aa87f)=>{if(!_0x2aa87f)return;const _0x100e74=this['_editor']['plugins']['get'](SuggestionsConversion);this['_model']['change'](_0x1b177d=>{if(_0x2aa87f['key']==_0x233bc5)for(const _0x5c0d66 of _0x5af2d6){const _0x4051be=_0x5c0d66['start']['nodeAfter'],_0x2d58e6=_0x2aa87f['oldValue'];_0x1b177d['rename'](_0x4051be,_0x2d58e6);}else{if(_0x100e74['isBlockAttribute'](_0x2aa87f['key'])){for(const _0x667c0b of _0x5af2d6)void 0x0!==_0x2aa87f['oldValue']?_0x1b177d['setAttribute'](_0x2aa87f['key'],_0x2aa87f['oldValue'],_0x667c0b['start']['nodeAfter']):_0x1b177d['removeAttribute'](_0x2aa87f['key'],_0x667c0b['start']['nodeAfter']);}else{for(const _0x32255f of _0x5af2d6)_0x2aa87f['oldValue']?_0x1b177d['setAttribute'](_0x2aa87f['key'],_0x2aa87f['oldValue'],_0x32255f):_0x1b177d['removeAttribute'](_0x2aa87f['key'],_0x32255f);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0xf76158);}}function _0x5ac4d7(_0x5c9db8,_0x74dae3,_0x1fb472){for(const _0x42b23d of _0x74dae3['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x42b23d['root']==_0x42b23d)return!0x1;if(!_0x1fb472['containsItem'](_0x42b23d))return!0x1;if(_0x5c9db8['isObject'](_0x42b23d)||_0x5c9db8['isLimit'](_0x42b23d))return!0x0;}return!0x1;}function _0x432235(_0x171d63){return _0x171d63['end']['parent']==_0x171d63['start']['nodeAfter']&&_0x171d63['end']['isAtStart'];}function _0x8e5c5b(_0x644deb,_0x381579,_0x459585,_0x1e45c0){const _0x404e53=_0x2b3b89=>!_0x2b3b89['item']['is']('$textProxy')&&!_0x1e45c0['isObject'](_0x2b3b89['item']),_0x34bf90=_0x644deb['start']['getLastMatchingPosition'](_0x404e53),_0x1ff753=_0x644deb['end']['getLastMatchingPosition'](_0x404e53,{'direction':'backward'});return(!_0x644deb['start']['isEqual'](_0x34bf90)||!_0x644deb['end']['isEqual'](_0x1ff753))&&(_0x34bf90['isBefore'](_0x1ff753)?_0x459585['updateMarker'](_0x381579,{'range':_0x459585['createRange'](_0x34bf90,_0x1ff753)}):_0x459585['removeMarker'](_0x381579),!0x0);}function _0x524237(_0x1dacac){return _0x16cf9f(_0x1dacac);}function _0x24dab1(_0x5e6b5b){const _0x2440f4=_0x5e6b5b['start']['nodeAfter'];return _0x2440f4&&_0x2440f4['is']('element');}function _0x194f8f(_0xc83580){return _0x432235(_0xc83580)||function(_0x3fab65){return _0x3fab65['start']['parent']==_0x3fab65['end']['nodeBefore']&&_0x3fab65['start']['isAtEnd'];}(_0xc83580);}function _0x1b3950(_0x1f178d,_0x550b04){try{const _0x16d1b6=_0x1f178d['getRange']();for(const _0x215637 of _0x550b04)if(_0x1f178d!==_0x215637&&_0x16d1b6&&_0x16d1b6['isIntersecting'](_0x215637['getRange']()))return!0x0;return!0x1;}catch{return!0x1;}}function _0x51f5dd(_0x202741,_0x440ac1){return null==_0x202741['end']['nodeBefore']&&_0x202741['end']['parent']==_0x202741['start']['nodeAfter']?_0x13ac2f(_0x202741['start']['nodeAfter'],_0x440ac1):_0x202741;}function _0x13ac2f(_0x439500,_0x26c588){const _0x545352=_0x26c588['schema']['isObject'](_0x439500)||_0x26c588['schema']['isSelectable'](_0x439500);return _0x26c588['createRange'](_0x26c588['createPositionAt'](_0x439500,'before'),_0x545352?_0x26c588['createPositionAfter'](_0x439500):_0x26c588['createPositionAt'](_0x439500,'end'));}function _0x8e4802(_0x422125,_0x3db108,_0x1441da,_0x45bd00){return!!_0x38f143(_0x422125,_0x3db108)&&_0x1441da['end']['isEqual'](_0x45bd00['start']);}function _0x38f143(_0x1363c0,_0x26903f){if(!_0x1363c0['_isDataLoaded']||!_0x26903f['_isDataLoaded'])return!0x1;const _0x28d639=new Set(Object['keys'](_0x1363c0['attributes'])),_0x1a9482=new Set(Object['keys'](_0x26903f['attributes']));if(_0x28d639['delete']('groupId'),_0x1a9482['delete']('groupId'),0x0==_0x28d639['size']&&0x0==_0x1a9482['size'])return!0x0;if(_0x28d639['size']!=_0x1a9482['size'])return!0x1;const _0x5bee5c={..._0x1363c0['attributes']},_0x42b881={..._0x26903f['attributes']};return delete _0x5bee5c['groupId'],delete _0x42b881['groupId'],JSON['stringify'](_0x5bee5c)==JSON['stringify'](_0x42b881);}function _0x1b1043(_0x45e6a3,_0x2ed40d){const _0x2c211b=_0x38c535(_0x45e6a3['attributes']),_0x55025b=_0x38c535(_0x2ed40d);if(!_0x45e6a3['_isDataLoaded'])return!0x1;for(const _0x2917f1 of Object['keys'](_0x55025b))if(!pt(_0x2c211b[_0x2917f1],_0x55025b[_0x2917f1]))return!0x1;return!0x0;}function _0x38c535(_0x5655e7){const _0x188c95=Object['assign']({},_0x5655e7);return delete _0x188c95['skipNestingCheck'],delete _0x188c95['tablePasteChainId'],_0x188c95;}function _0x4e8ac9(_0x2a45ad){return _0x2a45ad['split']('|')[0x0];}class SuggestionController extends/* #__PURE__ -- @preserve */
_0x5f37cd['ObservableMixin'](){['model'];['view'];['commentThreadController'];['_editor'];['_acceptCommand'];['_discardCommand'];['_pendingAction'];constructor(_0x53ed42,_0xf8a0e5,_0x5c4fcb,_0x2f54e){super(),this['model']=_0xf8a0e5,this['view']=_0x5c4fcb,this['commentThreadController']=_0x2f54e,this['_editor']=_0x53ed42,this['_acceptCommand']=_0x53ed42['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0x53ed42['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x454c10,_0x39bdff)=>_0x454c10||_0x39bdff),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0x45bebe=>_0x45bebe&&this['_editor']['model']['canEditAt'](_0xf8a0e5['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0x4bb681=>_0x4bb681&&this['_editor']['model']['canEditAt'](_0xf8a0e5['getRanges']())),this['_pendingAction']=null,_0x5c4fcb['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x5c4fcb,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x5c4fcb,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x5c4fcb,'change:isDirty',()=>{_0x5c4fcb['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 _0x29ed0c=_0x538d4a(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x29ed0c);}['_removePendingAction'](){null!==this['_pendingAction']&&this['_editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null;}}class BaseSuggestionThreadView extends _0x5f37cd['View']{['commentsListView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_localUser'];['_config'];constructor(_0x4b3fba,_0x53f2cb,_0x2ea77b,_0x4a9f7){super(_0x4b3fba),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new AriaDescriptionView(_0x4b3fba,_0x538d4a(_0x4b3fba,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0x53f2cb['authoredAt']),this['bind']('authoredAt')['to'](_0x53f2cb),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',_0x53f2cb,'authoredAt',this,'descriptionParts',(_0x2c9fc4,_0x1a1fd5,_0x52bbfa)=>{const _0x4ee537=_0x52bbfa['map'](_0x343fb9=>_0x3c3afa(_0x343fb9['content']))['join']('.\x20')+'.';return _0x538d4a(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0x2c9fc4-0x1,_0x53f2cb['author']['name'],_0x1a1fd5?_0x4a9f7['formatDateTime'](_0x1a1fd5):'',new DOMParser()['parseFromString'](_0x4ee537,'text/html')['body']['textContent']]);}),this['focusables']=new _0x5f37cd['ViewCollection'](),this['focusTracker']=new _0x5f37cd['FocusTracker'](),this['keystrokes']=new _0x5f37cd['KeystrokeHandler'](),this['focusCycler']=new _0x5f37cd['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x313230=>_0x313230['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0x53f2cb,this['_localUser']=_0x2ea77b,this['_config']=_0x4a9f7,_0x4a9f7['disableComments']?this['set']('length',0x1):this['_createCommentViews']();}['render'](){super['render'](),_0x17b02a(this,this['focusables']);}['focus'](){this['element']['focus']();}['destroy'](){this['commentsListView']&&this['commentsListView']['destroy'](),this['commentThreadInputView']&&this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentViews'](){const {CommentsListView:_0x492280}=this['_config'];this['commentsListView']=new _0x492280(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',_0x564518=>_0x564518+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x3d439b,_0x4a9a8a)=>_0x3d439b||!!_0x4a9a8a);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x56149f}=this['_config'],_0x51426b=new _0x56149f(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x435bae=_0x51426b['commentInputView'];return _0x51426b['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x435bae,'value',(_0x36bf27,_0x427987,_0x1a9376)=>!!_0x1a9376||_0x36bf27&&!_0x427987),_0x435bae['on']('submit',(_0x20b45d,_0x158168)=>{this['fire']('addComment',_0x158168),_0x435bae['editor']['setData']('');}),_0x435bae['on']('cancel',()=>this['focus']()),_0x435bae['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0x51426b;}}class SuggestionThreadView extends BaseSuggestionThreadView{['suggestionView'];['_descriptionElement'];constructor(_0x65e64d,_0x23f5a1,_0x8be1c8,_0x328052){super(_0x65e64d,_0x23f5a1,_0x8be1c8,_0x328052),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0xcebe41=>_0xcebe41&&_0xcebe41[0x0]?_0xcebe41[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0x45b69f,_0x47c608)=>{let _0x56d544='';for(const _0x2a8443 of _0x45b69f)_0x56d544+='<p>'+_0x3c3afa(_0x2a8443['content'],_0x2a8443['color'])+'</p>';return _0x47c608?_0x56d544:_0x335cd6(_0x56d544,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x328052['SuggestionView'](_0x65e64d,_0x23f5a1,{'formatDateTime':_0x328052['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 _0x2e6be2=this['bindTemplate'],_0x13053d=[this['suggestionView']];this['commentsListView']&&_0x13053d['push'](this['commentsListView']),this['commentThreadInputView']&&_0x13053d['push'](this['commentThreadInputView']),_0x13053d['push'](this['ariaDescriptionView']);const _0x14a6bf={'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0x2e6be2['if']('isActive','ck-suggestion-wrapper--active'),_0x2e6be2['to']('type',_0x165fab=>'ck-suggestion-'+_0x165fab),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':_0x2e6be2['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0x13053d};return _0x14a6bf;}['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 _0x5f37cd['View']{['userView'];['acceptButton'];['discardButton'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x39ad78,_0x7c8b59,_0x2f2ae5){super(_0x39ad78),this['_model']=_0x7c8b59,this['_config']=_0x2f2ae5,this['set']('description',''),this['bind']('authoredAt')['to'](_0x7c8b59),this['acceptButton']=this['_createButton'](_0x538d4a(_0x39ad78,'Accept\x20suggestion'),_0x5f37cd['IconCheck'],'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](_0x538d4a(_0x39ad78,'Discard\x20suggestion'),_0x5f37cd['IconCancel'],'ck-suggestion--discard','discardSuggestion','sw'),this['userView']=new _0x45ef72(_0x39ad78,_0x7c8b59['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['focusables']=new _0x5f37cd['ViewCollection']([this['acceptButton'],this['discardButton']]),this['focusTracker']=new _0x5f37cd['FocusTracker'](),this['keystrokes']=new _0x5f37cd['KeystrokeHandler'](),this['focusCycler']=new _0x5f37cd['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'},'keystrokeHandlerOptions':{'filter':_0x31d3ed=>_0x31d3ed['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0x5bc018=this['element']['querySelector']('.ck-annotation__content-wrapper');_0x5bc018['innerHTML']=this['description'],this['on']('change:description',(_0x5357b9,_0x34ff4e,_0x5f3875)=>{_0x5bc018['innerHTML']=_0x5f3875;}),this['_setupKeyboardNavigation']();}['getTemplate'](){const _0x5996f3=this['bindTemplate'],_0x3ee8cc=[{'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':_0x5996f3['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x5996f3['to']('authoredAt',_0x1c7242=>this['_config']['formatDateTime'](_0x1c7242))}]}]},{'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']&&_0x3ee8cc['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':_0x3ee8cc}]};}['focus'](){this['element']['focus']();}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?_0x538d4a(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):_0x538d4a(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['getExternalSuggestionNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?_0x538d4a(this['locale'],'EXTERNAL_IMPORT_WORD_SUGGESTION'):_0x538d4a(this['locale'],'EXTERNAL_SUGGESTION');}['_createButton'](_0x482b03,_0x52811b,_0x52fd8b,_0x312fe7,_0x1f1155){const _0x1d32f4=new LateFocusButtonView(this['locale']);return _0x1d32f4['set']({'label':_0x482b03,'icon':_0x52811b,'tooltip':!0x0,'tooltipPosition':_0x1f1155}),_0x1d32f4['extendTemplate']({'attributes':{'class':_0x52fd8b}}),_0x1d32f4['on']('execute',()=>{this['fire'](_0x312fe7,this['_model']['id']);}),_0x1d32f4;}['_setupKeyboardNavigation'](){const _0x5a831a=this['element'];this['keystrokes']['listenTo'](_0x5a831a);for(const _0x4f4f8c of this['focusables'])this['focusTracker']['add'](_0x4f4f8c['element']),this['keystrokes']['listenTo'](_0x4f4f8c['element']);this['keystrokes']['set']('enter',(_0x3dc75a,_0x8cddce)=>{_0x5a831a===_0x3dc75a['target']&&(this['focusCycler']['focusFirst'](),_0x8cddce());}),this['keystrokes']['set']('esc',(_0x12d230,_0x1e49af)=>{_0x5a831a!==_0x12d230['target']&&(this['focus'](),_0x1e49af());});}}class _0xf7059c extends _0x5f37cd['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_suggestionToController'];['_viewToController'];['_annotationViews'];['_handleControllerBuffer'];['_disableComments'];static get['requires'](){return[TrackChangesEditing,_0x4e0926,CommentsRepository,Annotations,EditorAnnotations];}static get['pluginName'](){return'TrackChangesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x39efbf){super(_0x39efbf),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0x1fb604=this['editor']['config'];_0x1fb604['define']('trackChanges.SuggestionThreadView',SuggestionThreadView),_0x1fb604['define']('trackChanges.SuggestionView',SuggestionView),_0x1fb604['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x1fb604['get']('trackChanges.disableComments');}['_handleSuggestionControllerDelayed'](_0x55cc01,_0x290516){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0x3e4ad0,_0x5069f2]of this['_handleControllerBuffer']){const _0x1add5e=this['_suggestionToController']['has'](_0x3e4ad0);_0x1add5e||_0x5069f2?_0x1add5e&&_0x5069f2&&this['_destroyController'](_0x3e4ad0):this['_initializeController'](_0x3e4ad0);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get'](EditorAnnotations)['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0x55cc01,_0x290516);}['init'](){const _0x409708=this['editor'],_0x4af9d6=_0x409708['plugins']['get'](TrackChangesEditing),_0x2284cd=_0x409708['plugins']['get'](Annotations),_0x55ab19=_0x409708['plugins']['get'](EditorAnnotations),_0x4fa419=_0x409708['plugins']['get'](CommentsRepository);this['_addUIComponentsToFactory'](),_0x55ab19['addSourceCollector'](()=>{const _0x539eed=[];for(const [_0x3a7bb6,_0x46a806]of Array['from'](this['_suggestionToController'])){const _0xe98f0a=_0x3a7bb6['getAllAdjacentSuggestions'](),_0x5a6e27=[];for(const _0xce8df6 of _0xe98f0a){if(!_0xce8df6['isInContent'])continue;if(_0xce8df6['isMultiRange']){_0x5a6e27['push'](..._0xce8df6['getRanges']());continue;}const _0x1587a=_0xce8df6['getFirstRange']();if(_0x5a6e27['length']>0x0){const _0x3e15da=_0x5a6e27[0x0]['getJoined'](_0x1587a);if(_0x3e15da){_0x5a6e27[0x0]=_0x3e15da;continue;}}_0x5a6e27['push'](_0x1587a);}_0x539eed['push']([_0x46a806['view'],_0x5a6e27]);}return _0x539eed;}),this['listenTo'](_0x4af9d6,'suggestionLoaded',(_0xa18ac8,_0x387afa)=>{this['listenTo'](_0x387afa,'change:previous',(_0x2a2bd8,_0x498cc0,_0xf73401,_0x572600)=>{_0x387afa['isInContent']&&(null==_0xf73401?(this['_updateController'](_0x572600['head']),this['_handleSuggestionControllerDelayed'](_0x387afa,!0x1)):(this['_updateController'](_0xf73401['head']),null==_0x572600&&this['_handleSuggestionControllerDelayed'](_0x387afa,!0x0)));}),null!==_0x387afa['previous']?this['_updateController'](_0x387afa['head']):this['_handleSuggestionControllerDelayed'](_0x387afa,!0x1);}),this['listenTo'](_0x4af9d6,'suggestionUnloaded',(_0x3c2f49,_0x1ed57f,_0x50102c)=>{this['stopListening'](_0x1ed57f,'change:previous'),this['_handleControllerBuffer']['delete'](_0x1ed57f),this['_suggestionToController']['has'](_0x1ed57f)&&this['_destroyController'](_0x1ed57f),_0x50102c&&this['_updateController'](_0x50102c['head']);}),this['listenTo'](_0x4af9d6,'suggestionChanged',(_0x26bdb2,_0x2ffedd)=>{this['_updateController'](_0x2ffedd);}),this['listenTo'](_0x2284cd,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0x4fa419,'addComment',(_0x1f5b8c,{threadId:_0x5f42c3,isFromAdapter:_0x189050})=>{if(_0x189050||!_0x4af9d6['hasSuggestion'](_0x5f42c3))return;const _0x4e8bdf=_0x4af9d6['getSuggestion'](_0x5f42c3);this['_suggestionToController']['get'](_0x4e8bdf)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x300170=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x13f12b;for(const _0x2de047 in _0x300170){const _0x1f48f1=_0x2de047,_0x2fa7eb=_0x300170[_0x1f48f1];if('trackChangesLicenseKeyValid'==_0x2fa7eb||'trackChangesLicenseKeyInvalid'==_0x2fa7eb||'trackChangesLicenseKeyExpired'==_0x2fa7eb||'trackChangesLicenseKeyDomainLimit'==_0x2fa7eb||'trackChangesLicenseKeyNotAllowed'==_0x2fa7eb||'trackChangesLicenseKeyEvaluationLimit'==_0x2fa7eb||'trackChangesLicenseKeyUsageLimit'==_0x2fa7eb){delete _0x300170[_0x1f48f1],_0x13f12b=_0x2fa7eb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0x13f12b&&_0x300170['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0x13f12b&&_0x300170['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0x13f12b&&_0x300170['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0x13f12b&&_0x300170['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0x13f12b&&_0x300170['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyUsageLimit'==_0x13f12b&&_0x300170['_showLicenseError']('usageLimit');},0x3e8);}['getAnnotationForSuggestion'](_0x3dfc6b){const _0x7a249b=this['_suggestionToController']['get'](_0x3dfc6b);if(!_0x7a249b)return null;return this['editor']['plugins']['get'](Annotations)['getByInnerView'](_0x7a249b['view'])||null;}['getSuggestionForAnnotation'](_0x41862e){const _0x40966c=this['_viewToController']['get'](_0x41862e['innerView']);return _0x40966c?_0x40966c['model']:null;}['_refreshActiveMarkers'](){const _0x4da5ec=this['editor']['plugins']['get'](Annotations),_0x2b7ebb=this['editor']['plugins']['get'](TrackChangesEditing),_0x7948cc=Array['from'](_0x4da5ec['activeAnnotations'],_0x3d75c8=>_0x3d75c8['innerView'])['filter'](_0x408447=>this['_viewToController']['has'](_0x408447)),_0x171416=[];for(const _0x301e3a of _0x7948cc){const _0x3cb794=this['_viewToController']['get'](_0x301e3a)['model']['getAllAdjacentSuggestions']();_0x171416['push'](..._0x3cb794['reduce']((_0x22c4be,_0x5bc30e)=>[..._0x22c4be,..._0x5bc30e['getMarkerNames']()],[]));}_0x2b7ebb['activeMarkers']=_0x171416;}['_addUIComponentsToFactory'](){const _0x490c9a=this['editor'],_0x44383f=_0x490c9a['locale'],_0x3b517c=_0x538d4a(_0x44383f,'Track\x20changes'),_0x30eef7=new _0x5f37cd['Collection']([{'type':'switchbutton','model':new _0x5f37cd['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x3b517c,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new _0x5f37cd['UIModel']({'withText':!0x0,'label':_0x538d4a(_0x44383f,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new _0x5f37cd['UIModel']({'withText':!0x0,'label':_0x538d4a(_0x44383f,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new _0x5f37cd['UIModel']({'withText':!0x0,'label':_0x538d4a(_0x44383f,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new _0x5f37cd['UIModel']({'withText':!0x0,'label':_0x538d4a(_0x44383f,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0x490c9a['plugins']['has']('TrackChangesPreview')&&_0x30eef7['addMany']([{'type':'separator'},{'type':'button','model':new _0x5f37cd['UIModel']({'withText':!0x0,'label':_0x538d4a(_0x44383f,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x456d98 of _0x30eef7)if(_0x1e8dfe(_0x456d98)){const _0x2f7e17=_0x490c9a['commands']['get'](_0x456d98['model']['commandName']);_0x456d98['model']['bind']('isOn','isEnabled')['to'](_0x2f7e17,'value','isEnabled');}_0x490c9a['ui']['componentFactory']['add']('trackChanges',_0x11e888=>this['_createToolbarButton'](_0x11e888,_0x30eef7,_0x3b517c)),_0x490c9a['ui']['componentFactory']['add']('menuBar:trackChanges',_0x20dacc=>this['_createMenuBarMenu'](_0x20dacc,_0x30eef7,_0x3b517c));}['_createToolbarButton'](_0x66a1e,_0x17744f,_0x4a3fdf){const _0x1834cf=_0x5f37cd['createDropdown'](_0x66a1e,_0x5f37cd['SplitButtonView']),_0x2fcf2c=this['editor']['commands']['get']('trackChanges');_0x1834cf['buttonView']['set']({'tooltip':_0x4a3fdf,'label':_0x4a3fdf,'icon':_0x5f37cd['IconTrackChanges']}),_0x1834cf['buttonView']['bind']('isOn')['to'](_0x2fcf2c,'value'),_0x1834cf['buttonView']['on']('execute',()=>{_0x2fcf2c['execute'](),this['editor']['editing']['view']['focus']();}),_0x5f37cd['addListToDropdown'](_0x1834cf,_0x17744f,{'role':'menu'});const _0x32a0a9=[];for(const _0x546636 of _0x17744f)_0x1e8dfe(_0x546636)&&_0x32a0a9['push'](this['editor']['commands']['get'](_0x546636['model']['commandName']));const _0x49333b=_0x1834cf['buttonView'];return _0x49333b['actionView']['unbind']('isEnabled'),_0x49333b['arrowView']['unbind']('isEnabled'),_0x49333b['actionView']['bind']('isEnabled')['to'](_0x2fcf2c,'isEnabled'),_0x49333b['arrowView']['bind']('isEnabled')['toMany'](_0x32a0a9,'isEnabled',(..._0x30cf7d)=>_0x30cf7d['some'](_0x18e886=>_0x18e886)),_0x1834cf['on']('execute',_0x285429=>{this['editor']['execute'](_0x285429['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0x1834cf;}['_createMenuBarMenu'](_0xf0358a,_0x354e10,_0xd58682){const _0x177485=new _0x5f37cd['MenuBarMenuView'](_0xf0358a),_0x4fba18=this['editor']['commands']['get']('trackChanges');_0x177485['buttonView']['set']({'label':_0xd58682,'icon':_0x5f37cd['IconTrackChanges']});const _0x5888cb=new _0x5f37cd['MenuBarMenuListView'](_0xf0358a);for(const _0x3aa580 of _0x354e10){if('separator'==_0x3aa580['type']){_0x5888cb['items']['add'](new _0x5f37cd['ListSeparatorView'](_0xf0358a));continue;}const _0x26e226=new _0x5f37cd['MenuBarMenuListItemView'](_0xf0358a,_0x177485),_0x147a9d=new _0x5f37cd['MenuBarMenuListItemButtonView'](_0xf0358a),_0x5ca8a4=_0x3aa580['model'];_0x147a9d['bind'](...Object['keys'](_0x5ca8a4))['to'](_0x5ca8a4),_0x147a9d['delegate']('execute')['to'](_0x177485),_0x147a9d['on']('execute',()=>{this['editor']['execute'](_0x5ca8a4['commandName']),this['editor']['editing']['view']['focus']();}),_0x26e226['children']['add'](_0x147a9d),_0x5888cb['items']['add'](_0x26e226);}return _0x177485['bind']('isEnabled')['to'](_0x4fba18,'isEnabled'),_0x177485['panelView']['children']['add'](_0x5888cb),_0x177485;}['_initializeController'](_0xa0b2b5){const _0xc7aac5=this['editor'],_0x302667=_0xc7aac5['config'],_0x3426e7=_0xc7aac5['plugins']['get'](Annotations),_0x57d312=_0xc7aac5['plugins']['get'](CommentsRepository),_0x3ddd5e=_0xc7aac5['plugins']['get'](EditorAnnotations),_0x166c9d=_0xc7aac5['plugins']['get'](_0x4e0926)['me'],_0x590078=_0x302667['get']('trackChanges')['SuggestionThreadView'],_0x520b8c=_0x302667['get']('trackChanges')['SuggestionView'],{CommentsListView:_0x59a450,CommentThreadInputView:_0x2b5ee3}=_0xc7aac5['plugins']['get']('CommentsUI');let _0x77fc83,_0x5c516d,_0x392b32;this['_annotationViews']['has'](_0xa0b2b5['id'])?(_0x5c516d=this['_annotationViews']['get'](_0xa0b2b5['id']),_0x77fc83=_0x5c516d['mainView']):(_0x77fc83=new _0x590078(_0xc7aac5['locale'],_0xa0b2b5,_0x166c9d,{'disableComments':this['_disableComments'],'editorConfig':{..._0x302667['get']('comments.editorConfig'),'licenseKey':_0x302667['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x302667['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x302667['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x302667['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':ta(_0x302667['get']('locale'),_0xc7aac5['locale']),'CommentView':_0x302667['get']('comments')['CommentView'],'CommentsListView':_0x59a450,'CommentThreadInputView':_0x2b5ee3,'SuggestionView':_0x520b8c}),_0x77fc83['suggestionView']['acceptButton']['on']('execute',()=>{_0xc7aac5['editing']['view']['focus']();}),_0x77fc83['suggestionView']['discardButton']['on']('execute',()=>{_0xc7aac5['editing']['view']['focus']();}),_0x5c516d=_0x3426e7['createAnnotationView'](this['editor']['locale'],_0x77fc83),_0x5c516d['bind']('isDirty')['to'](_0x77fc83,'isDirty'),_0x5c516d['bind']('length')['to'](_0x77fc83),_0x5c516d['bind']('type')['to'](_0x77fc83,'type',_0x2b68de=>'suggestion-'+_0x2b68de),_0x77fc83['on']('escape',()=>{_0x392b32['fire']('escape');}),this['_annotationViews']['set'](_0xa0b2b5['id'],_0x5c516d));const _0x35b345=_0x57d312['createCommentThreadController'](_0xa0b2b5['commentThread'],_0x77fc83),_0xc67c96=new SuggestionController(_0xc7aac5,_0xa0b2b5,_0x77fc83,_0x35b345),_0x1e07b2=_0xa0b2b5['getAllAdjacentSuggestions']()['filter'](_0x473b3b=>_0x473b3b['isInContent']);_0x77fc83['descriptionParts']=_0xc7aac5['plugins']['get'](TrackChangesEditing)['descriptionFactory']['getDescriptions'](_0x1e07b2),this['_suggestionToController']['set'](_0xa0b2b5,_0xc67c96),this['_viewToController']['set'](_0x77fc83,_0xc67c96);const _0x289926=()=>{const _0x3c2063=[],_0x156918=_0xa0b2b5['getAllAdjacentSuggestions']()['filter'](_0x1430a7=>_0x1430a7['isInContent']);for(const _0x338e3e of _0x156918)_0x3c2063['push'](..._0x338e3e['getMarkers']());return _0x9c6d55(_0xc7aac5['editing'],_0x3c2063);};_0x392b32=_0x3426e7['createAnnotation']({'view':_0x5c516d,'target':_0x289926,'type':()=>'suggestion-'+_0xc67c96['view']['type'],'isVisible':!!_0x289926()}),_0x57d312['_bindAnnotationToEditors'](_0x77fc83,_0x392b32),_0x3426e7['add'](_0x392b32),_0x3ddd5e['registerAnnotation'](_0x392b32);}['_destroyController'](_0x3681c0){const _0x4415e8=this['editor']['plugins']['get'](CommentsRepository),_0x517688=this['editor']['plugins']['get'](Annotations),_0x16f8af=this['_suggestionToController']['get'](_0x3681c0),_0x54de2c=_0x16f8af['view'],_0x44b2b4=_0x517688['getByInnerView'](_0x54de2c);_0x4415e8['_unbindEditors'](_0x54de2c),_0x44b2b4&&_0x517688['remove'](_0x44b2b4),this['_suggestionToController']['delete'](_0x3681c0),this['_viewToController']['delete'](_0x54de2c),_0x16f8af['destroy']();}['_updateController'](_0x240c99){if(!_0x240c99['isInContent']||!this['_suggestionToController']['has'](_0x240c99))return;const _0x2c023b=this['editor']['plugins']['get'](TrackChangesEditing),_0x57424d=this['_suggestionToController']['get'](_0x240c99),_0x1549d2=_0x240c99['getAllAdjacentSuggestions']();_0x57424d['view']['descriptionParts']=_0x2c023b['descriptionFactory']['getDescriptions'](_0x1549d2);}['destroy'](){for(const _0x243d89 of this['_suggestionToController']['keys']())this['_destroyController'](_0x243d89);for(const _0x1d36f1 of this['_annotationViews']['values']())_0x1d36f1['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function _0x1e8dfe(_0xebfe95){return'model'in _0xebfe95;}class _0x39356b extends _0x5f37cd['Plugin']{static get['requires'](){return[TrackChangesEditing,_0xf7059c,Comments];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set['adapter'](_0x4df5cb){this['editor']['plugins']['get'](TrackChangesEditing)['adapter']=_0x4df5cb;}get['adapter'](){return this['editor']['plugins']['get'](TrackChangesEditing)['adapter'];}['addSuggestion'](_0x3b39c1){return this['editor']['plugins']['get'](TrackChangesEditing)['addSuggestionData'](_0x3b39c1);}['getSuggestions']({skipNotAttached:_0x1b8550=!0x1,toJSON:_0x1cb1b2=!0x1}={}){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestions']({'skipNotAttached':_0x1b8550,'toJSON':_0x1cb1b2});}['getSuggestion'](_0x3de058){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestion'](_0x3de058);}}const _0x568f7f=['Pagination'];class TrackChangesData extends _0x5f37cd['Plugin']{static get['requires'](){return[TrackChangesEditing];}static get['pluginName'](){return'TrackChangesData';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x15a5e2=this['editor'];if(_0x15a5e2['config']['define']('trackChangesData.editorCreator',_0x28ac23=>{const _0x9efc32=_0x15a5e2['model']['document']['getRootNames']()['reduce']((_0x327648,_0x402ba9)=>(_0x327648[_0x402ba9]='',_0x327648),{});return _0x15a5e2['constructor']['create'](_0x9efc32,_0x28ac23);}),'function'!=typeof _0x15a5e2['config']['get']('trackChangesData')['editorCreator'])throw new _0x5f37cd['CKEditorError']('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x19cd6a){return _0x5477f3(this['editor'],!0x0,_0x19cd6a);}['getDataWithDiscardedSuggestions'](_0x343d95){return _0x5477f3(this['editor'],!0x1,_0x343d95);}}class TrackChangesDataGetter extends _0x5f37cd['Plugin']{['result'];static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x57b856){function _0x258e5c(_0x384f54){return _0x384f54['map'](_0x14e578=>String['fromCharCode'](_0x14e578))['join']('');}super(_0x57b856),this['result']='end',_0x57b856[_0x258e5c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x258e5c([0x76,0x69,0x65,0x77])][_0x258e5c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x258e5c([0x61,0x75,0x74,0x6f]),_0x57b856[_0x258e5c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x258e5c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x258e5c([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x258e5c([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x258e5c([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 _0x4c29b3(_0x2c45c9){return void 0x0!==_0x2c45c9['getRootsAttributes'];}async function _0x5477f3(_0x23e0cd,_0x1a8b3b,_0x360965){const _0x54cd9e=_0x42b075(_0x23e0cd,_0x568f7f);if(_0x54cd9e['plugins']['push'](TrackChangesEditing,TrackChangesDataGetter),_0x4c29b3(_0x23e0cd)){_0x54cd9e['roots']=Object['create'](null);for(const _0x1b8746 of _0x23e0cd['model']['document']['getRootNames']())_0x54cd9e['roots'][_0x1b8746]={'modelAttributes':_0x23e0cd['getRootAttributes'](_0x1b8746)};}const _0x412095=document['createDocumentFragment'](),_0x16eb71=_0x23e0cd['config']['get']('trackChangesData')['editorCreator'],_0x4f17e1=await _0x16eb71(_0x54cd9e,()=>function(_0x59b292){const _0xe1a80a=document['createElement']('div');return _0x59b292['appendChild'](_0xe1a80a),_0xe1a80a;}(_0x412095));!function(_0x213aa4,_0x38f291){const _0x9313cf=_0x213aa4['model']['document']['getRootNames']()['reduce']((_0x27e32b,_0x23b5ef)=>(_0x27e32b[_0x23b5ef]=_0x213aa4['data']['get']({'rootName':_0x23b5ef}),_0x27e32b),{}),_0xb8dbbd=_0x213aa4['plugins']['get']('Users')['users']['map'](_0x4e6a2f=>({'id':_0x4e6a2f['id'],'name':_0x4e6a2f['name']})),_0x319125=_0x213aa4['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x462e2d=_0x213aa4['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x178bea=_0x38f291['plugins']['get']('Users'),_0x18a226=_0x38f291['plugins']['get']('TrackChangesEditing'),_0x58eec3=_0x38f291['plugins']['get']('CommentsRepository');for(const _0xf9dc7 of _0x58eec3['getCommentThreads']())_0xf9dc7['remove']();for(const _0xfe55b1 of _0xb8dbbd)_0x178bea['getUser'](_0xfe55b1['id'])||_0x178bea['addUser'](_0xfe55b1);_0x178bea['me']||_0x178bea['useAnonymousUser']();for(const _0x20e458 of _0x462e2d)_0x58eec3['addCommentThread'](_0x20e458);for(const _0x42cdcc of _0x319125)_0x18a226['addSuggestionData'](_0x42cdcc);_0x38f291['data']['set'](_0x9313cf);}(_0x23e0cd,_0x4f17e1),_0x4f17e1['execute'](_0x1a8b3b?'acceptAllSuggestions':'discardAllSuggestions');const _0x39dc95=_0x4c29b3(_0x4f17e1)?_0x4f17e1['getFullData'](_0x360965):_0x4f17e1['data']['get'](_0x360965);return await _0x4f17e1['destroy'](),_0x39dc95;}class _0xb1dfb2 extends _0x5f37cd['View']{['options'];constructor(_0x3af4aa,_0x2c6999){super(_0x3af4aa),this['options']=_0x2c6999,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'](_0x585006,_0x47af3a){if(!this['element'])return;const _0x50daf5=[];for(const [_0x578e4d,_0x1fbc07]of _0x585006){const _0x4ea927=document['createElement']('div');_0x4ea927['setAttribute']('data-ck-root-name',_0x578e4d),_0x4ea927['className']=_0x1fbc07['classes']+'\x20ck-track-changes-preview__root-container',_0x4ea927['innerHTML']=_0x1fbc07['content'],_0x50daf5['push'](_0x4ea927);}_0x47af3a(this['element'],_0x50daf5),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}}class PreviewFinalContentCommand extends _0x5f37cd['Command']{constructor(_0x37ef4d){super(_0x37ef4d),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x1f4707=this['editor'],_0x1da6e2=_0x1f4707['locale'],_0x57ac11=_0x1f4707['plugins']['get']('Dialog');let _0x2fc082;const _0x2dad4c=function(_0x5d873b){const _0x578fe2={};if('editables'in _0x5d873b['ui']['view']){for(const [_0xf2d440,_0x2a0324]of Object['entries'](_0x5d873b['ui']['view']['editables']))_0x578fe2[_0xf2d440]=_0x2a0324['element'];}else _0x578fe2[_0x5d873b['model']['document']['getRootNames']()[0x0]]=_0x5d873b['ui']['view']['editable']['element'];return _0x578fe2;}(_0x1f4707),_0x412906=function(_0x50620d){let _0x209cfd=0x0;for(const _0x215c31 of Object['values'](_0x50620d))_0x209cfd=Math['max'](_0x209cfd,_0x215c31['getBoundingClientRect']()['width']);let _0x1776dd=0x0;for(const _0x2bd448 of Object['values'](_0x50620d))_0x1776dd+=_0x2bd448['getBoundingClientRect']()['height'];const _0x4da119=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']),_0x8ca1bc=Math['min'](_0x1776dd,_0x4da119);return{'width':_0x209cfd,'height':_0x8ca1bc};}(_0x2dad4c);_0x57ac11['show']({'id':'finalContentPreview','title':_0x538d4a(_0x1da6e2,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new _0xb1dfb2(_0x1da6e2,{'dialogRects':_0x412906}),'onHide':()=>{_0x2fc082['detachFromDom']();},'onShow':()=>{_0x1f4707['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0x43ad9a=>{const _0x2f995e=this['_standarizeRootsData'](_0x43ad9a,_0x1f4707,_0x2dad4c);_0x57ac11['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0x2f995e,_0x1f4707['config']['get']('trackChanges.preview.renderFunction'));}),_0x2fc082=new _0x5f37cd['BodyCollection'](_0x1da6e2,[_0x57ac11['view']]),_0x2fc082['attachToDom'](),_0x2fc082['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0x1f4707['once']('destroy',()=>{_0x2fc082['detachFromDom']();});const _0x182722=_0x57ac11['view']['headerView']['class'];_0x57ac11['view']['headerView']['class']=_0x182722?_0x182722+'\x20ck-reset_all':'ck-reset_all',_0x57ac11['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x57ac11['view']['updatePosition']();});}});}['_getMergeFieldsData'](){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0x39ddb8=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x4c66ee=_0x39ddb8['previewMode'],_0x1b274e={};if('$labels'===_0x4c66ee){for(const _0x436614 of _0x39ddb8['getMergeFieldsIds']())_0x1b274e[_0x436614]=_0x39ddb8['getLabel'](_0x436614)||_0x436614;}else{const _0x4e3878='$defaultValues'===_0x4c66ee?_0x39ddb8['getDefaultValues']():_0x39ddb8['getDataSetValues'](_0x4c66ee,!0x0);for(const _0xbac4e0 of Object['entries'](_0x4e3878)){const [_0x27fe0,_0x205e4c]=_0xbac4e0;_0x1b274e[_0x27fe0]=null!==_0x205e4c?_0x205e4c:_0x39ddb8['getLabel'](_0x27fe0)||_0x27fe0;}}return{'mergeFieldsData':_0x1b274e};}['_standarizeRootsData'](_0x2c8efc,_0x5dd0b9,_0x469854){let _0x484051;if('string'==typeof _0x2c8efc){const _0x50b25b=_0x5dd0b9['model']['document']['getRootNames']()[0x0];_0x484051={[_0x50b25b]:_0x2c8efc};}else _0x484051=_0x2c8efc;const _0xede3d6=this['_fixMediaEmbeds'](_0x484051,_0x5dd0b9),_0x289bdd=function(_0x3cf5b9,_0x1dc998){for(const [_0x52acc2,_0x206ce5]of _0x3cf5b9)_0x206ce5['classes']=_0x1dc998[_0x52acc2]['classList']['value']['replace']('ck-focused','');return _0x3cf5b9;}(this['_sortRoots'](_0x5dd0b9)['reduce']((_0x41cb0e,_0x38ac58)=>(_0x41cb0e['push']([_0x38ac58,{'content':_0xede3d6[_0x38ac58],'classes':''}]),_0x41cb0e),[]),_0x469854);return _0x289bdd;}['_fixMediaEmbeds'](_0xddf4f8,_0x6d6f35){if(!_0x6d6f35['plugins']['has']('MediaEmbedEditing'))return _0xddf4f8;const _0x2f4146=_0x6d6f35['plugins']['get']('MediaEmbedEditing');for(const [_0x2e51ad,_0x495301]of Object['entries'](_0xddf4f8)){const _0x262b8a=document['createElement']('div');_0x262b8a['innerHTML']=_0x495301,(_0x262b8a['querySelectorAll']('figure.media')['forEach'](_0x294928=>{const _0x44a49c=_0x294928['querySelector']('oembed');if(_0x44a49c){const _0x10b5ea=_0x44a49c['getAttribute']('url');if(_0x10b5ea){const _0x5ff88a=_0x2f4146['registry']['getMediaViewElement'](new _0x5f37cd['ViewDowncastWriter'](_0x6d6f35['editing']['view']['document']),_0x10b5ea,{'elementName':'','renderForEditingView':!0x0}),_0x522e78=document['createElement']('div');_0x522e78['classList']['add']('ck-media__wrapper'),_0x5ff88a['render'](_0x522e78,_0x6d6f35['editing']['view']['domConverter']),_0x44a49c['replaceWith'](_0x522e78);}}}),_0xddf4f8[_0x2e51ad]=_0x262b8a['innerHTML']);}return _0xddf4f8;}['_sortRoots'](_0x55db3a){if(!function(_0x434fb2){return void 0x0!==_0x434fb2['getRootsAttributes'];}(_0x55db3a))return _0x55db3a['model']['document']['getRootNames']();const _0x31c8ea=[],_0x3bf025=new Map();for(const _0x18fc0b of _0x55db3a['model']['document']['getRootNames']()){const _0xf0d9cb=_0x55db3a['editing']['view']['getDomRoot'](_0x18fc0b)['getClientRects']()['item'](0x0);_0x31c8ea['push'](_0x18fc0b),_0x3bf025['set'](_0x18fc0b,_0xf0d9cb);}return _0x31c8ea['sort']((_0x2358e3,_0x22dcdd)=>{const _0x9a377=_0x3bf025['get'](_0x2358e3),_0x20fa2d=_0x3bf025['get'](_0x22dcdd);return _0x9a377['y']-_0x20fa2d['y']||_0x9a377['x']-_0x20fa2d['x'];}),_0x31c8ea;}}class _0x11c89f extends _0x5f37cd['Plugin']{static get['requires'](){return[TrackChangesData,_0x5f37cd['Dialog']];}static get['pluginName'](){return'TrackChangesPreview';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5b86f1){super(_0x5b86f1),_0x5b86f1['commands']['add']('previewFinalContent',new PreviewFinalContentCommand(this['editor'])),_0x5b86f1['config']['define']('trackChanges.preview.renderFunction',(_0x186c62,_0x29d5a0)=>{for(const _0xdb7f5c of _0x29d5a0)_0x186c62['appendChild'](_0xdb7f5c);});}}class CloudServicesCommentsAdapter extends _0x5f37cd['ContextPlugin']{static ['CommentsService']=/* #__PURE__ -- @preserve */
((()=>CommentsService)());['_services'];static get['requires'](){return[WebSocketGateway,CommentsRepository,_0x59e0d0,_0x4e0926];}static get['pluginName'](){return'CloudServicesCommentsAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x21f4ec){super(_0x21f4ec),this['_services']=new Map();}async['init'](){const _0x35b598=this['context'],_0x5aa76a=_0x35b598['plugins']['get'](CommentsRepository);if(_0x35b598['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),_0x5aa76a['adapter']={'addCommentThread':async({channelId:_0x1a9935,threadId:_0x235d82,comments:_0x159d07,resolvedAt:_0x5ca362,resolvedBy:_0x28b45e,context:_0x1c317f,attributes:_0x4e4c46})=>{const _0x3df9a5=await this['_getService'](_0x1a9935)['addCommentThread']({'commentThreadId':_0x235d82,'comments':_0x159d07['map'](_0x13f2cc=>function(_0x81285b,_0x42cbc7,_0x5d1d5c){return{'commentThreadId':_0x5d1d5c,'commentId':_0x81285b['commentId'],'userId':_0x81285b['authorId'],'content':_0x81285b['content'],'documentId':_0x42cbc7,'createdAt':_0x81285b['createdAt'],'attributes':_0x81285b['attributes']||{}};}(_0x13f2cc,_0x1a9935,_0x235d82)),'resolvedAt':_0x5ca362,'resolvedBy':_0x28b45e,'context':_0x1c317f,'attributes':_0x4e4c46})['catch'](_0x3b7084);return{'threadId':_0x3df9a5['commentThreadId'],'comments':_0x3df9a5['comments']};},'getCommentThread':async({channelId:_0x3eab56,threadId:_0x104ead})=>{const _0x7d768b=await this['_getService'](_0x3eab56)['getCommentThread'](_0x104ead)['catch'](_0x435d03)['catch'](_0x3b7084);return _0x7d768b?_0x7d768b['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0x7d768b]),{'threadId':_0x7d768b['commentThreadId'],'comments':_0x7d768b['comments']['map'](_0x122ccc),'context':_0x7d768b['context'],'resolvedAt':_0x7d768b['resolvedAt'],'resolvedBy':_0x7d768b['resolvedBy'],'attributes':_0x7d768b['attributes']||{}}):null;},'updateCommentThread':async({channelId:_0x2288fc,threadId:_0x388822,context:_0x1d309e,unlinkedAt:_0x7f3372,attributes:_0x228ef7})=>this['_getService'](_0x2288fc)['updateCommentThread']({'commentThreadId':_0x388822,'context':_0x1d309e,'attributes':_0x228ef7,'unlinkedAt':_0x7f3372})['catch'](_0x435d03)['catch'](_0x3b7084),'resolveCommentThread':async({channelId:_0x9a113f,threadId:_0xf1e497})=>{const _0x515be2=await this['_getService'](_0x9a113f)['resolveCommentThread'](_0xf1e497)['catch'](_0x435d03)['catch'](_0x3b7084);return{'threadId':_0x515be2['commentThreadId'],'resolvedAt':_0x515be2['resolvedAt'],'resolvedBy':_0x515be2['resolvedBy']};},'reopenCommentThread':async({channelId:_0x74c8d8,threadId:_0x1616f1})=>this['_getService'](_0x74c8d8)['reopenCommentThread'](_0x1616f1)['catch'](_0x435d03)['catch'](_0x3b7084),'removeCommentThread':({channelId:_0x384fba,threadId:_0x25ec01})=>this['_getService'](_0x384fba)['removeCommentThread'](_0x25ec01)['catch'](_0x435d03)['catch'](_0x3b7084),'addComment':({channelId:_0x42419a,threadId:_0xbce275,commentId:_0x5392c2,content:_0x294450,attributes:_0x48a8d3})=>this['_getService'](_0x42419a)['addComment'](_0xbce275,_0x5392c2,_0x294450,_0x48a8d3)['catch'](_0x3b7084),'updateComment':({channelId:_0xa5c7e5,threadId:_0x4ef169,commentId:_0x40d851,content:_0x5c2194,attributes:_0x542345})=>this['_getService'](_0xa5c7e5)['updateComment'](_0x4ef169,_0x40d851,_0x5c2194,_0x542345)['catch'](_0x435d03)['catch'](_0x3b7084),'removeComment':({channelId:_0x319491,threadId:_0x56bf9f,commentId:_0x2e1d9c})=>this['_getService'](_0x319491)['removeComment'](_0x56bf9f,_0x2e1d9c)['catch'](_0x435d03)['catch'](_0x3b7084)},_0x35b598 instanceof _0x5f37cd['Context']){const _0x4d757e=_0x35b598['config']['get']('collaboration.channelId'),_0x1d11a7=_0x35b598['plugins']['get'](_0x59e0d0);await this['_setUpService'](_0x4d757e);const _0x116ffa=await this['_services']['get'](_0x4d757e)['getConnectedSessions']();this['listenTo'](_0x1d11a7,'sessionAdd:'+_0x4d757e,(_0x443a5f,{session:_0x59d5fa})=>{_0x59d5fa['id']===_0x1d11a7['mySessionId']&&(_0x443a5f['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0x59d5fa['permissions'],_0x4d757e));}),_0x1d11a7['register'](_0x4d757e,_0x116ffa);}}async['_setUpService'](_0x556628){if(this['_services']['has'](_0x556628))throw new _0x5f37cd['CKEditorError']('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0x556628});const _0x5c8eb4=this['context']['plugins']['get'](CommentsRepository),_0x1857c4=new CloudServicesCommentsAdapter['CommentsService'](_0x556628);this['_services']['set'](_0x556628,_0x1857c4),this['listenTo'](_0x1857c4,'commentThreadAdded',(_0x3d5f29,_0x5bd806)=>{const {commentThreadId:_0x255aba,documentId:_0x4de25e,context:_0x1b5fbb,attributes:_0x2fb332,resolvedAt:_0x3e9e56,resolvedBy:_0x519e52,comments:_0x3353c4}=_0x5bd806;_0x5c8eb4['getCommentThread'](_0x255aba)||_0x5c8eb4['addCommentThread']({'threadId':_0x255aba,'channelId':_0x4de25e,'comments':_0x3353c4?_0x3353c4['map'](_0x122ccc):[],'context':_0x1b5fbb,'attributes':_0x2fb332,'resolvedAt':_0x3e9e56,'resolvedBy':_0x519e52,'isFromAdapter':!0x0});}),this['listenTo'](_0x1857c4,'commentThreadUpdated',(_0x3ce4f3,{commentThreadId:_0x3e3823,documentId:_0x3f6082,context:_0x34c747,unlinkedAt:_0x2642d7,attributes:_0x2bfbb6})=>{_0x5c8eb4['getCommentThread'](_0x3e3823)&&_0x5c8eb4['updateCommentThread']({'threadId':_0x3e3823,'channelId':_0x3f6082,'context':_0x34c747,'unlinkedAt':_0x2642d7,'attributes':_0x2bfbb6,'isFromAdapter':!0x0});}),this['listenTo'](_0x1857c4,'commentThreadResolved',(_0x284f7d,{commentThreadId:_0x11894a,resolvedBy:_0x356526,resolvedAt:_0x378391})=>{const _0x1dc0ea=_0x5c8eb4['getCommentThread'](_0x11894a);_0x1dc0ea&&_0x1dc0ea['resolve']({'resolvedBy':_0x356526,'resolvedAt':_0x378391,'isFromAdapter':!0x0});}),this['listenTo'](_0x1857c4,'commentThreadReopened',(_0x33d88b,{commentThreadId:_0x3c1be5})=>{const _0x36fff7=_0x5c8eb4['getCommentThread'](_0x3c1be5);_0x36fff7&&_0x36fff7['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0x1857c4,'commentThreadRemoved',(_0x1e5123,{commentThreadId:_0x1cfd24})=>{const _0x148b80=_0x5c8eb4['getCommentThread'](_0x1cfd24);_0x148b80&&_0x148b80['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0x1857c4,'commentAdded',(_0x4295ab,_0x59f2e7)=>{const _0x1bbbd3=_0x59f2e7['commentThreadId'],_0x2a9609=_0x5c8eb4['getCommentThread'](_0x1bbbd3);_0x2a9609&&_0x2a9609['addComment']({..._0x122ccc(_0x59f2e7),'isFromAdapter':!0x0});}),this['listenTo'](_0x1857c4,'commentUpdated',(_0x5d480b,{commentThreadId:_0x435d84,commentId:_0x21432f,content:_0x4dbe02,attributes:_0x174041})=>{const _0x22984f=_0x5c8eb4['getCommentThread'](_0x435d84);if(_0x22984f){const _0x3d87c0=_0x22984f['getComment'](_0x21432f);_0x3d87c0&&_0x3d87c0['update']({'content':_0x4dbe02,'attributes':_0x174041,'isFromAdapter':!0x0});}}),this['listenTo'](_0x1857c4,'commentRemoved',(_0x3859a1,{commentThreadId:_0x195bd5,commentId:_0x2e69b2})=>{const _0x633f6b=_0x5c8eb4['getCommentThread'](_0x195bd5);if(_0x633f6b){const _0x3cf788=_0x633f6b['getComment'](_0x2e69b2);_0x3cf788&&_0x3cf788['remove']({'isFromAdapter':!0x0});}}),await this['_connectService'](_0x556628);}['destroy'](){if(this['context']instanceof _0x5f37cd['Context']){const _0x4eb022=this['context']['config']['get']('collaboration.channelId');this['_terminateService'](_0x4eb022);}}['_terminateService'](_0x5e7748){if(!this['_services']['has'](_0x5e7748))throw new _0x5f37cd['CKEditorError']('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x5e7748});this['_getService'](_0x5e7748)['disconnect'](),this['_services']['delete'](_0x5e7748);}async['reconnect'](){for(const _0x2e6978 of this['_services']['keys']())await this['_connectService'](_0x2e6978);if(this['context']instanceof _0x5f37cd['Context']){const _0x42c73e=this['context']['config']['get']('collaboration.channelId'),_0x20f502=this['context']['plugins']['get'](_0x59e0d0);_0x20f502['unregister'](_0x42c73e);const _0x11149f=await this['_services']['get'](_0x42c73e)['getConnectedSessions']();_0x20f502['register'](_0x42c73e,_0x11149f);}}async['_connectService'](_0x4136c2){const {connection:_0x37a054}=this['context']['plugins']['get'](WebSocketGateway),_0x56b95e=this['context']['plugins']['get'](CommentsRepository),_0x584d6f=this['_services']['get'](_0x4136c2),_0x3d4373=await _0x584d6f['connect'](_0x37a054);await this['_fetchMissingUsersForThreads'](_0x3d4373);const _0x56746a=new Set(Array['from'](_0x56b95e['getCommentThreads']({'channelId':_0x4136c2}),_0x2260f7=>_0x2260f7['id']));for(const _0x3b05f8 of _0x3d4373)_0x3b05f8['deletedAt']||_0x56746a['delete'](_0x3b05f8['commentThreadId']);for(const _0x2b8154 of _0x56746a)_0x56b95e['getCommentThread'](_0x2b8154)['remove']({'isFromAdapter':!0x0});for(const _0x1413b4 of _0x3d4373){let _0x35c852=_0x56b95e['getCommentThread'](_0x1413b4['commentThreadId']);const {commentThreadId:_0x3a681e,context:_0x3d8eee,attributes:_0x290d87,resolvedBy:_0x1c409a,resolvedAt:_0x2aac73,unlinkedAt:_0x39c1ba,deletedAt:_0x13c626}=_0x1413b4;if(_0x13c626)continue;_0x35c852||(_0x35c852=_0x56b95e['addCommentThread']({'channelId':_0x4136c2,'threadId':_0x3a681e,'context':_0x3d8eee,'attributes':_0x290d87||{},'resolvedBy':_0x1c409a,'resolvedAt':_0x2aac73,'unlinkedAt':_0x39c1ba,'isFromAdapter':!0x0}));const _0x17383b=new Set(Array['from'](_0x35c852['comments'],_0x46419a=>_0x46419a['id']));for(const _0xec5bef of _0x1413b4['comments'])_0x17383b['delete'](_0xec5bef['commentId']);for(const _0x5552c3 of _0x17383b)_0x35c852['getComment'](_0x5552c3)['remove']({'isFromAdapter':!0x0});for(const _0x4982d5 of _0x1413b4['comments']){const _0x5f20fe=_0x35c852['getComment'](_0x4982d5['commentId']);_0x5f20fe?_0x5f20fe['content']!==_0x4982d5['content']&&_0x5f20fe['update']({'content':_0x4982d5['content'],'isFromAdapter':!0x0}):_0x35c852['addComment'](Object['assign'](_0x122ccc(_0x4982d5),{'isFromAdapter':!0x0}));}}}['_getService'](_0x585603){if(!this['_services']['has'](_0x585603))throw new _0x5f37cd['CKEditorError']('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x585603});return this['_services']['get'](_0x585603);}async['_fetchMissingUsersForThreads'](_0x3a4509){const _0x37b1b3=this['context']['plugins']['get'](_0x4e0926),{connection:_0x1e5981}=this['context']['plugins']['get'](WebSocketGateway),_0x2107c6=new Set();for(const {resolvedBy:_0x236ace,comments:_0x17a2de}of _0x3a4509){_0x236ace&&!_0x37b1b3['getUser'](_0x236ace)&&_0x2107c6['add'](_0x236ace);for(const {userId:_0x37b4b0}of _0x17a2de)_0x37b1b3['getUser'](_0x37b4b0)||_0x2107c6['add'](_0x37b4b0);}if(0x0===_0x2107c6['size'])return;const _0x3af87f=await _0x4fb79d['getMany'](_0x1e5981,Array['from'](_0x2107c6));for(const _0x5b1b55 of _0x3af87f)_0x37b1b3['getUser'](_0x5b1b55['id'])||_0x37b1b3['addUser'](_0x5b1b55);}}async function _0x435d03(_0x30a3be){if('404'!==_0x30a3be['code'])throw _0x30a3be;}function _0x3b7084(_0x33719a){if((_0x4a4a82=_0x33719a)['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x4a4a82['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x4a4a82['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.'))return new Promise(()=>{});var _0x4a4a82;throw _0x33719a;}function _0x122ccc(_0x1a7290){return{'threadId':_0x1a7290['commentThreadId'],'commentId':_0x1a7290['commentId'],'content':_0x1a7290['content'],'createdAt':_0x1a7290['createdAt'],'authorId':_0x1a7290['userId'],'attributes':_0x1a7290['attributes']||{}};}class CloudServicesTrackChangesAdapter extends _0x5f37cd['Plugin']{static ['TrackChangesService']=/* #__PURE__ -- @preserve */
((()=>_0x2bfec9)());['_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(_0xcec153){super(_0xcec153);const _0x50b6cd=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x50b6cd);}['init'](){const _0x254162=this['editor']['plugins']['get'](WebSocketGateway),_0x5a4657=this['editor']['plugins']['get'](TrackChangesEditing);return _0x5a4657['adapter']={'getSuggestion':async _0x50a9a0=>{await this['_waitForServiceReady']();const _0x3e9279=await this['_trackChangesService']['get'](_0x50a9a0)['catch'](_0xc9996c);return await this['_fetchMissingUsersForThreads']([_0x3e9279]),_0x3e9279;},'addSuggestion':async({id:_0x3e22dc,type:_0x2d4b12,data:_0x51d8f6,originalSuggestionId:_0x230e9e,attributes:_0x6c0edc})=>{await this['_waitForServiceReady']();const _0x12ce2f={'id':_0x3e22dc,'type':_0x2d4b12,'data':_0x51d8f6,'originalSuggestionId':_0x230e9e,'attributes':_0x6c0edc},_0x4bb36c=await this['_trackChangesService']['add'](_0x3e22dc,_0x2d4b12,_0x51d8f6,_0x230e9e,_0x6c0edc)['catch'](_0x51e8f2=>{if(_0x379648(_0x51e8f2))return new Promise(_0x20a48e=>{this['_bufferedRequests']['set'](_0x3e22dc,{'resolve':_0x20a48e,'suggestionData':_0x12ce2f});});throw _0x51e8f2;});return this['_bufferedRequests']['delete'](_0x3e22dc),_0x4bb36c;},'updateSuggestion':async(_0x15e5b9,_0x4b455b)=>{if(await this['_waitForServiceReady'](),'open'!==_0x4b455b['state'])return this['_trackChangesService']['update'](_0x15e5b9,_0x4b455b)['catch'](_0xc9996c);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0x5736f6,_0x383df7)=>{_0x5a4657['hasSuggestion'](_0x383df7['id'])&&(_0x5a4657['getSuggestion'](_0x383df7['id'])['attributes']=_0x383df7['attributes']);}),this['_trackChangesService']['connect'](_0x254162['connection'])['then'](_0x22ec49=>(_0x254162['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0x22ec49)['then'](()=>{for(const _0x2106b2 of _0x22ec49){_0x5a4657['addSuggestionData'](_0x2106b2)['_saved']=!0x0;}})));}async['reconnect'](){const _0x2d5d29=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x4e2ccb}=this['editor']['plugins']['get'](WebSocketGateway),_0x30c304=await this['_trackChangesService']['connect'](_0x4e2ccb);await this['_fetchMissingUsersForThreads'](_0x30c304);for(const {suggestionData:_0x5965f1,resolve:_0x2b65f7}of this['_bufferedRequests']['values']()){let _0x2212a7=_0x30c304['find'](_0x514498=>_0x514498['id']===_0x5965f1['id']);_0x2212a7||(_0x2212a7=await this['_trackChangesService']['add'](_0x5965f1['id'],_0x5965f1['type'],_0x5965f1['data'],_0x5965f1['originalSuggestionId'])),_0x2b65f7(_0x2212a7);}for(const _0x53effd of _0x30c304)_0x2d5d29['hasSuggestion'](_0x53effd['id'])||_0x2d5d29['addSuggestionData'](_0x53effd);}async['_waitForServiceReady'](){this['_trackChangesService']['isConnected']||await new Promise(_0x44e361=>{this['listenTo'](this['_trackChangesService'],'connected',_0x588832=>{_0x588832['off'](),_0x44e361();});});}async['_fetchMissingUsersForThreads'](_0x419c52){const _0x754b1=this['editor']['plugins']['get'](_0x4e0926),{connection:_0x4385d4}=this['editor']['plugins']['get'](WebSocketGateway),_0x9e2f6c=new Set();for(const {authorId:_0x5b8e53}of _0x419c52)_0x754b1['getUser'](_0x5b8e53)||_0x9e2f6c['add'](_0x5b8e53);if(0x0===_0x9e2f6c['size'])return;const _0xa326e1=await _0x4fb79d['getMany'](_0x4385d4,Array['from'](_0x9e2f6c));for(const _0x80297f of _0xa326e1)_0x754b1['getUser'](_0x80297f['id'])||_0x754b1['addUser'](_0x80297f);}}function _0xc9996c(_0x5b3a56){if(_0x379648(_0x5b3a56))return new Promise(()=>{});throw _0x5b3a56;}function _0x379648(_0x1d1859){return _0x1d1859['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x1d1859['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeComments extends _0x5f37cd['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 _0x2fd1c4=this['editor']['plugins']['get'](WebSocketGateway),_0x9e543d=this['editor']['plugins']['get'](CommentsEditing),_0x5e10f2=this['editor']['plugins']['get'](CloudServicesCommentsAdapter);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x2fd1c4,'change:state',(_0xbf8453,_0xf397ae,_0x2c8c53)=>{_0x9e543d['isThreadsLoadingPaused']='connected'!==_0x2c8c53;});}),this['listenTo'](_0x2fd1c4,'change:state',(_0x1d2957,_0x37c30a,_0x4f72f8)=>{this['editor']['plugins']['get'](CommentsRepository)['switchReadOnly']('connected'!==_0x4f72f8);}),_0x5e10f2['_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 _0x5f37cd['Plugin']{static get['requires'](){return[RealTimeCollaborativeComments,CloudServicesTrackChangesAdapter,_0x39356b];}static get['pluginName'](){return'RealTimeCollaborativeTrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x24fffe extends/* #__PURE__ -- @preserve */
_0x5f37cd['ObservableMixin'](){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x5626a4){super(),this['id']=_0x5626a4['id']||_0x5f37cd['uid'](),this['creator']=_0x5626a4['creator']||null,this['authors']=_0x5626a4['authors']||[],this['diffData']=_0x5626a4['diffData']||null,this['toVersion']=_0x5626a4['toVersion']||0x0,this['fromVersion']=_0x5626a4['fromVersion']||0x0,this['set']('name',_0x5626a4['name']||''),this['set']('createdAt',_0x5626a4['createdAt']||new Date()),this['set']('attributes',_0x5626a4['attributes']||{});}['setName'](_0xc81b0f){this['_update']({'name':_0xc81b0f});}['setAttribute'](_0x30de26,_0x5c9851){const _0x57c43d=_0x30292a(this['attributes']);ct(_0x57c43d,_0x30de26,_0x5c9851),this['_update']({'attributes':_0x57c43d});}['removeAttribute'](_0x51b9a9){const _0x3f728f=_0x30292a(this['attributes']);nt(_0x3f728f,_0x51b9a9),this['_update']({'attributes':_0x3f728f});}['_update'](_0x453641,_0x13542e=!0x1){let _0x2e9883=!0x1;const _0xda9619={'id':this['id']},_0x22e5b6=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3ef9a9 of _0x22e5b6){const _0x52fcf3=_0x453641[_0x3ef9a9];void 0x0!==_0x52fcf3&&_0x52fcf3!==this[_0x3ef9a9]&&(this[_0x3ef9a9]=_0x52fcf3,_0xda9619[_0x3ef9a9]=_0x52fcf3,_0x2e9883=!0x0);}_0x2e9883&&(_0xda9619['authors']&&(_0xda9619['authorsIds']=_0xda9619['authors']['map'](_0x51a3e5=>_0x51a3e5['id']),delete _0xda9619['authors']),this['fire']('_update',_0xda9619,_0x13542e));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x307e44=>_0x307e44['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class RevisionsRepository extends _0x5f37cd['Plugin']{['_revisions'];static get['requires'](){return[_0x4e0926];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x29af6d){super(_0x29af6d),this['_revisions']=new _0x5f37cd['Collection']();}['afterInit'](){!async function(_0x333790){const _0x3636ce=_0x182c4e([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]),_0x459da3=0xeb829,_0x5c34f3=0x359e09b0,_0x338dcf=0x35998260^_0x5c34f3,_0x7ca976=window[_0x182c4e([0x44,0x61,0x74,0x65])][_0x182c4e([0x6e,0x6f,0x77])](),_0x2a6475=_0x333790[_0x182c4e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35b94c=new window[(_0x182c4e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a6bfe=>{_0x2a6475[_0x182c4e([0x6f,0x6e,0x63,0x65])](_0x182c4e([0x72,0x65,0x61,0x64,0x79]),_0x1a6bfe);}),_0x46e12e={[_0x182c4e([0x6b,0x74,0x79])]:_0x182c4e([0x45,0x43]),[_0x182c4e([0x75,0x73,0x65])]:_0x182c4e([0x73,0x69,0x67]),[_0x182c4e([0x63,0x72,0x76])]:_0x182c4e([0x50,0x2d,0x32,0x35,0x36]),[_0x182c4e([0x78])]:_0x182c4e([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]),[_0x182c4e([0x79])]:_0x182c4e([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]),[_0x182c4e([0x61,0x6c,0x67])]:_0x182c4e([0x45,0x53,0x32,0x35,0x36])},_0x56ff3e=_0x2a6475[_0x182c4e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x182c4e([0x67,0x65,0x74])](_0x182c4e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x485279(){let _0x524868,_0x468434=null,_0x164b0b=null;try{if(_0x56ff3e==_0x182c4e([0x47,0x50,0x4c]))return _0x182c4e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x524868=_0x1a5a01(),!_0x524868)return _0x182c4e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x524868[_0x182c4e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x164b0b=_0x1728e3(_0x524868[_0x182c4e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x524868[_0x182c4e([0x6a,0x74,0x69])])),await _0x49d8a()?_0x4936e4()?_0xf24e53()?_0x182c4e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a45ce()?(_0x524868[_0x182c4e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x182c4e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x468434=_0x5b46bb(_0x182c4e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1d5c59()):_0x182c4e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x182c4e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x182c4e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x182c4e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xf24e53(){const _0x542b5a=[_0x182c4e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x182c4e([0x74,0x72,0x69,0x61,0x6c])][_0x182c4e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x524868[_0x182c4e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x7ca976/0x3e8:0xe10*_0x338dcf;return _0x524868[_0x182c4e([0x65,0x78,0x70])]<_0x542b5a;}function _0x4936e4(){const _0x159979=_0x524868[_0x182c4e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x159979)return!0x1;if(_0x159979[_0x182c4e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x182c4e([0x2a])))return!0x0;if(_0x159979[_0x182c4e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x182c4e([0x52,0x48])))return!0x0;if(_0x159979[_0x182c4e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x182c4e([0x52,0x52,0x48]))){if(_0x2b6bf2())return!0x0;if(_0x516473()||_0x4b3172())return!0x0;}return!0x1;}function _0x4a45ce(){const _0x38d7d1=_0x524868[_0x182c4e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x38d7d1||0x0==_0x38d7d1[_0x182c4e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4088e0}=new URL(window[_0x182c4e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x38d7d1[_0x182c4e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4088e0))return!0x0;const _0x280833=_0x4088e0[_0x182c4e([0x73,0x70,0x6c,0x69,0x74])](_0x182c4e([0x2e]));return _0x38d7d1[_0x182c4e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x592fe6=>_0x592fe6[_0x182c4e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x182c4e([0x2a])))[_0x182c4e([0x6d,0x61,0x70])](_0x4da165=>_0x4da165[_0x182c4e([0x73,0x70,0x6c,0x69,0x74])](_0x182c4e([0x2e])))[_0x182c4e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d9a27=>_0x2d9a27[_0x182c4e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x280833[_0x182c4e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x182c4e([0x6d,0x61,0x70])](_0x238be1=>Array(_0x280833[_0x182c4e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x238be1[_0x182c4e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x182c4e([0x66,0x69,0x6c,0x6c])](_0x238be1[0x0]===_0x182c4e([0x2a])?_0x182c4e([0x2a]):'')[_0x182c4e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x238be1))[_0x182c4e([0x73,0x6f,0x6d,0x65])](_0x593f17=>_0x280833[_0x182c4e([0x65,0x76,0x65,0x72,0x79])]((_0x2f2d24,_0x2fb6f2)=>_0x593f17[_0x2fb6f2]===_0x2f2d24||_0x593f17[_0x2fb6f2]===_0x182c4e([0x2a])));}function _0x1d5c59(){return _0x468434&&_0x164b0b?new window[(_0x182c4e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e0c05,_0x4b405f)=>{_0x468434[_0x182c4e([0x74,0x68,0x65,0x6e])](_0x5e0c05,_0x4b405f),_0x164b0b[_0x182c4e([0x74,0x68,0x65,0x6e])](_0x460288=>{_0x460288!=_0x182c4e([0x56,0x61,0x6c,0x69,0x64])&&_0x5e0c05(_0x460288);},_0x4b405f);}):_0x468434||_0x164b0b||_0x182c4e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1728e3(_0x36e69f,_0x360c55){return new window[(_0x182c4e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1721f3=>{if(_0x69bb97())return _0x1721f3(_0x182c4e([0x56,0x61,0x6c,0x69,0x64]));_0x129463(),_0x2a6475[_0x182c4e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x182c4e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3f0130=!0x1;const _0x4cfde2=_0x5f37cd['uid']();function _0x75b031(_0x535dc2){return!!_0x535dc2&&(typeof _0x535dc2===_0x182c4e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x535dc2===_0x182c4e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x535dc2[_0x182c4e([0x74,0x68,0x65,0x6e])]===_0x182c4e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x535dc2[_0x182c4e([0x63,0x61,0x74,0x63,0x68])]===_0x182c4e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe3926a(_0x558a36){_0xc4ab48(_0x558a36)[_0x182c4e([0x74,0x68,0x65,0x6e])](_0x4f518c=>{if(!_0x4f518c||_0x4f518c[_0x182c4e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x182c4e([0x6f,0x6b]))return _0x182c4e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x16fb6f(_0x81195e(_0x4cfde2+_0x360c55))!=_0x4f518c[_0x182c4e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x182c4e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x182c4e([0x56,0x61,0x6c,0x69,0x64]);})[_0x182c4e([0x74,0x68,0x65,0x6e])](_0x452650=>(_0x137483(),_0x452650),()=>{const _0x1d81f6=_0x3558e2();return null==_0x1d81f6?(_0x137483(),_0x182c4e([0x56,0x61,0x6c,0x69,0x64])):_0x182c4e(_0x7ca976-_0x1d81f6>(0x11928db0^_0x5c34f3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x182c4e([0x74,0x68,0x65,0x6e])](_0x1721f3)[_0x182c4e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1721f3(_0x182c4e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x14d83e=0x35a8e730^_0x5c34f3;function _0x137483(){const _0x3e3f04=_0x182c4e([0x6c,0x6c,0x63,0x74,0x2d])+_0x16fb6f(_0x81195e(_0x36e69f)),_0x18f3a8=_0x44ae38(_0x16fb6f(window[_0x182c4e([0x4d,0x61,0x74,0x68])][_0x182c4e([0x63,0x65,0x69,0x6c])](_0x7ca976/_0x14d83e)));window[_0x182c4e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x182c4e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e3f04,_0x18f3a8);}function _0x3558e2(){const _0x285676=_0x182c4e([0x6c,0x6c,0x63,0x74,0x2d])+_0x16fb6f(_0x81195e(_0x36e69f)),_0x4db35a=window[_0x182c4e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x182c4e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x285676);return _0x4db35a?window[_0x182c4e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44ae38(_0x4db35a),0x10)*_0x14d83e:null;}function _0xc4ab48(_0x20d4fe){return new window[(_0x182c4e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2849bc,_0x2162c6)=>{_0x20d4fe[_0x182c4e([0x74,0x68,0x65,0x6e])](_0x2849bc,_0x2162c6),window[_0x182c4e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2162c6,0x359fdd70^_0x5c34f3);});}}_0x2a6475[_0x182c4e([0x6f,0x6e])](_0x182c4e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26d2b5,_0x5e74a7)=>{if(_0x5e74a7[0x0]!=_0x36e69f)return _0x1721f3(_0x182c4e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5e74a7[0x1]={..._0x5e74a7[0x1],[_0x182c4e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4cfde2};},{[_0x182c4e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x182c4e([0x68,0x69,0x67,0x68])}),_0x2a6475[_0x182c4e([0x6f,0x6e])](_0x182c4e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x22ccd6=>{_0x75b031(_0x22ccd6[_0x182c4e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3f0130=!0x0,_0xe3926a(_0x22ccd6[_0x182c4e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x182c4e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x182c4e([0x6c,0x6f,0x77])}),_0x35b94c[_0x182c4e([0x74,0x68,0x65,0x6e])](()=>{_0x3f0130||_0x1721f3(_0x182c4e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x69bb97(){return _0x2a6475[_0x182c4e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x182c4e([0x76,0x69,0x65,0x77])][_0x182c4e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x182c4e([0x61,0x75,0x74,0x6f]);}function _0x129463(){_0x2a6475[_0x182c4e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x182c4e([0x76,0x69,0x65,0x77])][_0x182c4e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x182c4e([0x61,0x75,0x74,0x6f]);}}function _0x5b46bb(_0xc23720){const _0x2d499b=new window[(_0x182c4e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50a2b=>setTimeout(_0x50a2b,0x3597377c^_0x5c34f3)),_0x44bfa7=_0x35b94c[_0x182c4e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x182c4e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50d2a5=>{const _0xadcc29=0x359e09b7^_0x5c34f3,_0x23f195=_0x333790[_0x182c4e([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x43557a(){_0x23f195[_0x182c4e([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xadcc29&&_0x50d2a5();}_0x43557a(),_0x23f195[_0x182c4e([0x6f,0x6e])](_0x182c4e([0x61,0x64,0x64]),_0x43557a);})),_0xb2534c=new window[(_0x182c4e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x190d59=>{function _0x4ca10b(){for(const _0x47d130 in window)if(window[_0x182c4e([0x4e,0x75,0x6d,0x62,0x65,0x72])]['isNaN'](window[_0x182c4e([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0x47d130))&&window[_0x47d130]==_0x459da3)return _0x190d59();_0x2a6475[_0x182c4e([0x73,0x74,0x61,0x74,0x65])]!=_0x182c4e([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x182c4e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4ca10b,0x359e1a38^_0x5c34f3);}_0x22f04f(_0x182c4e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x4ca10b();}),_0xedf0ce=[_0x2d499b,_0x44bfa7,_0xb2534c];return window[_0x182c4e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x182c4e([0x72,0x61,0x63,0x65])](_0xedf0ce)[_0x182c4e([0x74,0x68,0x65,0x6e])](()=>_0xc23720);}async function _0x868277(){if(await _0x35b94c,_0x22f04f(_0x182c4e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x146122=_0x333790[_0x182c4e([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0x52ced8=_0x333790[_0x182c4e([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])](_0x146122[_0x182c4e([0x69,0x64])]),_0x4c25a5=_0x10f32c(_0x182c4e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x4c25a5[_0x182c4e([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x146122['id'],_0x52ced8?_0x52ced8['id']:null,!0x0),_0x4c25a5[_0x182c4e([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x182c4e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4c25a5[_0x182c4e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4c25a5[_0x182c4e([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x550275,void(_0x4c25a5[_0x182c4e([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x550275);}if(_0x22f04f(_0x182c4e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x1995f5=_0x10f32c(_0x182c4e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x1995f5[_0x182c4e([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x182c4e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1995f5[_0x182c4e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1995f5[_0x182c4e([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x550275,_0x1995f5[_0x182c4e([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x550275;}_0x2a6475[_0x182c4e([0x6d,0x6f,0x64,0x65,0x6c])][_0x182c4e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x550275,_0x2a6475[_0x182c4e([0x6d,0x6f,0x64,0x65,0x6c])][_0x182c4e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x550275,_0x2a6475[_0x182c4e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x182c4e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2b6bf2(){return _0x22f04f(_0x182c4e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x10f32c(_0x182c4e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x182c4e([0x73,0x74,0x61,0x74,0x65])]==_0x182c4e([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x516473(){return _0x22f04f(_0x182c4e([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 _0x4b3172(){return _0x22f04f(_0x182c4e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x3955df(_0x30761a){const _0x40eac1=_0x4b4346();_0x2a6475[_0x40eac1]=_0x182c4e([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])+_0x30761a,_0x30761a[_0x182c4e([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x182c4e([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x4b4346()]=_0x459da3),_0x30761a!=_0x182c4e([0x56,0x61,0x6c,0x69,0x64])&&_0x868277();}function _0x4b4346(){const _0x294eea=window[_0x182c4e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x182c4e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x182c4e([0x6e,0x6f,0x77])]())[_0x182c4e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x182c4e([0x2e]),'');let _0x135c22=_0x182c4e([0x76]);for(let _0x565a27=0x0;_0x565a27<_0x294eea[_0x182c4e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x565a27+=0x2){let _0x2f7b79=window[_0x182c4e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x294eea[_0x182c4e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x565a27,_0x565a27+0x2));_0x2f7b79>=_0x3636ce[_0x182c4e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2f7b79-=_0x3636ce[_0x182c4e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x135c22+=_0x3636ce[_0x2f7b79];}return _0x135c22;}function _0x1a5a01(){const _0x38cf75=_0x56ff3e[_0x182c4e([0x73,0x70,0x6c,0x69,0x74])](_0x182c4e([0x2e]));if(0x3!=_0x38cf75[_0x182c4e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x463dc5(_0x38cf75[0x1]);function _0x463dc5(_0x29186b){const _0x5593da=_0x445527(_0x29186b);return _0x5593da&&_0x446665()?_0x5593da:null;function _0x446665(){const _0x4485dc=_0x5593da[_0x182c4e([0x6a,0x74,0x69])],_0x1f5127=window[_0x182c4e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4485dc[_0x182c4e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4485dc[_0x182c4e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1ff85f={..._0x5593da,[_0x182c4e([0x6a,0x74,0x69])]:_0x4485dc[_0x182c4e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4485dc[_0x182c4e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1ff85f[_0x182c4e([0x76,0x63])],_0x81195e(_0x1ff85f)==_0x1f5127;}}}async function _0x49d8a(){let _0x86d142=!0x0;try{const _0x4863e8=_0x56ff3e[_0x182c4e([0x73,0x70,0x6c,0x69,0x74])](_0x182c4e([0x2e])),[_0x3dfcbb,_0x5849d4,_0x326d53]=_0x4863e8;return _0x4952f3(_0x3dfcbb),await _0x306eac(_0x3dfcbb,_0x5849d4,_0x326d53),_0x86d142;}catch{return!0x1;}function _0x4952f3(_0x575392){const _0x1bf36a=_0x445527(_0x575392);_0x1bf36a&&_0x1bf36a[_0x182c4e([0x61,0x6c,0x67])]==_0x182c4e([0x45,0x53,0x32,0x35,0x36])||(_0x86d142=!0x1);}async function _0x306eac(_0x2431e6,_0x1b0db5,_0x54d6b8){const _0x270045=window[_0x182c4e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x182c4e([0x66,0x72,0x6f,0x6d])](_0xd6d243(_0x54d6b8),_0x10fe07=>_0x10fe07[_0x182c4e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b32cb=new window[(_0x182c4e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x182c4e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2431e6+_0x182c4e([0x2e])+_0x1b0db5),_0x2ac9b3=window[_0x182c4e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x182c4e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ac9b3)return;const _0x55a463=await _0x2ac9b3[_0x182c4e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x182c4e([0x6a,0x77,0x6b]),_0x46e12e,{[_0x182c4e([0x6e,0x61,0x6d,0x65])]:_0x182c4e([0x45,0x43,0x44,0x53,0x41]),[_0x182c4e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x182c4e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x182c4e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ac9b3[_0x182c4e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x182c4e([0x6e,0x61,0x6d,0x65])]:_0x182c4e([0x45,0x43,0x44,0x53,0x41]),[_0x182c4e([0x68,0x61,0x73,0x68])]:{[_0x182c4e([0x6e,0x61,0x6d,0x65])]:_0x182c4e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x55a463,_0x270045,_0x3b32cb)||(_0x86d142=!0x1);}}function _0x445527(_0x3ba334){return _0x3ba334[_0x182c4e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x182c4e([0x65,0x79]))?JSON[_0x182c4e([0x70,0x61,0x72,0x73,0x65])](_0xd6d243(_0x3ba334)):null;}function _0xd6d243(_0x5fa4b9){return window[_0x182c4e([0x61,0x74,0x6f,0x62])](_0x5fa4b9[_0x182c4e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x182c4e([0x2b]))[_0x182c4e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x182c4e([0x2f])));}function _0x81195e(_0x3bdb5d){let _0x2e933c=0x1505;function _0x5644f8(_0x170c7a){for(let _0x5a3401=0x0;_0x5a3401<_0x170c7a[_0x182c4e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a3401++){const _0x366f02=_0x170c7a[_0x182c4e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a3401);_0x2e933c=(_0x2e933c<<0x5)+_0x2e933c+_0x366f02,_0x2e933c&=_0x2e933c;}}function _0x283998(_0x238ff2){Array[_0x182c4e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x238ff2)?_0x238ff2[_0x182c4e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x283998):_0x238ff2&&typeof _0x238ff2==_0x182c4e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x182c4e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x238ff2)[_0x182c4e([0x73,0x6f,0x72,0x74])]()[_0x182c4e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x512251,_0x126096])=>{_0x5644f8(_0x512251),_0x283998(_0x126096);}):_0x5644f8(window[_0x182c4e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x238ff2));}return _0x283998(_0x3bdb5d),_0x2e933c>>>0x0;}function _0x16fb6f(_0x21ea08){return _0x21ea08[_0x182c4e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x182c4e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x182c4e([0x30]));}function _0x44ae38(_0x4b6045){return _0x4b6045[_0x182c4e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x182c4e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x182c4e([0x6a,0x6f,0x69,0x6e])]('');}function _0x22f04f(_0x2ddedd){return _0x2a6475[_0x182c4e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x182c4e([0x68,0x61,0x73])](_0x2ddedd);}function _0x10f32c(_0x1204cb){return _0x2a6475[_0x182c4e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x182c4e([0x67,0x65,0x74])](_0x1204cb);}function _0x550275(){}function _0x182c4e(_0xcc6fce){return _0xcc6fce['map'](_0x149130=>String['fromCharCode'](_0x149130))['join']('');}_0x3955df(await _0x485279());}(this);}['createRevision'](_0x428fe5){const _0x5996aa=this['editor']['plugins']['get']('Users');return new _0x24fffe({'id':_0x428fe5['id'],'name':_0x428fe5['name'],'creator':_0x428fe5['creatorId']?_0x5996aa['getUser'](_0x428fe5['creatorId']):null,'diffData':_0x428fe5['diffData']||_0x428fe5['data'],'authors':_0x428fe5['authorsIds']['map'](_0x25f693=>_0x5996aa['getUser'](_0x25f693)),'createdAt':new Date(_0x428fe5['createdAt']),'attributes':_0x428fe5['attributes'],'fromVersion':_0x428fe5['fromVersion'],'toVersion':_0x428fe5['toVersion']});}['addRevision'](_0x29e315,_0x1e75a6=0x0){this['_revisions']['add'](_0x29e315,_0x1e75a6);}['getRevision'](_0x38fcc6){return this['_revisions']['get'](_0x38fcc6);}['getRevisions'](_0x34a76d={'toJSON':!0x1}){const _0x5bc5e9=Array['from'](this['_revisions']);return _0x5bc5e9['reverse'](),_0x34a76d['toJSON']?_0x5bc5e9['map'](_0x2ac2bc=>_0x2ac2bc['toJSON']()):_0x5bc5e9;}['getIndex'](_0x266b0c){return this['_revisions']['getIndex'](_0x266b0c);}['getEarlierVisibleRevision'](_0x3bacc8){const [,_0x153b4d]=this['getRevisionsIterator'](_0x3bacc8,{'direction':'earlier'});return _0x153b4d;}['getLaterVisibleRevision'](_0x37548c){const [,_0x4a90a6]=this['getRevisionsIterator'](_0x37548c,{'direction':'later'});return _0x4a90a6;}['getRevisionsInDiff'](_0x38b1b4){const _0x284a97=[];for(const _0x147eb5 of this['getRevisionsIterator'](_0x38b1b4['newRevisionId']))if(_0x284a97['push'](_0x147eb5),_0x147eb5['id']===_0x38b1b4['oldRevisionId'])break;return _0x284a97;}*['getRevisionsIterator'](_0x19b3ee,{direction:_0x2a1705='earlier',filter:_0x542be8=()=>!0x0}={}){const _0x5cffca='earlier'===_0x2a1705?0x1:-0x1;let _0x418cb1=this['_revisions']['get'](_0x19b3ee),_0x4cfeed=this['getIndex'](_0x418cb1);for(yield _0x418cb1;_0x418cb1;){if(_0x4cfeed+=_0x5cffca,_0x418cb1=this['getRevision'](_0x4cfeed),!_0x418cb1)return;_0x542be8(_0x418cb1)&&(yield _0x418cb1);}}}class RevisionHistoryUtils extends _0x5f37cd['Plugin']{static get['pluginName'](){return'RevisionHistoryUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_viewClassToTypeChar']=new Map([[_0x5f37cd['ViewContainerElement'],'c'],[_0x5f37cd['ViewAttributeElement'],'a'],[_0x5f37cd['ViewEmptyElement'],'e'],[_0x5f37cd['ViewRawElement'],'r'],[_0x5f37cd['ViewUIElement'],'u']]);['_typeCharToViewClass']=new Map([['c',_0x5f37cd['ViewContainerElement']],['a',_0x5f37cd['ViewAttributeElement']],['e',_0x5f37cd['ViewEmptyElement']],['r',_0x5f37cd['ViewRawElement']],['u',_0x5f37cd['ViewUIElement']]]);async['loadRevisionData'](_0x16f417,_0x464ad2){if(_0x16f417['diffData']||!_0x464ad2)return;const _0x56d1ce=this['editor']['config']['get']('collaboration.channelId'),_0x3597f6=await _0x464ad2['getRevision']({'channelId':_0x56d1ce,'revisionId':_0x16f417['id']});_0x16f417['diffData']=_0x3597f6['diffData'];}['getRevisionDocumentData'](_0x104b01){const _0x49a020={};for(const _0x49a10f in _0x104b01['diffData']){if(_0x104b01['diffData'][_0x49a10f]['attachChange']&&!_0x104b01['diffData'][_0x49a10f]['attachChange']['isAttached'])continue;const _0x2a7c76=this['_removeRevisionMarkers'](JSON['parse'](_0x104b01['diffData'][_0x49a10f]['insertions'])),_0x91f2fe=this['editor']['editing']['view']['document'],_0x59f06a=new _0x5f37cd['ViewDocumentFragment'](_0x91f2fe,_0x2a7c76['map'](_0x42f018=>this['_getViewFromDiffObj'](_0x42f018,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x49a020[_0x49a10f]=this['editor']['data']['processor']['toData'](_0x59f06a),this['editor']['data']['processor']['useFillerType']('default');}return _0x49a020;}['getRevisionRootsAttributes'](_0x4a011a){const _0x45ab9c={};for(const _0x313b0a in _0x4a011a['diffData'])_0x4a011a['diffData'][_0x313b0a]['attachChange']&&!_0x4a011a['diffData'][_0x313b0a]['attachChange']['isAttached']||(_0x45ab9c[_0x313b0a]=_0x4a011a['diffData'][_0x313b0a]['attributesAfter']||{});return _0x45ab9c;}['getRevisionRootsModelElements'](_0xa07ea5){const _0x4ff1f3={};for(const _0x5cbe80 in _0xa07ea5['diffData']){if(_0xa07ea5['diffData'][_0x5cbe80]['attachChange']&&!_0xa07ea5['diffData'][_0x5cbe80]['attachChange']['isAttached'])continue;const _0x1f064b=_0xa07ea5['diffData'][_0x5cbe80]['rootElementName'];_0x1f064b&&(_0x4ff1f3[_0x5cbe80]=_0x1f064b);}return _0x4ff1f3;}['_getTypeCharForViewElement'](_0x221a0b){return this['_viewClassToTypeChar']['get'](_0x221a0b['constructor']);}['_getViewFromDiffObj'](_0x1817a5,_0x170713){const _0x4ac612=this['editor']['editing']['view']['document'];if('string'==typeof _0x1817a5)return new _0x5f37cd['ViewText'](_0x4ac612,_0x1817a5);{let _0x515780,_0x3cc64b;_0x3cc64b='u'==_0x1817a5['type']||'r'==_0x1817a5['type']?[]:_0x1817a5['children']['map'](_0x5ee6d9=>this['_getViewFromDiffObj'](_0x5ee6d9,_0x170713));const _0x51a15c=this['_typeCharToViewClass']['get'](_0x1817a5['type'])||_0x5f37cd['ViewElement'],_0x4f45df=this['editor']['data']['htmlProcessor']['domConverter'];if(_0x515780=new _0x51a15c(_0x4ac612,_0x1817a5['name'],_0x1817a5['attributes'],_0x3cc64b),'u'==_0x1817a5['type']&&_0x1817a5['children'][0x0]){const _0x17c289=_0x1817a5['children'][0x0];if(_0x515780['render']=function(_0x40b00b){const _0x3ad9fb=_0x40b00b['createElement']('div');return _0x3ad9fb['innerHTML']=_0x17c289,_0x3ad9fb['childNodes'][0x0];},_0x170713){const _0x507d18=new _0x5f37cd['ViewDocumentFragment'](_0x4ac612);_0x507d18['_appendChild'](_0x515780);const _0x554dce=Array['from'](_0x4f45df['viewChildrenToDom'](_0x507d18,{'bind':!0x1})),_0x2e93b7=_0x4f45df['domDocument']['createElement']('div');_0x2e93b7['append'](..._0x554dce),_0x515780=Array['from'](_0x4f45df['domChildrenToView'](_0x2e93b7))[0x0];}}else{if('r'==_0x1817a5['type']&&_0x1817a5['children'][0x0]){const _0xdcdb92=_0x1817a5['children'][0x0];if(_0x515780['render']=function(_0x553d68){_0x553d68['innerHTML']=_0xdcdb92;},_0x170713){const _0x96139=new _0x5f37cd['ViewDocumentFragment'](_0x4ac612);_0x96139['_appendChild'](_0x515780);const _0x32c3fe=Array['from'](_0x4f45df['viewChildrenToDom'](_0x96139,{'bind':!0x1})),_0x3f6905=_0x4f45df['domDocument']['createElement']('div');_0x3f6905['append'](..._0x32c3fe);const _0x421b71=Array['from'](_0x4f45df['domChildrenToView'](_0x3f6905));_0x421b71['length']>0x1?_0x515780['_appendChild'](_0x421b71):_0x515780=_0x421b71[0x0];}}}if(_0x1817a5['customProperties']){for(const [_0x169592,_0x45fe1f]of _0x1817a5['customProperties'])_0x515780['_setCustomProperty'](_0x169592,_0x45fe1f);}const _0x1e3308=void 0x0===_0x1817a5['fillerOffset']?null:_0x1817a5['fillerOffset'];return null!==_0x1e3308&&(_0x515780['getFillerOffset']=()=>_0x1e3308),_0x515780;}}['_makeModelFromViewString'](_0x27ae00,_0x294756){const _0x8bdb36=JSON['parse'](_0x27ae00),_0x1f7e4=this['editor']['editing']['view']['document'],_0x11a667=new _0x5f37cd['ViewDocumentFragment'](_0x1f7e4,_0x8bdb36['map'](_0x40f476=>this['_getViewFromDiffObj'](_0x40f476,!0x0))),_0xf1c9a7=this['editor']['data']['toModel'](_0x11a667,_0x294756);return _0xf1c9a7['name']=_0x294756,_0xf1c9a7;}['_removeRevisionMarkers'](_0x2bc429){return(_0x2bc429=_0x2bc429['filter'](_0x4894ca=>!_0x4894ca['name']||'revision-start'!==_0x4894ca['name']&&'revision-end'!==_0x4894ca['name']))['forEach'](_0x8d5158=>{'string'!=typeof _0x8d5158&&(_0x8d5158['children']=this['_removeRevisionMarkers'](_0x8d5158['children']),_0x8d5158['attributes']=_0x8d5158['attributes']['filter'](_0x10d49e=>!_0x10d49e[0x0]['startsWith']('data-revision-')));}),_0x2bc429;}}function _0x4b5ffd(_0xe486a0,_0x40e316,_0x237cd3){const t=_0xe486a0['t'];switch(_0x40e316){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'},_0x237cd3);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x237cd3);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 _0xff59f3 extends _0x5f37cd['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[_0x4e0926,RevisionsRepository,RevisionHistoryUtils,_0x5f37cd['PendingActions']];}constructor(_0x5d928e){super(_0x5d928e),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 _0x500131=_0x5f37cd['uid']();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x500131},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 _0x3b65f8=this['repository']['getRevision'](0x0),_0x3e47bd=_0x3b65f8&&null===_0x3b65f8['creator']?_0x3b65f8:null;if(this['_continueCurrentRevision']=!!_0x3e47bd&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x11e830=this['_source']['getCurrentRevisionId'](),_0x34348a=this['repository']['getRevision'](_0x11e830);if(_0x34348a)this['_startingVersion']=_0x34348a['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x284612=this['_source']['history']['_operations']['find'](_0x4e0fa5=>!_0x4e0fa5['_isInit']),_0x38cbc0=_0x284612?_0x284612['baseVersion']:this['_source']['history']['version'];_0x3b65f8?(_0x3b65f8['toVersion']<_0x38cbc0&&_0x3b65f8['_update']({'toVersion':_0x38cbc0}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x3e47bd['id'],this['_startingVersion']=_0x3e47bd['fromVersion']):(this['_startingVersion']=_0x3b65f8['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x38cbc0,this['_continueCurrentRevision']=!0x1);}}else _0x3e47bd&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x3e47bd['toVersion'],this['editor']['model']['document']['history']['version']),_0x3e47bd['fromVersion']===_0x3e47bd['toVersion']?(0x0!==_0x3e47bd['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x3e47bd['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x3e47bd['id'],this['_startingVersion']=_0x3e47bd['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',_0xcc16cd=>!_0xcc16cd),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x419d7a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x336c72;for(const _0x4b6c43 in _0x419d7a){const _0x194ffb=_0x4b6c43,_0x4bae3d=_0x419d7a[_0x194ffb];if('revisionHistoryLicenseKeyValid'==_0x4bae3d||'revisionHistoryLicenseKeyInvalid'==_0x4bae3d||'revisionHistoryLicenseKeyExpired'==_0x4bae3d||'revisionHistoryLicenseKeyDomainLimit'==_0x4bae3d||'revisionHistoryLicenseKeyNotAllowed'==_0x4bae3d||'revisionHistoryLicenseKeyEvaluationLimit'==_0x4bae3d||'revisionHistoryLicenseKeyUsageLimit'==_0x4bae3d){delete _0x419d7a[_0x194ffb],_0x336c72=_0x4bae3d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0x336c72&&_0x419d7a['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0x336c72&&_0x419d7a['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0x336c72&&_0x419d7a['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0x336c72&&_0x419d7a['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0x336c72&&_0x419d7a['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0x336c72&&_0x419d7a['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x3cac09=this['repository']['getRevision'](0x0),_0x3ed079=await this['getRevisionDocumentData'](_0x3cac09),_0x112dc1=await this['getRevisionRootsAttributes'](_0x3cac09),_0x47e9ee=this['_utils']['getRevisionRootsModelElements'](_0x3cac09);this['_replaceEditorDataWithRevisionData'](_0x3ed079,_0x112dc1,_0x47e9ee);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0x3bec49){this['_source']=_0x3bec49;}async['update'](){const _0x4dbc51=await this['_source']['getLatestVersion']();if(_0x4dbc51>this['currentRevision']['toVersion']){await this['_loadState']();const _0x44a505=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x4dbc51});_0x44a505['authors']=_0x44a505['authorsIds']['map'](_0x54741d=>this['editor']['plugins']['get']('Users')['getUser'](_0x54741d)),this['currentRevision']['_update'](_0x44a505);}}async['saveRevision'](_0x5c2dfd={},_0xfa4f2a=null){const _0x3b0183=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0xfa4f2a>this['currentRevision']['toVersion']&&(_0xfa4f2a=null),null===_0xfa4f2a&&(_0xfa4f2a=await this['_source']['getLatestVersion']());const _0x4ae0a5=this['_getFromVersion'](_0xfa4f2a),_0x5f25ea=this['buildRevisionData']({'from':_0x4ae0a5,'to':_0xfa4f2a});if(this['currentRevision']['toVersion']<_0xfa4f2a){const _0xc2d877=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0xfa4f2a,'to':_0xfa4f2a});_0xc2d877['authors']=[],_0xc2d877['authorsIds']=[],_0xc2d877['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0xc2d877,!0x0),delete _0xc2d877['authors'],_0x3b0183['push'](_0xc2d877);}_0x5c2dfd['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x5c2dfd['name']=_0x5c2dfd['name']||null,_0x5c2dfd['id']=_0x5c2dfd['id']||_0x5f37cd['uid'](),_0x5c2dfd={..._0x5c2dfd,..._0x5f25ea};const _0x8e0b9=this['addRevisionData'](_0x5c2dfd);_0x3b0183['push'](_0x5c2dfd);const _0x3602f7=this['repository']['getIndex'](_0x8e0b9);if(0x0!==_0x3602f7){const _0x303c75=this['repository']['getRevision'](_0x3602f7-0x1);if(_0x303c75['fromVersion']!==_0xfa4f2a){const _0x388ff6=this['_revisionDataBuilder']['getData'](_0xfa4f2a,_0x303c75['toVersion']),_0x3c990a={'id':_0x303c75['id'],'diffData':_0x388ff6['diffData'],'authorsIds':_0x388ff6['authorsIds'],'authors':_0x388ff6['authorsIds']['map'](_0x5bf0f6=>this['editor']['plugins']['get']('Users')['getUser'](_0x5bf0f6)),'fromVersion':_0xfa4f2a};_0x303c75===this['currentRevision']&&(_0x3c990a['createdAt']=new Date(_0x5c2dfd['createdAt']['getTime']()+0xa)),_0x303c75['_update'](_0x3c990a,!0x0),delete _0x3c990a['authors'],_0x3b0183['push'](_0x3c990a);}}if(this['adapter']){for(const _0xd57475 of _0x3b0183)this['_bufferUpdate'](_0xd57475['id'],_0xd57475,!0x0);this['sendBufferedUpdates']();}return _0x8e0b9;}['addRevisionData'](_0x2ac07b){const _0x53f731=this['repository']['createRevision'](_0x2ac07b);return this['adapter']&&_0x53f731['on']('_update',(_0x36b649,_0x15aa6b,_0x5f5dc1)=>{_0x5f5dc1||(this['_bufferUpdate'](_0x15aa6b['id'],_0x15aa6b,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x53f731,this['_findInsertionIndex'](_0x53f731)),_0x53f731;}async['getRevisionDocumentData'](_0x5fe430){return await this['_utils']['loadRevisionData'](_0x5fe430,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x5fe430);}async['getRevisionRootsAttributes'](_0x41d079){return await this['_utils']['loadRevisionData'](_0x41d079,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x41d079);}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x5a0148=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x1ad7f7=0x0;_0x1ad7f7<_0x5a0148['length'];_0x1ad7f7++){const _0x27a2b4=_0x5a0148[_0x1ad7f7];let _0x24c98c=!0x1;for(const _0x31b774 of Object['keys'](_0x27a2b4))void 0x0===_0x27a2b4[_0x31b774]?delete _0x27a2b4[_0x31b774]:'id'!==_0x31b774&&(_0x24c98c=!0x0);_0x24c98c||(_0x5a0148[_0x1ad7f7]=null);}if(_0x5a0148=_0x5a0148['filter'](_0x5b2b0c=>null!==_0x5b2b0c),!_0x5a0148['length'])return;for(let _0x5a8516=0x0;_0x5a8516<_0x5a0148['length'];_0x5a8516++){const _0x41bbc7=_0x5a0148[_0x5a8516];void 0x0!==_0x41bbc7['fromVersion']&&void 0x0===_0x41bbc7['toVersion']&&(_0x41bbc7['toVersion']=this['repository']['getRevision'](_0x41bbc7['id'])['toVersion']),void 0x0!==_0x41bbc7['toVersion']&&void 0x0===_0x41bbc7['fromVersion']&&(_0x41bbc7['fromVersion']=this['repository']['getRevision'](_0x41bbc7['id'])['fromVersion']);}const _0x4857b7=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x5a0148,_0x4857b7)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x12f513=>{if(_0x12f513){for(const _0x4f3faa of _0x12f513)this['setRevisionData']({'id':_0x4f3faa['id'],'createdAt':_0x4f3faa['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['buildRevisionData']({revision:_0x515007=null,from:_0x1a4ffb=null,to:_0x2b25c1=null}){_0x1a4ffb=null!==_0x1a4ffb?_0x1a4ffb:_0x515007['fromVersion'],_0x2b25c1=null!==_0x2b25c1?_0x2b25c1:_0x515007['toVersion'];const _0x38c964=this['_revisionDataBuilder']['getData'](_0x1a4ffb,_0x2b25c1),_0x3ff16d={'diffData':_0x38c964['diffData'],'authorsIds':_0x38c964['authorsIds'],'fromVersion':_0x1a4ffb,'toVersion':_0x2b25c1};if(!_0x515007||_0x2b25c1!==_0x515007['toVersion']){const _0x252a59=_0x2b25c1-0x1,_0x5e0cec=this['_source']['history']['getOperation'](_0x252a59);_0x3ff16d['createdAt']=_0x5e0cec&&_0x5e0cec['createdAt']||new Date();}if(this['_loadedStateData']&&_0x1a4ffb===this['_loadedStateData']['fromVersion']){for(const _0x439cd6 of this['_loadedStateData']['authors'])_0x3ff16d['authorsIds']['includes'](_0x439cd6['id'])||_0x3ff16d['authorsIds']['push'](_0x439cd6['id']);}return _0x3ff16d;}['_bufferUpdate'](_0x3f983e,_0x4d25fb,_0xa68e5e){if(this['_bufferedUpdates']['has'](_0x3f983e)){const _0x47dda4=this['_bufferedUpdates']['get'](_0x3f983e);_0x4d25fb=_0xa68e5e?{..._0x47dda4,..._0x4d25fb}:{..._0x4d25fb,..._0x47dda4};}this['_bufferedUpdates']['set'](_0x3f983e,_0x4d25fb);}['setRevisionData'](_0xa1a220){const _0x5cdc15=this['repository']['getRevision'](_0xa1a220['id']);if(_0xa1a220['createdAt']&&(_0xa1a220['createdAt']=new Date(_0xa1a220['createdAt'])),_0xa1a220['authorsIds']){const _0x341486=this['editor']['plugins']['get']('Users');_0xa1a220['authors']=_0xa1a220['authorsIds']['map'](_0x3f4498=>_0x341486['getUser'](_0x3f4498));}_0x5cdc15['_update'](_0xa1a220,!0x0);}['_createInitialRevision'](_0x29d500){const _0x2c6d8d=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x2c6d8d)this['_initialRevisionId']=_0x2c6d8d['id'];else{const _0x15c987=!this['editor']['model']['document']['roots']['find'](_0x32ab9a=>this['editor']['model']['hasContent'](_0x32ab9a)),_0x2097cd=this['editor']['plugins']['get']('Users')['me']['id'],_0x1016a3=_0x4b5ffd(this['editor']['locale'],_0x15c987?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x29d500,'to':_0x29d500,'id':this['_initialRevisionId'],'name':_0x1016a3,'creatorId':_0x2097cd});}}['_createCurrentRevision'](_0x201965){const _0x7d7cfd=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x7d7cfd),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x201965,'to':_0x201965,'id':_0x7d7cfd,'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'](_0x4039f2,_0x39468c,_0x2ca1f2){const _0x14f379={},_0x4a57e3={},_0x5bdd84={},_0x12fd34=this['editor']['config']['get']('roots')||{};for(const [_0x3da87f,_0x1361b8]of Object['entries'](_0x12fd34))_0x1361b8['lazyLoad']||(_0x14f379[_0x3da87f]=_0x1361b8['initialData']??'',_0x4a57e3[_0x3da87f]=_0x1361b8['modelAttributes']||{},_0x1361b8['modelElement']&&(_0x5bdd84[_0x3da87f]=_0x1361b8['modelElement']));for(const _0xa1692d of this['editor']['model']['document']['getRootNames']())_0x14f379[_0xa1692d]??='',_0x4a57e3[_0xa1692d]??={};let _0x591fa8=!0x1;const _0x41cd17=Object['keys'](_0x14f379),_0x2db272=Object['keys'](_0x4039f2);for(const _0xc87441 of _0x41cd17){if(_0x14f379[_0xc87441]!==_0x4039f2[_0xc87441]&&''!==_0x14f379[_0xc87441]['trim']()){_0x591fa8=!0x0;break;}if(!pt(_0x4a57e3[_0xc87441],_0x39468c[_0xc87441])&&Object['keys'](_0x4a57e3[_0xc87441])['length']>0x0){_0x591fa8=!0x0;break;}const _0xb4ca76=_0x5bdd84[_0xc87441],_0x139a7c=_0x2ca1f2[_0xc87441];if(_0xb4ca76&&_0x139a7c&&_0xb4ca76!==_0x139a7c){_0x591fa8=!0x0;break;}}_0x591fa8||(_0x591fa8=_0x2db272['some'](_0x3a8de7=>!this['editor']['model']['document']['getRoot'](_0x3a8de7))),_0x591fa8&&_0x5f37cd['logWarning']('editor-initial-data-replaced-with-revision-data',{'editorData':_0x14f379,'editorRootsAttributes':_0x4a57e3,'editorRootsModelElements':_0x5bdd84,'revisionData':_0x4039f2,'revisionRootsAttributes':_0x39468c,'revisionRootsModelElements':_0x2ca1f2});for(const [_0x548552,_0x3f0681]of Object['entries'](_0x4039f2))this['editor']['config']['set']('roots.'+_0x548552+'.initialData',_0x3f0681);for(const [_0x574e88,_0x500923]of Object['entries'](_0x39468c))this['editor']['config']['set']('roots.'+_0x574e88+'.modelAttributes',_0x500923);const _0x4197c0=this['editor']['model']['document'];for(const [_0x11b3b2,_0x2ea62a]of Object['entries'](_0x2ca1f2)){this['editor']['config']['set']('roots.'+_0x11b3b2+'.modelElement',_0x2ea62a);const _0x397f8d=_0x4197c0['getRoot'](_0x11b3b2);_0x397f8d&&_0x397f8d['name']!==_0x2ea62a&&(_0x4197c0['roots']['remove'](_0x11b3b2),_0x4197c0['createRoot'](_0x2ea62a,_0x11b3b2));}}['_addPendingAction'](){if(!this['_pendingAction']){const _0x12437e=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x12437e['add'](_0x4b5ffd(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x28a13d){const _0x16e107=this['repository']['getRevisions']();_0x16e107['reverse']();let _0x465fcf=0x0;for(;_0x465fcf<_0x16e107['length'];){const _0x3292c2=_0x16e107[_0x465fcf];if(_0x3292c2===this['currentRevision']){_0x465fcf++;continue;}if(_0x3292c2['id']===this['_initialRevisionId'])break;const _0x2d021b=_0x28a13d['toVersion']-_0x3292c2['toVersion']||_0x28a13d['fromVersion']-_0x3292c2['fromVersion'];if(_0x2d021b>0x0)break;if(_0x2d021b<0x0)_0x465fcf++;else{if(!_0x28a13d['creator']&&_0x3292c2['creator'])break;if(_0x3292c2['creator']||!_0x28a13d['creator']){if(_0x28a13d['createdAt']>_0x3292c2['createdAt'])break;_0x465fcf++;}else _0x465fcf++;}}return _0x465fcf;}['_getFromVersion'](_0x428b83){const _0x4398e5=this['repository']['getRevisions']();_0x4398e5['reverse'](),_0x4398e5['shift']();const _0x3bece7=_0x4398e5['find'](_0x18ac9d=>_0x18ac9d['toVersion']<=_0x428b83)['toVersion'];return _0x3bece7<this['_startingVersion']?this['_startingVersion']:_0x3bece7;}['_makeRevision']({name:_0x33018b,from:_0x344900,to:_0x57df62,creatorId:_0x11fb90,id:_0x514038}){const _0x3a5563=this['buildRevisionData']({'from':_0x344900,'to':_0x57df62});_0x3a5563['name']=_0x33018b,_0x3a5563['creatorId']=_0x11fb90,_0x3a5563['id']=_0x514038;const _0x4da867=this['addRevisionData'](_0x3a5563);return this['adapter']&&this['_bufferUpdate'](_0x3a5563['id'],_0x3a5563,!0x0),_0x4da867;}['_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(_0x49952c){this['editor']=_0x49952c,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'](_0x326ef9){this['source']=_0x326ef9;const _0x10e78a=new Map(),_0x222445=new Map(),_0x108ec2=this['editor']['model']['document']['roots']['map'](_0xaf0239=>_0xaf0239['rootName']);for(const _0x1e5f3b of _0x108ec2){const _0x267fd5=this['editor']['model']['document']['getRoot'](_0x1e5f3b),_0x17fd3a=_0x2607c6(_0x267fd5);_0x10e78a['set'](_0x1e5f3b,_0x17fd3a),_0x222445['set'](_0x1e5f3b,Object['fromEntries'](_0x267fd5['getAttributes']()));}const _0x428872=Array['from'](this['editor']['model']['markers'])['map'](_0x17c18e=>[_0x17c18e['name'],_0x17c18e['getRange']()]),_0x1e5f9f=this['source']['version'];this['_saveMetaData'](_0x1e5f9f,_0x10e78a,_0x428872,_0x222445),this['_startingRevisionId']=this['_revisionId'];const _0x3d6e92=new Map(),_0x5dad57=new Map();for(const _0x249a85 of _0x108ec2){const _0x297b5a=tp(_0x249a85,this['editor']['model']['document']['getRoot'](_0x249a85)['name']);_0x3d6e92['set'](_0x249a85,_0x297b5a),_0x5dad57['set'](_0x249a85,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3d6e92,[],_0x5dad57);}['getData'](_0x54736d,_0x612334){if(this['_lastFrom']===_0x54736d&&this['_lastTo']<=_0x612334)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x612334,!0x0);else{if(!this['_savedMetaData']['has'](_0x54736d)){const _0x5c3fc6=this['_getPreviousFrom'](_0x54736d);this['_calculateMetaData'](_0x5c3fc6,_0x54736d,!0x1);}this['_calculateMetaData'](_0x54736d,_0x612334,!0x0);}return this['_lastFrom']=_0x54736d,this['_lastTo']=_0x612334,this['_getState']();}['loadState'](_0x163ee7){if(!this['_savedMetaData']['has'](_0x163ee7['fromVersion'])){const _0xa5f978=this['_getPreviousFrom'](_0x163ee7['fromVersion']);this['_calculateMetaData'](_0xa5f978,_0x163ee7['fromVersion'],!0x1);}this['_calculateMetaData'](_0x163ee7['fromVersion'],_0x163ee7['toVersion'],!0x1);const _0x672e2b=this['editor']['plugins']['get']('RevisionHistoryUtils');this['_reset'](),this['_lastFrom']=_0x163ee7['fromVersion'],this['_lastTo']=_0x163ee7['toVersion'];for(const _0x300509 in _0x163ee7['diffData']){const _0x477c28=_0x163ee7['diffData'][_0x300509]['attachChange'],_0x3d3906=_0x30292a(_0x163ee7['diffData'][_0x300509]['attributesBefore'])||{},_0x3e1e6f=_0x163ee7['diffData'][_0x300509],_0x30d27a=_0x672e2b['_makeModelFromViewString'](_0x3e1e6f['deletions'],_0x3e1e6f['rootElementName']||'$root');_0x30d27a['rootName']=_0x300509,_0x30d27a['_isAttached']=!_0x477c28||!_0x477c28['isAttached'],_0x30d27a['isAttached']=()=>_0x30d27a['_isAttached'],this['_baseRoots']['set'](_0x300509,_0x30d27a),this['_baseRootsAttributes']['set'](_0x300509,_0x3d3906),_0x477c28&&this['_touchedRoots']['set'](_0x300509,_0x477c28);const _0x412578=this['_makeIdsRoot'](_0x30d27a);this['_baseIdsRoots']['set'](_0x300509,_0x412578);for(const [_0x18322c,_0x393b70]of _0x30d27a['markers']){if(!_0x18322c['startsWith']('revision:'))continue;const _0x449063=_0x18322c['split'](':')[0x2];for(const _0x175070 of _0x393b70['getWalker']({'singleCharacters':!0x0})){const _0x7332d9=this['_getVidAttributeName'](_0x175070),_0x633cea='elementEnd'==_0x175070['type']?_0x175070['previousPosition']['path']['slice'](0x0,-0x1):_0x175070['previousPosition']['path'],_0x6bece6=_0x412578['getNodeByPath'](_0x633cea)['getAttribute'](_0x7332d9);this['_touched']['set'](_0x6bece6,{'userId':_0x449063});}_0x30d27a['markers']['delete'](_0x18322c);}}this['_startingRevisionId']=this['_revisionId'];const _0x26a583=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x5ae1a2=>!this['_touched']['has'](_0x5ae1a2));let _0x8ac5ad=0x0;const _0x39678b=new Map();for(const _0x41d062 in _0x163ee7['diffData']){const _0x8d1156=_0x163ee7['diffData'][_0x41d062]['attachChange'],_0x1fb906=_0x30292a(_0x163ee7['diffData'][_0x41d062]['attributesAfter'])||{},_0x1cf214=_0x163ee7['diffData'][_0x41d062],_0x7ddcfd=_0x672e2b['_makeModelFromViewString'](_0x1cf214['insertions'],_0x1cf214['rootElementName']||'$root');_0x7ddcfd['rootName']=_0x41d062,_0x7ddcfd['_isAttached']=!_0x8d1156||_0x8d1156['isAttached'],_0x7ddcfd['isAttached']=()=>_0x7ddcfd['_isAttached'],this['_diffRoots']['set'](_0x41d062,_0x7ddcfd),this['_diffRootsAttributes']['set'](_0x41d062,_0x1fb906);const _0x3bf651=this['_makeIdsRoot'](_0x7ddcfd,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x41d062,_0x3bf651),_0x39678b['set'](_0x41d062,_0x7ddcfd['isAttached']()?_0x1fb906:{});for(const [_0x15244e,_0x516f2b]of _0x7ddcfd['markers']){if(!_0x15244e['startsWith']('revision:'))continue;const _0x30cf73=_0x15244e['split'](':')[0x2];for(const _0x2a3901 of _0x516f2b['getWalker']({'singleCharacters':!0x0})){const _0x3a930d=this['_getVidAttributeName'](_0x2a3901),_0x401ae3=this['_revisionId']++,_0x490d63='elementEnd'==_0x2a3901['type']?_0x2a3901['previousPosition']['path']['slice'](0x0,-0x1):_0x2a3901['previousPosition']['path'];_0x3bf651['getNodeByPath'](_0x490d63)['_setAttribute'](_0x3a930d,_0x401ae3),this['_touched']['set'](_0x401ae3,{'userId':_0x30cf73});}_0x7ddcfd['markers']['delete'](_0x15244e);}for(const _0x7b0b02 of this['editor']['model']['createRangeIn'](_0x7ddcfd)['getWalker']({'singleCharacters':!0x0})){const _0x53bdbe=this['_getVidAttributeName'](_0x7b0b02),_0x493799='elementEnd'==_0x7b0b02['type']?_0x7b0b02['previousPosition']['path']['slice'](0x0,-0x1):_0x7b0b02['previousPosition']['path'],_0x107ed7=_0x3bf651['getNodeByPath'](_0x493799);_0x107ed7['getAttribute'](_0x53bdbe)>0x0||_0x107ed7['_setAttribute'](_0x53bdbe,_0x26a583[_0x8ac5ad++]);}for(const [_0x2f7438,_0xb2616f]of _0x7ddcfd['markers'])_0x2f7438['startsWith']('revision:')||this['_markers']['set'](_0x2f7438,_0xb2616f);}const {roots:_0x4b9135}=this['_savedMetaData']['get'](_0x163ee7['fromVersion']),{roots:_0x1f1aad}=this['_savedMetaData']['get'](_0x163ee7['toVersion']),_0x3d146a=_0x2607c6(_0x4b9135['get']('$graveyard'));this['_baseRoots']['set']('$graveyard',_0x3d146a),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3d146a,Number['NEGATIVE_INFINITY']));const _0x550631=_0x2607c6(_0x1f1aad['get']('$graveyard'));this['_diffRoots']['set']('$graveyard',_0x550631),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x550631));const _0x172201=Array['from'](this['_diffRoots'])['map'](([_0x162ea2,_0x1c449d])=>[_0x162ea2,_0x2607c6(_0x1c449d)]);this['_saveMetaData'](this['_lastTo'],_0x172201,this['_markers'],_0x39678b);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_saveMetaData'](_0x137613,_0x188620,_0x4b6970,_0x2bb8d7){const _0xe14082=new Map(_0x188620),_0x524e20=new Map(_0x30292a(_0x2bb8d7)),_0x2e1b0a=new Map();for(const [_0x582591,_0x3a1d43]of _0x4b6970)_0x2e1b0a['set'](_0x582591,{'start':_0x3a1d43['start']['clone'](),'end':_0x3a1d43['end']['clone'](),'rootName':_0x3a1d43['root']['rootName']});this['_savedMetaData']['set'](_0x137613,{'roots':_0xe14082,'markers':_0x2e1b0a,'rootsAttributes':_0x524e20});}['_removeMetaData'](_0x4e2dff){this['_savedMetaData']['delete'](_0x4e2dff);}['_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'](_0x44f5a8,_0x2aaadf=null){let _0x7c3960=null;_0x44f5a8['is']('documentFragment')||(_0x7c3960=new _0x5f37cd['ModelElement'](_0x44f5a8['name'],{'vid_start':null===_0x2aaadf?this['_revisionId']++:_0x2aaadf++}));const _0x236d7c=[];for(const _0x4c88b2 of _0x44f5a8['getChildren']())if(_0x4c88b2['is']('element')){_0x236d7c['push'](this['_makeIdsRoot'](_0x4c88b2,_0x2aaadf));const _0x313968=_0x236d7c[_0x236d7c['length']-0x1];null!==_0x2aaadf&&(_0x2aaadf=_0x313968['is']('element','$text')?_0x313968['getAttribute']('vid')+0x1:_0x313968['getAttribute']('vid_end')+0x1);}else{for(let _0x8e3096=0x0;_0x8e3096<_0x4c88b2['offsetSize'];_0x8e3096++)_0x236d7c['push'](new _0x5f37cd['ModelElement']('$text',{'vid':null===_0x2aaadf?this['_revisionId']++:_0x2aaadf++}));}if(_0x44f5a8['is']('documentFragment')){const _0x43fe74=tp(_0x44f5a8['rootName'],_0x44f5a8['name']);return _0x43fe74['_insertChild'](0x0,_0x236d7c),_0x43fe74;}return _0x7c3960['_setAttribute']('vid_end',null===_0x2aaadf?this['_revisionId']++:_0x2aaadf++),_0x7c3960['_insertChild'](0x0,_0x236d7c),_0x7c3960;}['_calculateMetaData'](_0x254fb3,_0x24c0ed,_0xb47832){this['_reset']();const {roots:_0x58b67a,markers:_0x32af3f,rootsAttributes:_0x1aa7f8}=this['_savedMetaData']['get'](_0x254fb3);this['_baseRoots']=new Map(_0x58b67a),this['_baseRootsAttributes']=new Map(_0x30292a(_0x1aa7f8));for(const [_0x4ddfb1,_0xc52a40]of this['_baseRoots'])if('$graveyard'!==_0x4ddfb1&&(this['_diffRoots']['set'](_0x4ddfb1,_0x2607c6(_0xc52a40)),this['_diffRootsAttributes']=new Map(_0x30292a(_0x1aa7f8)),_0xb47832)){const _0x532c74=this['_revisionId'];this['_idsRoots']['set'](_0x4ddfb1,this['_makeIdsRoot'](_0xc52a40)),this['_baseIdsRoots']['set'](_0x4ddfb1,this['_makeIdsRoot'](_0xc52a40,_0x532c74));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',_0x2607c6(this['_baseRoots']['get']('$graveyard'))),_0xb47832&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x4a7585,_0x219a0a]of _0x32af3f){const _0x54a830=this['_baseRoots']['get'](_0x219a0a['rootName']),_0x3fbf10=this['_diffRoots']['get'](_0x219a0a['rootName']),_0x4e94af=new _0x5f37cd['ModelRange'](this['_fixPosition'](_0x219a0a['start'],_0x54a830),this['_fixPosition'](_0x219a0a['end'],_0x54a830)),_0x180807=this['_fixRange'](_0x4e94af,_0x3fbf10);_0x54a830['markers']['set'](_0x4a7585,_0x4e94af),this['_markers']['set'](_0x4a7585,_0x180807);}this['_applyOperations'](_0x254fb3,_0x24c0ed,_0xb47832);}['_applyOperations'](_0x255d93,_0x47acdd,_0x79bd86){for(const _0x22be94 of this['source']['getOperations'](_0x255d93,_0x47acdd))this['_handleOperation'](_0x22be94,_0x79bd86);for(const _0x8b66c of this['_diffRoots']['values']())_0x8b66c['markers']['clear']();for(const [_0x42f9ed,_0x40e687]of this['_markers']){this['_diffRoots']['get'](_0x40e687['root']['rootName'])['markers']['set'](_0x42f9ed,_0x40e687['clone']());}const _0x47a08b=new Map(),_0x4c1687=new Map();for(const [_0x693332,_0x5a1e17]of this['_diffRoots'])_0x47a08b['set'](_0x693332,_0x2607c6(_0x5a1e17)),_0x4c1687['set'](_0x693332,this['_diffRootsAttributes']['get'](_0x693332));this['_saveMetaData'](_0x47acdd,_0x47a08b,this['_markers'],_0x4c1687);}['_getPreviousFrom'](_0x2de90f){const _0x12e417=Array['from'](this['_savedMetaData']['keys']());_0x12e417['sort']((_0x3c4f1,_0x3732b1)=>_0x3c4f1-_0x3732b1),_0x12e417['reverse']();for(const _0x4dc225 of _0x12e417)if(_0x4dc225<_0x2de90f)return _0x4dc225;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x173e6a,_0x52c535){const _0x31bdad=Array['from'](_0x52c535['markers'])['map'](([_0x2a1990,_0x4020f9])=>[_0x2a1990,this['_fixRange'](_0x4020f9,_0x173e6a)]);_0x173e6a['markers']=new Map(_0x31bdad);}['_transformMarkers'](_0x153f45){for(const _0x57edd3 of this['_markers']['values']()){const _0x5ee2fb=_0x57edd3['getTransformedByOperation'](_0x153f45),_0xcdef81=_0x5f37cd['ModelRange']['_createFromRanges'](_0x5ee2fb);_0x57edd3['start']=_0xcdef81['start'],_0x57edd3['end']=_0xcdef81['end'];}}['_handleOperation'](_0x40edfb,_0x34f2e9){if('addRoot'!=_0x40edfb['type']&&'detachRoot'!=_0x40edfb['type']){if('insert'==_0x40edfb['type']){const _0x43d89f=_0x40edfb['position']['root'],_0xa52ab2=_0x43d89f['rootName'],_0x4d9ec8=_0x43d89f['name'];this['_diffRoots']['has'](_0xa52ab2)||(this['_diffRoots']['set'](_0xa52ab2,tp(_0xa52ab2,_0x4d9ec8,!0x0)),this['_diffRootsAttributes']['set'](_0xa52ab2,{}),_0x34f2e9&&this['_idsRoots']['set'](_0xa52ab2,tp(_0xa52ab2,_0x4d9ec8,!0x0)));}else{if('addRootAttribute'==_0x40edfb['type']||'removeRootAttribute'==_0x40edfb['type']||'changeRootAttribute'==_0x40edfb['type'])return void this['_handleRootAttributeOperation'](_0x40edfb);'marker'==_0x40edfb['type']&&this['_handleMarkerOperation'](_0x40edfb);}if('marker'!==_0x40edfb['type']){const _0x43d257=this['_cloneOperation'](_0x40edfb,this['_diffRoots']);_0x43d257['_execute'](),this['_transformMarkers'](_0x43d257);}if(_0x34f2e9)switch(_0x40edfb['type']){case'insert':this['_handleInsertOperation'](_0x40edfb);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x40edfb);break;case'merge':this['_handleMergeOperation'](_0x40edfb);break;case'split':this['_handleSplitOperation'](_0x40edfb);}}else this['_handleRootOperation'](_0x40edfb,_0x34f2e9);}['_cloneOperation'](_0x25012a,_0x27f98b){const _0x2e7c07=_0x25012a['clone']();return _0x2e7c07['_authorId']=_0x25012a['_authorId'],this['_fixOperation'](_0x2e7c07,_0x27f98b),_0x2e7c07;}['_getBaseVids'](_0x50440d){return _0x50440d['map'](_0x3d3e6e=>{const _0x471340=this['_getVidAttributeName'](_0x3d3e6e);return Number(_0x3d3e6e['item']['getAttribute'](_0x471340));});}['_generateTape'](_0x76fde5,_0x2d13b7){if(_0x76fde5['is']('element','$text'))_0x2d13b7['push']({'item':_0x76fde5,'type':'text'});else{_0x76fde5['is']('element')&&_0x2d13b7['push']({'item':_0x76fde5,'type':'elementStart'});for(const _0x32417f of _0x76fde5['getChildren']())this['_generateTape'](_0x32417f,_0x2d13b7);_0x76fde5['is']('element')&&_0x2d13b7['push']({'item':_0x76fde5,'type':'elementEnd'});}return _0x2d13b7;}['_getState'](){const _0x3a2657=new Map(this['_touched']),_0x4d694c=new Map(_0x3a2657),_0x119060=new Map(),_0x1af72e={'insertions':{},'deletions':{}},_0x2349db={'insertions':{},'deletions':{}},_0x354e19=new Map(),_0x9af9a=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]),_0x14f2e2=new Map();_0x9af9a['delete']('$graveyard');for(const _0x4cd18e of _0x9af9a){const _0x468e40=(this['_diffRoots']['get'](_0x4cd18e)??this['_baseRoots']['get'](_0x4cd18e))['name'],_0x534caa=this['_diffRoots']['get'](_0x4cd18e)||tp(_0x4cd18e,_0x468e40,!0x1),_0x324a3b=this['_baseRoots']['get'](_0x4cd18e)||tp(_0x4cd18e,_0x468e40,!0x1);_0x534caa['isAttached']()||_0x324a3b['isAttached']()?(_0x14f2e2['set'](_0x4cd18e,_0x468e40),_0x1af72e['insertions'][_0x4cd18e]=_0x2607c6(_0x534caa),_0x1af72e['deletions'][_0x4cd18e]=_0x2607c6(_0x324a3b),this['_copyMarkers'](_0x1af72e['deletions'][_0x4cd18e],_0x324a3b),this['_copyMarkers'](_0x1af72e['insertions'][_0x4cd18e],_0x534caa),_0x2349db['insertions'][_0x4cd18e]=this['_generateTape'](this['_idsRoots']['get'](_0x4cd18e),[]),_0x2349db['deletions'][_0x4cd18e]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x4cd18e)||tp(_0x4cd18e,_0x468e40,!0x1),[])):_0x9af9a['delete'](_0x4cd18e);}for(const _0x173877 of _0x9af9a){const _0xfdc4ac=_0x2349db['insertions'][_0x173877];for(const _0x8be957 of _0xfdc4ac){const _0x1ee3a1=this['_getVidAttributeName'](_0x8be957),_0x5a06fd=_0x8be957['item']['getAttribute'](_0x1ee3a1);_0x4d694c['delete'](_0x5a06fd),_0x5a06fd>=this['_startingRevisionId']&&_0x119060['set'](_0x5a06fd,_0x3a2657['get'](_0x5a06fd));}}for(const _0x4a6e92 of _0x9af9a){const _0x44d768=_0x2349db['insertions'][_0x4a6e92],_0x433a35=this['_getBaseVids'](_0x2349db['deletions'][_0x4a6e92]);let _0x2d6c04=0x0;for(const _0x33d06e of _0x44d768){const _0x570c53=this['_getVidAttributeName'](_0x33d06e),_0x1f2b65=_0x33d06e['item']['getAttribute'](_0x570c53);if(!_0x119060['has'](_0x1f2b65)&&!_0x354e19['has'](_0x1f2b65)){if(_0x4d694c['has'](_0x1f2b65))_0x2d6c04++;else{if(_0x1f2b65!=_0x433a35[_0x2d6c04]){const _0x552e90=_0x3a2657['get'](_0x1f2b65)||_0x3a2657['get'](_0x433a35[_0x2d6c04]);for(;_0x1f2b65!=_0x433a35[_0x2d6c04];)_0x4d694c['has'](_0x433a35[_0x2d6c04])||(_0x354e19['set'](_0x433a35[_0x2d6c04],_0x552e90),_0x3a2657['set'](_0x433a35[_0x2d6c04],_0x552e90)),_0x2d6c04++;}_0x2d6c04++;}}}}for(const _0x539cf9 of _0x9af9a){const _0x52a252=_0x2349db['insertions'][_0x539cf9];for(const _0x804bbb of _0x52a252){const _0x4fdfff=this['_getVidAttributeName'](_0x804bbb),_0x46b315=_0x804bbb['item']['getAttribute'](_0x4fdfff);if(_0x354e19['has'](_0x46b315)){const _0x5f43d9=_0x354e19['get'](_0x46b315);_0x4d694c['has'](_0x46b315)||_0x4d694c['set'](_0x46b315,{..._0x5f43d9}),_0x119060['set'](_0x46b315,{..._0x5f43d9});}}}for(const _0x1b0021 of _0x4d694c['keys']())_0x1b0021>=this['_startingRevisionId']&&_0x4d694c['delete'](_0x1b0021);const _0x54c3ce=new Map();for(const _0x47ab21 of _0x9af9a){let _0x230417=_0x2349db['insertions'][_0x47ab21];for(const _0x3483f1 of _0x230417)if(_0x3483f1['item']['is']('element','tableCell')){const _0x3c4929=this['_getVidAttributeName'](_0x3483f1),_0x513f5d=_0x3483f1['item']['getAttribute'](_0x3c4929);if(_0x119060['has'](_0x513f5d)){const _0x51ce6e=_0x3483f1['item']['parent']['parent']['getAttribute']('vid_start'),_0x134e72=_0x54c3ce['get'](_0x51ce6e)||new Set();_0x134e72['add'](_0x119060['get'](_0x513f5d)['userId']),_0x54c3ce['set'](_0x51ce6e,_0x134e72);}}_0x230417=_0x2349db['deletions'][_0x47ab21];for(const _0x558a88 of _0x230417)if(_0x558a88['item']['is']('element','tableCell')){const _0x2da4f2=this['_getVidAttributeName'](_0x558a88),_0x112eea=_0x558a88['item']['getAttribute'](_0x2da4f2);if(_0x4d694c['has'](_0x112eea)){const _0x156374=_0x558a88['item']['parent']['parent']['getAttribute']('vid_start'),_0x2291ac=_0x54c3ce['get'](_0x156374)||new Set();_0x2291ac['add'](_0x4d694c['get'](_0x112eea)['userId']),_0x54c3ce['set'](_0x156374,_0x2291ac);}}for(const _0x8d4356 of _0x54c3ce['keys']())(_0x119060['has'](_0x8d4356)||_0x4d694c['has'](_0x8d4356))&&_0x54c3ce['delete'](_0x8d4356);}for(const _0x5cf27b of _0x9af9a){const _0x4652e2=_0x2349db['insertions'][_0x5cf27b];let _0x482627=null,_0x14edc5=null;for(const _0x3ba468 of _0x4652e2){const _0x751ff=this['_getVidAttributeName'](_0x3ba468),_0xea050a=_0x3ba468['item']['getAttribute'](_0x751ff),_0x1daade=_0x54c3ce['get'](_0xea050a);_0x1daade&&'elementStart'==_0x3ba468['type']&&(_0x482627=Array['from'](_0x1daade)[0x0],_0x14edc5=_0x3ba468['item']['getAttribute']('vid_end')),_0x482627&&(_0x4d694c['set'](_0xea050a,{'userId':_0x482627}),_0x119060['set'](_0xea050a,{'userId':_0x482627})),_0xea050a==_0x14edc5&&(_0x482627=null,_0x14edc5=null);}}const _0x3869f7={},_0x386935=new Set();for(const _0x1d2483 of _0x9af9a){const _0x3fe440=_0x1af72e['deletions'][_0x1d2483],_0x3f9d54=_0x1af72e['insertions'][_0x1d2483];for(const {userId:_0x449dfc}of this['_touchedMarkers']['values']())null!==_0x449dfc&&_0x386935['add'](_0x449dfc);for(const {userId:_0x4ae311}of this['_touchedRoots']['values']())null!==_0x4ae311&&_0x386935['add'](_0x4ae311);this['_markChanges'](_0x3f9d54,_0x2349db['insertions'][_0x1d2483],_0x119060,'insertion',_0x386935),this['_markChanges'](_0x3fe440,_0x2349db['deletions'][_0x1d2483],_0x4d694c,'deletion',_0x386935),_0x3869f7[_0x1d2483]={'insertions':this['_prepareViewToSave'](_0x3f9d54),'deletions':this['_prepareViewToSave'](_0x3fe440),'attachChange':this['_touchedRoots']['get'](_0x1d2483)||null,'attributesBefore':_0x30292a(this['_baseRootsAttributes']['get'](_0x1d2483))||{},'attributesAfter':_0x30292a(this['_diffRootsAttributes']['get'](_0x1d2483)),'rootElementName':_0x14f2e2['get'](_0x1d2483)};}return{'diffData':_0x3869f7,'authorsIds':Array['from'](_0x386935)};}['_processRootBeforeSave'](_0x4931a6){for(const [,_0x560155]of _0x4931a6['markers']){const _0x1ccd9b=_0x560155['start']['getAncestors']()['filter'](_0x340ab2=>'tableCell'==_0x340ab2['name']);for(const _0x2989f9 of _0x1ccd9b)0x1==_0x2989f9['childCount']&&_0x2989f9['getChild'](0x0)['is']('element','paragraph')&&_0x2989f9['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x1c9bca){this['_processRootBeforeSave'](_0x1c9bca);const _0x57acf0=this['editor']['data']['toView'](_0x1c9bca,{}),_0x1440b3=Array['from'](_0x57acf0['getChildren']())['map'](_0x2a4c2a=>this['_getViewJson'](_0x2a4c2a));return JSON['stringify'](_0x1440b3);}['_getViewJson'](_0x3f5729){if(_0x3f5729['is']('$text'))return _0x3f5729['data'];{const _0x24888e=this['editor']['plugins']['get']('RevisionHistoryUtils'),_0x14bd7e=_0x3f5729,_0x40461f=this['editor']['data']['htmlProcessor']['domConverter'],_0x2bfa0a={'type':_0x24888e['_getTypeCharForViewElement'](_0x14bd7e),'name':_0x14bd7e['name'],'attributes':Array['from'](_0x14bd7e['getAttributes']()),'children':Array['from'](_0x14bd7e['getChildren']())['map'](_0x14143f=>this['_getViewJson'](_0x14143f))};if(_0x3f5729['is']('uiElement')&&'$comment'!=_0x3f5729['name']){const _0x19018e=_0x3f5729['render'](_0x40461f['domDocument'],_0x40461f);_0x2bfa0a['children']['push'](_0x19018e['outerHTML']);}else{if(_0x3f5729['is']('rawElement')){const _0x1b39ba=_0x40461f['domDocument']['createElement'](_0x14bd7e['name']);_0x3f5729['render'](_0x1b39ba,_0x40461f),_0x2bfa0a['children']['push'](_0x1b39ba['innerHTML']);}}const _0x34def0=Array['from'](_0x14bd7e['getCustomProperties']());_0x34def0['length']>0x0&&(_0x2bfa0a['customProperties']=_0x34def0);const _0x55cc26=_0x14bd7e['getFillerOffset']();return null!==_0x55cc26&&(_0x2bfa0a['fillerOffset']=_0x55cc26),_0x2bfa0a;}}['_markChanges'](_0x5ed32f,_0x16a644,_0x12db75,_0x3d7038,_0x46fa74){let _0x18de3a=null,_0x360fc7=null,_0x3f855f=0x0;const _0x2b566d=this['editor']['model'];for(let _0x50bc95=0x0;_0x50bc95<_0x16a644['length'];_0x50bc95++){const _0x3e0339=this['_getVidAttributeName'](_0x16a644[_0x50bc95]),_0x48f009=_0x16a644[_0x50bc95]['item']['getAttribute'](_0x3e0339),_0xb721c5=_0x12db75['get'](_0x48f009),_0x42ac9f=_0x50bc95==_0x16a644['length']-0x1;(!_0x18de3a&&_0xb721c5&&(_0x18de3a=_0xb721c5,_0x360fc7=_0x16a644[_0x50bc95]),_0x18de3a&&(!_0xb721c5||_0xb721c5['userId']!=_0x18de3a['userId']))&&(_0x290e5e(_0xb721c5,_0x99a6aa(_0x360fc7,_0x5ed32f,_0x2b566d),_0x99a6aa(_0x16a644[_0x50bc95],_0x5ed32f,_0x2b566d)),_0x18de3a=_0xb721c5||null,_0x360fc7=_0xb721c5?_0x16a644[_0x50bc95]:null),_0x18de3a&&_0x42ac9f&&_0x290e5e(_0xb721c5,_0x99a6aa(_0x360fc7,_0x5ed32f,_0x2b566d),_0x448d31(_0x16a644[_0x50bc95],_0x5ed32f,_0x2b566d));}function _0x290e5e(_0x15202e,_0xc04e22,_0x3b247f){const _0xd221e7=_0x18de3a['userId'],_0x5834ff='revision:'+_0x3d7038+':'+_0xd221e7+':'+_0x3f855f++,_0x29953d=_0x2b566d['createRange'](_0xc04e22,_0x3b247f);_0x5ed32f['markers']['set'](_0x5834ff,_0x29953d),null!==_0xd221e7&&_0x46fa74['add'](_0xd221e7);}}['_getVidAttributeName'](_0x2c1186){switch(_0x2c1186['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x59734c,_0x56a93e){_0x59734c['baseVersion']=null;for(const _0x592776 in _0x59734c){const _0x540386=_0x59734c[_0x592776];if(_0x540386 instanceof _0x5f37cd['ModelPosition']){const _0x457d6c=_0x56a93e['get'](_0x540386['root']['rootName']);_0x59734c[_0x592776]=this['_fixPosition'](_0x540386,_0x457d6c);}if(_0x540386 instanceof _0x5f37cd['ModelRange']){const _0x46f759=_0x56a93e['get'](_0x540386['root']['rootName']);_0x59734c[_0x592776]=this['_fixRange'](_0x540386,_0x46f759);}'root'===_0x592776&&(_0x59734c['root']=_0x56a93e['get'](_0x59734c['root']['rootName']));}}['_fixRange'](_0x128358,_0x3e692a){return this['editor']['model']['createRange'](this['_fixPosition'](_0x128358['start'],_0x3e692a),this['_fixPosition'](_0x128358['end'],_0x3e692a));}['_fixPosition'](_0x41980c,_0x2f5bf7){return this['editor']['model']['createPositionFromPath'](_0x2f5bf7,_0x41980c['path'],_0x41980c['stickiness']);}['_handleInsertOperation'](_0x4083da){const _0x197db9=this['_idsRoots']['get'](_0x4083da['position']['root']['rootName']),_0x413903=this['_fixPosition'](_0x4083da['position'],_0x197db9),_0x5a6953=null===_0x4083da['_authorId']?null:_0x4083da['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5322e4=_0x413903['parent'],_0x320cca=this['_revisionId'],_0x51c4f2=[];for(const _0x242e4f of _0x4083da['nodes'])if(_0x242e4f['is']('element'))_0x51c4f2['push'](this['_makeIdsRoot'](_0x242e4f));else{for(let _0xba6a0e=0x0;_0xba6a0e<_0x242e4f['offsetSize'];_0xba6a0e++)_0x51c4f2['push'](new _0x5f37cd['ModelElement']('$text',{'vid':this['_revisionId']++}));}const _0x9a8e11=this['_revisionId'];for(let _0x4af13e=_0x320cca;_0x4af13e<_0x9a8e11;_0x4af13e++)this['_touched']['set'](_0x4af13e,{'userId':_0x5a6953});_0x5322e4['_insertChild'](_0x413903['offset'],_0x51c4f2);}['_handleMoveOperation'](_0x5625a5){(_0x5625a5=this['_cloneOperation'](_0x5625a5,this['_idsRoots']))['_execute']();const _0x3d6994=null===_0x5625a5['_authorId']?null:_0x5625a5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4987db=_0x5625a5['getMovedRangeStart'](),_0x46d4d4=_0x4987db['parent'],_0x466e42=_0x4987db['offset'];!function _0x24d1bd(_0x4be257,_0x275b4c,_0x2b11e4,_0x1c046f){for(let _0x46a036=_0x2b11e4;_0x46a036<_0x1c046f;_0x46a036++){const _0x2a0815=_0x275b4c['getChild'](_0x46a036);_0x2a0815['is']('element','$text')?_0x4be257['set'](_0x2a0815['getAttribute']('vid'),{'userId':_0x3d6994}):(_0x4be257['set'](_0x2a0815['getAttribute']('vid_start'),{'userId':_0x3d6994}),_0x24d1bd(_0x4be257,_0x2a0815,0x0,_0x2a0815['childCount']),_0x4be257['set'](_0x2a0815['getAttribute']('vid_end'),{'userId':_0x3d6994}));}}(this['_touched'],_0x46d4d4,_0x466e42,_0x466e42+_0x5625a5['howMany']);}['_handleMergeOperation'](_0x7139e5){const _0x5182fb=null===(_0x7139e5=this['_cloneOperation'](_0x7139e5,this['_idsRoots']))['_authorId']?null:_0x7139e5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x9512f1=_0x7139e5['targetPosition']['parent'],_0x38753d=_0x7139e5['sourcePosition']['parent'],_0x3260fe=_0x9512f1['getAttribute']('vid_end'),_0x34b33d=_0x38753d['getAttribute']('vid_start');_0x9512f1['_setAttribute']('vid_end',_0x38753d['getAttribute']('vid_end')),_0x38753d['_setAttribute']('vid_end',_0x3260fe),this['_touched']['set'](_0x34b33d,{'userId':_0x5182fb}),this['_touched']['set'](_0x3260fe,{'userId':_0x5182fb}),_0x7139e5['_execute']();}['_handleSplitOperation'](_0x5e936e){const _0x213fc2=null===(_0x5e936e=this['_cloneOperation'](_0x5e936e,this['_idsRoots']))['_authorId']?null:_0x5e936e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xa66b04=_0x5e936e['graveyardPosition'],_0x366014=_0x5e936e['splitPosition']['parent'];_0x5e936e['_execute']();const _0x4c20c3=_0x366014['getAttribute']('vid_end'),_0x58d1ba=_0x5e936e['insertionPosition']['nodeAfter'];if(_0xa66b04){const _0x457854=_0x58d1ba['getAttribute']('vid_end'),_0x1c3f74=_0x366014['getAttribute']('vid_end');_0x366014['_setAttribute']('vid_end',_0x457854),_0x58d1ba['_setAttribute']('vid_end',_0x1c3f74),this['_touched']['set'](_0x366014['getAttribute']('vid_end'),{'userId':_0x213fc2}),this['_touched']['set'](_0x58d1ba['getAttribute']('vid_start'),{'userId':_0x213fc2});}else{const _0x595ce4=this['_revisionId']++,_0x6265ea=this['_revisionId']++;_0x366014['_setAttribute']('vid_end',_0x595ce4),_0x58d1ba['_setAttribute']('vid_start',_0x6265ea),_0x58d1ba['_setAttribute']('vid_end',_0x4c20c3),this['_touched']['set'](_0x595ce4,{'userId':_0x213fc2}),this['_touched']['set'](_0x6265ea,{'userId':_0x213fc2});}}['_handleMarkerOperation'](_0x48d1b3){if(!_0x48d1b3['affectsData'])return;const _0x9c3139=(_0x48d1b3=this['_cloneOperation'](_0x48d1b3,this['_diffRoots']))['oldRange']?_0x48d1b3['oldRange']['root']:null,_0x555590=_0x48d1b3['newRange']?_0x48d1b3['newRange']['root']:null;_0x9c3139&&this['_markers']['delete'](_0x48d1b3['name']),_0x555590&&this['_markers']['set'](_0x48d1b3['name'],_0x48d1b3['newRange']['clone']());const _0x1e485f=null===_0x48d1b3['_authorId']?null:_0x48d1b3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2b0ee3=_0x48d1b3['name'];if(!this['_touchedMarkers']['has'](_0x2b0ee3))return void this['_touchedMarkers']['set'](_0x2b0ee3,{'range':_0x48d1b3['oldRange'],'userId':_0x1e485f});const _0x2fab5c=this['_touchedMarkers']['get'](_0x2b0ee3),_0xe42e90=_0x2fab5c['range'],_0x2f44ce=_0x48d1b3['newRange'];null==_0xe42e90&&null==_0x2f44ce||_0xe42e90&&_0x2f44ce&&_0xe42e90['isEqual'](_0x2f44ce)?this['_touchedMarkers']['delete'](_0x48d1b3['name']):_0x2fab5c['userId']=_0x1e485f;}['_handleRootOperation'](_0x4042d0,_0x5e3c87){this['_diffRoots']['has'](_0x4042d0['rootName'])?this['_diffRoots']['get'](_0x4042d0['rootName'])['_isAttached']=_0x4042d0['isAdd']:(this['_diffRoots']['set'](_0x4042d0['rootName'],tp(_0x4042d0['rootName'],_0x4042d0['elementName'],!0x0)),this['_diffRootsAttributes']['set'](_0x4042d0['rootName'],{}),_0x5e3c87&&this['_idsRoots']['set'](_0x4042d0['rootName'],tp(_0x4042d0['rootName'],_0x4042d0['elementName'],!0x0)));const _0xd198d2=null===_0x4042d0['_authorId']?null:_0x4042d0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xc183d7=this['_touchedRoots']['get'](_0x4042d0['rootName']);_0xc183d7&&_0xc183d7['userId']===_0xd198d2?this['_touchedRoots']['delete'](_0x4042d0['rootName']):this['_touchedRoots']['set'](_0x4042d0['rootName'],{'userId':_0xd198d2,'isAttached':_0x4042d0['isAdd']});}['_handleRootAttributeOperation'](_0x552f1f){const _0x1e6b77=this['_diffRootsAttributes']['get'](_0x552f1f['root']['rootName']);null===_0x552f1f['newValue']?delete _0x1e6b77[_0x552f1f['key']]:_0x1e6b77[_0x552f1f['key']]=_0x552f1f['newValue'];}}function _0x2607c6(_0x247a69){const _0x3268a7=tp(_0x247a69['rootName'],_0x247a69['name'],_0x247a69['isAttached']());for(const _0x5a26c1 of _0x247a69['getChildren']()){const _0x2b3f62=_0x5a26c1['_clone'](!0x0);_0x3268a7['_appendChild'](_0x2b3f62);}return _0x3268a7;}function tp(_0x3751a8,_0x1505c3,_0x2c7843=!0x0){const _0x299619=new _0x5f37cd['ModelDocumentFragment']();return _0x299619['rootName']=_0x3751a8,_0x299619['name']=_0x1505c3,_0x299619['_isAttached']=_0x2c7843,_0x299619['isAttached']=()=>_0x299619['_isAttached'],_0x299619;}function _0x99a6aa(_0x239f81,_0x33fdec,_0x4ddac5){const _0x25b098='elementEnd'==_0x239f81['type']?_0x4ddac5['createPositionAt'](_0x239f81['item'],'end'):_0x4ddac5['createPositionBefore'](_0x239f81['item']);return _0x4ddac5['createPositionFromPath'](_0x33fdec,_0x25b098['path'],_0x25b098['stickiness']);}function _0x448d31(_0x4993d7,_0x1fd841,_0x2ec576){const _0x4b4146='elementStart'==_0x4993d7['type']?_0x2ec576['createPositionAt'](_0x4993d7['item'],0x0):_0x2ec576['createPositionAfter'](_0x4993d7['item']);return _0x2ec576['createPositionFromPath'](_0x1fd841,_0x4b4146['path'],_0x4b4146['stickiness']);}class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
_0x5f37cd['CssTransitionDisablerMixin'](_0x5f37cd['View']){['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x37d84b,_0x122207){super(_0x37d84b),this['focusTracker']=new _0x5f37cd['FocusTracker'](),this['keystrokes']=new _0x5f37cd['KeystrokeHandler'](),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x122207),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'](),_0x5f37cd['submitHandler']({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3e796f=_0x4b0ce7=>_0x4b0ce7['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3e796f),this['keystrokes']['set']('arrowleft',_0x3e796f),this['keystrokes']['set']('arrowup',_0x3e796f),this['keystrokes']['set']('arrowdown',_0x3e796f);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x290d04){this['revisionNameInputView']['fieldView']['element']['value']=_0x290d04['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xbfe0ca){const _0x5d0d77=new _0x5f37cd['LabeledFieldView'](this['locale'],_0x5f37cd['createLabeledInputText']),_0x233d56=_0x5d0d77['fieldView'];_0x233d56['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x470f78=_0x4b5ffd(this['locale'],'Name\x20of\x20the\x20revision');return!_0xbfe0ca&&(_0x470f78+='\x20('+_0x4b5ffd(this['locale'],'optional')+')'),(_0x5d0d77['label']=_0x470f78,_0x233d56['on']('input',()=>{this['revisionNameInputValue']=_0x233d56['element']['value']['trim']();}),_0x5d0d77);}}class RevisionHistoryUI extends _0x5f37cd['Plugin']{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0xff59f3];}['_saveRevisionFormView'];['init'](){const _0x42bc9a=this['editor'],_0x531603=_0x42bc9a['plugins']['get']('RevisionTracker');_0x42bc9a['ui']['componentFactory']['add']('revisionHistory',_0x8f9260=>{const _0x268b43=_0x5f37cd['createDropdown'](_0x8f9260),_0x2b5406=_0x268b43['panelView']['children'],_0x187e40=new _0x5f37cd['ListView'](_0x8f9260),_0x4b888d=new _0x5f37cd['ListItemView'](_0x8f9260),_0x26ccb4=this['_createSaveRevisionButton'](_0x5f37cd['ButtonView']),_0x250bef=new _0x5f37cd['ListItemView'](_0x8f9260),_0x352019=this['_createOpenRevisionButton'](_0x5f37cd['ButtonView']);return _0x268b43['bind']('isEnabled')['to'](_0x531603,'isReady',_0x531603,'isEnabled',_0x42bc9a,'isReadOnly',(_0x3129de,_0x255681,_0x5f50e3)=>_0x3129de&&_0x255681&&!_0x5f50e3),_0x268b43['buttonView']['set']({'icon':_0x5f37cd['IconHistory'],'label':_0x4b5ffd(_0x8f9260,'Revision\x20history'),'tooltip':!0x0}),_0x26ccb4['set']({'withText':!0x0,'role':'menuitem'}),_0x352019['set']({'withText':!0x0,'role':'menuitem'}),this['listenTo'](_0x352019,'execute',()=>{_0x268b43['isOpen']=!0x1,_0x42bc9a['editing']['view']['focus']();},{'priority':'low'}),_0x4b888d['children']['add'](_0x26ccb4),_0x250bef['children']['add'](_0x352019),_0x187e40['role']='menu',_0x187e40['items']['addMany']([_0x4b888d,_0x250bef]),_0x2b5406['add'](_0x187e40),_0x268b43;}),_0x42bc9a['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x46c22e=this['editor'],_0x43c2e3=_0x46c22e['locale'],_0x59138f=_0x46c22e['plugins']['get']('RevisionTracker'),_0xa0516=new _0x5f37cd['MenuBarMenuView'](_0x43c2e3),_0x13d8a4=new _0x5f37cd['MenuBarMenuListView'](_0x43c2e3);_0xa0516['bind']('isEnabled')['to'](_0x59138f,'isReady',_0x59138f,'isEnabled',_0x46c22e,'isReadOnly',(_0x56393a,_0x1149e7,_0x20d9d7)=>_0x56393a&&_0x1149e7&&!_0x20d9d7),_0xa0516['buttonView']['set']({'icon':_0x5f37cd['IconHistory'],'label':_0x4b5ffd(_0x43c2e3,'Revision\x20history')});const _0x392399=new _0x5f37cd['MenuBarMenuListItemView'](_0x43c2e3,_0xa0516),_0x33444f=this['_createSaveRevisionButton'](_0x5f37cd['MenuBarMenuListItemButtonView']);_0x33444f['delegate']('execute')['to'](_0xa0516),_0x392399['children']['add'](_0x33444f),_0x13d8a4['items']['add'](_0x392399);const _0x5bed9c=new _0x5f37cd['MenuBarMenuListItemView'](_0x43c2e3,_0xa0516),_0x172757=this['_createOpenRevisionButton'](_0x5f37cd['MenuBarMenuListItemButtonView']);return _0x172757['delegate']('execute')['to'](_0xa0516),_0x5bed9c['children']['add'](_0x172757),_0x13d8a4['items']['add'](_0x5bed9c),_0xa0516['panelView']['children']['add'](_0x13d8a4),_0xa0516;}['_createSaveRevisionButton'](_0x484f2f){const _0x666f39=this['editor'],_0x2c1158=_0x666f39['plugins']['get']('RevisionTracker'),_0x2f267e=new _0x484f2f(_0x666f39['locale']);return _0x2f267e['set']({'label':_0x4b5ffd(_0x666f39['locale'],'Save\x20current\x20revision')}),_0x2f267e['bind']('isEnabled')['to'](_0x2c1158,'isReady',_0x2c1158,'isEnabled',_0x666f39,'isReadOnly',(_0x196797,_0x4d9ad3,_0x405743)=>_0x196797&&_0x4d9ad3&&!_0x405743),this['listenTo'](_0x2f267e,'execute',()=>{this['_showDialog']();}),_0x2f267e;}['_createOpenRevisionButton'](_0x35c931){const _0x122f76=this['editor'],_0x261ec9=_0x122f76['plugins']['get']('RevisionTracker'),_0x19d54e=new _0x35c931(_0x122f76['locale']);return _0x19d54e['set']({'label':_0x4b5ffd(_0x122f76['locale'],'Open\x20revision\x20history')}),_0x19d54e['bind']('isEnabled')['to'](_0x261ec9,'isReady',_0x122f76,'isReadOnly',(_0x3eb3ce,_0x153215)=>_0x3eb3ce&&!_0x153215),this['listenTo'](_0x19d54e,'execute',()=>{_0x122f76['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x19d54e;}['_showDialog'](){const _0xeeb450=this['editor'],_0x59553e=_0xeeb450['locale'],_0x528d98=_0xeeb450['plugins']['get']('Dialog'),_0x3ce6ae=_0xeeb450['plugins']['get']('RevisionTracker');function _0x142d19(_0x229767){_0xeeb450['config']['get']('revisionHistory.requireRevisionName')&&''===_0x229767['revisionName']?_0x229767['revisionNameInputView']['errorText']=_0x4b5ffd(_0x59553e,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0xeeb450['plugins']['get'](_0xff59f3)['saveRevision']({'name':_0x229767['revisionName']}),_0x528d98['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x142d19(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x528d98['show']({'id':'revisionSave','title':_0x4b5ffd(_0x59553e,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':_0x4b5ffd(_0xeeb450['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x528d98['hide']()},{'label':_0x4b5ffd(_0xeeb450['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4c10dc){_0x4c10dc['bind']('isEnabled')['to'](_0x3ce6ae,'isReady',_0x3ce6ae,'isEnabled',_0xeeb450,'isReadOnly',(_0x4b0db5,_0x3a7771,_0xfff7ea)=>_0x4b0db5&&_0x3a7771&&!_0xfff7ea);},'onExecute':()=>_0x142d19(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x400701=this['editor'],_0x35cee7=_0x400701['locale'];this['_saveRevisionFormView']=new RevisionHistorySaveRevisionFormView(_0x35cee7,_0x400701['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class ChangeDetailsView extends _0x5f37cd['View']{['changeId'];['_model'];constructor(_0x51061b,_0x2c99ca){super(_0x51061b),this['_model']=_0x2c99ca,this['changeId']=_0x2c99ca['id'];const _0xb8169d=this['bindTemplate'],_0x3fbf00=_0x4b5ffd(_0x51061b,_0x2c99ca['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2c99ca['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2c99ca['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0xb8169d['to']('type',_0x5187ea=>'ck-revision-change__'+_0x5187ea)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x3fbf00}]},{'text':'\x20'+_0x2c99ca['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class ChangeItem extends/* #__PURE__ -- @preserve */
_0x5f37cd['ObservableMixin'](){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x543ff2){super(),this['id']=_0x543ff2['id']||_0x5f37cd['uid'](),this['author']=_0x543ff2['author'],this['type']=_0x543ff2['type'],this['data']=_0x543ff2['data']||{},this['rootName']=_0x543ff2['rootName'],this['set']('createdAt',_0x543ff2['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class _0xef2305{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x2ac5d0,_0x990714){this['newRevisionId']=_0x2ac5d0,this['oldRevisionId']=_0x990714,this['changes']=new _0x5f37cd['Collection']();}['_setChanges'](_0x582419){for(const _0x2b6cdb of _0x582419)this['changes']['add'](_0x2b6cdb);}}class _0x3b1aa5 extends _0x5f37cd['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[_0x4e0926,_0x5f37cd['ContextualBalloon'],RevisionsRepository,RevisionHistoryUtils];}constructor(_0x4645a5){super(_0x4645a5),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',(_0x5a1fdf,_0x49a821,_0x315dfa)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x4cfe6f=>{for(const _0x1335b8 of this['editor']['editing']['view']['document']['roots'])_0x315dfa?_0x4cfe6f['removeClass']('ck-editor__editable__overlay',_0x1335b8):_0x4cfe6f['addClass']('ck-editor__editable__overlay',_0x1335b8);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x2c1176=>null!==_0x2c1176),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x39fb16,_0x57ccef,_0x33a6fc)=>_0x39fb16&&_0x33a6fc?_0x57ccef['changes']['getIndex'](_0x33a6fc):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x4143e5,_0x2c3a48)=>_0x4143e5?_0x2c3a48['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['_balloon']=this['editor']['plugins']['get'](_0x5f37cd['ContextualBalloon']);}['init'](){const _0x337f85=this['editor'],_0x4b14c3=new _0x55ac7c(_0x337f85,{'direction':'backward'}),_0x484705=new _0x55ac7c(_0x337f85,{'direction':'forward'});(_0x337f85['commands']['add']('showPreviousChange',_0x4b14c3),_0x337f85['commands']['add']('showNextChange',_0x484705),_0x337f85['commands']['add']('restoreRevision',new RestoreRevisionCommand(_0x337f85)),this['on']('change:numberOfChanges',()=>{_0x4b14c3['refresh'](),_0x484705['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x337f85['enableReadOnlyMode']('revision-viewer'),_0x337f85['plugins']['has']('WidgetToolbarRepository'))&&_0x337f85['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionDocumentData'](_0x4cb2e7){return await this['_utils']['loadRevisionData'](_0x4cb2e7,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x4cb2e7);}async['getRevisionRootsAttributes'](_0x3a338e){return await this['_utils']['loadRevisionData'](_0x3a338e,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x3a338e);}async['compare'](_0x17f824,_0x4355ae,_0x586080=!0x1){if(!this['isEnabled'])return;const _0x13cece=this['diff'],_0x258eec=this['repository'],_0x5b8047='string'==typeof _0x17f824?_0x258eec['getRevision'](_0x17f824):_0x17f824,_0x398f54='string'==typeof _0x4355ae?_0x258eec['getRevision'](_0x4355ae):_0x4355ae,_0x503b3c=_0x5b8047['id'],_0x4e5d3b=_0x398f54?_0x398f54['id']:null;if(!_0x586080&&this['diff']&&this['diff']['newRevisionId']===_0x503b3c&&this['diff']['oldRevisionId']===_0x4e5d3b)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new _0xef2305(_0x503b3c,_0x4e5d3b);const _0x2f81fb=this['_getRevisionsRange'](_0x5b8047,_0x398f54,!0x0)['map'](_0x13a8e0=>this['_utils']['loadRevisionData'](_0x13a8e0,this['adapter']));return _0x2f81fb['push'](new Promise(_0xb28d0f=>{setTimeout(_0xb28d0f,0x14);})),Promise['all'](_0x2f81fb)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x39139a=this['_getDiff'](_0x503b3c,_0x4e5d3b);for(const _0x36ed32 of _0x39139a['changes'])this['_changeIdToChange']['set'](_0x36ed32['id'],_0x36ed32);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x3695f2=>{for(const _0x486632 of this['editor']['model']['document']['getRootNames']())_0x3695f2['detachRoot'](_0x486632);for(const _0x14a29b of Object['keys'](_0x39139a['model'])){const _0x3f0562=_0x39139a['model'][_0x14a29b]['name'],_0x3ebb76=_0x3695f2['addRoot'](_0x14a29b,_0x3f0562);for(const _0x39555d of Object['keys'](_0x39139a['attributes'][_0x14a29b]))_0x3695f2['setAttribute'](_0x39555d,_0x39139a['attributes'][_0x14a29b][_0x39555d],_0x3ebb76);_0x3695f2['insert'](_0x39139a['model'][_0x14a29b],_0x3ebb76,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x39139a['changes'])),this['isReady']=!0x0;})['catch'](_0x4178ba=>{console['error'](_0x4178ba),this['_cleanUp'](),_0x13cece&&(this['diff']=_0x13cece),this['isReady']=!0x0;});}['addRevisionData'](_0x40de08,_0x4a963d){const _0x1d9109=this['repository']['createRevision'](_0x40de08);return _0x1d9109['on']('_update',(_0x234e0e,_0x4a49e9,_0x5bcc09)=>_0x4a963d(_0x4a49e9,_0x5bcc09,_0x1d9109)),this['repository']['addRevision'](_0x1d9109),_0x1d9109;}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x137097=>{for(const _0xa9aa88 of this['editor']['model']['document']['getRootNames']())_0x137097['detachRoot'](_0xa9aa88);});}['_sortAndFilterDiffChanges'](_0x4717ba){const _0x5e4457=[],_0x5cce75=new Map();for(const _0x3470da of this['editor']['model']['document']['getRootNames']()){const _0x1e9c24=this['editor']['editing']['view']['getDomRoot'](_0x3470da);if(!_0x1e9c24)continue;const _0x570773=_0x1e9c24['getClientRects']()['item'](0x0);_0x570773&&(_0x5e4457['push'](_0x3470da),_0x5cce75['set'](_0x3470da,_0x570773));}return _0x5e4457['sort']((_0x38e13f,_0x15da94)=>{const _0x1321d1=_0x5cce75['get'](_0x38e13f),_0x4ada5b=_0x5cce75['get'](_0x15da94);return _0x1321d1['y']-_0x4ada5b['y']||_0x1321d1['x']-_0x4ada5b['x'];}),(_0x4717ba=_0x4717ba['filter'](_0x1df29e=>_0x5e4457['includes'](_0x1df29e['rootName'])))['sort']((_0x43e4db,_0xe63b4b)=>_0x5e4457['indexOf'](_0x43e4db['rootName'])-_0x5e4457['indexOf'](_0xe63b4b['rootName'])),_0x4717ba;}['_makeTape'](_0x381ffd){const _0x2507bb=Array['from'](_0x381ffd['markers'])['filter'](([_0x1772e7,_0x1e4705])=>_0x1772e7['startsWith']('revision:')&&!_0x1e4705['isCollapsed']),_0x102614=Array['from'](this['editor']['model']['createRangeIn'](_0x381ffd)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x2507bb['length'])for(const _0x575a7f of _0x102614){const [_0x16273c,_0x2f17df]=_0x2507bb[0x0],[,_0x4b55e3,_0x11d367]=_0x16273c['split'](':');if(_0x2f17df['end']['isEqual'](_0x575a7f['nextPosition'])&&_0x2507bb['shift'](),(_0x575a7f['previousPosition']['isEqual'](_0x2f17df['start'])||_0x575a7f['previousPosition']['isAfter'](_0x2f17df['start']))&&('insertion'==_0x4b55e3?_0x575a7f['isAdded']={'userId':_0x11d367}:'deletion'==_0x4b55e3&&(_0x575a7f['isRemoved']={'userId':_0x11d367})),0x0==_0x2507bb['length'])break;}return _0x102614;}['_refreshStartEndIndex'](_0x4702ea){const _0x4f1406=new Map();for(let _0x48b512=0x0;_0x48b512<_0x4702ea['length'];_0x48b512++)'text'===_0x4702ea[_0x48b512]['type']?(_0x4702ea[_0x48b512]['item']['startIndex']=_0x48b512,_0x4702ea[_0x48b512]['item']['endIndex']=_0x48b512):('elementStart'===_0x4702ea[_0x48b512]['type']?_0x4702ea[_0x48b512]['item']['startIndex']=_0x48b512:'elementEnd'===_0x4702ea[_0x48b512]['type']&&(_0x4702ea[_0x48b512]['item']['endIndex']=_0x48b512),_0x4f1406['set'](_0x4702ea[_0x48b512]['id'],_0x48b512));for(const _0x10857d of _0x4f1406['values']())'elementStart'===_0x4702ea[_0x10857d]['type']?_0x4702ea[_0x10857d]['item']['endIndex']=_0x4f1406['get'](_0x4702ea[_0x10857d]['pairId']):'elementEnd'===_0x4702ea[_0x10857d]['type']&&(_0x4702ea[_0x10857d]['item']['startIndex']=_0x4f1406['get'](_0x4702ea[_0x10857d]['pairId']));}['_processTape'](_0x4ae480){for(let _0x423a1d=0x0;_0x423a1d<_0x4ae480['length'];_0x423a1d++){if('elementStart'===_0x4ae480[_0x423a1d]['type'])_0x4ae480[_0x423a1d]['item']['startIndex']=_0x423a1d;else{if('elementEnd'===_0x4ae480[_0x423a1d]['type']){_0x4ae480[_0x423a1d]['item']['endIndex']=_0x423a1d;const _0x4c8c60=_0x4ae480[_0x423a1d]['item']['startIndex'];_0x4ae480[_0x4c8c60]['pairId']=_0x4ae480[_0x423a1d]['id'],_0x4ae480[_0x423a1d]['pairId']=_0x4ae480[_0x4c8c60]['id'];}else _0x4ae480[_0x423a1d]['item']['startIndex']=_0x423a1d,_0x4ae480[_0x423a1d]['item']['endIndex']=_0x423a1d,_0x4ae480[_0x423a1d]['pairId']=null;}_0x4ae480[_0x423a1d]['markersStart']||(_0x4ae480[_0x423a1d]['markersStart']=[],_0x4ae480[_0x423a1d]['markersEnd']=[]);}}['_markInsertions'](_0x419440,_0x3e44e8){const _0x55936d=_0x419440['filter'](_0x362b74=>!_0x362b74['isAdded']);for(let _0x361ead=0x0;_0x361ead<_0x3e44e8['length'];_0x361ead++)_0x3e44e8[_0x361ead]['isAdded']&&(_0x55936d[_0x361ead]['isAdded']=_0x3e44e8[_0x361ead]['isAdded']);}['_getDiff'](_0x3757f8,_0x3c038f=null){const _0x3ade0a=this['repository']['getRevision'](_0x3757f8),_0x413464=_0x3c038f?this['repository']['getRevision'](_0x3c038f):null,_0x4b120e=this['_getRevisionsRange'](_0x3ade0a,_0x413464),_0x3c111e=_0x4b120e[_0x4b120e['length']-0x1],_0x582f85=new Map(),_0x5876c9={'model':{},'attributes':{},'changes':[]},_0x371087=new Set(),_0x2b927a=new Map();for(let _0xbd3ddc=_0x4b120e['length']-0x1;_0xbd3ddc>=0x0;_0xbd3ddc--){const _0x49793c=_0x4b120e[_0xbd3ddc];for(const _0x12aa85 of Object['keys'](_0x49793c['diffData']))if(_0x49793c['diffData'][_0x12aa85]['attachChange']){const _0x1f7e88=_0x49793c['diffData'][_0x12aa85]['attachChange'];_0x1f7e88['isAttached']?(_0x371087['add'](_0x12aa85),_0x2b927a['has'](_0x12aa85)&&_0x2b927a['get'](_0x12aa85)['userId']==_0x1f7e88['userId']?_0x2b927a['delete'](_0x12aa85):_0x2b927a['set'](_0x12aa85,_0x1f7e88)):_0x2b927a['has'](_0x12aa85)?(_0x371087['delete'](_0x12aa85),_0x2b927a['delete'](_0x12aa85)):(_0x371087['add'](_0x12aa85),_0x2b927a['set'](_0x12aa85,_0x1f7e88));}else _0x371087['add'](_0x12aa85);}for(const _0x251e56 of _0x371087){const _0x1273c8=_0x2b927a['has'](_0x251e56)&&!_0x2b927a['get'](_0x251e56)['isAttached'];let _0x4dd99a=_0x1273c8?_0x4b120e['length']-0x1:0x0;const _0x52387f=_0x1273c8?-0x1:0x1;for(;_0x4b120e[_0x4dd99a];){const _0x1ff553=_0x4b120e[_0x4dd99a];if(_0x1ff553['diffData'][_0x251e56]){const _0x3e24a0=_0x1273c8?_0x1ff553['diffData'][_0x251e56]['attributesBefore']:_0x1ff553['diffData'][_0x251e56]['attributesAfter'];_0x5876c9['attributes'][_0x251e56]=_0x3e24a0?_0x30292a(_0x3e24a0):{};break;}_0x4dd99a+=_0x52387f;}}for(const _0x486f18 of _0x4b120e){_0x486f18['model']={};for(const _0x3a9164 of _0x486f18['authors'])_0x582f85['set'](_0x3a9164['id'],_0x3a9164);for(const _0x19fb63 of _0x371087){const _0x10e800=_0x486f18['diffData'][_0x19fb63]?_0x486f18['diffData'][_0x19fb63]['insertions']:'[]',_0x2226f3=_0x486f18['diffData'][_0x19fb63]?_0x486f18['diffData'][_0x19fb63]['deletions']:'[]',_0x4193e6=_0x486f18['diffData'][_0x19fb63]?.['rootElementName']||'$root';_0x486f18['model'][_0x19fb63]={'insertions':this['_utils']['_makeModelFromViewString'](_0x10e800,_0x4193e6),'deletions':this['_utils']['_makeModelFromViewString'](_0x2226f3,_0x4193e6)};}}for(const _0x27c610 of _0x371087){let _0x2e37b4=null,_0x2335ca=0x0;const _0x497d40=_0x4b120e['map'](_0x5ec0a8=>_0x5ec0a8['diffData'][_0x27c610]?.['rootElementName'])['find'](_0x4b1e6b=>void 0x0!==_0x4b1e6b)||'$root',_0x440ded=new Map(Array['from'](_0x3ade0a['model'][_0x27c610]['insertions']['markers'])['filter'](([_0x53e6e8])=>!_0x53e6e8['startsWith']('revision:')));let _0x15db3c=0x0;for(const _0x544a99 of _0x4b120e){const _0x3d7cc8=this['_makeTape'](_0x544a99['model'][_0x27c610]['insertions']);_0x544a99==_0x3ade0a?(_0x2e37b4=_0x3d7cc8,_0x2335ca=_0x2e37b4['length'],_0x2e37b4['forEach'](_0x576cbf=>{_0x576cbf['id']=_0x15db3c++;}),this['_processTape'](_0x2e37b4)):this['_markInsertions'](_0x2e37b4,_0x3d7cc8);const _0x3da856=_0x2e37b4['filter'](_0x36b6ff=>!_0x36b6ff['isAdded'])['map'](_0x4c3ef4=>_0x4c3ef4['id']);let _0x340bf1=0x0;const _0x240025=this['_makeTape'](_0x544a99['model'][_0x27c610]['deletions']);_0x240025['forEach'](_0x3f1b75=>{_0x3f1b75['isRemoved']?_0x3f1b75['id']=_0x2335ca++:_0x3f1b75['id']=_0x3da856[_0x340bf1++];}),this['_processTape'](_0x240025),this['_setDistance'](_0x2e37b4,'isAdded'),this['_setDistance'](_0x240025,'isRemoved'),_0x544a99==_0x3ade0a&&this['_markMarkers'](_0x2e37b4,_0x440ded),_0x2e37b4=this['_joinTapes'](_0x2e37b4,_0x240025),this['_refreshStartEndIndex'](_0x2e37b4),this['_setDistance'](_0x2e37b4,'isRemoved');}_0x2e37b4=_0x2e37b4['filter'](_0x2a74ee=>!(_0x2a74ee['isAdded']&&_0x2a74ee['isRemoved']));const _0x5ad1f4=new Map(_0x3c111e['model'][_0x27c610]['deletions']['markers']),_0x192393=new Set(_0x440ded['keys']());for(const _0x11f39e of _0x5ad1f4['keys']())_0x192393['delete'](_0x11f39e);this['_markSuggestions'](_0x2e37b4,_0x192393),this['_fixObsoleteTags'](_0x2e37b4),_0x2e37b4=this['_removeMissingPairs'](_0x2e37b4),_0x2e37b4=this['_markMismatchedRemovedTags'](_0x2e37b4),_0x2e37b4=this['_removeUnsupportedChanges'](_0x2e37b4);const {root:_0x44fa2a,changes:_0x9d30c8}=this['_makeModelFromTape'](_0x2e37b4,_0x582f85,_0x27c610,_0x497d40);_0x5876c9['model'][_0x27c610]=_0x44fa2a;const _0x5936aa=_0x2b927a['get'](_0x27c610);if(_0x5936aa){const _0x4bdf74=_0x582f85['get'](_0x5936aa['userId']),_0x39799c=new ChangeItem({'author':_0x4bdf74,'type':_0x5936aa['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x27c610});_0x9d30c8['unshift'](_0x39799c),_0x5876c9['attributes'][_0x27c610]['revisionHistoryAttachChange']=_0x39799c['id'];}_0x5876c9['changes']=_0x5876c9['changes']['concat'](_0x9d30c8);}return _0x5876c9;}['_markMarkers'](_0x1f7ea8,_0x3c8e1e){for(let _0x5725e1=0x0;_0x5725e1<_0x1f7ea8['length'];_0x5725e1++)for(const [_0x1950f9,_0x2ad7e2]of _0x3c8e1e)!_0x2ad7e2['isCollapsed']&&_0x2ad7e2['start']['isEqual'](_0x1f7ea8[_0x5725e1]['previousPosition'])&&_0x1f7ea8[_0x5725e1]['markersStart']['push'](_0x1950f9),_0x2ad7e2['end']['isEqual'](_0x1f7ea8[_0x5725e1]['nextPosition'])&&_0x1f7ea8[_0x5725e1]['markersEnd']['push'](_0x1950f9);}['_joinTapes'](_0x274898,_0x436fdd){let _0x1b04b4=[],_0x5e6b44=0x0,_0x4e2ffd=0x0;for(;_0x5e6b44<_0x274898['length']||_0x4e2ffd<_0x436fdd['length'];){const _0x1d4f7d=_0x274898[_0x5e6b44]||{},_0x27a6b7=_0x436fdd[_0x4e2ffd]||{};if(_0x1d4f7d['id']==_0x27a6b7['id'])_0x5e6b44++,_0x4e2ffd++,_0x1b04b4['push'](_0x1d4f7d);else{if(_0x27a6b7['isRemoved']&&_0x1d4f7d['isAdded']){const {commonTape:_0x5f37ac,iEnd:_0x41459e,jEnd:_0x45c47d}=this['_threeWayMerge'](_0x274898,_0x5e6b44,_0x436fdd,_0x4e2ffd);_0x1b04b4=_0x1b04b4['concat'](_0x5f37ac),_0x5e6b44=_0x41459e,_0x4e2ffd=_0x45c47d;}else _0x27a6b7['isRemoved']?(_0x4e2ffd++,_0x1b04b4['push'](_0x27a6b7)):(_0x5e6b44++,_0x1b04b4['push'](_0x1d4f7d));}}return _0x1b04b4;}['_markSuggestions'](_0x185fc4,_0x4ebf79){const _0x12f3ae=[];for(let _0x17c25e=0x0;_0x17c25e<_0x185fc4['length'];_0x17c25e++){for(let _0x4de40b=0x0;_0x4de40b<_0x185fc4[_0x17c25e]['markersStart']['length'];_0x4de40b++){const _0x175cc5=_0x185fc4[_0x17c25e]['markersStart'][_0x4de40b];if(!_0x4ebf79['has'](_0x175cc5))continue;const {group:_0x52fc56,type:_0x11072a,authorId:_0x2f3378}=_0xac44c3(_0x175cc5);'revision-suggestion'!=_0x52fc56||'insertion'!=_0x11072a&&'deletion'!=_0x11072a||(_0x12f3ae['unshift']({'type':_0x11072a,'name':_0x175cc5,'userId':_0x2f3378}),_0x185fc4[_0x17c25e]['markersStart']['splice'](_0x4de40b,0x1),_0x4de40b--);}_0x1ed6ad(_0x185fc4[_0x17c25e]);for(let _0x158da9=0x0;_0x158da9<_0x185fc4[_0x17c25e]['markersEnd']['length'];_0x158da9++){const _0x354c91=_0x185fc4[_0x17c25e]['markersEnd'][_0x158da9];if(!_0x4ebf79['has'](_0x354c91))continue;const {group:_0x3ec659,type:_0x34a8c1}=_0xac44c3(_0x354c91);if('revision-suggestion'!=_0x3ec659||'insertion'!=_0x34a8c1&&'deletion'!=_0x34a8c1)continue;_0x185fc4[_0x17c25e]['markersEnd']['splice'](_0x158da9,0x1),_0x158da9--;const _0x25483c=_0x12f3ae['findIndex'](_0x45750c=>_0x45750c['name']==_0x354c91);_0x25483c>-0x1&&_0x12f3ae['splice'](_0x25483c,0x1);}}function _0xac44c3(_0x5013e0){const _0x3c1f8a=_0x5013e0['split'](':');return{'group':_0x3c1f8a[0x0],'type':_0x3c1f8a[0x1],'subType':_0x3c1f8a['length']>=0x5?_0x3c1f8a[0x2]:null,'id':_0x3c1f8a['length']<0x5?_0x3c1f8a[0x2]:_0x3c1f8a[0x3],'authorId':_0x3c1f8a['length']<0x5?_0x3c1f8a[0x3]:_0x3c1f8a[0x4],'markerCount':0x6==_0x3c1f8a['length']?_0x3c1f8a[0x5]:null};}function _0x1ed6ad(_0x5364e2){for(let _0x46bf8b=0x0;_0x46bf8b<_0x12f3ae['length'];_0x46bf8b++){if(_0x5364e2['isAdded']&&'insertion'==_0x12f3ae[_0x46bf8b]['type']&&_0x5364e2['isAdded']['userId']==_0x12f3ae[_0x46bf8b]['userId'])return _0x5364e2['isAddSuggestion']=_0x12f3ae[_0x46bf8b],void delete _0x5364e2['isAdded'];if(!_0x5364e2['isAdded']&&!_0x5364e2['isRemoved']&&'deletion'==_0x12f3ae[_0x46bf8b]['type'])return void(_0x5364e2['isRemoveSuggestion']=_0x12f3ae[_0x46bf8b]);}}}['_setDistance'](_0x146dc3,_0x4c6f72){let _0x9740c9=0x0,_0x2f93ca=!0x1;const _0x13bca5=new Map();for(const _0x22e4c2 of _0x146dc3)_0x22e4c2[_0x4c6f72]?_0x2f93ca&&(_0x9740c9++,_0x2f93ca=!0x1):(_0x9740c9++,_0x2f93ca=!0x0),_0x13bca5['set'](_0x22e4c2['id'],_0x9740c9);for(let _0x3a405d=0x0;_0x3a405d<_0x146dc3['length'];_0x3a405d++){if('isRemoved'==_0x4c6f72&&_0x146dc3[_0x3a405d]['isAdded']||'isAdded'==_0x4c6f72&&_0x146dc3[_0x3a405d]['isRemoved'])continue;if('text'==_0x146dc3[_0x3a405d]['type']){_0x146dc3[_0x3a405d]['distance']=0x0;continue;}const _0x5f1810=_0x13bca5['get'](_0x146dc3[_0x3a405d]['pairId']),_0x108cac=_0x13bca5['get'](_0x146dc3[_0x3a405d]['id']);_0x146dc3[_0x3a405d]['distance']=_0x5f1810-_0x108cac;}}['_getRevisionsRange'](_0x160ef6,_0x5a34d4,_0x158128=!0x1){const _0x2ca2c0=[];let _0x248852=this['repository']['getIndex'](_0x160ef6),_0x6f673e=this['repository']['getIndex'](_0x5a34d4);for(-0x1==_0x6f673e&&(_0x6f673e=this['repository']['_revisions']['length'],_0x158128=!0x1);_0x248852<_0x6f673e;)_0x2ca2c0['push'](this['repository']['getRevision'](_0x248852)),_0x248852++;return _0x158128&&_0x2ca2c0['push'](this['repository']['getRevision'](_0x248852)),_0x2ca2c0;}['_threeWayMerge'](_0x41099b,_0x172ec4,_0x1c501c,_0xd154bc){const _0x25a643=this['editor']['model']['schema'];let _0x6c35a1=_0x172ec4;for(;_0x41099b[_0x6c35a1]&&_0x41099b[_0x6c35a1]['isAdded'];)_0x6c35a1++;let _0x21aa73=_0xd154bc;for(;_0x1c501c[_0x21aa73]&&_0x1c501c[_0x21aa73]['isRemoved'];)_0x21aa73++;_0x261dfc(_0x41099b,_0x172ec4,_0x6c35a1),_0x261dfc(_0x1c501c,_0xd154bc,_0x21aa73);const _0x2e5dce=_0x1c501c['slice'](_0xd154bc,_0x21aa73)['concat'](_0x41099b['slice'](_0x172ec4,_0x6c35a1));return _0x2e5dce['sort']((_0x453743,_0x2d7f6a)=>_0x453743['side']!=_0x2d7f6a['side']?_0x453743['side']-_0x2d7f6a['side']:_0x453743['level']!=_0x2d7f6a['level']?_0x453743['level']-_0x2d7f6a['level']:_0x453743['distance']!=_0x2d7f6a['distance']?_0x2d7f6a['distance']-_0x453743['distance']:!!_0x453743['isAdded']!=!!_0x2d7f6a['isAdded']?-0x1==_0x453743['side']||0x0==_0x453743['side']?_0x453743['isAdded']?-0x1:0x1:_0x453743['isAdded']?0x1:-0x1:_0x453743['index']-_0x2d7f6a['index']),{'commonTape':_0x2e5dce,'iEnd':_0x6c35a1,'jEnd':_0x21aa73};function _0x261dfc(_0x3253d5,_0x4fe68b,_0x339286){let _0x587759=-0x1,_0x4a50e9=Number['POSITIVE_INFINITY'],_0x3f7ee3=!0x0;for(let _0x2f9226=_0x4fe68b;_0x2f9226<_0x339286;_0x2f9226++)if(_0x25a643['isInline'](_0x3253d5[_0x2f9226]['item'])||(_0x3f7ee3=!0x1),_0x3253d5[_0x2f9226]['item']['startIndex']<_0x4fe68b&&(_0x587759=_0x2f9226),_0x3253d5[_0x2f9226]['item']['endIndex']>=_0x339286){_0x4a50e9=_0x2f9226;break;}_0x3f7ee3&&(_0x587759=_0x339286-0x1);for(let _0x53a061=_0x4fe68b;_0x53a061<_0x339286;_0x53a061++)_0x3253d5[_0x53a061]['side']=_0x53a061<=_0x587759?-0x1:_0x53a061<_0x4a50e9?0x0:0x1,_0x3253d5[_0x53a061]['index']=_0x53a061;let _0x1d4f6c=0x0;for(let _0xad24ec=_0x4fe68b;_0xad24ec<=_0x587759;_0xad24ec++)0x0==_0x3253d5[_0xad24ec]['distance']?_0x3253d5[_0xad24ec]['level']=_0x1d4f6c:(_0x1d4f6c++,_0x3253d5[_0xad24ec]['level']=_0x1d4f6c,_0x1d4f6c++);for(let _0x2c325e=_0x4fe68b;_0x2c325e<_0x339286;_0x2c325e++)0x0==_0x3253d5[_0x2c325e]['side']&&(_0x3253d5[_0x2c325e]['level']=_0x1d4f6c);_0x1d4f6c=0x0;for(let _0x5dfd58=_0x339286-0x1;_0x5dfd58>=_0x4a50e9;_0x5dfd58--)0x0==_0x3253d5[_0x5dfd58]['distance']?_0x3253d5[_0x5dfd58]['level']=_0x1d4f6c:(_0x1d4f6c--,_0x3253d5[_0x5dfd58]['level']=_0x1d4f6c,_0x1d4f6c--);}}['_fixObsoleteTags'](_0x2dd6e2){const _0xb9d64a=new Map(),_0x19984f=this['editor']['model']['schema'];for(let _0x2294e3=0x1;_0x2294e3<_0x2dd6e2['length'];_0x2294e3++){let _0x4f86f6,_0x5653be,_0x504b31;const _0x3f7100=_0x2dd6e2[_0x2294e3],_0x470c39=_0x2dd6e2[_0x2294e3-0x1];if('text'==_0x3f7100['type'])continue;if(_0x3f7100['type']!=_0x470c39['type'])continue;if(!_0x19984f['isBlock'](_0x470c39['item'])||_0x19984f['isLimit'](_0x470c39['item']))continue;if(!_0x19984f['isBlock'](_0x3f7100['item'])||_0x19984f['isLimit'](_0x3f7100['item']))continue;if((_0x2dd6e2[_0x2294e3]['isAdded']||_0x2dd6e2[_0x2294e3]['isAddSuggestion'])&&_0x2dd6e2[_0x2294e3-0x1]['isRemoved'])_0x4f86f6=_0x2dd6e2[_0x2294e3],_0x5653be=_0x2dd6e2[_0x2294e3-0x1],_0x504b31=_0x2294e3-0x1;else{if(!_0x2dd6e2[_0x2294e3]['isRemoved']||!_0x2dd6e2[_0x2294e3-0x1]['isAdded']&&!_0x2dd6e2[_0x2294e3-0x1]['isAddSuggestion'])continue;_0x4f86f6=_0x2dd6e2[_0x2294e3-0x1],_0x5653be=_0x2dd6e2[_0x2294e3],_0x504b31=_0x2294e3;}const _0x4767f8=_0x4f86f6['level']==_0x5653be['level'],_0x3fd99b=Math['abs'](_0x4f86f6['level'])<Math['abs'](_0x5653be['level'])&&0x0==_0x5653be['distance'];(_0x4767f8||_0x3fd99b)&&(_0xb9d64a['set'](_0x5653be['id'],_0x4f86f6['id']),_0x2dd6e2['splice'](_0x504b31,0x1),_0x2294e3--,_0x4f86f6['isAdded']=!0x1);}for(let _0x450013=0x0;_0x450013<_0x2dd6e2['length'];_0x450013++)_0xb9d64a['has'](_0x2dd6e2[_0x450013]['pairId'])&&(_0x2dd6e2[_0x450013]['pairId']=_0xb9d64a['get'](_0x2dd6e2[_0x450013]['pairId']));}['_removeMissingPairs'](_0x4b1c83){const _0x398c29=new Set(_0x4b1c83['map'](_0x52418a=>_0x52418a['id']));for(let _0x48f783=0x0;_0x48f783<_0x4b1c83['length'];_0x48f783++)_0x398c29['has'](_0x4b1c83[_0x48f783]['pairId'])||0x0==_0x4b1c83[_0x48f783]['distance']||(_0x4b1c83[_0x48f783]['isIncorrect']=!0x0);return _0x4b1c83['filter'](_0x4fe53e=>!_0x4fe53e['isIncorrect']);}['_markMismatchedRemovedTags'](_0x3ca69b){const _0x7dccbd=new Set();for(let _0x19b3d5=0x0;_0x19b3d5<_0x3ca69b['length'];_0x19b3d5++){if(_0x7dccbd['has'](_0x3ca69b[_0x19b3d5]['id'])&&_0x3ca69b[_0x19b3d5]['isRemoved']&&(_0x3ca69b[_0x19b3d5]['isIncorrect']=!0x0),_0x3ca69b[_0x19b3d5]['isIncorrect'])continue;if(0x0==_0x3ca69b[_0x19b3d5]['distance'])continue;if('elementStart'!=_0x3ca69b[_0x19b3d5]['type'])continue;if(null==_0x3ca69b[_0x19b3d5]['pairId'])continue;let _0x4ae1b0=_0x19b3d5+0x1,_0x583065=0x0;for(;_0x3ca69b[_0x4ae1b0]['id']!=_0x3ca69b[_0x19b3d5]['pairId'];)'elementStart'==_0x3ca69b[_0x4ae1b0]['type']?_0x583065++:'elementEnd'==_0x3ca69b[_0x4ae1b0]['type']&&_0x583065--,_0x4ae1b0++;if(0x0!=_0x583065){if(_0x3ca69b[_0x19b3d5]['isRemoved'])_0x3ca69b[_0x19b3d5]['isIncorrect']=!0x0;else{for(;_0x4ae1b0!=_0x19b3d5;)_0x3ca69b[_0x4ae1b0]['isRemoved']&&0x0!=_0x3ca69b[_0x4ae1b0]['distance']&&(_0x3ca69b[_0x4ae1b0]['isIncorrect']=!0x0,_0x7dccbd['add'](_0x3ca69b[_0x4ae1b0]['pairId'])),_0x4ae1b0--;}}}return _0x3ca69b['filter'](_0xe17d48=>!_0xe17d48['isIncorrect']);}['_removeUnsupportedChanges'](_0x39df00){const _0x35c578=this['editor']['model']['schema'];for(let _0x41d01a=0x0;_0x41d01a<_0x39df00['length'];_0x41d01a++){if(!(_0x39df00[_0x41d01a]['isAdded']||_0x39df00[_0x41d01a]['isAddSuggestion']||_0x39df00[_0x41d01a]['isRemoved']||_0x39df00[_0x41d01a]['isRemoveSuggestion']))continue;if(0x0==_0x39df00[_0x41d01a]['distance'])continue;const _0x493838=_0x39df00[_0x41d01a]['item'];_0x35c578['isBlock'](_0x493838)||_0x35c578['isLimit'](_0x493838)||(_0x39df00[_0x41d01a]['isAdded']&&delete _0x39df00[_0x41d01a]['isAdded'],_0x39df00[_0x41d01a]['isAddSuggestion']&&delete _0x39df00[_0x41d01a]['isAddSuggestion'],_0x39df00[_0x41d01a]['isRemoveSuggestion']&&delete _0x39df00[_0x41d01a]['isRemoveSuggestion'],_0x39df00[_0x41d01a]['isRemoved']&&(_0x39df00[_0x41d01a]['isIncorrect']=!0x0));}return _0x39df00['filter'](_0x3dcd11=>!_0x3dcd11['isIncorrect']);}['_makeModelFromTape'](_0x1f981f,_0x37f110,_0x19eb46,_0x2d2a26){const _0x179115=new _0x5f37cd['ModelDocumentFragment'](),_0x2b83e=[],_0x3f4f8a=new Map(),_0x18bba0=this['editor']['model'],_0x3c1b20=_0x18bba0['schema'],_0x59f8f8=[_0x179115],_0x17f209={},_0x426501={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};_0x179115['name']=_0x2d2a26;let _0x52e064=null;const _0x2c917c=[0x0];for(let _0x14c81c=0x0;_0x14c81c<_0x1f981f['length'];_0x14c81c++)if('elementStart'===_0x1f981f[_0x14c81c]['type']){_0x1f981f[_0x14c81c]['previousPosition']=_0x18bba0['createPositionFromPath'](_0x179115,_0x2c917c);const _0x4b7534=new _0x5f37cd['ModelElement'](_0x1f981f[_0x14c81c]['item']['name'],_0x1f981f[_0x14c81c]['item']['getAttributes']());_0x59f8f8[0x0]['_appendChild'](_0x4b7534),_0x2c917c['push'](0x0),_0x59f8f8['unshift'](_0x4b7534),_0x1f981f[_0x14c81c]['nextPosition']=_0x18bba0['createPositionFromPath'](_0x179115,_0x2c917c);}else'elementEnd'===_0x1f981f[_0x14c81c]['type']?(_0x59f8f8['shift'](),_0x1f981f[_0x14c81c]['previousPosition']=_0x18bba0['createPositionFromPath'](_0x179115,_0x2c917c),_0x2c917c['pop'](),_0x2c917c[_0x2c917c['length']-0x1]++,_0x1f981f[_0x14c81c]['nextPosition']=_0x18bba0['createPositionFromPath'](_0x179115,_0x2c917c)):(_0x1f981f[_0x14c81c]['previousPosition']=_0x18bba0['createPositionFromPath'](_0x179115,_0x2c917c),_0x52e064?_0x52e064['_data']+=_0x1f981f[_0x14c81c]['item']['data']:_0x52e064=new _0x5f37cd['ModelText'](_0x1f981f[_0x14c81c]['item']['data'],_0x1f981f[_0x14c81c]['item']['getAttributes']()),_0x1f981f[_0x14c81c+0x1]&&'text'===_0x1f981f[_0x14c81c+0x1]['type']&&_0x3daf9b(_0x52e064,_0x1f981f[_0x14c81c+0x1]['item'])||(_0x59f8f8[0x0]['_appendChild'](_0x52e064),_0x52e064=null),_0x2c917c[_0x2c917c['length']-0x1]+=_0x1f981f[_0x14c81c]['item']['offsetSize'],_0x1f981f[_0x14c81c]['nextPosition']=_0x18bba0['createPositionFromPath'](_0x179115,_0x2c917c));for(let _0x4d0fa5=0x0;_0x4d0fa5<_0x1f981f['length'];_0x4d0fa5++){const _0x552684=_0x1f981f[_0x4d0fa5]['previousPosition'],_0x197c84=_0x1f981f[_0x4d0fa5]['nextPosition'];for(const _0x1681e3 of _0x1f981f[_0x4d0fa5]['markersStart'])_0x3f4f8a['set'](_0x1681e3,{'start':_0x552684,'end':null});_0x1c2b90('isRemoveSuggestion',_0x4d0fa5,_0x552684,_0x197c84),_0x1c2b90('isAddSuggestion',_0x4d0fa5,_0x552684,_0x197c84),_0x1c2b90('isRemoved',_0x4d0fa5,_0x552684,_0x197c84),_0x1c2b90('isAdded',_0x4d0fa5,_0x552684,_0x197c84);for(const _0x3452dd of _0x1f981f[_0x4d0fa5]['markersEnd']){const _0x26b6d3=_0x3f4f8a['get'](_0x3452dd);_0x26b6d3?_0x26b6d3['end']=_0x197c84:_0x3f4f8a['set'](_0x3452dd,{'start':_0x197c84,'end':_0x197c84});}}for(const [_0x441334,_0xae40f4]of _0x3f4f8a){const _0x46315c=this['editor']['model']['createRange'](_0xae40f4['start'],_0xae40f4['end']);_0x179115['markers']['set'](_0x441334,_0x46315c);}return _0x2b83e['sort']((_0x594957,_0x449003)=>{const _0x1ebbe7=_0x179115['markers']['get']('revision:'+_0x594957['id']),_0x55ca7b=_0x179115['markers']['get']('revision:'+_0x449003['id']);return _0x1ebbe7['start']['isBefore'](_0x55ca7b['start'])?-0x1:_0x1ebbe7['start']['isAfter'](_0x55ca7b['start'])?0x1:_0x1ebbe7['end']['isBefore'](_0x55ca7b['end'])?-0x1:_0x1ebbe7['end']['isAfter'](_0x55ca7b['end'])?0x1:'add'===_0x594957['type']?-0x1:0x1;}),{'root':_0x179115,'changes':_0x2b83e};function _0x1c2b90(_0x2c5f9e,_0x18efa5,_0x11e8a6,_0x36ebc8){const _0x20f58c=!!_0x1f981f[_0x18efa5][_0x2c5f9e],_0x28aa97=_0x20f58c?_0x1f981f[_0x18efa5][_0x2c5f9e]['userId']:null,_0x2af6bf=_0x18efa5===_0x1f981f['length']-0x1,_0x231b4f=_0x426501[_0x2c5f9e][0x0],_0x215069=_0x3c1b20['isObject'](_0x1f981f[_0x18efa5]['item']);!_0x17f209[_0x2c5f9e]&&_0x20f58c?_0x17f209[_0x2c5f9e]={'start':_0x11e8a6,'tapeItem':_0x1f981f[_0x18efa5],'userId':_0x28aa97,'type':_0x2c5f9e}:_0x17f209[_0x2c5f9e]&&!_0x20f58c?(_0x17f209[_0x2c5f9e]['end']=_0x11e8a6,_0x7cc2da(_0x17f209[_0x2c5f9e]),_0x17f209[_0x2c5f9e]=null):_0x17f209[_0x2c5f9e]&&_0x20f58c&&_0x17f209[_0x2c5f9e]['userId']!==_0x28aa97&&(_0x17f209[_0x2c5f9e]['end']=_0x11e8a6,_0x231b4f&&_0x231b4f['userId']===_0x17f209[_0x2c5f9e]['userId']||_0x7cc2da(_0x17f209[_0x2c5f9e]),_0x17f209[_0x2c5f9e]={'start':_0x11e8a6,'tapeItem':_0x1f981f[_0x18efa5],'userId':_0x28aa97,'type':_0x2c5f9e}),_0x17f209[_0x2c5f9e]&&_0x215069&&('elementStart'!==_0x1f981f[_0x18efa5]['type']||_0x231b4f&&_0x231b4f['userId']===_0x28aa97||_0x426501[_0x2c5f9e]['unshift']({'userId':_0x28aa97,'object':_0x1f981f[_0x18efa5]['item'],'change':_0x17f209[_0x2c5f9e]}),'elementEnd'===_0x1f981f[_0x18efa5]['type']&&_0x231b4f&&_0x231b4f['object']===_0x1f981f[_0x18efa5]['item']&&(_0x426501[_0x2c5f9e]['shift'](),_0x17f209[_0x2c5f9e]=_0x231b4f['change'])),_0x17f209[_0x2c5f9e]&&_0x2af6bf&&(_0x17f209[_0x2c5f9e]['end']=_0x36ebc8,_0x7cc2da(_0x17f209[_0x2c5f9e]),_0x17f209[_0x2c5f9e]=null);}function _0x7cc2da({start:_0x40b56e,end:_0x2824a6,tapeItem:_0x203c91,userId:_0x13ef63,type:_0x74ff52}){const _0x4e8ae5=_0x203c91['item'],_0x2fd6a1=_0x18bba0['schema']['isBlock'](_0x4e8ae5)&&!_0x18bba0['schema']['isLimit'](_0x4e8ae5),_0x21093f=_0x40b56e['nodeAfter']==_0x2824a6['parent']&&_0x2824a6['isAtStart'];if(_0x2fd6a1&&_0x21093f)return;const _0xeaf272=_0x18bba0['createRange'](_0x40b56e,_0x2824a6),_0x4f7d20=_0x37f110['get'](_0x13ef63),_0x316a83=new ChangeItem({'author':_0x4f7d20,'type':'isAdded'==_0x74ff52||'isAddSuggestion'==_0x74ff52?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x74ff52||'isRemoveSuggestion'==_0x74ff52},'createdAt':new Date(),'rootName':_0x19eb46});_0x2b83e['push'](_0x316a83),_0x179115['markers']['set']('revision:'+_0x316a83['id'],_0xeaf272);}function _0x3daf9b(_0x5c7569,_0x35c853){const _0x2fc5d0=_0x5c7569['getAttributes'](),_0x5808c4=_0x35c853['getAttributes']();for(const _0x4117c1 of _0x2fc5d0){if(_0x4117c1[0x1]!==_0x35c853['getAttribute'](_0x4117c1[0x0]))return!0x1;_0x5808c4['next']();}return _0x5808c4['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x2023fa=>{const _0x4f8ae6=_0x2023fa['markerName']['split'](':')[0x1],_0x51b5f6=this['_getChangeFromId'](_0x4f8ae6);if(!_0x51b5f6)return null;const _0x55f59e='add'==_0x51b5f6['type']?'insertion':'deletion',_0x48f3dc=['ck-suggestion-marker','ck-suggestion-marker-'+_0x55f59e];return _0x51b5f6['data']['isSuggestion']&&_0x48f3dc['push']('ck-suggestion-marker-'+_0x55f59e+'-new'),this['activeChange']==_0x51b5f6&&_0x48f3dc['push']('ck-suggestion-marker--active'),{'classes':_0x48f3dc,'attributes':{'data-change-id':_0x4f8ae6}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x1860f3=>{_0x1860f3['on']('element:pre',(_0x5b1d78,_0x350a7b,_0xdc17e7)=>{const _0x59211e=_0x350a7b['viewItem']['getChild'](0x0);if(!_0x59211e||!_0x59211e['is']('element','code'))return;if(!_0xdc17e7['consumable']['consume'](_0x59211e,{'attributes':['vid_start','vid_end']}))return;const _0x20ca68=_0x350a7b['modelRange']['start']['nodeAfter'];_0xdc17e7['writer']['setAttribute']('vid_start',_0x59211e['getAttribute']('vid_start'),_0x20ca68),_0xdc17e7['writer']['setAttribute']('vid_end',_0x59211e['getAttribute']('vid_end'),_0x20ca68);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x18ea13=>{_0x18ea13['on']('element',(_0x2020b6,_0x23e2e0,_0xbe7069)=>{if(!_0xbe7069['consumable']['consume'](_0x23e2e0['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x23e2e0['modelRange']['isCollapsed'])return;const _0x717dd0=_0x23e2e0['modelRange']['start']['nodeAfter'];_0x717dd0['hasAttribute']('vid_start')||_0x717dd0['hasAttribute']('vid')||(_0xbe7069['writer']['setAttribute']('vid_start',_0x23e2e0['viewItem']['getAttribute']('vid_start'),_0x717dd0),_0xbe7069['writer']['setAttribute']('vid_end',_0x23e2e0['viewItem']['getAttribute']('vid_end'),_0x717dd0));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x16d475=>_0x16d475['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x21ac7d,[,_0x40290c])=>{['vid_start','vid_end','vid']['includes'](_0x40290c)&&(_0x21ac7d['return']=!0x0,_0x21ac7d['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x551f14=>{_0x551f14['on']('attribute:vid',(_0x5cbc65,_0x1011d5,_0x439d6f)=>{if('\x20'!=_0x1011d5['item']['data']||_0x1011d5['item']['parent']['maxOffset']>0x1)return;if(!_0x439d6f['consumable']['consume'](_0x1011d5['item'],_0x5cbc65['name']))return;const _0x27389c=_0x439d6f['writer'],_0x43fd6d=_0x439d6f['mapper']['toViewRange'](_0x1011d5['range']);_0x27389c['wrap'](_0x43fd6d,_0x27389c['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x5f29db){const _0x475eb0=_0x5f29db['plugins']['get']('RevisionViewer');return(_0x5e6e50,_0x5a2245,_0x83a97e)=>{const _0xd0af82=_0x5a2245['markerName']['split'](':')[0x1],_0x2413f7=_0x475eb0['_getChangeFromId'](_0xd0af82);if(!_0x2413f7)return null;const _0x52dd7d='add'==_0x2413f7['type']?'split':'merge';if(!_0x83a97e['consumable']['test'](_0x5a2245['markerRange'],_0x5e6e50['name']))return;const _0x1bb623=_0x5a2245['markerRange']['getWalker'](),_0x531600=_0x5a2245['markerRange']['start'],_0x2cc8cc=_0x5f29db['model']['schema'];let _0x1a82eb=null,_0x405e1f=null,_0x56f661=!0x1,_0x45096b=!0x1;for(const _0x5ce23d of _0x1bb623){const _0x1f2ee4=_0x5ce23d['item'];_0x56f661=_0x56f661||_0x2cc8cc['isContent'](_0x1f2ee4);const _0x261942=_0x83a97e['mapper']['toViewElement'](_0x1f2ee4);if(_0x261942&&_0x261942['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5ce23d['type']&&(_0x2cc8cc['isBlock'](_0x1f2ee4)&&!_0x2cc8cc['isLimit'](_0x1f2ee4)&&(_0x1f2ee4['nextSibling']||_0x531600['isAtEnd']?_0x1a82eb&&_0x1a82eb['parent']==_0x1f2ee4||(_0x1a82eb=_0x1f2ee4,_0x1a41d9(_0x5ce23d['previousPosition']),_0x45096b=!0x0):_0x405e1f=_0x405e1f||_0x5ce23d['previousPosition']));}function _0x1a41d9(_0x1a9b4b){const _0x59104c=_0x83a97e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x52dd7d}),_0x5c7088=_0x83a97e['mapper']['toViewPosition'](_0x1a9b4b);_0x2413f7['data']['isSuggestion']&&_0x83a97e['writer']['addClass']('ck-suggestion-marker-'+_0x52dd7d+'-new',_0x59104c),_0x475eb0['activeChange']==_0x2413f7&&_0x83a97e['writer']['addClass']('ck-suggestion-marker--active',_0x59104c),_0x83a97e['writer']['insert'](_0x5c7088,_0x59104c),_0x83a97e['mapper']['bindElementToMarker'](_0x59104c,_0x5a2245['markerName']);}_0x56f661||_0x45096b||!_0x405e1f||_0x1a41d9(_0x405e1f);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x41ce53,_0x5a72a8,_0x5a9f78)=>{const _0x4f5414=_0x5a9f78['mapper']['markerNameToElements'](_0x5a72a8['markerName']);if(_0x4f5414){for(const _0x1663b2 of _0x4f5414)(_0x1663b2['hasClass']('ck-suggestion-marker-split')||_0x1663b2['hasClass']('ck-suggestion-marker-merge'))&&(_0x5a9f78['mapper']['unbindElementFromMarkerName'](_0x1663b2,_0x5a72a8['markerName']),_0x5a9f78['writer']['remove'](_0x1663b2));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x2933f9,_0x3b08de,_0x155be2)=>{const _0x4d3002=_0x3b08de['markerName']['split'](':')[0x1],_0x1fbe1d=this['_getChangeFromId'](_0x4d3002);if(!_0x1fbe1d)return null;const _0x557ae5='add'==_0x1fbe1d['type']?'split':'merge';if(_0x155be2['consumable']['test'](_0x3b08de['markerRange'],_0x2933f9['name']))for(const _0x10a650 of _0x3b08de['markerRange']['getItems']()){if(!_0x10a650['is']('element','softBreak'))continue;const _0x2acdb2=_0x155be2['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x557ae5}),_0x53025d=_0x155be2['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x10a650));_0x1fbe1d['data']['isSuggestion']&&_0x155be2['writer']['addClass']('ck-suggestion-marker-'+_0x557ae5+'-new',_0x2acdb2),this['activeChange']==_0x1fbe1d&&_0x155be2['writer']['addClass']('ck-suggestion-marker--active',_0x2acdb2),_0x155be2['writer']['insert'](_0x53025d,_0x2acdb2),_0x155be2['mapper']['bindElementToMarker'](_0x2acdb2,_0x3b08de['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x32051b=>{for(const _0x173fed of this['editor']['model']['document']['getRootNames']()){const _0x257c70=this['editor']['model']['document']['getRoot'](_0x173fed),_0x750400=this['editor']['editing']['view']['document']['getRoot'](_0x173fed);if(_0x750400){const _0x164a21=_0x257c70['getAttribute']('revisionHistoryAttachChange');if(_0x32051b['removeAttribute']('data-change-id',_0x750400),_0x32051b['removeClass']('ck-revision-history-root-add',_0x750400),_0x32051b['removeClass']('ck-revision-history-root-remove',_0x750400),_0x32051b['removeClass']('ck-revision-history-root--active',_0x750400),_0x164a21){const _0x580d91=this['_getChangeFromId'](_0x164a21);if(!_0x580d91)return null;_0x32051b['setAttribute']('data-change-id',_0x164a21,_0x750400),_0x32051b['addClass']('ck-revision-history-root-'+_0x580d91['type'],_0x750400),this['activeChange']==_0x580d91&&_0x32051b['addClass']('ck-revision-history-root--active',_0x750400);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x3388da=>'revision-comment:'+_0x3388da,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x1d6304=>'revision-suggestion:'+_0x1d6304,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x528d82=>({'name':'suggestion:'+_0x528d82,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x50d65e=>{const _0x3cf6f3=_0x50d65e['markerName']['split'](':')[0x1];return'insertion'!=_0x3cf6f3&&'deletion'!=_0x3cf6f3?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x3cf6f3]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',_0x244474(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',_0x244474(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0xdf43e5,_0x1a356a,_0x2466a0)=>{const _0x276570=_0x2466a0['mapper']['markerNameToElements'](_0x1a356a['markerName']);if(_0x276570){for(const _0x1d648f of _0x276570)_0x1d648f['is']('uiElement')&&(_0x2466a0['mapper']['unbindElementFromMarkerName'](_0x1d648f,_0x1a356a['markerName']),_0x2466a0['writer']['remove'](_0x1d648f));}},{'priority':'high'});}['_getChangeFromId'](_0xd6eacb){return this['_changeIdToChange']['get'](_0xd6eacb);}['_getViewForChange'](_0x1bc9db){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new ChangeDetailsView(this['editor']['locale'],_0x1bc9db),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x23945d,_0x5edeab,_0x410298,_0x25f209)=>{_0x25f209&&this['_balloon']['remove'](_0x25f209),_0x410298&&(this['_balloon']['add']({'view':_0x410298,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1ccfdf=this['editor']['editing'],_0x481aab=this['_getChangeFromId'](_0x410298['changeId']);let _0x47c989;if(_0x481aab['data']['isOnRoot']){const _0x45ccb2=_0x1ccfdf['view']['getDomRoot'](_0x481aab['rootName']);_0x47c989=Array['from'](_0x45ccb2['getClientRects']());}else{const _0x3cc618=this['editor']['model']['markers']['get']('revision:'+_0x410298['changeId']);_0x47c989=Array['from'](_0x1ccfdf['mapper']['markerNameToElements'](_0x3cc618['name']))['map'](_0x4e64b2=>_0x1ccfdf['view']['domConverter']['mapViewToDom'](_0x4e64b2))['map'](_0x38c44d=>Array['from'](_0x38c44d['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x47c989[0x0];return _0x47c989['find'](_0x1d27d9=>_0x1d27d9['top']-0x3<=this['_activeViewTarget']['y']&&_0x1d27d9['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x1d27d9['left']-0x3<=this['_activeViewTarget']['x']&&_0x1d27d9['right']+0x3>=this['_activeViewTarget']['x'])||_0x47c989[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x1c883b,_0x45d03d,_0x866a9b,_0x12eaaf)=>{this['activeView']=_0x866a9b?this['_getViewForChange'](_0x866a9b):null,this['editor']['model']['change'](()=>{const _0x2b348e=this['editor']['editing'];_0x12eaaf&&(_0x12eaaf['data']['isOnRoot']?_0x2b348e['view']['change'](_0x18e494=>{_0x18e494['removeClass']('ck-revision-history-root--active',_0x2b348e['view']['document']['getRoot'](_0x12eaaf['rootName']));}):_0x2b348e['reconvertMarker']('revision:'+_0x12eaaf['id'])),_0x866a9b&&(_0x866a9b['data']['isOnRoot']?_0x2b348e['view']['change'](_0x5c9a70=>{_0x5c9a70['addClass']('ck-revision-history-root--active',_0x2b348e['view']['document']['getRoot'](_0x866a9b['rootName']));}):_0x2b348e['reconvertMarker']('revision:'+_0x866a9b['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x22d150,_0x32e8cd)=>{if(this['activeChange'])return;const _0x178585=this['_findChangeIdFromDomTarget'](_0x32e8cd['target']),_0x4e3782=this['_changeIdToChange']['get'](_0x178585);_0x4e3782?(this['_activeViewTarget']={'x':_0x32e8cd['domEvent']['x'],'y':_0x32e8cd['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x4e3782)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x91bf70,_0x3016c8)=>{const _0x9fea70=this['_findChangeIdFromDomTarget'](_0x3016c8['target']),_0x17737c=this['_changeIdToChange']['get'](_0x9fea70);_0x17737c?(this['_activeViewTarget']={'x':_0x3016c8['domEvent']['x'],'y':_0x3016c8['domEvent']['y']},_0x17737c===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x17737c):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x15e37e){do{const _0x454f9f=_0x15e37e['getAttribute']('data-change-id');if(_0x454f9f)return _0x454f9f;_0x15e37e=_0x15e37e['parent'];}while(_0x15e37e);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x6aba24=>{for(const _0x33ba55 of this['editor']['model']['markers'])_0x6aba24['removeMarker'](_0x33ba55);});}}function _0x244474(_0x538f9d,_0x485d6b){return(_0x85aa37,_0x37ef7c,_0x23e6bc)=>{if(!_0x23e6bc['consumable']['test'](_0x37ef7c['markerRange'],_0x85aa37['name']))return;const _0x5511db=_0x37ef7c['markerRange']['getWalker'](),_0x3f0347=_0x37ef7c['markerRange']['start'],_0x4b0e03=_0x538f9d['model']['schema'];let _0x33694a=null,_0x11d2d2=null,_0x1cfce5=!0x1,_0x2558fb=!0x1;for(const _0x1f229a of _0x5511db){const _0x163615=_0x1f229a['item'];_0x1cfce5=_0x1cfce5||_0x4b0e03['isContent'](_0x163615);const _0x471d9f=_0x23e6bc['mapper']['toViewElement'](_0x163615);if(_0x471d9f&&_0x471d9f['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1f229a['type']&&(_0x4b0e03['isBlock'](_0x163615)&&!_0x4b0e03['isLimit'](_0x163615)&&(_0x163615['nextSibling']||_0x3f0347['isAtEnd']?_0x33694a&&_0x33694a['parent']==_0x163615||(_0x33694a=_0x163615,_0x5ec7bf(_0x1f229a['previousPosition']),_0x2558fb=!0x0):_0x11d2d2=_0x11d2d2||_0x1f229a['previousPosition']));}function _0x5ec7bf(_0x490b4d){const _0x55813d=_0x23e6bc['mapper']['toViewPosition'](_0x490b4d),_0x106a0e=_0x23e6bc['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x485d6b});_0x23e6bc['writer']['insert'](_0x55813d,_0x106a0e),_0x23e6bc['mapper']['bindElementToMarker'](_0x106a0e,_0x37ef7c['markerName']);}_0x1cfce5||_0x2558fb||!_0x11d2d2||_0x5ec7bf(_0x11d2d2);};}class RestoreRevisionCommand extends _0x5f37cd['Command']{constructor(_0x28cd3f){super(_0x28cd3f);const _0x31b3de=_0x28cd3f['plugins']['get'](_0x3b1aa5);this['affectsData']=!0x1,this['listenTo'](_0x31b3de,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x31b3de,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x10b107=this['editor'],_0x2685d1=_0x10b107['plugins']['get'](_0x3b1aa5),_0x3b095a=_0x2685d1['isReady']?_0x2685d1['diff']['newRevisionId']:null;_0x10b107['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3b095a);}['refresh'](){const {isReady:_0x462aa8,isEnabled:_0x1e9e34,repository:_0x34afd7,diff:_0x2b4f52}=this['editor']['plugins']['get'](_0x3b1aa5),_0x4d8fc6=_0x2b4f52&&_0x34afd7['getLaterVisibleRevision'](_0x2b4f52['newRevisionId']);this['isEnabled']=_0x462aa8&&_0x1e9e34&&Boolean(_0x4d8fc6);}}class _0x55ac7c extends _0x5f37cd['Command']{['_step'];constructor(_0x4ffd6f,{direction:_0x59c17a}){super(_0x4ffd6f);const _0x26e811=_0x4ffd6f['plugins']['get'](_0x3b1aa5);this['affectsData']=!0x1,this['_step']='forward'===_0x59c17a?0x1:-0x1,this['listenTo'](_0x26e811,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x26e811,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x26e811,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x24eb4d=this['editor'],_0x1517c5=_0x24eb4d['plugins']['get'](_0x3b1aa5),{isNavigationMode:_0x167dde,currentChangeNumber:_0x3037c4}=_0x1517c5;let _0x1a046e;if(_0x1517c5['activeChange']=_0x167dde?_0x1517c5['diff']['changes']['get'](_0x3037c4+this['_step']):_0x1517c5['diff']['changes']['first'],_0x1517c5['activeChange']['data']['isOnRoot'])_0x1a046e=_0x24eb4d['editing']['view']['getDomRoot'](_0x1517c5['activeChange']['rootName']);else{const _0x24457c=_0x24eb4d['model']['markers']['get']('revision:'+_0x1517c5['activeChange']['id']);_0x1a046e=_0xd0cedc(_0x24eb4d['editing'],_0x24457c);}_0x5f37cd['scrollViewportToShowTarget']({'target':_0x1a046e,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3e0a38,currentChangeNumber:_0x34adc4,numberOfChanges:_0x1e4a38,isReady:_0x4497a2,isEnabled:_0x287c28}=this['editor']['plugins']['get'](_0x3b1aa5);this['isEnabled']=!!(_0x287c28&&_0x4497a2&&_0x1e4a38)&&(!_0x3e0a38||(0x1===this['_step']?_0x34adc4<_0x1e4a38-0x1:_0x34adc4>0x0));}}class ChangesNavigationView extends _0x5f37cd['View']{constructor(_0x5ca506){super(_0x5ca506);const _0x1df21f=this['bindTemplate'],_0x578402=new _0x5f37cd['ButtonView'](_0x5ca506),_0xcb40b6=new _0x5f37cd['ButtonView'](_0x5ca506);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',(_0x540abe,_0x243eb8)=>_0x540abe&&_0x243eb8>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x5be439,_0x504124,_0x144fe4,_0x13825f)=>{if(!_0x5be439)return _0x4b5ffd(_0x5ca506,'Loading...');if(!_0x144fe4)return _0x4b5ffd(_0x5ca506,'No\x20changes');const _0x5427c7=_0x4b5ffd(_0x5ca506,'NUMBER_OF_CHANGES',_0x144fe4);return _0x13825f?_0x4b5ffd(_0x5ca506,'X_OF_Y_CHANGES',[_0x504124+0x1,_0x144fe4]):_0x5427c7;}),_0x578402['set']({'label':_0x4b5ffd(_0x5ca506,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x5f37cd['IconChevronUp']}),_0xcb40b6['set']({'label':_0x4b5ffd(_0x5ca506,'Show\x20next\x20change'),'tooltip':!0x0,'icon':_0x5f37cd['IconChevronDown']}),_0x578402['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0xcb40b6['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x578402['on']('execute',()=>this['fire']('execute','backward')),_0xcb40b6['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',_0x1df21f['if']('_isStatusLabelVisible','ck-hidden',_0x5f3545=>!_0x5f3545)]},'children':[{'text':_0x1df21f['to']('isNavigationMode',_0x247cfc=>_0x247cfc?_0x4b5ffd(_0x5ca506,'EDIT_X_OF_Y_REVISIONS')+':\x20':_0x4b5ffd(_0x5ca506,'Total')+':\x20')}]},{'text':_0x1df21f['to']('_statusText')}]},new _0x5f37cd['ToolbarSeparatorView'](),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x578402,_0xcb40b6]}]});}}const _0x341750='ck-editor__editable__loading-overlay';class _0x33e4ef extends _0x5f37cd['Plugin']{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x7b0a78=this['editor']['editing']['view'];_0x7b0a78['change'](_0x1874ea=>{for(const _0x254b1c of _0x7b0a78['document']['roots'])_0x1874ea['addClass'](_0x341750,_0x254b1c);});}['hide'](){const _0x9d9467=this['editor']['editing']['view'];_0x9d9467['change'](_0x4f2f95=>{for(const _0x14fa58 of _0x9d9467['document']['roots'])_0x4f2f95['removeClass'](_0x341750,_0x14fa58);});}}class _0x2a0ee5 extends _0x5f37cd['Plugin']{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3b1aa5,_0x33e4ef];}['init'](){const _0x45b2f7=this['editor'],_0x3c1d1a=_0x45b2f7['plugins']['get'](_0x3b1aa5),_0x48060c=_0x45b2f7['plugins']['get'](_0x33e4ef);_0x45b2f7['ui']['componentFactory']['add']('exitToEditing',_0x3ea50b=>{const _0x23ed8a=new _0x5f37cd['ButtonView'](_0x3ea50b);return _0x23ed8a['set']({'label':_0x4b5ffd(_0x3ea50b,'Back\x20to\x20editing'),'icon':_0x5f37cd['IconUndo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x23ed8a,'execute',()=>{_0x45b2f7['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x23ed8a;}),_0x45b2f7['ui']['componentFactory']['add']('restoreRevision',_0x1f81e5=>{const _0x213e16=new _0x5f37cd['ButtonView'](_0x1f81e5);return _0x213e16['set']({'label':_0x4b5ffd(_0x1f81e5,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x213e16['bind']('isEnabled')['to'](_0x45b2f7['commands']['get']('restoreRevision')),this['listenTo'](_0x213e16,'execute',()=>_0x45b2f7['execute']('restoreRevision')),_0x213e16;}),_0x45b2f7['ui']['componentFactory']['add']('changesNavigation',_0xc284f7=>{const _0x4cf342=new ChangesNavigationView(_0xc284f7),_0x49080f=_0x45b2f7['commands']['get']('showPreviousChange'),_0x3e2f52=_0x45b2f7['commands']['get']('showNextChange');return _0x4cf342['bind']('isBackwardNavigationEnabled')['to'](_0x49080f,'isEnabled'),_0x4cf342['bind']('isForwardNavigationEnabled')['to'](_0x3e2f52,'isEnabled'),_0x4cf342['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x3c1d1a),this['listenTo'](_0x4cf342,'execute',(_0x33ab03,_0xce2f7e)=>{_0x45b2f7['execute']('forward'===_0xce2f7e?'showNextChange':'showPreviousChange');}),_0x4cf342;}),_0x48060c['show'](),_0x3c1d1a['on']('change:isReady',(_0x1f983a,_0x336ae4,_0x28fc69)=>{_0x28fc69?_0x48060c['hide']():_0x48060c['show']();});}}class _0x194c40 extends _0x5f37cd['LabeledFieldView']{['_resizeObserver']=null;constructor(_0x3587b7,_0x10bf9f){super(_0x3587b7,_0x10bf9f);const _0x5d505d=this['bindTemplate'];this['set']({'label':_0x4b5ffd(_0x3587b7,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=_0x4b5ffd(_0x3587b7,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x5d505d['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new _0x5f37cd['ResizeObserver'](this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x54d189=this['fieldView']['element'];this['_tooltipString']=_0x54d189['scrollWidth']>_0x54d189['clientWidth']&&_0x54d189['value']||'';}}class RevisionAuthorView extends _0x5f37cd['View']{constructor(_0x1f4635,_0x1e0cb6,_0x432975){super(_0x1f4635);const _0x529ee3=new _0x5f37cd['IconView']();_0x529ee3['set']({'content':_0x5f37cd['IconUser'],'viewBox':'0\x200\x2011\x2010'});const _0x5aeea5=['ck','ck-revision-history-sidebar__revision-author'];_0x432975&&_0x5aeea5['push']('ck-revision-history-sidebar__revision-author_creator');const _0x24f24f=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':_0x4b5ffd(_0x1f4635,_0x432975?'Revision\x20creator':'Revision\x20author')},'children':[_0x529ee3,_0x1e0cb6['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5aeea5},'children':_0x24f24f});}}function _0x3156fa(_0x2fa53f,_0xa8da56){const _0x469705=_0x2fa53f['bindTemplate'],_0x540733=_0x2fa53f['locale'],_0x4b7a4c=_0x5f37cd['createDropdown'](_0x540733);_0x4b7a4c['panelPosition']='sw';const _0x91f495=function(_0x395a3e,_0xc6d0d2){const _0x3bbeb9=function(_0x351eed,_0x3ab007){const _0x13754a=_0x351eed['locale'],_0x2153d7={'Compare\x20against\x20selected':_0x4b5ffd(_0x13754a,'Compare\x20against\x20selected'),'Name\x20this\x20revision':_0x4b5ffd(_0x13754a,'Name\x20this\x20revision'),'Restore\x20this\x20revision':_0x4b5ffd(_0x13754a,'Restore\x20this\x20revision')};return _0x3ab007['map'](_0x4632d8=>{const _0x135b99=_0x2153d7[_0x4632d8['name']];return _0x135b99&&_0x135b99!==_0x4632d8['name']&&(_0x4632d8['name']=_0x135b99),_0x4632d8;});}(_0x395a3e,_0xc6d0d2),_0x70d24=new _0x5f37cd['Collection']();for(const _0x14b0ff of _0x3bbeb9){const _0x587c54={'type':'button','model':new _0x5f37cd['UIModel']({'label':_0x14b0ff['name'],'class':_0x14b0ff['class'],'withText':!0x0,'role':'menuitem','_action':_0x14b0ff['action']})};_0x587c54['model']['bind']('isEnabled')['to'](_0x395a3e,'isActionsDropdownOpen',_0x394d35=>'function'!=typeof _0x14b0ff['isEnabled']||(!_0x394d35||_0x14b0ff['isEnabled'](_0x395a3e))),_0x70d24['add'](_0x587c54);}return _0x70d24;}(_0x2fa53f,_0xa8da56);return _0x2fa53f['bind']('isActionsDropdownOpen')['to'](_0x4b7a4c,'isOpen'),_0x4b7a4c['buttonView']['set']({'label':_0x4b5ffd(_0x540733,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5f37cd['IconThreeVerticalDots']}),_0x4b7a4c['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x469705['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x469705['to'](_0x46ab12=>_0x46ab12['stopPropagation']())}}),_0x4b7a4c['on']('execute',_0x2f67b3=>{_0x2fa53f['isReady']&&'function'==typeof _0x2f67b3['source']['_action']&&_0x2f67b3['source']['_action'](_0x2fa53f);}),_0x5f37cd['addListToDropdown'](_0x4b7a4c,_0x91f495,{'role':'menu'}),_0x4b7a4c['listenTo'](_0x2fa53f,'change:isActionsDropdownOpen',(_0x2e2f38,_0x5ae9b6,_0xeac94c)=>{if(_0xeac94c)for(const _0x157d8c of _0x4b7a4c['listView']['items']){const _0xf62ca3=_0x157d8c['children']['first'],_0x489793=_0xa8da56['find'](_0x4785e2=>_0x4785e2['action']===_0xf62ca3['_action'])['isVisible'];_0x157d8c['isVisible']=void 0x0===_0x489793||_0x489793(_0x2fa53f);}}),_0x4b7a4c;}class _0x599f8f extends/* #__PURE__ -- @preserve */
_0x115c46(_0x5f37cd['View']){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x4c677f,_0x284e93,_0x200caa,_0x224cbf){super(_0x4c677f);const _0x2a35a0=this['bindTemplate'],_0x54dda8=function(_0x3867b4,_0x3b282b){const _0x2df18f=Array['from'](_0x3b282b['authors'])['filter'](_0x207065=>_0x207065!=_0x3b282b['creator']);return _0x3b282b['creator']&&_0x2df18f['unshift'](_0x3b282b['creator']),_0x2df18f['map'](_0x3d785d=>new RevisionAuthorView(_0x3867b4,_0x3d785d,_0x3d785d==_0x3b282b['creator']));}(_0x4c677f,_0x284e93);this['id']=_0x284e93['id'],this['_revision']=_0x284e93,this['_requireRevisionName']=_0x224cbf,this['bind']('name','createdAt')['to'](_0x284e93),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x4fe4c6=>{return _0x32af51=_0x4c677f['uiLanguage'],(_0x1b0901=_0x4fe4c6)['toLocaleDateString'](_0x32af51,{'month':'long','day':'numeric'})+',\x20'+_0x1b0901['toLocaleTimeString'](_0x32af51,{'hour':'numeric','minute':'numeric'});var _0x32af51,_0x1b0901;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new _0x194c40(_0x4c677f,_0x5f37cd['createLabeledInputText']),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x2f6c78=>_0x2f6c78||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x2a1c53,_0x1d93bf)=>_0x2a1c53&&_0x1d93bf),this['revisionActionsView']=_0x200caa&&_0x200caa['length']?_0x3156fa(this,_0x200caa):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x2a35a0['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x2a35a0['if']('isEnabled','ck-disabled',_0x2d0fcd=>!_0x2d0fcd),_0x2a35a0['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x2a35a0['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x2a35a0['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':_0x2a35a0['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':_0x54dda8}]},this['revisionActionsView']],'on':{'click':_0x2a35a0['to'](_0x36fddc=>{_0x36fddc['srcElement']['closest']('.ck-confirm-view')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x292e3a=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x292e3a,'change',()=>{this['_requireRevisionName']&&!_0x292e3a['value']||this['fire']('setName',{'id':this['id'],'name':_0x292e3a['value']}),_0x292e3a['value']||(_0x292e3a['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function _0x3e49a9(_0x2f83ef,_0x3dabfd){const _0xb5fc43=DateTime['fromJSDate'](_0x2f83ef)['setLocale'](_0x3dabfd),_0x314f51=DateTime['local'](),_0x16b774=_0x314f51['minus']({'days':0x1})['startOf']('day');let _0x742e4a,_0x122b7c;return _0xb5fc43['hasSame'](_0x314f51,'day')?(_0x742e4a=_0xb5fc43['startOf']('day')['toJSDate'](),_0x122b7c=_0xb5fc43['toRelativeCalendar']()):_0xb5fc43['hasSame'](_0x16b774,'day')?(_0x742e4a=_0x16b774['toJSDate'](),_0x122b7c=_0xb5fc43['toRelativeCalendar']()):_0xb5fc43['hasSame'](_0x314f51,'week')?(_0x742e4a=_0xb5fc43['startOf']('week')['toJSDate'](),_0x122b7c=_0xb5fc43['weekdayLong']||''):_0xb5fc43['hasSame'](_0x314f51,'year')?(_0x742e4a=_0xb5fc43['startOf']('month')['toJSDate'](),_0x122b7c=_0xb5fc43['monthLong']||''):(_0x742e4a=_0xb5fc43['startOf']('year')['toJSDate'](),_0x122b7c=String(_0xb5fc43['year'])),{'startDate':_0x742e4a,'localizedPeriodName':_0x122b7c};}class _0x5389e5 extends _0x5f37cd['View']{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x12b94a,_0x26b68f,_0x2b2267,_0x4606fe){super(_0x12b94a);const _0x1d6771=_0x3e49a9(_0x26b68f,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x26b68f,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x2b2267,this['_requireRevisionName']=_0x4606fe,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':_0x1d6771}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x57cdbd){const _0x5823c2=new _0x599f8f(this['locale'],_0x57cdbd,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x5823c2);}['removeRevision'](_0x133da6){const _0x5706f2=this['revisionViews']['find'](_0x5dcbfc=>_0x5dcbfc['id']===_0x133da6['id']);this['revisionViews']['remove'](_0x5706f2);}}class _0x580b72 extends _0x5f37cd['View']{constructor(_0xbe690b){super(_0xbe690b);const _0x436eb5=new _0x5f37cd['IconView']();_0x436eb5['content']=_0x5f37cd['IconHistory'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x436eb5,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[_0x4b5ffd(_0xbe690b,'Revision\x20history')]}]});}}class _0x301541 extends _0x5f37cd['View']{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x51322,_0x45b827,_0x47358d,_0xb9ff20){super(_0x51322);const _0x46e389=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x45b827,this['_revisionActions']=_0x47358d,this['_requireRevisionName']=_0xb9ff20,this['on']('select',(_0xa7e4fc,_0x1bb3c6)=>{this['fire']('revisionSelected',_0x1bb3c6);}),this['on']('setName',(_0x309493,_0x543033)=>{this['fire']('revisionSetName',_0x543033);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new _0x580b72(_0x51322),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x46e389['if']('isEnabled','ck-disabled',_0x1f873e=>!_0x1f873e)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0xcf7a7 of this['_revisions'])this['_addRevision'](_0xcf7a7);this['_revisions']['on']('add',(_0x170bb9,_0x174614)=>{this['_addRevision'](_0x174614);}),this['_revisions']['on']('remove',(_0x100bb4,_0x4cb1c6)=>{this['_removeRevision'](_0x4cb1c6);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x1effe8=>_0x1effe8['revisionViews']['map'](_0x1ad61e=>_0x1ad61e))['flat']();}['selectRevision'](_0x3184dd){for(const _0x2cc2e3 of this['revisionViews'])_0x3184dd&&_0x3184dd['id']===_0x2cc2e3['id']?_0x2cc2e3['select']():_0x2cc2e3['deselect']();}['highlightRevisions'](_0x3808e3){for(const _0x1da731 of this['revisionViews'])_0x3808e3['some'](({id:_0x82334c})=>_0x82334c===_0x1da731['id'])?_0x1da731['highlight']():_0x1da731['unhighlight']();}['_addRevision'](_0x2e5194){const _0x56099d=_0x3e49a9(_0x2e5194['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x10d4f0=this['_getTimePeriodViewByStartDate'](_0x56099d);_0x10d4f0||(_0x10d4f0=new _0x5389e5(this['locale'],_0x56099d,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x10d4f0)),_0x10d4f0['addRevision'](_0x2e5194);}['_removeRevision'](_0x100393){const _0x167dc6=_0x3e49a9(_0x100393['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x167dc6)['removeRevision'](_0x100393);}['_getTimePeriodViewByStartDate'](_0x41502e){return this['timePeriodViews']['find'](_0x27052b=>_0x27052b['startDate']['getTime']()===_0x41502e['getTime']());}}class _0x2e3766 extends _0x5f37cd['Plugin']{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
_0x393a80();static get['pluginName'](){return'RevisionsSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3b1aa5];}constructor(_0xdf3be8){super(_0xdf3be8),this['_revisionViewer']=_0xdf3be8['plugins']['get'](_0x3b1aa5),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x34d2c5=this['_revisionsRepository']['_revisions'],_0x2c1bc4=this['_createRevisionActions'](),_0x46a02d=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new _0x301541(this['editor']['locale'],_0x34d2c5,_0x2c1bc4,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',(_0x34ea21,_0x16aa97)=>{_0x16aa97['revisionViews']['on']('add',(_0x5e54b2,_0x44a765)=>{_0x44a765['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)),_0x46a02d['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x1d4b5d=this['_revisionsRepository']['getRevision'](0x0);if(_0x1d4b5d){const _0x1cd771=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1d4b5d['id']);this['_revisionViewer']['compare'](_0x1d4b5d,_0x1cd771);}}['_handleRevisionSelected'](_0x5edad4,_0x521c37){const _0x4451b8=this['_revisionsRepository']['getRevision'](_0x521c37['id']),_0x4f8772=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4451b8['id']);this['_revisionViewer']['compare'](_0x4451b8,_0x4f8772);}['_handleRevisionSetName'](_0x1f99f4,_0x523c93){this['_revisionsRepository']['getRevision'](_0x523c93['id'])['setName'](_0x523c93['name']);}['_handleDiffChange'](_0x53dfa2,_0xbcf2e2,_0x23ef73){const _0x1dc642=this['_revisionsRepository']['getRevisionsInDiff'](_0x23ef73);_0x1dc642['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x1dc642),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x1dc642[0x0]));}['_createRevisionActions'](){const _0x449f58=this['editor'],_0x3a9a64=_0x2e3766['availableRevisionActions'],_0x2308b8=_0x449f58['config']['get']('revisionHistory.revisionActions')||_0x2e3766['defaultRevisionActions'];if(_0x2308b8['length'])return _0x2308b8['map'](_0x487a2e=>{const _0x4d2847='string'==typeof _0x487a2e?Object['assign']({},_0x3a9a64[_0x487a2e]):_0x487a2e;return _0x4d2847['action']=_0x4d2847['action']['bind'](this,_0x449f58),_0x4d2847['isVisible']&&(_0x4d2847['isVisible']=_0x4d2847['isVisible']['bind'](this,_0x449f58)),_0x4d2847;});}}function _0x393a80(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0xb03a6e},_0x5960fe)=>{const _0x1acab1=_0xb03a6e['get'](_0x3b1aa5),_0x2ab9e5=_0x1acab1['repository'];let _0xa8d1f0=_0x1acab1['diff']['newRevisionId'],_0x131482=_0x5960fe['id'];_0x2ab9e5['getIndex'](_0xa8d1f0)>_0x2ab9e5['getIndex'](_0x131482)&&([_0xa8d1f0,_0x131482]=[_0x131482,_0xa8d1f0]),_0x1acab1['compare'](_0xa8d1f0,_0x131482);},'isVisible':({plugins:_0x111406},_0x300273)=>{const _0x5397ee=_0x111406['get'](_0x3b1aa5);return!(_0x5397ee['repository']['getRevisionsInDiff'](_0x5397ee['diff'])['length']>0x2)&&!_0x300273['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x6b8f15,{id:_0x122a0d})=>{_0x6b8f15['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x122a0d);},'isVisible':({plugins:_0x478732},_0x37328a)=>!!_0x478732['get'](_0x3b1aa5)['repository']['getLaterVisibleRevision'](_0x37328a['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x15d7e3},{id:_0x270979,revisionNameView:_0x1c9cdd})=>{const _0x3febf7=_0x15d7e3['get'](_0x3b1aa5),_0x38b4fc=_0x3febf7['repository']['getEarlierVisibleRevision'](_0x270979);_0x3febf7['compare'](_0x270979,_0x38b4fc),_0x1c9cdd['focus'](),_0x1c9cdd['fieldView']['select']();}}};}class RevisionViewerEditorUI extends _0x5f37cd['EditorUI']{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x568509,_0x26e563){super(_0x568509),this['_view']=_0x26e563,this['_toolbarConfig']=_0x5f37cd['normalizeToolbarConfig'](_0x568509['config']['get']('toolbar')),this['_elementReplacer']=new _0x5f37cd['ElementReplacer']();}get['element'](){return this['view']['element'];}['init'](_0x552f36){const _0x24ae31=this['editor'],_0x38f002=this['view'],_0x118479=_0x24ae31['editing']['view'],_0x1bcfd2=_0x38f002['editable'],_0x123af9=_0x118479['document']['getRoot']();_0x1bcfd2['name']=_0x123af9['rootName'],_0x38f002['render']();const _0x6572f5=_0x1bcfd2['element'];this['setEditableElement'](_0x1bcfd2['name'],_0x6572f5),_0x38f002['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x118479['attachDomRoot'](_0x6572f5),this['_elementReplacer']['replace'](_0x552f36,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0xc9d6bf=this['view'],_0x4ebcca=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x4ebcca['detachDomRoot'](_0xc9d6bf['editable']['name']),_0xc9d6bf['destroy']();}['_initToolbar'](){const _0x23c9b7=this['view'];_0x23c9b7['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x23c9b7['stickyPanel']['limiterElement']=_0x23c9b7['element'],_0x23c9b7['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x8fb0a8})=>_0x8fb0a8),_0x23c9b7['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x23c9b7['toolbar']);}}class RevisionViewerEditorUIView extends _0x5f37cd['BoxedEditorUIView']{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1d400f,_0x833e9a,_0x2e0a2f={}){super(_0x1d400f),this['stickyPanel']=new _0x5f37cd['StickyPanelView'](_0x1d400f),this['toolbar']=new _0x5f37cd['ToolbarView'](_0x1d400f,{'shouldGroupWhenFull':_0x2e0a2f['shouldToolbarGroupWhenFull']}),this['_editable']=new _0x5f37cd['InlineEditableUIView'](_0x1d400f,_0x833e9a);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
_0x5f37cd['ElementApiMixin'](_0x5f37cd['Editor']){['_ui'];get['ui'](){return this['_ui'];}constructor(_0xad6d9c,_0x11b202){super(_0x11b202),this['sourceElement']=_0xad6d9c,this['model']['document']['createRoot']();const _0x412f5c=new RevisionViewerEditorUIView(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new RevisionViewerEditorUI(this,_0x412f5c);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x9ce399,_0x2f7bb1){const _0x45852c=new this(_0x9ce399,_0x2f7bb1);return await _0x45852c['initPlugins'](),await _0x45852c['ui']['init'](_0x9ce399),await _0x45852c['data']['init'](_0x45852c['config']['get']('initialData')||''),_0x45852c['fire']('ready'),_0x45852c;}}const _0x399b71=['RevisionHistoryUI','RestrictedEditingMode','AIChat','AIReviewMode','AIBalloon','AIQuickActions','AIActions','AIChatShortcuts','AITranslate'];class RevisionViewerIntegration extends _0x5f37cd['Plugin']{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x485063){function _0x32f074(_0x239bda){return _0x239bda['map'](_0x3b9fde=>String['fromCharCode'](_0x3b9fde))['join']('');}super(_0x485063),this['result']='end',_0x485063[_0x32f074([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x32f074([0x76,0x69,0x65,0x77])][_0x32f074([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x32f074([0x61,0x75,0x74,0x6f]),_0x485063[_0x32f074([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x32f074([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x32f074([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x32f074([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x32f074([0x6f,0x6b])});}}class RevisionHistory extends _0x5f37cd['Plugin']{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0xff59f3,RevisionHistoryUI];}constructor(_0x288443){if(super(_0x288443),!this['editor']['config']['get']('revisionHistory'))throw new _0x5f37cd['CKEditorError']('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['set']('isRevisionViewerOpen',!0x1),this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1db380=>this['_showRevisionViewer']({..._0x1db380,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x227827=>this['_closeRevisionViewer'](_0x227827)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x130ee5=>this['_restoreRevision'](_0x130ee5)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x11ccea){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x11ccea;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x26df43){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x26df43);}['getRevision'](_0x1f7dd7){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x1f7dd7);}['getRevisions'](_0x20c902){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x20c902||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x396117=this['editor'],_0x11bdfb=_0x42b075(_0x396117,_0x399b71),_0x5dfbc2=_0x396117['plugins']['get']('RevisionTracker'),_0x3d583c=_0x396117['plugins']['get'](_0x4e0926)['users'];_0x11bdfb['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x11bdfb['lazyRoots'];class RevisionViewerInit extends _0x5f37cd['Plugin']{static get['requires'](){return[_0x3b1aa5,_0x4e0926];}['init'](){const _0x32d0d2=this['editor']['plugins']['get'](_0x4e0926);for(const _0x3e1366 of _0x3d583c)_0x3e1366['isAnonymous']||_0x32d0d2['getUser'](_0x3e1366['id'])||_0x32d0d2['addUser'](_0x3e1366);const _0x295f67=_0x5dfbc2['repository']['getRevisions']();let _0x37c063=null;const _0x556e79=this['editor']['plugins']['get']('RevisionViewer');_0x556e79['adapter']=_0x5dfbc2['adapter'],_0x556e79['bind']('isEnabled')['to'](_0x5dfbc2),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x396117,'isReadOnly',_0x933cf6=>!_0x933cf6);for(const _0x192bd9 of _0x295f67){const _0x1a5f51=null===_0x192bd9['creator'];if(_0x1a5f51&&_0x192bd9['toVersion']===_0x192bd9['fromVersion'])continue;const _0x58d2a2=_0x192bd9['toJSON']();_0x556e79['addRevisionData'](_0x58d2a2,(_0x9a5cd6,_0x3d91e5,_0x1bf937)=>{if(_0x1a5f51){if(_0x37c063)_0x37c063['_update'](_0x9a5cd6,_0x3d91e5);else{if(!_0x3d91e5){const _0x430b01=_0x1bf937['toJSON']();_0x430b01['id']=_0x5f37cd['uid'](),_0x5dfbc2['saveRevision'](_0x430b01,_0x1bf937['toVersion'])['then'](_0x5f391f=>{_0x37c063=_0x5f391f;});}}}else _0x192bd9['_update'](_0x9a5cd6,_0x3d91e5);});}}}return _0x11bdfb['plugins']['push'](RevisionViewerIntegration,_0x3b1aa5,_0x2a0ee5,RevisionViewerInit,_0x2e3766),_0x11bdfb;}['_enhanceShowRevisionViewerCallback'](){const _0xe560bb=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x35e1b7=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x5559e8=this['editor']['plugins']['get']('Autosave');await _0x5559e8['save']();}else await _0x35e1b7['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x187cdd=this['editor']['plugins']['get']('Dialog');_0x187cdd['isOpen']&&_0x187cdd['hide']();}if(this['editor']['plugins']['has']('AITabs')){const _0x1c56ef=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x3ba6b2 of _0x1c56ef)_0x3ba6b2['class']=_0x3ba6b2['class']?_0x3ba6b2['class']+'\x20ck-tab-panel_disabled':'ck-tab-panel_disabled';if(this['editor']['plugins']['has']('AIChat')){const _0xd54b8=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0xd54b8&&_0xd54b8['setAttribute']('tabindex','-1');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x58f071=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x58f071&&_0x58f071['setAttribute']('tabindex','-1');}}const _0x12716d=this['_getRevisionViewerEditorConfig']();return _0xe560bb(_0x12716d)['then'](_0x180e4d=>{return(this['_viewerEditor']=_0x180e4d,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'),_0x180e4d);})['catch'](_0x1ef267=>(console['error'](_0x1ef267),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3d5480=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 _0x2f6f20=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x1abd4c of _0x2f6f20)_0x1abd4c['class']='ck-tab-panel_disabled'===_0x1abd4c['class']?'':_0x1abd4c['class']['replace']('\x20ck-tab-panel_disabled','');if(this['editor']['plugins']['has']('AIChat')){const _0x12aa21=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x12aa21&&_0x12aa21['removeAttribute']('tabindex');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x131d2d=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x131d2d&&_0x131d2d['removeAttribute']('tabindex');}}return this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x3d5480(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x2b517c=this['editor']['plugins']['get']('Annotations');_0x2b517c['refreshVisibility'](),_0x2b517c['refreshPositioning']();}});});}['_showRevisionViewer'](_0x256806){const _0xfbba77=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x538353=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x23f39c=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return RevisionViewerEditor['create'](_0x23f39c,_0x256806)['then'](_0x1454b3=>(_0x538353['style']['display']='block',_0xfbba77['style']['display']='none',this['isRevisionViewerOpen']=!0x0,_0x1454b3));}['_closeRevisionViewer'](_0x56bc22){const _0x21ef8b=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x21ef8b['style']['display']='',this['isRevisionViewerOpen']=!0x1,_0x56bc22['destroy']();}async['_restoreRevision'](_0x107782){const _0x713955=this['editor'],_0x1033ed=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x4bcca3=_0x713955['plugins']['get']('RevisionTracker'),_0x480657=_0x713955['plugins']['get']('RevisionHistoryUtils'),_0x57b9ae=_0x1033ed['repository']['getRevision'](_0x107782);let _0x493a4c,_0x4ab167,_0x3c6d14;try{await _0x480657['loadRevisionData'](_0x57b9ae,this['adapter']),_0x493a4c=_0x480657['getRevisionDocumentData'](_0x57b9ae),_0x4ab167=_0x480657['getRevisionRootsAttributes'](_0x57b9ae);}catch(_0x440936){return void console['error'](_0x440936);}_0x713955['model']['change'](_0x94edcb=>{for(const _0x2f1e7e of Array['from'](_0x713955['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x94edcb['removeMarker'](_0x2f1e7e);}),_0x1033ed['isReady']=!0x1,_0x713955['model']['enqueueChange'](_0x54eb20=>{_0x54eb20['setSelection'](null),_0x54eb20['removeSelectionAttribute'](_0x713955['model']['document']['selection']['getAttributeKeys']());const _0x535d91=Object['keys'](_0x493a4c);for(const _0x5fe245 of _0x713955['model']['document']['roots'])'$graveyard'!=_0x5fe245['rootName']&&_0x5fe245['isAttached']()&&!_0x535d91['includes'](_0x5fe245['rootName'])&&_0x54eb20['detachRoot'](_0x5fe245);for(const _0xdcb74e of _0x535d91){let _0x5dd88c=_0x713955['model']['document']['getRoot'](_0xdcb74e);if(!_0x5dd88c||!_0x5dd88c['isAttached']()){const _0x2b1b90=_0x57b9ae['diffData']?.[_0xdcb74e]?.['rootElementName']||'$root';_0x5dd88c=_0x54eb20['addRoot'](_0xdcb74e,_0x2b1b90);}const _0x2afa9d=_0x4ab167[_0xdcb74e],_0x29a7c3=Object['keys'](_0x2afa9d),_0x55c9c7=_0x493a4c[_0xdcb74e];for(const _0x1d8731 of _0x5dd88c['getAttributeKeys']())_0x29a7c3['includes'](_0x1d8731)||_0x54eb20['removeAttribute'](_0x1d8731,_0x5dd88c);for(const _0x253c1b of _0x29a7c3)_0x54eb20['setAttribute'](_0x253c1b,_0x4ab167[_0xdcb74e][_0x253c1b],_0x5dd88c);_0x54eb20['remove'](_0x54eb20['createRangeIn'](_0x5dd88c)),_0x54eb20['insert'](_0x713955['data']['parse'](_0x55c9c7,_0x5dd88c),_0x5dd88c,0x0);}});const _0x39491d=_0x4b5ffd(_0x713955['locale'],'Restored');if(_0x57b9ae['name'])_0x3c6d14=-0x1==_0x57b9ae['name']['indexOf'](_0x39491d)?_0x39491d+':\x20'+_0x57b9ae['name']:_0x57b9ae['name'];else _0x3c6d14=_0x39491d+':\x20'+(_0x57b9ae['createdAt']['toLocaleDateString'](_0x713955['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x57b9ae['createdAt']['toLocaleTimeString'](_0x713955['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x4bcca3['saveRevision']({'name':_0x3c6d14}),_0x1033ed['isReady']=!0x0,_0x713955['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}class CloudServicesRevisionHistoryAdapter extends _0x5f37cd['Plugin']{static ['RevisionHistoryService']=/* #__PURE__ -- @preserve */
((()=>RevisionHistoryService)());['_lastRequestId'];['_revisionTracker'];['_revisionHistoryService'];['_oldOffset'];static get['requires'](){return[WebSocketGateway,RealTimeCollaborationClient,RevisionHistory,_0x59e0d0,_0x4e0926];}static get['pluginName'](){return'CloudServicesRevisionHistoryAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3ce70a){super(_0x3ce70a);const _0x5c71c9=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x5c71c9);}async['init'](){const _0x5f831b=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x1d874e=_0x5f831b['serverHistory'],_0x1a36be=this['editor']['plugins']['get'](WebSocketGateway);this['_revisionTracker']['setSource']({'history':_0x1d874e,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0x5f831b['sessionId']});const _0x25a2b7=this['editor']['config']['get']('cloudServices.bundleVersion')||_0x5f37cd['version'],_0x124381=await EditorService['isBundleUploaded'](_0x1a36be['connection'],_0x25a2b7);this['editor']['plugins']['get'](RevisionHistory)['adapter']={'getRevision':async({revisionId:_0x421fe9})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0x421fe9)),'updateRevisions':async _0x42b292=>{await this['_waitForServiceReady']();const _0x220c86=this['_revisionTracker']['currentRevision'];if(_0x124381&&0x1===_0x42b292['length']&&_0x42b292[0x0]['id']===_0x220c86['id'])return _0x42b292;for(const _0x4bb77a of _0x42b292)_0x4bb77a['id']===_0x220c86['id']&&(_0x4bb77a['isEmptyCurrent']=_0x4bb77a['fromVersion']===_0x4bb77a['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0x42b292,this['_lastRequestId'])['then'](_0x4e91b8=>(this['_lastRequestId']=_0x4e91b8,_0x42b292))['catch'](_0x58efd0=>{if(_0x4984c5(_0x58efd0)||'400'===_0x58efd0['code']&&void 0x0!==_0x58efd0['data']['wrongRequestId']){for(const _0x44d18f of _0x42b292){!this['_revisionTracker']['repository']['getRevision'](_0x44d18f['id'])||this['_revisionTracker']['_bufferUpdate'](_0x44d18f['id'],_0x44d18f,!0x1);}if(_0x4984c5(_0x58efd0)&&'destroyed'!==this['editor']['state'])throw _0x58efd0;return _0x42b292;}throw _0x58efd0;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x4298e9,{revisionsData:_0xc0f39b,requestId:_0x14d861})=>{Math['max'](..._0xc0f39b['map'](_0x10efee=>_0x10efee['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0xc0f39b,_0x14d861);}):this['_handleRevisionsUpdate'](_0xc0f39b,_0x14d861);});const {revisions:_0x329146,requestId:_0x4a1330}=await this['_revisionHistoryService']['connect'](_0x1a36be['connection']);_0x1a36be['addToReconnectionStack'](this),this['_lastRequestId']=_0x4a1330,await this['_fetchMissingUsers'](_0x329146);for(const _0x3e76cd of _0x329146)this['_revisionTracker']['addRevisionData'](_0x3e76cd);this['listenTo'](_0x5f831b,'change:_isConnected',(_0x450f54,_0x36c788,_0x404685)=>{_0x404685&&(this['_oldOffset']=_0x5f831b['_offset'],_0x450f54['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](_0x1a36be,'state',_0x337298=>_0x337298===_0x58cc78);}async['reconnect'](){const _0x40b739=this['editor']['plugins']['get'](WebSocketGateway),_0x2216d9=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x47509b=async()=>{const _0x444f03=this['_revisionTracker']['currentRevision'],_0xcdb506=_0x444f03['id'],_0x44a805=_0xcdb506!==_0x2216d9['sessionId'];if(_0x44a805){const _0x557bd1=_0x2216d9['_offset']-this['_oldOffset'],_0x24d6d6=this['_getLatestVersionFromServerOperations']();this['_revisionTracker']['_revisionDataBuilder']['reInit']();if(_0x444f03['toVersion']+_0x557bd1!==_0x24d6d6){const _0x55912f=_0x444f03['fromVersion']+_0x557bd1,_0x543cdc=this['editor']['plugins']['get'](_0x4e0926),_0x13212f=this['_revisionTracker']['buildRevisionData']({'revision':_0x444f03,'from':_0x55912f,'to':_0x24d6d6});_0x13212f['id']=_0x444f03['id'];const _0x3909d5=_0x13212f['authorsIds']['map'](_0x4b8b03=>_0x543cdc['getUser'](_0x4b8b03));_0x444f03['_update']({..._0x13212f,'authors':_0x3909d5},!0x0),this['_revisionTracker']['_bufferUpdate'](_0x444f03['id'],_0x13212f,!0x0);}this['_revisionTracker']['_startingVersion']=_0x24d6d6,(_0x444f03['toVersion']===_0x444f03['fromVersion']&&!this['_revisionTracker']['_bufferedUpdates']['has'](_0xcdb506)&&this['_revisionTracker']['repository']['_revisions']['remove'](_0xcdb506),this['_revisionTracker']['_createCurrentRevision'](_0x24d6d6));}const {revisions:_0x4d16ed,requestId:_0x142683}=await this['_revisionHistoryService']['reconnect'](_0x40b739['connection'],this['_lastRequestId']);_0x44a805&&_0x4d16ed['length']>0x0?_0x2216d9['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0x4d16ed),this['_handleRevisionsUpdate'](_0x4d16ed,_0x142683),this['_revisionTracker']['sendBufferedUpdates']());};return _0x2216d9['_isConnected']?_0x47509b():new Promise((_0x2748a8,_0x302b67)=>{_0x2216d9['once']('change:_isConnected',()=>{_0x47509b()['then'](_0x2748a8)['catch'](_0x302b67);});});}['destroy'](){super['destroy']();}async['_waitForServiceReady'](){this['_revisionHistoryService']['isConnected']||await new Promise(_0x2e60b=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0x1e1985=>{_0x1e1985['off'](),_0x2e60b();});});}['_getLatestVersionFromServerOperations'](){const _0x4330cf=this['editor']['plugins']['get'](RealTimeCollaborationClient)['serverHistory']['getOperations']()['reverse']();for(const _0x4812e8 of _0x4330cf)if('marker'!==_0x4812e8['type']||_0x4812e8['affectsData'])return _0x4812e8['baseVersion']+0x1;}['_getLatestVersion'](){const _0x83a3c2=this['editor']['plugins']['get'](RealTimeCollaborationClient);return new Promise(_0xa2cecb=>{_0x83a3c2['_isPendingUpdate']?_0x83a3c2['once']('change:_isPendingUpdate',()=>{_0xa2cecb(this['_getLatestVersionFromServerOperations']());}):_0xa2cecb(this['_getLatestVersionFromServerOperations']());});}['_handleRevisionsUpdate'](_0x302fd,_0xee2e){const _0x21eeab=this['_revisionTracker']['repository'];this['_lastRequestId']=_0xee2e;for(const _0x4b5d8b of _0x302fd){const _0x3bb463=_0x21eeab['getRevision'](_0x4b5d8b['id']);if(_0x3bb463){if((_0x4b5d8b['fromVersion']||_0x4b5d8b['toVersion'])&&(_0x4b5d8b['diffData']=null),_0x3bb463===this['_revisionTracker']['currentRevision']){const _0x1fe0bf=Math['max'](_0x3bb463['toVersion'],_0x4b5d8b['toVersion']),_0x2062f4=Math['max'](_0x3bb463['fromVersion'],_0x4b5d8b['fromVersion']);let _0x294ef0;_0x3bb463['toVersion']===_0x4b5d8b['toVersion']&&_0x3bb463['fromVersion']===_0x4b5d8b['fromVersion']?(_0x294ef0=!0x0,this['_preventResendingRevisionData'](_0x4b5d8b)):_0x4b5d8b['toVersion']===_0x1fe0bf&&_0x4b5d8b['fromVersion']===_0x2062f4?_0x294ef0=!0x1:(_0x3bb463['toVersion']===_0x1fe0bf&&_0x3bb463['fromVersion']===_0x2062f4||this['_fixRevision']({'revision':_0x3bb463,'from':_0x2062f4,'to':_0x1fe0bf}),_0x294ef0=!0x0),_0x294ef0&&(delete _0x4b5d8b['fromVersion'],delete _0x4b5d8b['toVersion'],delete _0x4b5d8b['diffData'],delete _0x4b5d8b['createdAt'],delete _0x4b5d8b['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0x4b5d8b),this['_preventResendingRevisionData'](_0x4b5d8b);}else this['_revisionTracker']['addRevisionData'](_0x4b5d8b);}const _0x47e080=_0x21eeab['getRevisions']();_0x47e080['reverse']();for(let _0x758a10=0x0;_0x758a10<_0x47e080['length']-0x1;_0x758a10++){const _0x3ad289=_0x47e080[_0x758a10],_0x59b875=_0x47e080[_0x758a10+0x1];if(_0x3ad289['fromVersion']<_0x59b875['toVersion']){const _0x1613fb=_0x59b875['toVersion'],_0x34579d=Math['max'](_0x1613fb,_0x3ad289['toVersion']);this['_fixRevision']({'revision':_0x3ad289,'from':_0x1613fb,'to':_0x34579d});}}}['_fixRevision']({revision:_0x24a296,from:_0x3daac6,to:_0x5293f8}={}){const _0x1d276f=this['editor']['plugins']['get'](_0x4e0926),_0x1b6d72=this['_revisionTracker']['buildRevisionData']({'revision':_0x24a296,'from':_0x3daac6,'to':_0x5293f8});_0x1b6d72['authors']=_0x1b6d72['authorsIds']['map'](_0x152e29=>_0x1d276f['getUser'](_0x152e29)),_0x24a296['_update'](_0x1b6d72);}['_preventResendingRevisionData'](_0xb29c5b){const _0x158184={};_0x158184['id']=_0xb29c5b['id'];for(const _0x2d5413 of Object['keys'](_0xb29c5b))'id'!==_0x2d5413&&(_0x158184[_0x2d5413]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0x158184['id'],_0x158184,!0x0);}async['_fetchMissingUsers'](_0x3f2a9a){const _0xed4eb9=this['editor']['plugins']['get'](_0x4e0926),{connection:_0x57f391}=this['editor']['plugins']['get'](WebSocketGateway),_0x3d13c4=new Set();for(const _0x6c361e of _0x3f2a9a){for(const _0x592008 of _0x6c361e['authorsIds'])_0x316d7f(_0x592008);_0x6c361e['creatorId']&&_0x316d7f(_0x6c361e['creatorId']);}if(0x0===_0x3d13c4['size'])return;const _0x5596ce=await _0x4fb79d['getMany'](_0x57f391,Array['from'](_0x3d13c4));for(const _0x2df93a of _0x5596ce)_0xed4eb9['getUser'](_0x2df93a['id'])||_0xed4eb9['addUser'](_0x2df93a);function _0x316d7f(_0x3915d9){_0xed4eb9['getUser'](_0x3915d9)||_0x3d13c4['add'](_0x3915d9);}}}function _0x4984c5(_0x59bd97){return _0x59bd97['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0x59bd97['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x59bd97['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeRevisionHistory extends _0x5f37cd['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 _0x5f37cd['View']{['_collapseAt'];constructor(_0x3826bd,_0x32289e=0x6){super(_0x3826bd);const _0x5e311b=this['bindTemplate'];this['set']('isHidden',!0x0),this['set']('usersCount',0x0),this['_collapseAt']=_0x32289e,this['bind']('isHidden')['to'](this,'usersCount',_0x4ca65c=>_0x4ca65c<_0x32289e),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item',_0x5e311b['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':_0x5e311b['to']('usersCount',_0x1eedde=>'+'+(_0x1eedde-this['_collapseAt']+0x2)['toString']())}]}]}]});}}class PresenceInlineListView extends _0x5f37cd['View']{['items'];['keystrokes'];constructor(_0xbf887f){super(_0xbf887f);const _0x2004b6=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new _0x5f37cd['KeystrokeHandler'](),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x2004b6['if']('hasPopup'),'aria-expanded':_0x2004b6['to']('isExpanded',_0x6097cb=>this['hasPopup']&&String(_0x6097cb)),'aria-label':_0x2004b6['to']('hasPopup',_0x3914bf=>_0x299820(_0xbf887f,_0x3914bf?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x2004b6['to']('hasPopup',_0x54e5f9=>!!_0x54e5f9&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'mouseenter':_0x2004b6['to'](()=>this['fire']('presencelist:show')),'mouseleave':_0x2004b6['to'](_0x125663=>{const _0x286ce7=_0x125663,_0x51ec7c=document['querySelector']('.ck-presence-list__dropdown-list'),_0x584188=document['querySelector']('.ck-balloon-panel_with-arrow');_0x51ec7c?.['contains'](_0x286ce7['relatedTarget'])||_0x584188?.['contains'](_0x286ce7['relatedTarget'])||this['fire']('presencelist:hide');})}}),this['on']('change:hasPopup',(_0x5c5776,_0x13fb3b,_0x373a71)=>{this['element']&&(_0x373a71?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 _0x5f37cd['View']{['counterView'];['inlineListView'];constructor(_0x587754,_0x547e1a=0x6){super(_0x587754);const _0x32c7b8=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new PresenceCounterView(this['locale'],_0x547e1a),this['inlineListView']=new PresenceInlineListView(_0x587754),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x27968c of this['inlineListView']['items'])_0x27968c['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',_0x32c7b8['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['inlineListView']]});}}class PresenceDropdownListView extends _0x5f37cd['View']{['listWrapperView'];constructor(_0x471a3a,_0x1dadbe){super(_0x471a3a);const _0x47bf85=this['bindTemplate'];this['listWrapperView']=new PresenceDropdownListWrapperView(_0x471a3a,_0x1dadbe),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':_0x299820(_0x471a3a,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']],'on':{'mouseleave':_0x47bf85['to'](_0x134eb0=>{const _0x4e796d=_0x134eb0,_0x1f8fc3=document['querySelector']('.ck-presence-list__list'),_0x52cdf9=document['querySelector']('.ck-balloon-panel_with-arrow');_0x1f8fc3?.['contains'](_0x4e796d['relatedTarget'])||_0x52cdf9?.['contains'](_0x4e796d['relatedTarget'])||this['fire']('presencelist:hide');})}});}}class PresenceDropdownListWrapperView extends _0x5f37cd['ListView']{constructor(_0x1d8646,_0xf5ee19){super(_0x1d8646);const _0x13c7cb=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0xf5ee19?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0x13c7cb['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0x13c7cb['to']('role'),'aria-label':_0x13c7cb['to']('ariaLabel'),'aria-labelledby':_0x13c7cb['to']('ariaLabelledBy')},'children':this['items']}),this['listenTo'](_0x5f37cd['global']['window'],'resize',()=>this['checkIfScrollable']()),this['items']['on']('change',()=>this['checkIfScrollable']());}['render'](){super['render'](),this['checkIfScrollable']();}['checkIfScrollable'](){const _0x2079e6=this['element'];_0x2079e6&&(this['_isScrollable']=Math['max'](_0x2079e6['scrollHeight'],_0x2079e6['clientHeight'])>0.8*window['innerHeight']);}}class PresenceDropdownListItemView extends _0x5f37cd['ListItemView']{['userView'];constructor(_0x28f99c,_0x200a1b,_0x5b6519){super(_0x28f99c);const _0x4a053c=this['bindTemplate'];this['userView']=new _0x45ef72(_0x28f99c,_0x200a1b);const _0x51b300={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0x200a1b['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0x200a1b['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x200a1b['color']['getBackgroundColorClass']()],'style':{'--ck-user-color':_0x200a1b['color']['getColorVariable'](),'--ck-user-color-alpha':_0x200a1b['color']['getColorAlphaVariable']()},'aria-hidden':'true'}}]};_0x5b6519&&(_0x51b300['tag']='button',_0x51b300['on']={'click':_0x4a053c['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x51b300);}['focus'](){this['element']['focus']();}}class PresenceInlineListItemView extends _0x5f37cd['View']{['userView'];['markerView'];constructor(_0x3f240c,_0x4c8cca,_0x50700d){super(_0x3f240c);const _0xcd8d28=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new _0x45ef72(_0x3f240c,_0x4c8cca),this['markerView']=new _0x160561(_0x3f240c,_0x4c8cca);const _0x21e0cd=new _0x5f37cd['LabelView'](_0x3f240c);_0x21e0cd['template']['tag']='span',_0x21e0cd['text']=_0x4c8cca['name'];const _0x31b44e={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0xcd8d28['to']('isFocusable',_0x48f921=>!!_0x48f921&&0x0),'aria-labelledby':_0x21e0cd['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0xcd8d28['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0xcd8d28['to']('hasTooltip',_0x1118eb=>!_0x1118eb),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0x21e0cd]};_0x50700d&&(_0x31b44e['tag']='button',_0x31b44e['on']={'click':_0xcd8d28['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x31b44e);}}class _0x160561 extends _0x5f37cd['View']{constructor(_0x39d38b,_0x4773a7){super(_0x39d38b),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x4773a7['color']['getBackgroundColorClass']()],'style':{'--ck-user-color':_0x4773a7['color']['getColorVariable'](),'--ck-user-color-alpha':_0x4773a7['color']['getColorAlphaVariable']()},'aria-hidden':'true'}});}}const _0x514f29={'collapseAt':0x6,'displayMe':!0x0};class PresenceListUI extends _0x5f37cd['ContextPlugin']{['currentDisplayedUsers'];['balloonPanelView'];['view'];['presenceDropdownView'];['_bodyCollection']=null;static get['pluginName'](){return'PresenceListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x370c17){super(_0x370c17),this['context']['config']['define']('presenceList',_0x514f29);const _0xf122e7=_0x370c17['config']['get']('presenceList.collapseAt');if('number'!=typeof _0xf122e7)throw new _0x5f37cd['CKEditorError']('presencelist-collapseat-invalid-format',this);if(_0xf122e7<0x1)throw new _0x5f37cd['CKEditorError']('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](_0x59e0d0)['allConnectedUsers'],this['set']('usersCount',0x0),this['currentDisplayedUsers']=new _0x5f37cd['Collection'](),this['balloonPanelView']=new _0x5f37cd['BalloonPanelView'](),this['balloonPanelView']['class']='ck\x20ck-presence-list__balloon',this['view']=this['_createView'](),this['presenceDropdownView']=void 0x0;}static get['requires'](){return[_0x59e0d0];}['init'](){for(const _0x2b0e03 of this['_allConnectedUsers'])this['_handleUserAdd'](_0x2b0e03);this['listenTo'](this['_allConnectedUsers'],'add',(_0x3aac4d,_0xff9480)=>{this['_handleUserAdd'](_0xff9480);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0x539c28,_0x10ab84)=>{this['_handleUserRemove'](_0x10ab84);});}['_createView'](){const _0xb1903d=this['context'],_0xf2d0b4=new PresenceListView(this['context']['locale'],this['context']['config']['get']('presenceList.collapseAt')),_0x24be72=this['balloonPanelView'];if(!function(_0x552734){return function(_0x296e64){return'object'==typeof _0x296e64&&null!==_0x296e64;}(_0x552734)&&0x1===_0x552734['nodeType']&&!yt(_0x552734);}(_0xb1903d['config']['get']('presenceList.container')))throw new _0x5f37cd['CKEditorError']('presencelist-missing-container',this);return _0xf2d0b4['counterView']['bind']('usersCount')['to'](this),_0xf2d0b4['bind']('isCollapsed')['to'](this,'usersCount',_0x5858f3=>{const {collapseAt:_0x4e8bd3}=_0xb1903d['config']['get']('presenceList'),_0x590571=_0x5858f3>=_0x4e8bd3;if(_0x590571&&!_0xf2d0b4['inlineListView']['items']['find'](_0x485a8e=>_0x485a8e instanceof PresenceCounterView)){const _0x21ed00=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['currentDisplayedUsers']['length']==_0x21ed00&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](this['currentDisplayedUsers']['length']-0x1),_0xf2d0b4['inlineListView']['items']['add'](_0xf2d0b4['counterView']);}return _0x590571||this['hideDropdown'](),_0x590571;}),_0xf2d0b4['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0x4f308e=>{const _0x35466f=_0xb1903d['config']['get']('presenceList'),_0x4dbb94=new PresenceInlineListItemView(_0xb1903d['locale'],_0x4f308e,!!_0x35466f['onClick']);return _0x4dbb94['bind']('hasTooltip')['to'](_0xf2d0b4,'isCollapsed',_0x97052f=>!_0x97052f),_0x4dbb94['bind']('isFocusable')['to'](_0xf2d0b4,'isCollapsed',_0x104eeb=>!_0x104eeb),_0x35466f['onClick']&&this['listenTo'](_0x4dbb94,'execute',()=>{this['view']['isCollapsed']||_0x35466f['onClick'](_0x4f308e,_0x4dbb94['element']);}),_0x4dbb94;}),this['listenTo'](_0xf2d0b4['inlineListView'],'presencelist:show',()=>{this['view']['isCollapsed']&&this['showDropdown']();}),this['listenTo'](_0xf2d0b4['inlineListView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();}),_0xf2d0b4['inlineListView']['keystrokes']['set']('Enter',(_0x561b85,_0x5f5105)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x5f5105());}),_0xf2d0b4['render'](),_0x24be72['render'](),_0x5f37cd['clickOutsideHandler']({'emitter':_0xf2d0b4,'activator':()=>_0x24be72['isVisible'],'contextElements':[_0x24be72['element'],_0xf2d0b4['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0xb1903d['config']['get']('presenceList.container')['appendChild'](_0xf2d0b4['element']),this['_bodyCollection']=new _0x5f37cd['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0xf2d0b4;}['_handleUserAdd'](_0x143dfc){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x143dfc['isMe'])return;const _0x8e791=this['context']['config']['get']('presenceList.collapseAt')-0x1;for(this['usersCount']++;this['currentDisplayedUsers']['length']>=_0x8e791-(this['view']['isCollapsed']?0x1:0x0)&&this['currentDisplayedUsers']['length']>0x1;)this['currentDisplayedUsers']['remove'](0x1);const _0x3ef753=_0x143dfc['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x143dfc,_0x3ef753);}['_handleUserRemove'](_0xa82c17){this['usersCount']--;const {collapseAt:_0x5d2a0e}=this['context']['config']['get']('presenceList'),_0x2d18e3=this['usersCount']>=_0x5d2a0e;if(this['currentDisplayedUsers']['get'](_0xa82c17['id']))this['currentDisplayedUsers']['remove'](_0xa82c17['id']);else{if(_0x2d18e3&&this['currentDisplayedUsers']['length']+0x1===_0x5d2a0e-0x1)return;}if(this['currentDisplayedUsers']['length']+(_0x2d18e3?0x1:0x0)<this['usersCount']){for(const _0x146e55 of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0x146e55['id'])&&(this['currentDisplayedUsers']['add'](_0x146e55,Math['min'](this['currentDisplayedUsers']['length']-(_0x2d18e3?0x1:0x0),0x1)),this['currentDisplayedUsers']['length']+(_0x2d18e3?0x1:0x0)===_0x5d2a0e-0x1))return;}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0x2fb474=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new PresenceDropdownListView(this['context']['locale'],!!_0x2fb474['onClick']),this['view']['inlineListView']['isExpanded']=!0x0,this['listenTo'](this['presenceDropdownView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();});const {listWrapperView:_0x108c0c}=this['presenceDropdownView'];_0x108c0c['items']['bindTo'](this['_allConnectedUsers'])['using'](_0x1ccd6d=>{if(!_0x2fb474['displayMe']&&_0x1ccd6d['isMe'])return null;const _0x384b2d=new PresenceDropdownListItemView(this['context']['locale'],_0x1ccd6d,!!_0x2fb474['onClick']);return _0x2fb474['onClick']&&this['listenTo'](_0x384b2d,'execute',()=>{_0x2fb474['onClick'](_0x1ccd6d,_0x384b2d['element']);}),_0x384b2d;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0x108c0c['focus'](),_0x108c0c['checkIfScrollable']();const _0x5c9bdf=(_0xb46de7,_0x9b17a5)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0x9b17a5();};_0x108c0c['keystrokes']['set']('Esc',_0x5c9bdf),_0x108c0c['keystrokes']['set']('Shift+Tab',_0x5c9bdf),_0x108c0c['keystrokes']['set']('Tab',(_0x2f966b,_0x469bb7)=>{!function(_0x157e95){const _0x1cb4c8=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0x1e4d7f=>_0x1e4d7f+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0x21d32e=[...document['body']['querySelectorAll'](_0x1cb4c8)]['filter'](_0xbefd9a=>_0xbefd9a===document['activeElement']||_0xbefd9a['offsetWidth']+_0xbefd9a['offsetHeight']>0x0)['sort']((_0x5a56f1,_0x17a509)=>(_0x5a56f1['tabIndex']||0x0)-(_0x17a509['tabIndex']||0x0)),_0x8da4fe=_0x21d32e['indexOf'](_0x157e95),_0x53dbbe=_0x21d32e[(_0x8da4fe+0x1)%_0x21d32e['length']];_0x53dbbe&&_0x53dbbe['focus']();}(this['view']['element']),this['hideDropdown'](),_0x469bb7();}),_0x108c0c['focusTracker']['add'](this['view']['element']),_0x108c0c['focusTracker']['on']('change:isFocused',(_0x2435b1,_0x5c3bc6,_0x421a60)=>{_0x421a60||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 _0x5f37cd['ContextPlugin']{static get['requires'](){return[_0x59e0d0,PresenceListUI];}static get['pluginName'](){return'PresenceList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x77c5e extends _0x5f37cd['Plugin']{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x498376){super(_0x498376),this['_allowedCommands']=null;}['afterInit'](){const _0x109b68=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x46b0b5=function(_0x2b1483){let _0x35b92e=['heading4','heading5','heading6'];if(_0x2b1483){const _0x4adfbf=_0x2b1483['map'](_0x28462d=>_0x28462d['model']);_0x35b92e=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x32f3be=>!_0x4adfbf['includes'](_0x32f3be));}return _0x35b92e;}(this['editor']['config']['get']('heading.options')),_0x5726ad=this['getDefaultCommands']()['filter'](_0x27debb=>!_0x46b0b5['includes'](_0x27debb['id']));let _0x1bab6b=_0x5726ad['filter'](_0x2e5268=>!_0x109b68['includes'](_0x2e5268['commandName']));const _0x54c431=this['editor']['config']['get']('slashCommand.extraCommands');_0x54c431&&_0x54c431['length']&&(_0x1bab6b=_0x1bab6b['concat'](_0x54c431));const _0x9371bd=this['editor']['config']['get']('template.definitions');_0x9371bd&&_0x9371bd['length']&&(_0x1bab6b=_0x1bab6b['concat'](function(_0x4e6f8c){return _0x4e6f8c['map'](_0x5797fa=>{const {title:_0x2413aa,icon:_0x15e026,description:_0x35181c,data:_0x1ffeef}=_0x5797fa,_0x484cba={'id':_0x5de105(_0x2413aa,'template'),'commandName':'insertTemplate','execute':_0x5912ec=>{_0x5912ec['execute']('insertTemplate',_0x1ffeef);},'description':_0x35181c,'icon':_0x15e026,'title':_0x2413aa};return _0x15e026&&(_0x484cba['isIconColorInherited']=!0x1),_0x484cba;});}(_0x9371bd)));const _0x2182cc=this['editor']['config']['get']('style.definitions');_0x2182cc&&_0x2182cc['length']&&(_0x1bab6b=_0x1bab6b['concat'](function(_0x2eb3d8){return _0x2eb3d8['map'](_0x31341a=>{const _0x438fac={'id':_0x5de105(_0x31341a['name'],'style'),'commandName':'style','execute':_0xfe7b99=>{_0xfe7b99['execute']('style',{'styleName':_0x31341a['name']});},'isEnabled':_0x4acc9c=>{const _0x2fac9f=_0x4acc9c['commands']['get']('style');return _0x2fac9f['isEnabled']&&_0x2fac9f['enabledStyles']['includes'](_0x31341a['name']);},'title':_0x31341a['name']};return _0x438fac;});}(_0x2182cc)));const _0x463e7e=_0x1bab6b['filter'](_0x14a544=>!_0x14a544['commandName']||void 0x0!==this['editor']['commands']['get'](_0x14a544['commandName'])),_0x5ce1b3=[];for(const _0x71d16b of _0x463e7e)_0x5ce1b3['push']({'id':_0x71d16b['id'],'commandName':_0x71d16b['commandName'],'title':'function'==typeof _0x71d16b['title']?_0x71d16b['title'](this['editor']):_0x71d16b['title'],'description':_0x71d16b['description'],'icon':_0x71d16b['icon'],'isIconColorInherited':_0x71d16b['isIconColorInherited'],'aliases':_0x71d16b['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x71d16b),'execute':()=>this['_proxyExecute'](_0x71d16b)});this['_allowedCommands']=_0x5ce1b3['sort'](_0x3c3ed9),async function(_0x31384a){const _0x289f3c=_0x4b65ed([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]),_0x113039=0x305505ed,_0x6e9204=0x30528e3d^_0x113039,_0x4af3d1=window[_0x4b65ed([0x44,0x61,0x74,0x65])][_0x4b65ed([0x6e,0x6f,0x77])](),_0x248943=_0x31384a[_0x4b65ed([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d5288=new window[(_0x4b65ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fe0d3=>{_0x248943[_0x4b65ed([0x6f,0x6e,0x63,0x65])](_0x4b65ed([0x72,0x65,0x61,0x64,0x79]),_0x3fe0d3);}),_0x51f67c={[_0x4b65ed([0x6b,0x74,0x79])]:_0x4b65ed([0x45,0x43]),[_0x4b65ed([0x75,0x73,0x65])]:_0x4b65ed([0x73,0x69,0x67]),[_0x4b65ed([0x63,0x72,0x76])]:_0x4b65ed([0x50,0x2d,0x32,0x35,0x36]),[_0x4b65ed([0x78])]:_0x4b65ed([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]),[_0x4b65ed([0x79])]:_0x4b65ed([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]),[_0x4b65ed([0x61,0x6c,0x67])]:_0x4b65ed([0x45,0x53,0x32,0x35,0x36])},_0x1df885=_0x248943[_0x4b65ed([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b65ed([0x67,0x65,0x74])](_0x4b65ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x28a369(){let _0x29b506,_0x22e1cd=null,_0x14452e=null;try{if(_0x1df885==_0x4b65ed([0x47,0x50,0x4c]))return _0x4b65ed([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x29b506=_0x5c9d83(),!_0x29b506)return _0x4b65ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x29b506[_0x4b65ed([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x14452e=_0x3c5505(_0x29b506[_0x4b65ed([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x29b506[_0x4b65ed([0x6a,0x74,0x69])])),await _0x18d73d()?_0x5e7f0()?_0x226172()?_0x4b65ed([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x96e9e1()?(_0x29b506[_0x4b65ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b65ed([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x22e1cd=_0x3692e3(_0x4b65ed([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x250344()):_0x4b65ed([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b65ed([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b65ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4b65ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x226172(){const _0x392751=[_0x4b65ed([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b65ed([0x74,0x72,0x69,0x61,0x6c])][_0x4b65ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29b506[_0x4b65ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4af3d1/0x3e8:0xe10*_0x6e9204;return _0x29b506[_0x4b65ed([0x65,0x78,0x70])]<_0x392751;}function _0x5e7f0(){const _0x42e37c=_0x29b506[_0x4b65ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x42e37c&&(!!_0x42e37c[_0x4b65ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b65ed([0x2a]))||(!!_0x42e37c[_0x4b65ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b65ed([0x53,0x43]))||(!!_0x42e37c[_0x4b65ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b65ed([0x50,0x50]))||!(!_0x42e37c[_0x4b65ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b65ed([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x3ba551()))));}function _0x96e9e1(){const _0x3f5085=_0x29b506[_0x4b65ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f5085||0x0==_0x3f5085[_0x4b65ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c495b}=new URL(window[_0x4b65ed([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3f5085[_0x4b65ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c495b))return!0x0;const _0x39f31e=_0x2c495b[_0x4b65ed([0x73,0x70,0x6c,0x69,0x74])](_0x4b65ed([0x2e]));return _0x3f5085[_0x4b65ed([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b4d4b=>_0x3b4d4b[_0x4b65ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b65ed([0x2a])))[_0x4b65ed([0x6d,0x61,0x70])](_0x12dfb7=>_0x12dfb7[_0x4b65ed([0x73,0x70,0x6c,0x69,0x74])](_0x4b65ed([0x2e])))[_0x4b65ed([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd199f=>_0xd199f[_0x4b65ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x39f31e[_0x4b65ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b65ed([0x6d,0x61,0x70])](_0x3a84bc=>Array(_0x39f31e[_0x4b65ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a84bc[_0x4b65ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b65ed([0x66,0x69,0x6c,0x6c])](_0x3a84bc[0x0]===_0x4b65ed([0x2a])?_0x4b65ed([0x2a]):'')[_0x4b65ed([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a84bc))[_0x4b65ed([0x73,0x6f,0x6d,0x65])](_0x20e3fb=>_0x39f31e[_0x4b65ed([0x65,0x76,0x65,0x72,0x79])]((_0x3135b9,_0x162e00)=>_0x20e3fb[_0x162e00]===_0x3135b9||_0x20e3fb[_0x162e00]===_0x4b65ed([0x2a])));}function _0x250344(){return _0x22e1cd&&_0x14452e?new window[(_0x4b65ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37ff37,_0x5b61fc)=>{_0x22e1cd[_0x4b65ed([0x74,0x68,0x65,0x6e])](_0x37ff37,_0x5b61fc),_0x14452e[_0x4b65ed([0x74,0x68,0x65,0x6e])](_0x121459=>{_0x121459!=_0x4b65ed([0x56,0x61,0x6c,0x69,0x64])&&_0x37ff37(_0x121459);},_0x5b61fc);}):_0x22e1cd||_0x14452e||_0x4b65ed([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3c5505(_0x322beb,_0x1f0cff){return new window[(_0x4b65ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ef716=>{if(_0x31f6f5())return _0x3ef716(_0x4b65ed([0x56,0x61,0x6c,0x69,0x64]));_0x2652a3(),_0x248943[_0x4b65ed([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b65ed([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x54c378=!0x1;const _0x518a35=_0x5f37cd['uid']();function _0x31ef17(_0x23dace){return!!_0x23dace&&(typeof _0x23dace===_0x4b65ed([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x23dace===_0x4b65ed([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x23dace[_0x4b65ed([0x74,0x68,0x65,0x6e])]===_0x4b65ed([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x23dace[_0x4b65ed([0x63,0x61,0x74,0x63,0x68])]===_0x4b65ed([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d5d01(_0x1bf284){_0x28f940(_0x1bf284)[_0x4b65ed([0x74,0x68,0x65,0x6e])](_0x22b59e=>{if(!_0x22b59e||_0x22b59e[_0x4b65ed([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b65ed([0x6f,0x6b]))return _0x4b65ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x31cfce(_0x3cb8fa(_0x518a35+_0x1f0cff))!=_0x22b59e[_0x4b65ed([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b65ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b65ed([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b65ed([0x74,0x68,0x65,0x6e])](_0x379741=>(_0x401ded(),_0x379741),()=>{const _0x5b18b5=_0x9cc504();return null==_0x5b18b5?(_0x401ded(),_0x4b65ed([0x56,0x61,0x6c,0x69,0x64])):_0x4b65ed(_0x4af3d1-_0x5b18b5>(0x145981ed^_0x113039)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b65ed([0x74,0x68,0x65,0x6e])](_0x3ef716)[_0x4b65ed([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3ef716(_0x4b65ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ea80e=0x3063eb6d^_0x113039;function _0x401ded(){const _0x370a90=_0x4b65ed([0x6c,0x6c,0x63,0x74,0x2d])+_0x31cfce(_0x3cb8fa(_0x322beb)),_0x361bb8=_0x4f9359(_0x31cfce(window[_0x4b65ed([0x4d,0x61,0x74,0x68])][_0x4b65ed([0x63,0x65,0x69,0x6c])](_0x4af3d1/_0x2ea80e)));window[_0x4b65ed([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b65ed([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x370a90,_0x361bb8);}function _0x9cc504(){const _0x4ae0f6=_0x4b65ed([0x6c,0x6c,0x63,0x74,0x2d])+_0x31cfce(_0x3cb8fa(_0x322beb)),_0x43e40a=window[_0x4b65ed([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b65ed([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4ae0f6);return _0x43e40a?window[_0x4b65ed([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f9359(_0x43e40a),0x10)*_0x2ea80e:null;}function _0x28f940(_0x27fc1d){return new window[(_0x4b65ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11814c,_0xc432f1)=>{_0x27fc1d[_0x4b65ed([0x74,0x68,0x65,0x6e])](_0x11814c,_0xc432f1),window[_0x4b65ed([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xc432f1,0x3054d12d^_0x113039);});}}_0x248943[_0x4b65ed([0x6f,0x6e])](_0x4b65ed([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2648ce,_0x5a4634)=>{if(_0x5a4634[0x0]!=_0x322beb)return _0x3ef716(_0x4b65ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a4634[0x1]={..._0x5a4634[0x1],[_0x4b65ed([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x518a35};},{[_0x4b65ed([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b65ed([0x68,0x69,0x67,0x68])}),_0x248943[_0x4b65ed([0x6f,0x6e])](_0x4b65ed([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x397fe6=>{_0x31ef17(_0x397fe6[_0x4b65ed([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x54c378=!0x0,_0x3d5d01(_0x397fe6[_0x4b65ed([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b65ed([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b65ed([0x6c,0x6f,0x77])}),_0x1d5288[_0x4b65ed([0x74,0x68,0x65,0x6e])](()=>{_0x54c378||_0x3ef716(_0x4b65ed([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x31f6f5(){return _0x248943[_0x4b65ed([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b65ed([0x76,0x69,0x65,0x77])][_0x4b65ed([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b65ed([0x61,0x75,0x74,0x6f]);}function _0x2652a3(){_0x248943[_0x4b65ed([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b65ed([0x76,0x69,0x65,0x77])][_0x4b65ed([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b65ed([0x61,0x75,0x74,0x6f]);}}function _0x3692e3(_0x404ce1){const _0x197caf=[new window[(_0x4b65ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa4ae29=>setTimeout(_0xa4ae29,0x305c3b21^_0x113039)),_0x1d5288[_0x4b65ed([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b65ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12a414=>{let _0x263bf6=0x0;_0x248943[_0x4b65ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b65ed([0x6f,0x6e])](_0x4b65ed([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5806c2,_0x2fcc0a)=>{_0x2fcc0a[0x0][_0x4b65ed([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x263bf6++,_0x263bf6==(0x30550005^_0x113039)&&(_0x12a414(),_0x5806c2[_0x4b65ed([0x6f,0x66,0x66])]());});}))];return window[_0x4b65ed([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b65ed([0x72,0x61,0x63,0x65])](_0x197caf)[_0x4b65ed([0x74,0x68,0x65,0x6e])](()=>_0x404ce1);}async function _0x6341f7(){await _0x1d5288,_0x248943[_0x4b65ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b65ed([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3ec905,_0x248943[_0x4b65ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b65ed([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3ec905,_0x248943[_0x4b65ed([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b65ed([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ba551(){return window[_0x4b65ed([0x67,0x6c,0x6f,0x62])]&&window[_0x4b65ed([0x67,0x6c,0x6f,0x62])][_0x4b65ed([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x1b665d(_0xdec28b){const _0x21e5e7=_0x1b4682();_0x248943[_0x21e5e7]=_0x4b65ed([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xdec28b,_0xdec28b!=_0x4b65ed([0x56,0x61,0x6c,0x69,0x64])&&_0x6341f7();}function _0x1b4682(){const _0x360ea0=window[_0x4b65ed([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b65ed([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b65ed([0x6e,0x6f,0x77])]())[_0x4b65ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b65ed([0x2e]),'');let _0x53123d=_0x4b65ed([0x75]);for(let _0x178972=0x0;_0x178972<_0x360ea0[_0x4b65ed([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x178972+=0x2){let _0x5dfd69=window[_0x4b65ed([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x360ea0[_0x4b65ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x178972,_0x178972+0x2));_0x5dfd69>=_0x289f3c[_0x4b65ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5dfd69-=_0x289f3c[_0x4b65ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x53123d+=_0x289f3c[_0x5dfd69];}return _0x53123d;}function _0x5c9d83(){const _0x5b3d08=_0x1df885[_0x4b65ed([0x73,0x70,0x6c,0x69,0x74])](_0x4b65ed([0x2e]));if(0x3!=_0x5b3d08[_0x4b65ed([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x368a02(_0x5b3d08[0x1]);function _0x368a02(_0x1d2eb0){const _0x1f2646=_0xcb0359(_0x1d2eb0);return _0x1f2646&&_0x54450f()?_0x1f2646:null;function _0x54450f(){const _0x460361=_0x1f2646[_0x4b65ed([0x6a,0x74,0x69])],_0x587796=window[_0x4b65ed([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x460361[_0x4b65ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x460361[_0x4b65ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x25300e={..._0x1f2646,[_0x4b65ed([0x6a,0x74,0x69])]:_0x460361[_0x4b65ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x460361[_0x4b65ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x25300e[_0x4b65ed([0x76,0x63])],_0x3cb8fa(_0x25300e)==_0x587796;}}}async function _0x18d73d(){let _0x6875c7=!0x0;try{const _0x4e919f=_0x1df885[_0x4b65ed([0x73,0x70,0x6c,0x69,0x74])](_0x4b65ed([0x2e])),[_0x3f6d84,_0x586143,_0x42205a]=_0x4e919f;return _0x2172e4(_0x3f6d84),await _0x164ada(_0x3f6d84,_0x586143,_0x42205a),_0x6875c7;}catch{return!0x1;}function _0x2172e4(_0x49b801){const _0x3467ba=_0xcb0359(_0x49b801);_0x3467ba&&_0x3467ba[_0x4b65ed([0x61,0x6c,0x67])]==_0x4b65ed([0x45,0x53,0x32,0x35,0x36])||(_0x6875c7=!0x1);}async function _0x164ada(_0x3b9475,_0x2e81f7,_0x521a65){const _0x26ae4c=window[_0x4b65ed([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b65ed([0x66,0x72,0x6f,0x6d])](_0x366d9c(_0x521a65),_0x141c1e=>_0x141c1e[_0x4b65ed([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4e182e=new window[(_0x4b65ed([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b65ed([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3b9475+_0x4b65ed([0x2e])+_0x2e81f7),_0x25ba80=window[_0x4b65ed([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b65ed([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x25ba80)return;const _0x5fb6a0=await _0x25ba80[_0x4b65ed([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b65ed([0x6a,0x77,0x6b]),_0x51f67c,{[_0x4b65ed([0x6e,0x61,0x6d,0x65])]:_0x4b65ed([0x45,0x43,0x44,0x53,0x41]),[_0x4b65ed([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b65ed([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b65ed([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x25ba80[_0x4b65ed([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b65ed([0x6e,0x61,0x6d,0x65])]:_0x4b65ed([0x45,0x43,0x44,0x53,0x41]),[_0x4b65ed([0x68,0x61,0x73,0x68])]:{[_0x4b65ed([0x6e,0x61,0x6d,0x65])]:_0x4b65ed([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5fb6a0,_0x26ae4c,_0x4e182e)||(_0x6875c7=!0x1);}}function _0xcb0359(_0x5c344f){return _0x5c344f[_0x4b65ed([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b65ed([0x65,0x79]))?JSON[_0x4b65ed([0x70,0x61,0x72,0x73,0x65])](_0x366d9c(_0x5c344f)):null;}function _0x366d9c(_0x375d79){return window[_0x4b65ed([0x61,0x74,0x6f,0x62])](_0x375d79[_0x4b65ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b65ed([0x2b]))[_0x4b65ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b65ed([0x2f])));}function _0x3cb8fa(_0x3b4a2c){let _0x1246b7=0x1505;function _0x44146a(_0x4b380f){for(let _0x5cb605=0x0;_0x5cb605<_0x4b380f[_0x4b65ed([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cb605++){const _0x1ea82e=_0x4b380f[_0x4b65ed([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5cb605);_0x1246b7=(_0x1246b7<<0x5)+_0x1246b7+_0x1ea82e,_0x1246b7&=_0x1246b7;}}function _0x1c0efd(_0xd979cb){Array[_0x4b65ed([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xd979cb)?_0xd979cb[_0x4b65ed([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1c0efd):_0xd979cb&&typeof _0xd979cb==_0x4b65ed([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b65ed([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xd979cb)[_0x4b65ed([0x73,0x6f,0x72,0x74])]()[_0x4b65ed([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1689b1,_0x16def5])=>{_0x44146a(_0x1689b1),_0x1c0efd(_0x16def5);}):_0x44146a(window[_0x4b65ed([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xd979cb));}return _0x1c0efd(_0x3b4a2c),_0x1246b7>>>0x0;}function _0x31cfce(_0x185400){return _0x185400[_0x4b65ed([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b65ed([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b65ed([0x30]));}function _0x4f9359(_0x49721d){return _0x49721d[_0x4b65ed([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b65ed([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b65ed([0x6a,0x6f,0x69,0x6e])]('');}function _0x3ec905(){}function _0x4b65ed(_0x117007){return _0x117007['map'](_0x1c041c=>String['fromCharCode'](_0x1c041c))['join']('');}_0x1b665d(await _0x28a369());}(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x5abd32=_0x4e23c1=>function(_0x1bbb30,_0x39590e){const t=_0x1bbb30['t'],_0x40655a=_0x1bbb30['t'];switch(_0x39590e){case'AI\x20Assistant':return _0x40655a('AI\x20Assistant');case'Block\x20quote':return _0x40655a('Block\x20quote');case'Bulleted\x20List':return _0x40655a('Bulleted\x20List');case'Insert\x20code\x20block':return _0x40655a('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x40655a('Open\x20file\x20manager');case'Insert\x20image':return _0x40655a('Insert\x20image');case'Heading\x201':return _0x40655a('Heading\x201');case'Heading\x202':return _0x40655a('Heading\x202');case'Heading\x203':return _0x40655a('Heading\x203');case'Heading\x204':return _0x40655a('Heading\x204');case'Heading\x205':return _0x40655a('Heading\x205');case'Heading\x206':return _0x40655a('Heading\x206');case'Horizontal\x20line':return _0x40655a('Horizontal\x20line');case'Insert\x20HTML':return _0x40655a('Insert\x20HTML');case'Increase\x20indent':return _0x40655a('Increase\x20indent');case'Insert\x20table':return _0x40655a('Insert\x20table');case'Table\x20of\x20contents':return _0x40655a('Table\x20of\x20contents');case'Numbered\x20List':return _0x40655a('Numbered\x20List');case'Decrease\x20indent':return _0x40655a('Decrease\x20indent');case'Paragraph':return _0x40655a('Paragraph');case'To-do\x20List':return _0x40655a('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 _0x39590e;}}(this['editor']['locale'],_0x4e23c1);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0x5f37cd['IconRobotPencil'],'title':_0x5abd32('AI\x20Assistant'),'description':_0x5abd32('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x4ede07=>{setTimeout(()=>_0x4ede07['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x5f37cd['IconQuote'],'title':_0x5abd32('Block\x20quote'),'description':_0x5abd32('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x5f37cd['IconBulletedList'],'title':_0x5abd32('Bulleted\x20List'),'description':_0x5abd32('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x5f37cd['IconCodeBlock'],'title':_0x5abd32('Insert\x20code\x20block'),'description':_0x5abd32('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x5f37cd['IconBrowseFiles'],'title':_0x5abd32('Open\x20file\x20manager'),'description':_0x5abd32('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x5f37cd['IconBrowseFiles'],'title':_0x5abd32('Insert\x20image'),'description':_0x5abd32('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0x5f37cd['IconEmoji'],'title':_0x5abd32('Emoji'),'description':_0x5abd32('Insert\x20an\x20emoji'),'execute':_0x3a7111=>{setTimeout(()=>_0x3a7111['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0x5f37cd['IconHeading1'],'title':_0x5abd32('Heading\x201'),'description':_0x5abd32('Create\x20a\x20heading\x20level\x201'),'execute':_0x501743=>{_0x501743['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x5f37cd['IconHeading2'],'title':_0x5abd32('Heading\x202'),'description':_0x5abd32('Create\x20a\x20heading\x20level\x202'),'execute':_0x4a9d15=>{_0x4a9d15['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x5f37cd['IconHeading3'],'title':_0x5abd32('Heading\x203'),'description':_0x5abd32('Create\x20a\x20heading\x20level\x203'),'execute':_0x2ae949=>{_0x2ae949['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x5f37cd['IconHeading4'],'title':_0x5abd32('Heading\x204'),'description':_0x5abd32('Create\x20a\x20heading\x20level\x204'),'execute':_0xaceeb8=>{_0xaceeb8['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x5f37cd['IconHeading5'],'title':_0x5abd32('Heading\x205'),'description':_0x5abd32('Create\x20a\x20heading\x20level\x205'),'execute':_0x480437=>{_0x480437['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x5f37cd['IconHeading6'],'title':_0x5abd32('Heading\x206'),'description':_0x5abd32('Create\x20a\x20heading\x20level\x206'),'execute':_0x30470b=>{_0x30470b['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x5f37cd['IconHorizontalLine'],'title':_0x5abd32('Horizontal\x20line'),'description':_0x5abd32('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x5f37cd['IconHtml'],'title':_0x5abd32('Insert\x20HTML'),'description':_0x5abd32('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x5f37cd['IconIndent'],'title':_0x5abd32('Increase\x20indent'),'description':_0x5abd32('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x5abd32('Insert\x20Mermaid\x20diagram'),'description':_0x5abd32('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x5f37cd['IconTable'],'title':_0x5abd32('Insert\x20table'),'description':_0x5abd32('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x5f37cd['IconTableOfContents'],'title':_0x5abd32('Table\x20of\x20contents'),'description':_0x5abd32('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x5f37cd['IconNumberedList'],'title':_0x5abd32('Numbered\x20List'),'description':_0x5abd32('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x5f37cd['IconOutdent'],'title':_0x5abd32('Decrease\x20indent'),'description':_0x5abd32('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x5f37cd['IconParagraph'],'title':_0x5abd32('Paragraph'),'description':_0x5abd32('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x5f37cd['IconTodoList'],'title':_0x5abd32('To-do\x20List'),'description':_0x5abd32('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':_0x5f37cd['IconFootnote'],'title':_0x5abd32('Footnote'),'description':_0x5abd32('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x4fb6ec){return _0x4fb6ec['isEnabled']?_0x4fb6ec['isEnabled'](this['editor']):!_0x4fb6ec['commandName']||this['editor']['commands']['get'](_0x4fb6ec['commandName'])['isEnabled'];}['_proxyExecute'](_0x8200f6){if(_0x8200f6['execute'])_0x8200f6['execute'](this['editor']);else{if(!_0x8200f6['commandName'])throw new _0x5f37cd['CKEditorError']('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x8200f6});this['editor']['execute'](_0x8200f6['commandName']);}}}function _0x3c3ed9(_0x28e23f,_0x4d0c67){return _0x28e23f['title']<_0x4d0c67['title']?-0x1:_0x28e23f['title']>_0x4d0c67['title']?0x1:0x0;}function _0x5de105(_0x357e33,_0x411902){return _0x411902+'-'+_0x357e33['toLowerCase']()['split']('\x20')['join']('-');}class SlashCommandEditing extends _0x5f37cd['Plugin']{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x77c5e];}['getMatchingCommands'](_0x133efe){const _0x3cff5b=_0x133efe&&_0x133efe['toLowerCase']();let _0x576db6=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x576db6=_0x576db6['filter'](_0x280cc5=>_0x280cc5['isEnabled']()),_0x3cff5b){const _0x5a7123=[],_0xd2dbdc=[],_0x45f744=[],_0x184f51=[];for(const _0x124e54 of _0x576db6)_0x124e54['id']['toLowerCase']()['includes'](_0x3cff5b)?_0x5a7123['push'](_0x124e54):_0x124e54['title']['toLowerCase']()['includes'](_0x3cff5b)?_0xd2dbdc['push'](_0x124e54):_0x124e54['aliases']&&_0x124e54['aliases']['some'](_0x5a06f5=>_0x5a06f5['toLowerCase']()['includes'](_0x3cff5b))?_0x45f744['push'](_0x124e54):_0x124e54['description']&&_0x124e54['description']['toLowerCase']()['includes'](_0x3cff5b)&&_0x184f51['push'](_0x124e54);_0x576db6=_0x5a7123['concat'](_0xd2dbdc,_0x45f744,_0x184f51);}return _0x576db6;}}class SlashCommandButtonView extends _0x5f37cd['ButtonView']{constructor(_0x2bf109,_0x22f234){super(_0x2bf109),this['textPartView']=this['_createTextPartView'](_0x2bf109,_0x22f234),void 0x0!==_0x22f234['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x22f234['isIconColorInherited']),this['set']({'icon':_0x22f234['icon']||_0x5f37cd['IconPlay'],'withText':!0x0,'label':_0x22f234['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0xa82ef6,_0x5a8a1b){const _0x557319=new _0x5f37cd['View'](_0xa82ef6);return _0x557319['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x5a8a1b['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x5a8a1b['description']}]}]:[this['labelView']]}),_0x557319;}}class _0x25c4e0 extends _0x5f37cd['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x55ae7d){super(_0x55ae7d),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x531ea0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5c864c;for(const _0x3b4b21 in _0x531ea0){const _0x36522f=_0x3b4b21,_0x362d74=_0x531ea0[_0x36522f];if('slashCommandLicenseKeyValid'==_0x362d74||'slashCommandLicenseKeyInvalid'==_0x362d74||'slashCommandLicenseKeyExpired'==_0x362d74||'slashCommandLicenseKeyDomainLimit'==_0x362d74||'slashCommandLicenseKeyNotAllowed'==_0x362d74||'slashCommandLicenseKeyEvaluationLimit'==_0x362d74||'slashCommandLicenseKeyUsageLimit'==_0x362d74){delete _0x531ea0[_0x36522f],_0x5c864c=_0x362d74,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x5c864c&&_0x531ea0['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x5c864c&&_0x531ea0['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x5c864c&&_0x531ea0['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x5c864c&&_0x531ea0['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x5c864c&&_0x531ea0['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x5c864c&&_0x531ea0['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x4ecc7d=this['editor'],_0xb5b28d=this['editor']['plugins']['get']('SlashCommandEditing'),_0x4b20b8=_0x4ecc7d['config']['get']('mention.feeds');_0x4b20b8['push']({'marker':'/','feed':_0x547e92=>_0xb5b28d['getMatchingCommands'](_0x547e92),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x4ecc7d['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x4ecc7d['config']['set']('mention.feeds',_0x4b20b8);}['_overrideMentionExecuteListener'](){const _0x571ca5=this['editor'];_0x571ca5['commands']['get']('mention')['on']('execute',(_0x351d64,_0x2198a5)=>{const _0x1b6e6d=_0x2198a5[0x0],_0x3048fd=_0x571ca5['model'];'/'===_0x1b6e6d['marker']&&_0x3048fd['change'](_0xbf8c03=>{_0xbf8c03['remove'](_0x1b6e6d['range']),_0x1b6e6d['mention']['execute'](),_0x351d64['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x13af3d){const _0x29f3bc=this['editor']['locale'],_0x2fa2a1=new SlashCommandButtonView(_0x29f3bc,_0x13af3d);return _0x2fa2a1['render'](),_0x2fa2a1['element'];}}class _0x3b9a17 extends _0x5f37cd['Plugin']{static get['requires'](){return[_0x5f37cd['Mention'],SlashCommandEditing,_0x25c4e0];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _0x55f5a9(_0x2f8d5,_0x13cf82){const t=_0x2f8d5['t'];switch(_0x13cf82){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 _0x13cf82;}}function _0x2f0033(_0x108be6){const _0x27a956=_0x108be6['editing']['view']['document']['roots'],_0x1e52cc=_0x27a956['length'];if(0x0===_0x1e52cc)throw new _0x5f37cd['CKEditorError']('source-editing-enhanced-editor-no-root',_0x108be6);if(0x1===_0x1e52cc)return _0x27a956['first']['rootName'];return Array['from'](_0x108be6['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function _0x1eee8b(_0x38f0e2){return _0x5e971b(_0x38f0e2['replace'](/^[\n\s]*/g,''))?_0x38f0e2['replace'](/\s+/g,''):_0x38f0e2;}function _0x5e971b(_0x353e9b){return _0x353e9b['startsWith']('<');}let _0x3b70e1=[],_0x4bbbd8=[];function _0x4aa193(_0x2e112f){if(_0x2e112f<0x300)return!0x1;for(let _0x23ef55=0x0,_0x52fa34=_0x3b70e1['length'];;){let _0x37d139=_0x23ef55+_0x52fa34>>0x1;if(_0x2e112f<_0x3b70e1[_0x37d139])_0x52fa34=_0x37d139;else{if(!(_0x2e112f>=_0x4bbbd8[_0x37d139]))return!0x0;_0x23ef55=_0x37d139+0x1;}if(_0x23ef55==_0x52fa34)return!0x1;}}function _0x53f44c(_0xe922be){return _0xe922be>=0x1f1e6&&_0xe922be<=0x1f1ff;}((()=>{let _0x5d37c9='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'](_0x351f79=>_0x351f79?parseInt(_0x351f79,0x24):0x1);for(let _0x16cfd0=0x0,_0x5dec11=0x0;_0x16cfd0<_0x5d37c9['length'];_0x16cfd0++)(_0x16cfd0%0x2?_0x4bbbd8:_0x3b70e1)['push'](_0x5dec11+=_0x5d37c9[_0x16cfd0]);})());function _0x136181(_0x56e09e,_0x51b3ff,_0x1b62d5=!0x0,_0x1597ed=!0x0){return(_0x1b62d5?_0x27091b:_0x262d8e)(_0x56e09e,_0x51b3ff,_0x1597ed);}function _0x27091b(_0x2e7984,_0x5ea42c,_0xc71e3f){if(_0x5ea42c==_0x2e7984['length'])return _0x5ea42c;_0x5ea42c&&_0x299788(_0x2e7984['charCodeAt'](_0x5ea42c))&&_0x2a4ed3(_0x2e7984['charCodeAt'](_0x5ea42c-0x1))&&_0x5ea42c--;let _0x1e66a9=_0x4e3759(_0x2e7984,_0x5ea42c);for(_0x5ea42c+=_0x381d1d(_0x1e66a9);_0x5ea42c<_0x2e7984['length'];){let _0x8ee5d1=_0x4e3759(_0x2e7984,_0x5ea42c);if(0x200d==_0x1e66a9||0x200d==_0x8ee5d1||_0xc71e3f&&_0x4aa193(_0x8ee5d1))_0x5ea42c+=_0x381d1d(_0x8ee5d1),_0x1e66a9=_0x8ee5d1;else{if(!_0x53f44c(_0x8ee5d1))break;{let _0x3c0b83=0x0,_0x4858ab=_0x5ea42c-0x2;for(;_0x4858ab>=0x0&&_0x53f44c(_0x4e3759(_0x2e7984,_0x4858ab));)_0x3c0b83++,_0x4858ab-=0x2;if(_0x3c0b83%0x2==0x0)break;_0x5ea42c+=0x2;}}}return _0x5ea42c;}function _0x262d8e(_0x3cb559,_0x3d28c5,_0x1eabd8){for(;_0x3d28c5>0x0;){let _0xdaff27=_0x27091b(_0x3cb559,_0x3d28c5-0x2,_0x1eabd8);if(_0xdaff27<_0x3d28c5)return _0xdaff27;_0x3d28c5--;}return 0x0;}function _0x4e3759(_0x56203f,_0x48acf7){let _0x1f94e5=_0x56203f['charCodeAt'](_0x48acf7);if(!_0x2a4ed3(_0x1f94e5)||_0x48acf7+0x1==_0x56203f['length'])return _0x1f94e5;let _0x2222d9=_0x56203f['charCodeAt'](_0x48acf7+0x1);return _0x299788(_0x2222d9)?_0x2222d9-0xdc00+(_0x1f94e5-0xd800<<0xa)+0x10000:_0x1f94e5;}function _0x299788(_0x381456){return _0x381456>=0xdc00&&_0x381456<0xe000;}function _0x2a4ed3(_0x12212f){return _0x12212f>=0xd800&&_0x12212f<0xdc00;}function _0x381d1d(_0xca9a5f){return _0xca9a5f<0x10000?0x1:0x2;}let _0x5681fe=class Text{['lineAt'](_0x5c0053){if(_0x5c0053<0x0||_0x5c0053>this['length'])throw new RangeError('Invalid\x20position\x20'+_0x5c0053+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0x5c0053,!0x1,0x1,0x0);}['line'](_0x55fb23){if(_0x55fb23<0x1||_0x55fb23>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0x55fb23+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0x55fb23,!0x0,0x1,0x0);}['replace'](_0xb862cf,_0x513af0,_0x498d06){[_0xb862cf,_0x513af0]=_0x158be0(this,_0xb862cf,_0x513af0);let _0x348feb=[];return this['decompose'](0x0,_0xb862cf,_0x348feb,0x2),_0x498d06['length']&&_0x498d06['decompose'](0x0,_0x498d06['length'],_0x348feb,0x3),this['decompose'](_0x513af0,this['length'],_0x348feb,0x1),TextNode['from'](_0x348feb,this['length']-(_0x513af0-_0xb862cf)+_0x498d06['length']);}['append'](_0x28458f){return this['replace'](this['length'],this['length'],_0x28458f);}['slice'](_0x4681c5,_0x1bcf89=this['length']){[_0x4681c5,_0x1bcf89]=_0x158be0(this,_0x4681c5,_0x1bcf89);let _0x373701=[];return this['decompose'](_0x4681c5,_0x1bcf89,_0x373701,0x0),TextNode['from'](_0x373701,_0x1bcf89-_0x4681c5);}['eq'](_0x12839b){if(_0x12839b==this)return!0x0;if(_0x12839b['length']!=this['length']||_0x12839b['lines']!=this['lines'])return!0x1;let _0x3feba6=this['scanIdentical'](_0x12839b,0x1),_0x1eafec=this['length']-this['scanIdentical'](_0x12839b,-0x1),_0x1b8150=new RawTextCursor(this),_0x2e4dcf=new RawTextCursor(_0x12839b);for(let _0x194fd3=_0x3feba6,_0x2787bc=_0x3feba6;;){if(_0x1b8150['next'](_0x194fd3),_0x2e4dcf['next'](_0x194fd3),_0x194fd3=0x0,_0x1b8150['lineBreak']!=_0x2e4dcf['lineBreak']||_0x1b8150['done']!=_0x2e4dcf['done']||_0x1b8150['value']!=_0x2e4dcf['value'])return!0x1;if(_0x2787bc+=_0x1b8150['value']['length'],_0x1b8150['done']||_0x2787bc>=_0x1eafec)return!0x0;}}['iter'](_0x53d81d=0x1){return new RawTextCursor(this,_0x53d81d);}['iterRange'](_0x3132e7,_0x5d9072=this['length']){return new PartialTextCursor(this,_0x3132e7,_0x5d9072);}['iterLines'](_0x35a8bd,_0x372b7d){let _0x104d2c;if(null==_0x35a8bd)_0x104d2c=this['iter']();else{null==_0x372b7d&&(_0x372b7d=this['lines']+0x1);let _0x7dfac0=this['line'](_0x35a8bd)['from'];_0x104d2c=this['iterRange'](_0x7dfac0,Math['max'](_0x7dfac0,_0x372b7d==this['lines']+0x1?this['length']:_0x372b7d<=0x1?0x0:this['line'](_0x372b7d-0x1)['to']));}return new _0x217676(_0x104d2c);}['toString'](){return this['sliceString'](0x0);}['toJSON'](){let _0x2fd83c=[];return this['flatten'](_0x2fd83c),_0x2fd83c;}constructor(){}static['of'](_0x1eeae2){if(0x0==_0x1eeae2['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0x1eeae2['length']||_0x1eeae2[0x0]?_0x1eeae2['length']<=0x20?new TextLeaf(_0x1eeae2):TextNode['from'](TextLeaf['split'](_0x1eeae2,[])):Text['empty'];}};class TextLeaf extends _0x5681fe{constructor(_0x1b491a,_0x3a43d6=function(_0x5337e5){let _0x411bb4=-0x1;for(let _0x363449 of _0x5337e5)_0x411bb4+=_0x363449['length']+0x1;return _0x411bb4;}(_0x1b491a)){super(),this['text']=_0x1b491a,this['length']=_0x3a43d6;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0x49f009,_0x4602e7,_0x2884cf,_0x2be463){for(let _0x1ec6dd=0x0;;_0x1ec6dd++){let _0x45b6f0=this['text'][_0x1ec6dd],_0x6ea371=_0x2be463+_0x45b6f0['length'];if((_0x4602e7?_0x2884cf:_0x6ea371)>=_0x49f009)return new _0x3f065a(_0x2be463,_0x6ea371,_0x2884cf,_0x45b6f0);_0x2be463=_0x6ea371+0x1,_0x2884cf++;}}['decompose'](_0x20d745,_0x58587a,_0x38ad23,_0xbdb13d){let _0x16de03=_0x20d745<=0x0&&_0x58587a>=this['length']?this:new TextLeaf(_0x48431b(this['text'],_0x20d745,_0x58587a),Math['min'](_0x58587a,this['length'])-Math['max'](0x0,_0x20d745));if(0x1&_0xbdb13d){let _0x41cda7=_0x38ad23['pop'](),_0x300e45=_0x1cbdc3(_0x16de03['text'],_0x41cda7['text']['slice'](),0x0,_0x16de03['length']);if(_0x300e45['length']<=0x20)_0x38ad23['push'](new TextLeaf(_0x300e45,_0x41cda7['length']+_0x16de03['length']));else{let _0x14ac53=_0x300e45['length']>>0x1;_0x38ad23['push'](new TextLeaf(_0x300e45['slice'](0x0,_0x14ac53)),new TextLeaf(_0x300e45['slice'](_0x14ac53)));}}else _0x38ad23['push'](_0x16de03);}['replace'](_0x3ca1a4,_0xac7b56,_0x3a6ce5){if(!(_0x3a6ce5 instanceof TextLeaf))return super['replace'](_0x3ca1a4,_0xac7b56,_0x3a6ce5);[_0x3ca1a4,_0xac7b56]=_0x158be0(this,_0x3ca1a4,_0xac7b56);let _0x99a05d=_0x1cbdc3(this['text'],_0x1cbdc3(_0x3a6ce5['text'],_0x48431b(this['text'],0x0,_0x3ca1a4)),_0xac7b56),_0x3b2edf=this['length']+_0x3a6ce5['length']-(_0xac7b56-_0x3ca1a4);return _0x99a05d['length']<=0x20?new TextLeaf(_0x99a05d,_0x3b2edf):TextNode['from'](TextLeaf['split'](_0x99a05d,[]),_0x3b2edf);}['sliceString'](_0x56260b,_0x2d9c2c=this['length'],_0x1da77d='\x0a'){[_0x56260b,_0x2d9c2c]=_0x158be0(this,_0x56260b,_0x2d9c2c);let _0x2304f8='';for(let _0x16334b=0x0,_0x22fdec=0x0;_0x16334b<=_0x2d9c2c&&_0x22fdec<this['text']['length'];_0x22fdec++){let _0xc25fe9=this['text'][_0x22fdec],_0x1f4638=_0x16334b+_0xc25fe9['length'];_0x16334b>_0x56260b&&_0x22fdec&&(_0x2304f8+=_0x1da77d),_0x56260b<_0x1f4638&&_0x2d9c2c>_0x16334b&&(_0x2304f8+=_0xc25fe9['slice'](Math['max'](0x0,_0x56260b-_0x16334b),_0x2d9c2c-_0x16334b)),_0x16334b=_0x1f4638+0x1;}return _0x2304f8;}['flatten'](_0x4933f3){for(let _0x5dee77 of this['text'])_0x4933f3['push'](_0x5dee77);}['scanIdentical'](){return 0x0;}static['split'](_0x14d572,_0x23a3a5){let _0x483c9c=[],_0x4af32a=-0x1;for(let _0x46d26e of _0x14d572)_0x483c9c['push'](_0x46d26e),_0x4af32a+=_0x46d26e['length']+0x1,0x20==_0x483c9c['length']&&(_0x23a3a5['push'](new TextLeaf(_0x483c9c,_0x4af32a)),_0x483c9c=[],_0x4af32a=-0x1);return _0x4af32a>-0x1&&_0x23a3a5['push'](new TextLeaf(_0x483c9c,_0x4af32a)),_0x23a3a5;}}class TextNode extends _0x5681fe{constructor(_0x50c3ef,_0x462a8c){super(),this['children']=_0x50c3ef,this['length']=_0x462a8c,this['lines']=0x0;for(let _0x34dd2f of _0x50c3ef)this['lines']+=_0x34dd2f['lines'];}['lineInner'](_0x3057c5,_0x503952,_0x2e2d75,_0x5a9c6d){for(let _0x19558a=0x0;;_0x19558a++){let _0x4a3b0b=this['children'][_0x19558a],_0x4af3e1=_0x5a9c6d+_0x4a3b0b['length'],_0x23a293=_0x2e2d75+_0x4a3b0b['lines']-0x1;if((_0x503952?_0x23a293:_0x4af3e1)>=_0x3057c5)return _0x4a3b0b['lineInner'](_0x3057c5,_0x503952,_0x2e2d75,_0x5a9c6d);_0x5a9c6d=_0x4af3e1+0x1,_0x2e2d75=_0x23a293+0x1;}}['decompose'](_0x3d9f78,_0x2d5c5e,_0x2b39c6,_0x29e7e1){for(let _0xed2f20=0x0,_0x4c2c3c=0x0;_0x4c2c3c<=_0x2d5c5e&&_0xed2f20<this['children']['length'];_0xed2f20++){let _0x3cfc6d=this['children'][_0xed2f20],_0x4d1b29=_0x4c2c3c+_0x3cfc6d['length'];if(_0x3d9f78<=_0x4d1b29&&_0x2d5c5e>=_0x4c2c3c){let _0x4537a2=_0x29e7e1&((_0x4c2c3c<=_0x3d9f78?0x1:0x0)|(_0x4d1b29>=_0x2d5c5e?0x2:0x0));_0x4c2c3c>=_0x3d9f78&&_0x4d1b29<=_0x2d5c5e&&!_0x4537a2?_0x2b39c6['push'](_0x3cfc6d):_0x3cfc6d['decompose'](_0x3d9f78-_0x4c2c3c,_0x2d5c5e-_0x4c2c3c,_0x2b39c6,_0x4537a2);}_0x4c2c3c=_0x4d1b29+0x1;}}['replace'](_0x478671,_0xa941a,_0x2f0456){if([_0x478671,_0xa941a]=_0x158be0(this,_0x478671,_0xa941a),_0x2f0456['lines']<this['lines'])for(let _0x4b5d39=0x0,_0x395052=0x0;_0x4b5d39<this['children']['length'];_0x4b5d39++){let _0x6404fa=this['children'][_0x4b5d39],_0x44655c=_0x395052+_0x6404fa['length'];if(_0x478671>=_0x395052&&_0xa941a<=_0x44655c){let _0x5c6432=_0x6404fa['replace'](_0x478671-_0x395052,_0xa941a-_0x395052,_0x2f0456),_0x8b7fe5=this['lines']-_0x6404fa['lines']+_0x5c6432['lines'];if(_0x5c6432['lines']<_0x8b7fe5>>0x4&&_0x5c6432['lines']>_0x8b7fe5>>0x6){let _0x759aee=this['children']['slice']();return _0x759aee[_0x4b5d39]=_0x5c6432,new TextNode(_0x759aee,this['length']-(_0xa941a-_0x478671)+_0x2f0456['length']);}return super['replace'](_0x395052,_0x44655c,_0x5c6432);}_0x395052=_0x44655c+0x1;}return super['replace'](_0x478671,_0xa941a,_0x2f0456);}['sliceString'](_0x248c81,_0x2fc1d3=this['length'],_0x5ac117='\x0a'){[_0x248c81,_0x2fc1d3]=_0x158be0(this,_0x248c81,_0x2fc1d3);let _0x20ce8c='';for(let _0x35ecd4=0x0,_0x49abb4=0x0;_0x35ecd4<this['children']['length']&&_0x49abb4<=_0x2fc1d3;_0x35ecd4++){let _0x1e0407=this['children'][_0x35ecd4],_0x18a592=_0x49abb4+_0x1e0407['length'];_0x49abb4>_0x248c81&&_0x35ecd4&&(_0x20ce8c+=_0x5ac117),_0x248c81<_0x18a592&&_0x2fc1d3>_0x49abb4&&(_0x20ce8c+=_0x1e0407['sliceString'](_0x248c81-_0x49abb4,_0x2fc1d3-_0x49abb4,_0x5ac117)),_0x49abb4=_0x18a592+0x1;}return _0x20ce8c;}['flatten'](_0x469e1){for(let _0x2eb840 of this['children'])_0x2eb840['flatten'](_0x469e1);}['scanIdentical'](_0x30dca0,_0x5aaa65){if(!(_0x30dca0 instanceof TextNode))return 0x0;let _0x215cb6=0x0,[_0x3a1a92,_0xe43077,_0x8ab96d,_0x59fa69]=_0x5aaa65>0x0?[0x0,0x0,this['children']['length'],_0x30dca0['children']['length']]:[this['children']['length']-0x1,_0x30dca0['children']['length']-0x1,-0x1,-0x1];for(;;_0x3a1a92+=_0x5aaa65,_0xe43077+=_0x5aaa65){if(_0x3a1a92==_0x8ab96d||_0xe43077==_0x59fa69)return _0x215cb6;let _0xd5a90d=this['children'][_0x3a1a92],_0x599644=_0x30dca0['children'][_0xe43077];if(_0xd5a90d!=_0x599644)return _0x215cb6+_0xd5a90d['scanIdentical'](_0x599644,_0x5aaa65);_0x215cb6+=_0xd5a90d['length']+0x1;}}static['from'](_0x2cbd75,_0x3299d4=_0x2cbd75['reduce']((_0x350d55,_0x5578f8)=>_0x350d55+_0x5578f8['length']+0x1,-0x1)){let _0x213ebd=0x0;for(let _0x255e3d of _0x2cbd75)_0x213ebd+=_0x255e3d['lines'];if(_0x213ebd<0x20){let _0x1e16d7=[];for(let _0x24be87 of _0x2cbd75)_0x24be87['flatten'](_0x1e16d7);return new TextLeaf(_0x1e16d7,_0x3299d4);}let _0x55204f=Math['max'](0x20,_0x213ebd>>0x5),_0x1c30a8=_0x55204f<<0x1,_0x54117d=_0x55204f>>0x1,_0x130518=[],_0x64830c=0x0,_0x440b48=-0x1,_0x1ea43f=[];function _0x4a8917(_0x16ca3b){let _0x11083a;if(_0x16ca3b['lines']>_0x1c30a8&&_0x16ca3b instanceof TextNode){for(let _0x12a5c3 of _0x16ca3b['children'])_0x4a8917(_0x12a5c3);}else _0x16ca3b['lines']>_0x54117d&&(_0x64830c>_0x54117d||!_0x64830c)?(_0x285665(),_0x130518['push'](_0x16ca3b)):_0x16ca3b instanceof TextLeaf&&_0x64830c&&(_0x11083a=_0x1ea43f[_0x1ea43f['length']-0x1])instanceof TextLeaf&&_0x16ca3b['lines']+_0x11083a['lines']<=0x20?(_0x64830c+=_0x16ca3b['lines'],_0x440b48+=_0x16ca3b['length']+0x1,_0x1ea43f[_0x1ea43f['length']-0x1]=new TextLeaf(_0x11083a['text']['concat'](_0x16ca3b['text']),_0x11083a['length']+0x1+_0x16ca3b['length'])):(_0x64830c+_0x16ca3b['lines']>_0x55204f&&_0x285665(),_0x64830c+=_0x16ca3b['lines'],_0x440b48+=_0x16ca3b['length']+0x1,_0x1ea43f['push'](_0x16ca3b));}function _0x285665(){0x0!=_0x64830c&&(_0x130518['push'](0x1==_0x1ea43f['length']?_0x1ea43f[0x0]:TextNode['from'](_0x1ea43f,_0x440b48)),_0x440b48=-0x1,_0x64830c=_0x1ea43f['length']=0x0);}for(let _0x193f13 of _0x2cbd75)_0x4a8917(_0x193f13);return _0x285665(),0x1==_0x130518['length']?_0x130518[0x0]:new TextNode(_0x130518,_0x3299d4);}}function _0x1cbdc3(_0x1b5cd1,_0x32f5b2,_0x5a8dc7=0x0,_0x20977e=0x3b9aca00){for(let _0x1ad5d7=0x0,_0x582a2e=0x0,_0x4b6a31=!0x0;_0x582a2e<_0x1b5cd1['length']&&_0x1ad5d7<=_0x20977e;_0x582a2e++){let _0x1d1f6b=_0x1b5cd1[_0x582a2e],_0x19071d=_0x1ad5d7+_0x1d1f6b['length'];_0x19071d>=_0x5a8dc7&&(_0x19071d>_0x20977e&&(_0x1d1f6b=_0x1d1f6b['slice'](0x0,_0x20977e-_0x1ad5d7)),_0x1ad5d7<_0x5a8dc7&&(_0x1d1f6b=_0x1d1f6b['slice'](_0x5a8dc7-_0x1ad5d7)),_0x4b6a31?(_0x32f5b2[_0x32f5b2['length']-0x1]+=_0x1d1f6b,_0x4b6a31=!0x1):_0x32f5b2['push'](_0x1d1f6b)),_0x1ad5d7=_0x19071d+0x1;}return _0x32f5b2;}function _0x48431b(_0x3c174d,_0xd0463e,_0x142f5b){return _0x1cbdc3(_0x3c174d,[''],_0xd0463e,_0x142f5b);}_0x5681fe['empty']=new TextLeaf([''],0x0);class RawTextCursor{constructor(_0x530cfd,_0x198446=0x1){this['dir']=_0x198446,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x530cfd],this['offsets']=[_0x198446>0x0?0x1:(_0x530cfd instanceof TextLeaf?_0x530cfd['text']['length']:_0x530cfd['children']['length'])<<0x1];}['nextInner'](_0x139cf1,_0x1b4e5c){for(this['done']=this['lineBreak']=!0x1;;){let _0xdbf988=this['nodes']['length']-0x1,_0x2a2c3b=this['nodes'][_0xdbf988],_0x1c8a3c=this['offsets'][_0xdbf988],_0x16ee64=_0x1c8a3c>>0x1,_0x3c40d4=_0x2a2c3b instanceof TextLeaf?_0x2a2c3b['text']['length']:_0x2a2c3b['children']['length'];if(_0x16ee64==(_0x1b4e5c>0x0?_0x3c40d4:0x0)){if(0x0==_0xdbf988)return this['done']=!0x0,this['value']='',this;_0x1b4e5c>0x0&&this['offsets'][_0xdbf988-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x1c8a3c)==(_0x1b4e5c>0x0?0x0:0x1)){if(this['offsets'][_0xdbf988]+=_0x1b4e5c,0x0==_0x139cf1)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x139cf1--;}else{if(_0x2a2c3b instanceof TextLeaf){let _0x59922c=_0x2a2c3b['text'][_0x16ee64+(_0x1b4e5c<0x0?-0x1:0x0)];if(this['offsets'][_0xdbf988]+=_0x1b4e5c,_0x59922c['length']>Math['max'](0x0,_0x139cf1))return this['value']=0x0==_0x139cf1?_0x59922c:_0x1b4e5c>0x0?_0x59922c['slice'](_0x139cf1):_0x59922c['slice'](0x0,_0x59922c['length']-_0x139cf1),this;_0x139cf1-=_0x59922c['length'];}else{let _0x24252f=_0x2a2c3b['children'][_0x16ee64+(_0x1b4e5c<0x0?-0x1:0x0)];_0x139cf1>_0x24252f['length']?(_0x139cf1-=_0x24252f['length'],this['offsets'][_0xdbf988]+=_0x1b4e5c):(_0x1b4e5c<0x0&&this['offsets'][_0xdbf988]--,this['nodes']['push'](_0x24252f),this['offsets']['push'](_0x1b4e5c>0x0?0x1:(_0x24252f instanceof TextLeaf?_0x24252f['text']['length']:_0x24252f['children']['length'])<<0x1));}}}}}['next'](_0x1c3a8e=0x0){return _0x1c3a8e<0x0&&(this['nextInner'](-_0x1c3a8e,-this['dir']),_0x1c3a8e=this['value']['length']),this['nextInner'](_0x1c3a8e,this['dir']);}}class PartialTextCursor{constructor(_0x5f08ac,_0x4958bf,_0x4561ef){this['value']='',this['done']=!0x1,this['cursor']=new RawTextCursor(_0x5f08ac,_0x4958bf>_0x4561ef?-0x1:0x1),this['pos']=_0x4958bf>_0x4561ef?_0x5f08ac['length']:0x0,this['from']=Math['min'](_0x4958bf,_0x4561ef),this['to']=Math['max'](_0x4958bf,_0x4561ef);}['nextInner'](_0x585593,_0x4e1b0a){if(_0x4e1b0a<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x585593+=Math['max'](0x0,_0x4e1b0a<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0x51f976=_0x4e1b0a<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x585593>_0x51f976&&(_0x585593=_0x51f976),_0x51f976-=_0x585593;let {value:_0x5abe5d}=this['cursor']['next'](_0x585593);return this['pos']+=(_0x5abe5d['length']+_0x585593)*_0x4e1b0a,this['value']=_0x5abe5d['length']<=_0x51f976?_0x5abe5d:_0x4e1b0a<0x0?_0x5abe5d['slice'](_0x5abe5d['length']-_0x51f976):_0x5abe5d['slice'](0x0,_0x51f976),this['done']=!this['value'],this;}['next'](_0x2ea90a=0x0){return _0x2ea90a<0x0?_0x2ea90a=Math['max'](_0x2ea90a,this['from']-this['pos']):_0x2ea90a>0x0&&(_0x2ea90a=Math['min'](_0x2ea90a,this['to']-this['pos'])),this['nextInner'](_0x2ea90a,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}}class _0x217676{constructor(_0x725cba){this['inner']=_0x725cba,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}['next'](_0x33f341=0x0){let {done:_0x31535c,lineBreak:_0x51b679,value:_0x63ccb8}=this['inner']['next'](_0x33f341);return _0x31535c&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0x31535c?(this['done']=!0x0,this['value']=''):_0x51b679?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x63ccb8,this['afterBreak']=!0x1),this;}get['lineBreak'](){return!0x1;}}'undefined'!=typeof Symbol&&(_0x5681fe['prototype'][Symbol['iterator']]=function(){return this['iter']();},RawTextCursor['prototype'][Symbol['iterator']]=PartialTextCursor['prototype'][Symbol['iterator']]=_0x217676['prototype'][Symbol['iterator']]=function(){return this;});let _0x3f065a=class _0x47777b{constructor(_0x267fe8,_0x2a03d4,_0x47ae78,_0x301864){this['from']=_0x267fe8,this['to']=_0x2a03d4,this['number']=_0x47ae78,this['text']=_0x301864;}get['length'](){return this['to']-this['from'];}};function _0x158be0(_0x2a5127,_0x2968cd,_0x2ad22c){return[_0x2968cd=Math['max'](0x0,Math['min'](_0x2a5127['length'],_0x2968cd)),Math['max'](_0x2968cd,Math['min'](_0x2a5127['length'],_0x2ad22c))];}function _0x5da76b(_0x3958f7,_0x430843,_0x1e792d=!0x0,_0x3b610f=!0x0){return _0x136181(_0x3958f7,_0x430843,_0x1e792d,_0x3b610f);}function _0x444e07(_0x1dc8bc,_0x3273aa){let _0x3d42ff=_0x1dc8bc['charCodeAt'](_0x3273aa);if(!(_0x485b2d=_0x3d42ff,_0x485b2d>=0xd800&&_0x485b2d<0xdc00&&_0x3273aa+0x1!=_0x1dc8bc['length']))return _0x3d42ff;var _0x485b2d;let _0x143b7d=_0x1dc8bc['charCodeAt'](_0x3273aa+0x1);return function(_0x1d76a8){return _0x1d76a8>=0xdc00&&_0x1d76a8<0xe000;}(_0x143b7d)?_0x143b7d-0xdc00+(_0x3d42ff-0xd800<<0xa)+0x10000:_0x3d42ff;}function _0x311780(_0x2d36d3){return _0x2d36d3<=0xffff?String['fromCharCode'](_0x2d36d3):(_0x2d36d3-=0x10000,String['fromCharCode'](0xd800+(_0x2d36d3>>0xa),0xdc00+(0x3ff&_0x2d36d3)));}function _0x4a4b3a(_0x616d9a){return _0x616d9a<0x10000?0x1:0x2;}const _0x4ef96e=/\r\n?|\n/;var _0x25b43e=function(_0x5d9bb9){return _0x5d9bb9[_0x5d9bb9['Simple']=0x0]='Simple',_0x5d9bb9[_0x5d9bb9['TrackDel']=0x1]='TrackDel',_0x5d9bb9[_0x5d9bb9['TrackBefore']=0x2]='TrackBefore',_0x5d9bb9[_0x5d9bb9['TrackAfter']=0x3]='TrackAfter',_0x5d9bb9;}(_0x25b43e||(_0x25b43e={}));class _0x30a30d{constructor(_0x4611f1){this['sections']=_0x4611f1;}get['length'](){let _0x54b327=0x0;for(let _0x23a320=0x0;_0x23a320<this['sections']['length'];_0x23a320+=0x2)_0x54b327+=this['sections'][_0x23a320];return _0x54b327;}get['newLength'](){let _0x31a414=0x0;for(let _0x8c1fc6=0x0;_0x8c1fc6<this['sections']['length'];_0x8c1fc6+=0x2){let _0x3074e3=this['sections'][_0x8c1fc6+0x1];_0x31a414+=_0x3074e3<0x0?this['sections'][_0x8c1fc6]:_0x3074e3;}return _0x31a414;}get['empty'](){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}['iterGaps'](_0x4abc86){for(let _0x4b1270=0x0,_0x36ba6c=0x0,_0x5dd406=0x0;_0x4b1270<this['sections']['length'];){let _0x3a9da7=this['sections'][_0x4b1270++],_0x4d0bc7=this['sections'][_0x4b1270++];_0x4d0bc7<0x0?(_0x4abc86(_0x36ba6c,_0x5dd406,_0x3a9da7),_0x5dd406+=_0x3a9da7):_0x5dd406+=_0x4d0bc7,_0x36ba6c+=_0x3a9da7;}}['iterChangedRanges'](_0x260d2d,_0x19dad1=!0x1){_0x5a55ce(this,_0x260d2d,_0x19dad1);}get['invertedDesc'](){let _0x1ea47c=[];for(let _0x30bfcc=0x0;_0x30bfcc<this['sections']['length'];){let _0x4f51e6=this['sections'][_0x30bfcc++],_0xbf4011=this['sections'][_0x30bfcc++];_0xbf4011<0x0?_0x1ea47c['push'](_0x4f51e6,_0xbf4011):_0x1ea47c['push'](_0xbf4011,_0x4f51e6);}return new _0x30a30d(_0x1ea47c);}['composeDesc'](_0x35a0e8){return this['empty']?_0x35a0e8:_0x35a0e8['empty']?this:_0xe59acf(this,_0x35a0e8);}['mapDesc'](_0x1bbf0e,_0x152c4e=!0x1){return _0x1bbf0e['empty']?this:_0x2a0cfe(this,_0x1bbf0e,_0x152c4e);}['mapPos'](_0x454682,_0x4dd2cd=-0x1,_0x5d7190=_0x25b43e['Simple']){let _0x4c41fa=0x0,_0x38c3fd=0x0;for(let _0x103463=0x0;_0x103463<this['sections']['length'];){let _0x6beaa5=this['sections'][_0x103463++],_0x4ff7ad=this['sections'][_0x103463++],_0x162ca4=_0x4c41fa+_0x6beaa5;if(_0x4ff7ad<0x0){if(_0x162ca4>_0x454682)return _0x38c3fd+(_0x454682-_0x4c41fa);_0x38c3fd+=_0x6beaa5;}else{if(_0x5d7190!=_0x25b43e['Simple']&&_0x162ca4>=_0x454682&&(_0x5d7190==_0x25b43e['TrackDel']&&_0x4c41fa<_0x454682&&_0x162ca4>_0x454682||_0x5d7190==_0x25b43e['TrackBefore']&&_0x4c41fa<_0x454682||_0x5d7190==_0x25b43e['TrackAfter']&&_0x162ca4>_0x454682))return null;if(_0x162ca4>_0x454682||_0x162ca4==_0x454682&&_0x4dd2cd<0x0&&!_0x6beaa5)return _0x454682==_0x4c41fa||_0x4dd2cd<0x0?_0x38c3fd:_0x38c3fd+_0x4ff7ad;_0x38c3fd+=_0x4ff7ad;}_0x4c41fa=_0x162ca4;}if(_0x454682>_0x4c41fa)throw new RangeError('Position\x20'+_0x454682+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0x4c41fa);return _0x38c3fd;}['touchesRange'](_0x3a9355,_0x5507d5=_0x3a9355){for(let _0x251463=0x0,_0x174f59=0x0;_0x251463<this['sections']['length']&&_0x174f59<=_0x5507d5;){let _0x592136=_0x174f59+this['sections'][_0x251463++];if(this['sections'][_0x251463++]>=0x0&&_0x174f59<=_0x5507d5&&_0x592136>=_0x3a9355)return!(_0x174f59<_0x3a9355&&_0x592136>_0x5507d5)||'cover';_0x174f59=_0x592136;}return!0x1;}['toString'](){let _0x4f53e1='';for(let _0x34f1d2=0x0;_0x34f1d2<this['sections']['length'];){let _0x1f1718=this['sections'][_0x34f1d2++],_0x230488=this['sections'][_0x34f1d2++];_0x4f53e1+=(_0x4f53e1?'\x20':'')+_0x1f1718+(_0x230488>=0x0?':'+_0x230488:'');}return _0x4f53e1;}['toJSON'](){return this['sections'];}static['fromJSON'](_0x4dce10){if(!Array['isArray'](_0x4dce10)||_0x4dce10['length']%0x2||_0x4dce10['some'](_0x42a07c=>'number'!=typeof _0x42a07c))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new _0x30a30d(_0x4dce10);}static['create'](_0x355d70){return new _0x30a30d(_0x355d70);}}class ChangeSet extends _0x30a30d{constructor(_0x2aee17,_0x3dce0a){super(_0x2aee17),this['inserted']=_0x3dce0a;}['apply'](_0x1fbfd9){if(this['length']!=_0x1fbfd9['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return _0x5a55ce(this,(_0x651b01,_0xfb121c,_0x30b93a,_0x362c2c,_0x53b218)=>_0x1fbfd9=_0x1fbfd9['replace'](_0x30b93a,_0x30b93a+(_0xfb121c-_0x651b01),_0x53b218),!0x1),_0x1fbfd9;}['mapDesc'](_0x3d1acd,_0x3be5bc=!0x1){return _0x2a0cfe(this,_0x3d1acd,_0x3be5bc,!0x0);}['invert'](_0x4f7b41){let _0x174017=this['sections']['slice'](),_0x2a486d=[];for(let _0x5c8f72=0x0,_0x1cf56d=0x0;_0x5c8f72<_0x174017['length'];_0x5c8f72+=0x2){let _0x324542=_0x174017[_0x5c8f72],_0x4caff8=_0x174017[_0x5c8f72+0x1];if(_0x4caff8>=0x0){_0x174017[_0x5c8f72]=_0x4caff8,_0x174017[_0x5c8f72+0x1]=_0x324542;let _0xec1fc8=_0x5c8f72>>0x1;for(;_0x2a486d['length']<_0xec1fc8;)_0x2a486d['push'](_0x5681fe['empty']);_0x2a486d['push'](_0x324542?_0x4f7b41['slice'](_0x1cf56d,_0x1cf56d+_0x324542):_0x5681fe['empty']);}_0x1cf56d+=_0x324542;}return new ChangeSet(_0x174017,_0x2a486d);}['compose'](_0x505a00){return this['empty']?_0x505a00:_0x505a00['empty']?this:_0xe59acf(this,_0x505a00,!0x0);}['map'](_0x1bdbf6,_0xc631f8=!0x1){return _0x1bdbf6['empty']?this:_0x2a0cfe(this,_0x1bdbf6,_0xc631f8,!0x0);}['iterChanges'](_0x39e98a,_0x30b5b9=!0x1){_0x5a55ce(this,_0x39e98a,_0x30b5b9);}get['desc'](){return _0x30a30d['create'](this['sections']);}['filter'](_0x462d4c){let _0x23baae=[],_0x2b3dcd=[],_0xb3e144=[],_0x1a5285=new SectionIter(this);t:for(let _0x2b97f=0x0,_0x280e17=0x0;;){let _0x32555d=_0x2b97f==_0x462d4c['length']?0x3b9aca00:_0x462d4c[_0x2b97f++];for(;_0x280e17<_0x32555d||_0x280e17==_0x32555d&&0x0==_0x1a5285['len'];){if(_0x1a5285['done'])break t;let _0x443312=Math['min'](_0x1a5285['len'],_0x32555d-_0x280e17);_0x2152e0(_0xb3e144,_0x443312,-0x1);let _0xa65eb3=-0x1==_0x1a5285['ins']?-0x1:0x0==_0x1a5285['off']?_0x1a5285['ins']:0x0;_0x2152e0(_0x23baae,_0x443312,_0xa65eb3),_0xa65eb3>0x0&&_0x3af660(_0x2b3dcd,_0x23baae,_0x1a5285['text']),_0x1a5285['forward'](_0x443312),_0x280e17+=_0x443312;}let _0x1fc12c=_0x462d4c[_0x2b97f++];for(;_0x280e17<_0x1fc12c;){if(_0x1a5285['done'])break t;let _0x4a3ac3=Math['min'](_0x1a5285['len'],_0x1fc12c-_0x280e17);_0x2152e0(_0x23baae,_0x4a3ac3,-0x1),_0x2152e0(_0xb3e144,_0x4a3ac3,-0x1==_0x1a5285['ins']?-0x1:0x0==_0x1a5285['off']?_0x1a5285['ins']:0x0),_0x1a5285['forward'](_0x4a3ac3),_0x280e17+=_0x4a3ac3;}}return{'changes':new ChangeSet(_0x23baae,_0x2b3dcd),'filtered':_0x30a30d['create'](_0xb3e144)};}['toJSON'](){let _0x569f22=[];for(let _0x28adcc=0x0;_0x28adcc<this['sections']['length'];_0x28adcc+=0x2){let _0x454f55=this['sections'][_0x28adcc],_0x5e5a4f=this['sections'][_0x28adcc+0x1];_0x5e5a4f<0x0?_0x569f22['push'](_0x454f55):0x0==_0x5e5a4f?_0x569f22['push']([_0x454f55]):_0x569f22['push']([_0x454f55]['concat'](this['inserted'][_0x28adcc>>0x1]['toJSON']()));}return _0x569f22;}static['of'](_0x359062,_0x4e8a81,_0x439a2f){let _0x3193ab=[],_0xea97e0=[],_0x12607a=0x0,_0x210aa2=null;function _0x378fdd(_0x165c5e=!0x1){if(!_0x165c5e&&!_0x3193ab['length'])return;_0x12607a<_0x4e8a81&&_0x2152e0(_0x3193ab,_0x4e8a81-_0x12607a,-0x1);let _0x23d144=new ChangeSet(_0x3193ab,_0xea97e0);_0x210aa2=_0x210aa2?_0x210aa2['compose'](_0x23d144['map'](_0x210aa2)):_0x23d144,_0x3193ab=[],_0xea97e0=[],_0x12607a=0x0;}return function _0x2d1a67(_0x514e0c){if(Array['isArray'](_0x514e0c)){for(let _0x239d5d of _0x514e0c)_0x2d1a67(_0x239d5d);}else{if(_0x514e0c instanceof ChangeSet){if(_0x514e0c['length']!=_0x4e8a81)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x514e0c['length']+',\x20expected\x20'+_0x4e8a81+')');_0x378fdd(),_0x210aa2=_0x210aa2?_0x210aa2['compose'](_0x514e0c['map'](_0x210aa2)):_0x514e0c;}else{let {from:_0x30265f,to:_0x1a7d42=_0x30265f,insert:_0x16d4d2}=_0x514e0c;if(_0x30265f>_0x1a7d42||_0x30265f<0x0||_0x1a7d42>_0x4e8a81)throw new RangeError('Invalid\x20change\x20range\x20'+_0x30265f+'\x20to\x20'+_0x1a7d42+'\x20(in\x20doc\x20of\x20length\x20'+_0x4e8a81+')');let _0x2e05ca=_0x16d4d2?'string'==typeof _0x16d4d2?_0x5681fe['of'](_0x16d4d2['split'](_0x439a2f||_0x4ef96e)):_0x16d4d2:_0x5681fe['empty'],_0x30b6a6=_0x2e05ca['length'];if(_0x30265f==_0x1a7d42&&0x0==_0x30b6a6)return;_0x30265f<_0x12607a&&_0x378fdd(),_0x30265f>_0x12607a&&_0x2152e0(_0x3193ab,_0x30265f-_0x12607a,-0x1),_0x2152e0(_0x3193ab,_0x1a7d42-_0x30265f,_0x30b6a6),_0x3af660(_0xea97e0,_0x3193ab,_0x2e05ca),_0x12607a=_0x1a7d42;}}}(_0x359062),_0x378fdd(!_0x210aa2),_0x210aa2;}static['empty'](_0x67da6b){return new ChangeSet(_0x67da6b?[_0x67da6b,-0x1]:[],[]);}static['fromJSON'](_0x318a38){if(!Array['isArray'](_0x318a38))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0xb38458=[],_0x40ccd6=[];for(let _0x1d5d3a=0x0;_0x1d5d3a<_0x318a38['length'];_0x1d5d3a++){let _0x5752a2=_0x318a38[_0x1d5d3a];if('number'==typeof _0x5752a2)_0xb38458['push'](_0x5752a2,-0x1);else{if(!Array['isArray'](_0x5752a2)||'number'!=typeof _0x5752a2[0x0]||_0x5752a2['some']((_0x5c033f,_0x35e488)=>_0x35e488&&'string'!=typeof _0x5c033f))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0x5752a2['length'])_0xb38458['push'](_0x5752a2[0x0],0x0);else{for(;_0x40ccd6['length']<_0x1d5d3a;)_0x40ccd6['push'](_0x5681fe['empty']);_0x40ccd6[_0x1d5d3a]=_0x5681fe['of'](_0x5752a2['slice'](0x1)),_0xb38458['push'](_0x5752a2[0x0],_0x40ccd6[_0x1d5d3a]['length']);}}}return new ChangeSet(_0xb38458,_0x40ccd6);}static['createSet'](_0x51ed9c,_0x4ac5f3){return new ChangeSet(_0x51ed9c,_0x4ac5f3);}}function _0x2152e0(_0x40298c,_0x27b993,_0x5d2db8,_0xb7a05b=!0x1){if(0x0==_0x27b993&&_0x5d2db8<=0x0)return;let _0x3785ec=_0x40298c['length']-0x2;_0x3785ec>=0x0&&_0x5d2db8<=0x0&&_0x5d2db8==_0x40298c[_0x3785ec+0x1]?_0x40298c[_0x3785ec]+=_0x27b993:_0x3785ec>=0x0&&0x0==_0x27b993&&0x0==_0x40298c[_0x3785ec]?_0x40298c[_0x3785ec+0x1]+=_0x5d2db8:_0xb7a05b?(_0x40298c[_0x3785ec]+=_0x27b993,_0x40298c[_0x3785ec+0x1]+=_0x5d2db8):_0x40298c['push'](_0x27b993,_0x5d2db8);}function _0x3af660(_0x111ec8,_0xe67274,_0x4ee475){if(0x0==_0x4ee475['length'])return;let _0x4867cc=_0xe67274['length']-0x2>>0x1;if(_0x4867cc<_0x111ec8['length'])_0x111ec8[_0x111ec8['length']-0x1]=_0x111ec8[_0x111ec8['length']-0x1]['append'](_0x4ee475);else{for(;_0x111ec8['length']<_0x4867cc;)_0x111ec8['push'](_0x5681fe['empty']);_0x111ec8['push'](_0x4ee475);}}function _0x5a55ce(_0x126246,_0x3fd115,_0x58777c){let _0x8e4fc8=_0x126246['inserted'];for(let _0x47a4b3=0x0,_0x316dd1=0x0,_0x5b32fb=0x0;_0x5b32fb<_0x126246['sections']['length'];){let _0x482888=_0x126246['sections'][_0x5b32fb++],_0x3eb4bc=_0x126246['sections'][_0x5b32fb++];if(_0x3eb4bc<0x0)_0x47a4b3+=_0x482888,_0x316dd1+=_0x482888;else{let _0x19431b=_0x47a4b3,_0x2005d8=_0x316dd1,_0x3ef7bd=_0x5681fe['empty'];for(;_0x19431b+=_0x482888,_0x2005d8+=_0x3eb4bc,_0x3eb4bc&&_0x8e4fc8&&(_0x3ef7bd=_0x3ef7bd['append'](_0x8e4fc8[_0x5b32fb-0x2>>0x1])),!(_0x58777c||_0x5b32fb==_0x126246['sections']['length']||_0x126246['sections'][_0x5b32fb+0x1]<0x0);)_0x482888=_0x126246['sections'][_0x5b32fb++],_0x3eb4bc=_0x126246['sections'][_0x5b32fb++];_0x3fd115(_0x47a4b3,_0x19431b,_0x316dd1,_0x2005d8,_0x3ef7bd),_0x47a4b3=_0x19431b,_0x316dd1=_0x2005d8;}}}function _0x2a0cfe(_0xe11bd4,_0x3d70cd,_0x2443f0,_0x29201c=!0x1){let _0x392c96=[],_0x29e303=_0x29201c?[]:null,_0x11900c=new SectionIter(_0xe11bd4),_0x475061=new SectionIter(_0x3d70cd);for(let _0x50ee36=-0x1;;){if(_0x11900c['done']&&_0x475061['len']||_0x475061['done']&&_0x11900c['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0x11900c['ins']&&-0x1==_0x475061['ins']){let _0x3d5d02=Math['min'](_0x11900c['len'],_0x475061['len']);_0x2152e0(_0x392c96,_0x3d5d02,-0x1),_0x11900c['forward'](_0x3d5d02),_0x475061['forward'](_0x3d5d02);}else{if(_0x475061['ins']>=0x0&&(_0x11900c['ins']<0x0||_0x50ee36==_0x11900c['i']||0x0==_0x11900c['off']&&(_0x475061['len']<_0x11900c['len']||_0x475061['len']==_0x11900c['len']&&!_0x2443f0))){let _0xb7a75a=_0x475061['len'];for(_0x2152e0(_0x392c96,_0x475061['ins'],-0x1);_0xb7a75a;){let _0x501a38=Math['min'](_0x11900c['len'],_0xb7a75a);_0x11900c['ins']>=0x0&&_0x50ee36<_0x11900c['i']&&_0x11900c['len']<=_0x501a38&&(_0x2152e0(_0x392c96,0x0,_0x11900c['ins']),_0x29e303&&_0x3af660(_0x29e303,_0x392c96,_0x11900c['text']),_0x50ee36=_0x11900c['i']),_0x11900c['forward'](_0x501a38),_0xb7a75a-=_0x501a38;}_0x475061['next']();}else{if(!(_0x11900c['ins']>=0x0)){if(_0x11900c['done']&&_0x475061['done'])return _0x29e303?ChangeSet['createSet'](_0x392c96,_0x29e303):_0x30a30d['create'](_0x392c96);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x4066cc=0x0,_0x51edfc=_0x11900c['len'];for(;_0x51edfc;)if(-0x1==_0x475061['ins']){let _0x2460a8=Math['min'](_0x51edfc,_0x475061['len']);_0x4066cc+=_0x2460a8,_0x51edfc-=_0x2460a8,_0x475061['forward'](_0x2460a8);}else{if(!(0x0==_0x475061['ins']&&_0x475061['len']<_0x51edfc))break;_0x51edfc-=_0x475061['len'],_0x475061['next']();}_0x2152e0(_0x392c96,_0x4066cc,_0x50ee36<_0x11900c['i']?_0x11900c['ins']:0x0),_0x29e303&&_0x50ee36<_0x11900c['i']&&_0x3af660(_0x29e303,_0x392c96,_0x11900c['text']),_0x50ee36=_0x11900c['i'],_0x11900c['forward'](_0x11900c['len']-_0x51edfc);}}}}}function _0xe59acf(_0x14eb2e,_0x1398c8,_0x9e96c3=!0x1){let _0x685668=[],_0x53c5da=_0x9e96c3?[]:null,_0x495d1a=new SectionIter(_0x14eb2e),_0x15cb91=new SectionIter(_0x1398c8);for(let _0x270065=!0x1;;){if(_0x495d1a['done']&&_0x15cb91['done'])return _0x53c5da?ChangeSet['createSet'](_0x685668,_0x53c5da):_0x30a30d['create'](_0x685668);if(0x0==_0x495d1a['ins'])_0x2152e0(_0x685668,_0x495d1a['len'],0x0,_0x270065),_0x495d1a['next']();else{if(0x0!=_0x15cb91['len']||_0x15cb91['done']){if(_0x495d1a['done']||_0x15cb91['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x4b99bf=Math['min'](_0x495d1a['len2'],_0x15cb91['len']),_0x1b8586=_0x685668['length'];if(-0x1==_0x495d1a['ins']){let _0x3e247e=-0x1==_0x15cb91['ins']?-0x1:_0x15cb91['off']?0x0:_0x15cb91['ins'];_0x2152e0(_0x685668,_0x4b99bf,_0x3e247e,_0x270065),_0x53c5da&&_0x3e247e&&_0x3af660(_0x53c5da,_0x685668,_0x15cb91['text']);}else-0x1==_0x15cb91['ins']?(_0x2152e0(_0x685668,_0x495d1a['off']?0x0:_0x495d1a['len'],_0x4b99bf,_0x270065),_0x53c5da&&_0x3af660(_0x53c5da,_0x685668,_0x495d1a['textBit'](_0x4b99bf))):(_0x2152e0(_0x685668,_0x495d1a['off']?0x0:_0x495d1a['len'],_0x15cb91['off']?0x0:_0x15cb91['ins'],_0x270065),_0x53c5da&&!_0x15cb91['off']&&_0x3af660(_0x53c5da,_0x685668,_0x15cb91['text']));_0x270065=(_0x495d1a['ins']>_0x4b99bf||_0x15cb91['ins']>=0x0&&_0x15cb91['len']>_0x4b99bf)&&(_0x270065||_0x685668['length']>_0x1b8586),_0x495d1a['forward2'](_0x4b99bf),_0x15cb91['forward'](_0x4b99bf);}}else _0x2152e0(_0x685668,0x0,_0x15cb91['ins'],_0x270065),_0x53c5da&&_0x3af660(_0x53c5da,_0x685668,_0x15cb91['text']),_0x15cb91['next']();}}}class SectionIter{constructor(_0xbaa545){this['set']=_0xbaa545,this['i']=0x0,this['next']();}['next'](){let {sections:_0xbdfcf2}=this['set'];this['i']<_0xbdfcf2['length']?(this['len']=_0xbdfcf2[this['i']++],this['ins']=_0xbdfcf2[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:_0x4ac453}=this['set'],_0x5d7f65=this['i']-0x2>>0x1;return _0x5d7f65>=_0x4ac453['length']?_0x5681fe['empty']:_0x4ac453[_0x5d7f65];}['textBit'](_0x54de1f){let {inserted:_0x110b2c}=this['set'],_0x34dfd7=this['i']-0x2>>0x1;return _0x34dfd7>=_0x110b2c['length']&&!_0x54de1f?_0x5681fe['empty']:_0x110b2c[_0x34dfd7]['slice'](this['off'],null==_0x54de1f?void 0x0:this['off']+_0x54de1f);}['forward'](_0x3acf8a){_0x3acf8a==this['len']?this['next']():(this['len']-=_0x3acf8a,this['off']+=_0x3acf8a);}['forward2'](_0x3efef0){-0x1==this['ins']?this['forward'](_0x3efef0):_0x3efef0==this['ins']?this['next']():(this['ins']-=_0x3efef0,this['off']+=_0x3efef0);}}class SelectionRange{constructor(_0x34fa88,_0x3dba78,_0x57837f){this['from']=_0x34fa88,this['to']=_0x3dba78,this['flags']=_0x57837f;}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 _0x1cf8cd=0x7&this['flags'];return 0x7==_0x1cf8cd?null:_0x1cf8cd;}get['goalColumn'](){let _0x30e548=this['flags']>>0x6;return 0xffffff==_0x30e548?void 0x0:_0x30e548;}['map'](_0x2a7615,_0x264795=-0x1){let _0x55a1b8,_0x79f967;return this['empty']?_0x55a1b8=_0x79f967=_0x2a7615['mapPos'](this['from'],_0x264795):(_0x55a1b8=_0x2a7615['mapPos'](this['from'],0x1),_0x79f967=_0x2a7615['mapPos'](this['to'],-0x1)),_0x55a1b8==this['from']&&_0x79f967==this['to']?this:new SelectionRange(_0x55a1b8,_0x79f967,this['flags']);}['extend'](_0x14c786,_0x395e26=_0x14c786){if(_0x14c786<=this['anchor']&&_0x395e26>=this['anchor'])return EditorSelection['range'](_0x14c786,_0x395e26);let _0x1fd108=Math['abs'](_0x14c786-this['anchor'])>Math['abs'](_0x395e26-this['anchor'])?_0x14c786:_0x395e26;return EditorSelection['range'](this['anchor'],_0x1fd108);}['eq'](_0x567fe9,_0x3747f9=!0x1){return!(this['anchor']!=_0x567fe9['anchor']||this['head']!=_0x567fe9['head']||_0x3747f9&&this['empty']&&this['assoc']!=_0x567fe9['assoc']);}['toJSON'](){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0x405887){if(!_0x405887||'number'!=typeof _0x405887['anchor']||'number'!=typeof _0x405887['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return EditorSelection['range'](_0x405887['anchor'],_0x405887['head']);}static['create'](_0x155bf7,_0x3ade9b,_0xb74f51){return new SelectionRange(_0x155bf7,_0x3ade9b,_0xb74f51);}}class EditorSelection{constructor(_0x2b6dd4,_0xdc01a6){this['ranges']=_0x2b6dd4,this['mainIndex']=_0xdc01a6;}['map'](_0x33bf75,_0x5c62d7=-0x1){return _0x33bf75['empty']?this:EditorSelection['create'](this['ranges']['map'](_0x2792f8=>_0x2792f8['map'](_0x33bf75,_0x5c62d7)),this['mainIndex']);}['eq'](_0x3120d5,_0x193ccb=!0x1){if(this['ranges']['length']!=_0x3120d5['ranges']['length']||this['mainIndex']!=_0x3120d5['mainIndex'])return!0x1;for(let _0x1fcd6f=0x0;_0x1fcd6f<this['ranges']['length'];_0x1fcd6f++)if(!this['ranges'][_0x1fcd6f]['eq'](_0x3120d5['ranges'][_0x1fcd6f],_0x193ccb))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0x46c5da,_0x312a12=!0x0){return EditorSelection['create']([_0x46c5da]['concat'](this['ranges']),_0x312a12?0x0:this['mainIndex']+0x1);}['replaceRange'](_0x29e926,_0x4f562b=this['mainIndex']){let _0x3ec620=this['ranges']['slice']();return _0x3ec620[_0x4f562b]=_0x29e926,EditorSelection['create'](_0x3ec620,this['mainIndex']);}['toJSON'](){return{'ranges':this['ranges']['map'](_0x548247=>_0x548247['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0x3e2dda){if(!_0x3e2dda||!Array['isArray'](_0x3e2dda['ranges'])||'number'!=typeof _0x3e2dda['main']||_0x3e2dda['main']>=_0x3e2dda['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0x3e2dda['ranges']['map'](_0x3b5c49=>SelectionRange['fromJSON'](_0x3b5c49)),_0x3e2dda['main']);}static['single'](_0x3c3a22,_0x33239e=_0x3c3a22){return new EditorSelection([EditorSelection['range'](_0x3c3a22,_0x33239e)],0x0);}static['create'](_0xc406d,_0x412338=0x0){if(0x0==_0xc406d['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0x4120e7=0x0,_0x17294b=0x0;_0x17294b<_0xc406d['length'];_0x17294b++){let _0x3fa2ef=_0xc406d[_0x17294b];if(_0x3fa2ef['empty']?_0x3fa2ef['from']<=_0x4120e7:_0x3fa2ef['from']<_0x4120e7)return EditorSelection['normalized'](_0xc406d['slice'](),_0x412338);_0x4120e7=_0x3fa2ef['to'];}return new EditorSelection(_0xc406d,_0x412338);}static['cursor'](_0x5aa109,_0x2c789e=0x0,_0x5bd050,_0x139119){return SelectionRange['create'](_0x5aa109,_0x5aa109,(0x0==_0x2c789e?0x0:_0x2c789e<0x0?0x8:0x10)|(null==_0x5bd050?0x7:Math['min'](0x6,_0x5bd050))|(null!=_0x139119?_0x139119:0xffffff)<<0x6);}static['range'](_0x4648f0,_0x54e85c,_0x1352e4,_0x4bfc2d){let _0x872fd4=(null!=_0x1352e4?_0x1352e4:0xffffff)<<0x6|(null==_0x4bfc2d?0x7:Math['min'](0x6,_0x4bfc2d));return _0x54e85c<_0x4648f0?SelectionRange['create'](_0x54e85c,_0x4648f0,0x30|_0x872fd4):SelectionRange['create'](_0x4648f0,_0x54e85c,(_0x54e85c>_0x4648f0?0x8:0x0)|_0x872fd4);}static['normalized'](_0x35b5b2,_0x4fff30=0x0){let _0x51bacb=_0x35b5b2[_0x4fff30];_0x35b5b2['sort']((_0x34f5e7,_0xca0ae6)=>_0x34f5e7['from']-_0xca0ae6['from']),_0x4fff30=_0x35b5b2['indexOf'](_0x51bacb);for(let _0x37c53b=0x1;_0x37c53b<_0x35b5b2['length'];_0x37c53b++){let _0x30235a=_0x35b5b2[_0x37c53b],_0x42251a=_0x35b5b2[_0x37c53b-0x1];if(_0x30235a['empty']?_0x30235a['from']<=_0x42251a['to']:_0x30235a['from']<_0x42251a['to']){let _0x43e32b=_0x42251a['from'],_0x551ad7=Math['max'](_0x30235a['to'],_0x42251a['to']);_0x37c53b<=_0x4fff30&&_0x4fff30--,_0x35b5b2['splice'](--_0x37c53b,0x2,_0x30235a['anchor']>_0x30235a['head']?EditorSelection['range'](_0x551ad7,_0x43e32b):EditorSelection['range'](_0x43e32b,_0x551ad7));}}return new EditorSelection(_0x35b5b2,_0x4fff30);}}function _0x3a6cf2(_0x19fae0,_0xeea97f){for(let _0xd2fdc0 of _0x19fae0['ranges'])if(_0xd2fdc0['to']>_0xeea97f)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let _0x4ab5f2=0x0;class Facet{constructor(_0x2870d6,_0x26de6e,_0x125ea0,_0x52d9b4,_0x1500f9){this['combine']=_0x2870d6,this['compareInput']=_0x26de6e,this['compare']=_0x125ea0,this['isStatic']=_0x52d9b4,this['id']=_0x4ab5f2++,this['default']=_0x2870d6([]),this['extensions']='function'==typeof _0x1500f9?_0x1500f9(this):_0x1500f9;}get['reader'](){return this;}static['define'](_0x4fa81e={}){return new Facet(_0x4fa81e['combine']||(_0x144028=>_0x144028),_0x4fa81e['compareInput']||((_0x2747cd,_0x2eca19)=>_0x2747cd===_0x2eca19),_0x4fa81e['compare']||(_0x4fa81e['combine']?(_0x26843a,_0x2a2c22)=>_0x26843a===_0x2a2c22:_0x222a91),!!_0x4fa81e['static'],_0x4fa81e['enables']);}['of'](_0x469a1d){return new FacetProvider([],this,0x0,_0x469a1d);}['compute'](_0x522063,_0x538a9f){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x522063,this,0x1,_0x538a9f);}['computeN'](_0x2e62c9,_0x43c87d){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x2e62c9,this,0x2,_0x43c87d);}['from'](_0x5d8e8d,_0x452438){return _0x452438||(_0x452438=_0x5865a3=>_0x5865a3),this['compute']([_0x5d8e8d],_0x154486=>_0x452438(_0x154486['field'](_0x5d8e8d)));}}function _0x222a91(_0x442c4d,_0x485818){return _0x442c4d==_0x485818||_0x442c4d['length']==_0x485818['length']&&_0x442c4d['every']((_0x47fd8c,_0x239453)=>_0x47fd8c===_0x485818[_0x239453]);}class FacetProvider{constructor(_0x521a8f,_0x499f01,_0x591788,_0x3ff8c9){this['dependencies']=_0x521a8f,this['facet']=_0x499f01,this['type']=_0x591788,this['value']=_0x3ff8c9,this['id']=_0x4ab5f2++;}['dynamicSlot'](_0x5445d0){var _0xe80ebc;let _0x431ee0=this['value'],_0x38fb67=this['facet']['compareInput'],_0x4a66d0=this['id'],_0x53b4f2=_0x5445d0[_0x4a66d0]>>0x1,_0x256287=0x2==this['type'],_0x312a0f=!0x1,_0x513100=!0x1,_0x578fae=[];for(let _0x29f1d4 of this['dependencies'])'doc'==_0x29f1d4?_0x312a0f=!0x0:'selection'==_0x29f1d4?_0x513100=!0x0:0x1&(null!==(_0xe80ebc=_0x5445d0[_0x29f1d4['id']])&&void 0x0!==_0xe80ebc?_0xe80ebc:0x1)||_0x578fae['push'](_0x5445d0[_0x29f1d4['id']]);return{'create':_0x3bc8d7=>(_0x3bc8d7['values'][_0x53b4f2]=_0x431ee0(_0x3bc8d7),0x1),'update'(_0x2a42cf,_0x528a59){if(_0x312a0f&&_0x528a59['docChanged']||_0x513100&&(_0x528a59['docChanged']||_0x528a59['selection'])||_0x5811ac(_0x2a42cf,_0x578fae)){let _0x35b3af=_0x431ee0(_0x2a42cf);if(_0x256287?!_0x132557(_0x35b3af,_0x2a42cf['values'][_0x53b4f2],_0x38fb67):!_0x38fb67(_0x35b3af,_0x2a42cf['values'][_0x53b4f2]))return _0x2a42cf['values'][_0x53b4f2]=_0x35b3af,0x1;}return 0x0;},'reconfigure':(_0x2ff5b1,_0x961089)=>{let _0x1ba9ef,_0x1b4f54=_0x961089['config']['address'][_0x4a66d0];if(null!=_0x1b4f54){let _0x26140e=_0x59d2c5(_0x961089,_0x1b4f54);if(this['dependencies']['every'](_0x51be97=>_0x51be97 instanceof Facet?_0x961089['facet'](_0x51be97)===_0x2ff5b1['facet'](_0x51be97):!(_0x51be97 instanceof StateField)||_0x961089['field'](_0x51be97,!0x1)==_0x2ff5b1['field'](_0x51be97,!0x1))||(_0x256287?_0x132557(_0x1ba9ef=_0x431ee0(_0x2ff5b1),_0x26140e,_0x38fb67):_0x38fb67(_0x1ba9ef=_0x431ee0(_0x2ff5b1),_0x26140e)))return _0x2ff5b1['values'][_0x53b4f2]=_0x26140e,0x0;}else _0x1ba9ef=_0x431ee0(_0x2ff5b1);return _0x2ff5b1['values'][_0x53b4f2]=_0x1ba9ef,0x1;}};}}function _0x132557(_0xedfb8e,_0x4414ff,_0x280824){if(_0xedfb8e['length']!=_0x4414ff['length'])return!0x1;for(let _0x4ad32a=0x0;_0x4ad32a<_0xedfb8e['length'];_0x4ad32a++)if(!_0x280824(_0xedfb8e[_0x4ad32a],_0x4414ff[_0x4ad32a]))return!0x1;return!0x0;}function _0x5811ac(_0x9fc895,_0x4bf58c){let _0x2062ea=!0x1;for(let _0x6fa4a9 of _0x4bf58c)0x1&_0x539cb4(_0x9fc895,_0x6fa4a9)&&(_0x2062ea=!0x0);return _0x2062ea;}function _0x19e51a(_0x609daf,_0x4e15db,_0x56fc50){let _0x44640e=_0x56fc50['map'](_0x13b0c6=>_0x609daf[_0x13b0c6['id']]),_0x324efc=_0x56fc50['map'](_0x2e92e9=>_0x2e92e9['type']),_0x1e1ad9=_0x44640e['filter'](_0x4d83b7=>!(0x1&_0x4d83b7)),_0x43a63e=_0x609daf[_0x4e15db['id']]>>0x1;function _0x39ab9b(_0x568d09){let _0x1029c4=[];for(let _0xd96447=0x0;_0xd96447<_0x44640e['length'];_0xd96447++){let _0x20e086=_0x59d2c5(_0x568d09,_0x44640e[_0xd96447]);if(0x2==_0x324efc[_0xd96447]){for(let _0x21ba0e of _0x20e086)_0x1029c4['push'](_0x21ba0e);}else _0x1029c4['push'](_0x20e086);}return _0x4e15db['combine'](_0x1029c4);}return{'create'(_0x3d2996){for(let _0x47f334 of _0x44640e)_0x539cb4(_0x3d2996,_0x47f334);return _0x3d2996['values'][_0x43a63e]=_0x39ab9b(_0x3d2996),0x1;},'update'(_0x10790a,_0x622b3){if(!_0x5811ac(_0x10790a,_0x1e1ad9))return 0x0;let _0x537c4c=_0x39ab9b(_0x10790a);return _0x4e15db['compare'](_0x537c4c,_0x10790a['values'][_0x43a63e])?0x0:(_0x10790a['values'][_0x43a63e]=_0x537c4c,0x1);},'reconfigure'(_0x1f2416,_0x5bbc59){let _0x1a70c5=_0x5811ac(_0x1f2416,_0x44640e),_0x15aad5=_0x5bbc59['config']['facets'][_0x4e15db['id']],_0x23d8dc=_0x5bbc59['facet'](_0x4e15db);if(_0x15aad5&&!_0x1a70c5&&_0x222a91(_0x56fc50,_0x15aad5))return _0x1f2416['values'][_0x43a63e]=_0x23d8dc,0x0;let _0x58f9ce=_0x39ab9b(_0x1f2416);return _0x4e15db['compare'](_0x58f9ce,_0x23d8dc)?(_0x1f2416['values'][_0x43a63e]=_0x23d8dc,0x0):(_0x1f2416['values'][_0x43a63e]=_0x58f9ce,0x1);}};}const _0x4fce65=Facet['define']({'static':!0x0});class StateField{constructor(_0x1532f1,_0x420b07,_0xfd7834,_0x1bb26d,_0x482d9b){this['id']=_0x1532f1,this['createF']=_0x420b07,this['updateF']=_0xfd7834,this['compareF']=_0x1bb26d,this['spec']=_0x482d9b,this['provides']=void 0x0;}static['define'](_0x2e39ad){let _0x38bf3b=new StateField(_0x4ab5f2++,_0x2e39ad['create'],_0x2e39ad['update'],_0x2e39ad['compare']||((_0x7a2d37,_0x2288b8)=>_0x7a2d37===_0x2288b8),_0x2e39ad);return _0x2e39ad['provide']&&(_0x38bf3b['provides']=_0x2e39ad['provide'](_0x38bf3b)),_0x38bf3b;}['create'](_0x49697e){let _0xa2f9f4=_0x49697e['facet'](_0x4fce65)['find'](_0x424f41=>_0x424f41['field']==this);return((null==_0xa2f9f4?void 0x0:_0xa2f9f4['create'])||this['createF'])(_0x49697e);}['slot'](_0x5039f9){let _0x2942c7=_0x5039f9[this['id']]>>0x1;return{'create':_0x1c747d=>(_0x1c747d['values'][_0x2942c7]=this['create'](_0x1c747d),0x1),'update':(_0x23ba51,_0x2507e6)=>{let _0x1eee1f=_0x23ba51['values'][_0x2942c7],_0x534c33=this['updateF'](_0x1eee1f,_0x2507e6);return this['compareF'](_0x1eee1f,_0x534c33)?0x0:(_0x23ba51['values'][_0x2942c7]=_0x534c33,0x1);},'reconfigure':(_0xf9821c,_0x331b67)=>{let _0x50c047,_0x42324e=_0xf9821c['facet'](_0x4fce65),_0x36f85d=_0x331b67['facet'](_0x4fce65);return(_0x50c047=_0x42324e['find'](_0x9ec9ba=>_0x9ec9ba['field']==this))&&_0x50c047!=_0x36f85d['find'](_0x414be1=>_0x414be1['field']==this)?(_0xf9821c['values'][_0x2942c7]=_0x50c047['create'](_0xf9821c),0x1):null!=_0x331b67['config']['address'][this['id']]?(_0xf9821c['values'][_0x2942c7]=_0x331b67['field'](this),0x0):(_0xf9821c['values'][_0x2942c7]=this['create'](_0xf9821c),0x1);}};}['init'](_0x16e69a){return[this,_0x4fce65['of']({'field':this,'create':_0x16e69a})];}get['extension'](){return this;}}const _0x3fb1ef=0x4,_0x23d724=0x3,_0x4b9320=0x2,tO=0x1;function _0x2b5433(_0x3e0699){return _0x5cb538=>new PrecExtension(_0x5cb538,_0x3e0699);}const _0x901a22={'highest':_0x2b5433(0x0),'high':_0x2b5433(tO),'default':_0x2b5433(_0x4b9320),'low':_0x2b5433(_0x23d724),'lowest':_0x2b5433(_0x3fb1ef)};class PrecExtension{constructor(_0x34ecf4,_0x453cc8){this['inner']=_0x34ecf4,this['prec']=_0x453cc8;}}class Compartment{['of'](_0x4642f1){return new CompartmentInstance(this,_0x4642f1);}['reconfigure'](_0x4d8add){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0x4d8add});}['get'](_0x364077){return _0x364077['config']['compartments']['get'](this);}}class CompartmentInstance{constructor(_0xe627cb,_0x23049a){this['compartment']=_0xe627cb,this['inner']=_0x23049a;}}class Configuration{constructor(_0x1f0c64,_0x36386b,_0x3f9710,_0x3da008,_0x25f646,_0x4dd993){for(this['base']=_0x1f0c64,this['compartments']=_0x36386b,this['dynamicSlots']=_0x3f9710,this['address']=_0x3da008,this['staticValues']=_0x25f646,this['facets']=_0x4dd993,this['statusTemplate']=[];this['statusTemplate']['length']<_0x3f9710['length'];)this['statusTemplate']['push'](0x0);}['staticFacet'](_0xebe222){let _0x5370ac=this['address'][_0xebe222['id']];return null==_0x5370ac?_0xebe222['default']:this['staticValues'][_0x5370ac>>0x1];}static['resolve'](_0x2e1c43,_0xfea5de,_0x1eae15){let _0xb01a9a=[],_0x5d7504=Object['create'](null),_0x5bd932=new Map();for(let _0x45a68f of function(_0x510532,_0x5f257d,_0x5d4556){let _0x1e3338=[[],[],[],[],[]],_0x5057ea=new Map();function _0x38de20(_0x4fad05,_0x1cb401){let _0x1a66b4=_0x5057ea['get'](_0x4fad05);if(null!=_0x1a66b4){if(_0x1a66b4<=_0x1cb401)return;let _0xfaa7f6=_0x1e3338[_0x1a66b4]['indexOf'](_0x4fad05);_0xfaa7f6>-0x1&&_0x1e3338[_0x1a66b4]['splice'](_0xfaa7f6,0x1),_0x4fad05 instanceof CompartmentInstance&&_0x5d4556['delete'](_0x4fad05['compartment']);}if(_0x5057ea['set'](_0x4fad05,_0x1cb401),Array['isArray'](_0x4fad05)){for(let _0xf21ac2 of _0x4fad05)_0x38de20(_0xf21ac2,_0x1cb401);}else{if(_0x4fad05 instanceof CompartmentInstance){if(_0x5d4556['has'](_0x4fad05['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0x266f0b=_0x5f257d['get'](_0x4fad05['compartment'])||_0x4fad05['inner'];_0x5d4556['set'](_0x4fad05['compartment'],_0x266f0b),_0x38de20(_0x266f0b,_0x1cb401);}else{if(_0x4fad05 instanceof PrecExtension)_0x38de20(_0x4fad05['inner'],_0x4fad05['prec']);else{if(_0x4fad05 instanceof StateField)_0x1e3338[_0x1cb401]['push'](_0x4fad05),_0x4fad05['provides']&&_0x38de20(_0x4fad05['provides'],_0x1cb401);else{if(_0x4fad05 instanceof FacetProvider)_0x1e3338[_0x1cb401]['push'](_0x4fad05),_0x4fad05['facet']['extensions']&&_0x38de20(_0x4fad05['facet']['extensions'],_0x4b9320);else{let _0x2dc20d=_0x4fad05['extension'];if(!_0x2dc20d)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x4fad05+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x38de20(_0x2dc20d,_0x1cb401);}}}}}}return _0x38de20(_0x510532,_0x4b9320),_0x1e3338['reduce']((_0x9c0a96,_0x53f420)=>_0x9c0a96['concat'](_0x53f420));}(_0x2e1c43,_0xfea5de,_0x5bd932))_0x45a68f instanceof StateField?_0xb01a9a['push'](_0x45a68f):(_0x5d7504[_0x45a68f['facet']['id']]||(_0x5d7504[_0x45a68f['facet']['id']]=[]))['push'](_0x45a68f);let _0x57aac8=Object['create'](null),_0x5d31bb=[],_0x509c64=[];for(let _0x8e0099 of _0xb01a9a)_0x57aac8[_0x8e0099['id']]=_0x509c64['length']<<0x1,_0x509c64['push'](_0x3990ec=>_0x8e0099['slot'](_0x3990ec));let _0x1e396c=null==_0x1eae15?void 0x0:_0x1eae15['config']['facets'];for(let _0x5e0002 in _0x5d7504){let _0x195949=_0x5d7504[_0x5e0002],_0x458cb7=_0x195949[0x0]['facet'],_0x107f05=_0x1e396c&&_0x1e396c[_0x5e0002]||[];if(_0x195949['every'](_0x17a609=>0x0==_0x17a609['type'])){if(_0x57aac8[_0x458cb7['id']]=_0x5d31bb['length']<<0x1|0x1,_0x222a91(_0x107f05,_0x195949))_0x5d31bb['push'](_0x1eae15['facet'](_0x458cb7));else{let _0x2646ec=_0x458cb7['combine'](_0x195949['map'](_0x8f7f5=>_0x8f7f5['value']));_0x5d31bb['push'](_0x1eae15&&_0x458cb7['compare'](_0x2646ec,_0x1eae15['facet'](_0x458cb7))?_0x1eae15['facet'](_0x458cb7):_0x2646ec);}}else{for(let _0x324346 of _0x195949)0x0==_0x324346['type']?(_0x57aac8[_0x324346['id']]=_0x5d31bb['length']<<0x1|0x1,_0x5d31bb['push'](_0x324346['value'])):(_0x57aac8[_0x324346['id']]=_0x509c64['length']<<0x1,_0x509c64['push'](_0x2f7793=>_0x324346['dynamicSlot'](_0x2f7793)));_0x57aac8[_0x458cb7['id']]=_0x509c64['length']<<0x1,_0x509c64['push'](_0x4c66ed=>_0x19e51a(_0x4c66ed,_0x458cb7,_0x195949));}}let _0x1b9945=_0x509c64['map'](_0x156b5f=>_0x156b5f(_0x57aac8));return new Configuration(_0x2e1c43,_0x5bd932,_0x1b9945,_0x57aac8,_0x5d31bb,_0x5d7504);}}function _0x539cb4(_0x5433d9,_0x56ff41){if(0x1&_0x56ff41)return 0x2;let _0x130241=_0x56ff41>>0x1,_0x5f251b=_0x5433d9['status'][_0x130241];if(0x4==_0x5f251b)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x5f251b)return _0x5f251b;_0x5433d9['status'][_0x130241]=0x4;let _0x5cfbea=_0x5433d9['computeSlot'](_0x5433d9,_0x5433d9['config']['dynamicSlots'][_0x130241]);return _0x5433d9['status'][_0x130241]=0x2|_0x5cfbea;}function _0x59d2c5(_0x5d3eb9,_0x74ca1c){return 0x1&_0x74ca1c?_0x5d3eb9['config']['staticValues'][_0x74ca1c>>0x1]:_0x5d3eb9['values'][_0x74ca1c>>0x1];}const _0x3a4fe2=Facet['define'](),_0x28bee9=Facet['define']({'combine':_0x2ad681=>_0x2ad681['some'](_0x348f1d=>_0x348f1d),'static':!0x0}),_0x166e56=Facet['define']({'combine':_0x49cd6b=>_0x49cd6b['length']?_0x49cd6b[0x0]:void 0x0,'static':!0x0}),_0x3385af=Facet['define'](),_0x4faa74=Facet['define'](),_0x580fee=Facet['define'](),_0x12f0d4=Facet['define']({'combine':_0x3cf320=>!!_0x3cf320['length']&&_0x3cf320[0x0]});class Annotation{constructor(_0x4ccff4,_0x1d608b){this['type']=_0x4ccff4,this['value']=_0x1d608b;}static['define'](){return new AnnotationType();}}class AnnotationType{['of'](_0x41d15d){return new Annotation(this,_0x41d15d);}}class StateEffectType{constructor(_0x2178f5){this['map']=_0x2178f5;}['of'](_0x55d559){return new StateEffect(this,_0x55d559);}}class StateEffect{constructor(_0x97cb6d,_0x390308){this['type']=_0x97cb6d,this['value']=_0x390308;}['map'](_0x84a06d){let _0x38d7c9=this['type']['map'](this['value'],_0x84a06d);return void 0x0===_0x38d7c9?void 0x0:_0x38d7c9==this['value']?this:new StateEffect(this['type'],_0x38d7c9);}['is'](_0x47f098){return this['type']==_0x47f098;}static['define'](_0xa8d790={}){return new StateEffectType(_0xa8d790['map']||(_0x25360f=>_0x25360f));}static['mapEffects'](_0x4a7aa4,_0x5d69a9){if(!_0x4a7aa4['length'])return _0x4a7aa4;let _0x478706=[];for(let _0x1db93e of _0x4a7aa4){let _0x490ce5=_0x1db93e['map'](_0x5d69a9);_0x490ce5&&_0x478706['push'](_0x490ce5);}return _0x478706;}}StateEffect['reconfigure']=StateEffect['define'](),StateEffect['appendConfig']=StateEffect['define']();class Transaction{constructor(_0x24a3ab,_0x5745a6,_0x5fbf57,_0x215ed3,_0xc87e63,_0x5a31cc){this['startState']=_0x24a3ab,this['changes']=_0x5745a6,this['selection']=_0x5fbf57,this['effects']=_0x215ed3,this['annotations']=_0xc87e63,this['scrollIntoView']=_0x5a31cc,this['_doc']=null,this['_state']=null,_0x5fbf57&&_0x3a6cf2(_0x5fbf57,_0x5745a6['newLength']),_0xc87e63['some'](_0xcc4b30=>_0xcc4b30['type']==Transaction['time'])||(this['annotations']=_0xc87e63['concat'](Transaction['time']['of'](Date['now']())));}static['create'](_0x1c1bca,_0x267fc4,_0x5f283e,_0x408c4a,_0x42d48c,_0xd32967){return new Transaction(_0x1c1bca,_0x267fc4,_0x5f283e,_0x408c4a,_0x42d48c,_0xd32967);}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'](_0x4864bf){for(let _0x5cd2de of this['annotations'])if(_0x5cd2de['type']==_0x4864bf)return _0x5cd2de['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}['isUserEvent'](_0x29a46a){let _0x5578bc=this['annotation'](Transaction['userEvent']);return!(!_0x5578bc||!(_0x5578bc==_0x29a46a||_0x5578bc['length']>_0x29a46a['length']&&_0x5578bc['slice'](0x0,_0x29a46a['length'])==_0x29a46a&&'.'==_0x5578bc[_0x29a46a['length']]));}}function _0x1f5604(_0x514ab1,_0x3ab679){let _0x5ce921=[];for(let _0x181871=0x0,_0x1217e0=0x0;;){let _0x35c6bd,_0x46db41;if(_0x181871<_0x514ab1['length']&&(_0x1217e0==_0x3ab679['length']||_0x3ab679[_0x1217e0]>=_0x514ab1[_0x181871]))_0x35c6bd=_0x514ab1[_0x181871++],_0x46db41=_0x514ab1[_0x181871++];else{if(!(_0x1217e0<_0x3ab679['length']))return _0x5ce921;_0x35c6bd=_0x3ab679[_0x1217e0++],_0x46db41=_0x3ab679[_0x1217e0++];}!_0x5ce921['length']||_0x5ce921[_0x5ce921['length']-0x1]<_0x35c6bd?_0x5ce921['push'](_0x35c6bd,_0x46db41):_0x5ce921[_0x5ce921['length']-0x1]<_0x46db41&&(_0x5ce921[_0x5ce921['length']-0x1]=_0x46db41);}}function _0x44bec5(_0x4b9cae,_0x18a775,_0x44a945){var _0x500a44;let _0x18c258,_0x2b8fb6,_0x944883;return _0x44a945?(_0x18c258=_0x18a775['changes'],_0x2b8fb6=ChangeSet['empty'](_0x18a775['changes']['length']),_0x944883=_0x4b9cae['changes']['compose'](_0x18a775['changes'])):(_0x18c258=_0x18a775['changes']['map'](_0x4b9cae['changes']),_0x2b8fb6=_0x4b9cae['changes']['mapDesc'](_0x18a775['changes'],!0x0),_0x944883=_0x4b9cae['changes']['compose'](_0x18c258)),{'changes':_0x944883,'selection':_0x18a775['selection']?_0x18a775['selection']['map'](_0x2b8fb6):null===(_0x500a44=_0x4b9cae['selection'])||void 0x0===_0x500a44?void 0x0:_0x500a44['map'](_0x18c258),'effects':StateEffect['mapEffects'](_0x4b9cae['effects'],_0x18c258)['concat'](StateEffect['mapEffects'](_0x18a775['effects'],_0x2b8fb6)),'annotations':_0x4b9cae['annotations']['length']?_0x4b9cae['annotations']['concat'](_0x18a775['annotations']):_0x18a775['annotations'],'scrollIntoView':_0x4b9cae['scrollIntoView']||_0x18a775['scrollIntoView']};}function _0x57b506(_0x3fe849,_0x4a5a68,_0x282424){let _0x4ca127=_0x4a5a68['selection'],_0x3812cb=_0x2c22e0(_0x4a5a68['annotations']);return _0x4a5a68['userEvent']&&(_0x3812cb=_0x3812cb['concat'](Transaction['userEvent']['of'](_0x4a5a68['userEvent']))),{'changes':_0x4a5a68['changes']instanceof ChangeSet?_0x4a5a68['changes']:ChangeSet['of'](_0x4a5a68['changes']||[],_0x282424,_0x3fe849['facet'](_0x166e56)),'selection':_0x4ca127&&(_0x4ca127 instanceof EditorSelection?_0x4ca127:EditorSelection['single'](_0x4ca127['anchor'],_0x4ca127['head'])),'effects':_0x2c22e0(_0x4a5a68['effects']),'annotations':_0x3812cb,'scrollIntoView':!!_0x4a5a68['scrollIntoView']};}function _0x228ffa(_0x100699,_0x34d584,_0x1fdc49){let _0xbe5704=_0x57b506(_0x100699,_0x34d584['length']?_0x34d584[0x0]:{},_0x100699['doc']['length']);_0x34d584['length']&&!0x1===_0x34d584[0x0]['filter']&&(_0x1fdc49=!0x1);for(let _0x2d8e14=0x1;_0x2d8e14<_0x34d584['length'];_0x2d8e14++){!0x1===_0x34d584[_0x2d8e14]['filter']&&(_0x1fdc49=!0x1);let _0x26883c=!!_0x34d584[_0x2d8e14]['sequential'];_0xbe5704=_0x44bec5(_0xbe5704,_0x57b506(_0x100699,_0x34d584[_0x2d8e14],_0x26883c?_0xbe5704['changes']['newLength']:_0x100699['doc']['length']),_0x26883c);}let _0x1cf0ac=Transaction['create'](_0x100699,_0xbe5704['changes'],_0xbe5704['selection'],_0xbe5704['effects'],_0xbe5704['annotations'],_0xbe5704['scrollIntoView']);return function(_0x522285){let _0x47ef74=_0x522285['startState'],_0xcc5d0=_0x47ef74['facet'](_0x580fee),_0xd7cf24=_0x522285;for(let _0x2c3a07=_0xcc5d0['length']-0x1;_0x2c3a07>=0x0;_0x2c3a07--){let _0x1e38c1=_0xcc5d0[_0x2c3a07](_0x522285);_0x1e38c1&&Object['keys'](_0x1e38c1)['length']&&(_0xd7cf24=_0x44bec5(_0xd7cf24,_0x57b506(_0x47ef74,_0x1e38c1,_0x522285['changes']['newLength']),!0x0));}return _0xd7cf24==_0x522285?_0x522285:Transaction['create'](_0x47ef74,_0x522285['changes'],_0x522285['selection'],_0xd7cf24['effects'],_0xd7cf24['annotations'],_0xd7cf24['scrollIntoView']);}(_0x1fdc49?function(_0x55b3b2){let _0x16a502=_0x55b3b2['startState'],_0x288a0d=!0x0;for(let _0x5d6f93 of _0x16a502['facet'](_0x3385af)){let _0x35d1bc=_0x5d6f93(_0x55b3b2);if(!0x1===_0x35d1bc){_0x288a0d=!0x1;break;}Array['isArray'](_0x35d1bc)&&(_0x288a0d=!0x0===_0x288a0d?_0x35d1bc:_0x1f5604(_0x288a0d,_0x35d1bc));}if(!0x0!==_0x288a0d){let _0x1260dc,_0x3cce90;if(!0x1===_0x288a0d)_0x3cce90=_0x55b3b2['changes']['invertedDesc'],_0x1260dc=ChangeSet['empty'](_0x16a502['doc']['length']);else{let _0x1354ab=_0x55b3b2['changes']['filter'](_0x288a0d);_0x1260dc=_0x1354ab['changes'],_0x3cce90=_0x1354ab['filtered']['mapDesc'](_0x1354ab['changes'])['invertedDesc'];}_0x55b3b2=Transaction['create'](_0x16a502,_0x1260dc,_0x55b3b2['selection']&&_0x55b3b2['selection']['map'](_0x3cce90),StateEffect['mapEffects'](_0x55b3b2['effects'],_0x3cce90),_0x55b3b2['annotations'],_0x55b3b2['scrollIntoView']);}let _0xda5889=_0x16a502['facet'](_0x4faa74);for(let _0x264667=_0xda5889['length']-0x1;_0x264667>=0x0;_0x264667--){let _0x4f4f95=_0xda5889[_0x264667](_0x55b3b2);_0x55b3b2=_0x4f4f95 instanceof Transaction?_0x4f4f95:Array['isArray'](_0x4f4f95)&&0x1==_0x4f4f95['length']&&_0x4f4f95[0x0]instanceof Transaction?_0x4f4f95[0x0]:_0x228ffa(_0x16a502,_0x2c22e0(_0x4f4f95),!0x1);}return _0x55b3b2;}(_0x1cf0ac):_0x1cf0ac);}Transaction['time']=Annotation['define'](),Transaction['userEvent']=Annotation['define'](),Transaction['addToHistory']=Annotation['define'](),Transaction['remote']=Annotation['define']();const _0x595cf3=[];function _0x2c22e0(_0x3dc807){return null==_0x3dc807?_0x595cf3:Array['isArray'](_0x3dc807)?_0x3dc807:[_0x3dc807];}var _0x361379=function(_0x5aad22){return _0x5aad22[_0x5aad22['Word']=0x0]='Word',_0x5aad22[_0x5aad22['Space']=0x1]='Space',_0x5aad22[_0x5aad22['Other']=0x2]='Other',_0x5aad22;}(_0x361379||(_0x361379={}));const _0x1bb0ea=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let _0x4bea7b;try{_0x4bea7b=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0x345e02){}function _0x365b79(_0x2c23db){return _0x27811b=>{if(!/\S/['test'](_0x27811b))return _0x361379['Space'];if(function(_0x1a4d8f){if(_0x4bea7b)return _0x4bea7b['test'](_0x1a4d8f);for(let _0x56e849=0x0;_0x56e849<_0x1a4d8f['length'];_0x56e849++){let _0x28371d=_0x1a4d8f[_0x56e849];if(/\w/['test'](_0x28371d)||_0x28371d>'\u0080'&&(_0x28371d['toUpperCase']()!=_0x28371d['toLowerCase']()||_0x1bb0ea['test'](_0x28371d)))return!0x0;}return!0x1;}(_0x27811b))return _0x361379['Word'];for(let _0x416e13=0x0;_0x416e13<_0x2c23db['length'];_0x416e13++)if(_0x27811b['indexOf'](_0x2c23db[_0x416e13])>-0x1)return _0x361379['Word'];return _0x361379['Other'];};}class EditorState{constructor(_0x251b3c,_0x4a4736,_0x55eb3a,_0x51cafa,_0x218bd7,_0x2733d3){this['config']=_0x251b3c,this['doc']=_0x4a4736,this['selection']=_0x55eb3a,this['values']=_0x51cafa,this['status']=_0x251b3c['statusTemplate']['slice'](),this['computeSlot']=_0x218bd7,_0x2733d3&&(_0x2733d3['_state']=this);for(let _0x21658e=0x0;_0x21658e<this['config']['dynamicSlots']['length'];_0x21658e++)_0x539cb4(this,_0x21658e<<0x1);this['computeSlot']=null;}['field'](_0x3a2f5a,_0x4b1918=!0x0){let _0x155b95=this['config']['address'][_0x3a2f5a['id']];if(null!=_0x155b95)return _0x539cb4(this,_0x155b95),_0x59d2c5(this,_0x155b95);if(_0x4b1918)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}['update'](..._0x26d0da){return _0x228ffa(this,_0x26d0da,!0x0);}['applyTransaction'](_0x45d43b){let _0x48a06a,_0x3939bf=this['config'],{base:_0x5c5e3d,compartments:_0x570c87}=_0x3939bf;for(let _0xd6beb2 of _0x45d43b['effects'])_0xd6beb2['is'](Compartment['reconfigure'])?(_0x3939bf&&(_0x570c87=new Map(),_0x3939bf['compartments']['forEach']((_0x2d0c4b,_0x15db59)=>_0x570c87['set'](_0x15db59,_0x2d0c4b)),_0x3939bf=null),_0x570c87['set'](_0xd6beb2['value']['compartment'],_0xd6beb2['value']['extension'])):_0xd6beb2['is'](StateEffect['reconfigure'])?(_0x3939bf=null,_0x5c5e3d=_0xd6beb2['value']):_0xd6beb2['is'](StateEffect['appendConfig'])&&(_0x3939bf=null,_0x5c5e3d=_0x2c22e0(_0x5c5e3d)['concat'](_0xd6beb2['value']));if(_0x3939bf)_0x48a06a=_0x45d43b['startState']['values']['slice']();else _0x3939bf=Configuration['resolve'](_0x5c5e3d,_0x570c87,this),_0x48a06a=new EditorState(_0x3939bf,this['doc'],this['selection'],_0x3939bf['dynamicSlots']['map'](()=>null),(_0x4a6a76,_0x42b846)=>_0x42b846['reconfigure'](_0x4a6a76,this),null)['values'];let _0x3bfcdd=_0x45d43b['startState']['facet'](_0x28bee9)?_0x45d43b['newSelection']:_0x45d43b['newSelection']['asSingle']();new EditorState(_0x3939bf,_0x45d43b['newDoc'],_0x3bfcdd,_0x48a06a,(_0x958b3e,_0x25e2ab)=>_0x25e2ab['update'](_0x958b3e,_0x45d43b),_0x45d43b);}['replaceSelection'](_0x2972b5){return'string'==typeof _0x2972b5&&(_0x2972b5=this['toText'](_0x2972b5)),this['changeByRange'](_0x358d9c=>({'changes':{'from':_0x358d9c['from'],'to':_0x358d9c['to'],'insert':_0x2972b5},'range':EditorSelection['cursor'](_0x358d9c['from']+_0x2972b5['length'])}));}['changeByRange'](_0x20501a){let _0x55987d=this['selection'],_0x41c006=_0x20501a(_0x55987d['ranges'][0x0]),_0x3963d8=this['changes'](_0x41c006['changes']),_0x1ceb30=[_0x41c006['range']],_0x1ffb69=_0x2c22e0(_0x41c006['effects']);for(let _0x3f9e4d=0x1;_0x3f9e4d<_0x55987d['ranges']['length'];_0x3f9e4d++){let _0x377d40=_0x20501a(_0x55987d['ranges'][_0x3f9e4d]),_0x22e55a=this['changes'](_0x377d40['changes']),_0x123656=_0x22e55a['map'](_0x3963d8);for(let _0x50f9bb=0x0;_0x50f9bb<_0x3f9e4d;_0x50f9bb++)_0x1ceb30[_0x50f9bb]=_0x1ceb30[_0x50f9bb]['map'](_0x123656);let _0x5d94f0=_0x3963d8['mapDesc'](_0x22e55a,!0x0);_0x1ceb30['push'](_0x377d40['range']['map'](_0x5d94f0)),_0x3963d8=_0x3963d8['compose'](_0x123656),_0x1ffb69=StateEffect['mapEffects'](_0x1ffb69,_0x123656)['concat'](StateEffect['mapEffects'](_0x2c22e0(_0x377d40['effects']),_0x5d94f0));}return{'changes':_0x3963d8,'selection':EditorSelection['create'](_0x1ceb30,_0x55987d['mainIndex']),'effects':_0x1ffb69};}['changes'](_0x235b94=[]){return _0x235b94 instanceof ChangeSet?_0x235b94:ChangeSet['of'](_0x235b94,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}['toText'](_0x2eb2b8){return _0x5681fe['of'](_0x2eb2b8['split'](this['facet'](EditorState['lineSeparator'])||_0x4ef96e));}['sliceDoc'](_0x4d8a34=0x0,_0x1a4cf7=this['doc']['length']){return this['doc']['sliceString'](_0x4d8a34,_0x1a4cf7,this['lineBreak']);}['facet'](_0x3c553f){let _0x196a9=this['config']['address'][_0x3c553f['id']];return null==_0x196a9?_0x3c553f['default']:(_0x539cb4(this,_0x196a9),_0x59d2c5(this,_0x196a9));}['toJSON'](_0x40085b){let _0x2a1cd3={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0x40085b)for(let _0x5544b6 in _0x40085b){let _0x23163a=_0x40085b[_0x5544b6];_0x23163a instanceof StateField&&null!=this['config']['address'][_0x23163a['id']]&&(_0x2a1cd3[_0x5544b6]=_0x23163a['spec']['toJSON'](this['field'](_0x40085b[_0x5544b6]),this));}return _0x2a1cd3;}static['fromJSON'](_0x305457,_0x904ff0={},_0x90b3fa){if(!_0x305457||'string'!=typeof _0x305457['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x12216d=[];if(_0x90b3fa){for(let _0x30852f in _0x90b3fa)if(Object['prototype']['hasOwnProperty']['call'](_0x305457,_0x30852f)){let _0xeb82b9=_0x90b3fa[_0x30852f],_0x21261b=_0x305457[_0x30852f];_0x12216d['push'](_0xeb82b9['init'](_0x1bd5d8=>_0xeb82b9['spec']['fromJSON'](_0x21261b,_0x1bd5d8)));}}return EditorState['create']({'doc':_0x305457['doc'],'selection':EditorSelection['fromJSON'](_0x305457['selection']),'extensions':_0x904ff0['extensions']?_0x12216d['concat']([_0x904ff0['extensions']]):_0x12216d});}static['create'](_0x23fc6b={}){let _0x131e08=Configuration['resolve'](_0x23fc6b['extensions']||[],new Map()),_0x1aead7=_0x23fc6b['doc']instanceof _0x5681fe?_0x23fc6b['doc']:_0x5681fe['of']((_0x23fc6b['doc']||'')['split'](_0x131e08['staticFacet'](EditorState['lineSeparator'])||_0x4ef96e)),_0x11306f=_0x23fc6b['selection']?_0x23fc6b['selection']instanceof EditorSelection?_0x23fc6b['selection']:EditorSelection['single'](_0x23fc6b['selection']['anchor'],_0x23fc6b['selection']['head']):EditorSelection['single'](0x0);return _0x3a6cf2(_0x11306f,_0x1aead7['length']),_0x131e08['staticFacet'](_0x28bee9)||(_0x11306f=_0x11306f['asSingle']()),new EditorState(_0x131e08,_0x1aead7,_0x11306f,_0x131e08['dynamicSlots']['map'](()=>null),(_0x410f1f,_0x49f838)=>_0x49f838['create'](_0x410f1f),null);}get['tabSize'](){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](_0x12f0d4);}['phrase'](_0x4c6d9f,..._0x1df1db){for(let _0x4f431f of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x4f431f,_0x4c6d9f)){_0x4c6d9f=_0x4f431f[_0x4c6d9f];break;}return _0x1df1db['length']&&(_0x4c6d9f=_0x4c6d9f['replace'](/\$(\$|\d*)/g,(_0x22c70c,_0x2a0463)=>{if('$'==_0x2a0463)return'$';let _0x1ede50=+(_0x2a0463||0x1);return!_0x1ede50||_0x1ede50>_0x1df1db['length']?_0x22c70c:_0x1df1db[_0x1ede50-0x1];})),_0x4c6d9f;}['languageDataAt'](_0x44c245,_0x51382b,_0x4eccbd=-0x1){let _0x17110a=[];for(let _0x365f77 of this['facet'](_0x3a4fe2))for(let _0x3e90ce of _0x365f77(this,_0x51382b,_0x4eccbd))Object['prototype']['hasOwnProperty']['call'](_0x3e90ce,_0x44c245)&&_0x17110a['push'](_0x3e90ce[_0x44c245]);return _0x17110a;}['charCategorizer'](_0x1d586d){return _0x365b79(this['languageDataAt']('wordChars',_0x1d586d)['join'](''));}['wordAt'](_0xe4cb99){let {text:_0x57b44a,from:_0x2ac07c,length:_0x195ad6}=this['doc']['lineAt'](_0xe4cb99),_0x4add89=this['charCategorizer'](_0xe4cb99),_0x10ac75=_0xe4cb99-_0x2ac07c,_0x1753be=_0xe4cb99-_0x2ac07c;for(;_0x10ac75>0x0;){let _0x3e67e3=_0x5da76b(_0x57b44a,_0x10ac75,!0x1);if(_0x4add89(_0x57b44a['slice'](_0x3e67e3,_0x10ac75))!=_0x361379['Word'])break;_0x10ac75=_0x3e67e3;}for(;_0x1753be<_0x195ad6;){let _0x1145a0=_0x5da76b(_0x57b44a,_0x1753be);if(_0x4add89(_0x57b44a['slice'](_0x1753be,_0x1145a0))!=_0x361379['Word'])break;_0x1753be=_0x1145a0;}return _0x10ac75==_0x1753be?null:EditorSelection['range'](_0x10ac75+_0x2ac07c,_0x1753be+_0x2ac07c);}}function _0x4fcf55(_0x4c4ef1,_0x1c8dcf,_0x302a17={}){let _0x550850={};for(let _0x177499 of _0x4c4ef1)for(let _0x976334 of Object['keys'](_0x177499)){let _0x596490=_0x177499[_0x976334],_0x56cc99=_0x550850[_0x976334];if(void 0x0===_0x56cc99)_0x550850[_0x976334]=_0x596490;else{if(_0x56cc99===_0x596490||void 0x0===_0x596490);else{if(!Object['hasOwnProperty']['call'](_0x302a17,_0x976334))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0x976334);_0x550850[_0x976334]=_0x302a17[_0x976334](_0x56cc99,_0x596490);}}}for(let _0x475db7 in _0x1c8dcf)void 0x0===_0x550850[_0x475db7]&&(_0x550850[_0x475db7]=_0x1c8dcf[_0x475db7]);return _0x550850;}EditorState['allowMultipleSelections']=_0x28bee9,EditorState['tabSize']=Facet['define']({'combine':_0x2d0ed7=>_0x2d0ed7['length']?_0x2d0ed7[0x0]:0x4}),EditorState['lineSeparator']=_0x166e56,EditorState['readOnly']=_0x12f0d4,EditorState['phrases']=Facet['define']({'compare'(_0x35b531,_0x1fb96f){let _0x4f3a59=Object['keys'](_0x35b531),_0x34e6ad=Object['keys'](_0x1fb96f);return _0x4f3a59['length']==_0x34e6ad['length']&&_0x4f3a59['every'](_0x43efc1=>_0x35b531[_0x43efc1]==_0x1fb96f[_0x43efc1]);}}),EditorState['languageData']=_0x3a4fe2,EditorState['changeFilter']=_0x3385af,EditorState['transactionFilter']=_0x4faa74,EditorState['transactionExtender']=_0x580fee,Compartment['reconfigure']=StateEffect['define']();class _0x1b2e2e{['eq'](_0x26d729){return this==_0x26d729;}['range'](_0x4a8c38,_0x1e5103=_0x4a8c38){return _0x3214ac['create'](_0x4a8c38,_0x1e5103,this);}}_0x1b2e2e['prototype']['startSide']=_0x1b2e2e['prototype']['endSide']=0x0,_0x1b2e2e['prototype']['point']=!0x1,_0x1b2e2e['prototype']['mapMode']=_0x25b43e['TrackDel'];let _0x3214ac=class _0x420d6c{constructor(_0x1d3f3e,_0x3cd372,_0x4a42cc){this['from']=_0x1d3f3e,this['to']=_0x3cd372,this['value']=_0x4a42cc;}static['create'](_0x452a80,_0x42e290,_0x57bd03){return new _0x420d6c(_0x452a80,_0x42e290,_0x57bd03);}};function _0x3ce38d(_0x376b92,_0x1b5ba0){return _0x376b92['from']-_0x1b5ba0['from']||_0x376b92['value']['startSide']-_0x1b5ba0['value']['startSide'];}class _0x558fd1{constructor(_0x392a45,_0x43451f,_0x433a32,_0x55bfa5){this['from']=_0x392a45,this['to']=_0x43451f,this['value']=_0x433a32,this['maxPoint']=_0x55bfa5;}get['length'](){return this['to'][this['to']['length']-0x1];}['findIndex'](_0x28b77d,_0x58c73b,_0xd55bb6,_0x3d2b0f=0x0){let _0x91aee4=_0xd55bb6?this['to']:this['from'];for(let _0x2b0a7d=_0x3d2b0f,_0x9a368a=_0x91aee4['length'];;){if(_0x2b0a7d==_0x9a368a)return _0x2b0a7d;let _0xcfb4ee=_0x2b0a7d+_0x9a368a>>0x1,_0x34be2c=_0x91aee4[_0xcfb4ee]-_0x28b77d||(_0xd55bb6?this['value'][_0xcfb4ee]['endSide']:this['value'][_0xcfb4ee]['startSide'])-_0x58c73b;if(_0xcfb4ee==_0x2b0a7d)return _0x34be2c>=0x0?_0x2b0a7d:_0x9a368a;_0x34be2c>=0x0?_0x9a368a=_0xcfb4ee:_0x2b0a7d=_0xcfb4ee+0x1;}}['between'](_0x35e9c0,_0x4011be,_0x7ef841,_0x3bf66e){for(let _0x4a9da6=this['findIndex'](_0x4011be,-0x3b9aca00,!0x0),_0x7a7e78=this['findIndex'](_0x7ef841,0x3b9aca00,!0x1,_0x4a9da6);_0x4a9da6<_0x7a7e78;_0x4a9da6++)if(!0x1===_0x3bf66e(this['from'][_0x4a9da6]+_0x35e9c0,this['to'][_0x4a9da6]+_0x35e9c0,this['value'][_0x4a9da6]))return!0x1;}['map'](_0x6fe789,_0x4f6492){let _0x2ef868=[],_0x1f5b52=[],_0x4bbf1b=[],_0x4ebd3d=-0x1,_0x271617=-0x1;for(let _0x16398e=0x0;_0x16398e<this['value']['length'];_0x16398e++){let _0x3f2698,_0x7be87d,_0x455a78=this['value'][_0x16398e],_0x481bf1=this['from'][_0x16398e]+_0x6fe789,_0x292a8f=this['to'][_0x16398e]+_0x6fe789;if(_0x481bf1==_0x292a8f){let _0x14625f=_0x4f6492['mapPos'](_0x481bf1,_0x455a78['startSide'],_0x455a78['mapMode']);if(null==_0x14625f)continue;if(_0x3f2698=_0x7be87d=_0x14625f,_0x455a78['startSide']!=_0x455a78['endSide']&&(_0x7be87d=_0x4f6492['mapPos'](_0x481bf1,_0x455a78['endSide']),_0x7be87d<_0x3f2698))continue;}else{if(_0x3f2698=_0x4f6492['mapPos'](_0x481bf1,_0x455a78['startSide']),_0x7be87d=_0x4f6492['mapPos'](_0x292a8f,_0x455a78['endSide']),_0x3f2698>_0x7be87d||_0x3f2698==_0x7be87d&&_0x455a78['startSide']>0x0&&_0x455a78['endSide']<=0x0)continue;}(_0x7be87d-_0x3f2698||_0x455a78['endSide']-_0x455a78['startSide'])<0x0||(_0x4ebd3d<0x0&&(_0x4ebd3d=_0x3f2698),_0x455a78['point']&&(_0x271617=Math['max'](_0x271617,_0x7be87d-_0x3f2698)),_0x2ef868['push'](_0x455a78),_0x1f5b52['push'](_0x3f2698-_0x4ebd3d),_0x4bbf1b['push'](_0x7be87d-_0x4ebd3d));}return{'mapped':_0x2ef868['length']?new _0x558fd1(_0x1f5b52,_0x4bbf1b,_0x2ef868,_0x271617):null,'pos':_0x4ebd3d};}}class RangeSet{constructor(_0x2dcba4,_0x1ce472,_0x399dc0,_0x40a156){this['chunkPos']=_0x2dcba4,this['chunk']=_0x1ce472,this['nextLayer']=_0x399dc0,this['maxPoint']=_0x40a156;}static['create'](_0x356c38,_0x40b154,_0x3939e2,_0x591df1){return new RangeSet(_0x356c38,_0x40b154,_0x3939e2,_0x591df1);}get['length'](){let _0x4aa454=this['chunk']['length']-0x1;return _0x4aa454<0x0?0x0:Math['max'](this['chunkEnd'](_0x4aa454),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x3ba6f6=this['nextLayer']['size'];for(let _0x492da2 of this['chunk'])_0x3ba6f6+=_0x492da2['value']['length'];return _0x3ba6f6;}['chunkEnd'](_0x415af6){return this['chunkPos'][_0x415af6]+this['chunk'][_0x415af6]['length'];}['update'](_0x20a628){let {add:_0xf763f=[],sort:_0x4e06c3=!0x1,filterFrom:_0x31032b=0x0,filterTo:_0x5cf6b4=this['length']}=_0x20a628,_0x481cae=_0x20a628['filter'];if(0x0==_0xf763f['length']&&!_0x481cae)return this;if(_0x4e06c3&&(_0xf763f=_0xf763f['slice']()['sort'](_0x3ce38d)),this['isEmpty'])return _0xf763f['length']?RangeSet['of'](_0xf763f):this;let _0xb56408=new _0x308b5a(this,null,-0x1)['goto'](0x0),_0xd92af4=0x0,_0x17ef3f=[],_0x2e0401=new RangeSetBuilder();for(;_0xb56408['value']||_0xd92af4<_0xf763f['length'];)if(_0xd92af4<_0xf763f['length']&&(_0xb56408['from']-_0xf763f[_0xd92af4]['from']||_0xb56408['startSide']-_0xf763f[_0xd92af4]['value']['startSide'])>=0x0){let _0x219a56=_0xf763f[_0xd92af4++];_0x2e0401['addInner'](_0x219a56['from'],_0x219a56['to'],_0x219a56['value'])||_0x17ef3f['push'](_0x219a56);}else 0x1==_0xb56408['rangeIndex']&&_0xb56408['chunkIndex']<this['chunk']['length']&&(_0xd92af4==_0xf763f['length']||this['chunkEnd'](_0xb56408['chunkIndex'])<_0xf763f[_0xd92af4]['from'])&&(!_0x481cae||_0x31032b>this['chunkEnd'](_0xb56408['chunkIndex'])||_0x5cf6b4<this['chunkPos'][_0xb56408['chunkIndex']])&&_0x2e0401['addChunk'](this['chunkPos'][_0xb56408['chunkIndex']],this['chunk'][_0xb56408['chunkIndex']])?_0xb56408['nextChunk']():((!_0x481cae||_0x31032b>_0xb56408['to']||_0x5cf6b4<_0xb56408['from']||_0x481cae(_0xb56408['from'],_0xb56408['to'],_0xb56408['value']))&&(_0x2e0401['addInner'](_0xb56408['from'],_0xb56408['to'],_0xb56408['value'])||_0x17ef3f['push'](_0x3214ac['create'](_0xb56408['from'],_0xb56408['to'],_0xb56408['value']))),_0xb56408['next']());return _0x2e0401['finishInner'](this['nextLayer']['isEmpty']&&!_0x17ef3f['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0x17ef3f,'filter':_0x481cae,'filterFrom':_0x31032b,'filterTo':_0x5cf6b4}));}['map'](_0x3bcc7f){if(_0x3bcc7f['empty']||this['isEmpty'])return this;let _0x58a27e=[],_0x36af5f=[],_0x2013fa=-0x1;for(let _0x92adc1=0x0;_0x92adc1<this['chunk']['length'];_0x92adc1++){let _0x17a95d=this['chunkPos'][_0x92adc1],_0x5507e6=this['chunk'][_0x92adc1],_0x355f6b=_0x3bcc7f['touchesRange'](_0x17a95d,_0x17a95d+_0x5507e6['length']);if(!0x1===_0x355f6b)_0x2013fa=Math['max'](_0x2013fa,_0x5507e6['maxPoint']),_0x58a27e['push'](_0x5507e6),_0x36af5f['push'](_0x3bcc7f['mapPos'](_0x17a95d));else{if(!0x0===_0x355f6b){let {mapped:_0x43e1a7,pos:_0x1ebb2f}=_0x5507e6['map'](_0x17a95d,_0x3bcc7f);_0x43e1a7&&(_0x2013fa=Math['max'](_0x2013fa,_0x43e1a7['maxPoint']),_0x58a27e['push'](_0x43e1a7),_0x36af5f['push'](_0x1ebb2f));}}}let _0x3a0cc5=this['nextLayer']['map'](_0x3bcc7f);return 0x0==_0x58a27e['length']?_0x3a0cc5:new RangeSet(_0x36af5f,_0x58a27e,_0x3a0cc5||RangeSet['empty'],_0x2013fa);}['between'](_0x26765e,_0x2aaae6,_0x427475){if(!this['isEmpty']){for(let _0x4cf992=0x0;_0x4cf992<this['chunk']['length'];_0x4cf992++){let _0x4cc9bf=this['chunkPos'][_0x4cf992],_0x10a55d=this['chunk'][_0x4cf992];if(_0x2aaae6>=_0x4cc9bf&&_0x26765e<=_0x4cc9bf+_0x10a55d['length']&&!0x1===_0x10a55d['between'](_0x4cc9bf,_0x26765e-_0x4cc9bf,_0x2aaae6-_0x4cc9bf,_0x427475))return;}this['nextLayer']['between'](_0x26765e,_0x2aaae6,_0x427475);}}['iter'](_0x1ec847=0x0){return _0x35d75e['from']([this])['goto'](_0x1ec847);}get['isEmpty'](){return this['nextLayer']==this;}static['iter'](_0x15caf6,_0x40601c=0x0){return _0x35d75e['from'](_0x15caf6)['goto'](_0x40601c);}static['compare'](_0x2b084c,_0x48d391,_0x51d89d,_0x3d0012,_0x492b63=-0x1){let _0x50719d=_0x2b084c['filter'](_0x2b78d2=>_0x2b78d2['maxPoint']>0x0||!_0x2b78d2['isEmpty']&&_0x2b78d2['maxPoint']>=_0x492b63),_0x4909c7=_0x48d391['filter'](_0x30c593=>_0x30c593['maxPoint']>0x0||!_0x30c593['isEmpty']&&_0x30c593['maxPoint']>=_0x492b63),_0x2a535f=_0x3366ea(_0x50719d,_0x4909c7,_0x51d89d),_0x37a9d4=new _0xf008ff(_0x50719d,_0x2a535f,_0x492b63),_0x35db10=new _0xf008ff(_0x4909c7,_0x2a535f,_0x492b63);_0x51d89d['iterGaps']((_0x30414f,_0x302aed,_0x1d3685)=>_0x53b969(_0x37a9d4,_0x30414f,_0x35db10,_0x302aed,_0x1d3685,_0x3d0012)),_0x51d89d['empty']&&0x0==_0x51d89d['length']&&_0x53b969(_0x37a9d4,0x0,_0x35db10,0x0,0x0,_0x3d0012);}static['eq'](_0x234e6c,_0x171222,_0x285f98=0x0,_0x40372e){null==_0x40372e&&(_0x40372e=0x3b9ac9ff);let _0x1c2e6a=_0x234e6c['filter'](_0x2906db=>!_0x2906db['isEmpty']&&_0x171222['indexOf'](_0x2906db)<0x0),_0x58fd44=_0x171222['filter'](_0x4e0000=>!_0x4e0000['isEmpty']&&_0x234e6c['indexOf'](_0x4e0000)<0x0);if(_0x1c2e6a['length']!=_0x58fd44['length'])return!0x1;if(!_0x1c2e6a['length'])return!0x0;let _0x11a435=_0x3366ea(_0x1c2e6a,_0x58fd44),_0xa92458=new _0xf008ff(_0x1c2e6a,_0x11a435,0x0)['goto'](_0x285f98),_0x32e5d0=new _0xf008ff(_0x58fd44,_0x11a435,0x0)['goto'](_0x285f98);for(;;){if(_0xa92458['to']!=_0x32e5d0['to']||!_0x4f1add(_0xa92458['active'],_0x32e5d0['active'])||_0xa92458['point']&&(!_0x32e5d0['point']||!_0xa92458['point']['eq'](_0x32e5d0['point'])))return!0x1;if(_0xa92458['to']>_0x40372e)return!0x0;_0xa92458['next'](),_0x32e5d0['next']();}}static['spans'](_0x568ddc,_0x415967,_0x39fa88,_0x10063d,_0x2b7f88=-0x1){let _0x4e34d4=new _0xf008ff(_0x568ddc,null,_0x2b7f88)['goto'](_0x415967),_0x3da31f=_0x415967,_0x501d48=_0x4e34d4['openStart'];for(;;){let _0x19c024=Math['min'](_0x4e34d4['to'],_0x39fa88);if(_0x4e34d4['point']){let _0x360e45=_0x4e34d4['activeForPoint'](_0x4e34d4['to']),_0x582062=_0x4e34d4['pointFrom']<_0x415967?_0x360e45['length']+0x1:_0x4e34d4['point']['startSide']<0x0?_0x360e45['length']:Math['min'](_0x360e45['length'],_0x501d48);_0x10063d['point'](_0x3da31f,_0x19c024,_0x4e34d4['point'],_0x360e45,_0x582062,_0x4e34d4['pointRank']),_0x501d48=Math['min'](_0x4e34d4['openEnd'](_0x19c024),_0x360e45['length']);}else _0x19c024>_0x3da31f&&(_0x10063d['span'](_0x3da31f,_0x19c024,_0x4e34d4['active'],_0x501d48),_0x501d48=_0x4e34d4['openEnd'](_0x19c024));if(_0x4e34d4['to']>_0x39fa88)return _0x501d48+(_0x4e34d4['point']&&_0x4e34d4['to']>_0x39fa88?0x1:0x0);_0x3da31f=_0x4e34d4['to'],_0x4e34d4['next']();}}static['of'](_0x1546df,_0x3f612b=!0x1){let _0x13f601=new RangeSetBuilder();for(let _0x188fc5 of _0x1546df instanceof _0x3214ac?[_0x1546df]:_0x3f612b?function(_0xd2f9c9){if(_0xd2f9c9['length']>0x1)for(let _0xf1375a=_0xd2f9c9[0x0],_0x3011f5=0x1;_0x3011f5<_0xd2f9c9['length'];_0x3011f5++){let _0x5eb5e1=_0xd2f9c9[_0x3011f5];if(_0x3ce38d(_0xf1375a,_0x5eb5e1)>0x0)return _0xd2f9c9['slice']()['sort'](_0x3ce38d);_0xf1375a=_0x5eb5e1;}return _0xd2f9c9;}(_0x1546df):_0x1546df)_0x13f601['add'](_0x188fc5['from'],_0x188fc5['to'],_0x188fc5['value']);return _0x13f601['finish']();}static['join'](_0x5135ea){if(!_0x5135ea['length'])return RangeSet['empty'];let _0x44c46e=_0x5135ea[_0x5135ea['length']-0x1];for(let _0x1a90f9=_0x5135ea['length']-0x2;_0x1a90f9>=0x0;_0x1a90f9--)for(let _0x2c7160=_0x5135ea[_0x1a90f9];_0x2c7160!=RangeSet['empty'];_0x2c7160=_0x2c7160['nextLayer'])_0x44c46e=new RangeSet(_0x2c7160['chunkPos'],_0x2c7160['chunk'],_0x44c46e,Math['max'](_0x2c7160['maxPoint'],_0x44c46e['maxPoint']));return _0x44c46e;}}RangeSet['empty']=new RangeSet([],[],null,-0x1),RangeSet['empty']['nextLayer']=RangeSet['empty'];class RangeSetBuilder{['finishChunk'](_0x4684d2){this['chunks']['push'](new _0x558fd1(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,_0x4684d2&&(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'](_0x45b739,_0x4f2366,_0x523199){this['addInner'](_0x45b739,_0x4f2366,_0x523199)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0x45b739,_0x4f2366,_0x523199);}['addInner'](_0x44c4f6,_0x36e828,_0x3beb2e){let _0x540429=_0x44c4f6-this['lastTo']||_0x3beb2e['startSide']-this['last']['endSide'];if(_0x540429<=0x0&&(_0x44c4f6-this['lastFrom']||_0x3beb2e['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x540429<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0x44c4f6),this['from']['push'](_0x44c4f6-this['chunkStart']),this['to']['push'](_0x36e828-this['chunkStart']),this['last']=_0x3beb2e,this['lastFrom']=_0x44c4f6,this['lastTo']=_0x36e828,this['value']['push'](_0x3beb2e),_0x3beb2e['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x36e828-_0x44c4f6)),!0x0);}['addChunk'](_0x388e39,_0x2f2c9d){if((_0x388e39-this['lastTo']||_0x2f2c9d['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0x2f2c9d['maxPoint']),this['chunks']['push'](_0x2f2c9d),this['chunkPos']['push'](_0x388e39);let _0x4a78d1=_0x2f2c9d['value']['length']-0x1;return this['last']=_0x2f2c9d['value'][_0x4a78d1],this['lastFrom']=_0x2f2c9d['from'][_0x4a78d1]+_0x388e39,this['lastTo']=_0x2f2c9d['to'][_0x4a78d1]+_0x388e39,!0x0;}['finish'](){return this['finishInner'](RangeSet['empty']);}['finishInner'](_0x5cc93d){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0x5cc93d;let _0x3a8e27=RangeSet['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0x5cc93d):_0x5cc93d,this['setMaxPoint']);return this['from']=null,_0x3a8e27;}}function _0x3366ea(_0x561f69,_0x207404,_0xbe1195){let _0x2190dc=new Map();for(let _0x1c67cc of _0x561f69)for(let _0x50e8f8=0x0;_0x50e8f8<_0x1c67cc['chunk']['length'];_0x50e8f8++)_0x1c67cc['chunk'][_0x50e8f8]['maxPoint']<=0x0&&_0x2190dc['set'](_0x1c67cc['chunk'][_0x50e8f8],_0x1c67cc['chunkPos'][_0x50e8f8]);let _0x2ea9b6=new Set();for(let _0x3092cc of _0x207404)for(let _0x1f3d4c=0x0;_0x1f3d4c<_0x3092cc['chunk']['length'];_0x1f3d4c++){let _0x3d27b7=_0x2190dc['get'](_0x3092cc['chunk'][_0x1f3d4c]);null==_0x3d27b7||(_0xbe1195?_0xbe1195['mapPos'](_0x3d27b7):_0x3d27b7)!=_0x3092cc['chunkPos'][_0x1f3d4c]||(null==_0xbe1195?void 0x0:_0xbe1195['touchesRange'](_0x3d27b7,_0x3d27b7+_0x3092cc['chunk'][_0x1f3d4c]['length']))||_0x2ea9b6['add'](_0x3092cc['chunk'][_0x1f3d4c]);}return _0x2ea9b6;}class _0x308b5a{constructor(_0x1926bd,_0x36118b,_0x477344,_0x3fe0c6=0x0){this['layer']=_0x1926bd,this['skip']=_0x36118b,this['minPoint']=_0x477344,this['rank']=_0x3fe0c6;}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}['goto'](_0x46c18f,_0x16605a=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x46c18f,_0x16605a,!0x1),this;}['gotoInner'](_0x26331b,_0x5160d8,_0x3c9f20){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x2f5be0=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x2f5be0)||this['layer']['chunkEnd'](this['chunkIndex'])<_0x26331b||_0x2f5be0['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x3c9f20=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0x3f34bf=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0x26331b-this['layer']['chunkPos'][this['chunkIndex']],_0x5160d8,!0x0);(!_0x3c9f20||this['rangeIndex']<_0x3f34bf)&&this['setRangeIndex'](_0x3f34bf);}this['next']();}['forward'](_0x59a749,_0x162119){(this['to']-_0x59a749||this['endSide']-_0x162119)<0x0&&this['gotoInner'](_0x59a749,_0x162119,!0x0);}['next'](){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0xaed8e8=this['layer']['chunkPos'][this['chunkIndex']],_0x2398ed=this['layer']['chunk'][this['chunkIndex']],_0x4f9cac=_0xaed8e8+_0x2398ed['from'][this['rangeIndex']];if(this['from']=_0x4f9cac,this['to']=_0xaed8e8+_0x2398ed['to'][this['rangeIndex']],this['value']=_0x2398ed['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}['setRangeIndex'](_0x32648f){if(_0x32648f==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']=_0x32648f;}['nextChunk'](){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0x40a092){return this['from']-_0x40a092['from']||this['startSide']-_0x40a092['startSide']||this['rank']-_0x40a092['rank']||this['to']-_0x40a092['to']||this['endSide']-_0x40a092['endSide'];}}class _0x35d75e{constructor(_0x40ce39){this['heap']=_0x40ce39;}static['from'](_0x1669c2,_0x417211=null,_0x1c60e0=-0x1){let _0x375248=[];for(let _0xdbe373=0x0;_0xdbe373<_0x1669c2['length'];_0xdbe373++)for(let _0x17dd2a=_0x1669c2[_0xdbe373];!_0x17dd2a['isEmpty'];_0x17dd2a=_0x17dd2a['nextLayer'])_0x17dd2a['maxPoint']>=_0x1c60e0&&_0x375248['push'](new _0x308b5a(_0x17dd2a,_0x417211,_0x1c60e0,_0xdbe373));return 0x1==_0x375248['length']?_0x375248[0x0]:new _0x35d75e(_0x375248);}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}['goto'](_0x52909f,_0x418b29=-0x3b9aca00){for(let _0x537660 of this['heap'])_0x537660['goto'](_0x52909f,_0x418b29);for(let _0x999944=this['heap']['length']>>0x1;_0x999944>=0x0;_0x999944--)_0x5e18a0(this['heap'],_0x999944);return this['next'](),this;}['forward'](_0x6653b0,_0x13a43e){for(let _0x139317 of this['heap'])_0x139317['forward'](_0x6653b0,_0x13a43e);for(let _0x27f35d=this['heap']['length']>>0x1;_0x27f35d>=0x0;_0x27f35d--)_0x5e18a0(this['heap'],_0x27f35d);(this['to']-_0x6653b0||this['value']['endSide']-_0x13a43e)<0x0&&this['next']();}['next'](){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0xc614ff=this['heap'][0x0];this['from']=_0xc614ff['from'],this['to']=_0xc614ff['to'],this['value']=_0xc614ff['value'],this['rank']=_0xc614ff['rank'],_0xc614ff['value']&&_0xc614ff['next'](),_0x5e18a0(this['heap'],0x0);}}}function _0x5e18a0(_0xdbe188,_0xb204ff){for(let _0x349858=_0xdbe188[_0xb204ff];;){let _0x1be167=0x1+(_0xb204ff<<0x1);if(_0x1be167>=_0xdbe188['length'])break;let _0x56dd15=_0xdbe188[_0x1be167];if(_0x1be167+0x1<_0xdbe188['length']&&_0x56dd15['compare'](_0xdbe188[_0x1be167+0x1])>=0x0&&(_0x56dd15=_0xdbe188[_0x1be167+0x1],_0x1be167++),_0x349858['compare'](_0x56dd15)<0x0)break;_0xdbe188[_0x1be167]=_0x349858,_0xdbe188[_0xb204ff]=_0x56dd15,_0xb204ff=_0x1be167;}}class _0xf008ff{constructor(_0xbcbbdc,_0x331a4e,_0x42f268){this['minPoint']=_0x42f268,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']=_0x35d75e['from'](_0xbcbbdc,_0x331a4e,_0x42f268);}['goto'](_0x2638b5,_0xa0108b=-0x3b9aca00){return this['cursor']['goto'](_0x2638b5,_0xa0108b),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0x2638b5,this['endSide']=_0xa0108b,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x33f781,_0x417dcb){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x33f781||this['active'][this['minActive']]['endSide']-_0x417dcb)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x33f781,_0x417dcb);}['removeActive'](_0x391dbb){_0x488537(this['active'],_0x391dbb),_0x488537(this['activeTo'],_0x391dbb),_0x488537(this['activeRank'],_0x391dbb),this['minActive']=_0x561130(this['active'],this['activeTo']);}['addActive'](_0xb64164){let _0x3c6403=0x0,{value:_0x2e0cd8,to:_0x57b465,rank:_0x26963b}=this['cursor'];for(;_0x3c6403<this['activeRank']['length']&&(_0x26963b-this['activeRank'][_0x3c6403]||_0x57b465-this['activeTo'][_0x3c6403])>0x0;)_0x3c6403++;_0x3cbc17(this['active'],_0x3c6403,_0x2e0cd8),_0x3cbc17(this['activeTo'],_0x3c6403,_0x57b465),_0x3cbc17(this['activeRank'],_0x3c6403,_0x26963b),_0xb64164&&_0x3cbc17(_0xb64164,_0x3c6403,this['cursor']['from']),this['minActive']=_0x561130(this['active'],this['activeTo']);}['next'](){let _0x35fb8a=this['to'],_0x3e54b9=this['point'];this['point']=null;let _0x21367b=this['openStart']<0x0?[]:null;for(;;){let _0x4241ca=this['minActive'];if(_0x4241ca>-0x1&&(this['activeTo'][_0x4241ca]-this['cursor']['from']||this['active'][_0x4241ca]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x4241ca]>_0x35fb8a){this['to']=this['activeTo'][_0x4241ca],this['endSide']=this['active'][_0x4241ca]['endSide'];break;}this['removeActive'](_0x4241ca),_0x21367b&&_0x488537(_0x21367b,_0x4241ca);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0x35fb8a){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0x1be27c=this['cursor']['value'];if(_0x1be27c['point']){if(!(_0x3e54b9&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0x1be27c,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0x1be27c['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0x21367b),this['cursor']['next']();}}}if(_0x21367b){this['openStart']=0x0;for(let _0x2cb66d=_0x21367b['length']-0x1;_0x2cb66d>=0x0&&_0x21367b[_0x2cb66d]<_0x35fb8a;_0x2cb66d--)this['openStart']++;}}['activeForPoint'](_0x46b497){if(!this['active']['length'])return this['active'];let _0x4e57f4=[];for(let _0x55db6a=this['active']['length']-0x1;_0x55db6a>=0x0&&!(this['activeRank'][_0x55db6a]<this['pointRank']);_0x55db6a--)(this['activeTo'][_0x55db6a]>_0x46b497||this['activeTo'][_0x55db6a]==_0x46b497&&this['active'][_0x55db6a]['endSide']>=this['point']['endSide'])&&_0x4e57f4['push'](this['active'][_0x55db6a]);return _0x4e57f4['reverse']();}['openEnd'](_0x32a749){let _0x5190bb=0x0;for(let _0x10447f=this['activeTo']['length']-0x1;_0x10447f>=0x0&&this['activeTo'][_0x10447f]>_0x32a749;_0x10447f--)_0x5190bb++;return _0x5190bb;}}function _0x53b969(_0x2fd6d3,_0x5a322a,_0x1eb701,_0x2d4c3f,_0x345cb3,_0x11475a){_0x2fd6d3['goto'](_0x5a322a),_0x1eb701['goto'](_0x2d4c3f);let _0x338f45=_0x2d4c3f+_0x345cb3,_0x1ccb39=_0x2d4c3f,_0x493989=_0x2d4c3f-_0x5a322a;for(;;){let _0xefce69=_0x2fd6d3['to']+_0x493989-_0x1eb701['to'],_0x39c200=_0xefce69||_0x2fd6d3['endSide']-_0x1eb701['endSide'],_0x4c65e4=_0x39c200<0x0?_0x2fd6d3['to']+_0x493989:_0x1eb701['to'],_0x1182ba=Math['min'](_0x4c65e4,_0x338f45);if(_0x2fd6d3['point']||_0x1eb701['point']?_0x2fd6d3['point']&&_0x1eb701['point']&&(_0x2fd6d3['point']==_0x1eb701['point']||_0x2fd6d3['point']['eq'](_0x1eb701['point']))&&_0x4f1add(_0x2fd6d3['activeForPoint'](_0x2fd6d3['to']),_0x1eb701['activeForPoint'](_0x1eb701['to']))||_0x11475a['comparePoint'](_0x1ccb39,_0x1182ba,_0x2fd6d3['point'],_0x1eb701['point']):_0x1182ba>_0x1ccb39&&!_0x4f1add(_0x2fd6d3['active'],_0x1eb701['active'])&&_0x11475a['compareRange'](_0x1ccb39,_0x1182ba,_0x2fd6d3['active'],_0x1eb701['active']),_0x4c65e4>_0x338f45)break;(_0xefce69||_0x2fd6d3['openEnd']!=_0x1eb701['openEnd'])&&_0x11475a['boundChange']&&_0x11475a['boundChange'](_0x4c65e4),_0x1ccb39=_0x4c65e4,_0x39c200<=0x0&&_0x2fd6d3['next'](),_0x39c200>=0x0&&_0x1eb701['next']();}}function _0x4f1add(_0x5cfb37,_0x4cff94){if(_0x5cfb37['length']!=_0x4cff94['length'])return!0x1;for(let _0x425020=0x0;_0x425020<_0x5cfb37['length'];_0x425020++)if(_0x5cfb37[_0x425020]!=_0x4cff94[_0x425020]&&!_0x5cfb37[_0x425020]['eq'](_0x4cff94[_0x425020]))return!0x1;return!0x0;}function _0x488537(_0x550539,_0x5786df){for(let _0x1e02e0=_0x5786df,_0x39f8ef=_0x550539['length']-0x1;_0x1e02e0<_0x39f8ef;_0x1e02e0++)_0x550539[_0x1e02e0]=_0x550539[_0x1e02e0+0x1];_0x550539['pop']();}function _0x3cbc17(_0xd31d1e,_0x1617ee,_0x3008ec){for(let _0x3b2e36=_0xd31d1e['length']-0x1;_0x3b2e36>=_0x1617ee;_0x3b2e36--)_0xd31d1e[_0x3b2e36+0x1]=_0xd31d1e[_0x3b2e36];_0xd31d1e[_0x1617ee]=_0x3008ec;}function _0x561130(_0x2f3a46,_0x1fdb6f){let _0x44c96d=-0x1,_0x575f36=0x3b9aca00;for(let _0x51b42d=0x0;_0x51b42d<_0x1fdb6f['length'];_0x51b42d++)(_0x1fdb6f[_0x51b42d]-_0x575f36||_0x2f3a46[_0x51b42d]['endSide']-_0x2f3a46[_0x44c96d]['endSide'])<0x0&&(_0x44c96d=_0x51b42d,_0x575f36=_0x1fdb6f[_0x51b42d]);return _0x44c96d;}function _0x9d1039(_0x30119e,_0x30f87a,_0x18166e=_0x30119e['length']){let _0x50e99a=0x0;for(let _0x7ad7ea=0x0;_0x7ad7ea<_0x18166e&&_0x7ad7ea<_0x30119e['length'];)0x9==_0x30119e['charCodeAt'](_0x7ad7ea)?(_0x50e99a+=_0x30f87a-_0x50e99a%_0x30f87a,_0x7ad7ea++):(_0x50e99a++,_0x7ad7ea=_0x5da76b(_0x30119e,_0x7ad7ea));return _0x50e99a;}function _0x22409c(_0x270bc1,_0x12e26c,_0xebf8f0,_0x57e93e){for(let _0x11a0e6=0x0,_0x21166b=0x0;;){if(_0x21166b>=_0x12e26c)return _0x11a0e6;if(_0x11a0e6==_0x270bc1['length'])break;_0x21166b+=0x9==_0x270bc1['charCodeAt'](_0x11a0e6)?_0xebf8f0-_0x21166b%_0xebf8f0:0x1,_0x11a0e6=_0x5da76b(_0x270bc1,_0x11a0e6);}return!0x0===_0x57e93e?-0x1:_0x270bc1['length'];}const _0x242ae2='undefined'==typeof Symbol?'__ͼ':Symbol['for']('ͼ'),_0x102aa6='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),_0x264a48='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};class StyleModule{constructor(_0x13d501,_0x593a3f){this['rules']=[];let {finish:_0x1b0563}=_0x593a3f||{};function _0x266ba2(_0x129b99){return/^@/['test'](_0x129b99)?[_0x129b99]:_0x129b99['split'](/,\s*/);}function _0x327b8e(_0x102a83,_0x2fd41d,_0x25c8aa,_0x2a5c7a){let _0x27821e=[],_0x15c895=/^@(\w+)\b/['exec'](_0x102a83[0x0]),_0x476d13=_0x15c895&&'keyframes'==_0x15c895[0x1];if(_0x15c895&&null==_0x2fd41d)return _0x25c8aa['push'](_0x102a83[0x0]+';');for(let _0x12894a in _0x2fd41d){let _0x49875f=_0x2fd41d[_0x12894a];if(/&/['test'](_0x12894a))_0x327b8e(_0x12894a['split'](/,\s*/)['map'](_0x284197=>_0x102a83['map'](_0x10e989=>_0x284197['replace'](/&/,_0x10e989)))['reduce']((_0x2a5f5d,_0x3572c4)=>_0x2a5f5d['concat'](_0x3572c4)),_0x49875f,_0x25c8aa);else{if(_0x49875f&&'object'==typeof _0x49875f){if(!_0x15c895)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0x12894a+')\x20should\x20be\x20a\x20primitive\x20value.');_0x327b8e(_0x266ba2(_0x12894a),_0x49875f,_0x27821e,_0x476d13);}else null!=_0x49875f&&_0x27821e['push'](_0x12894a['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0xeb62d8=>'-'+_0xeb62d8['toLowerCase']())+':\x20'+_0x49875f+';');}}(_0x27821e['length']||_0x476d13)&&_0x25c8aa['push']((!_0x1b0563||_0x15c895||_0x2a5c7a?_0x102a83:_0x102a83['map'](_0x1b0563))['join'](',\x20')+'\x20{'+_0x27821e['join']('\x20')+'}');}for(let _0x2cabc3 in _0x13d501)_0x327b8e(_0x266ba2(_0x2cabc3),_0x13d501[_0x2cabc3],this['rules']);}['getRules'](){return this['rules']['join']('\x0a');}static['newName'](){let _0x3e052e=_0x264a48[_0x242ae2]||0x1;return _0x264a48[_0x242ae2]=_0x3e052e+0x1,'ͼ'+_0x3e052e['toString'](0x24);}static['mount'](_0x46d686,_0x4536bc,_0x31e4b7){let _0x44402b=_0x46d686[_0x102aa6],_0x1fea73=_0x31e4b7&&_0x31e4b7['nonce'];_0x44402b?_0x1fea73&&_0x44402b['setNonce'](_0x1fea73):_0x44402b=new StyleSet(_0x46d686,_0x1fea73),_0x44402b['mount'](Array['isArray'](_0x4536bc)?_0x4536bc:[_0x4536bc],_0x46d686);}}let _0x53ae5b=new Map();class StyleSet{constructor(_0x2f972d,_0x7ca8f3){let _0x13971f=_0x2f972d['ownerDocument']||_0x2f972d,_0xa0827e=_0x13971f['defaultView'];if(!_0x2f972d['head']&&_0x2f972d['adoptedStyleSheets']&&_0xa0827e['CSSStyleSheet']){let _0x20d8be=_0x53ae5b['get'](_0x13971f);if(_0x20d8be)return _0x2f972d[_0x102aa6]=_0x20d8be;this['sheet']=new _0xa0827e['CSSStyleSheet'](),_0x53ae5b['set'](_0x13971f,this);}else this['styleTag']=_0x13971f['createElement']('style'),_0x7ca8f3&&this['styleTag']['setAttribute']('nonce',_0x7ca8f3);this['modules']=[],_0x2f972d[_0x102aa6]=this;}['mount'](_0x423a40,_0x3e5055){let _0x4e34a8=this['sheet'],_0x25bbc4=0x0,_0x388347=0x0;for(let _0x42f13a=0x0;_0x42f13a<_0x423a40['length'];_0x42f13a++){let _0x21a5bf=_0x423a40[_0x42f13a],_0x563f23=this['modules']['indexOf'](_0x21a5bf);if(_0x563f23<_0x388347&&_0x563f23>-0x1&&(this['modules']['splice'](_0x563f23,0x1),_0x388347--,_0x563f23=-0x1),-0x1==_0x563f23){if(this['modules']['splice'](_0x388347++,0x0,_0x21a5bf),_0x4e34a8){for(let _0x2a3d7e=0x0;_0x2a3d7e<_0x21a5bf['rules']['length'];_0x2a3d7e++)_0x4e34a8['insertRule'](_0x21a5bf['rules'][_0x2a3d7e],_0x25bbc4++);}}else{for(;_0x388347<_0x563f23;)_0x25bbc4+=this['modules'][_0x388347++]['rules']['length'];_0x25bbc4+=_0x21a5bf['rules']['length'],_0x388347++;}}if(_0x4e34a8)_0x3e5055['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0x3e5055['adoptedStyleSheets']=[this['sheet'],..._0x3e5055['adoptedStyleSheets']]);else{let _0x33839a='';for(let _0x1e3d74=0x0;_0x1e3d74<this['modules']['length'];_0x1e3d74++)_0x33839a+=this['modules'][_0x1e3d74]['getRules']()+'\x0a';this['styleTag']['textContent']=_0x33839a;let _0x26a98c=_0x3e5055['head']||_0x3e5055;this['styleTag']['parentNode']!=_0x26a98c&&_0x26a98c['insertBefore'](this['styleTag'],_0x26a98c['firstChild']);}}['setNonce'](_0x12332a){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0x12332a&&this['styleTag']['setAttribute']('nonce',_0x12332a);}}for(var _0x1df4e9={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'},_0x2781e9={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'},_0x9d16a8='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),_0x1f9679='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),_0x431d3d=0x0;_0x431d3d<0xa;_0x431d3d++)_0x1df4e9[0x30+_0x431d3d]=_0x1df4e9[0x60+_0x431d3d]=String(_0x431d3d);for(_0x431d3d=0x1;_0x431d3d<=0x18;_0x431d3d++)_0x1df4e9[_0x431d3d+0x6f]='F'+_0x431d3d;for(_0x431d3d=0x41;_0x431d3d<=0x5a;_0x431d3d++)_0x1df4e9[_0x431d3d]=String['fromCharCode'](_0x431d3d+0x20),_0x2781e9[_0x431d3d]=String['fromCharCode'](_0x431d3d);for(var _0x2021c7 in _0x1df4e9)_0x2781e9['hasOwnProperty'](_0x2021c7)||(_0x2781e9[_0x2021c7]=_0x1df4e9[_0x2021c7]);let _0x4ab26f='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},_0x358919='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const _0x5e6c41=/Edge\/(\d+)/['exec'](_0x4ab26f['userAgent']),_0x3d783b=/MSIE \d/['test'](_0x4ab26f['userAgent']),_0x1f7ad6=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](_0x4ab26f['userAgent']),_0x27a4f4=!!(_0x3d783b||_0x1f7ad6||_0x5e6c41),_0x1d1e47=!_0x27a4f4&&/gecko\/(\d+)/i['test'](_0x4ab26f['userAgent']),_0x1cfd4a=!_0x27a4f4&&/Chrome\/(\d+)/['exec'](_0x4ab26f['userAgent']),_0x536844='webkitFontSmoothing'in _0x358919['documentElement']['style'],_0x2814d8=!_0x27a4f4&&/Apple Computer/['test'](_0x4ab26f['vendor']),tw=_0x2814d8&&(/Mobile\/\w+/['test'](_0x4ab26f['userAgent'])||_0x4ab26f['maxTouchPoints']>0x2);var _0xe49063={'mac':tw||/Mac/['test'](_0x4ab26f['platform']),'windows':/Win/['test'](_0x4ab26f['platform']),'linux':/Linux|X11/['test'](_0x4ab26f['platform']),'ie':_0x27a4f4,'ie_version':_0x3d783b?_0x358919['documentMode']||0x6:_0x1f7ad6?+_0x1f7ad6[0x1]:_0x5e6c41?+_0x5e6c41[0x1]:0x0,'gecko':_0x1d1e47,'gecko_version':_0x1d1e47?+(/Firefox\/(\d+)/['exec'](_0x4ab26f['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!_0x1cfd4a,'chrome_version':_0x1cfd4a?+_0x1cfd4a[0x1]:0x0,'ios':tw,'android':/Android\b/['test'](_0x4ab26f['userAgent']),'webkit_version':_0x536844?+(/\bAppleWebKit\/(\d+)/['exec'](_0x4ab26f['userAgent'])||[0x0,0x0])[0x1]:0x0,'safari':_0x2814d8,'safari_version':_0x2814d8?+(/\bVersion\/(\d+(\.\d+)?)/['exec'](_0x4ab26f['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=_0x358919['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};function _0x1f5501(_0xa4f22){let _0x543bf1;return _0x543bf1=0xb==_0xa4f22['nodeType']?_0xa4f22['getSelection']?_0xa4f22:_0xa4f22['ownerDocument']:_0xa4f22,_0x543bf1['getSelection']();}function _0x29f33d(_0x4a5d92,_0x517db6){return!!_0x517db6&&(_0x4a5d92==_0x517db6||_0x4a5d92['contains'](0x1!=_0x517db6['nodeType']?_0x517db6['parentNode']:_0x517db6));}function _0x183638(_0x595519,_0xa1d1c1){if(!_0xa1d1c1['anchorNode'])return!0x1;try{return _0x29f33d(_0x595519,_0xa1d1c1['anchorNode']);}catch(_0x362e89){return!0x1;}}function _0x1d99cd(_0x44e6a7){return 0x3==_0x44e6a7['nodeType']?_0x171132(_0x44e6a7,0x0,_0x44e6a7['nodeValue']['length'])['getClientRects']():0x1==_0x44e6a7['nodeType']?_0x44e6a7['getClientRects']():[];}function _0x2f10ef(_0x2e8e5c,_0x57a6f9,_0x5bb922,_0x2e256c){return!!_0x5bb922&&(_0x3e0916(_0x2e8e5c,_0x57a6f9,_0x5bb922,_0x2e256c,-0x1)||_0x3e0916(_0x2e8e5c,_0x57a6f9,_0x5bb922,_0x2e256c,0x1));}function _0xb350d7(_0x47ca0b){for(var _0x4d843d=0x0;;_0x4d843d++)if(!(_0x47ca0b=_0x47ca0b['previousSibling']))return _0x4d843d;}function _0x32a1b2(_0x437cc4){return 0x1==_0x437cc4['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0x437cc4['nodeName']);}function _0x3e0916(_0x19b413,_0x395a54,_0x462a76,_0x586033,_0x56e65e){for(;;){if(_0x19b413==_0x462a76&&_0x395a54==_0x586033)return!0x0;if(_0x395a54==(_0x56e65e<0x0?0x0:_0x3445c1(_0x19b413))){if('DIV'==_0x19b413['nodeName'])return!0x1;let _0x2e9a2e=_0x19b413['parentNode'];if(!_0x2e9a2e||0x1!=_0x2e9a2e['nodeType'])return!0x1;_0x395a54=_0xb350d7(_0x19b413)+(_0x56e65e<0x0?0x0:0x1),_0x19b413=_0x2e9a2e;}else{if(0x1!=_0x19b413['nodeType'])return!0x1;if(0x1==(_0x19b413=_0x19b413['childNodes'][_0x395a54+(_0x56e65e<0x0?-0x1:0x0)])['nodeType']&&'false'==_0x19b413['contentEditable'])return!0x1;_0x395a54=_0x56e65e<0x0?_0x3445c1(_0x19b413):0x0;}}}function _0x3445c1(_0xdcc015){return 0x3==_0xdcc015['nodeType']?_0xdcc015['nodeValue']['length']:_0xdcc015['childNodes']['length'];}function _0x4d6e81(_0x14be56,_0x2acfa0){let _0x22da05=_0x2acfa0?_0x14be56['left']:_0x14be56['right'];return{'left':_0x22da05,'right':_0x22da05,'top':_0x14be56['top'],'bottom':_0x14be56['bottom']};}function _0x5880f4(_0x2ffa64){let _0x5b93e4=_0x2ffa64['visualViewport'];return _0x5b93e4?{'left':0x0,'right':_0x5b93e4['width'],'top':0x0,'bottom':_0x5b93e4['height']}:{'left':0x0,'right':_0x2ffa64['innerWidth'],'top':0x0,'bottom':_0x2ffa64['innerHeight']};}function _0x107114(_0x45ea9a,_0x43887d){let _0xa1f841=_0x43887d['width']/_0x45ea9a['offsetWidth'],_0x340b89=_0x43887d['height']/_0x45ea9a['offsetHeight'];return(_0xa1f841>0.995&&_0xa1f841<1.005||!isFinite(_0xa1f841)||Math['abs'](_0x43887d['width']-_0x45ea9a['offsetWidth'])<0x1)&&(_0xa1f841=0x1),(_0x340b89>0.995&&_0x340b89<1.005||!isFinite(_0x340b89)||Math['abs'](_0x43887d['height']-_0x45ea9a['offsetHeight'])<0x1)&&(_0x340b89=0x1),{'scaleX':_0xa1f841,'scaleY':_0x340b89};}class DOMSelectionState{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0x102678){return this['anchorNode']==_0x102678['anchorNode']&&this['anchorOffset']==_0x102678['anchorOffset']&&this['focusNode']==_0x102678['focusNode']&&this['focusOffset']==_0x102678['focusOffset'];}['setRange'](_0x249efe){let {anchorNode:_0x33440c,focusNode:_0x78cf53}=_0x249efe;this['set'](_0x33440c,Math['min'](_0x249efe['anchorOffset'],_0x33440c?_0x3445c1(_0x33440c):0x0),_0x78cf53,Math['min'](_0x249efe['focusOffset'],_0x78cf53?_0x3445c1(_0x78cf53):0x0));}['set'](_0x58ef6a,_0x405c7b,_0x1649b2,_0x2593a0){this['anchorNode']=_0x58ef6a,this['anchorOffset']=_0x405c7b,this['focusNode']=_0x1649b2,this['focusOffset']=_0x2593a0;}}let _0x456e63,_0x3597e7=null;function _0x3483ce(_0x7fc144){if(_0x7fc144['setActive'])return _0x7fc144['setActive']();if(_0x3597e7)return _0x7fc144['focus'](_0x3597e7);let _0xfbd3b1=[];for(let _0x4ef5ae=_0x7fc144;_0x4ef5ae&&(_0xfbd3b1['push'](_0x4ef5ae,_0x4ef5ae['scrollTop'],_0x4ef5ae['scrollLeft']),_0x4ef5ae!=_0x4ef5ae['ownerDocument']);_0x4ef5ae=_0x4ef5ae['parentNode']);if(_0x7fc144['focus'](null==_0x3597e7?{get 'preventScroll'(){return _0x3597e7={'preventScroll':!0x0},!0x0;}}:void 0x0),!_0x3597e7){_0x3597e7=!0x1;for(let _0x4baf9a=0x0;_0x4baf9a<_0xfbd3b1['length'];){let _0xc458f6=_0xfbd3b1[_0x4baf9a++],_0x4190f8=_0xfbd3b1[_0x4baf9a++],_0x3d0dfb=_0xfbd3b1[_0x4baf9a++];_0xc458f6['scrollTop']!=_0x4190f8&&(_0xc458f6['scrollTop']=_0x4190f8),_0xc458f6['scrollLeft']!=_0x3d0dfb&&(_0xc458f6['scrollLeft']=_0x3d0dfb);}}}function _0x171132(_0x2fdebe,_0x4ceef5,_0x12c44d=_0x4ceef5){let _0x51f8b0=_0x456e63||(_0x456e63=document['createRange']());return _0x51f8b0['setEnd'](_0x2fdebe,_0x12c44d),_0x51f8b0['setStart'](_0x2fdebe,_0x4ceef5),_0x51f8b0;}function _0x1af467(_0x1308bf,_0x568124,_0x2a9e15,_0x52f476){let _0x36224d={'key':_0x568124,'code':_0x568124,'keyCode':_0x2a9e15,'which':_0x2a9e15,'cancelable':!0x0};_0x52f476&&({altKey:_0x36224d['altKey'],ctrlKey:_0x36224d['ctrlKey'],shiftKey:_0x36224d['shiftKey'],metaKey:_0x36224d['metaKey']}=_0x52f476);let _0x4d6c78=new KeyboardEvent('keydown',_0x36224d);_0x4d6c78['synthetic']=!0x0,_0x1308bf['dispatchEvent'](_0x4d6c78);let _0x42e7a8=new KeyboardEvent('keyup',_0x36224d);return _0x42e7a8['synthetic']=!0x0,_0x1308bf['dispatchEvent'](_0x42e7a8),_0x4d6c78['defaultPrevented']||_0x42e7a8['defaultPrevented'];}function _0x250299(_0x4f6b7c){for(;_0x4f6b7c['attributes']['length'];)_0x4f6b7c['removeAttributeNode'](_0x4f6b7c['attributes'][0x0]);}function _0x2c5167(_0xfbc9bd){return _0xfbc9bd['scrollTop']>Math['max'](0x1,_0xfbc9bd['scrollHeight']-_0xfbc9bd['clientHeight']-0x4);}function _0x578b71(_0x32de7a,_0x3cc630){for(let _0x1eb274=_0x32de7a,_0x5dbf49=_0x3cc630;;){if(0x3==_0x1eb274['nodeType']&&_0x5dbf49>0x0)return{'node':_0x1eb274,'offset':_0x5dbf49};if(0x1==_0x1eb274['nodeType']&&_0x5dbf49>0x0){if('false'==_0x1eb274['contentEditable'])return null;_0x1eb274=_0x1eb274['childNodes'][_0x5dbf49-0x1],_0x5dbf49=_0x3445c1(_0x1eb274);}else{if(!_0x1eb274['parentNode']||_0x32a1b2(_0x1eb274))return null;_0x5dbf49=_0xb350d7(_0x1eb274),_0x1eb274=_0x1eb274['parentNode'];}}}function _0x41ed64(_0x53272d,_0x1ddbb1){for(let _0x2674f9=_0x53272d,_0x5dc2c5=_0x1ddbb1;;){if(0x3==_0x2674f9['nodeType']&&_0x5dc2c5<_0x2674f9['nodeValue']['length'])return{'node':_0x2674f9,'offset':_0x5dc2c5};if(0x1==_0x2674f9['nodeType']&&_0x5dc2c5<_0x2674f9['childNodes']['length']){if('false'==_0x2674f9['contentEditable'])return null;_0x2674f9=_0x2674f9['childNodes'][_0x5dc2c5],_0x5dc2c5=0x0;}else{if(!_0x2674f9['parentNode']||_0x32a1b2(_0x2674f9))return null;_0x5dc2c5=_0xb350d7(_0x2674f9)+0x1,_0x2674f9=_0x2674f9['parentNode'];}}}_0xe49063['safari']&&_0xe49063['safari_version']>=0x1a&&(_0x3597e7=!0x1);class _0x4fe383{constructor(_0x49d3ae,_0x2788d5,_0x3bd8ca=!0x0){this['node']=_0x49d3ae,this['offset']=_0x2788d5,this['precise']=_0x3bd8ca;}static['before'](_0x2e1d9b,_0x58d745){return new _0x4fe383(_0x2e1d9b['parentNode'],_0xb350d7(_0x2e1d9b),_0x58d745);}static['after'](_0x2348ee,_0x2517d8){return new _0x4fe383(_0x2348ee['parentNode'],_0xb350d7(_0x2348ee)+0x1,_0x2517d8);}}const _0x1c06ce=[];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'](_0x271bde){let _0x28f71a=this['posAtStart'];for(let _0x2f3fc9 of this['children']){if(_0x2f3fc9==_0x271bde)return _0x28f71a;_0x28f71a+=_0x2f3fc9['length']+_0x2f3fc9['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}['posAfter'](_0x19d9bf){return this['posBefore'](_0x19d9bf)+_0x19d9bf['length'];}['sync'](_0x2f095a,_0x1e7115){if(0x2&this['flags']){let _0x4f9717,_0x2f1683=this['dom'],_0x166423=null;for(let _0x3cf586 of this['children']){if(0x7&_0x3cf586['flags']){if(!_0x3cf586['dom']&&(_0x4f9717=_0x166423?_0x166423['nextSibling']:_0x2f1683['firstChild'])){let _0x53d2a7=ContentView['get'](_0x4f9717);(!_0x53d2a7||!_0x53d2a7['parent']&&_0x53d2a7['canReuseDOM'](_0x3cf586))&&_0x3cf586['reuseDOM'](_0x4f9717);}_0x3cf586['sync'](_0x2f095a,_0x1e7115),_0x3cf586['flags']&=-0x8;}if(_0x4f9717=_0x166423?_0x166423['nextSibling']:_0x2f1683['firstChild'],_0x1e7115&&!_0x1e7115['written']&&_0x1e7115['node']==_0x2f1683&&_0x4f9717!=_0x3cf586['dom']&&(_0x1e7115['written']=!0x0),_0x3cf586['dom']['parentNode']==_0x2f1683){for(;_0x4f9717&&_0x4f9717!=_0x3cf586['dom'];)_0x4f9717=_0x4adb51(_0x4f9717);}else _0x2f1683['insertBefore'](_0x3cf586['dom'],_0x4f9717);_0x166423=_0x3cf586['dom'];}for(_0x4f9717=_0x166423?_0x166423['nextSibling']:_0x2f1683['firstChild'],_0x4f9717&&_0x1e7115&&_0x1e7115['node']==_0x2f1683&&(_0x1e7115['written']=!0x0);_0x4f9717;)_0x4f9717=_0x4adb51(_0x4f9717);}else{if(0x1&this['flags']){for(let _0x9f86fa of this['children'])0x7&_0x9f86fa['flags']&&(_0x9f86fa['sync'](_0x2f095a,_0x1e7115),_0x9f86fa['flags']&=-0x8);}}}['reuseDOM'](_0x49d712){}['localPosFromDOM'](_0x32abc5,_0x245cdd){let _0x35716d;if(_0x32abc5==this['dom'])_0x35716d=this['dom']['childNodes'][_0x245cdd];else{let _0x456761=0x0==_0x3445c1(_0x32abc5)?0x0:0x0==_0x245cdd?-0x1:0x1;for(;;){let _0x3813ca=_0x32abc5['parentNode'];if(_0x3813ca==this['dom'])break;0x0==_0x456761&&_0x3813ca['firstChild']!=_0x3813ca['lastChild']&&(_0x456761=_0x32abc5==_0x3813ca['firstChild']?-0x1:0x1),_0x32abc5=_0x3813ca;}_0x35716d=_0x456761<0x0?_0x32abc5:_0x32abc5['nextSibling'];}if(_0x35716d==this['dom']['firstChild'])return 0x0;for(;_0x35716d&&!ContentView['get'](_0x35716d);)_0x35716d=_0x35716d['nextSibling'];if(!_0x35716d)return this['length'];for(let _0x429329=0x0,_0x34b329=0x0;;_0x429329++){let _0x4a9d0d=this['children'][_0x429329];if(_0x4a9d0d['dom']==_0x35716d)return _0x34b329;_0x34b329+=_0x4a9d0d['length']+_0x4a9d0d['breakAfter'];}}['domBoundsAround'](_0x9f685c,_0x2528f9,_0x2d0ece=0x0){let _0x109d9b=-0x1,_0x590cd4=-0x1,_0x3a2af7=-0x1,_0x5a5d50=-0x1;for(let _0x12605e=0x0,_0x584b04=_0x2d0ece,_0x22cc55=_0x2d0ece;_0x12605e<this['children']['length'];_0x12605e++){let _0x4e5d02=this['children'][_0x12605e],_0x429348=_0x584b04+_0x4e5d02['length'];if(_0x584b04<_0x9f685c&&_0x429348>_0x2528f9)return _0x4e5d02['domBoundsAround'](_0x9f685c,_0x2528f9,_0x584b04);if(_0x429348>=_0x9f685c&&-0x1==_0x109d9b&&(_0x109d9b=_0x12605e,_0x590cd4=_0x584b04),_0x584b04>_0x2528f9&&_0x4e5d02['dom']['parentNode']==this['dom']){_0x3a2af7=_0x12605e,_0x5a5d50=_0x22cc55;break;}_0x22cc55=_0x429348,_0x584b04=_0x429348+_0x4e5d02['breakAfter'];}return{'from':_0x590cd4,'to':_0x5a5d50<0x0?_0x2d0ece+this['length']:_0x5a5d50,'startDOM':(_0x109d9b?this['children'][_0x109d9b-0x1]['dom']['nextSibling']:null)||this['dom']['firstChild'],'endDOM':_0x3a2af7<this['children']['length']&&_0x3a2af7>=0x0?this['children'][_0x3a2af7]['dom']:null};}['markDirty'](_0x338fcc=!0x1){this['flags']|=0x2,this['markParentsDirty'](_0x338fcc);}['markParentsDirty'](_0x2ca2c2){for(let _0x2e2fbc=this['parent'];_0x2e2fbc;_0x2e2fbc=_0x2e2fbc['parent']){if(_0x2ca2c2&&(_0x2e2fbc['flags']|=0x2),0x1&_0x2e2fbc['flags'])return;_0x2e2fbc['flags']|=0x1,_0x2ca2c2=!0x1;}}['setParent'](_0x1229d1){this['parent']!=_0x1229d1&&(this['parent']=_0x1229d1,0x7&this['flags']&&this['markParentsDirty'](!0x0));}['setDOM'](_0x213c70){this['dom']!=_0x213c70&&(this['dom']&&(this['dom']['cmView']=null),this['dom']=_0x213c70,_0x213c70['cmView']=this);}get['rootView'](){for(let _0x1b08d2=this;;){let _0x599283=_0x1b08d2['parent'];if(!_0x599283)return _0x1b08d2;_0x1b08d2=_0x599283;}}['replaceChildren'](_0x3d6e0e,_0x3ae697,_0x41575b=_0x1c06ce){this['markDirty']();for(let _0x331f83=_0x3d6e0e;_0x331f83<_0x3ae697;_0x331f83++){let _0x313624=this['children'][_0x331f83];_0x313624['parent']==this&&_0x41575b['indexOf'](_0x313624)<0x0&&_0x313624['destroy']();}_0x41575b['length']<0xfa?this['children']['splice'](_0x3d6e0e,_0x3ae697-_0x3d6e0e,..._0x41575b):this['children']=[]['concat'](this['children']['slice'](0x0,_0x3d6e0e),_0x41575b,this['children']['slice'](_0x3ae697));for(let _0x3285a6=0x0;_0x3285a6<_0x41575b['length'];_0x3285a6++)_0x41575b[_0x3285a6]['setParent'](this);}['ignoreMutation'](_0x5860a6){return!0x1;}['ignoreEvent'](_0x2790ff){return!0x1;}['childCursor'](_0x5211fb=this['length']){return new _0x1ab393(this['children'],_0x5211fb,this['children']['length']);}['childPos'](_0x51cb34,_0x42a881=0x1){return this['childCursor']()['findPos'](_0x51cb34,_0x42a881);}['toString'](){let _0x19b7ef=this['constructor']['name']['replace']('View','');return _0x19b7ef+(this['children']['length']?'('+this['children']['join']()+')':this['length']?'['+('Text'==_0x19b7ef?this['text']:this['length'])+']':'')+(this['breakAfter']?'#':'');}static['get'](_0x523951){return _0x523951['cmView'];}get['isEditable'](){return!0x0;}get['isWidget'](){return!0x1;}get['isHidden'](){return!0x1;}['merge'](_0x8a9ee5,_0x4987a5,_0x53473e,_0x27d62f,_0x395dde,_0x30f945){return!0x1;}['become'](_0xf94f77){return!0x1;}['canReuseDOM'](_0x8fbfb8){return _0x8fbfb8['constructor']==this['constructor']&&!(0x8&(this['flags']|_0x8fbfb8['flags']));}['getSide'](){return 0x0;}['destroy'](){for(let _0x31fdad of this['children'])_0x31fdad['parent']==this&&_0x31fdad['destroy']();this['parent']=null;}}function _0x4adb51(_0x3b2f98){let _0x42378c=_0x3b2f98['nextSibling'];return _0x3b2f98['parentNode']['removeChild'](_0x3b2f98),_0x42378c;}ContentView['prototype']['breakAfter']=0x0;class _0x1ab393{constructor(_0x14dddf,_0x3ecb8a,_0x266371){this['children']=_0x14dddf,this['pos']=_0x3ecb8a,this['i']=_0x266371,this['off']=0x0;}['findPos'](_0x14e023,_0x4492b9=0x1){for(;;){if(_0x14e023>this['pos']||_0x14e023==this['pos']&&(_0x4492b9>0x0||0x0==this['i']||this['children'][this['i']-0x1]['breakAfter']))return this['off']=_0x14e023-this['pos'],this;let _0x5c1a80=this['children'][--this['i']];this['pos']-=_0x5c1a80['length']+_0x5c1a80['breakAfter'];}}}function _0x409373(_0x224bff,_0x1b291f,_0x2abbaa,_0x2d9508,_0xa02d60,_0x465eae,_0x3f6890,_0x1d09d2,_0x54dd32){let {children:_0x12ea2c}=_0x224bff,_0x35ea23=_0x12ea2c['length']?_0x12ea2c[_0x1b291f]:null,_0x1589ac=_0x465eae['length']?_0x465eae[_0x465eae['length']-0x1]:null,_0x2dab85=_0x1589ac?_0x1589ac['breakAfter']:_0x3f6890;if(!(_0x1b291f==_0x2d9508&&_0x35ea23&&!_0x3f6890&&!_0x2dab85&&_0x465eae['length']<0x2&&_0x35ea23['merge'](_0x2abbaa,_0xa02d60,_0x465eae['length']?_0x1589ac:null,0x0==_0x2abbaa,_0x1d09d2,_0x54dd32))){if(_0x2d9508<_0x12ea2c['length']){let _0x25114a=_0x12ea2c[_0x2d9508];_0x25114a&&(_0xa02d60<_0x25114a['length']||_0x25114a['breakAfter']&&(null==_0x1589ac?void 0x0:_0x1589ac['breakAfter']))?(_0x1b291f==_0x2d9508&&(_0x25114a=_0x25114a['split'](_0xa02d60),_0xa02d60=0x0),!_0x2dab85&&_0x1589ac&&_0x25114a['merge'](0x0,_0xa02d60,_0x1589ac,!0x0,0x0,_0x54dd32)?_0x465eae[_0x465eae['length']-0x1]=_0x25114a:((_0xa02d60||_0x25114a['children']['length']&&!_0x25114a['children'][0x0]['length'])&&_0x25114a['merge'](0x0,_0xa02d60,null,!0x1,0x0,_0x54dd32),_0x465eae['push'](_0x25114a))):(null==_0x25114a?void 0x0:_0x25114a['breakAfter'])&&(_0x1589ac?_0x1589ac['breakAfter']=0x1:_0x3f6890=0x1),_0x2d9508++;}for(_0x35ea23&&(_0x35ea23['breakAfter']=_0x3f6890,_0x2abbaa>0x0&&(!_0x3f6890&&_0x465eae['length']&&_0x35ea23['merge'](_0x2abbaa,_0x35ea23['length'],_0x465eae[0x0],!0x1,_0x1d09d2,0x0)?_0x35ea23['breakAfter']=_0x465eae['shift']()['breakAfter']:(_0x2abbaa<_0x35ea23['length']||_0x35ea23['children']['length']&&0x0==_0x35ea23['children'][_0x35ea23['children']['length']-0x1]['length'])&&_0x35ea23['merge'](_0x2abbaa,_0x35ea23['length'],null,!0x1,_0x1d09d2,0x0),_0x1b291f++));_0x1b291f<_0x2d9508&&_0x465eae['length'];)if(_0x12ea2c[_0x2d9508-0x1]['become'](_0x465eae[_0x465eae['length']-0x1]))_0x2d9508--,_0x465eae['pop'](),_0x54dd32=_0x465eae['length']?0x0:_0x1d09d2;else{if(!_0x12ea2c[_0x1b291f]['become'](_0x465eae[0x0]))break;_0x1b291f++,_0x465eae['shift'](),_0x1d09d2=_0x465eae['length']?0x0:_0x54dd32;}!_0x465eae['length']&&_0x1b291f&&_0x2d9508<_0x12ea2c['length']&&!_0x12ea2c[_0x1b291f-0x1]['breakAfter']&&_0x12ea2c[_0x2d9508]['merge'](0x0,0x0,_0x12ea2c[_0x1b291f-0x1],!0x1,_0x1d09d2,_0x54dd32)&&_0x1b291f--,(_0x1b291f<_0x2d9508||_0x465eae['length'])&&_0x224bff['replaceChildren'](_0x1b291f,_0x2d9508,_0x465eae);}}function _0x46ff3e(_0x13a716,_0x35b38d,_0x581b8a,_0x21a3ef,_0x4b8c48,_0x4c98e9){let _0x10c0ac=_0x13a716['childCursor'](),{i:_0x35036f,off:_0x561814}=_0x10c0ac['findPos'](_0x581b8a,0x1),{i:_0x3f2058,off:_0x2b930}=_0x10c0ac['findPos'](_0x35b38d,-0x1),_0x9289ec=_0x35b38d-_0x581b8a;for(let _0x5c9c31 of _0x21a3ef)_0x9289ec+=_0x5c9c31['length'];_0x13a716['length']+=_0x9289ec,_0x409373(_0x13a716,_0x3f2058,_0x2b930,_0x35036f,_0x561814,_0x21a3ef,0x0,_0x4b8c48,_0x4c98e9);}class TextView extends ContentView{constructor(_0x4dca7f){super(),this['text']=_0x4dca7f;}get['length'](){return this['text']['length'];}['createDOM'](_0x5ae919){this['setDOM'](_0x5ae919||document['createTextNode'](this['text']));}['sync'](_0x33eb72,_0xef76c0){this['dom']||this['createDOM'](),this['dom']['nodeValue']!=this['text']&&(_0xef76c0&&_0xef76c0['node']==this['dom']&&(_0xef76c0['written']=!0x0),this['dom']['nodeValue']=this['text']);}['reuseDOM'](_0x1cadec){0x3==_0x1cadec['nodeType']&&this['createDOM'](_0x1cadec);}['merge'](_0x2f18f9,_0x40162,_0x450fb3){return!(0x8&this['flags']||_0x450fb3&&(!(_0x450fb3 instanceof TextView)||this['length']-(_0x40162-_0x2f18f9)+_0x450fb3['length']>0x100||0x8&_0x450fb3['flags']))&&(this['text']=this['text']['slice'](0x0,_0x2f18f9)+(_0x450fb3?_0x450fb3['text']:'')+this['text']['slice'](_0x40162),this['markDirty'](),!0x0);}['split'](_0x55574c){let _0x57705a=new TextView(this['text']['slice'](_0x55574c));return this['text']=this['text']['slice'](0x0,_0x55574c),this['markDirty'](),_0x57705a['flags']|=0x8&this['flags'],_0x57705a;}['localPosFromDOM'](_0x79534f,_0x5c3709){return _0x79534f==this['dom']?_0x5c3709:_0x5c3709?this['text']['length']:0x0;}['domAtPos'](_0x61d4a6){return new _0x4fe383(this['dom'],_0x61d4a6);}['domBoundsAround'](_0x124cf9,_0x586dd2,_0x27a05e){return{'from':_0x27a05e,'to':_0x27a05e+this['length'],'startDOM':this['dom'],'endDOM':this['dom']['nextSibling']};}['coordsAt'](_0x42cf02,_0x2971fa){return function(_0x301f16,_0x38e5a2,_0x4d1078){let _0x36a90e=_0x301f16['nodeValue']['length'];_0x38e5a2>_0x36a90e&&(_0x38e5a2=_0x36a90e);let _0x3d9bbf=_0x38e5a2,_0x56e8e2=_0x38e5a2,_0x316c17=0x0;0x0==_0x38e5a2&&_0x4d1078<0x0||_0x38e5a2==_0x36a90e&&_0x4d1078>=0x0?_0xe49063['chrome']||_0xe49063['gecko']||(_0x38e5a2?(_0x3d9bbf--,_0x316c17=0x1):_0x56e8e2<_0x36a90e&&(_0x56e8e2++,_0x316c17=-0x1)):_0x4d1078<0x0?_0x3d9bbf--:_0x56e8e2<_0x36a90e&&_0x56e8e2++;let _0x16e028=_0x171132(_0x301f16,_0x3d9bbf,_0x56e8e2)['getClientRects']();if(!_0x16e028['length'])return null;let _0x19c884=_0x16e028[(_0x316c17?_0x316c17<0x0:_0x4d1078>=0x0)?0x0:_0x16e028['length']-0x1];return _0xe49063['safari']&&!_0x316c17&&0x0==_0x19c884['width']&&(_0x19c884=Array['prototype']['find']['call'](_0x16e028,_0x119d90=>_0x119d90['width'])||_0x19c884),_0x316c17?_0x4d6e81(_0x19c884,_0x316c17<0x0):_0x19c884||null;}(this['dom'],_0x42cf02,_0x2971fa);}}class _0x2a2502 extends ContentView{constructor(_0x25607e,_0x2dead2=[],_0x20393e=0x0){super(),this['mark']=_0x25607e,this['children']=_0x2dead2,this['length']=_0x20393e;for(let _0x3b7860 of _0x2dead2)_0x3b7860['setParent'](this);}['setAttrs'](_0x4a0716){if(_0x250299(_0x4a0716),this['mark']['class']&&(_0x4a0716['className']=this['mark']['class']),this['mark']['attrs']){for(let _0x45cf36 in this['mark']['attrs'])_0x4a0716['setAttribute'](_0x45cf36,this['mark']['attrs'][_0x45cf36]);}return _0x4a0716;}['canReuseDOM'](_0x393e41){return super['canReuseDOM'](_0x393e41)&&!(0x8&(this['flags']|_0x393e41['flags']));}['reuseDOM'](_0x2e7bdd){_0x2e7bdd['nodeName']==this['mark']['tagName']['toUpperCase']()&&(this['setDOM'](_0x2e7bdd),this['flags']|=0x6);}['sync'](_0x44d667,_0x298093){this['dom']?0x4&this['flags']&&this['setAttrs'](this['dom']):this['setDOM'](this['setAttrs'](document['createElement'](this['mark']['tagName']))),super['sync'](_0x44d667,_0x298093);}['merge'](_0x5e2287,_0x3e5ca5,_0x2ef55b,_0x5322a1,_0x5ca032,_0x1f0a88){return(!_0x2ef55b||!(!(_0x2ef55b instanceof _0x2a2502&&_0x2ef55b['mark']['eq'](this['mark']))||_0x5e2287&&_0x5ca032<=0x0||_0x3e5ca5<this['length']&&_0x1f0a88<=0x0))&&(_0x46ff3e(this,_0x5e2287,_0x3e5ca5,_0x2ef55b?_0x2ef55b['children']['slice']():[],_0x5ca032-0x1,_0x1f0a88-0x1),this['markDirty'](),!0x0);}['split'](_0x148a9e){let _0x2112bb=[],_0xdc74aa=0x0,_0x2aeb9c=-0x1,_0x4543c2=0x0;for(let _0x5da80d of this['children']){let _0x1a42c7=_0xdc74aa+_0x5da80d['length'];_0x1a42c7>_0x148a9e&&_0x2112bb['push'](_0xdc74aa<_0x148a9e?_0x5da80d['split'](_0x148a9e-_0xdc74aa):_0x5da80d),_0x2aeb9c<0x0&&_0xdc74aa>=_0x148a9e&&(_0x2aeb9c=_0x4543c2),_0xdc74aa=_0x1a42c7,_0x4543c2++;}let _0x2edda7=this['length']-_0x148a9e;return this['length']=_0x148a9e,_0x2aeb9c>-0x1&&(this['children']['length']=_0x2aeb9c,this['markDirty']()),new _0x2a2502(this['mark'],_0x2112bb,_0x2edda7);}['domAtPos'](_0x452258){return _0x478244(this,_0x452258);}['coordsAt'](_0x48272a,_0x41ce05){return _0x4e63ad(this,_0x48272a,_0x41ce05);}}class WidgetView extends ContentView{static['create'](_0x143f2c,_0xe60b3f,_0x4e0061){return new WidgetView(_0x143f2c,_0xe60b3f,_0x4e0061);}constructor(_0x3bd72b,_0x4eb82e,_0x5cd8c6){super(),this['widget']=_0x3bd72b,this['length']=_0x4eb82e,this['side']=_0x5cd8c6,this['prevWidget']=null;}['split'](_0x386225){let _0x1218db=WidgetView['create'](this['widget'],this['length']-_0x386225,this['side']);return this['length']-=_0x386225,_0x1218db;}['sync'](_0x1f395c){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x1f395c)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x1f395c)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}['getSide'](){return this['side'];}['merge'](_0x32bc21,_0x123dec,_0x4085ee,_0x25c062,_0x3df331,_0x399193){return!(_0x4085ee&&(!(_0x4085ee instanceof WidgetView&&this['widget']['compare'](_0x4085ee['widget']))||_0x32bc21>0x0&&_0x3df331<=0x0||_0x123dec<this['length']&&_0x399193<=0x0))&&(this['length']=_0x32bc21+(_0x4085ee?_0x4085ee['length']:0x0)+(this['length']-_0x123dec),!0x0);}['become'](_0x2d02b2){return _0x2d02b2 instanceof WidgetView&&_0x2d02b2['side']==this['side']&&this['widget']['constructor']==_0x2d02b2['widget']['constructor']&&(this['widget']['compare'](_0x2d02b2['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x2d02b2['widget'],this['length']=_0x2d02b2['length'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x1e4dc6){return this['widget']['ignoreEvent'](_0x1e4dc6);}get['overrideDOMText'](){if(0x0==this['length'])return _0x5681fe['empty'];let _0x4107cb=this;for(;_0x4107cb['parent'];)_0x4107cb=_0x4107cb['parent'];let {view:_0x1d8f95}=_0x4107cb,_0x3fa2a0=_0x1d8f95&&_0x1d8f95['state']['doc'],_0x116db9=this['posAtStart'];return _0x3fa2a0?_0x3fa2a0['slice'](_0x116db9,_0x116db9+this['length']):_0x5681fe['empty'];}['domAtPos'](_0x1eb3cf){return(this['length']?0x0==_0x1eb3cf:this['side']>0x0)?_0x4fe383['before'](this['dom']):_0x4fe383['after'](this['dom'],_0x1eb3cf==this['length']);}['domBoundsAround'](){return null;}['coordsAt'](_0x31aa2a,_0x328c9e){let _0x19ed42=this['widget']['coordsAt'](this['dom'],_0x31aa2a,_0x328c9e);if(_0x19ed42)return _0x19ed42;let _0x2a7a11=this['dom']['getClientRects'](),_0x4750c9=null;if(!_0x2a7a11['length'])return null;let _0x5b64af=this['side']?this['side']<0x0:_0x31aa2a>0x0;for(let _0x38db6b=_0x5b64af?_0x2a7a11['length']-0x1:0x0;_0x4750c9=_0x2a7a11[_0x38db6b],!(_0x31aa2a>0x0?0x0==_0x38db6b:_0x38db6b==_0x2a7a11['length']-0x1||_0x4750c9['top']<_0x4750c9['bottom']);_0x38db6b+=_0x5b64af?-0x1:0x1);return _0x4d6e81(_0x4750c9,!_0x5b64af);}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(_0x425ce2){super(),this['side']=_0x425ce2;}get['length'](){return 0x0;}['merge'](){return!0x1;}['become'](_0x18167a){return _0x18167a instanceof WidgetBufferView&&_0x18167a['side']==this['side'];}['split'](){return new WidgetBufferView(this['side']);}['sync'](){if(!this['dom']){let _0x507116=document['createElement']('img');_0x507116['className']='cm-widgetBuffer',_0x507116['setAttribute']('aria-hidden','true'),this['setDOM'](_0x507116);}}['getSide'](){return this['side'];}['domAtPos'](_0x56384b){return this['side']>0x0?_0x4fe383['before'](this['dom']):_0x4fe383['after'](this['dom']);}['localPosFromDOM'](){return 0x0;}['domBoundsAround'](){return null;}['coordsAt'](_0xf49176){return this['dom']['getBoundingClientRect']();}get['overrideDOMText'](){return _0x5681fe['empty'];}get['isHidden'](){return!0x0;}}function _0x478244(_0x4e67f4,_0xcb5dae){let _0x40b3ec=_0x4e67f4['dom'],{children:_0x24263b}=_0x4e67f4,_0x521635=0x0;for(let _0x14e6d3=0x0;_0x521635<_0x24263b['length'];_0x521635++){let _0x3a76ea=_0x24263b[_0x521635],_0x15194d=_0x14e6d3+_0x3a76ea['length'];if(!(_0x15194d==_0x14e6d3&&_0x3a76ea['getSide']()<=0x0)){if(_0xcb5dae>_0x14e6d3&&_0xcb5dae<_0x15194d&&_0x3a76ea['dom']['parentNode']==_0x40b3ec)return _0x3a76ea['domAtPos'](_0xcb5dae-_0x14e6d3);if(_0xcb5dae<=_0x14e6d3)break;_0x14e6d3=_0x15194d;}}for(let _0x551941=_0x521635;_0x551941>0x0;_0x551941--){let _0x44fd30=_0x24263b[_0x551941-0x1];if(_0x44fd30['dom']['parentNode']==_0x40b3ec)return _0x44fd30['domAtPos'](_0x44fd30['length']);}for(let _0x16acae=_0x521635;_0x16acae<_0x24263b['length'];_0x16acae++){let _0x4563c7=_0x24263b[_0x16acae];if(_0x4563c7['dom']['parentNode']==_0x40b3ec)return _0x4563c7['domAtPos'](0x0);}return new _0x4fe383(_0x40b3ec,0x0);}function _0x47253f(_0x5ee361,_0x582be6,_0x148a2d){let _0x2641d0,{children:_0x32ba3a}=_0x5ee361;_0x148a2d>0x0&&_0x582be6 instanceof _0x2a2502&&_0x32ba3a['length']&&(_0x2641d0=_0x32ba3a[_0x32ba3a['length']-0x1])instanceof _0x2a2502&&_0x2641d0['mark']['eq'](_0x582be6['mark'])?_0x47253f(_0x2641d0,_0x582be6['children'][0x0],_0x148a2d-0x1):(_0x32ba3a['push'](_0x582be6),_0x582be6['setParent'](_0x5ee361)),_0x5ee361['length']+=_0x582be6['length'];}function _0x4e63ad(_0x1c637b,_0x1c5fbe,_0x4b36df){let _0x5b04f6=null,_0xdbeb81=-0x1,_0x16a52e=null,_0x3bda61=-0x1;!function _0x2f27b2(_0x13b40c,_0x4a2a1d){for(let _0x160acb=0x0,_0xca37f8=0x0;_0x160acb<_0x13b40c['children']['length']&&_0xca37f8<=_0x4a2a1d;_0x160acb++){let _0x5be81e=_0x13b40c['children'][_0x160acb],_0x5a4d4b=_0xca37f8+_0x5be81e['length'];_0x5a4d4b>=_0x4a2a1d&&(_0x5be81e['children']['length']?_0x2f27b2(_0x5be81e,_0x4a2a1d-_0xca37f8):(!_0x16a52e||_0x16a52e['isHidden']&&(_0x4b36df>0x0||_0x55aabf(_0x16a52e,_0x5be81e)))&&(_0x5a4d4b>_0x4a2a1d||_0xca37f8==_0x5a4d4b&&_0x5be81e['getSide']()>0x0)?(_0x16a52e=_0x5be81e,_0x3bda61=_0x4a2a1d-_0xca37f8):(_0xca37f8<_0x4a2a1d||_0xca37f8==_0x5a4d4b&&_0x5be81e['getSide']()<0x0&&!_0x5be81e['isHidden'])&&(_0x5b04f6=_0x5be81e,_0xdbeb81=_0x4a2a1d-_0xca37f8)),_0xca37f8=_0x5a4d4b;}}(_0x1c637b,_0x1c5fbe);let _0xfa4c32=(_0x4b36df<0x0?_0x5b04f6:_0x16a52e)||_0x5b04f6||_0x16a52e;return _0xfa4c32?_0xfa4c32['coordsAt'](Math['max'](0x0,_0xfa4c32==_0x5b04f6?_0xdbeb81:_0x3bda61),_0x4b36df):function(_0x5e7105){let _0x52c3d8=_0x5e7105['dom']['lastChild'];if(!_0x52c3d8)return _0x5e7105['dom']['getBoundingClientRect']();let _0x46d1ff=_0x1d99cd(_0x52c3d8);return _0x46d1ff[_0x46d1ff['length']-0x1]||null;}(_0x1c637b);}function _0x55aabf(_0xd0f747,_0x12934b){let _0x18be04=_0xd0f747['coordsAt'](0x0,0x1),_0x4bae27=_0x12934b['coordsAt'](0x0,0x1);return _0x18be04&&_0x4bae27&&_0x4bae27['top']<_0x18be04['bottom'];}function _0x758b91(_0x49229e,_0x1b05dd){for(let _0xc54fd2 in _0x49229e)'class'==_0xc54fd2&&_0x1b05dd['class']?_0x1b05dd['class']+='\x20'+_0x49229e['class']:'style'==_0xc54fd2&&_0x1b05dd['style']?_0x1b05dd['style']+=';'+_0x49229e['style']:_0x1b05dd[_0xc54fd2]=_0x49229e[_0xc54fd2];return _0x1b05dd;}TextView['prototype']['children']=WidgetView['prototype']['children']=WidgetBufferView['prototype']['children']=_0x1c06ce;const _0x5b8913=Object['create'](null);function _0x289fe7(_0x328f7e,_0x44f014,_0x435d52){if(_0x328f7e==_0x44f014)return!0x0;_0x328f7e||(_0x328f7e=_0x5b8913),_0x44f014||(_0x44f014=_0x5b8913);let _0x4687c4=Object['keys'](_0x328f7e),_0x1572ff=Object['keys'](_0x44f014);if(_0x4687c4['length']-(_0x435d52&&_0x4687c4['indexOf'](_0x435d52)>-0x1?0x1:0x0)!=_0x1572ff['length']-(_0x435d52&&_0x1572ff['indexOf'](_0x435d52)>-0x1?0x1:0x0))return!0x1;for(let _0x8ab88c of _0x4687c4)if(_0x8ab88c!=_0x435d52&&(-0x1==_0x1572ff['indexOf'](_0x8ab88c)||_0x328f7e[_0x8ab88c]!==_0x44f014[_0x8ab88c]))return!0x1;return!0x0;}function _0x211613(_0x555db3,_0x1ca92a,_0x349f53){let _0x1de254=!0x1;if(_0x1ca92a){for(let _0x3c0f71 in _0x1ca92a)_0x349f53&&_0x3c0f71 in _0x349f53||(_0x1de254=!0x0,'style'==_0x3c0f71?_0x555db3['style']['cssText']='':_0x555db3['removeAttribute'](_0x3c0f71));}if(_0x349f53){for(let _0x54267d in _0x349f53)_0x1ca92a&&_0x1ca92a[_0x54267d]==_0x349f53[_0x54267d]||(_0x1de254=!0x0,'style'==_0x54267d?_0x555db3['style']['cssText']=_0x349f53[_0x54267d]:_0x555db3['setAttribute'](_0x54267d,_0x349f53[_0x54267d]));}return _0x1de254;}function _0x38fb51(_0x14a243){let _0x262e34=Object['create'](null);for(let _0x7b704b=0x0;_0x7b704b<_0x14a243['attributes']['length'];_0x7b704b++){let _0x13e71f=_0x14a243['attributes'][_0x7b704b];_0x262e34[_0x13e71f['name']]=_0x13e71f['value'];}return _0x262e34;}class WidgetType{['eq'](_0x47a06f){return!0x1;}['updateDOM'](_0x37cd39,_0x235fb0){return!0x1;}['compare'](_0x203566){return this==_0x203566||this['constructor']==_0x203566['constructor']&&this['eq'](_0x203566);}get['estimatedHeight'](){return-0x1;}get['lineBreaks'](){return 0x0;}['ignoreEvent'](_0x2ebe84){return!0x0;}['coordsAt'](_0x510694,_0x1321a8,_0xfe069c){return null;}get['isHidden'](){return!0x1;}get['editable'](){return!0x1;}['destroy'](_0x38bb74){}}var _0x5cf05d=function(_0x5cc13d){return _0x5cc13d[_0x5cc13d['Text']=0x0]='Text',_0x5cc13d[_0x5cc13d['WidgetBefore']=0x1]='WidgetBefore',_0x5cc13d[_0x5cc13d['WidgetAfter']=0x2]='WidgetAfter',_0x5cc13d[_0x5cc13d['WidgetRange']=0x3]='WidgetRange',_0x5cc13d;}(_0x5cf05d||(_0x5cf05d={}));class Decoration extends _0x1b2e2e{constructor(_0x2dc2a6,_0x7d4557,_0x4e4775,_0x5badf6){super(),this['startSide']=_0x2dc2a6,this['endSide']=_0x7d4557,this['widget']=_0x4e4775,this['spec']=_0x5badf6;}get['heightRelevant'](){return!0x1;}static['mark'](_0x206b25){return new MarkDecoration(_0x206b25);}static['widget'](_0x3ad829){let _0x13b982=Math['max'](-0x2710,Math['min'](0x2710,_0x3ad829['side']||0x0)),_0x43bed3=!!_0x3ad829['block'];return _0x13b982+=_0x43bed3&&!_0x3ad829['inlineOrder']?_0x13b982>0x0?0x11e1a300:-0x17d78400:_0x13b982>0x0?0x5f5e100:-0x5f5e100,new PointDecoration(_0x3ad829,_0x13b982,_0x13b982,_0x43bed3,_0x3ad829['widget']||null,!0x1);}static['replace'](_0x1436d4){let _0x491420,_0x7a826c,_0x28e644=!!_0x1436d4['block'];if(_0x1436d4['isBlockGap'])_0x491420=-0x1dcd6500,_0x7a826c=0x17d78400;else{let {start:_0x154f92,end:_0x595e83}=_0x365e23(_0x1436d4,_0x28e644);_0x491420=(_0x154f92?_0x28e644?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x7a826c=0x1+(_0x595e83?_0x28e644?0xbebc200:0x1:-0x23c34600);}return new PointDecoration(_0x1436d4,_0x491420,_0x7a826c,_0x28e644,_0x1436d4['widget']||null,!0x0);}static['line'](_0x484cc5){return new LineDecoration(_0x484cc5);}static['set'](_0x5da186,_0x47e925=!0x1){return RangeSet['of'](_0x5da186,_0x47e925);}['hasHeight'](){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}}Decoration['none']=RangeSet['empty'];class MarkDecoration extends Decoration{constructor(_0x5273db){let {start:_0x5488ee,end:_0x570176}=_0x365e23(_0x5273db);super(_0x5488ee?-0x1:0x1dcd6500,_0x570176?0x1:-0x23c34600,null,_0x5273db),this['tagName']=_0x5273db['tagName']||'span',this['class']=_0x5273db['class']||'',this['attrs']=_0x5273db['attributes']||null;}['eq'](_0x222679){var _0x5d2669,_0x547ced;return this==_0x222679||_0x222679 instanceof MarkDecoration&&this['tagName']==_0x222679['tagName']&&(this['class']||(null===(_0x5d2669=this['attrs'])||void 0x0===_0x5d2669?void 0x0:_0x5d2669['class']))==(_0x222679['class']||(null===(_0x547ced=_0x222679['attrs'])||void 0x0===_0x547ced?void 0x0:_0x547ced['class']))&&_0x289fe7(this['attrs'],_0x222679['attrs'],'class');}['range'](_0x590451,_0x1b9f99=_0x590451){if(_0x590451>=_0x1b9f99)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0x590451,_0x1b9f99);}}MarkDecoration['prototype']['point']=!0x1;class LineDecoration extends Decoration{constructor(_0x449384){super(-0xbebc200,-0xbebc200,null,_0x449384);}['eq'](_0x3626de){return _0x3626de instanceof LineDecoration&&this['spec']['class']==_0x3626de['spec']['class']&&_0x289fe7(this['spec']['attributes'],_0x3626de['spec']['attributes']);}['range'](_0x5d68c7,_0x2f0142=_0x5d68c7){if(_0x2f0142!=_0x5d68c7)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0x5d68c7,_0x2f0142);}}LineDecoration['prototype']['mapMode']=_0x25b43e['TrackBefore'],LineDecoration['prototype']['point']=!0x0;class PointDecoration extends Decoration{constructor(_0x19cadb,_0x2cfd0c,_0x1bdfc1,_0x431700,_0x5c95f5,_0xc6cabb){super(_0x2cfd0c,_0x1bdfc1,_0x5c95f5,_0x19cadb),this['block']=_0x431700,this['isReplace']=_0xc6cabb,this['mapMode']=_0x431700?_0x2cfd0c<=0x0?_0x25b43e['TrackBefore']:_0x25b43e['TrackAfter']:_0x25b43e['TrackDel'];}get['type'](){return this['startSide']!=this['endSide']?_0x5cf05d['WidgetRange']:this['startSide']<=0x0?_0x5cf05d['WidgetBefore']:_0x5cf05d['WidgetAfter'];}get['heightRelevant'](){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0x47201d){return _0x47201d instanceof PointDecoration&&(_0x4b461f=this['widget'],_0xaf4fd=_0x47201d['widget'],_0x4b461f==_0xaf4fd||!!(_0x4b461f&&_0xaf4fd&&_0x4b461f['compare'](_0xaf4fd)))&&this['block']==_0x47201d['block']&&this['startSide']==_0x47201d['startSide']&&this['endSide']==_0x47201d['endSide'];var _0x4b461f,_0xaf4fd;}['range'](_0x2b803a,_0x180f73=_0x2b803a){if(this['isReplace']&&(_0x2b803a>_0x180f73||_0x2b803a==_0x180f73&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0x180f73!=_0x2b803a)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0x2b803a,_0x180f73);}}function _0x365e23(_0x2cb06c,_0x449bc6=!0x1){let {inclusiveStart:_0x1d4550,inclusiveEnd:_0x49b72a}=_0x2cb06c;return null==_0x1d4550&&(_0x1d4550=_0x2cb06c['inclusive']),null==_0x49b72a&&(_0x49b72a=_0x2cb06c['inclusive']),{'start':null!=_0x1d4550?_0x1d4550:_0x449bc6,'end':null!=_0x49b72a?_0x49b72a:_0x449bc6};}function _0x172e3f(_0x43525a,_0x245415,_0x197364,_0x196e0a=0x0){let _0x5d02b4=_0x197364['length']-0x1;_0x5d02b4>=0x0&&_0x197364[_0x5d02b4]+_0x196e0a>=_0x43525a?_0x197364[_0x5d02b4]=Math['max'](_0x197364[_0x5d02b4],_0x245415):_0x197364['push'](_0x43525a,_0x245415);}PointDecoration['prototype']['point']=!0x0;class _0x528f67 extends ContentView{constructor(){super(...arguments),this['children']=[],this['length']=0x0,this['prevAttrs']=void 0x0,this['attrs']=null,this['breakAfter']=0x0;}['merge'](_0x2fdcd1,_0x47e086,_0x20661a,_0x396b53,_0x215e73,_0x38207d){if(_0x20661a){if(!(_0x20661a instanceof _0x528f67))return!0x1;this['dom']||_0x20661a['transferDOM'](this);}return _0x396b53&&this['setDeco'](_0x20661a?_0x20661a['attrs']:null),_0x46ff3e(this,_0x2fdcd1,_0x47e086,_0x20661a?_0x20661a['children']['slice']():[],_0x215e73,_0x38207d),!0x0;}['split'](_0x368585){let _0x4ccaa4=new _0x528f67();if(_0x4ccaa4['breakAfter']=this['breakAfter'],0x0==this['length'])return _0x4ccaa4;let {i:_0x40d692,off:_0x1104ec}=this['childPos'](_0x368585);_0x1104ec&&(_0x4ccaa4['append'](this['children'][_0x40d692]['split'](_0x1104ec),0x0),this['children'][_0x40d692]['merge'](_0x1104ec,this['children'][_0x40d692]['length'],null,!0x1,0x0,0x0),_0x40d692++);for(let _0x3378fe=_0x40d692;_0x3378fe<this['children']['length'];_0x3378fe++)_0x4ccaa4['append'](this['children'][_0x3378fe],0x0);for(;_0x40d692>0x0&&0x0==this['children'][_0x40d692-0x1]['length'];)this['children'][--_0x40d692]['destroy']();return this['children']['length']=_0x40d692,this['markDirty'](),this['length']=_0x368585,_0x4ccaa4;}['transferDOM'](_0x4b9081){this['dom']&&(this['markDirty'](),_0x4b9081['setDOM'](this['dom']),_0x4b9081['prevAttrs']=void 0x0===this['prevAttrs']?this['attrs']:this['prevAttrs'],this['prevAttrs']=void 0x0,this['dom']=null);}['setDeco'](_0x56361b){_0x289fe7(this['attrs'],_0x56361b)||(this['dom']&&(this['prevAttrs']=this['attrs'],this['markDirty']()),this['attrs']=_0x56361b);}['append'](_0x1431c4,_0x226fe8){_0x47253f(this,_0x1431c4,_0x226fe8);}['addLineDeco'](_0x41867c){let _0x49312a=_0x41867c['spec']['attributes'],_0x2b2d42=_0x41867c['spec']['class'];_0x49312a&&(this['attrs']=_0x758b91(_0x49312a,this['attrs']||{})),_0x2b2d42&&(this['attrs']=_0x758b91({'class':_0x2b2d42},this['attrs']||{}));}['domAtPos'](_0x14f6ff){return _0x478244(this,_0x14f6ff);}['reuseDOM'](_0x7e8e5d){'DIV'==_0x7e8e5d['nodeName']&&(this['setDOM'](_0x7e8e5d),this['flags']|=0x6);}['sync'](_0xf36858,_0x4dc266){var _0x36bc7e;this['dom']?0x4&this['flags']&&(_0x250299(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']&&(_0x211613(this['dom'],this['prevAttrs'],this['attrs']),this['dom']['classList']['add']('cm-line'),this['prevAttrs']=void 0x0),super['sync'](_0xf36858,_0x4dc266);let _0x252c1e=this['dom']['lastChild'];for(;_0x252c1e&&ContentView['get'](_0x252c1e)instanceof _0x2a2502;)_0x252c1e=_0x252c1e['lastChild'];if(!(_0x252c1e&&this['length']&&('BR'==_0x252c1e['nodeName']||0x0!=(null===(_0x36bc7e=ContentView['get'](_0x252c1e))||void 0x0===_0x36bc7e?void 0x0:_0x36bc7e['isEditable'])||_0xe49063['ios']&&this['children']['some'](_0x6d420c=>_0x6d420c instanceof TextView)))){let _0x52a24d=document['createElement']('BR');_0x52a24d['cmIgnore']=!0x0,this['dom']['appendChild'](_0x52a24d);}}['measureTextSize'](){if(0x0==this['children']['length']||this['length']>0x14)return null;let _0x44c8df,_0x2be6c0=0x0;for(let _0x630f2 of this['children']){if(!(_0x630f2 instanceof TextView)||/[^ -~]/['test'](_0x630f2['text']))return null;let _0x3c31ca=_0x1d99cd(_0x630f2['dom']);if(0x1!=_0x3c31ca['length'])return null;_0x2be6c0+=_0x3c31ca[0x0]['width'],_0x44c8df=_0x3c31ca[0x0]['height'];}return _0x2be6c0?{'lineHeight':this['dom']['getBoundingClientRect']()['height'],'charWidth':_0x2be6c0/this['length'],'textHeight':_0x44c8df}:null;}['coordsAt'](_0x48c732,_0x55e472){let _0x16e8bd=_0x4e63ad(this,_0x48c732,_0x55e472);if(!this['children']['length']&&_0x16e8bd&&this['parent']){let {heightOracle:_0x39650b}=this['parent']['view']['viewState'],_0x518e6b=_0x16e8bd['bottom']-_0x16e8bd['top'];if(Math['abs'](_0x518e6b-_0x39650b['lineHeight'])<0x2&&_0x39650b['textHeight']<_0x518e6b){let _0x4fd40b=(_0x518e6b-_0x39650b['textHeight'])/0x2;return{'top':_0x16e8bd['top']+_0x4fd40b,'bottom':_0x16e8bd['bottom']-_0x4fd40b,'left':_0x16e8bd['left'],'right':_0x16e8bd['left']};}}return _0x16e8bd;}['become'](_0x1103b3){return _0x1103b3 instanceof _0x528f67&&0x0==this['children']['length']&&0x0==_0x1103b3['children']['length']&&_0x289fe7(this['attrs'],_0x1103b3['attrs'])&&this['breakAfter']==_0x1103b3['breakAfter'];}['covers'](){return!0x0;}static['find'](_0x484b2e,_0x218c0b){for(let _0x5c1de9=0x0,_0x52f38d=0x0;_0x5c1de9<_0x484b2e['children']['length'];_0x5c1de9++){let _0x3d753f=_0x484b2e['children'][_0x5c1de9],_0x5db9e6=_0x52f38d+_0x3d753f['length'];if(_0x5db9e6>=_0x218c0b){if(_0x3d753f instanceof _0x528f67)return _0x3d753f;if(_0x5db9e6>_0x218c0b)break;}_0x52f38d=_0x5db9e6+_0x3d753f['breakAfter'];}return null;}}class BlockWidgetView extends ContentView{constructor(_0xb412e2,_0xf591c9,_0x256293){super(),this['widget']=_0xb412e2,this['length']=_0xf591c9,this['deco']=_0x256293,this['breakAfter']=0x0,this['prevWidget']=null;}['merge'](_0x21e2a6,_0x33c472,_0x4368f2,_0x35e948,_0x217ce4,_0x41bb74){return!(_0x4368f2&&(!(_0x4368f2 instanceof BlockWidgetView&&this['widget']['compare'](_0x4368f2['widget']))||_0x21e2a6>0x0&&_0x217ce4<=0x0||_0x33c472<this['length']&&_0x41bb74<=0x0))&&(this['length']=_0x21e2a6+(_0x4368f2?_0x4368f2['length']:0x0)+(this['length']-_0x33c472),!0x0);}['domAtPos'](_0x136f67){return 0x0==_0x136f67?_0x4fe383['before'](this['dom']):_0x4fe383['after'](this['dom'],_0x136f67==this['length']);}['split'](_0x238faf){let _0x503eee=this['length']-_0x238faf;this['length']=_0x238faf;let _0x56ca26=new BlockWidgetView(this['widget'],_0x503eee,this['deco']);return _0x56ca26['breakAfter']=this['breakAfter'],_0x56ca26;}get['children'](){return _0x1c06ce;}['sync'](_0x32093c){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x32093c)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x32093c)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}get['overrideDOMText'](){return this['parent']?this['parent']['view']['state']['doc']['slice'](this['posAtStart'],this['posAtEnd']):_0x5681fe['empty'];}['domBoundsAround'](){return null;}['become'](_0x40514d){return _0x40514d instanceof BlockWidgetView&&_0x40514d['widget']['constructor']==this['widget']['constructor']&&(_0x40514d['widget']['compare'](this['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x40514d['widget'],this['length']=_0x40514d['length'],this['deco']=_0x40514d['deco'],this['breakAfter']=_0x40514d['breakAfter'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x4ae4ad){return this['widget']['ignoreEvent'](_0x4ae4ad);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}['coordsAt'](_0x49728e,_0x8d32f6){let _0x31e9ef=this['widget']['coordsAt'](this['dom'],_0x49728e,_0x8d32f6);return _0x31e9ef||(this['widget']instanceof BlockGapWidget?null:_0x4d6e81(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0x49728e:_0x8d32f6<=0x0));}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}['covers'](_0x3a80bd){let {startSide:_0x3c689e,endSide:_0x3c1c84}=this['deco'];return _0x3c689e!=_0x3c1c84&&(_0x3a80bd<0x0?_0x3c689e<0x0:_0x3c1c84>0x0);}}class BlockGapWidget extends WidgetType{constructor(_0x4b8064){super(),this['height']=_0x4b8064;}['toDOM'](){let _0x45cd82=document['createElement']('div');return _0x45cd82['className']='cm-gap',this['updateDOM'](_0x45cd82),_0x45cd82;}['eq'](_0x5ba0a4){return _0x5ba0a4['height']==this['height'];}['updateDOM'](_0x44dbd8){return _0x44dbd8['style']['height']=this['height']+'px',!0x0;}get['editable'](){return!0x0;}get['estimatedHeight'](){return this['height'];}['ignoreEvent'](){return!0x1;}}class ContentBuilder{constructor(_0x513b53,_0x1e0349,_0x1946d7,_0x297d2b){this['doc']=_0x513b53,this['pos']=_0x1e0349,this['end']=_0x1946d7,this['disallowBlockEffectsFor']=_0x297d2b,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']=_0x513b53['iter'](),this['skip']=_0x1e0349;}['posCovered'](){if(0x0==this['content']['length'])return!this['breakAtStart']&&this['doc']['lineAt'](this['pos'])['from']!=this['pos'];let _0x49edba=this['content'][this['content']['length']-0x1];return!(_0x49edba['breakAfter']||_0x49edba instanceof BlockWidgetView&&_0x49edba['deco']['endSide']<0x0);}['getLine'](){return this['curLine']||(this['content']['push'](this['curLine']=new _0x528f67()),this['atCursorPos']=!0x0),this['curLine'];}['flushBuffer'](_0x52e5d5=this['bufferMarks']){this['pendingBuffer']&&(this['curLine']['append'](_0x1b702f(new WidgetBufferView(-0x1),_0x52e5d5),_0x52e5d5['length']),this['pendingBuffer']=0x0);}['addBlockWidget'](_0x41c690){this['flushBuffer'](),this['curLine']=null,this['content']['push'](_0x41c690);}['finish'](_0x391a51){this['pendingBuffer']&&_0x391a51<=this['bufferMarks']['length']?this['flushBuffer']():this['pendingBuffer']=0x0,this['posCovered']()||_0x391a51&&this['content']['length']&&this['content'][this['content']['length']-0x1]instanceof BlockWidgetView||this['getLine']();}['buildText'](_0x201ef0,_0x3b9355,_0x41940f){for(;_0x201ef0>0x0;){if(this['textOff']==this['text']['length']){let {value:_0x36016b,lineBreak:_0x418dea,done:_0x4cf813}=this['cursor']['next'](this['skip']);if(this['skip']=0x0,_0x4cf813)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');if(_0x418dea){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,_0x201ef0--;continue;}this['text']=_0x36016b,this['textOff']=0x0;}let _0x1c7d93=Math['min'](this['text']['length']-this['textOff'],_0x201ef0),_0x3aac6c=Math['min'](_0x1c7d93,0x200);this['flushBuffer'](_0x3b9355['slice'](_0x3b9355['length']-_0x41940f)),this['getLine']()['append'](_0x1b702f(new TextView(this['text']['slice'](this['textOff'],this['textOff']+_0x3aac6c)),_0x3b9355),_0x41940f),this['atCursorPos']=!0x0,this['textOff']+=_0x3aac6c,_0x201ef0-=_0x3aac6c,_0x41940f=_0x1c7d93<=_0x3aac6c?0x0:_0x3b9355['length'];}}['span'](_0x25c029,_0x19a401,_0x5b4dd5,_0x340f50){this['buildText'](_0x19a401-_0x25c029,_0x5b4dd5,_0x340f50),this['pos']=_0x19a401,this['openStart']<0x0&&(this['openStart']=_0x340f50);}['point'](_0x1f3b05,_0x1525b1,_0x1f123c,_0x1258d0,_0x5eb63a,_0x2d3989){if(this['disallowBlockEffectsFor'][_0x2d3989]&&_0x1f123c instanceof PointDecoration){if(_0x1f123c['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0x1525b1>this['doc']['lineAt'](this['pos'])['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}let _0x350645=_0x1525b1-_0x1f3b05;if(_0x1f123c instanceof PointDecoration){if(_0x1f123c['block'])_0x1f123c['startSide']>0x0&&!this['posCovered']()&&this['getLine'](),this['addBlockWidget'](new BlockWidgetView(_0x1f123c['widget']||NullWidget['block'],_0x350645,_0x1f123c));else{let _0x192eb2=WidgetView['create'](_0x1f123c['widget']||NullWidget['inline'],_0x350645,_0x350645?0x0:_0x1f123c['startSide']),_0x112fb0=this['atCursorPos']&&!_0x192eb2['isEditable']&&_0x5eb63a<=_0x1258d0['length']&&(_0x1f3b05<_0x1525b1||_0x1f123c['startSide']>0x0),_0x4c9cb2=!_0x192eb2['isEditable']&&(_0x1f3b05<_0x1525b1||_0x5eb63a>_0x1258d0['length']||_0x1f123c['startSide']<=0x0),_0x17683a=this['getLine']();0x2!=this['pendingBuffer']||_0x112fb0||_0x192eb2['isEditable']||(this['pendingBuffer']=0x0),this['flushBuffer'](_0x1258d0),_0x112fb0&&(_0x17683a['append'](_0x1b702f(new WidgetBufferView(0x1),_0x1258d0),_0x5eb63a),_0x5eb63a=_0x1258d0['length']+Math['max'](0x0,_0x5eb63a-_0x1258d0['length'])),_0x17683a['append'](_0x1b702f(_0x192eb2,_0x1258d0),_0x5eb63a),this['atCursorPos']=_0x4c9cb2,this['pendingBuffer']=_0x4c9cb2?_0x1f3b05<_0x1525b1||_0x5eb63a>_0x1258d0['length']?0x1:0x2:0x0,this['pendingBuffer']&&(this['bufferMarks']=_0x1258d0['slice']());}}else this['doc']['lineAt'](this['pos'])['from']==this['pos']&&this['getLine']()['addLineDeco'](_0x1f123c);_0x350645&&(this['textOff']+_0x350645<=this['text']['length']?this['textOff']+=_0x350645:(this['skip']+=_0x350645-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0),this['pos']=_0x1525b1),this['openStart']<0x0&&(this['openStart']=_0x5eb63a);}static['build'](_0x4abef4,_0x3aac74,_0x345d03,_0x58451e,_0x3edc8c){let _0x231ce0=new ContentBuilder(_0x4abef4,_0x3aac74,_0x345d03,_0x3edc8c);return _0x231ce0['openEnd']=RangeSet['spans'](_0x58451e,_0x3aac74,_0x345d03,_0x231ce0),_0x231ce0['openStart']<0x0&&(_0x231ce0['openStart']=_0x231ce0['openEnd']),_0x231ce0['finish'](_0x231ce0['openEnd']),_0x231ce0;}}function _0x1b702f(_0x565596,_0x3b6665){for(let _0x4056e7 of _0x3b6665)_0x565596=new _0x2a2502(_0x4056e7,[_0x565596],_0x565596['length']);return _0x565596;}class NullWidget extends WidgetType{constructor(_0x331b45){super(),this['tag']=_0x331b45;}['eq'](_0x40bd43){return _0x40bd43['tag']==this['tag'];}['toDOM'](){return document['createElement'](this['tag']);}['updateDOM'](_0x12857e){return _0x12857e['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}}NullWidget['inline']=new NullWidget('span'),NullWidget['block']=new NullWidget('div');var _0x590046=function(_0x44076d){return _0x44076d[_0x44076d['LTR']=0x0]='LTR',_0x44076d[_0x44076d['RTL']=0x1]='RTL',_0x44076d;}(_0x590046||(_0x590046={}));const _0x29fc42=_0x590046['LTR'],_0x35f665=_0x590046['RTL'];function _0x2f5ad7(_0x39360b){let _0x58ca0c=[];for(let _0x39845b=0x0;_0x39845b<_0x39360b['length'];_0x39845b++)_0x58ca0c['push'](0x1<<+_0x39360b[_0x39845b]);return _0x58ca0c;}const _0x6feab9=_0x2f5ad7('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),_0x329e07=_0x2f5ad7('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),_0x1cd231=Object['create'](null),_0x4d26b6=[];for(let _0x43c719 of['()','[]','{}']){let _0x50fe85=_0x43c719['charCodeAt'](0x0),_0x5300d5=_0x43c719['charCodeAt'](0x1);_0x1cd231[_0x50fe85]=_0x5300d5,_0x1cd231[_0x5300d5]=-_0x50fe85;}function _0x48a912(_0x11a3cb){return _0x11a3cb<=0xf7?_0x6feab9[_0x11a3cb]:0x590<=_0x11a3cb&&_0x11a3cb<=0x5f4?0x2:0x600<=_0x11a3cb&&_0x11a3cb<=0x6f9?_0x329e07[_0x11a3cb-0x600]:0x6ee<=_0x11a3cb&&_0x11a3cb<=0x8ac?0x4:0x2000<=_0x11a3cb&&_0x11a3cb<=0x200c?0x100:0xfb50<=_0x11a3cb&&_0x11a3cb<=0xfdff?0x4:0x1;}const _0x4462e7=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class _0x41f5fe{get['dir'](){return this['level']%0x2?_0x35f665:_0x29fc42;}constructor(_0x1de1e7,_0x2a0bbb,_0x28e66b){this['from']=_0x1de1e7,this['to']=_0x2a0bbb,this['level']=_0x28e66b;}['side'](_0x5c1e18,_0x33abce){return this['dir']==_0x33abce==_0x5c1e18?this['to']:this['from'];}['forward'](_0x2b45a8,_0x2af19b){return _0x2b45a8==(this['dir']==_0x2af19b);}static['find'](_0x98aef0,_0x447bcf,_0x42dc8d,_0x4e8a86){let _0x53a1d8=-0x1;for(let _0x3cf8c4=0x0;_0x3cf8c4<_0x98aef0['length'];_0x3cf8c4++){let _0x491a90=_0x98aef0[_0x3cf8c4];if(_0x491a90['from']<=_0x447bcf&&_0x491a90['to']>=_0x447bcf){if(_0x491a90['level']==_0x42dc8d)return _0x3cf8c4;(_0x53a1d8<0x0||(0x0!=_0x4e8a86?_0x4e8a86<0x0?_0x491a90['from']<_0x447bcf:_0x491a90['to']>_0x447bcf:_0x98aef0[_0x53a1d8]['level']>_0x491a90['level']))&&(_0x53a1d8=_0x3cf8c4);}}if(_0x53a1d8<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0x53a1d8;}}function _0x27f322(_0x33a86b,_0x5a128f){if(_0x33a86b['length']!=_0x5a128f['length'])return!0x1;for(let _0x30c6ce=0x0;_0x30c6ce<_0x33a86b['length'];_0x30c6ce++){let _0x4a3356=_0x33a86b[_0x30c6ce],_0x1efa8d=_0x5a128f[_0x30c6ce];if(_0x4a3356['from']!=_0x1efa8d['from']||_0x4a3356['to']!=_0x1efa8d['to']||_0x4a3356['direction']!=_0x1efa8d['direction']||!_0x27f322(_0x4a3356['inner'],_0x1efa8d['inner']))return!0x1;}return!0x0;}const _0x5b0242=[];function _0x383935(_0x5e6165,_0x19803e,_0x1e32eb,_0x78de6b,_0x56b6f2,_0x8933b9,_0x428663){let _0x19a34c=_0x78de6b%0x2?0x2:0x1;if(_0x78de6b%0x2==_0x56b6f2%0x2)for(let _0x22d13c=_0x19803e,_0xe7c290=0x0;_0x22d13c<_0x1e32eb;){let _0x43c380=!0x0,_0x2cbce8=!0x1;if(_0xe7c290==_0x8933b9['length']||_0x22d13c<_0x8933b9[_0xe7c290]['from']){let _0x255c6e=_0x5b0242[_0x22d13c];_0x255c6e!=_0x19a34c&&(_0x43c380=!0x1,_0x2cbce8=0x10==_0x255c6e);}let _0x58a88c=_0x43c380||0x1!=_0x19a34c?null:[],_0x1cad23=_0x43c380?_0x78de6b:_0x78de6b+0x1,_0x517451=_0x22d13c;t:for(;;)if(_0xe7c290<_0x8933b9['length']&&_0x517451==_0x8933b9[_0xe7c290]['from']){if(_0x2cbce8)break t;let _0x4f3a1c=_0x8933b9[_0xe7c290];if(!_0x43c380)for(let _0x3ac38d=_0x4f3a1c['to'],_0x33f543=_0xe7c290+0x1;;){if(_0x3ac38d==_0x1e32eb)break t;if(!(_0x33f543<_0x8933b9['length']&&_0x8933b9[_0x33f543]['from']==_0x3ac38d)){if(_0x5b0242[_0x3ac38d]==_0x19a34c)break t;break;}_0x3ac38d=_0x8933b9[_0x33f543++]['to'];}if(_0xe7c290++,_0x58a88c)_0x58a88c['push'](_0x4f3a1c);else _0x4f3a1c['from']>_0x22d13c&&_0x428663['push'](new _0x41f5fe(_0x22d13c,_0x4f3a1c['from'],_0x1cad23)),_0x12b1d0(_0x5e6165,_0x4f3a1c['direction']==_0x29fc42!=!(_0x1cad23%0x2)?_0x78de6b+0x1:_0x78de6b,_0x56b6f2,_0x4f3a1c['inner'],_0x4f3a1c['from'],_0x4f3a1c['to'],_0x428663),_0x22d13c=_0x4f3a1c['to'];_0x517451=_0x4f3a1c['to'];}else{if(_0x517451==_0x1e32eb||(_0x43c380?_0x5b0242[_0x517451]!=_0x19a34c:_0x5b0242[_0x517451]==_0x19a34c))break;_0x517451++;}_0x58a88c?_0x383935(_0x5e6165,_0x22d13c,_0x517451,_0x78de6b+0x1,_0x56b6f2,_0x58a88c,_0x428663):_0x22d13c<_0x517451&&_0x428663['push'](new _0x41f5fe(_0x22d13c,_0x517451,_0x1cad23)),_0x22d13c=_0x517451;}else for(let _0xb6cbe=_0x1e32eb,_0x51cad3=_0x8933b9['length'];_0xb6cbe>_0x19803e;){let _0x3cd83d=!0x0,_0x2c33e7=!0x1;if(!_0x51cad3||_0xb6cbe>_0x8933b9[_0x51cad3-0x1]['to']){let _0x5eb845=_0x5b0242[_0xb6cbe-0x1];_0x5eb845!=_0x19a34c&&(_0x3cd83d=!0x1,_0x2c33e7=0x10==_0x5eb845);}let _0x205f00=_0x3cd83d||0x1!=_0x19a34c?null:[],_0x406ba8=_0x3cd83d?_0x78de6b:_0x78de6b+0x1,_0xafb14f=_0xb6cbe;t:for(;;)if(_0x51cad3&&_0xafb14f==_0x8933b9[_0x51cad3-0x1]['to']){if(_0x2c33e7)break t;let _0x56027e=_0x8933b9[--_0x51cad3];if(!_0x3cd83d)for(let _0x2e7dfb=_0x56027e['from'],_0x4ed01c=_0x51cad3;;){if(_0x2e7dfb==_0x19803e)break t;if(!_0x4ed01c||_0x8933b9[_0x4ed01c-0x1]['to']!=_0x2e7dfb){if(_0x5b0242[_0x2e7dfb-0x1]==_0x19a34c)break t;break;}_0x2e7dfb=_0x8933b9[--_0x4ed01c]['from'];}if(_0x205f00)_0x205f00['push'](_0x56027e);else _0x56027e['to']<_0xb6cbe&&_0x428663['push'](new _0x41f5fe(_0x56027e['to'],_0xb6cbe,_0x406ba8)),_0x12b1d0(_0x5e6165,_0x56027e['direction']==_0x29fc42!=!(_0x406ba8%0x2)?_0x78de6b+0x1:_0x78de6b,_0x56b6f2,_0x56027e['inner'],_0x56027e['from'],_0x56027e['to'],_0x428663),_0xb6cbe=_0x56027e['from'];_0xafb14f=_0x56027e['from'];}else{if(_0xafb14f==_0x19803e||(_0x3cd83d?_0x5b0242[_0xafb14f-0x1]!=_0x19a34c:_0x5b0242[_0xafb14f-0x1]==_0x19a34c))break;_0xafb14f--;}_0x205f00?_0x383935(_0x5e6165,_0xafb14f,_0xb6cbe,_0x78de6b+0x1,_0x56b6f2,_0x205f00,_0x428663):_0xafb14f<_0xb6cbe&&_0x428663['push'](new _0x41f5fe(_0xafb14f,_0xb6cbe,_0x406ba8)),_0xb6cbe=_0xafb14f;}}function _0x12b1d0(_0x335d45,_0x42c539,_0x5758d3,_0x35398c,_0x40f026,_0x5bde0d,_0x125644){let _0x4db727=_0x42c539%0x2?0x2:0x1;!function(_0x47d656,_0x35290a,_0x2dffd1,_0x328868,_0x4fe08c){for(let _0x3dce53=0x0;_0x3dce53<=_0x328868['length'];_0x3dce53++){let _0x510525=_0x3dce53?_0x328868[_0x3dce53-0x1]['to']:_0x35290a,_0x37efa2=_0x3dce53<_0x328868['length']?_0x328868[_0x3dce53]['from']:_0x2dffd1,_0x841f6a=_0x3dce53?0x100:_0x4fe08c;for(let _0x295966=_0x510525,_0xb71ad8=_0x841f6a,_0xd3e558=_0x841f6a;_0x295966<_0x37efa2;_0x295966++){let _0x5aa8be=_0x48a912(_0x47d656['charCodeAt'](_0x295966));0x200==_0x5aa8be?_0x5aa8be=_0xb71ad8:0x8==_0x5aa8be&&0x4==_0xd3e558&&(_0x5aa8be=0x10),_0x5b0242[_0x295966]=0x4==_0x5aa8be?0x2:_0x5aa8be,0x7&_0x5aa8be&&(_0xd3e558=_0x5aa8be),_0xb71ad8=_0x5aa8be;}for(let _0x93e819=_0x510525,_0x51fa37=_0x841f6a,_0x4e46f2=_0x841f6a;_0x93e819<_0x37efa2;_0x93e819++){let _0x314688=_0x5b0242[_0x93e819];if(0x80==_0x314688)_0x93e819<_0x37efa2-0x1&&_0x51fa37==_0x5b0242[_0x93e819+0x1]&&0x18&_0x51fa37?_0x314688=_0x5b0242[_0x93e819]=_0x51fa37:_0x5b0242[_0x93e819]=0x100;else{if(0x40==_0x314688){let _0x1792cf=_0x93e819+0x1;for(;_0x1792cf<_0x37efa2&&0x40==_0x5b0242[_0x1792cf];)_0x1792cf++;let _0x2769d7=_0x93e819&&0x8==_0x51fa37||_0x1792cf<_0x2dffd1&&0x8==_0x5b0242[_0x1792cf]?0x1==_0x4e46f2?0x1:0x8:0x100;for(let _0x23f5e3=_0x93e819;_0x23f5e3<_0x1792cf;_0x23f5e3++)_0x5b0242[_0x23f5e3]=_0x2769d7;_0x93e819=_0x1792cf-0x1;}else 0x8==_0x314688&&0x1==_0x4e46f2&&(_0x5b0242[_0x93e819]=0x1);}_0x51fa37=_0x314688,0x7&_0x314688&&(_0x4e46f2=_0x314688);}}}(_0x335d45,_0x40f026,_0x5bde0d,_0x35398c,_0x4db727),function(_0x3d6ce1,_0x254f0a,_0x14796b,_0x463b3a,_0x130d50){let _0x239f5a=0x1==_0x130d50?0x2:0x1;for(let _0x552d43=0x0,_0x120115=0x0,_0xe15ccf=0x0;_0x552d43<=_0x463b3a['length'];_0x552d43++){let _0x454ad6=_0x552d43?_0x463b3a[_0x552d43-0x1]['to']:_0x254f0a,_0x8a7459=_0x552d43<_0x463b3a['length']?_0x463b3a[_0x552d43]['from']:_0x14796b;for(let _0xf10926,_0x30dca3,_0xda907f,_0x50f0f1=_0x454ad6;_0x50f0f1<_0x8a7459;_0x50f0f1++)if(_0x30dca3=_0x1cd231[_0xf10926=_0x3d6ce1['charCodeAt'](_0x50f0f1)]){if(_0x30dca3<0x0){for(let _0x26d8a2=_0x120115-0x3;_0x26d8a2>=0x0;_0x26d8a2-=0x3)if(_0x4d26b6[_0x26d8a2+0x1]==-_0x30dca3){let _0x27e8ec=_0x4d26b6[_0x26d8a2+0x2],_0x118d68=0x2&_0x27e8ec?_0x130d50:0x4&_0x27e8ec?0x1&_0x27e8ec?_0x239f5a:_0x130d50:0x0;_0x118d68&&(_0x5b0242[_0x50f0f1]=_0x5b0242[_0x4d26b6[_0x26d8a2]]=_0x118d68),_0x120115=_0x26d8a2;break;}}else{if(0xbd==_0x4d26b6['length'])break;_0x4d26b6[_0x120115++]=_0x50f0f1,_0x4d26b6[_0x120115++]=_0xf10926,_0x4d26b6[_0x120115++]=_0xe15ccf;}}else{if(0x2==(_0xda907f=_0x5b0242[_0x50f0f1])||0x1==_0xda907f){let _0x1eff23=_0xda907f==_0x130d50;_0xe15ccf=_0x1eff23?0x0:0x1;for(let _0x29f2f3=_0x120115-0x3;_0x29f2f3>=0x0;_0x29f2f3-=0x3){let _0xc72716=_0x4d26b6[_0x29f2f3+0x2];if(0x2&_0xc72716)break;if(_0x1eff23)_0x4d26b6[_0x29f2f3+0x2]|=0x2;else{if(0x4&_0xc72716)break;_0x4d26b6[_0x29f2f3+0x2]|=0x4;}}}}}}(_0x335d45,_0x40f026,_0x5bde0d,_0x35398c,_0x4db727),function(_0x2eacbb,_0x252294,_0x1e21ba,_0x35addb){for(let _0x518277=0x0,_0x73498a=_0x35addb;_0x518277<=_0x1e21ba['length'];_0x518277++){let _0x2d739f=_0x518277?_0x1e21ba[_0x518277-0x1]['to']:_0x2eacbb,_0x2aad9c=_0x518277<_0x1e21ba['length']?_0x1e21ba[_0x518277]['from']:_0x252294;for(let _0x1122b9=_0x2d739f;_0x1122b9<_0x2aad9c;){let _0x2ded39=_0x5b0242[_0x1122b9];if(0x100==_0x2ded39){let _0x374046=_0x1122b9+0x1;for(;;)if(_0x374046==_0x2aad9c){if(_0x518277==_0x1e21ba['length'])break;_0x374046=_0x1e21ba[_0x518277++]['to'],_0x2aad9c=_0x518277<_0x1e21ba['length']?_0x1e21ba[_0x518277]['from']:_0x252294;}else{if(0x100!=_0x5b0242[_0x374046])break;_0x374046++;}let _0x36e06b=0x1==_0x73498a,_0x2f608d=_0x36e06b==(0x1==(_0x374046<_0x252294?_0x5b0242[_0x374046]:_0x35addb))?_0x36e06b?0x1:0x2:_0x35addb;for(let _0x2864ec=_0x374046,_0x3c6bc7=_0x518277,_0x2280d4=_0x3c6bc7?_0x1e21ba[_0x3c6bc7-0x1]['to']:_0x2eacbb;_0x2864ec>_0x1122b9;)_0x2864ec==_0x2280d4&&(_0x2864ec=_0x1e21ba[--_0x3c6bc7]['from'],_0x2280d4=_0x3c6bc7?_0x1e21ba[_0x3c6bc7-0x1]['to']:_0x2eacbb),_0x5b0242[--_0x2864ec]=_0x2f608d;_0x1122b9=_0x374046;}else _0x73498a=_0x2ded39,_0x1122b9++;}}}(_0x40f026,_0x5bde0d,_0x35398c,_0x4db727),_0x383935(_0x335d45,_0x40f026,_0x5bde0d,_0x42c539,_0x5758d3,_0x35398c,_0x125644);}function tb(_0x5d2290){return[new _0x41f5fe(0x0,_0x5d2290,0x0)];}let _0x26909a='';function _0x19fda0(_0xb7826f,_0x2c54d2,_0x46abbf,_0x4073b9,_0x342611){var _0x592c76;let _0x901205=_0x4073b9['head']-_0xb7826f['from'],_0x3be19d=_0x41f5fe['find'](_0x2c54d2,_0x901205,null!==(_0x592c76=_0x4073b9['bidiLevel'])&&void 0x0!==_0x592c76?_0x592c76:-0x1,_0x4073b9['assoc']),_0x501119=_0x2c54d2[_0x3be19d],_0x4c4e94=_0x501119['side'](_0x342611,_0x46abbf);if(_0x901205==_0x4c4e94){let _0x3a2db5=_0x3be19d+=_0x342611?0x1:-0x1;if(_0x3a2db5<0x0||_0x3a2db5>=_0x2c54d2['length'])return null;_0x501119=_0x2c54d2[_0x3be19d=_0x3a2db5],_0x901205=_0x501119['side'](!_0x342611,_0x46abbf),_0x4c4e94=_0x501119['side'](_0x342611,_0x46abbf);}let _0x9ae557=_0x5da76b(_0xb7826f['text'],_0x901205,_0x501119['forward'](_0x342611,_0x46abbf));(_0x9ae557<_0x501119['from']||_0x9ae557>_0x501119['to'])&&(_0x9ae557=_0x4c4e94),_0x26909a=_0xb7826f['text']['slice'](Math['min'](_0x901205,_0x9ae557),Math['max'](_0x901205,_0x9ae557));let _0x80c167=_0x3be19d==(_0x342611?_0x2c54d2['length']-0x1:0x0)?null:_0x2c54d2[_0x3be19d+(_0x342611?0x1:-0x1)];return _0x80c167&&_0x9ae557==_0x4c4e94&&_0x80c167['level']+(_0x342611?0x0:0x1)<_0x501119['level']?EditorSelection['cursor'](_0x80c167['side'](!_0x342611,_0x46abbf)+_0xb7826f['from'],_0x80c167['forward'](_0x342611,_0x46abbf)?0x1:-0x1,_0x80c167['level']):EditorSelection['cursor'](_0x9ae557+_0xb7826f['from'],_0x501119['forward'](_0x342611,_0x46abbf)?-0x1:0x1,_0x501119['level']);}function _0x150b4f(_0x116a47,_0x21bbc9,_0x576f17){for(let _0x493acd=_0x21bbc9;_0x493acd<_0x576f17;_0x493acd++){let _0x33a344=_0x48a912(_0x116a47['charCodeAt'](_0x493acd));if(0x1==_0x33a344)return _0x29fc42;if(0x2==_0x33a344||0x4==_0x33a344)return _0x35f665;}return _0x29fc42;}const _0x287b9b=Facet['define'](),_0x82b64=Facet['define'](),_0xd7632c=Facet['define'](),_0x5a479b=Facet['define'](),_0x302268=Facet['define'](),_0x5cf6d6=Facet['define'](),_0x134a50=Facet['define'](),_0x1311bc=Facet['define'](),_0x18cc28=Facet['define'](),_0x4dd936=Facet['define']({'combine':_0x13a9df=>_0x13a9df['some'](_0x175e9f=>_0x175e9f)}),_0x4a594d=Facet['define']({'combine':_0x183d0e=>_0x183d0e['some'](_0x55d261=>_0x55d261)}),_0x567683=Facet['define']();class ScrollTarget{constructor(_0x359ad8,_0x49f50a='nearest',_0x2d1a1d='nearest',_0x3c40dc=0x5,_0xfb20c7=0x5,_0x167b42=!0x1){this['range']=_0x359ad8,this['y']=_0x49f50a,this['x']=_0x2d1a1d,this['yMargin']=_0x3c40dc,this['xMargin']=_0xfb20c7,this['isSnapshot']=_0x167b42;}['map'](_0x5c15a3){return _0x5c15a3['empty']?this:new ScrollTarget(this['range']['map'](_0x5c15a3),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0x439389){return this['range']['to']<=_0x439389['doc']['length']?this:new ScrollTarget(EditorSelection['cursor'](_0x439389['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}}const _0x56f0ab=StateEffect['define']({'map':(t,_0x444fe7)=>t['map'](_0x444fe7)}),_0x26bf3a=StateEffect['define']();function _0x817679(_0x549ee5,_0x36cfcc,_0x4f8bd3){let _0x29fa9b=_0x549ee5['facet'](_0x5a479b);_0x29fa9b['length']?_0x29fa9b[0x0](_0x36cfcc):window['onerror']&&window['onerror'](String(_0x36cfcc),_0x4f8bd3,void 0x0,void 0x0,_0x36cfcc)||(_0x4f8bd3?console['error'](_0x4f8bd3+':',_0x36cfcc):console['error'](_0x36cfcc));}const _0x19cf30=Facet['define']({'combine':_0x5479c4=>!_0x5479c4['length']||_0x5479c4[0x0]});let _0x54472e=0x0;const _0x4aa6bd=Facet['define']({'combine':_0x33b58e=>_0x33b58e['filter']((_0x2e167d,_0x41a84a)=>{for(let _0xb19944=0x0;_0xb19944<_0x41a84a;_0xb19944++)if(_0x33b58e[_0xb19944]['plugin']==_0x2e167d['plugin'])return!0x1;return!0x0;})});class _0x470e1f{constructor(_0xf6b901,_0x3f4598,_0xb32745,_0x44e017,_0x4764e7){this['id']=_0xf6b901,this['create']=_0x3f4598,this['domEventHandlers']=_0xb32745,this['domEventObservers']=_0x44e017,this['baseExtensions']=_0x4764e7(this),this['extension']=this['baseExtensions']['concat'](_0x4aa6bd['of']({'plugin':this,'arg':void 0x0}));}['of'](_0x20a551){return this['baseExtensions']['concat'](_0x4aa6bd['of']({'plugin':this,'arg':_0x20a551}));}static['define'](_0x45099a,_0x48992b){const {eventHandlers:_0x5f5c3b,eventObservers:_0xc0ca7e,provide:_0x510134,decorations:_0x40cc97}=_0x48992b||{};return new _0x470e1f(_0x54472e++,_0x45099a,_0x5f5c3b,_0xc0ca7e,_0x4428da=>{let _0x2a73f8=[];return _0x40cc97&&_0x2a73f8['push'](_0x1cba45['of'](_0x13e99c=>{let _0x2dada0=_0x13e99c['plugin'](_0x4428da);return _0x2dada0?_0x40cc97(_0x2dada0):Decoration['none'];})),_0x510134&&_0x2a73f8['push'](_0x510134(_0x4428da)),_0x2a73f8;});}static['fromClass'](_0x390559,_0x539604){return _0x470e1f['define']((_0x441c06,_0x254df7)=>new _0x390559(_0x441c06,_0x254df7),_0x539604);}}class PluginInstance{constructor(_0x528070){this['spec']=_0x528070,this['mustUpdate']=null,this['value']=null;}get['plugin'](){return this['spec']&&this['spec']['plugin'];}['update'](_0x202604){if(this['value']){if(this['mustUpdate']){let _0x473382=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0x473382);}catch(_0x24d498){if(_0x817679(_0x473382['state'],_0x24d498,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0x58d415){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['plugin']['create'](_0x202604,this['spec']['arg']);}catch(_0x36d7c7){_0x817679(_0x202604['state'],_0x36d7c7,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}['destroy'](_0x5f2f20){var _0x4a67cc;if(null===(_0x4a67cc=this['value'])||void 0x0===_0x4a67cc?void 0x0:_0x4a67cc['destroy'])try{this['value']['destroy']();}catch(_0x456883){_0x817679(_0x5f2f20['state'],_0x456883,'CodeMirror\x20plugin\x20crashed');}}['deactivate'](){this['spec']=this['value']=null;}}const _0x1c48df=Facet['define'](),_0x2cb0f9=Facet['define'](),_0x1cba45=Facet['define'](),_0x3e0984=Facet['define'](),_0x928139=Facet['define'](),_0x18e39c=Facet['define']();function _0x1e3ea8(_0x5b3bb5,_0x2cb068){let _0x288b8e=_0x5b3bb5['state']['facet'](_0x18e39c);if(!_0x288b8e['length'])return _0x288b8e;let _0x5a9786=_0x288b8e['map'](_0x5ef568=>_0x5ef568 instanceof Function?_0x5ef568(_0x5b3bb5):_0x5ef568),_0x40d76b=[];return RangeSet['spans'](_0x5a9786,_0x2cb068['from'],_0x2cb068['to'],{'point'(){},'span'(_0x22ccac,_0x57b02a,_0x3bcd68,_0x4ee7da){let _0x10424c=_0x22ccac-_0x2cb068['from'],_0x37144b=_0x57b02a-_0x2cb068['from'],_0x5e15b3=_0x40d76b;for(let _0x992e83=_0x3bcd68['length']-0x1;_0x992e83>=0x0;_0x992e83--,_0x4ee7da--){let _0x55afa0,_0xfc7013=_0x3bcd68[_0x992e83]['spec']['bidiIsolate'];if(null==_0xfc7013&&(_0xfc7013=_0x150b4f(_0x2cb068['text'],_0x10424c,_0x37144b)),_0x4ee7da>0x0&&_0x5e15b3['length']&&(_0x55afa0=_0x5e15b3[_0x5e15b3['length']-0x1])['to']==_0x10424c&&_0x55afa0['direction']==_0xfc7013)_0x55afa0['to']=_0x37144b,_0x5e15b3=_0x55afa0['inner'];else{let _0x5e9418={'from':_0x10424c,'to':_0x37144b,'direction':_0xfc7013,'inner':[]};_0x5e15b3['push'](_0x5e9418),_0x5e15b3=_0x5e9418['inner'];}}}}),_0x40d76b;}const _0x4498f7=Facet['define']();function _0x2f7ce8(_0x51c1dc){let _0x4d86e1=0x0,_0x1c63f8=0x0,_0x43c5d7=0x0,_0xb3b279=0x0;for(let _0x25d813 of _0x51c1dc['state']['facet'](_0x4498f7)){let _0x2b4a90=_0x25d813(_0x51c1dc);_0x2b4a90&&(null!=_0x2b4a90['left']&&(_0x4d86e1=Math['max'](_0x4d86e1,_0x2b4a90['left'])),null!=_0x2b4a90['right']&&(_0x1c63f8=Math['max'](_0x1c63f8,_0x2b4a90['right'])),null!=_0x2b4a90['top']&&(_0x43c5d7=Math['max'](_0x43c5d7,_0x2b4a90['top'])),null!=_0x2b4a90['bottom']&&(_0xb3b279=Math['max'](_0xb3b279,_0x2b4a90['bottom'])));}return{'left':_0x4d86e1,'right':_0x1c63f8,'top':_0x43c5d7,'bottom':_0xb3b279};}const _0x2466b5=Facet['define']();class _0x3c8c51{constructor(_0x2c5ad7,_0x521e8f,_0x128d1d,_0xf2edfc){this['fromA']=_0x2c5ad7,this['toA']=_0x521e8f,this['fromB']=_0x128d1d,this['toB']=_0xf2edfc;}['join'](_0x458137){return new _0x3c8c51(Math['min'](this['fromA'],_0x458137['fromA']),Math['max'](this['toA'],_0x458137['toA']),Math['min'](this['fromB'],_0x458137['fromB']),Math['max'](this['toB'],_0x458137['toB']));}['addToSet'](_0x35e1ba){let _0x349c34=_0x35e1ba['length'],_0xcdc83a=this;for(;_0x349c34>0x0;_0x349c34--){let _0x3cf7f9=_0x35e1ba[_0x349c34-0x1];if(!(_0x3cf7f9['fromA']>_0xcdc83a['toA'])){if(_0x3cf7f9['toA']<_0xcdc83a['fromA'])break;_0xcdc83a=_0xcdc83a['join'](_0x3cf7f9),_0x35e1ba['splice'](_0x349c34-0x1,0x1);}}return _0x35e1ba['splice'](_0x349c34,0x0,_0xcdc83a),_0x35e1ba;}static['extendWithRanges'](_0x21d6cb,_0x499653){if(0x0==_0x499653['length'])return _0x21d6cb;let _0x3a4a2e=[];for(let _0xce2991=0x0,_0x191dab=0x0,_0x3d6993=0x0,_0x50739a=0x0;;_0xce2991++){let _0x3145d2=_0xce2991==_0x21d6cb['length']?null:_0x21d6cb[_0xce2991],_0x548293=_0x3d6993-_0x50739a,_0x26cc3b=_0x3145d2?_0x3145d2['fromB']:0x3b9aca00;for(;_0x191dab<_0x499653['length']&&_0x499653[_0x191dab]<_0x26cc3b;){let _0x384679=_0x499653[_0x191dab],_0x31ec21=_0x499653[_0x191dab+0x1],_0x31e945=Math['max'](_0x50739a,_0x384679),_0x5bd0d9=Math['min'](_0x26cc3b,_0x31ec21);if(_0x31e945<=_0x5bd0d9&&new _0x3c8c51(_0x31e945+_0x548293,_0x5bd0d9+_0x548293,_0x31e945,_0x5bd0d9)['addToSet'](_0x3a4a2e),_0x31ec21>_0x26cc3b)break;_0x191dab+=0x2;}if(!_0x3145d2)return _0x3a4a2e;new _0x3c8c51(_0x3145d2['fromA'],_0x3145d2['toA'],_0x3145d2['fromB'],_0x3145d2['toB'])['addToSet'](_0x3a4a2e),_0x3d6993=_0x3145d2['toA'],_0x50739a=_0x3145d2['toB'];}}}class ViewUpdate{constructor(_0x4b359e,_0x8f30e9,_0x261c37){this['view']=_0x4b359e,this['state']=_0x8f30e9,this['transactions']=_0x261c37,this['flags']=0x0,this['startState']=_0x4b359e['state'],this['changes']=ChangeSet['empty'](this['startState']['doc']['length']);for(let _0x3ef653 of _0x261c37)this['changes']=this['changes']['compose'](_0x3ef653['changes']);let _0x4d0e8e=[];this['changes']['iterChangedRanges']((_0x2db98a,_0x245507,_0x43379b,_0x257b20)=>_0x4d0e8e['push'](new _0x3c8c51(_0x2db98a,_0x245507,_0x43379b,_0x257b20))),this['changedRanges']=_0x4d0e8e;}static['create'](_0x5f2c45,_0x418767,_0x5613f7){return new ViewUpdate(_0x5f2c45,_0x418767,_0x5613f7);}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'](_0x377f42=>_0x377f42['selection']);}get['empty'](){return 0x0==this['flags']&&0x0==this['transactions']['length'];}}class _0x2eb775 extends ContentView{get['length'](){return this['view']['state']['doc']['length'];}constructor(_0x1b66ed){super(),this['view']=_0x1b66ed,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'](_0x1b66ed['contentDOM']),this['children']=[new _0x528f67()],this['children'][0x0]['setParent'](this),this['updateDeco'](),this['updateInner']([new _0x3c8c51(0x0,0x0,0x0,_0x1b66ed['state']['doc']['length'])],0x0,null);}['update'](_0x401153){var _0x2afbcc;let _0x33ef1b=_0x401153['changedRanges'];this['minWidth']>0x0&&_0x33ef1b['length']&&(_0x33ef1b['every'](({fromA:_0x12f7a0,toA:_0x4fdf78})=>_0x4fdf78<this['minWidthFrom']||_0x12f7a0>this['minWidthTo'])?(this['minWidthFrom']=_0x401153['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x401153['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x401153);let _0x6cbfb7=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x2afbcc=this['domChanged'])||void 0x0===_0x2afbcc?void 0x0:_0x2afbcc['newSel'])?_0x6cbfb7=this['domChanged']['newSel']['head']:function(_0x21265b,_0xd6b1e0){let _0xf9df65=!0x1;return _0xd6b1e0&&_0x21265b['iterChangedRanges']((_0x3fbbf6,_0x52fef0)=>{_0x3fbbf6<_0xd6b1e0['to']&&_0x52fef0>_0xd6b1e0['from']&&(_0xf9df65=!0x0);}),_0xf9df65;}(_0x401153['changes'],this['hasComposition'])||_0x401153['selectionSet']||(_0x6cbfb7=_0x401153['state']['selection']['main']['head']));let _0x453cbc=_0x6cbfb7>-0x1?function(_0x181a5a,_0x42ee06,_0xa1f2fb){let _0xb99f8c=_0x5bddbe(_0x181a5a,_0xa1f2fb);if(!_0xb99f8c)return null;let {node:_0x32704b,from:_0x4bd407,to:_0x35755c}=_0xb99f8c,_0xa1d501=_0x32704b['nodeValue'];if(/[\n\r]/['test'](_0xa1d501))return null;if(_0x181a5a['state']['doc']['sliceString'](_0xb99f8c['from'],_0xb99f8c['to'])!=_0xa1d501)return null;let _0x4e949c=_0x42ee06['invertedDesc'],_0x7e2067=new _0x3c8c51(_0x4e949c['mapPos'](_0x4bd407),_0x4e949c['mapPos'](_0x35755c),_0x4bd407,_0x35755c),_0xb85be=[];for(let _0x112042=_0x32704b['parentNode'];;_0x112042=_0x112042['parentNode']){let _0x5a0a9c=ContentView['get'](_0x112042);if(_0x5a0a9c instanceof _0x2a2502)_0xb85be['push']({'node':_0x112042,'deco':_0x5a0a9c['mark']});else{if(_0x5a0a9c instanceof _0x528f67||'DIV'==_0x112042['nodeName']&&_0x112042['parentNode']==_0x181a5a['contentDOM'])return{'range':_0x7e2067,'text':_0x32704b,'marks':_0xb85be,'line':_0x112042};if(_0x112042==_0x181a5a['contentDOM'])return null;_0xb85be['push']({'node':_0x112042,'deco':new MarkDecoration({'inclusive':!0x0,'attributes':_0x38fb51(_0x112042),'tagName':_0x112042['tagName']['toLowerCase']()})});}}}(this['view'],_0x401153['changes'],_0x6cbfb7):null;if(this['domChanged']=null,this['hasComposition']){this['markedForComposition']['clear']();let {from:_0x2bc7a0,to:_0x2b6e2a}=this['hasComposition'];_0x33ef1b=new _0x3c8c51(_0x2bc7a0,_0x2b6e2a,_0x401153['changes']['mapPos'](_0x2bc7a0,-0x1),_0x401153['changes']['mapPos'](_0x2b6e2a,0x1))['addToSet'](_0x33ef1b['slice']());}this['hasComposition']=_0x453cbc?{'from':_0x453cbc['range']['fromB'],'to':_0x453cbc['range']['toB']}:null,(_0xe49063['ie']||_0xe49063['chrome'])&&!_0x453cbc&&_0x401153&&_0x401153['state']['doc']['lines']!=_0x401153['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x140c76=function(_0x2b7b5b,_0x1aacc3,_0x1c5139){let _0x3cf346=new _0x19309b();return RangeSet['compare'](_0x2b7b5b,_0x1aacc3,_0x1c5139,_0x3cf346),_0x3cf346['changes'];}(this['decorations'],this['updateDeco'](),_0x401153['changes']);return _0x33ef1b=_0x3c8c51['extendWithRanges'](_0x33ef1b,_0x140c76),!!(0x7&this['flags']||0x0!=_0x33ef1b['length'])&&(this['updateInner'](_0x33ef1b,_0x401153['startState']['doc']['length'],_0x453cbc),_0x401153['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}['updateInner'](_0x21301a,_0x23e51b,_0x858a58){this['view']['viewState']['mustMeasureContent']=!0x0,this['updateChildren'](_0x21301a,_0x23e51b,_0x858a58);let {observer:_0x42fcc0}=this['view'];_0x42fcc0['ignore'](()=>{this['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x2bfde1=_0xe49063['chrome']||_0xe49063['ios']?{'node':_0x42fcc0['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['sync'](this['view'],_0x2bfde1),this['flags']&=-0x8,_0x2bfde1&&(_0x2bfde1['written']||_0x42fcc0['selectionRange']['focusNode']!=_0x2bfde1['node'])&&(this['forceSelection']=!0x0),this['dom']['style']['height']='';}),this['markedForComposition']['forEach'](_0x4de4cb=>_0x4de4cb['flags']&=-0x9);let _0xb36c3c=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0x272822 of this['children'])_0x272822 instanceof BlockWidgetView&&_0x272822['widget']instanceof BlockGapWidget&&_0xb36c3c['push'](_0x272822['dom']);}_0x42fcc0['updateGaps'](_0xb36c3c);}['updateChildren'](_0x271035,_0x3d3a9f,_0x327755){let _0x526224=_0x327755?_0x327755['range']['addToSet'](_0x271035['slice']()):_0x271035,_0x1d2f62=this['childCursor'](_0x3d3a9f);for(let _0x5b1ab6=_0x526224['length']-0x1;;_0x5b1ab6--){let _0x44cdd9=_0x5b1ab6>=0x0?_0x526224[_0x5b1ab6]:null;if(!_0x44cdd9)break;let _0x32e97f,_0x484e78,_0x2cdfdd,_0x305947,{fromA:_0x52fa08,toA:_0x31b904,fromB:_0x2e9150,toB:_0x994183}=_0x44cdd9;if(_0x327755&&_0x327755['range']['fromB']<_0x994183&&_0x327755['range']['toB']>_0x2e9150){let _0x213e6b=ContentBuilder['build'](this['view']['state']['doc'],_0x2e9150,_0x327755['range']['fromB'],this['decorations'],this['dynamicDecorationMap']),_0x15dd5d=ContentBuilder['build'](this['view']['state']['doc'],_0x327755['range']['toB'],_0x994183,this['decorations'],this['dynamicDecorationMap']);_0x484e78=_0x213e6b['breakAtStart'],_0x2cdfdd=_0x213e6b['openStart'],_0x305947=_0x15dd5d['openEnd'];let _0x499857=this['compositionView'](_0x327755);_0x15dd5d['breakAtStart']?_0x499857['breakAfter']=0x1:_0x15dd5d['content']['length']&&_0x499857['merge'](_0x499857['length'],_0x499857['length'],_0x15dd5d['content'][0x0],!0x1,_0x15dd5d['openStart'],0x0)&&(_0x499857['breakAfter']=_0x15dd5d['content'][0x0]['breakAfter'],_0x15dd5d['content']['shift']()),_0x213e6b['content']['length']&&_0x499857['merge'](0x0,0x0,_0x213e6b['content'][_0x213e6b['content']['length']-0x1],!0x0,0x0,_0x213e6b['openEnd'])&&_0x213e6b['content']['pop'](),_0x32e97f=_0x213e6b['content']['concat'](_0x499857)['concat'](_0x15dd5d['content']);}else({content:_0x32e97f,breakAtStart:_0x484e78,openStart:_0x2cdfdd,openEnd:_0x305947}=ContentBuilder['build'](this['view']['state']['doc'],_0x2e9150,_0x994183,this['decorations'],this['dynamicDecorationMap']));let {i:_0x39eab2,off:_0x429d72}=_0x1d2f62['findPos'](_0x31b904,0x1),{i:_0x52cb33,off:_0x258f5c}=_0x1d2f62['findPos'](_0x52fa08,-0x1);_0x409373(this,_0x52cb33,_0x258f5c,_0x39eab2,_0x429d72,_0x32e97f,_0x484e78,_0x2cdfdd,_0x305947);}_0x327755&&this['fixCompositionDOM'](_0x327755);}['updateEditContextFormatting'](_0x1db7f0){this['editContextFormatting']=this['editContextFormatting']['map'](_0x1db7f0['changes']);for(let _0x2cb7bc of _0x1db7f0['transactions'])for(let _0x4815b6 of _0x2cb7bc['effects'])_0x4815b6['is'](_0x26bf3a)&&(this['editContextFormatting']=_0x4815b6['value']);}['compositionView'](_0x54646e){let _0x3f3b1f=new TextView(_0x54646e['text']['nodeValue']);_0x3f3b1f['flags']|=0x8;for(let {deco:_0x2af38f}of _0x54646e['marks'])_0x3f3b1f=new _0x2a2502(_0x2af38f,[_0x3f3b1f],_0x3f3b1f['length']);let _0x3793c2=new _0x528f67();return _0x3793c2['append'](_0x3f3b1f,0x0),_0x3793c2;}['fixCompositionDOM'](_0x45bc7e){let _0x39955c=(_0x558206,_0xd88a8d)=>{_0xd88a8d['flags']|=0x8|(_0xd88a8d['children']['some'](_0x2fc069=>0x7&_0x2fc069['flags'])?0x1:0x0),this['markedForComposition']['add'](_0xd88a8d);let _0xaab92f=ContentView['get'](_0x558206);_0xaab92f&&_0xaab92f!=_0xd88a8d&&(_0xaab92f['dom']=null),_0xd88a8d['setDOM'](_0x558206);},_0x122095=this['childPos'](_0x45bc7e['range']['fromB'],0x1),_0x4fe857=this['children'][_0x122095['i']];_0x39955c(_0x45bc7e['line'],_0x4fe857);for(let _0x36d1e1=_0x45bc7e['marks']['length']-0x1;_0x36d1e1>=-0x1;_0x36d1e1--)_0x122095=_0x4fe857['childPos'](_0x122095['off'],0x1),_0x4fe857=_0x4fe857['children'][_0x122095['i']],_0x39955c(_0x36d1e1>=0x0?_0x45bc7e['marks'][_0x36d1e1]['node']:_0x45bc7e['text'],_0x4fe857);}['updateSelection'](_0x57092f=!0x1,_0x57d0b9=!0x1){!_0x57092f&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let _0x94b214=this['view']['root']['activeElement'],_0x4059b1=_0x94b214==this['dom'],_0x25ea15=!_0x4059b1&&!(this['view']['state']['facet'](_0x19cf30)||this['dom']['tabIndex']>-0x1)&&_0x183638(this['dom'],this['view']['observer']['selectionRange'])&&!(_0x94b214&&this['dom']['contains'](_0x94b214));if(!(_0x4059b1||_0x57d0b9||_0x25ea15))return;let _0x27b24b=this['forceSelection'];this['forceSelection']=!0x1;let _0x4870aa=this['view']['state']['selection']['main'],_0x3bb465=this['moveToLine'](this['domAtPos'](_0x4870aa['anchor'])),_0xb5f715=_0x4870aa['empty']?_0x3bb465:this['moveToLine'](this['domAtPos'](_0x4870aa['head']));if(_0xe49063['gecko']&&_0x4870aa['empty']&&!this['hasComposition']&&(0x1==(_0x1514f7=_0x3bb465)['node']['nodeType']&&_0x1514f7['node']['firstChild']&&(0x0==_0x1514f7['offset']||'false'==_0x1514f7['node']['childNodes'][_0x1514f7['offset']-0x1]['contentEditable'])&&(_0x1514f7['offset']==_0x1514f7['node']['childNodes']['length']||'false'==_0x1514f7['node']['childNodes'][_0x1514f7['offset']]['contentEditable']))){let _0x26c42d=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0x3bb465['node']['insertBefore'](_0x26c42d,_0x3bb465['node']['childNodes'][_0x3bb465['offset']]||null)),_0x3bb465=_0xb5f715=new _0x4fe383(_0x26c42d,0x0),_0x27b24b=!0x0;}var _0x1514f7;let _0x3b9421=this['view']['observer']['selectionRange'];!_0x27b24b&&_0x3b9421['focusNode']&&(_0x2f10ef(_0x3bb465['node'],_0x3bb465['offset'],_0x3b9421['anchorNode'],_0x3b9421['anchorOffset'])&&_0x2f10ef(_0xb5f715['node'],_0xb5f715['offset'],_0x3b9421['focusNode'],_0x3b9421['focusOffset'])||this['suppressWidgetCursorChange'](_0x3b9421,_0x4870aa))||(this['view']['observer']['ignore'](()=>{_0xe49063['android']&&_0xe49063['chrome']&&this['dom']['contains'](_0x3b9421['focusNode'])&&function(_0xca1d8a,_0x5cb2e6){for(let _0x1c2860=_0xca1d8a;_0x1c2860&&_0x1c2860!=_0x5cb2e6;_0x1c2860=_0x1c2860['assignedSlot']||_0x1c2860['parentNode'])if(0x1==_0x1c2860['nodeType']&&'false'==_0x1c2860['contentEditable'])return!0x0;return!0x1;}(_0x3b9421['focusNode'],this['dom'])&&(this['dom']['blur'](),this['dom']['focus']({'preventScroll':!0x0}));let _0xca8a58=_0x1f5501(this['view']['root']);if(_0xca8a58){if(_0x4870aa['empty']){if(_0xe49063['gecko']){let _0x1d954d=function(_0x11cf4a,_0x4a9781){return 0x1!=_0x11cf4a['nodeType']?0x0:(_0x4a9781&&'false'==_0x11cf4a['childNodes'][_0x4a9781-0x1]['contentEditable']?0x1:0x0)|(_0x4a9781<_0x11cf4a['childNodes']['length']&&'false'==_0x11cf4a['childNodes'][_0x4a9781]['contentEditable']?0x2:0x0);}(_0x3bb465['node'],_0x3bb465['offset']);if(_0x1d954d&&0x3!=_0x1d954d){let _0x17426a=(0x1==_0x1d954d?_0x578b71:_0x41ed64)(_0x3bb465['node'],_0x3bb465['offset']);_0x17426a&&(_0x3bb465=new _0x4fe383(_0x17426a['node'],_0x17426a['offset']));}}_0xca8a58['collapse'](_0x3bb465['node'],_0x3bb465['offset']),null!=_0x4870aa['bidiLevel']&&void 0x0!==_0xca8a58['caretBidiLevel']&&(_0xca8a58['caretBidiLevel']=_0x4870aa['bidiLevel']);}else{if(_0xca8a58['extend']){_0xca8a58['collapse'](_0x3bb465['node'],_0x3bb465['offset']);try{_0xca8a58['extend'](_0xb5f715['node'],_0xb5f715['offset']);}catch(_0x5425da){}}else{let _0x3b13e8=document['createRange']();_0x4870aa['anchor']>_0x4870aa['head']&&([_0x3bb465,_0xb5f715]=[_0xb5f715,_0x3bb465]),_0x3b13e8['setEnd'](_0xb5f715['node'],_0xb5f715['offset']),_0x3b13e8['setStart'](_0x3bb465['node'],_0x3bb465['offset']),_0xca8a58['removeAllRanges'](),_0xca8a58['addRange'](_0x3b13e8);}}}else;_0x25ea15&&this['view']['root']['activeElement']==this['dom']&&(this['dom']['blur'](),_0x94b214&&_0x94b214['focus']());}),this['view']['observer']['setSelectionRange'](_0x3bb465,_0xb5f715)),this['impreciseAnchor']=_0x3bb465['precise']?null:new _0x4fe383(_0x3b9421['anchorNode'],_0x3b9421['anchorOffset']),this['impreciseHead']=_0xb5f715['precise']?null:new _0x4fe383(_0x3b9421['focusNode'],_0x3b9421['focusOffset']);}['suppressWidgetCursorChange'](_0x4ecdff,_0x5364ad){return this['hasComposition']&&_0x5364ad['empty']&&_0x2f10ef(_0x4ecdff['focusNode'],_0x4ecdff['focusOffset'],_0x4ecdff['anchorNode'],_0x4ecdff['anchorOffset'])&&this['posFromDOM'](_0x4ecdff['focusNode'],_0x4ecdff['focusOffset'])==_0x5364ad['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x574105}=this,_0x200f82=_0x574105['state']['selection']['main'],_0x5912ac=_0x1f5501(_0x574105['root']),{anchorNode:_0x681427,anchorOffset:_0x55e16f}=_0x574105['observer']['selectionRange'];if(!(_0x5912ac&&_0x200f82['empty']&&_0x200f82['assoc']&&_0x5912ac['modify']))return;let _0x5052e7=_0x528f67['find'](this,_0x200f82['head']);if(!_0x5052e7)return;let _0x5ab2c5=_0x5052e7['posAtStart'];if(_0x200f82['head']==_0x5ab2c5||_0x200f82['head']==_0x5ab2c5+_0x5052e7['length'])return;let _0x11ef4d=this['coordsAt'](_0x200f82['head'],-0x1),_0x540935=this['coordsAt'](_0x200f82['head'],0x1);if(!_0x11ef4d||!_0x540935||_0x11ef4d['bottom']>_0x540935['top'])return;let _0x9e2e1b=this['domAtPos'](_0x200f82['head']+_0x200f82['assoc']);_0x5912ac['collapse'](_0x9e2e1b['node'],_0x9e2e1b['offset']),_0x5912ac['modify']('move',_0x200f82['assoc']<0x0?'forward':'backward','lineboundary'),_0x574105['observer']['readSelectionRange']();let _0x13c435=_0x574105['observer']['selectionRange'];_0x574105['docView']['posFromDOM'](_0x13c435['anchorNode'],_0x13c435['anchorOffset'])!=_0x200f82['from']&&_0x5912ac['collapse'](_0x681427,_0x55e16f);}['moveToLine'](_0x4de230){let _0x39e07e,_0x4fb00e=this['dom'];if(_0x4de230['node']!=_0x4fb00e)return _0x4de230;for(let _0xe45cba=_0x4de230['offset'];!_0x39e07e&&_0xe45cba<_0x4fb00e['childNodes']['length'];_0xe45cba++){let _0x2dbde6=ContentView['get'](_0x4fb00e['childNodes'][_0xe45cba]);_0x2dbde6 instanceof _0x528f67&&(_0x39e07e=_0x2dbde6['domAtPos'](0x0));}for(let _0x1d11d8=_0x4de230['offset']-0x1;!_0x39e07e&&_0x1d11d8>=0x0;_0x1d11d8--){let _0x3065e7=ContentView['get'](_0x4fb00e['childNodes'][_0x1d11d8]);_0x3065e7 instanceof _0x528f67&&(_0x39e07e=_0x3065e7['domAtPos'](_0x3065e7['length']));}return _0x39e07e?new _0x4fe383(_0x39e07e['node'],_0x39e07e['offset'],!0x0):_0x4de230;}['nearest'](_0x50717d){for(let _0x5f5102=_0x50717d;_0x5f5102;){let _0x70fdae=ContentView['get'](_0x5f5102);if(_0x70fdae&&_0x70fdae['rootView']==this)return _0x70fdae;_0x5f5102=_0x5f5102['parentNode'];}return null;}['posFromDOM'](_0x39c478,_0x360013){let _0x49d409=this['nearest'](_0x39c478);if(!_0x49d409)throw new RangeError('Trying\x20to\x20find\x20position\x20for\x20a\x20DOM\x20position\x20outside\x20of\x20the\x20document');return _0x49d409['localPosFromDOM'](_0x39c478,_0x360013)+_0x49d409['posAtStart'];}['domAtPos'](_0x25eb2e){let {i:_0x3b51b5,off:_0x2fde90}=this['childCursor']()['findPos'](_0x25eb2e,-0x1);for(;_0x3b51b5<this['children']['length']-0x1;){let _0x43e5b2=this['children'][_0x3b51b5];if(_0x2fde90<_0x43e5b2['length']||_0x43e5b2 instanceof _0x528f67)break;_0x3b51b5++,_0x2fde90=0x0;}return this['children'][_0x3b51b5]['domAtPos'](_0x2fde90);}['coordsAt'](_0x5b159a,_0x59565e){let _0x126b26=null,_0x41546b=0x0;for(let _0x187454=this['length'],_0x50b00b=this['children']['length']-0x1;_0x50b00b>=0x0;_0x50b00b--){let _0x3930ba=this['children'][_0x50b00b],_0xdd41ac=_0x187454-_0x3930ba['breakAfter'],_0x32e6ab=_0xdd41ac-_0x3930ba['length'];if(_0xdd41ac<_0x5b159a)break;if(_0x32e6ab<=_0x5b159a&&(_0x32e6ab<_0x5b159a||_0x3930ba['covers'](-0x1))&&(_0xdd41ac>_0x5b159a||_0x3930ba['covers'](0x1))&&(!_0x126b26||_0x3930ba instanceof _0x528f67&&!(_0x126b26 instanceof _0x528f67&&_0x59565e>=0x0)))_0x126b26=_0x3930ba,_0x41546b=_0x32e6ab;else{if(_0x126b26&&_0x32e6ab==_0x5b159a&&_0xdd41ac==_0x5b159a&&_0x3930ba instanceof BlockWidgetView&&Math['abs'](_0x59565e)<0x2){if(_0x3930ba['deco']['startSide']<0x0)break;_0x50b00b&&(_0x126b26=null);}}_0x187454=_0x32e6ab;}return _0x126b26?_0x126b26['coordsAt'](_0x5b159a-_0x41546b,_0x59565e):null;}['coordsForChar'](_0xad4de5){let {i:_0x5f103d,off:_0x4db0aa}=this['childPos'](_0xad4de5,0x1),_0x48cc5e=this['children'][_0x5f103d];if(!(_0x48cc5e instanceof _0x528f67))return null;for(;_0x48cc5e['children']['length'];){let {i:_0x560a49,off:_0x44c24b}=_0x48cc5e['childPos'](_0x4db0aa,0x1);for(;;_0x560a49++){if(_0x560a49==_0x48cc5e['children']['length'])return null;if((_0x48cc5e=_0x48cc5e['children'][_0x560a49])['length'])break;}_0x4db0aa=_0x44c24b;}if(!(_0x48cc5e instanceof TextView))return null;let _0x57e249=_0x5da76b(_0x48cc5e['text'],_0x4db0aa);if(_0x57e249==_0x4db0aa)return null;let _0x5263ca=_0x171132(_0x48cc5e['dom'],_0x4db0aa,_0x57e249)['getClientRects']();for(let _0x44ef9f=0x0;_0x44ef9f<_0x5263ca['length'];_0x44ef9f++){let _0x99473a=_0x5263ca[_0x44ef9f];if(_0x44ef9f==_0x5263ca['length']-0x1||_0x99473a['top']<_0x99473a['bottom']&&_0x99473a['left']<_0x99473a['right'])return _0x99473a;}return null;}['measureVisibleLineHeights'](_0x37adba){let _0x40b164=[],{from:_0x549fa0,to:_0x557d01}=_0x37adba,_0x1f38fd=this['view']['contentDOM']['clientWidth'],_0x4b1b51=_0x1f38fd>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0x17c7fb=-0x1,_0x4fd652=this['view']['textDirection']==_0x590046['LTR'];for(let _0x5017cb=0x0,_0x268cb3=0x0;_0x268cb3<this['children']['length'];_0x268cb3++){let _0x28f5b6=this['children'][_0x268cb3],_0x5d1891=_0x5017cb+_0x28f5b6['length'];if(_0x5d1891>_0x557d01)break;if(_0x5017cb>=_0x549fa0){let _0x3a207c=_0x28f5b6['dom']['getBoundingClientRect']();if(_0x40b164['push'](_0x3a207c['height']),_0x4b1b51){let _0x5047ae=_0x28f5b6['dom']['lastChild'],_0x228b52=_0x5047ae?_0x1d99cd(_0x5047ae):[];if(_0x228b52['length']){let _0x36be8e=_0x228b52[_0x228b52['length']-0x1],_0x48346a=_0x4fd652?_0x36be8e['right']-_0x3a207c['left']:_0x3a207c['right']-_0x36be8e['left'];_0x48346a>_0x17c7fb&&(_0x17c7fb=_0x48346a,this['minWidth']=_0x1f38fd,this['minWidthFrom']=_0x5017cb,this['minWidthTo']=_0x5d1891);}}}_0x5017cb=_0x5d1891+_0x28f5b6['breakAfter'];}return _0x40b164;}['textDirectionAt'](_0x11fdd4){let {i:_0xc552a4}=this['childPos'](_0x11fdd4,0x1);return'rtl'==getComputedStyle(this['children'][_0xc552a4]['dom'])['direction']?_0x590046['RTL']:_0x590046['LTR'];}['measureTextSize'](){for(let _0x463d49 of this['children'])if(_0x463d49 instanceof _0x528f67){let _0x3fffc1=_0x463d49['measureTextSize']();if(_0x3fffc1)return _0x3fffc1;}let _0x469c61,_0x2f6f07,_0x12162a,_0x3f0002=document['createElement']('div');return _0x3f0002['className']='cm-line',_0x3f0002['style']['width']='99999px',_0x3f0002['style']['position']='absolute',_0x3f0002['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['dom']['appendChild'](_0x3f0002);let _0x519e4d=_0x1d99cd(_0x3f0002['firstChild'])[0x0];_0x469c61=_0x3f0002['getBoundingClientRect']()['height'],_0x2f6f07=_0x519e4d?_0x519e4d['width']/0x1b:0x7,_0x12162a=_0x519e4d?_0x519e4d['height']:_0x469c61,_0x3f0002['remove']();}),{'lineHeight':_0x469c61,'charWidth':_0x2f6f07,'textHeight':_0x12162a};}['childCursor'](_0xd7bac6=this['length']){let _0x207a64=this['children']['length'];return _0x207a64&&(_0xd7bac6-=this['children'][--_0x207a64]['length']),new _0x1ab393(this['children'],_0xd7bac6,_0x207a64);}['computeBlockGapDeco'](){let _0x2c68fb=[],_0x12729f=this['view']['viewState'];for(let _0x4192c0=0x0,_0x32ee59=0x0;;_0x32ee59++){let _0x375b9e=_0x32ee59==_0x12729f['viewports']['length']?null:_0x12729f['viewports'][_0x32ee59],_0x3a1c88=_0x375b9e?_0x375b9e['from']-0x1:this['length'];if(_0x3a1c88>_0x4192c0){let _0x2a6932=(_0x12729f['lineBlockAt'](_0x3a1c88)['bottom']-_0x12729f['lineBlockAt'](_0x4192c0)['top'])/this['view']['scaleY'];_0x2c68fb['push'](Decoration['replace']({'widget':new BlockGapWidget(_0x2a6932),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x4192c0,_0x3a1c88));}if(!_0x375b9e)break;_0x4192c0=_0x375b9e['to']+0x1;}return Decoration['set'](_0x2c68fb);}['updateDeco'](){let _0xe06350=0x1,_0x10f2f1=this['view']['state']['facet'](_0x1cba45)['map'](_0x4f1ca1=>(this['dynamicDecorationMap'][_0xe06350++]='function'==typeof _0x4f1ca1)?_0x4f1ca1(this['view']):_0x4f1ca1),_0x23e940=!0x1,_0x5837b8=this['view']['state']['facet'](_0x3e0984)['map']((_0x9ca9d5,_0x46f255)=>{let _0x52822b='function'==typeof _0x9ca9d5;return _0x52822b&&(_0x23e940=!0x0),_0x52822b?_0x9ca9d5(this['view']):_0x9ca9d5;});for(_0x5837b8['length']&&(this['dynamicDecorationMap'][_0xe06350++]=_0x23e940,_0x10f2f1['push'](RangeSet['join'](_0x5837b8))),this['decorations']=[this['editContextFormatting'],..._0x10f2f1,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0xe06350<this['decorations']['length'];)this['dynamicDecorationMap'][_0xe06350++]=!0x1;return this['decorations'];}['scrollIntoView'](_0x51b217){if(_0x51b217['isSnapshot']){let _0x33c07a=this['view']['viewState']['lineBlockAt'](_0x51b217['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0x33c07a['top']-_0x51b217['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x51b217['xMargin']);}for(let _0xee6e93 of this['view']['state']['facet'](_0x567683))try{if(_0xee6e93(this['view'],_0x51b217['range'],_0x51b217))return!0x0;}catch(_0x26c5ad){_0x817679(this['view']['state'],_0x26c5ad,'scroll\x20handler');}let _0x379074,{range:_0xd98171}=_0x51b217,_0x586093=this['coordsAt'](_0xd98171['head'],_0xd98171['empty']?_0xd98171['assoc']:_0xd98171['head']>_0xd98171['anchor']?-0x1:0x1);if(!_0x586093)return;!_0xd98171['empty']&&(_0x379074=this['coordsAt'](_0xd98171['anchor'],_0xd98171['anchor']>_0xd98171['head']?-0x1:0x1))&&(_0x586093={'left':Math['min'](_0x586093['left'],_0x379074['left']),'top':Math['min'](_0x586093['top'],_0x379074['top']),'right':Math['max'](_0x586093['right'],_0x379074['right']),'bottom':Math['max'](_0x586093['bottom'],_0x379074['bottom'])});let _0x3128e6=_0x2f7ce8(this['view']),_0x5a4552={'left':_0x586093['left']-_0x3128e6['left'],'top':_0x586093['top']-_0x3128e6['top'],'right':_0x586093['right']+_0x3128e6['right'],'bottom':_0x586093['bottom']+_0x3128e6['bottom']},{offsetWidth:_0x31263d,offsetHeight:_0x2d4f47}=this['view']['scrollDOM'];!function(_0x2b959b,_0xc087fb,_0x2f74e0,_0x5af08c,_0x52aa22,_0x4b939d,_0x3fe693,_0x15d467){let _0x5bce45=_0x2b959b['ownerDocument'],_0x3d4038=_0x5bce45['defaultView']||window;for(let _0x2fe5ed=_0x2b959b,_0xe748cf=!0x1;_0x2fe5ed&&!_0xe748cf;)if(0x1==_0x2fe5ed['nodeType']){let _0x554b7b,_0x2593da=_0x2fe5ed==_0x5bce45['body'],_0x2b1de3=0x1,_0x58b397=0x1;if(_0x2593da)_0x554b7b=_0x5880f4(_0x3d4038);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0x2fe5ed)['position'])&&(_0xe748cf=!0x0),_0x2fe5ed['scrollHeight']<=_0x2fe5ed['clientHeight']&&_0x2fe5ed['scrollWidth']<=_0x2fe5ed['clientWidth']){_0x2fe5ed=_0x2fe5ed['assignedSlot']||_0x2fe5ed['parentNode'];continue;}let _0x4243f9=_0x2fe5ed['getBoundingClientRect']();({scaleX:_0x2b1de3,scaleY:_0x58b397}=_0x107114(_0x2fe5ed,_0x4243f9),_0x554b7b={'left':_0x4243f9['left'],'right':_0x4243f9['left']+_0x2fe5ed['clientWidth']*_0x2b1de3,'top':_0x4243f9['top'],'bottom':_0x4243f9['top']+_0x2fe5ed['clientHeight']*_0x58b397});}let _0x407ec4=0x0,_0x4d2964=0x0;if('nearest'==_0x52aa22)_0xc087fb['top']<_0x554b7b['top']?(_0x4d2964=_0xc087fb['top']-(_0x554b7b['top']+_0x3fe693),_0x2f74e0>0x0&&_0xc087fb['bottom']>_0x554b7b['bottom']+_0x4d2964&&(_0x4d2964=_0xc087fb['bottom']-_0x554b7b['bottom']+_0x3fe693)):_0xc087fb['bottom']>_0x554b7b['bottom']&&(_0x4d2964=_0xc087fb['bottom']-_0x554b7b['bottom']+_0x3fe693,_0x2f74e0<0x0&&_0xc087fb['top']-_0x4d2964<_0x554b7b['top']&&(_0x4d2964=_0xc087fb['top']-(_0x554b7b['top']+_0x3fe693)));else{let _0x1742af=_0xc087fb['bottom']-_0xc087fb['top'],_0x140420=_0x554b7b['bottom']-_0x554b7b['top'];_0x4d2964=('center'==_0x52aa22&&_0x1742af<=_0x140420?_0xc087fb['top']+_0x1742af/0x2-_0x140420/0x2:'start'==_0x52aa22||'center'==_0x52aa22&&_0x2f74e0<0x0?_0xc087fb['top']-_0x3fe693:_0xc087fb['bottom']-_0x140420+_0x3fe693)-_0x554b7b['top'];}if('nearest'==_0x5af08c?_0xc087fb['left']<_0x554b7b['left']?(_0x407ec4=_0xc087fb['left']-(_0x554b7b['left']+_0x4b939d),_0x2f74e0>0x0&&_0xc087fb['right']>_0x554b7b['right']+_0x407ec4&&(_0x407ec4=_0xc087fb['right']-_0x554b7b['right']+_0x4b939d)):_0xc087fb['right']>_0x554b7b['right']&&(_0x407ec4=_0xc087fb['right']-_0x554b7b['right']+_0x4b939d,_0x2f74e0<0x0&&_0xc087fb['left']<_0x554b7b['left']+_0x407ec4&&(_0x407ec4=_0xc087fb['left']-(_0x554b7b['left']+_0x4b939d))):_0x407ec4=('center'==_0x5af08c?_0xc087fb['left']+(_0xc087fb['right']-_0xc087fb['left'])/0x2-(_0x554b7b['right']-_0x554b7b['left'])/0x2:'start'==_0x5af08c==_0x15d467?_0xc087fb['left']-_0x4b939d:_0xc087fb['right']-(_0x554b7b['right']-_0x554b7b['left'])+_0x4b939d)-_0x554b7b['left'],_0x407ec4||_0x4d2964){if(_0x2593da)_0x3d4038['scrollBy'](_0x407ec4,_0x4d2964);else{let _0x392450=0x0,_0x52f613=0x0;if(_0x4d2964){let _0x294391=_0x2fe5ed['scrollTop'];_0x2fe5ed['scrollTop']+=_0x4d2964/_0x58b397,_0x52f613=(_0x2fe5ed['scrollTop']-_0x294391)*_0x58b397;}if(_0x407ec4){let _0x3e7892=_0x2fe5ed['scrollLeft'];_0x2fe5ed['scrollLeft']+=_0x407ec4/_0x2b1de3,_0x392450=(_0x2fe5ed['scrollLeft']-_0x3e7892)*_0x2b1de3;}_0xc087fb={'left':_0xc087fb['left']-_0x392450,'top':_0xc087fb['top']-_0x52f613,'right':_0xc087fb['right']-_0x392450,'bottom':_0xc087fb['bottom']-_0x52f613},_0x392450&&Math['abs'](_0x392450-_0x407ec4)<0x1&&(_0x5af08c='nearest'),_0x52f613&&Math['abs'](_0x52f613-_0x4d2964)<0x1&&(_0x52aa22='nearest');}}if(_0x2593da)break;(_0xc087fb['top']<_0x554b7b['top']||_0xc087fb['bottom']>_0x554b7b['bottom']||_0xc087fb['left']<_0x554b7b['left']||_0xc087fb['right']>_0x554b7b['right'])&&(_0xc087fb={'left':Math['max'](_0xc087fb['left'],_0x554b7b['left']),'right':Math['min'](_0xc087fb['right'],_0x554b7b['right']),'top':Math['max'](_0xc087fb['top'],_0x554b7b['top']),'bottom':Math['min'](_0xc087fb['bottom'],_0x554b7b['bottom'])}),_0x2fe5ed=_0x2fe5ed['assignedSlot']||_0x2fe5ed['parentNode'];}else{if(0xb!=_0x2fe5ed['nodeType'])break;_0x2fe5ed=_0x2fe5ed['host'];}}(this['view']['scrollDOM'],_0x5a4552,_0xd98171['head']<_0xd98171['anchor']?-0x1:0x1,_0x51b217['x'],_0x51b217['y'],Math['max'](Math['min'](_0x51b217['xMargin'],_0x31263d),-_0x31263d),Math['max'](Math['min'](_0x51b217['yMargin'],_0x2d4f47),-_0x2d4f47),this['view']['textDirection']==_0x590046['LTR']);}}function _0x5bddbe(_0x2c468f,_0x4b80aa){let _0x1362ac=_0x2c468f['observer']['selectionRange'];if(!_0x1362ac['focusNode'])return null;let _0x37c8ac=_0x578b71(_0x1362ac['focusNode'],_0x1362ac['focusOffset']),_0x275cc3=_0x41ed64(_0x1362ac['focusNode'],_0x1362ac['focusOffset']),_0x32eaed=_0x37c8ac||_0x275cc3;if(_0x275cc3&&_0x37c8ac&&_0x275cc3['node']!=_0x37c8ac['node']){let _0x40d28e=ContentView['get'](_0x275cc3['node']);if(!_0x40d28e||_0x40d28e instanceof TextView&&_0x40d28e['text']!=_0x275cc3['node']['nodeValue'])_0x32eaed=_0x275cc3;else{if(_0x2c468f['docView']['lastCompositionAfterCursor']){let _0x57061b=ContentView['get'](_0x37c8ac['node']);!_0x57061b||_0x57061b instanceof TextView&&_0x57061b['text']!=_0x37c8ac['node']['nodeValue']||(_0x32eaed=_0x275cc3);}}}if(_0x2c468f['docView']['lastCompositionAfterCursor']=_0x32eaed!=_0x37c8ac,!_0x32eaed)return null;let _0x59e354=_0x4b80aa-_0x32eaed['offset'];return{'from':_0x59e354,'to':_0x59e354+_0x32eaed['node']['nodeValue']['length'],'node':_0x32eaed['node']};}let _0x19309b=class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](_0x566dc3,_0xe82ac5){_0x172e3f(_0x566dc3,_0xe82ac5,this['changes']);}['comparePoint'](_0x322226,_0x5d0039){_0x172e3f(_0x322226,_0x5d0039,this['changes']);}['boundChange'](_0x226438){_0x172e3f(_0x226438,_0x226438,this['changes']);}};function _0x397967(_0x3c163d,_0x473329){return _0x473329['left']>_0x3c163d?_0x473329['left']-_0x3c163d:Math['max'](0x0,_0x3c163d-_0x473329['right']);}function _0x468cec(_0x2cc872,_0x3adb2e){return _0x3adb2e['top']>_0x2cc872?_0x3adb2e['top']-_0x2cc872:Math['max'](0x0,_0x2cc872-_0x3adb2e['bottom']);}function _0x2dc1be(_0x4d32c8,_0x37fa43){return _0x4d32c8['top']<_0x37fa43['bottom']-0x1&&_0x4d32c8['bottom']>_0x37fa43['top']+0x1;}function _0x2f1d88(_0x3de1c6,_0x4e467c){return _0x4e467c<_0x3de1c6['top']?{'top':_0x4e467c,'left':_0x3de1c6['left'],'right':_0x3de1c6['right'],'bottom':_0x3de1c6['bottom']}:_0x3de1c6;}function _0x2eb8b2(_0x41ab20,_0x1b8fba){return _0x1b8fba>_0x41ab20['bottom']?{'top':_0x41ab20['top'],'left':_0x41ab20['left'],'right':_0x41ab20['right'],'bottom':_0x1b8fba}:_0x41ab20;}function _0x334b37(_0x1800d4,_0x473b30,_0x29c46c){let _0x505da1,_0x4ca5c9,_0x5d7160,_0x49ca89,_0x17ed6c,_0x29805a,_0x13af14,_0x20e1f4,_0x223541=!0x1;for(let _0x37e0de=_0x1800d4['firstChild'];_0x37e0de;_0x37e0de=_0x37e0de['nextSibling']){let _0x324339=_0x1d99cd(_0x37e0de);for(let _0xa7213f=0x0;_0xa7213f<_0x324339['length'];_0xa7213f++){let _0x2003a2=_0x324339[_0xa7213f];_0x4ca5c9&&_0x2dc1be(_0x4ca5c9,_0x2003a2)&&(_0x2003a2=_0x2f1d88(_0x2eb8b2(_0x2003a2,_0x4ca5c9['bottom']),_0x4ca5c9['top']));let _0x3f60c1=_0x397967(_0x473b30,_0x2003a2),_0x5caea8=_0x468cec(_0x29c46c,_0x2003a2);if(0x0==_0x3f60c1&&0x0==_0x5caea8)return 0x3==_0x37e0de['nodeType']?_0x5b1d79(_0x37e0de,_0x473b30,_0x29c46c):_0x334b37(_0x37e0de,_0x473b30,_0x29c46c);(!_0x505da1||_0x49ca89>_0x5caea8||_0x49ca89==_0x5caea8&&_0x5d7160>_0x3f60c1)&&(_0x505da1=_0x37e0de,_0x4ca5c9=_0x2003a2,_0x5d7160=_0x3f60c1,_0x49ca89=_0x5caea8,_0x223541=!_0x3f60c1||(_0x473b30<_0x2003a2['left']?_0xa7213f>0x0:_0xa7213f<_0x324339['length']-0x1)),0x0==_0x3f60c1?_0x29c46c>_0x2003a2['bottom']&&(!_0x13af14||_0x13af14['bottom']<_0x2003a2['bottom'])?(_0x17ed6c=_0x37e0de,_0x13af14=_0x2003a2):_0x29c46c<_0x2003a2['top']&&(!_0x20e1f4||_0x20e1f4['top']>_0x2003a2['top'])&&(_0x29805a=_0x37e0de,_0x20e1f4=_0x2003a2):_0x13af14&&_0x2dc1be(_0x13af14,_0x2003a2)?_0x13af14=_0x2eb8b2(_0x13af14,_0x2003a2['bottom']):_0x20e1f4&&_0x2dc1be(_0x20e1f4,_0x2003a2)&&(_0x20e1f4=_0x2f1d88(_0x20e1f4,_0x2003a2['top']));}}if(_0x13af14&&_0x13af14['bottom']>=_0x29c46c?(_0x505da1=_0x17ed6c,_0x4ca5c9=_0x13af14):_0x20e1f4&&_0x20e1f4['top']<=_0x29c46c&&(_0x505da1=_0x29805a,_0x4ca5c9=_0x20e1f4),!_0x505da1)return{'node':_0x1800d4,'offset':0x0};let _0x1a8cd3=Math['max'](_0x4ca5c9['left'],Math['min'](_0x4ca5c9['right'],_0x473b30));return 0x3==_0x505da1['nodeType']?_0x5b1d79(_0x505da1,_0x1a8cd3,_0x29c46c):_0x223541&&'false'!=_0x505da1['contentEditable']?_0x334b37(_0x505da1,_0x1a8cd3,_0x29c46c):{'node':_0x1800d4,'offset':Array['prototype']['indexOf']['call'](_0x1800d4['childNodes'],_0x505da1)+(_0x473b30>=(_0x4ca5c9['left']+_0x4ca5c9['right'])/0x2?0x1:0x0)};}function _0x5b1d79(_0x488237,_0x512045,_0x227aa9){let _0xaf657=_0x488237['nodeValue']['length'],_0x11a408=-0x1,_0x5ac5f5=0x3b9aca00,_0x841a0d=0x0;for(let _0x4e8313=0x0;_0x4e8313<_0xaf657;_0x4e8313++){let _0x2a5525=_0x171132(_0x488237,_0x4e8313,_0x4e8313+0x1)['getClientRects']();for(let _0x2cab53=0x0;_0x2cab53<_0x2a5525['length'];_0x2cab53++){let _0x5a47a2=_0x2a5525[_0x2cab53];if(_0x5a47a2['top']==_0x5a47a2['bottom'])continue;_0x841a0d||(_0x841a0d=_0x512045-_0x5a47a2['left']);let _0x96f42d=(_0x5a47a2['top']>_0x227aa9?_0x5a47a2['top']-_0x227aa9:_0x227aa9-_0x5a47a2['bottom'])-0x1;if(_0x5a47a2['left']-0x1<=_0x512045&&_0x5a47a2['right']+0x1>=_0x512045&&_0x96f42d<_0x5ac5f5){let _0x579b07=_0x512045>=(_0x5a47a2['left']+_0x5a47a2['right'])/0x2,_0x41be30=_0x579b07;(_0xe49063['chrome']||_0xe49063['gecko'])&&(_0x171132(_0x488237,_0x4e8313)['getBoundingClientRect']()['left']==_0x5a47a2['right']&&(_0x41be30=!_0x579b07));if(_0x96f42d<=0x0)return{'node':_0x488237,'offset':_0x4e8313+(_0x41be30?0x1:0x0)};_0x11a408=_0x4e8313+(_0x41be30?0x1:0x0),_0x5ac5f5=_0x96f42d;}}}return{'node':_0x488237,'offset':_0x11a408>-0x1?_0x11a408:_0x841a0d>0x0?_0x488237['nodeValue']['length']:0x0};}function _0x3ea3ed(_0x57f894,_0x1483ab,_0x30b315,_0x5ab509=-0x1){var _0x43ef1f,_0xcd8735;let _0x49a59e,_0x190974=_0x57f894['contentDOM']['getBoundingClientRect'](),_0x386b56=_0x190974['top']+_0x57f894['viewState']['paddingTop'],{docHeight:_0x3a634d}=_0x57f894['viewState'],{x:_0x5850cc,y:_0xf81adb}=_0x1483ab,_0x4c812c=_0xf81adb-_0x386b56;if(_0x4c812c<0x0)return 0x0;if(_0x4c812c>_0x3a634d)return _0x57f894['state']['doc']['length'];for(let _0x11b560=_0x57f894['viewState']['heightOracle']['textHeight']/0x2,_0x236805=!0x1;_0x49a59e=_0x57f894['elementAtHeight'](_0x4c812c),_0x49a59e['type']!=_0x5cf05d['Text'];)for(;_0x4c812c=_0x5ab509>0x0?_0x49a59e['bottom']+_0x11b560:_0x49a59e['top']-_0x11b560,!(_0x4c812c>=0x0&&_0x4c812c<=_0x3a634d);){if(_0x236805)return _0x30b315?null:0x0;_0x236805=!0x0,_0x5ab509=-_0x5ab509;}_0xf81adb=_0x386b56+_0x4c812c;let _0x43596d=_0x49a59e['from'];if(_0x43596d<_0x57f894['viewport']['from'])return 0x0==_0x57f894['viewport']['from']?0x0:_0x30b315?null:_0x3f720b(_0x57f894,_0x190974,_0x49a59e,_0x5850cc,_0xf81adb);if(_0x43596d>_0x57f894['viewport']['to'])return _0x57f894['viewport']['to']==_0x57f894['state']['doc']['length']?_0x57f894['state']['doc']['length']:_0x30b315?null:_0x3f720b(_0x57f894,_0x190974,_0x49a59e,_0x5850cc,_0xf81adb);let _0x2b5c37=_0x57f894['dom']['ownerDocument'],_0x41431b=_0x57f894['root']['elementFromPoint']?_0x57f894['root']:_0x2b5c37,_0x1585e9=_0x41431b['elementFromPoint'](_0x5850cc,_0xf81adb);_0x1585e9&&!_0x57f894['contentDOM']['contains'](_0x1585e9)&&(_0x1585e9=null),_0x1585e9||(_0x5850cc=Math['max'](_0x190974['left']+0x1,Math['min'](_0x190974['right']-0x1,_0x5850cc)),_0x1585e9=_0x41431b['elementFromPoint'](_0x5850cc,_0xf81adb),_0x1585e9&&!_0x57f894['contentDOM']['contains'](_0x1585e9)&&(_0x1585e9=null));let _0x2ca4ac,_0x244747=-0x1;if(_0x1585e9&&0x0!=(null===(_0x43ef1f=_0x57f894['docView']['nearest'](_0x1585e9))||void 0x0===_0x43ef1f?void 0x0:_0x43ef1f['isEditable'])){if(_0x2b5c37['caretPositionFromPoint']){let _0x55e60b=_0x2b5c37['caretPositionFromPoint'](_0x5850cc,_0xf81adb);_0x55e60b&&({offsetNode:_0x2ca4ac,offset:_0x244747}=_0x55e60b);}else{if(_0x2b5c37['caretRangeFromPoint']){let _0x2dfb50=_0x2b5c37['caretRangeFromPoint'](_0x5850cc,_0xf81adb);_0x2dfb50&&({startContainer:_0x2ca4ac,startOffset:_0x244747}=_0x2dfb50);}}_0x2ca4ac&&(!_0x57f894['contentDOM']['contains'](_0x2ca4ac)||_0xe49063['safari']&&function(_0x1652a8,_0x4e2b7c,_0x27cc24){return _0x1bb7d2(_0x1652a8,_0x4e2b7c,_0x27cc24);}(_0x2ca4ac,_0x244747,_0x5850cc)||_0xe49063['chrome']&&function(_0x258fe4,_0x3dbe31,_0x34e95c){if(0x0!=_0x3dbe31)return _0x1bb7d2(_0x258fe4,_0x3dbe31,_0x34e95c);for(let _0x51fab1=_0x258fe4;;){let _0x49aa12=_0x51fab1['parentNode'];if(!_0x49aa12||0x1!=_0x49aa12['nodeType']||_0x49aa12['firstChild']!=_0x51fab1)return!0x1;if(_0x49aa12['classList']['contains']('cm-line'))break;_0x51fab1=_0x49aa12;}let _0x51244d=0x1==_0x258fe4['nodeType']?_0x258fe4['getBoundingClientRect']():_0x171132(_0x258fe4,0x0,Math['max'](_0x258fe4['nodeValue']['length'],0x1))['getBoundingClientRect']();return _0x34e95c-_0x51244d['left']>0x5;}(_0x2ca4ac,_0x244747,_0x5850cc))&&(_0x2ca4ac=void 0x0),_0x2ca4ac&&(_0x244747=Math['min'](_0x3445c1(_0x2ca4ac),_0x244747));}if(!_0x2ca4ac||!_0x57f894['docView']['dom']['contains'](_0x2ca4ac)){let _0x4c9e91=_0x528f67['find'](_0x57f894['docView'],_0x43596d);if(!_0x4c9e91)return _0x4c812c>_0x49a59e['top']+_0x49a59e['height']/0x2?_0x49a59e['to']:_0x49a59e['from'];({node:_0x2ca4ac,offset:_0x244747}=_0x334b37(_0x4c9e91['dom'],_0x5850cc,_0xf81adb));}let _0x45c1c0=_0x57f894['docView']['nearest'](_0x2ca4ac);if(!_0x45c1c0)return null;if(_0x45c1c0['isWidget']&&0x1==(null===(_0xcd8735=_0x45c1c0['dom'])||void 0x0===_0xcd8735?void 0x0:_0xcd8735['nodeType'])){let _0x41f324=_0x45c1c0['dom']['getBoundingClientRect']();return _0x1483ab['y']<_0x41f324['top']||_0x1483ab['y']<=_0x41f324['bottom']&&_0x1483ab['x']<=(_0x41f324['left']+_0x41f324['right'])/0x2?_0x45c1c0['posAtStart']:_0x45c1c0['posAtEnd'];}return _0x45c1c0['localPosFromDOM'](_0x2ca4ac,_0x244747)+_0x45c1c0['posAtStart'];}function _0x3f720b(_0x4168ff,_0xd00729,_0x31a4c5,_0x10bb6f,_0x31ca63){let _0x528528=Math['round']((_0x10bb6f-_0xd00729['left'])*_0x4168ff['defaultCharacterWidth']);if(_0x4168ff['lineWrapping']&&_0x31a4c5['height']>1.5*_0x4168ff['defaultLineHeight']){let _0xc82c6c=_0x4168ff['viewState']['heightOracle']['textHeight'];_0x528528+=Math['floor']((_0x31ca63-_0x31a4c5['top']-0.5*(_0x4168ff['defaultLineHeight']-_0xc82c6c))/_0xc82c6c)*_0x4168ff['viewState']['heightOracle']['lineLength'];}let _0x4403a8=_0x4168ff['state']['sliceDoc'](_0x31a4c5['from'],_0x31a4c5['to']);return _0x31a4c5['from']+_0x22409c(_0x4403a8,_0x528528,_0x4168ff['state']['tabSize']);}function _0x1bb7d2(_0x3a0543,_0x3c94da,_0x32b533){let _0x5dbfe3,_0x12a3a8=_0x3a0543;if(0x3!=_0x3a0543['nodeType']||_0x3c94da!=(_0x5dbfe3=_0x3a0543['nodeValue']['length']))return!0x1;for(;;){let _0x314d8e=_0x12a3a8['nextSibling'];if(_0x314d8e){if('BR'==_0x314d8e['nodeName'])break;return!0x1;}{let _0x26be19=_0x12a3a8['parentNode'];if(!_0x26be19||'DIV'==_0x26be19['nodeName'])break;_0x12a3a8=_0x26be19;}}return _0x171132(_0x3a0543,_0x5dbfe3-0x1,_0x5dbfe3)['getBoundingClientRect']()['right']>_0x32b533;}function _0x8d1c51(_0x12f858,_0x5b2268,_0x217a52){let _0x2f163f=_0x12f858['lineBlockAt'](_0x5b2268);if(Array['isArray'](_0x2f163f['type'])){let _0x3f9e17;for(let _0x5574b2 of _0x2f163f['type']){if(_0x5574b2['from']>_0x5b2268)break;if(!(_0x5574b2['to']<_0x5b2268)){if(_0x5574b2['from']<_0x5b2268&&_0x5574b2['to']>_0x5b2268)return _0x5574b2;_0x3f9e17&&(_0x5574b2['type']!=_0x5cf05d['Text']||_0x3f9e17['type']==_0x5574b2['type']&&!(_0x217a52<0x0?_0x5574b2['from']<_0x5b2268:_0x5574b2['to']>_0x5b2268))||(_0x3f9e17=_0x5574b2);}}return _0x3f9e17||_0x2f163f;}return _0x2f163f;}function _0x32072b(_0x2f776e,_0x2b2399,_0x134f14,_0x595e8e){let _0xf3619b=_0x2f776e['state']['doc']['lineAt'](_0x2b2399['head']),_0x51f17a=_0x2f776e['bidiSpans'](_0xf3619b),_0x2b3407=_0x2f776e['textDirectionAt'](_0xf3619b['from']);for(let _0x408a89=_0x2b2399,_0x50c3b1=null;;){let _0x2095f8=_0x19fda0(_0xf3619b,_0x51f17a,_0x2b3407,_0x408a89,_0x134f14),_0x39a974=_0x26909a;if(!_0x2095f8){if(_0xf3619b['number']==(_0x134f14?_0x2f776e['state']['doc']['lines']:0x1))return _0x408a89;_0x39a974='\x0a',_0xf3619b=_0x2f776e['state']['doc']['line'](_0xf3619b['number']+(_0x134f14?0x1:-0x1)),_0x51f17a=_0x2f776e['bidiSpans'](_0xf3619b),_0x2095f8=_0x2f776e['visualLineSide'](_0xf3619b,!_0x134f14);}if(_0x50c3b1){if(!_0x50c3b1(_0x39a974))return _0x408a89;}else{if(!_0x595e8e)return _0x2095f8;_0x50c3b1=_0x595e8e(_0x39a974);}_0x408a89=_0x2095f8;}}function _0x4a0ddf(_0x55c330,_0x1aca3e,_0xe97bcf){for(;;){let _0x340351=0x0;for(let _0x556de9 of _0x55c330)_0x556de9['between'](_0x1aca3e-0x1,_0x1aca3e+0x1,(_0x52f389,_0x341e39,_0xe8e95c)=>{if(_0x1aca3e>_0x52f389&&_0x1aca3e<_0x341e39){let _0x4a1aa6=_0x340351||_0xe97bcf||(_0x1aca3e-_0x52f389<_0x341e39-_0x1aca3e?-0x1:0x1);_0x1aca3e=_0x4a1aa6<0x0?_0x52f389:_0x341e39,_0x340351=_0x4a1aa6;}});if(!_0x340351)return _0x1aca3e;}}function _0x2d9b08(_0x5abff7,_0x4a152e){let _0x31c1bc=null;for(let _0x1609b0=0x0;_0x1609b0<_0x4a152e['ranges']['length'];_0x1609b0++){let _0x38b4c9=_0x4a152e['ranges'][_0x1609b0],_0x3db9f1=null;if(_0x38b4c9['empty']){let _0x1a0a13=_0x4a0ddf(_0x5abff7,_0x38b4c9['from'],0x0);_0x1a0a13!=_0x38b4c9['from']&&(_0x3db9f1=EditorSelection['cursor'](_0x1a0a13,-0x1));}else{let _0x3d5f84=_0x4a0ddf(_0x5abff7,_0x38b4c9['from'],-0x1),_0x464260=_0x4a0ddf(_0x5abff7,_0x38b4c9['to'],0x1);_0x3d5f84==_0x38b4c9['from']&&_0x464260==_0x38b4c9['to']||(_0x3db9f1=EditorSelection['range'](_0x38b4c9['from']==_0x38b4c9['anchor']?_0x3d5f84:_0x464260,_0x38b4c9['from']==_0x38b4c9['head']?_0x3d5f84:_0x464260));}_0x3db9f1&&(_0x31c1bc||(_0x31c1bc=_0x4a152e['ranges']['slice']()),_0x31c1bc[_0x1609b0]=_0x3db9f1);}return _0x31c1bc?EditorSelection['create'](_0x31c1bc,_0x4a152e['mainIndex']):_0x4a152e;}function _0x3f26ca(_0x40135b,_0x23b701,_0x393a1b){let _0x5a8b33=_0x4a0ddf(_0x40135b['state']['facet'](_0x928139)['map'](_0x1d9d57=>_0x1d9d57(_0x40135b)),_0x393a1b['from'],_0x23b701['head']>_0x393a1b['from']?-0x1:0x1);return _0x5a8b33==_0x393a1b['from']?_0x393a1b:EditorSelection['cursor'](_0x5a8b33,_0x5a8b33<_0x393a1b['from']?0x1:-0x1);}const _0x45462d='';class _0x3a899a{constructor(_0x57ee1f,_0x3703c6){this['points']=_0x57ee1f,this['text']='',this['lineSeparator']=_0x3703c6['facet'](EditorState['lineSeparator']);}['append'](_0x8d6fdf){this['text']+=_0x8d6fdf;}['lineBreak'](){this['text']+=_0x45462d;}['readRange'](_0x5a3716,_0x5ac884){if(!_0x5a3716)return this;let _0x470b4c=_0x5a3716['parentNode'];for(let _0x43acf8=_0x5a3716;;){this['findPointBefore'](_0x470b4c,_0x43acf8);let _0x21f2e1=this['text']['length'];this['readNode'](_0x43acf8);let _0x42f014=_0x43acf8['nextSibling'];if(_0x42f014==_0x5ac884)break;let _0x24aa81=ContentView['get'](_0x43acf8),_0x25149e=ContentView['get'](_0x42f014);(_0x24aa81&&_0x25149e?_0x24aa81['breakAfter']:(_0x24aa81?_0x24aa81['breakAfter']:_0x32a1b2(_0x43acf8))||_0x32a1b2(_0x42f014)&&('BR'!=_0x43acf8['nodeName']||_0x43acf8['cmIgnore'])&&this['text']['length']>_0x21f2e1)&&!_0x4b9794(_0x42f014,_0x5ac884)&&this['lineBreak'](),_0x43acf8=_0x42f014;}return this['findPointBefore'](_0x470b4c,_0x5ac884),this;}['readTextNode'](_0x477b6b){let _0x9827a6=_0x477b6b['nodeValue'];for(let _0x21dde1 of this['points'])_0x21dde1['node']==_0x477b6b&&(_0x21dde1['pos']=this['text']['length']+Math['min'](_0x21dde1['offset'],_0x9827a6['length']));for(let _0x4d6f9e=0x0,_0x529a61=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x2f6547,_0xd379a3=-0x1,_0x22cd0d=0x1;if(this['lineSeparator']?(_0xd379a3=_0x9827a6['indexOf'](this['lineSeparator'],_0x4d6f9e),_0x22cd0d=this['lineSeparator']['length']):(_0x2f6547=_0x529a61['exec'](_0x9827a6))&&(_0xd379a3=_0x2f6547['index'],_0x22cd0d=_0x2f6547[0x0]['length']),this['append'](_0x9827a6['slice'](_0x4d6f9e,_0xd379a3<0x0?_0x9827a6['length']:_0xd379a3)),_0xd379a3<0x0)break;if(this['lineBreak'](),_0x22cd0d>0x1){for(let _0x149b17 of this['points'])_0x149b17['node']==_0x477b6b&&_0x149b17['pos']>this['text']['length']&&(_0x149b17['pos']-=_0x22cd0d-0x1);}_0x4d6f9e=_0xd379a3+_0x22cd0d;}}['readNode'](_0x236bbc){if(_0x236bbc['cmIgnore'])return;let _0x35715b=ContentView['get'](_0x236bbc),_0x3b1561=_0x35715b&&_0x35715b['overrideDOMText'];if(null!=_0x3b1561){this['findPointInside'](_0x236bbc,_0x3b1561['length']);for(let _0x161c9b=_0x3b1561['iter']();!_0x161c9b['next']()['done'];)_0x161c9b['lineBreak']?this['lineBreak']():this['append'](_0x161c9b['value']);}else 0x3==_0x236bbc['nodeType']?this['readTextNode'](_0x236bbc):'BR'==_0x236bbc['nodeName']?_0x236bbc['nextSibling']&&this['lineBreak']():0x1==_0x236bbc['nodeType']&&this['readRange'](_0x236bbc['firstChild'],null);}['findPointBefore'](_0x31711d,_0x2d56d5){for(let _0x430087 of this['points'])_0x430087['node']==_0x31711d&&_0x31711d['childNodes'][_0x430087['offset']]==_0x2d56d5&&(_0x430087['pos']=this['text']['length']);}['findPointInside'](_0x556e2d,_0x13e833){for(let _0x30b380 of this['points'])(0x3==_0x556e2d['nodeType']?_0x30b380['node']==_0x556e2d:_0x556e2d['contains'](_0x30b380['node']))&&(_0x30b380['pos']=this['text']['length']+(_0xa75793(_0x556e2d,_0x30b380['node'],_0x30b380['offset'])?_0x13e833:0x0));}}function _0xa75793(_0x4927da,_0x5b10ab,_0x4a13e6){for(;;){if(!_0x5b10ab||_0x4a13e6<_0x3445c1(_0x5b10ab))return!0x1;if(_0x5b10ab==_0x4927da)return!0x0;_0x4a13e6=_0xb350d7(_0x5b10ab)+0x1,_0x5b10ab=_0x5b10ab['parentNode'];}}function _0x4b9794(_0x590df2,_0x2d8e07){let _0x51581e;for(;_0x590df2!=_0x2d8e07&&_0x590df2;_0x590df2=_0x590df2['nextSibling']){let _0x235093=ContentView['get'](_0x590df2);if(!(null==_0x235093?void 0x0:_0x235093['isWidget'])&&!_0x590df2['cmIgnore'])return!0x1;_0x235093&&(_0x51581e||(_0x51581e=[]))['push'](_0x235093);}if(_0x51581e)for(let _0x68b24 of _0x51581e){let _0x583189=_0x68b24['overrideDOMText'];if(null==_0x583189?void 0x0:_0x583189['length'])return!0x1;}return!0x0;}class DOMPoint{constructor(_0x121bb6,_0x4ca663){this['node']=_0x121bb6,this['offset']=_0x4ca663,this['pos']=-0x1;}}class _0x2a8b82{constructor(_0x1ebce3,_0x538ce3,_0x3e085a,_0x24cd69){this['typeOver']=_0x24cd69,this['bounds']=null,this['text']='',this['domChanged']=_0x538ce3>-0x1;let {impreciseHead:_0x51e78f,impreciseAnchor:_0x46b092}=_0x1ebce3['docView'];if(_0x1ebce3['state']['readOnly']&&_0x538ce3>-0x1)this['newSel']=null;else{if(_0x538ce3>-0x1&&(this['bounds']=_0x1ebce3['docView']['domBoundsAround'](_0x538ce3,_0x3e085a,0x0))){let _0x1809ce=_0x51e78f||_0x46b092?[]:function(_0x2803ac){let _0x533097=[];if(_0x2803ac['root']['activeElement']!=_0x2803ac['contentDOM'])return _0x533097;let {anchorNode:_0x8428af,anchorOffset:_0x3b8b7f,focusNode:_0x4ed438,focusOffset:_0x1172df}=_0x2803ac['observer']['selectionRange'];return _0x8428af&&(_0x533097['push'](new DOMPoint(_0x8428af,_0x3b8b7f)),_0x4ed438==_0x8428af&&_0x1172df==_0x3b8b7f||_0x533097['push'](new DOMPoint(_0x4ed438,_0x1172df))),_0x533097;}(_0x1ebce3),_0x50c783=new _0x3a899a(_0x1809ce,_0x1ebce3['state']);_0x50c783['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0x50c783['text'],this['newSel']=function(_0x1b1f88,_0x5acf76){if(0x0==_0x1b1f88['length'])return null;let _0x516e74=_0x1b1f88[0x0]['pos'],_0x20f6c7=0x2==_0x1b1f88['length']?_0x1b1f88[0x1]['pos']:_0x516e74;return _0x516e74>-0x1&&_0x20f6c7>-0x1?EditorSelection['single'](_0x516e74+_0x5acf76,_0x20f6c7+_0x5acf76):null;}(_0x1809ce,this['bounds']['from']);}else{let _0x2049cf=_0x1ebce3['observer']['selectionRange'],_0x32a67a=_0x51e78f&&_0x51e78f['node']==_0x2049cf['focusNode']&&_0x51e78f['offset']==_0x2049cf['focusOffset']||!_0x29f33d(_0x1ebce3['contentDOM'],_0x2049cf['focusNode'])?_0x1ebce3['state']['selection']['main']['head']:_0x1ebce3['docView']['posFromDOM'](_0x2049cf['focusNode'],_0x2049cf['focusOffset']),_0x5c7a94=_0x46b092&&_0x46b092['node']==_0x2049cf['anchorNode']&&_0x46b092['offset']==_0x2049cf['anchorOffset']||!_0x29f33d(_0x1ebce3['contentDOM'],_0x2049cf['anchorNode'])?_0x1ebce3['state']['selection']['main']['anchor']:_0x1ebce3['docView']['posFromDOM'](_0x2049cf['anchorNode'],_0x2049cf['anchorOffset']),_0x2dcbbd=_0x1ebce3['viewport'];if((_0xe49063['ios']||_0xe49063['chrome'])&&_0x1ebce3['state']['selection']['main']['empty']&&_0x32a67a!=_0x5c7a94&&(_0x2dcbbd['from']>0x0||_0x2dcbbd['to']<_0x1ebce3['state']['doc']['length'])){let _0xfbedf1=Math['min'](_0x32a67a,_0x5c7a94),_0x199364=Math['max'](_0x32a67a,_0x5c7a94),_0x544ae4=_0x2dcbbd['from']-_0xfbedf1,_0x374069=_0x2dcbbd['to']-_0x199364;0x0!=_0x544ae4&&0x1!=_0x544ae4&&0x0!=_0xfbedf1||0x0!=_0x374069&&-0x1!=_0x374069&&_0x199364!=_0x1ebce3['state']['doc']['length']||(_0x32a67a=0x0,_0x5c7a94=_0x1ebce3['state']['doc']['length']);}this['newSel']=EditorSelection['single'](_0x5c7a94,_0x32a67a);}}}}function _0x50721f(_0x3c1985,_0x4df665){let _0x1481d7,{newSel:_0x47e7b5}=_0x4df665,_0x18ecaa=_0x3c1985['state']['selection']['main'],_0x310607=_0x3c1985['inputState']['lastKeyTime']>Date['now']()-0x64?_0x3c1985['inputState']['lastKeyCode']:-0x1;if(_0x4df665['bounds']){let {from:_0x35652d,to:_0x4d99e1}=_0x4df665['bounds'],_0x30cf55=_0x18ecaa['from'],_0x4e9743=null;(0x8===_0x310607||_0xe49063['android']&&_0x4df665['text']['length']<_0x4d99e1-_0x35652d)&&(_0x30cf55=_0x18ecaa['to'],_0x4e9743='end');let _0x3db0ee=ty(_0x3c1985['state']['doc']['sliceString'](_0x35652d,_0x4d99e1,_0x45462d),_0x4df665['text'],_0x30cf55-_0x35652d,_0x4e9743);_0x3db0ee&&(_0xe49063['chrome']&&0xd==_0x310607&&_0x3db0ee['toB']==_0x3db0ee['from']+0x2&&_0x4df665['text']['slice'](_0x3db0ee['from'],_0x3db0ee['toB'])==_0x45462d+_0x45462d&&_0x3db0ee['toB']--,_0x1481d7={'from':_0x35652d+_0x3db0ee['from'],'to':_0x35652d+_0x3db0ee['toA'],'insert':_0x5681fe['of'](_0x4df665['text']['slice'](_0x3db0ee['from'],_0x3db0ee['toB'])['split'](_0x45462d))});}else _0x47e7b5&&(!_0x3c1985['hasFocus']&&_0x3c1985['state']['facet'](_0x19cf30)||_0x47e7b5['main']['eq'](_0x18ecaa))&&(_0x47e7b5=null);if(!_0x1481d7&&!_0x47e7b5)return!0x1;if(!_0x1481d7&&_0x4df665['typeOver']&&!_0x18ecaa['empty']&&_0x47e7b5&&_0x47e7b5['main']['empty']?_0x1481d7={'from':_0x18ecaa['from'],'to':_0x18ecaa['to'],'insert':_0x3c1985['state']['doc']['slice'](_0x18ecaa['from'],_0x18ecaa['to'])}:(_0xe49063['mac']||_0xe49063['android'])&&_0x1481d7&&_0x1481d7['from']==_0x1481d7['to']&&_0x1481d7['from']==_0x18ecaa['head']-0x1&&/^\. ?$/['test'](_0x1481d7['insert']['toString']())&&'off'==_0x3c1985['contentDOM']['getAttribute']('autocorrect')?(_0x47e7b5&&0x2==_0x1481d7['insert']['length']&&(_0x47e7b5=EditorSelection['single'](_0x47e7b5['main']['anchor']-0x1,_0x47e7b5['main']['head']-0x1)),_0x1481d7={'from':_0x1481d7['from'],'to':_0x1481d7['to'],'insert':_0x5681fe['of']([_0x1481d7['insert']['toString']()['replace']('.','\x20')])}):_0x1481d7&&_0x1481d7['from']>=_0x18ecaa['from']&&_0x1481d7['to']<=_0x18ecaa['to']&&(_0x1481d7['from']!=_0x18ecaa['from']||_0x1481d7['to']!=_0x18ecaa['to'])&&_0x18ecaa['to']-_0x18ecaa['from']-(_0x1481d7['to']-_0x1481d7['from'])<=0x4?_0x1481d7={'from':_0x18ecaa['from'],'to':_0x18ecaa['to'],'insert':_0x3c1985['state']['doc']['slice'](_0x18ecaa['from'],_0x1481d7['from'])['append'](_0x1481d7['insert'])['append'](_0x3c1985['state']['doc']['slice'](_0x1481d7['to'],_0x18ecaa['to']))}:_0xe49063['chrome']&&_0x1481d7&&_0x1481d7['from']==_0x1481d7['to']&&_0x1481d7['from']==_0x18ecaa['head']&&'\x0a\x20'==_0x1481d7['insert']['toString']()&&_0x3c1985['lineWrapping']&&(_0x47e7b5&&(_0x47e7b5=EditorSelection['single'](_0x47e7b5['main']['anchor']-0x1,_0x47e7b5['main']['head']-0x1)),_0x1481d7={'from':_0x18ecaa['from'],'to':_0x18ecaa['to'],'insert':_0x5681fe['of'](['\x20'])}),_0x1481d7)return _0x24a738(_0x3c1985,_0x1481d7,_0x47e7b5,_0x310607);if(_0x47e7b5&&!_0x47e7b5['main']['eq'](_0x18ecaa)){let _0x15a77f=!0x1,_0x1d3445='select';return _0x3c1985['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0x3c1985['inputState']['lastSelectionOrigin']&&(_0x15a77f=!0x0),_0x1d3445=_0x3c1985['inputState']['lastSelectionOrigin'],'select.pointer'==_0x1d3445&&(_0x47e7b5=_0x2d9b08(_0x3c1985['state']['facet'](_0x928139)['map'](_0x13ae6b=>_0x13ae6b(_0x3c1985)),_0x47e7b5))),_0x3c1985['dispatch']({'selection':_0x47e7b5,'scrollIntoView':_0x15a77f,'userEvent':_0x1d3445}),!0x0;}return!0x1;}function _0x24a738(_0x4f80f3,_0x97ad05,_0x5625d3,_0x33e3d3=-0x1){if(_0xe49063['ios']&&_0x4f80f3['inputState']['flushIOSKey'](_0x97ad05))return!0x0;let _0x182ba1=_0x4f80f3['state']['selection']['main'];if(_0xe49063['android']&&(_0x97ad05['to']==_0x182ba1['to']&&(_0x97ad05['from']==_0x182ba1['from']||_0x97ad05['from']==_0x182ba1['from']-0x1&&'\x20'==_0x4f80f3['state']['sliceDoc'](_0x97ad05['from'],_0x182ba1['from']))&&0x1==_0x97ad05['insert']['length']&&0x2==_0x97ad05['insert']['lines']&&_0x1af467(_0x4f80f3['contentDOM'],'Enter',0xd)||(_0x97ad05['from']==_0x182ba1['from']-0x1&&_0x97ad05['to']==_0x182ba1['to']&&0x0==_0x97ad05['insert']['length']||0x8==_0x33e3d3&&_0x97ad05['insert']['length']<_0x97ad05['to']-_0x97ad05['from']&&_0x97ad05['to']>_0x182ba1['head'])&&_0x1af467(_0x4f80f3['contentDOM'],'Backspace',0x8)||_0x97ad05['from']==_0x182ba1['from']&&_0x97ad05['to']==_0x182ba1['to']+0x1&&0x0==_0x97ad05['insert']['length']&&_0x1af467(_0x4f80f3['contentDOM'],'Delete',0x2e)))return!0x0;let _0xd30942,_0x32d81d=_0x97ad05['insert']['toString']();_0x4f80f3['inputState']['composing']>=0x0&&_0x4f80f3['inputState']['composing']++;let _0xfe7baa=()=>_0xd30942||(_0xd30942=function(_0x3e75d4,_0x358258,_0x49d4a8){let _0x478309,_0x314e11=_0x3e75d4['state'],_0x41ccd6=_0x314e11['selection']['main'],_0x206750=-0x1;if(_0x358258['from']==_0x358258['to']&&_0x358258['from']<_0x41ccd6['from']||_0x358258['from']>_0x41ccd6['to']){let _0x134efd=_0x358258['from']<_0x41ccd6['from']?-0x1:0x1,_0x4d3cd3=_0x134efd<0x0?_0x41ccd6['from']:_0x41ccd6['to'],_0x80b9d0=_0x4a0ddf(_0x314e11['facet'](_0x928139)['map'](_0x57a69d=>_0x57a69d(_0x3e75d4)),_0x4d3cd3,_0x134efd);_0x358258['from']==_0x80b9d0&&(_0x206750=_0x80b9d0);}if(_0x206750>-0x1)_0x478309={'changes':_0x358258,'selection':EditorSelection['cursor'](_0x358258['from']+_0x358258['insert']['length'],-0x1)};else{if(_0x358258['from']>=_0x41ccd6['from']&&_0x358258['to']<=_0x41ccd6['to']&&_0x358258['to']-_0x358258['from']>=(_0x41ccd6['to']-_0x41ccd6['from'])/0x3&&(!_0x49d4a8||_0x49d4a8['main']['empty']&&_0x49d4a8['main']['from']==_0x358258['from']+_0x358258['insert']['length'])&&_0x3e75d4['inputState']['composing']<0x0){let _0x12f0eb=_0x41ccd6['from']<_0x358258['from']?_0x314e11['sliceDoc'](_0x41ccd6['from'],_0x358258['from']):'',_0x295a52=_0x41ccd6['to']>_0x358258['to']?_0x314e11['sliceDoc'](_0x358258['to'],_0x41ccd6['to']):'';_0x478309=_0x314e11['replaceSelection'](_0x3e75d4['state']['toText'](_0x12f0eb+_0x358258['insert']['sliceString'](0x0,void 0x0,_0x3e75d4['state']['lineBreak'])+_0x295a52));}else{let _0xd914f3=_0x314e11['changes'](_0x358258),_0x2425b9=_0x49d4a8&&_0x49d4a8['main']['to']<=_0xd914f3['newLength']?_0x49d4a8['main']:void 0x0;if(_0x314e11['selection']['ranges']['length']>0x1&&_0x3e75d4['inputState']['composing']>=0x0&&_0x358258['to']<=_0x41ccd6['to']&&_0x358258['to']>=_0x41ccd6['to']-0xa){let _0x51d1e8,_0x5fddc1=_0x3e75d4['state']['sliceDoc'](_0x358258['from'],_0x358258['to']),_0x11e476=_0x49d4a8&&_0x5bddbe(_0x3e75d4,_0x49d4a8['main']['head']);if(_0x11e476){let _0x3335b4=_0x358258['insert']['length']-(_0x358258['to']-_0x358258['from']);_0x51d1e8={'from':_0x11e476['from'],'to':_0x11e476['to']-_0x3335b4};}else _0x51d1e8=_0x3e75d4['state']['doc']['lineAt'](_0x41ccd6['head']);let _0x21f4f6=_0x41ccd6['to']-_0x358258['to'],_0x28849d=_0x41ccd6['to']-_0x41ccd6['from'];_0x478309=_0x314e11['changeByRange'](_0x1730d4=>{if(_0x1730d4['from']==_0x41ccd6['from']&&_0x1730d4['to']==_0x41ccd6['to'])return{'changes':_0xd914f3,'range':_0x2425b9||_0x1730d4['map'](_0xd914f3)};let _0x223377=_0x1730d4['to']-_0x21f4f6,_0x5e307a=_0x223377-_0x5fddc1['length'];if(_0x1730d4['to']-_0x1730d4['from']!=_0x28849d||_0x3e75d4['state']['sliceDoc'](_0x5e307a,_0x223377)!=_0x5fddc1||_0x1730d4['to']>=_0x51d1e8['from']&&_0x1730d4['from']<=_0x51d1e8['to'])return{'range':_0x1730d4};let _0x9c4bec=_0x314e11['changes']({'from':_0x5e307a,'to':_0x223377,'insert':_0x358258['insert']}),_0x2cdb38=_0x1730d4['to']-_0x41ccd6['to'];return{'changes':_0x9c4bec,'range':_0x2425b9?EditorSelection['range'](Math['max'](0x0,_0x2425b9['anchor']+_0x2cdb38),Math['max'](0x0,_0x2425b9['head']+_0x2cdb38)):_0x1730d4['map'](_0x9c4bec)};});}else _0x478309={'changes':_0xd914f3,'selection':_0x2425b9&&_0x314e11['selection']['replaceRange'](_0x2425b9)};}}let _0x2e958b='input.type';return(_0x3e75d4['composing']||_0x3e75d4['inputState']['compositionPendingChange']&&_0x3e75d4['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x3e75d4['inputState']['compositionPendingChange']=!0x1,_0x2e958b+='.compose',_0x3e75d4['inputState']['compositionFirstChange']&&(_0x2e958b+='.start',_0x3e75d4['inputState']['compositionFirstChange']=!0x1)),_0x314e11['update'](_0x478309,{'userEvent':_0x2e958b,'scrollIntoView':!0x0});}(_0x4f80f3,_0x97ad05,_0x5625d3));return _0x4f80f3['state']['facet'](_0x5cf6d6)['some'](_0x11260f=>_0x11260f(_0x4f80f3,_0x97ad05['from'],_0x97ad05['to'],_0x32d81d,_0xfe7baa))||_0x4f80f3['dispatch'](_0xfe7baa()),!0x0;}function ty(_0x52f464,_0x2230dd,_0x5d7cd5,_0x12b6d0){let _0x11f758=Math['min'](_0x52f464['length'],_0x2230dd['length']),_0x14b0da=0x0;for(;_0x14b0da<_0x11f758&&_0x52f464['charCodeAt'](_0x14b0da)==_0x2230dd['charCodeAt'](_0x14b0da);)_0x14b0da++;if(_0x14b0da==_0x11f758&&_0x52f464['length']==_0x2230dd['length'])return null;let _0x57630a=_0x52f464['length'],_0x4166db=_0x2230dd['length'];for(;_0x57630a>0x0&&_0x4166db>0x0&&_0x52f464['charCodeAt'](_0x57630a-0x1)==_0x2230dd['charCodeAt'](_0x4166db-0x1);)_0x57630a--,_0x4166db--;'end'==_0x12b6d0&&(_0x5d7cd5-=_0x57630a+Math['max'](0x0,_0x14b0da-Math['min'](_0x57630a,_0x4166db))-_0x14b0da);if(_0x57630a<_0x14b0da&&_0x52f464['length']<_0x2230dd['length'])_0x14b0da-=_0x5d7cd5<=_0x14b0da&&_0x5d7cd5>=_0x57630a?_0x14b0da-_0x5d7cd5:0x0,_0x4166db=_0x14b0da+(_0x4166db-_0x57630a),_0x57630a=_0x14b0da;else _0x4166db<_0x14b0da&&(_0x14b0da-=_0x5d7cd5<=_0x14b0da&&_0x5d7cd5>=_0x4166db?_0x14b0da-_0x5d7cd5:0x0,_0x57630a=_0x14b0da+(_0x57630a-_0x4166db),_0x4166db=_0x14b0da);return{'from':_0x14b0da,'toA':_0x57630a,'toB':_0x4166db};}class InputState{['setSelectionOrigin'](_0x2e7dda){this['lastSelectionOrigin']=_0x2e7dda,this['lastSelectionTime']=Date['now']();}constructor(_0x5c87c3){this['view']=_0x5c87c3,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']=_0x5c87c3['hasFocus'],_0xe49063['safari']&&_0x5c87c3['contentDOM']['addEventListener']('input',()=>null),_0xe49063['gecko']&&function(_0x2bbe4d){_0x48d897['has'](_0x2bbe4d)||(_0x48d897['add'](_0x2bbe4d),_0x2bbe4d['addEventListener']('copy',()=>{}),_0x2bbe4d['addEventListener']('cut',()=>{}));}(_0x5c87c3['contentDOM']['ownerDocument']);}['handleEvent'](_0x2fd9fc){(function(_0x301d03,_0x6fc03c){if(!_0x6fc03c['bubbles'])return!0x0;if(_0x6fc03c['defaultPrevented'])return!0x1;for(let _0x5443f3,_0x396f0a=_0x6fc03c['target'];_0x396f0a!=_0x301d03['contentDOM'];_0x396f0a=_0x396f0a['parentNode'])if(!_0x396f0a||0xb==_0x396f0a['nodeType']||(_0x5443f3=ContentView['get'](_0x396f0a))&&_0x5443f3['ignoreEvent'](_0x6fc03c))return!0x1;return!0x0;}(this['view'],_0x2fd9fc)&&!this['ignoreDuringComposition'](_0x2fd9fc)&&('keydown'==_0x2fd9fc['type']&&this['keydown'](_0x2fd9fc)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0x2fd9fc['type'],_0x2fd9fc)):this['runHandlers'](_0x2fd9fc['type'],_0x2fd9fc))));}['runHandlers'](_0x16c997,_0x1e3445){let _0x549ce7=this['handlers'][_0x16c997];if(_0x549ce7){for(let _0x41a478 of _0x549ce7['observers'])_0x41a478(this['view'],_0x1e3445);for(let _0x4ae6c6 of _0x549ce7['handlers']){if(_0x1e3445['defaultPrevented'])break;if(_0x4ae6c6(this['view'],_0x1e3445)){_0x1e3445['preventDefault']();break;}}}}['ensureHandlers'](_0x3dcf23){let _0x47bec1=_0x20a278(_0x3dcf23),_0x55e2d5=this['handlers'],_0x28f9a=this['view']['contentDOM'];for(let _0x4faa3c in _0x47bec1)if('scroll'!=_0x4faa3c){let _0x427a40=!_0x47bec1[_0x4faa3c]['handlers']['length'],_0x2286ce=_0x55e2d5[_0x4faa3c];_0x2286ce&&_0x427a40!=!_0x2286ce['handlers']['length']&&(_0x28f9a['removeEventListener'](_0x4faa3c,this['handleEvent']),_0x2286ce=null),_0x2286ce||_0x28f9a['addEventListener'](_0x4faa3c,this['handleEvent'],{'passive':_0x427a40});}for(let _0x256cb3 in _0x55e2d5)'scroll'==_0x256cb3||_0x47bec1[_0x256cb3]||_0x28f9a['removeEventListener'](_0x256cb3,this['handleEvent']);this['handlers']=_0x47bec1;}['keydown'](_0x127b67){if(this['lastKeyCode']=_0x127b67['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x127b67['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x127b67['keyCode']&&_0x15bc23['indexOf'](_0x127b67['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),_0xe49063['android']&&_0xe49063['chrome']&&!_0x127b67['synthetic']&&(0xd==_0x127b67['keyCode']||0x8==_0x127b67['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x127b67['key'],_0x127b67['keyCode']),!0x0;let _0x25bf2a;return!_0xe49063['ios']||_0x127b67['synthetic']||_0x127b67['altKey']||_0x127b67['metaKey']||!((_0x25bf2a=_0xec0ffe['find'](_0x18ca68=>_0x18ca68['keyCode']==_0x127b67['keyCode']))&&!_0x127b67['ctrlKey']||_0x1e6725['indexOf'](_0x127b67['key'])>-0x1&&_0x127b67['ctrlKey']&&!_0x127b67['shiftKey'])?(0xe5!=_0x127b67['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0x25bf2a||_0x127b67,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0x31fb9b){let _0x439035=this['pendingIOSKey'];return!!_0x439035&&(!('Enter'==_0x439035['key']&&_0x31fb9b&&_0x31fb9b['from']<_0x31fb9b['to']&&/^\S+$/['test'](_0x31fb9b['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,_0x1af467(this['view']['contentDOM'],_0x439035['key'],_0x439035['keyCode'],_0x439035 instanceof KeyboardEvent?_0x439035:void 0x0)));}['ignoreDuringComposition'](_0x4c1c85){return!(!/^key/['test'](_0x4c1c85['type'])||_0x4c1c85['synthetic'])&&(this['composing']>0x0||!!(_0xe49063['safari']&&!_0xe49063['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}['startMouseSelection'](_0x5e564e){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0x5e564e;}['update'](_0x23ee2d){this['view']['observer']['update'](_0x23ee2d),this['mouseSelection']&&this['mouseSelection']['update'](_0x23ee2d),this['draggedContent']&&_0x23ee2d['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x23ee2d['changes'])),_0x23ee2d['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}['destroy'](){this['mouseSelection']&&this['mouseSelection']['destroy']();}}function _0x213473(_0x8828bd,_0x15040b){return(_0x116a00,_0x1e391e)=>{try{return _0x15040b['call'](_0x8828bd,_0x1e391e,_0x116a00);}catch(_0x32030a){_0x817679(_0x116a00['state'],_0x32030a);}};}function _0x20a278(_0x5d1a17){let _0x4b572e=Object['create'](null);function _0x8e4c52(_0x1e9f29){return _0x4b572e[_0x1e9f29]||(_0x4b572e[_0x1e9f29]={'observers':[],'handlers':[]});}for(let _0x425be7 of _0x5d1a17){let _0x4468d4=_0x425be7['spec'],_0x218aae=_0x4468d4&&_0x4468d4['plugin']['domEventHandlers'],_0x31625b=_0x4468d4&&_0x4468d4['plugin']['domEventObservers'];if(_0x218aae)for(let _0x292846 in _0x218aae){let _0x5a6c97=_0x218aae[_0x292846];_0x5a6c97&&_0x8e4c52(_0x292846)['handlers']['push'](_0x213473(_0x425be7['value'],_0x5a6c97));}if(_0x31625b)for(let _0x417833 in _0x31625b){let _0x431366=_0x31625b[_0x417833];_0x431366&&_0x8e4c52(_0x417833)['observers']['push'](_0x213473(_0x425be7['value'],_0x431366));}}for(let _0x5377d3 in _0x28a3f3)_0x8e4c52(_0x5377d3)['handlers']['push'](_0x28a3f3[_0x5377d3]);for(let _0x2a25ca in _0x1557ec)_0x8e4c52(_0x2a25ca)['observers']['push'](_0x1557ec[_0x2a25ca]);return _0x4b572e;}const _0xec0ffe=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],_0x1e6725='dthko',_0x15bc23=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1];function _0x2b2614(_0x4fc039){return 0.7*Math['max'](0x0,_0x4fc039)+0x8;}class MouseSelection{constructor(_0x2d4e5f,_0x4dfd05,_0xd7cf62,_0x338026){this['view']=_0x2d4e5f,this['startEvent']=_0x4dfd05,this['style']=_0xd7cf62,this['mustSelect']=_0x338026,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0x4dfd05,this['scrollParents']=function(_0x3a3ba2){let _0xd7b3c8,_0x5439f7,_0x5a786d=_0x3a3ba2['ownerDocument'];for(let _0x992a33=_0x3a3ba2['parentNode'];_0x992a33&&!(_0x992a33==_0x5a786d['body']||_0xd7b3c8&&_0x5439f7);)if(0x1==_0x992a33['nodeType'])!_0x5439f7&&_0x992a33['scrollHeight']>_0x992a33['clientHeight']&&(_0x5439f7=_0x992a33),!_0xd7b3c8&&_0x992a33['scrollWidth']>_0x992a33['clientWidth']&&(_0xd7b3c8=_0x992a33),_0x992a33=_0x992a33['assignedSlot']||_0x992a33['parentNode'];else{if(0xb!=_0x992a33['nodeType'])break;_0x992a33=_0x992a33['host'];}return{'x':_0xd7b3c8,'y':_0x5439f7};}(_0x2d4e5f['contentDOM']),this['atoms']=_0x2d4e5f['state']['facet'](_0x928139)['map'](_0x53b4aa=>_0x53b4aa(_0x2d4e5f));let _0x5ba7bc=_0x2d4e5f['contentDOM']['ownerDocument'];_0x5ba7bc['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0x5ba7bc['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0x4dfd05['shiftKey'],this['multiple']=_0x2d4e5f['state']['facet'](EditorState['allowMultipleSelections'])&&function(_0x5c81a9,_0x168206){let _0xffbc4f=_0x5c81a9['state']['facet'](_0x287b9b);return _0xffbc4f['length']?_0xffbc4f[0x0](_0x168206):_0xe49063['mac']?_0x168206['metaKey']:_0x168206['ctrlKey'];}(_0x2d4e5f,_0x4dfd05),this['dragging']=!(!function(_0x30112b,_0x387b68){let {main:_0x284946}=_0x30112b['state']['selection'];if(_0x284946['empty'])return!0x1;let _0x1f963c=_0x1f5501(_0x30112b['root']);if(!_0x1f963c||0x0==_0x1f963c['rangeCount'])return!0x0;let _0x5b337a=_0x1f963c['getRangeAt'](0x0)['getClientRects']();for(let _0x32471c=0x0;_0x32471c<_0x5b337a['length'];_0x32471c++){let _0x47d200=_0x5b337a[_0x32471c];if(_0x47d200['left']<=_0x387b68['clientX']&&_0x47d200['right']>=_0x387b68['clientX']&&_0x47d200['top']<=_0x387b68['clientY']&&_0x47d200['bottom']>=_0x387b68['clientY'])return!0x0;}return!0x1;}(_0x2d4e5f,_0x4dfd05)||0x1!=_0x33e786(_0x4dfd05))&&null;}['start'](_0xf09140){!0x1===this['dragging']&&this['select'](_0xf09140);}['move'](_0x3a0d51){if(0x0==_0x3a0d51['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&(_0x38c526=this['startEvent'],_0x52da1d=_0x3a0d51,Math['max'](Math['abs'](_0x38c526['clientX']-_0x52da1d['clientX']),Math['abs'](_0x38c526['clientY']-_0x52da1d['clientY']))<0xa))return;var _0x38c526,_0x52da1d;this['select'](this['lastEvent']=_0x3a0d51);let _0x5e7135=0x0,_0x2ffc32=0x0,_0x17439f=0x0,_0x37b12a=0x0,_0x54f1a2=this['view']['win']['innerWidth'],_0x481a76=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x17439f,right:_0x54f1a2}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0x37b12a,bottom:_0x481a76}=this['scrollParents']['y']['getBoundingClientRect']());let _0x2b6b27=_0x2f7ce8(this['view']);_0x3a0d51['clientX']-_0x2b6b27['left']<=_0x17439f+0x6?_0x5e7135=-_0x2b2614(_0x17439f-_0x3a0d51['clientX']):_0x3a0d51['clientX']+_0x2b6b27['right']>=_0x54f1a2-0x6&&(_0x5e7135=_0x2b2614(_0x3a0d51['clientX']-_0x54f1a2)),_0x3a0d51['clientY']-_0x2b6b27['top']<=_0x37b12a+0x6?_0x2ffc32=-_0x2b2614(_0x37b12a-_0x3a0d51['clientY']):_0x3a0d51['clientY']+_0x2b6b27['bottom']>=_0x481a76-0x6&&(_0x2ffc32=_0x2b2614(_0x3a0d51['clientY']-_0x481a76)),this['setScrollSpeed'](_0x5e7135,_0x2ffc32);}['up'](_0x395884){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0x395884['preventDefault'](),this['destroy']();}['destroy'](){this['setScrollSpeed'](0x0,0x0);let _0x21bdac=this['view']['contentDOM']['ownerDocument'];_0x21bdac['removeEventListener']('mousemove',this['move']),_0x21bdac['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}['setScrollSpeed'](_0x46dd2f,_0x50c9fc){this['scrollSpeed']={'x':_0x46dd2f,'y':_0x50c9fc},_0x46dd2f||_0x50c9fc?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x10db58,y:_0x12a5c4}=this['scrollSpeed'];_0x10db58&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x10db58,_0x10db58=0x0),_0x12a5c4&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0x12a5c4,_0x12a5c4=0x0),(_0x10db58||_0x12a5c4)&&this['view']['win']['scrollBy'](_0x10db58,_0x12a5c4),!0x1===this['dragging']&&this['select'](this['lastEvent']);}['select'](_0x1b41d9){let {view:_0x3f4215}=this,_0x399a98=_0x2d9b08(this['atoms'],this['style']['get'](_0x1b41d9,this['extend'],this['multiple']));!this['mustSelect']&&_0x399a98['eq'](_0x3f4215['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x399a98,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}['update'](_0x54fdc8){_0x54fdc8['transactions']['some'](_0x463520=>_0x463520['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x54fdc8)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}}const _0x28a3f3=Object['create'](null),_0x1557ec=Object['create'](null),_0x458e2c=_0xe49063['ie']&&_0xe49063['ie_version']<0xf||_0xe49063['ios']&&_0xe49063['webkit_version']<0x25c;function _0x3e134a(_0x1532a4,_0x25428a,_0x31b12b){for(let _0x54e585 of _0x1532a4['facet'](_0x25428a))_0x31b12b=_0x54e585(_0x31b12b,_0x1532a4);return _0x31b12b;}function _0x7c805c(_0x1d3ca1,_0xde786){_0xde786=_0x3e134a(_0x1d3ca1['state'],_0x1311bc,_0xde786);let _0x2312c9,{state:_0x22d680}=_0x1d3ca1,_0x2745f6=0x1,_0x156184=_0x22d680['toText'](_0xde786),_0x346b89=_0x156184['lines']==_0x22d680['selection']['ranges']['length'];if(null!=_0x38774c&&_0x22d680['selection']['ranges']['every'](_0xf5c2ae=>_0xf5c2ae['empty'])&&_0x38774c==_0x156184['toString']()){let _0x307abb=-0x1;_0x2312c9=_0x22d680['changeByRange'](_0x31c320=>{let _0x1b0cf4=_0x22d680['doc']['lineAt'](_0x31c320['from']);if(_0x1b0cf4['from']==_0x307abb)return{'range':_0x31c320};_0x307abb=_0x1b0cf4['from'];let _0x372e2d=_0x22d680['toText']((_0x346b89?_0x156184['line'](_0x2745f6++)['text']:_0xde786)+_0x22d680['lineBreak']);return{'changes':{'from':_0x1b0cf4['from'],'insert':_0x372e2d},'range':EditorSelection['cursor'](_0x31c320['from']+_0x372e2d['length'])};});}else _0x2312c9=_0x346b89?_0x22d680['changeByRange'](_0x151b4e=>{let _0x3ef481=_0x156184['line'](_0x2745f6++);return{'changes':{'from':_0x151b4e['from'],'to':_0x151b4e['to'],'insert':_0x3ef481['text']},'range':EditorSelection['cursor'](_0x151b4e['from']+_0x3ef481['length'])};}):_0x22d680['replaceSelection'](_0x156184);_0x1d3ca1['dispatch'](_0x2312c9,{'userEvent':'input.paste','scrollIntoView':!0x0});}function _0x14f240(_0x57f06f,_0x366181,_0x555133,_0x29a0b5){if(0x1==_0x29a0b5)return EditorSelection['cursor'](_0x366181,_0x555133);if(0x2==_0x29a0b5)return function(_0x3ba175,_0xda00b4,_0x589bf7=0x1){let _0x40dfe2=_0x3ba175['charCategorizer'](_0xda00b4),_0x1558c1=_0x3ba175['doc']['lineAt'](_0xda00b4),_0x576616=_0xda00b4-_0x1558c1['from'];if(0x0==_0x1558c1['length'])return EditorSelection['cursor'](_0xda00b4);0x0==_0x576616?_0x589bf7=0x1:_0x576616==_0x1558c1['length']&&(_0x589bf7=-0x1);let _0x34c34d=_0x576616,_0x526f40=_0x576616;_0x589bf7<0x0?_0x34c34d=_0x5da76b(_0x1558c1['text'],_0x576616,!0x1):_0x526f40=_0x5da76b(_0x1558c1['text'],_0x576616);let _0x390b91=_0x40dfe2(_0x1558c1['text']['slice'](_0x34c34d,_0x526f40));for(;_0x34c34d>0x0;){let _0x68481c=_0x5da76b(_0x1558c1['text'],_0x34c34d,!0x1);if(_0x40dfe2(_0x1558c1['text']['slice'](_0x68481c,_0x34c34d))!=_0x390b91)break;_0x34c34d=_0x68481c;}for(;_0x526f40<_0x1558c1['length'];){let _0x5dfa3d=_0x5da76b(_0x1558c1['text'],_0x526f40);if(_0x40dfe2(_0x1558c1['text']['slice'](_0x526f40,_0x5dfa3d))!=_0x390b91)break;_0x526f40=_0x5dfa3d;}return EditorSelection['range'](_0x34c34d+_0x1558c1['from'],_0x526f40+_0x1558c1['from']);}(_0x57f06f['state'],_0x366181,_0x555133);{let _0x4b987a=_0x528f67['find'](_0x57f06f['docView'],_0x366181),_0x4b993a=_0x57f06f['state']['doc']['lineAt'](_0x4b987a?_0x4b987a['posAtEnd']:_0x366181),_0xc07cf9=_0x4b987a?_0x4b987a['posAtStart']:_0x4b993a['from'],_0x50ea11=_0x4b987a?_0x4b987a['posAtEnd']:_0x4b993a['to'];return _0x50ea11<_0x57f06f['state']['doc']['length']&&_0x50ea11==_0x4b993a['to']&&_0x50ea11++,EditorSelection['range'](_0xc07cf9,_0x50ea11);}}_0x1557ec['scroll']=_0xf6652f=>{_0xf6652f['inputState']['lastScrollTop']=_0xf6652f['scrollDOM']['scrollTop'],_0xf6652f['inputState']['lastScrollLeft']=_0xf6652f['scrollDOM']['scrollLeft'];},_0x28a3f3['keydown']=(_0x36adfa,_0x240ab2)=>(_0x36adfa['inputState']['setSelectionOrigin']('select'),0x1b==_0x240ab2['keyCode']&&0x0!=_0x36adfa['inputState']['tabFocusMode']&&(_0x36adfa['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),_0x1557ec['touchstart']=(_0x207a02,_0x5b40ca)=>{_0x207a02['inputState']['lastTouchTime']=Date['now'](),_0x207a02['inputState']['setSelectionOrigin']('select.pointer');},_0x1557ec['touchmove']=_0x11cdde=>{_0x11cdde['inputState']['setSelectionOrigin']('select.pointer');},_0x28a3f3['mousedown']=(_0x519d91,_0x19fc33)=>{if(_0x519d91['observer']['flush'](),_0x519d91['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0x4ba60e=null;for(let _0x3ac7b9 of _0x519d91['state']['facet'](_0xd7632c))if(_0x4ba60e=_0x3ac7b9(_0x519d91,_0x19fc33),_0x4ba60e)break;if(_0x4ba60e||0x0!=_0x19fc33['button']||(_0x4ba60e=function(_0x4fc401,_0x5ecc20){let _0x450ef9=_0x888409(_0x4fc401,_0x5ecc20),_0x156bb3=_0x33e786(_0x5ecc20),_0x3aebcf=_0x4fc401['state']['selection'];return{'update'(_0x4185e2){_0x4185e2['docChanged']&&(_0x450ef9['pos']=_0x4185e2['changes']['mapPos'](_0x450ef9['pos']),_0x3aebcf=_0x3aebcf['map'](_0x4185e2['changes']));},'get'(_0x57bc4b,_0x5f3b05,_0x3ba7d3){let _0x59bc46,_0x22f558=_0x888409(_0x4fc401,_0x57bc4b),_0x18f0e3=_0x14f240(_0x4fc401,_0x22f558['pos'],_0x22f558['bias'],_0x156bb3);if(_0x450ef9['pos']!=_0x22f558['pos']&&!_0x5f3b05){let _0x59e6f5=_0x14f240(_0x4fc401,_0x450ef9['pos'],_0x450ef9['bias'],_0x156bb3),_0x2cbdc7=Math['min'](_0x59e6f5['from'],_0x18f0e3['from']),_0x19c594=Math['max'](_0x59e6f5['to'],_0x18f0e3['to']);_0x18f0e3=_0x2cbdc7<_0x18f0e3['from']?EditorSelection['range'](_0x2cbdc7,_0x19c594):EditorSelection['range'](_0x19c594,_0x2cbdc7);}return _0x5f3b05?_0x3aebcf['replaceRange'](_0x3aebcf['main']['extend'](_0x18f0e3['from'],_0x18f0e3['to'])):_0x3ba7d3&&0x1==_0x156bb3&&_0x3aebcf['ranges']['length']>0x1&&(_0x59bc46=function(_0x4ddef9,_0x4e33ee){for(let _0x24f480=0x0;_0x24f480<_0x4ddef9['ranges']['length'];_0x24f480++){let {from:_0x3b64d9,to:_0x41c3ed}=_0x4ddef9['ranges'][_0x24f480];if(_0x3b64d9<=_0x4e33ee&&_0x41c3ed>=_0x4e33ee)return EditorSelection['create'](_0x4ddef9['ranges']['slice'](0x0,_0x24f480)['concat'](_0x4ddef9['ranges']['slice'](_0x24f480+0x1)),_0x4ddef9['mainIndex']==_0x24f480?0x0:_0x4ddef9['mainIndex']-(_0x4ddef9['mainIndex']>_0x24f480?0x1:0x0));}return null;}(_0x3aebcf,_0x22f558['pos']))?_0x59bc46:_0x3ba7d3?_0x3aebcf['addRange'](_0x18f0e3):EditorSelection['create']([_0x18f0e3]);}};}(_0x519d91,_0x19fc33)),_0x4ba60e){let _0x18186a=!_0x519d91['hasFocus'];_0x519d91['inputState']['startMouseSelection'](new MouseSelection(_0x519d91,_0x19fc33,_0x4ba60e,_0x18186a)),_0x18186a&&_0x519d91['observer']['ignore'](()=>{_0x3483ce(_0x519d91['contentDOM']);let _0x5c652=_0x519d91['root']['activeElement'];_0x5c652&&!_0x5c652['contains'](_0x519d91['contentDOM'])&&_0x5c652['blur']();});let _0x54812b=_0x519d91['inputState']['mouseSelection'];if(_0x54812b)return _0x54812b['start'](_0x19fc33),!0x1===_0x54812b['dragging'];}else _0x519d91['inputState']['setSelectionOrigin']('select.pointer');return!0x1;};let _0x2b233e=(_0xa170f2,_0x5762d2,_0x3c3342)=>_0x5762d2>=_0x3c3342['top']&&_0x5762d2<=_0x3c3342['bottom']&&_0xa170f2>=_0x3c3342['left']&&_0xa170f2<=_0x3c3342['right'];function _0x204eda(_0x21078c,_0x48c41c,_0x32bb25,_0x1173ee){let _0xe55705=_0x528f67['find'](_0x21078c['docView'],_0x48c41c);if(!_0xe55705)return 0x1;let _0x12ae24=_0x48c41c-_0xe55705['posAtStart'];if(0x0==_0x12ae24)return 0x1;if(_0x12ae24==_0xe55705['length'])return-0x1;let _0x56ea8c=_0xe55705['coordsAt'](_0x12ae24,-0x1);if(_0x56ea8c&&_0x2b233e(_0x32bb25,_0x1173ee,_0x56ea8c))return-0x1;let _0x4cb94d=_0xe55705['coordsAt'](_0x12ae24,0x1);return _0x4cb94d&&_0x2b233e(_0x32bb25,_0x1173ee,_0x4cb94d)?0x1:_0x56ea8c&&_0x56ea8c['bottom']>=_0x1173ee?-0x1:0x1;}function _0x888409(_0x2badf3,_0x5526f3){let _0x15185b=_0x2badf3['posAtCoords']({'x':_0x5526f3['clientX'],'y':_0x5526f3['clientY']},!0x1);return{'pos':_0x15185b,'bias':_0x204eda(_0x2badf3,_0x15185b,_0x5526f3['clientX'],_0x5526f3['clientY'])};}const _0xcbb3b0=_0xe49063['ie']&&_0xe49063['ie_version']<=0xb;let _0x3e4ba2=null,_0x5c8424=0x0,_0x463f96=0x0;function _0x33e786(_0x48375a){if(!_0xcbb3b0)return _0x48375a['detail'];let _0x23d27a=_0x3e4ba2,_0xebbffb=_0x463f96;return _0x3e4ba2=_0x48375a,_0x463f96=Date['now'](),_0x5c8424=!_0x23d27a||_0xebbffb>Date['now']()-0x190&&Math['abs'](_0x23d27a['clientX']-_0x48375a['clientX'])<0x2&&Math['abs'](_0x23d27a['clientY']-_0x48375a['clientY'])<0x2?(_0x5c8424+0x1)%0x3:0x1;}function _0x2e4e0c(_0x3f2c4a,_0x4d299b,_0x1d0109,_0x12db6b){if(!(_0x1d0109=_0x3e134a(_0x3f2c4a['state'],_0x1311bc,_0x1d0109)))return;let _0x56fd20=_0x3f2c4a['posAtCoords']({'x':_0x4d299b['clientX'],'y':_0x4d299b['clientY']},!0x1),{draggedContent:_0x1ac7e8}=_0x3f2c4a['inputState'],_0x16d23f=_0x12db6b&&_0x1ac7e8&&function(_0x507b45,_0x342a10){let _0x4f1d38=_0x507b45['state']['facet'](_0x82b64);return _0x4f1d38['length']?_0x4f1d38[0x0](_0x342a10):_0xe49063['mac']?!_0x342a10['altKey']:!_0x342a10['ctrlKey'];}(_0x3f2c4a,_0x4d299b)?{'from':_0x1ac7e8['from'],'to':_0x1ac7e8['to']}:null,_0x53fbc0={'from':_0x56fd20,'insert':_0x1d0109},_0x4be9c0=_0x3f2c4a['state']['changes'](_0x16d23f?[_0x16d23f,_0x53fbc0]:_0x53fbc0);_0x3f2c4a['focus'](),_0x3f2c4a['dispatch']({'changes':_0x4be9c0,'selection':{'anchor':_0x4be9c0['mapPos'](_0x56fd20,-0x1),'head':_0x4be9c0['mapPos'](_0x56fd20,0x1)},'userEvent':_0x16d23f?'move.drop':'input.drop'}),_0x3f2c4a['inputState']['draggedContent']=null;}_0x28a3f3['dragstart']=(_0x159c1f,_0x2bf48c)=>{let {selection:{main:_0x2d44d2}}=_0x159c1f['state'];if(_0x2bf48c['target']['draggable']){let _0x33e291=_0x159c1f['docView']['nearest'](_0x2bf48c['target']);if(_0x33e291&&_0x33e291['isWidget']){let _0x5df293=_0x33e291['posAtStart'],_0x1e74e9=_0x5df293+_0x33e291['length'];(_0x5df293>=_0x2d44d2['to']||_0x1e74e9<=_0x2d44d2['from'])&&(_0x2d44d2=EditorSelection['range'](_0x5df293,_0x1e74e9));}}let {inputState:_0x11f4aa}=_0x159c1f;return _0x11f4aa['mouseSelection']&&(_0x11f4aa['mouseSelection']['dragging']=!0x0),_0x11f4aa['draggedContent']=_0x2d44d2,_0x2bf48c['dataTransfer']&&(_0x2bf48c['dataTransfer']['setData']('Text',_0x3e134a(_0x159c1f['state'],_0x18cc28,_0x159c1f['state']['sliceDoc'](_0x2d44d2['from'],_0x2d44d2['to']))),_0x2bf48c['dataTransfer']['effectAllowed']='copyMove'),!0x1;},_0x28a3f3['dragend']=_0x42173a=>(_0x42173a['inputState']['draggedContent']=null,!0x1),_0x28a3f3['drop']=(_0x10eae9,_0x3f3f9d)=>{if(!_0x3f3f9d['dataTransfer'])return!0x1;if(_0x10eae9['state']['readOnly'])return!0x0;let _0xa1cd50=_0x3f3f9d['dataTransfer']['files'];if(_0xa1cd50&&_0xa1cd50['length']){let _0x260cc5=Array(_0xa1cd50['length']),_0x2e8dff=0x0,_0x2182e7=()=>{++_0x2e8dff==_0xa1cd50['length']&&_0x2e4e0c(_0x10eae9,_0x3f3f9d,_0x260cc5['filter'](_0x2bae85=>null!=_0x2bae85)['join'](_0x10eae9['state']['lineBreak']),!0x1);};for(let _0x3c09d5=0x0;_0x3c09d5<_0xa1cd50['length'];_0x3c09d5++){let _0x380a0a=new FileReader();_0x380a0a['onerror']=_0x2182e7,_0x380a0a['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0x380a0a['result'])||(_0x260cc5[_0x3c09d5]=_0x380a0a['result']),_0x2182e7();},_0x380a0a['readAsText'](_0xa1cd50[_0x3c09d5]);}return!0x0;}{let _0x537686=_0x3f3f9d['dataTransfer']['getData']('Text');if(_0x537686)return _0x2e4e0c(_0x10eae9,_0x3f3f9d,_0x537686,!0x0),!0x0;}return!0x1;},_0x28a3f3['paste']=(_0x1a5aef,_0x519790)=>{if(_0x1a5aef['state']['readOnly'])return!0x0;_0x1a5aef['observer']['flush']();let _0x1c4f2c=_0x458e2c?null:_0x519790['clipboardData'];return _0x1c4f2c?(_0x7c805c(_0x1a5aef,_0x1c4f2c['getData']('text/plain')||_0x1c4f2c['getData']('text/uri-list')),!0x0):(function(_0xfeec8b){let _0x518d3c=_0xfeec8b['dom']['parentNode'];if(!_0x518d3c)return;let _0x58e4bb=_0x518d3c['appendChild'](document['createElement']('textarea'));_0x58e4bb['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x58e4bb['focus'](),setTimeout(()=>{_0xfeec8b['focus'](),_0x58e4bb['remove'](),_0x7c805c(_0xfeec8b,_0x58e4bb['value']);},0x32);}(_0x1a5aef),!0x1);};let _0x38774c=null;_0x28a3f3['copy']=_0x28a3f3['cut']=(_0x11b6d8,_0x171911)=>{let {text:_0x168591,ranges:_0x5803a7,linewise:_0x14da11}=function(_0x1f3b66){let _0x54a63b=[],_0x4dd004=[],_0x1c0a43=!0x1;for(let _0x46334b of _0x1f3b66['selection']['ranges'])_0x46334b['empty']||(_0x54a63b['push'](_0x1f3b66['sliceDoc'](_0x46334b['from'],_0x46334b['to'])),_0x4dd004['push'](_0x46334b));if(!_0x54a63b['length']){let _0x5cd6f3=-0x1;for(let {from:_0x53f6b7}of _0x1f3b66['selection']['ranges']){let _0x54629f=_0x1f3b66['doc']['lineAt'](_0x53f6b7);_0x54629f['number']>_0x5cd6f3&&(_0x54a63b['push'](_0x54629f['text']),_0x4dd004['push']({'from':_0x54629f['from'],'to':Math['min'](_0x1f3b66['doc']['length'],_0x54629f['to']+0x1)})),_0x5cd6f3=_0x54629f['number'];}_0x1c0a43=!0x0;}return{'text':_0x3e134a(_0x1f3b66,_0x18cc28,_0x54a63b['join'](_0x1f3b66['lineBreak'])),'ranges':_0x4dd004,'linewise':_0x1c0a43};}(_0x11b6d8['state']);if(!_0x168591&&!_0x14da11)return!0x1;_0x38774c=_0x14da11?_0x168591:null,'cut'!=_0x171911['type']||_0x11b6d8['state']['readOnly']||_0x11b6d8['dispatch']({'changes':_0x5803a7,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x2c89ce=_0x458e2c?null:_0x171911['clipboardData'];return _0x2c89ce?(_0x2c89ce['clearData'](),_0x2c89ce['setData']('text/plain',_0x168591),!0x0):(function(_0x47f3a1,_0x2cea9b){let _0x55103c=_0x47f3a1['dom']['parentNode'];if(!_0x55103c)return;let _0x4598b6=_0x55103c['appendChild'](document['createElement']('textarea'));_0x4598b6['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x4598b6['value']=_0x2cea9b,_0x4598b6['focus'](),_0x4598b6['selectionEnd']=_0x2cea9b['length'],_0x4598b6['selectionStart']=0x0,setTimeout(()=>{_0x4598b6['remove'](),_0x47f3a1['focus']();},0x32);}(_0x11b6d8,_0x168591),!0x1);};const _0x14011d=Annotation['define']();function _0x2b02c7(_0xb7233,_0x56ca87){let _0x139bdf=[];for(let _0x4b1ecc of _0xb7233['facet'](_0x134a50)){let _0xd23d6f=_0x4b1ecc(_0xb7233,_0x56ca87);_0xd23d6f&&_0x139bdf['push'](_0xd23d6f);}return _0x139bdf['length']?_0xb7233['update']({'effects':_0x139bdf,'annotations':_0x14011d['of'](!0x0)}):null;}function _0x115e4f(_0x5bb5ef){setTimeout(()=>{let _0x29a644=_0x5bb5ef['hasFocus'];if(_0x29a644!=_0x5bb5ef['inputState']['notifiedFocused']){let _0x2c5038=_0x2b02c7(_0x5bb5ef['state'],_0x29a644);_0x2c5038?_0x5bb5ef['dispatch'](_0x2c5038):_0x5bb5ef['update']([]);}},0xa);}_0x1557ec['focus']=_0x1947b9=>{_0x1947b9['inputState']['lastFocusTime']=Date['now'](),_0x1947b9['scrollDOM']['scrollTop']||!_0x1947b9['inputState']['lastScrollTop']&&!_0x1947b9['inputState']['lastScrollLeft']||(_0x1947b9['scrollDOM']['scrollTop']=_0x1947b9['inputState']['lastScrollTop'],_0x1947b9['scrollDOM']['scrollLeft']=_0x1947b9['inputState']['lastScrollLeft']),_0x115e4f(_0x1947b9);},_0x1557ec['blur']=_0x103379=>{_0x103379['observer']['clearSelectionRange'](),_0x115e4f(_0x103379);},_0x1557ec['compositionstart']=_0x1557ec['compositionupdate']=_0x474d5c=>{_0x474d5c['observer']['editContext']||(null==_0x474d5c['inputState']['compositionFirstChange']&&(_0x474d5c['inputState']['compositionFirstChange']=!0x0),_0x474d5c['inputState']['composing']<0x0&&(_0x474d5c['inputState']['composing']=0x0));},_0x1557ec['compositionend']=_0x4f6e0d=>{_0x4f6e0d['observer']['editContext']||(_0x4f6e0d['inputState']['composing']=-0x1,_0x4f6e0d['inputState']['compositionEndedAt']=Date['now'](),_0x4f6e0d['inputState']['compositionPendingKey']=!0x0,_0x4f6e0d['inputState']['compositionPendingChange']=_0x4f6e0d['observer']['pendingRecords']()['length']>0x0,_0x4f6e0d['inputState']['compositionFirstChange']=null,_0xe49063['chrome']&&_0xe49063['android']?_0x4f6e0d['observer']['flushSoon']():_0x4f6e0d['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x4f6e0d['observer']['flush']()):setTimeout(()=>{_0x4f6e0d['inputState']['composing']<0x0&&_0x4f6e0d['docView']['hasComposition']&&_0x4f6e0d['update']([]);},0x32));},_0x1557ec['contextmenu']=_0x4a2e75=>{_0x4a2e75['inputState']['lastContextMenu']=Date['now']();},_0x28a3f3['beforeinput']=(_0x3f8d3f,_0x59f346)=>{var _0x17de77,_0x5e9ade;if('insertReplacementText'==_0x59f346['inputType']&&_0x3f8d3f['observer']['editContext']){let _0xfe15fd=null===(_0x17de77=_0x59f346['dataTransfer'])||void 0x0===_0x17de77?void 0x0:_0x17de77['getData']('text/plain'),_0x5166b0=_0x59f346['getTargetRanges']();if(_0xfe15fd&&_0x5166b0['length']){let _0x997075=_0x5166b0[0x0],_0xa6284a=_0x3f8d3f['posAtDOM'](_0x997075['startContainer'],_0x997075['startOffset']),_0x8484b6=_0x3f8d3f['posAtDOM'](_0x997075['endContainer'],_0x997075['endOffset']);return _0x24a738(_0x3f8d3f,{'from':_0xa6284a,'to':_0x8484b6,'insert':_0x3f8d3f['state']['toText'](_0xfe15fd)},null),!0x0;}}let _0x344764;if(_0xe49063['chrome']&&_0xe49063['android']&&(_0x344764=_0xec0ffe['find'](_0x3fde9b=>_0x3fde9b['inputType']==_0x59f346['inputType']))&&(_0x3f8d3f['observer']['delayAndroidKey'](_0x344764['key'],_0x344764['keyCode']),'Backspace'==_0x344764['key']||'Delete'==_0x344764['key'])){let _0x1f8a06=(null===(_0x5e9ade=window['visualViewport'])||void 0x0===_0x5e9ade?void 0x0:_0x5e9ade['height'])||0x0;setTimeout(()=>{var _0x397c20;((null===(_0x397c20=window['visualViewport'])||void 0x0===_0x397c20?void 0x0:_0x397c20['height'])||0x0)>_0x1f8a06+0xa&&_0x3f8d3f['hasFocus']&&(_0x3f8d3f['contentDOM']['blur'](),_0x3f8d3f['focus']());},0x64);}return _0xe49063['ios']&&'deleteContentForward'==_0x59f346['inputType']&&_0x3f8d3f['observer']['flushSoon'](),_0xe49063['safari']&&'insertText'==_0x59f346['inputType']&&_0x3f8d3f['inputState']['composing']>=0x0&&setTimeout(()=>_0x1557ec['compositionend'](_0x3f8d3f,_0x59f346),0x14),!0x1;};const _0x48d897=new Set(),_0x31a553=['pre-wrap','normal','pre-line','break-spaces'];let _0x33c083=!0x1;function _0x54bcf0(){_0x33c083=!0x1;}class HeightOracle{constructor(_0x4f233a){this['lineWrapping']=_0x4f233a,this['doc']=_0x5681fe['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}['heightForGap'](_0x2a1e51,_0x90081f){let _0x354d62=this['doc']['lineAt'](_0x90081f)['number']-this['doc']['lineAt'](_0x2a1e51)['number']+0x1;return this['lineWrapping']&&(_0x354d62+=Math['max'](0x0,Math['ceil']((_0x90081f-_0x2a1e51-_0x354d62*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0x354d62;}['heightForLine'](_0x38abca){if(!this['lineWrapping'])return this['lineHeight'];return(0x1+Math['max'](0x0,Math['ceil']((_0x38abca-this['lineLength'])/Math['max'](0x1,this['lineLength']-0x5))))*this['lineHeight'];}['setDoc'](_0x2aaff4){return this['doc']=_0x2aaff4,this;}['mustRefreshForWrapping'](_0x56218d){return _0x31a553['indexOf'](_0x56218d)>-0x1!=this['lineWrapping'];}['mustRefreshForHeights'](_0x18a8b6){let _0x2b702e=!0x1;for(let _0x254f9c=0x0;_0x254f9c<_0x18a8b6['length'];_0x254f9c++){let _0x717042=_0x18a8b6[_0x254f9c];_0x717042<0x0?_0x254f9c++:this['heightSamples'][Math['floor'](0xa*_0x717042)]||(_0x2b702e=!0x0,this['heightSamples'][Math['floor'](0xa*_0x717042)]=!0x0);}return _0x2b702e;}['refresh'](_0x2bc02b,_0x36ad18,_0x1dd7e6,_0x49cbe4,_0x1ad22e,_0x1e1a77){let _0x339dee=_0x31a553['indexOf'](_0x2bc02b)>-0x1,_0x29d318=Math['round'](_0x36ad18)!=Math['round'](this['lineHeight'])||this['lineWrapping']!=_0x339dee;if(this['lineWrapping']=_0x339dee,this['lineHeight']=_0x36ad18,this['charWidth']=_0x1dd7e6,this['textHeight']=_0x49cbe4,this['lineLength']=_0x1ad22e,_0x29d318){this['heightSamples']={};for(let _0x527130=0x0;_0x527130<_0x1e1a77['length'];_0x527130++){let _0x1c3180=_0x1e1a77[_0x527130];_0x1c3180<0x0?_0x527130++:this['heightSamples'][Math['floor'](0xa*_0x1c3180)]=!0x0;}}return _0x29d318;}}class MeasuredHeights{constructor(_0x3bd9e4,_0x5a0986){this['from']=_0x3bd9e4,this['heights']=_0x5a0986,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}}class _0x306e78{constructor(_0x475fc0,_0x55113a,_0x2ba8cc,_0x3c6ccf,_0x2a07f9){this['from']=_0x475fc0,this['length']=_0x55113a,this['top']=_0x2ba8cc,this['height']=_0x3c6ccf,this['_content']=_0x2a07f9;}get['type'](){return'number'==typeof this['_content']?_0x5cf05d['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'](_0x6c3e3f){let _0x1d33fa=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x6c3e3f['_content'])?_0x6c3e3f['_content']:[_0x6c3e3f]);return new _0x306e78(this['from'],this['length']+_0x6c3e3f['length'],this['top'],this['height']+_0x6c3e3f['height'],_0x1d33fa);}}var _0x38333c=function(_0x5d88fb){return _0x5d88fb[_0x5d88fb['ByPos']=0x0]='ByPos',_0x5d88fb[_0x5d88fb['ByHeight']=0x1]='ByHeight',_0x5d88fb[_0x5d88fb['ByPosNoHeight']=0x2]='ByPosNoHeight',_0x5d88fb;}(_0x38333c||(_0x38333c={}));const _0x3aae47=0.001;class HeightMap{constructor(_0x316755,_0x4a7858,_0x3a4a70=0x2){this['length']=_0x316755,this['height']=_0x4a7858,this['flags']=_0x3a4a70;}get['outdated'](){return(0x2&this['flags'])>0x0;}set['outdated'](_0x184e4c){this['flags']=(_0x184e4c?0x2:0x0)|-0x3&this['flags'];}['setHeight'](_0x28e815){this['height']!=_0x28e815&&(Math['abs'](this['height']-_0x28e815)>_0x3aae47&&(_0x33c083=!0x0),this['height']=_0x28e815);}['replace'](_0x49f080,_0x491a01,_0x4d8a38){return HeightMap['of'](_0x4d8a38);}['decomposeLeft'](_0x207537,_0x58f930){_0x58f930['push'](this);}['decomposeRight'](_0x403d11,_0xaaebbb){_0xaaebbb['push'](this);}['applyChanges'](_0x5ceefa,_0x36277a,_0x2627d4,_0x1370a0){let _0x2daeea=this,_0x4dcea1=_0x2627d4['doc'];for(let _0x3f98a8=_0x1370a0['length']-0x1;_0x3f98a8>=0x0;_0x3f98a8--){let {fromA:_0xf8ab77,toA:_0x1a9399,fromB:_0x2637cc,toB:_0x5e3ad7}=_0x1370a0[_0x3f98a8],_0x5d0fde=_0x2daeea['lineAt'](_0xf8ab77,_0x38333c['ByPosNoHeight'],_0x2627d4['setDoc'](_0x36277a),0x0,0x0),_0xbfe1d1=_0x5d0fde['to']>=_0x1a9399?_0x5d0fde:_0x2daeea['lineAt'](_0x1a9399,_0x38333c['ByPosNoHeight'],_0x2627d4,0x0,0x0);for(_0x5e3ad7+=_0xbfe1d1['to']-_0x1a9399,_0x1a9399=_0xbfe1d1['to'];_0x3f98a8>0x0&&_0x5d0fde['from']<=_0x1370a0[_0x3f98a8-0x1]['toA'];)_0xf8ab77=_0x1370a0[_0x3f98a8-0x1]['fromA'],_0x2637cc=_0x1370a0[_0x3f98a8-0x1]['fromB'],_0x3f98a8--,_0xf8ab77<_0x5d0fde['from']&&(_0x5d0fde=_0x2daeea['lineAt'](_0xf8ab77,_0x38333c['ByPosNoHeight'],_0x2627d4,0x0,0x0));_0x2637cc+=_0x5d0fde['from']-_0xf8ab77,_0xf8ab77=_0x5d0fde['from'];let _0x10b37e=_0x39e948['build'](_0x2627d4['setDoc'](_0x4dcea1),_0x5ceefa,_0x2637cc,_0x5e3ad7);_0x2daeea=_0x38f5fb(_0x2daeea,_0x2daeea['replace'](_0xf8ab77,_0x1a9399,_0x10b37e));}return _0x2daeea['updateHeight'](_0x2627d4,0x0);}static['empty'](){return new HeightMapText(0x0,0x0);}static['of'](_0x4ee0c0){if(0x1==_0x4ee0c0['length'])return _0x4ee0c0[0x0];let _0x58a9c2=0x0,_0x358764=_0x4ee0c0['length'],_0x410180=0x0,_0x145c75=0x0;for(;;)if(_0x58a9c2==_0x358764){if(_0x410180>0x2*_0x145c75){let _0x1d5e33=_0x4ee0c0[_0x58a9c2-0x1];_0x1d5e33['break']?_0x4ee0c0['splice'](--_0x58a9c2,0x1,_0x1d5e33['left'],null,_0x1d5e33['right']):_0x4ee0c0['splice'](--_0x58a9c2,0x1,_0x1d5e33['left'],_0x1d5e33['right']),_0x358764+=0x1+_0x1d5e33['break'],_0x410180-=_0x1d5e33['size'];}else{if(!(_0x145c75>0x2*_0x410180))break;{let _0x4f295b=_0x4ee0c0[_0x358764];_0x4f295b['break']?_0x4ee0c0['splice'](_0x358764,0x1,_0x4f295b['left'],null,_0x4f295b['right']):_0x4ee0c0['splice'](_0x358764,0x1,_0x4f295b['left'],_0x4f295b['right']),_0x358764+=0x2+_0x4f295b['break'],_0x145c75-=_0x4f295b['size'];}}}else{if(_0x410180<_0x145c75){let _0x10409d=_0x4ee0c0[_0x58a9c2++];_0x10409d&&(_0x410180+=_0x10409d['size']);}else{let _0x408543=_0x4ee0c0[--_0x358764];_0x408543&&(_0x145c75+=_0x408543['size']);}}let _0x1aac10=0x0;return null==_0x4ee0c0[_0x58a9c2-0x1]?(_0x1aac10=0x1,_0x58a9c2--):null==_0x4ee0c0[_0x58a9c2]&&(_0x1aac10=0x1,_0x358764++),new HeightMapBranch(HeightMap['of'](_0x4ee0c0['slice'](0x0,_0x58a9c2)),_0x1aac10,HeightMap['of'](_0x4ee0c0['slice'](_0x358764)));}}function _0x38f5fb(_0x2a0b37,_0x1575f4){return _0x2a0b37==_0x1575f4?_0x2a0b37:(_0x2a0b37['constructor']!=_0x1575f4['constructor']&&(_0x33c083=!0x0),_0x1575f4);}HeightMap['prototype']['size']=0x1;class HeightMapBlock extends HeightMap{constructor(_0x32a884,_0x16fe8f,_0x49abc4){super(_0x32a884,_0x16fe8f),this['deco']=_0x49abc4;}['blockAt'](_0x25920c,_0x3b2606,_0x5413a6,_0x3d9406){return new _0x306e78(_0x3d9406,this['length'],_0x5413a6,this['height'],this['deco']||0x0);}['lineAt'](_0x24f68c,_0x1c065d,_0x31145a,_0x7caf1c,_0x47b9e9){return this['blockAt'](0x0,_0x31145a,_0x7caf1c,_0x47b9e9);}['forEachLine'](_0x4b9fdc,_0x5df3a7,_0x362e50,_0x3c67ed,_0x2292ea,_0xc21ec5){_0x4b9fdc<=_0x2292ea+this['length']&&_0x5df3a7>=_0x2292ea&&_0xc21ec5(this['blockAt'](0x0,_0x362e50,_0x3c67ed,_0x2292ea));}['updateHeight'](_0x39338a,_0x2e8567=0x0,_0x3c9a14=!0x1,_0x273108){return _0x273108&&_0x273108['from']<=_0x2e8567&&_0x273108['more']&&this['setHeight'](_0x273108['heights'][_0x273108['index']++]),this['outdated']=!0x1,this;}['toString'](){return'block('+this['length']+')';}}class HeightMapText extends HeightMapBlock{constructor(_0x30d565,_0x55a05e){super(_0x30d565,_0x55a05e,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0;}['blockAt'](_0x54d591,_0x298401,_0x185c70,_0x232c6c){return new _0x306e78(_0x232c6c,this['length'],_0x185c70,this['height'],this['breaks']);}['replace'](_0x593878,_0x1e7de2,_0x11f774){let _0x172572=_0x11f774[0x0];return 0x1==_0x11f774['length']&&(_0x172572 instanceof HeightMapText||_0x172572 instanceof HeightMapGap&&0x4&_0x172572['flags'])&&Math['abs'](this['length']-_0x172572['length'])<0xa?(_0x172572 instanceof HeightMapGap?_0x172572=new HeightMapText(_0x172572['length'],this['height']):_0x172572['height']=this['height'],this['outdated']||(_0x172572['outdated']=!0x1),_0x172572):HeightMap['of'](_0x11f774);}['updateHeight'](_0x1232c8,_0x2655bb=0x0,_0x2b6d4a=!0x1,_0x4ab923){return _0x4ab923&&_0x4ab923['from']<=_0x2655bb&&_0x4ab923['more']?this['setHeight'](_0x4ab923['heights'][_0x4ab923['index']++]):(_0x2b6d4a||this['outdated'])&&this['setHeight'](Math['max'](this['widgetHeight'],_0x1232c8['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0x1232c8['lineHeight']),this['outdated']=!0x1,this;}['toString'](){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}}class HeightMapGap extends HeightMap{constructor(_0x51beb7){super(_0x51beb7,0x0);}['heightMetrics'](_0x123706,_0x29a7d8){let _0x1de626,_0x3a42c5=_0x123706['doc']['lineAt'](_0x29a7d8)['number'],_0x260415=_0x123706['doc']['lineAt'](_0x29a7d8+this['length'])['number'],_0x452f66=_0x260415-_0x3a42c5+0x1,_0x18395a=0x0;if(_0x123706['lineWrapping']){let _0x36d13b=Math['min'](this['height'],_0x123706['lineHeight']*_0x452f66);_0x1de626=_0x36d13b/_0x452f66,this['length']>_0x452f66+0x1&&(_0x18395a=(this['height']-_0x36d13b)/(this['length']-_0x452f66-0x1));}else _0x1de626=this['height']/_0x452f66;return{'firstLine':_0x3a42c5,'lastLine':_0x260415,'perLine':_0x1de626,'perChar':_0x18395a};}['blockAt'](_0xf3c464,_0x3940f5,_0x2e54e2,_0x5b8234){let {firstLine:_0x46e61c,lastLine:_0x1fe0c0,perLine:_0x3abe51,perChar:_0x208272}=this['heightMetrics'](_0x3940f5,_0x5b8234);if(_0x3940f5['lineWrapping']){let _0x458498=_0x5b8234+(_0xf3c464<_0x3940f5['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0xf3c464-_0x2e54e2)/this['height']))*this['length'])),_0x56c41c=_0x3940f5['doc']['lineAt'](_0x458498),_0x5b0387=_0x3abe51+_0x56c41c['length']*_0x208272,_0x5b0601=Math['max'](_0x2e54e2,_0xf3c464-_0x5b0387/0x2);return new _0x306e78(_0x56c41c['from'],_0x56c41c['length'],_0x5b0601,_0x5b0387,0x0);}{let _0x2ade23=Math['max'](0x0,Math['min'](_0x1fe0c0-_0x46e61c,Math['floor']((_0xf3c464-_0x2e54e2)/_0x3abe51))),{from:_0xc5894a,length:_0x1016e9}=_0x3940f5['doc']['line'](_0x46e61c+_0x2ade23);return new _0x306e78(_0xc5894a,_0x1016e9,_0x2e54e2+_0x3abe51*_0x2ade23,_0x3abe51,0x0);}}['lineAt'](_0x5a1382,_0x20439e,_0x187fa2,_0x50350b,_0x4f1f4a){if(_0x20439e==_0x38333c['ByHeight'])return this['blockAt'](_0x5a1382,_0x187fa2,_0x50350b,_0x4f1f4a);if(_0x20439e==_0x38333c['ByPosNoHeight']){let {from:_0x119b4f,to:_0x3b8a30}=_0x187fa2['doc']['lineAt'](_0x5a1382);return new _0x306e78(_0x119b4f,_0x3b8a30-_0x119b4f,0x0,0x0,0x0);}let {firstLine:_0x471ed4,perLine:_0x3b9888,perChar:_0xc8f0c1}=this['heightMetrics'](_0x187fa2,_0x4f1f4a),_0x936641=_0x187fa2['doc']['lineAt'](_0x5a1382),_0x40ce9f=_0x3b9888+_0x936641['length']*_0xc8f0c1,_0x18b520=_0x936641['number']-_0x471ed4,_0x59ed4e=_0x50350b+_0x3b9888*_0x18b520+_0xc8f0c1*(_0x936641['from']-_0x4f1f4a-_0x18b520);return new _0x306e78(_0x936641['from'],_0x936641['length'],Math['max'](_0x50350b,Math['min'](_0x59ed4e,_0x50350b+this['height']-_0x40ce9f)),_0x40ce9f,0x0);}['forEachLine'](_0x2c7ce2,_0x281f4d,_0x1e367d,_0x348226,_0x24ca3f,_0x1cf98d){_0x2c7ce2=Math['max'](_0x2c7ce2,_0x24ca3f),_0x281f4d=Math['min'](_0x281f4d,_0x24ca3f+this['length']);let {firstLine:_0x1013c3,perLine:_0x468104,perChar:_0x1156bc}=this['heightMetrics'](_0x1e367d,_0x24ca3f);for(let _0x103870=_0x2c7ce2,_0x23500f=_0x348226;_0x103870<=_0x281f4d;){let _0x57be00=_0x1e367d['doc']['lineAt'](_0x103870);if(_0x103870==_0x2c7ce2){let _0x42b2bb=_0x57be00['number']-_0x1013c3;_0x23500f+=_0x468104*_0x42b2bb+_0x1156bc*(_0x2c7ce2-_0x24ca3f-_0x42b2bb);}let _0x527371=_0x468104+_0x1156bc*_0x57be00['length'];_0x1cf98d(new _0x306e78(_0x57be00['from'],_0x57be00['length'],_0x23500f,_0x527371,0x0)),_0x23500f+=_0x527371,_0x103870=_0x57be00['to']+0x1;}}['replace'](_0x3100a5,_0x22b9f4,_0x1cea00){let _0x40c3a5=this['length']-_0x22b9f4;if(_0x40c3a5>0x0){let _0x277bc9=_0x1cea00[_0x1cea00['length']-0x1];_0x277bc9 instanceof HeightMapGap?_0x1cea00[_0x1cea00['length']-0x1]=new HeightMapGap(_0x277bc9['length']+_0x40c3a5):_0x1cea00['push'](null,new HeightMapGap(_0x40c3a5-0x1));}if(_0x3100a5>0x0){let _0x2ec067=_0x1cea00[0x0];_0x2ec067 instanceof HeightMapGap?_0x1cea00[0x0]=new HeightMapGap(_0x3100a5+_0x2ec067['length']):_0x1cea00['unshift'](new HeightMapGap(_0x3100a5-0x1),null);}return HeightMap['of'](_0x1cea00);}['decomposeLeft'](_0x5c2ac9,_0x2cd57f){_0x2cd57f['push'](new HeightMapGap(_0x5c2ac9-0x1),null);}['decomposeRight'](_0x380d7f,_0x1624e6){_0x1624e6['push'](null,new HeightMapGap(this['length']-_0x380d7f-0x1));}['updateHeight'](_0x48ead0,_0x40ce54=0x0,_0x1e5018=!0x1,_0x121431){let _0xb3f43c=_0x40ce54+this['length'];if(_0x121431&&_0x121431['from']<=_0x40ce54+this['length']&&_0x121431['more']){let _0x5bb2f5=[],_0x225980=Math['max'](_0x40ce54,_0x121431['from']),_0x35de62=-0x1;for(_0x121431['from']>_0x40ce54&&_0x5bb2f5['push'](new HeightMapGap(_0x121431['from']-_0x40ce54-0x1)['updateHeight'](_0x48ead0,_0x40ce54));_0x225980<=_0xb3f43c&&_0x121431['more'];){let _0x303c11=_0x48ead0['doc']['lineAt'](_0x225980)['length'];_0x5bb2f5['length']&&_0x5bb2f5['push'](null);let _0x50d2da=_0x121431['heights'][_0x121431['index']++];-0x1==_0x35de62?_0x35de62=_0x50d2da:Math['abs'](_0x50d2da-_0x35de62)>=_0x3aae47&&(_0x35de62=-0x2);let _0x454f89=new HeightMapText(_0x303c11,_0x50d2da);_0x454f89['outdated']=!0x1,_0x5bb2f5['push'](_0x454f89),_0x225980+=_0x303c11+0x1;}_0x225980<=_0xb3f43c&&_0x5bb2f5['push'](null,new HeightMapGap(_0xb3f43c-_0x225980)['updateHeight'](_0x48ead0,_0x225980));let _0x595f99=HeightMap['of'](_0x5bb2f5);return(_0x35de62<0x0||Math['abs'](_0x595f99['height']-this['height'])>=_0x3aae47||Math['abs'](_0x35de62-this['heightMetrics'](_0x48ead0,_0x40ce54)['perLine'])>=_0x3aae47)&&(_0x33c083=!0x0),_0x38f5fb(this,_0x595f99);}return(_0x1e5018||this['outdated'])&&(this['setHeight'](_0x48ead0['heightForGap'](_0x40ce54,_0x40ce54+this['length'])),this['outdated']=!0x1),this;}['toString'](){return'gap('+this['length']+')';}}class HeightMapBranch extends HeightMap{constructor(_0x426f79,_0xb7e24c,_0x2a3265){super(_0x426f79['length']+_0xb7e24c+_0x2a3265['length'],_0x426f79['height']+_0x2a3265['height'],_0xb7e24c|(_0x426f79['outdated']||_0x2a3265['outdated']?0x2:0x0)),this['left']=_0x426f79,this['right']=_0x2a3265,this['size']=_0x426f79['size']+_0x2a3265['size'];}get['break'](){return 0x1&this['flags'];}['blockAt'](_0xab6126,_0x4c476d,_0x4a2870,_0x41152d){let _0x592c4f=_0x4a2870+this['left']['height'];return _0xab6126<_0x592c4f?this['left']['blockAt'](_0xab6126,_0x4c476d,_0x4a2870,_0x41152d):this['right']['blockAt'](_0xab6126,_0x4c476d,_0x592c4f,_0x41152d+this['left']['length']+this['break']);}['lineAt'](_0x1e4a11,_0x38a144,_0x2df34c,_0x45e750,_0x487a54){let _0x3f20de=_0x45e750+this['left']['height'],_0x10653e=_0x487a54+this['left']['length']+this['break'],_0x3b9bcd=_0x38a144==_0x38333c['ByHeight']?_0x1e4a11<_0x3f20de:_0x1e4a11<_0x10653e,_0x5548ae=_0x3b9bcd?this['left']['lineAt'](_0x1e4a11,_0x38a144,_0x2df34c,_0x45e750,_0x487a54):this['right']['lineAt'](_0x1e4a11,_0x38a144,_0x2df34c,_0x3f20de,_0x10653e);if(this['break']||(_0x3b9bcd?_0x5548ae['to']<_0x10653e:_0x5548ae['from']>_0x10653e))return _0x5548ae;let _0x3891b0=_0x38a144==_0x38333c['ByPosNoHeight']?_0x38333c['ByPosNoHeight']:_0x38333c['ByPos'];return _0x3b9bcd?_0x5548ae['join'](this['right']['lineAt'](_0x10653e,_0x3891b0,_0x2df34c,_0x3f20de,_0x10653e)):this['left']['lineAt'](_0x10653e,_0x3891b0,_0x2df34c,_0x45e750,_0x487a54)['join'](_0x5548ae);}['forEachLine'](_0x4562d4,_0x4789b4,_0x28250b,_0x1976f4,_0x931155,_0x539922){let _0xb3ed0c=_0x1976f4+this['left']['height'],_0x574580=_0x931155+this['left']['length']+this['break'];if(this['break'])_0x4562d4<_0x574580&&this['left']['forEachLine'](_0x4562d4,_0x4789b4,_0x28250b,_0x1976f4,_0x931155,_0x539922),_0x4789b4>=_0x574580&&this['right']['forEachLine'](_0x4562d4,_0x4789b4,_0x28250b,_0xb3ed0c,_0x574580,_0x539922);else{let _0x5035d6=this['lineAt'](_0x574580,_0x38333c['ByPos'],_0x28250b,_0x1976f4,_0x931155);_0x4562d4<_0x5035d6['from']&&this['left']['forEachLine'](_0x4562d4,_0x5035d6['from']-0x1,_0x28250b,_0x1976f4,_0x931155,_0x539922),_0x5035d6['to']>=_0x4562d4&&_0x5035d6['from']<=_0x4789b4&&_0x539922(_0x5035d6),_0x4789b4>_0x5035d6['to']&&this['right']['forEachLine'](_0x5035d6['to']+0x1,_0x4789b4,_0x28250b,_0xb3ed0c,_0x574580,_0x539922);}}['replace'](_0x53569a,_0x164625,_0x39d472){let _0x4cac98=this['left']['length']+this['break'];if(_0x164625<_0x4cac98)return this['balanced'](this['left']['replace'](_0x53569a,_0x164625,_0x39d472),this['right']);if(_0x53569a>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0x53569a-_0x4cac98,_0x164625-_0x4cac98,_0x39d472));let _0x3ea020=[];_0x53569a>0x0&&this['decomposeLeft'](_0x53569a,_0x3ea020);let _0x224155=_0x3ea020['length'];for(let _0x8ae731 of _0x39d472)_0x3ea020['push'](_0x8ae731);if(_0x53569a>0x0&&_0x4dfbb5(_0x3ea020,_0x224155-0x1),_0x164625<this['length']){let _0x4d3b7c=_0x3ea020['length'];this['decomposeRight'](_0x164625,_0x3ea020),_0x4dfbb5(_0x3ea020,_0x4d3b7c);}return HeightMap['of'](_0x3ea020);}['decomposeLeft'](_0x65f7b0,_0x259e41){let _0xa601bf=this['left']['length'];if(_0x65f7b0<=_0xa601bf)return this['left']['decomposeLeft'](_0x65f7b0,_0x259e41);_0x259e41['push'](this['left']),this['break']&&(_0xa601bf++,_0x65f7b0>=_0xa601bf&&_0x259e41['push'](null)),_0x65f7b0>_0xa601bf&&this['right']['decomposeLeft'](_0x65f7b0-_0xa601bf,_0x259e41);}['decomposeRight'](_0x38e2f8,_0x52b57b){let _0x10b723=this['left']['length'],_0x47d6d2=_0x10b723+this['break'];if(_0x38e2f8>=_0x47d6d2)return this['right']['decomposeRight'](_0x38e2f8-_0x47d6d2,_0x52b57b);_0x38e2f8<_0x10b723&&this['left']['decomposeRight'](_0x38e2f8,_0x52b57b),this['break']&&_0x38e2f8<_0x47d6d2&&_0x52b57b['push'](null),_0x52b57b['push'](this['right']);}['balanced'](_0x269742,_0x117ca6){return _0x269742['size']>0x2*_0x117ca6['size']||_0x117ca6['size']>0x2*_0x269742['size']?HeightMap['of'](this['break']?[_0x269742,null,_0x117ca6]:[_0x269742,_0x117ca6]):(this['left']=_0x38f5fb(this['left'],_0x269742),this['right']=_0x38f5fb(this['right'],_0x117ca6),this['setHeight'](_0x269742['height']+_0x117ca6['height']),this['outdated']=_0x269742['outdated']||_0x117ca6['outdated'],this['size']=_0x269742['size']+_0x117ca6['size'],this['length']=_0x269742['length']+this['break']+_0x117ca6['length'],this);}['updateHeight'](_0x684c1c,_0x5290aa=0x0,_0x518872=!0x1,_0x5e00a3){let {left:_0x588c73,right:_0x99bc2c}=this,_0x3812ab=_0x5290aa+_0x588c73['length']+this['break'],_0x2f3d02=null;return _0x5e00a3&&_0x5e00a3['from']<=_0x5290aa+_0x588c73['length']&&_0x5e00a3['more']?_0x2f3d02=_0x588c73=_0x588c73['updateHeight'](_0x684c1c,_0x5290aa,_0x518872,_0x5e00a3):_0x588c73['updateHeight'](_0x684c1c,_0x5290aa,_0x518872),_0x5e00a3&&_0x5e00a3['from']<=_0x3812ab+_0x99bc2c['length']&&_0x5e00a3['more']?_0x2f3d02=_0x99bc2c=_0x99bc2c['updateHeight'](_0x684c1c,_0x3812ab,_0x518872,_0x5e00a3):_0x99bc2c['updateHeight'](_0x684c1c,_0x3812ab,_0x518872),_0x2f3d02?this['balanced'](_0x588c73,_0x99bc2c):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}['toString'](){return this['left']+(this['break']?'\x20':'-')+this['right'];}}function _0x4dfbb5(_0xcec4b5,_0x18e2c7){let _0x4edd9b,_0x3ab8c1;null==_0xcec4b5[_0x18e2c7]&&(_0x4edd9b=_0xcec4b5[_0x18e2c7-0x1])instanceof HeightMapGap&&(_0x3ab8c1=_0xcec4b5[_0x18e2c7+0x1])instanceof HeightMapGap&&_0xcec4b5['splice'](_0x18e2c7-0x1,0x3,new HeightMapGap(_0x4edd9b['length']+0x1+_0x3ab8c1['length']));}class _0x39e948{constructor(_0x574e9f,_0x299eed){this['pos']=_0x574e9f,this['oracle']=_0x299eed,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0x574e9f;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0x3457bd,_0x10ef2c){if(this['lineStart']>-0x1){let _0x22807e=Math['min'](_0x10ef2c,this['lineEnd']),_0x5dd80e=this['nodes'][this['nodes']['length']-0x1];_0x5dd80e instanceof HeightMapText?_0x5dd80e['length']+=_0x22807e-this['pos']:(_0x22807e>this['pos']||!this['isCovered'])&&this['nodes']['push'](new HeightMapText(_0x22807e-this['pos'],-0x1)),this['writtenTo']=_0x22807e,_0x10ef2c>_0x22807e&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x10ef2c;}['point'](_0x48a506,_0x35edc8,_0xb6c56f){if(_0x48a506<_0x35edc8||_0xb6c56f['heightRelevant']){let _0x9c003b=_0xb6c56f['widget']?_0xb6c56f['widget']['estimatedHeight']:0x0,_0x3e1a76=_0xb6c56f['widget']?_0xb6c56f['widget']['lineBreaks']:0x0;_0x9c003b<0x0&&(_0x9c003b=this['oracle']['lineHeight']);let _0x27c01b=_0x35edc8-_0x48a506;_0xb6c56f['block']?this['addBlock'](new HeightMapBlock(_0x27c01b,_0x9c003b,_0xb6c56f)):(_0x27c01b||_0x3e1a76||_0x9c003b>=0x5)&&this['addLineDeco'](_0x9c003b,_0x3e1a76,_0x27c01b);}else _0x35edc8>_0x48a506&&this['span'](_0x48a506,_0x35edc8);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}['enterLine'](){if(this['lineStart']>-0x1)return;let {from:_0x5d1826,to:_0x3aca90}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x5d1826,this['lineEnd']=_0x3aca90,this['writtenTo']<_0x5d1826&&((this['writtenTo']<_0x5d1826-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x5d1826-0x1)),this['nodes']['push'](null)),this['pos']>_0x5d1826&&this['nodes']['push'](new HeightMapText(this['pos']-_0x5d1826,-0x1)),this['writtenTo']=this['pos'];}['blankContent'](_0x41bdce,_0x8f85c2){let _0x25155a=new HeightMapGap(_0x8f85c2-_0x41bdce);return this['oracle']['doc']['lineAt'](_0x41bdce)['to']==_0x8f85c2&&(_0x25155a['flags']|=0x4),_0x25155a;}['ensureLine'](){this['enterLine']();let _0x10bd24=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x10bd24 instanceof HeightMapText)return _0x10bd24;let _0x3e0fc4=new HeightMapText(0x0,-0x1);return this['nodes']['push'](_0x3e0fc4),_0x3e0fc4;}['addBlock'](_0x10325b){this['enterLine']();let _0x1b16a6=_0x10325b['deco'];_0x1b16a6&&_0x1b16a6['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0x10325b),this['writtenTo']=this['pos']=this['pos']+_0x10325b['length'],_0x1b16a6&&_0x1b16a6['endSide']>0x0&&(this['covering']=_0x10325b);}['addLineDeco'](_0x5928e7,_0x4360e9,_0x140f77){let _0x23dc07=this['ensureLine']();_0x23dc07['length']+=_0x140f77,_0x23dc07['collapsed']+=_0x140f77,_0x23dc07['widgetHeight']=Math['max'](_0x23dc07['widgetHeight'],_0x5928e7),_0x23dc07['breaks']+=_0x4360e9,this['writtenTo']=this['pos']=this['pos']+_0x140f77;}['finish'](_0x2907f9){let _0x4f12d0=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0x4f12d0 instanceof HeightMapText||this['isCovered']?(this['writtenTo']<this['pos']||null==_0x4f12d0)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new HeightMapText(0x0,-0x1));let _0x45d98b=_0x2907f9;for(let _0xa650bc of this['nodes'])_0xa650bc instanceof HeightMapText&&_0xa650bc['updateHeight'](this['oracle'],_0x45d98b),_0x45d98b+=_0xa650bc?_0xa650bc['length']:0x1;return this['nodes'];}static['build'](_0x537195,_0x47aee9,_0x38675c,_0x211a36){let _0x282529=new _0x39e948(_0x38675c,_0x537195);return RangeSet['spans'](_0x47aee9,_0x38675c,_0x211a36,_0x282529,0x0),_0x282529['finish'](_0x38675c);}}class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](){}['comparePoint'](_0x3176f4,_0x13519d,_0x5804cc,_0x47108a){(_0x3176f4<_0x13519d||_0x5804cc&&_0x5804cc['heightRelevant']||_0x47108a&&_0x47108a['heightRelevant'])&&_0x172e3f(_0x3176f4,_0x13519d,this['changes'],0x5);}}function _0x488100(_0x5ab0f9,_0x3bb48c){let _0x4e31b0=_0x5ab0f9['getBoundingClientRect'](),_0x3c4c18=_0x5ab0f9['ownerDocument'],_0x56a93d=_0x3c4c18['defaultView']||window,_0x1499f3=Math['max'](0x0,_0x4e31b0['left']),_0x5d502f=Math['min'](_0x56a93d['innerWidth'],_0x4e31b0['right']),_0x53084c=Math['max'](0x0,_0x4e31b0['top']),_0x2c3c69=Math['min'](_0x56a93d['innerHeight'],_0x4e31b0['bottom']);for(let _0x539e3=_0x5ab0f9['parentNode'];_0x539e3&&_0x539e3!=_0x3c4c18['body'];)if(0x1==_0x539e3['nodeType']){let _0x4bfcea=_0x539e3,_0xae1b46=window['getComputedStyle'](_0x4bfcea);if((_0x4bfcea['scrollHeight']>_0x4bfcea['clientHeight']||_0x4bfcea['scrollWidth']>_0x4bfcea['clientWidth'])&&'visible'!=_0xae1b46['overflow']){let _0x4ac167=_0x4bfcea['getBoundingClientRect']();_0x1499f3=Math['max'](_0x1499f3,_0x4ac167['left']),_0x5d502f=Math['min'](_0x5d502f,_0x4ac167['right']),_0x53084c=Math['max'](_0x53084c,_0x4ac167['top']),_0x2c3c69=Math['min'](_0x539e3==_0x5ab0f9['parentNode']?_0x56a93d['innerHeight']:_0x2c3c69,_0x4ac167['bottom']);}_0x539e3='absolute'==_0xae1b46['position']||'fixed'==_0xae1b46['position']?_0x4bfcea['offsetParent']:_0x4bfcea['parentNode'];}else{if(0xb!=_0x539e3['nodeType'])break;_0x539e3=_0x539e3['host'];}return{'left':_0x1499f3-_0x4e31b0['left'],'right':Math['max'](_0x1499f3,_0x5d502f)-_0x4e31b0['left'],'top':_0x53084c-(_0x4e31b0['top']+_0x3bb48c),'bottom':Math['max'](_0x53084c,_0x2c3c69)-(_0x4e31b0['top']+_0x3bb48c)};}function _0x1ad7c1(_0x2a5e88,_0x304e15){let _0x5860b9=_0x2a5e88['getBoundingClientRect']();return{'left':0x0,'right':_0x5860b9['right']-_0x5860b9['left'],'top':_0x304e15,'bottom':_0x5860b9['bottom']-(_0x5860b9['top']+_0x304e15)};}class _0x15b065{constructor(_0x1bbfd8,_0x467656,_0x330b2b,_0x1dd0e1){this['from']=_0x1bbfd8,this['to']=_0x467656,this['size']=_0x330b2b,this['displaySize']=_0x1dd0e1;}static['same'](_0x346396,_0x428f9c){if(_0x346396['length']!=_0x428f9c['length'])return!0x1;for(let _0x53652d=0x0;_0x53652d<_0x346396['length'];_0x53652d++){let _0x5991bf=_0x346396[_0x53652d],_0x8bb8cb=_0x428f9c[_0x53652d];if(_0x5991bf['from']!=_0x8bb8cb['from']||_0x5991bf['to']!=_0x8bb8cb['to']||_0x5991bf['size']!=_0x8bb8cb['size'])return!0x1;}return!0x0;}['draw'](_0x4b76f7,_0x2c62c1){return Decoration['replace']({'widget':new LineGapWidget(this['displaySize']*(_0x2c62c1?_0x4b76f7['scaleY']:_0x4b76f7['scaleX']),_0x2c62c1)})['range'](this['from'],this['to']);}}class LineGapWidget extends WidgetType{constructor(_0x1210df,_0x4c2da3){super(),this['size']=_0x1210df,this['vertical']=_0x4c2da3;}['eq'](_0x406dab){return _0x406dab['size']==this['size']&&_0x406dab['vertical']==this['vertical'];}['toDOM'](){let _0x4c5137=document['createElement']('div');return this['vertical']?_0x4c5137['style']['height']=this['size']+'px':(_0x4c5137['style']['width']=this['size']+'px',_0x4c5137['style']['height']='2px',_0x4c5137['style']['display']='inline-block'),_0x4c5137;}get['estimatedHeight'](){return this['vertical']?this['size']:-0x1;}}class ViewState{constructor(_0x94d4f8){this['state']=_0x94d4f8,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']=_0x35c1f4,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=_0x590046['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0x44fc69=_0x94d4f8['facet'](_0x2cb0f9)['some'](_0x589833=>'function'!=typeof _0x589833&&'cm-lineWrapping'==_0x589833['class']);this['heightOracle']=new HeightOracle(_0x44fc69),this['stateDeco']=_0x94d4f8['facet'](_0x1cba45)['filter'](_0x416b9a=>'function'!=typeof _0x416b9a),this['heightMap']=HeightMap['empty']()['applyChanges'](this['stateDeco'],_0x5681fe['empty'],this['heightOracle']['setDoc'](_0x94d4f8['doc']),[new _0x3c8c51(0x0,0x0,0x0,_0x94d4f8['doc']['length'])]);for(let _0x4c3eba=0x0;_0x4c3eba<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x4c3eba++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=Decoration['set'](this['lineGaps']['map'](_0x6324f8=>_0x6324f8['draw'](this,!0x1))),this['computeVisibleRanges']();}['updateForViewport'](){let _0x301d7e=[this['viewport']],{main:_0x2eed44}=this['state']['selection'];for(let _0x58e57d=0x0;_0x58e57d<=0x1;_0x58e57d++){let _0x262de3=_0x58e57d?_0x2eed44['head']:_0x2eed44['anchor'];if(!_0x301d7e['some'](({from:_0x417ec2,to:_0x304a1b})=>_0x262de3>=_0x417ec2&&_0x262de3<=_0x304a1b)){let {from:_0x5682bd,to:_0x136ed5}=this['lineBlockAt'](_0x262de3);_0x301d7e['push'](new Viewport(_0x5682bd,_0x136ed5));}}return this['viewports']=_0x301d7e['sort']((_0x235386,_0x38f3af)=>_0x235386['from']-_0x38f3af['from']),this['updateScaler']();}['updateScaler'](){let _0x786180=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?_0x35c1f4:new _0x2ff745(this['heightOracle'],this['heightMap'],this['viewports']),_0x786180['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,_0x614ebc=>{this['viewportLines']['push'](_0x81fe0a(_0x614ebc,this['scaler']));});}['update'](_0x456227,_0x1a88a1=null){this['state']=_0x456227['state'];let _0x4dfd12=this['stateDeco'];this['stateDeco']=this['state']['facet'](_0x1cba45)['filter'](_0xe006ed=>'function'!=typeof _0xe006ed);let _0x3323b7=_0x456227['changedRanges'],_0x33119e=_0x3c8c51['extendWithRanges'](_0x3323b7,function(_0x470578,_0xc16a00,_0x28f8b5){let _0xb4201b=new DecorationComparator();return RangeSet['compare'](_0x470578,_0xc16a00,_0x28f8b5,_0xb4201b,0x0),_0xb4201b['changes'];}(_0x4dfd12,this['stateDeco'],_0x456227?_0x456227['changes']:ChangeSet['empty'](this['state']['doc']['length']))),_0x51f397=this['heightMap']['height'],_0x12b171=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollTop']);_0x54bcf0(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x456227['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0x33119e),(this['heightMap']['height']!=_0x51f397||_0x33c083)&&(_0x456227['flags']|=0x2),_0x12b171?(this['scrollAnchorPos']=_0x456227['changes']['mapPos'](_0x12b171['from'],-0x1),this['scrollAnchorHeight']=_0x12b171['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=_0x51f397);let _0x48ad68=_0x33119e['length']?this['mapViewport'](this['viewport'],_0x456227['changes']):this['viewport'];(_0x1a88a1&&(_0x1a88a1['range']['head']<_0x48ad68['from']||_0x1a88a1['range']['head']>_0x48ad68['to'])||!this['viewportIsAppropriate'](_0x48ad68))&&(_0x48ad68=this['getViewport'](0x0,_0x1a88a1));let _0x2423fb=_0x48ad68['from']!=this['viewport']['from']||_0x48ad68['to']!=this['viewport']['to'];this['viewport']=_0x48ad68,_0x456227['flags']|=this['updateForViewport'](),(_0x2423fb||!_0x456227['changes']['empty']||0x2&_0x456227['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x456227['changes']))),_0x456227['flags']|=this['computeVisibleRanges'](_0x456227['changes']),_0x1a88a1&&(this['scrollTarget']=_0x1a88a1),!this['mustEnforceCursorAssoc']&&_0x456227['selectionSet']&&_0x456227['view']['lineWrapping']&&_0x456227['state']['selection']['main']['empty']&&_0x456227['state']['selection']['main']['assoc']&&!_0x456227['state']['facet'](_0x4a594d)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](_0x9fd3b5){let _0x4fc124=_0x9fd3b5['contentDOM'],_0x128d5a=window['getComputedStyle'](_0x4fc124),_0x26afac=this['heightOracle'],_0x152668=_0x128d5a['whiteSpace'];this['defaultTextDirection']='rtl'==_0x128d5a['direction']?_0x590046['RTL']:_0x590046['LTR'];let _0x4b1e0d=this['heightOracle']['mustRefreshForWrapping'](_0x152668),_0x2e695a=_0x4fc124['getBoundingClientRect'](),_0x1362d0=_0x4b1e0d||this['mustMeasureContent']||this['contentDOMHeight']!=_0x2e695a['height'];this['contentDOMHeight']=_0x2e695a['height'],this['mustMeasureContent']=!0x1;let _0x55f960=0x0,_0x256ce7=0x0;if(_0x2e695a['width']&&_0x2e695a['height']){let {scaleX:_0x58b5fd,scaleY:_0xee2262}=_0x107114(_0x4fc124,_0x2e695a);(_0x58b5fd>0.005&&Math['abs'](this['scaleX']-_0x58b5fd)>0.005||_0xee2262>0.005&&Math['abs'](this['scaleY']-_0xee2262)>0.005)&&(this['scaleX']=_0x58b5fd,this['scaleY']=_0xee2262,_0x55f960|=0x10,_0x4b1e0d=_0x1362d0=!0x0);}let _0x5ea634=(parseInt(_0x128d5a['paddingTop'])||0x0)*this['scaleY'],_0x591a45=(parseInt(_0x128d5a['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0x5ea634&&this['paddingBottom']==_0x591a45||(this['paddingTop']=_0x5ea634,this['paddingBottom']=_0x591a45,_0x55f960|=0x12),this['editorWidth']!=_0x9fd3b5['scrollDOM']['clientWidth']&&(_0x26afac['lineWrapping']&&(_0x1362d0=!0x0),this['editorWidth']=_0x9fd3b5['scrollDOM']['clientWidth'],_0x55f960|=0x10);let _0xca564e=_0x9fd3b5['scrollDOM']['scrollTop']*this['scaleY'];this['scrollTop']!=_0xca564e&&(this['scrollAnchorHeight']=-0x1,this['scrollTop']=_0xca564e),this['scrolledToBottom']=_0x2c5167(_0x9fd3b5['scrollDOM']);let _0x5735c0=(this['printing']?_0x1ad7c1:_0x488100)(_0x4fc124,this['paddingTop']),_0x30463e=_0x5735c0['top']-this['pixelViewport']['top'],_0x801873=_0x5735c0['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0x5735c0;let _0x2fa390=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0x2fa390!=this['inView']&&(this['inView']=_0x2fa390,_0x2fa390&&(_0x1362d0=!0x0)),!this['inView']&&!this['scrollTarget']&&!function(_0x1d844e){let _0x523601=_0x1d844e['getBoundingClientRect'](),_0x4acbf6=_0x1d844e['ownerDocument']['defaultView']||window;return _0x523601['left']<_0x4acbf6['innerWidth']&&_0x523601['right']>0x0&&_0x523601['top']<_0x4acbf6['innerHeight']&&_0x523601['bottom']>0x0;}(_0x9fd3b5['dom']))return 0x0;let _0x4e1cb1=_0x2e695a['width'];if(this['contentDOMWidth']==_0x4e1cb1&&this['editorHeight']==_0x9fd3b5['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0x2e695a['width'],this['editorHeight']=_0x9fd3b5['scrollDOM']['clientHeight'],_0x55f960|=0x10),_0x1362d0){let _0x3339d1=_0x9fd3b5['docView']['measureVisibleLineHeights'](this['viewport']);if(_0x26afac['mustRefreshForHeights'](_0x3339d1)&&(_0x4b1e0d=!0x0),_0x4b1e0d||_0x26afac['lineWrapping']&&Math['abs'](_0x4e1cb1-this['contentDOMWidth'])>_0x26afac['charWidth']){let {lineHeight:_0x478e5f,charWidth:_0x279cd8,textHeight:_0x4245a4}=_0x9fd3b5['docView']['measureTextSize']();_0x4b1e0d=_0x478e5f>0x0&&_0x26afac['refresh'](_0x152668,_0x478e5f,_0x279cd8,_0x4245a4,Math['max'](0x5,_0x4e1cb1/_0x279cd8),_0x3339d1),_0x4b1e0d&&(_0x9fd3b5['docView']['minWidth']=0x0,_0x55f960|=0x10);}_0x30463e>0x0&&_0x801873>0x0?_0x256ce7=Math['max'](_0x30463e,_0x801873):_0x30463e<0x0&&_0x801873<0x0&&(_0x256ce7=Math['min'](_0x30463e,_0x801873)),_0x54bcf0();for(let _0x44ed79 of this['viewports']){let _0x502a5b=_0x44ed79['from']==this['viewport']['from']?_0x3339d1:_0x9fd3b5['docView']['measureVisibleLineHeights'](_0x44ed79);this['heightMap']=(_0x4b1e0d?HeightMap['empty']()['applyChanges'](this['stateDeco'],_0x5681fe['empty'],this['heightOracle'],[new _0x3c8c51(0x0,0x0,0x0,_0x9fd3b5['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0x26afac,0x0,_0x4b1e0d,new MeasuredHeights(_0x44ed79['from'],_0x502a5b));}_0x33c083&&(_0x55f960|=0x2);}let _0x11a089=!this['viewportIsAppropriate'](this['viewport'],_0x256ce7)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0x11a089&&(0x2&_0x55f960&&(_0x55f960|=this['updateScaler']()),this['viewport']=this['getViewport'](_0x256ce7,this['scrollTarget']),_0x55f960|=this['updateForViewport']()),(0x2&_0x55f960||_0x11a089)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0x4b1e0d?[]:this['lineGaps'],_0x9fd3b5)),_0x55f960|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0x9fd3b5['docView']['enforceCursorAssoc']()),_0x55f960;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get['visibleBottom'](){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}['getViewport'](_0x2fc51f,_0x4f8e72){let _0x837063=0.5-Math['max'](-0.5,Math['min'](0.5,_0x2fc51f/0x3e8/0x2)),_0x575dea=this['heightMap'],_0x317667=this['heightOracle'],{visibleTop:_0x28e5c5,visibleBottom:_0x4546a8}=this,_0x4c5819=new Viewport(_0x575dea['lineAt'](_0x28e5c5-0x3e8*_0x837063,_0x38333c['ByHeight'],_0x317667,0x0,0x0)['from'],_0x575dea['lineAt'](_0x4546a8+0x3e8*(0x1-_0x837063),_0x38333c['ByHeight'],_0x317667,0x0,0x0)['to']);if(_0x4f8e72){let {head:_0xe6ce55}=_0x4f8e72['range'];if(_0xe6ce55<_0x4c5819['from']||_0xe6ce55>_0x4c5819['to']){let _0x2c9ad3,_0x5f2382=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x1140b3=_0x575dea['lineAt'](_0xe6ce55,_0x38333c['ByPos'],_0x317667,0x0,0x0);_0x2c9ad3='center'==_0x4f8e72['y']?(_0x1140b3['top']+_0x1140b3['bottom'])/0x2-_0x5f2382/0x2:'start'==_0x4f8e72['y']||'nearest'==_0x4f8e72['y']&&_0xe6ce55<_0x4c5819['from']?_0x1140b3['top']:_0x1140b3['bottom']-_0x5f2382,_0x4c5819=new Viewport(_0x575dea['lineAt'](_0x2c9ad3-0x1f4,_0x38333c['ByHeight'],_0x317667,0x0,0x0)['from'],_0x575dea['lineAt'](_0x2c9ad3+_0x5f2382+0x1f4,_0x38333c['ByHeight'],_0x317667,0x0,0x0)['to']);}}return _0x4c5819;}['mapViewport'](_0x12daa7,_0x2d0ff9){let _0x5a78ec=_0x2d0ff9['mapPos'](_0x12daa7['from'],-0x1),_0x45a56b=_0x2d0ff9['mapPos'](_0x12daa7['to'],0x1);return new Viewport(this['heightMap']['lineAt'](_0x5a78ec,_0x38333c['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0x45a56b,_0x38333c['ByPos'],this['heightOracle'],0x0,0x0)['to']);}['viewportIsAppropriate']({from:_0x2880b7,to:_0x5c8121},_0x1c04b5=0x0){if(!this['inView'])return!0x0;let {top:_0x1ab46d}=this['heightMap']['lineAt'](_0x2880b7,_0x38333c['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0x17333f}=this['heightMap']['lineAt'](_0x5c8121,_0x38333c['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0x2dbc5d,visibleBottom:_0x55dce5}=this;return(0x0==_0x2880b7||_0x1ab46d<=_0x2dbc5d-Math['max'](0xa,Math['min'](-_0x1c04b5,0xfa)))&&(_0x5c8121==this['state']['doc']['length']||_0x17333f>=_0x55dce5+Math['max'](0xa,Math['min'](_0x1c04b5,0xfa)))&&_0x1ab46d>_0x2dbc5d-0x7d0&&_0x17333f<_0x55dce5+0x7d0;}['mapLineGaps'](_0x476792,_0x51a918){if(!_0x476792['length']||_0x51a918['empty'])return _0x476792;let _0x50ed0c=[];for(let _0x382bc4 of _0x476792)_0x51a918['touchesRange'](_0x382bc4['from'],_0x382bc4['to'])||_0x50ed0c['push'](new _0x15b065(_0x51a918['mapPos'](_0x382bc4['from']),_0x51a918['mapPos'](_0x382bc4['to']),_0x382bc4['size'],_0x382bc4['displaySize']));return _0x50ed0c;}['ensureLineGaps'](_0x303a53,_0x3bd6e5){let _0x346a68=this['heightOracle']['lineWrapping'],_0x2bb971=_0x346a68?0x2710:0x7d0,_0x789a2d=_0x2bb971>>0x1,_0x11e9d5=_0x2bb971<<0x1;if(this['defaultTextDirection']!=_0x590046['LTR']&&!_0x346a68)return[];let _0x3ebc72=[],_0x40d821=(_0x52675e,_0x1a27a3,_0x199815,_0x355ecf)=>{if(_0x1a27a3-_0x52675e<_0x789a2d)return;let _0x5a18da=this['state']['selection']['main'],_0x395cb=[_0x5a18da['from']];_0x5a18da['empty']||_0x395cb['push'](_0x5a18da['to']);for(let _0x23e7dc of _0x395cb)if(_0x23e7dc>_0x52675e&&_0x23e7dc<_0x1a27a3)return _0x40d821(_0x52675e,_0x23e7dc-0xa,_0x199815,_0x355ecf),void _0x40d821(_0x23e7dc+0xa,_0x1a27a3,_0x199815,_0x355ecf);let _0xafab9c=function(_0x3ab2eb,_0x4de1de){for(let _0x2e6db9 of _0x3ab2eb)if(_0x4de1de(_0x2e6db9))return _0x2e6db9;return;}(_0x303a53,_0x519ded=>_0x519ded['from']>=_0x199815['from']&&_0x519ded['to']<=_0x199815['to']&&Math['abs'](_0x519ded['from']-_0x52675e)<_0x789a2d&&Math['abs'](_0x519ded['to']-_0x1a27a3)<_0x789a2d&&!_0x395cb['some'](_0x4ae0d1=>_0x519ded['from']<_0x4ae0d1&&_0x519ded['to']>_0x4ae0d1));if(!_0xafab9c){if(_0x1a27a3<_0x199815['to']&&_0x3bd6e5&&_0x346a68&&_0x3bd6e5['visibleRanges']['some'](_0x4d0c13=>_0x4d0c13['from']<=_0x1a27a3&&_0x4d0c13['to']>=_0x1a27a3)){let _0x47bcb8=_0x3bd6e5['moveToLineBoundary'](EditorSelection['cursor'](_0x1a27a3),!0x1,!0x0)['head'];_0x47bcb8>_0x52675e&&(_0x1a27a3=_0x47bcb8);}let _0x384f5b=this['gapSize'](_0x199815,_0x52675e,_0x1a27a3,_0x355ecf);_0xafab9c=new _0x15b065(_0x52675e,_0x1a27a3,_0x384f5b,_0x346a68||_0x384f5b<0x1e8480?_0x384f5b:0x1e8480);}_0x3ebc72['push'](_0xafab9c);},_0x55460b=_0x5b6a49=>{if(_0x5b6a49['length']<_0x11e9d5||_0x5b6a49['type']!=_0x5cf05d['Text'])return;let _0x4753f3=function(_0x55ec23,_0x6fc0f7,_0x5d783d){let _0x1e4777=[],_0x2b5832=_0x55ec23,_0x4f06e5=0x0;return RangeSet['spans'](_0x5d783d,_0x55ec23,_0x6fc0f7,{'span'(){},'point'(_0x39c069,_0x40b110){_0x39c069>_0x2b5832&&(_0x1e4777['push']({'from':_0x2b5832,'to':_0x39c069}),_0x4f06e5+=_0x39c069-_0x2b5832),_0x2b5832=_0x40b110;}},0x14),_0x2b5832<_0x6fc0f7&&(_0x1e4777['push']({'from':_0x2b5832,'to':_0x6fc0f7}),_0x4f06e5+=_0x6fc0f7-_0x2b5832),{'total':_0x4f06e5,'ranges':_0x1e4777};}(_0x5b6a49['from'],_0x5b6a49['to'],this['stateDeco']);if(_0x4753f3['total']<_0x11e9d5)return;let _0x3fb6c3,_0x4dda8a,_0x271e42=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0x346a68){let _0x537772,_0x9a9df5,_0x6bb84e=_0x2bb971/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0x271e42){let _0x4c20d1=_0x41786b(_0x4753f3,_0x271e42),_0x1051c7=((this['visibleBottom']-this['visibleTop'])/0x2+_0x6bb84e)/_0x5b6a49['height'];_0x537772=_0x4c20d1-_0x1051c7,_0x9a9df5=_0x4c20d1+_0x1051c7;}else _0x537772=(this['visibleTop']-_0x5b6a49['top']-_0x6bb84e)/_0x5b6a49['height'],_0x9a9df5=(this['visibleBottom']-_0x5b6a49['top']+_0x6bb84e)/_0x5b6a49['height'];_0x3fb6c3=_0x44475c(_0x4753f3,_0x537772),_0x4dda8a=_0x44475c(_0x4753f3,_0x9a9df5);}else{let _0xaa6f68=_0x4753f3['total']*this['heightOracle']['charWidth'],_0x382ed5=_0x2bb971*this['heightOracle']['charWidth'],_0x343cdd=0x0;if(_0xaa6f68>0x1e8480){for(let _0x3e8362 of _0x303a53)_0x3e8362['from']>=_0x5b6a49['from']&&_0x3e8362['from']<_0x5b6a49['to']&&_0x3e8362['size']!=_0x3e8362['displaySize']&&_0x3e8362['from']*this['heightOracle']['charWidth']+_0x343cdd<this['pixelViewport']['left']&&(_0x343cdd=_0x3e8362['size']-_0x3e8362['displaySize']);}let _0x5548d0,_0x15ecf6,_0x1ee320=this['pixelViewport']['left']+_0x343cdd,_0x147117=this['pixelViewport']['right']+_0x343cdd;if(null!=_0x271e42){let _0x309908=_0x41786b(_0x4753f3,_0x271e42),_0x22de37=((_0x147117-_0x1ee320)/0x2+_0x382ed5)/_0xaa6f68;_0x5548d0=_0x309908-_0x22de37,_0x15ecf6=_0x309908+_0x22de37;}else _0x5548d0=(_0x1ee320-_0x382ed5)/_0xaa6f68,_0x15ecf6=(_0x147117+_0x382ed5)/_0xaa6f68;_0x3fb6c3=_0x44475c(_0x4753f3,_0x5548d0),_0x4dda8a=_0x44475c(_0x4753f3,_0x15ecf6);}_0x3fb6c3>_0x5b6a49['from']&&_0x40d821(_0x5b6a49['from'],_0x3fb6c3,_0x5b6a49,_0x4753f3),_0x4dda8a<_0x5b6a49['to']&&_0x40d821(_0x4dda8a,_0x5b6a49['to'],_0x5b6a49,_0x4753f3);};for(let _0x2a01ea of this['viewportLines'])Array['isArray'](_0x2a01ea['type'])?_0x2a01ea['type']['forEach'](_0x55460b):_0x55460b(_0x2a01ea);return _0x3ebc72;}['gapSize'](_0x289917,_0x4657c1,_0x3d1ee1,_0x272eb7){let _0xe25ae4=_0x41786b(_0x272eb7,_0x3d1ee1)-_0x41786b(_0x272eb7,_0x4657c1);return this['heightOracle']['lineWrapping']?_0x289917['height']*_0xe25ae4:_0x272eb7['total']*this['heightOracle']['charWidth']*_0xe25ae4;}['updateLineGaps'](_0xba95de){_0x15b065['same'](_0xba95de,this['lineGaps'])||(this['lineGaps']=_0xba95de,this['lineGapDeco']=Decoration['set'](_0xba95de['map'](_0x35e94b=>_0x35e94b['draw'](this,this['heightOracle']['lineWrapping']))));}['computeVisibleRanges'](_0x31fda7){let _0x3c1e41=this['stateDeco'];this['lineGaps']['length']&&(_0x3c1e41=_0x3c1e41['concat'](this['lineGapDeco']));let _0x392110=[];RangeSet['spans'](_0x3c1e41,this['viewport']['from'],this['viewport']['to'],{'span'(_0x37fa52,_0x468d33){_0x392110['push']({'from':_0x37fa52,'to':_0x468d33});},'point'(){}},0x14);let _0x77b5f5=0x0;if(_0x392110['length']!=this['visibleRanges']['length'])_0x77b5f5=0xc;else for(let _0x178cdc=0x0;_0x178cdc<_0x392110['length']&&!(0x8&_0x77b5f5);_0x178cdc++){let _0x1ec152=this['visibleRanges'][_0x178cdc],_0x2f576b=_0x392110[_0x178cdc];_0x1ec152['from']==_0x2f576b['from']&&_0x1ec152['to']==_0x2f576b['to']||(_0x77b5f5|=0x4,_0x31fda7&&_0x31fda7['mapPos'](_0x1ec152['from'],-0x1)==_0x2f576b['from']&&_0x31fda7['mapPos'](_0x1ec152['to'],0x1)==_0x2f576b['to']||(_0x77b5f5|=0x8));}return this['visibleRanges']=_0x392110,_0x77b5f5;}['lineBlockAt'](_0xc763e6){return _0xc763e6>=this['viewport']['from']&&_0xc763e6<=this['viewport']['to']&&this['viewportLines']['find'](_0x3792f9=>_0x3792f9['from']<=_0xc763e6&&_0x3792f9['to']>=_0xc763e6)||_0x81fe0a(this['heightMap']['lineAt'](_0xc763e6,_0x38333c['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}['lineBlockAtHeight'](_0x18feaf){return _0x18feaf>=this['viewportLines'][0x0]['top']&&_0x18feaf<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0x30c07e=>_0x30c07e['top']<=_0x18feaf&&_0x30c07e['bottom']>=_0x18feaf)||_0x81fe0a(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0x18feaf),_0x38333c['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}['scrollAnchorAt'](_0xca0397){let _0x2c3035=this['lineBlockAtHeight'](_0xca0397+0x8);return _0x2c3035['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0xca0397>0xc8?_0x2c3035:this['viewportLines'][0x0];}['elementAtHeight'](_0x5d26c3){return _0x81fe0a(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0x5d26c3),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(_0x2c6dc6,_0x7e9dfa){this['from']=_0x2c6dc6,this['to']=_0x7e9dfa;}}function _0x44475c({total:_0x5b9d22,ranges:_0x1a84b4},_0x13815f){if(_0x13815f<=0x0)return _0x1a84b4[0x0]['from'];if(_0x13815f>=0x1)return _0x1a84b4[_0x1a84b4['length']-0x1]['to'];let _0x749d3=Math['floor'](_0x5b9d22*_0x13815f);for(let _0x35aef5=0x0;;_0x35aef5++){let {from:_0xd3678d,to:_0x38894f}=_0x1a84b4[_0x35aef5],_0x42405c=_0x38894f-_0xd3678d;if(_0x749d3<=_0x42405c)return _0xd3678d+_0x749d3;_0x749d3-=_0x42405c;}}function _0x41786b(_0x3d88a2,_0x30512f){let _0x36467c=0x0;for(let {from:_0x5010bf,to:_0x56a193}of _0x3d88a2['ranges']){if(_0x30512f<=_0x56a193){_0x36467c+=_0x30512f-_0x5010bf;break;}_0x36467c+=_0x56a193-_0x5010bf;}return _0x36467c/_0x3d88a2['total'];}const _0x35c1f4={'toDOM':_0x232695=>_0x232695,'fromDOM':_0x20a5c6=>_0x20a5c6,'scale':0x1,'eq'(_0x284747){return _0x284747==this;}};class _0x2ff745{constructor(_0x3bbcba,_0x5b69d5,_0x35da0b){let _0x452448=0x0,_0x4d55cf=0x0,_0x4eae34=0x0;this['viewports']=_0x35da0b['map'](({from:_0x3ded20,to:_0x394620})=>{let _0x160349=_0x5b69d5['lineAt'](_0x3ded20,_0x38333c['ByPos'],_0x3bbcba,0x0,0x0)['top'],_0x23c5b8=_0x5b69d5['lineAt'](_0x394620,_0x38333c['ByPos'],_0x3bbcba,0x0,0x0)['bottom'];return _0x452448+=_0x23c5b8-_0x160349,{'from':_0x3ded20,'to':_0x394620,'top':_0x160349,'bottom':_0x23c5b8,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x452448)/(_0x5b69d5['height']-_0x452448);for(let _0x24f81a of this['viewports'])_0x24f81a['domTop']=_0x4eae34+(_0x24f81a['top']-_0x4d55cf)*this['scale'],_0x4eae34=_0x24f81a['domBottom']=_0x24f81a['domTop']+(_0x24f81a['bottom']-_0x24f81a['top']),_0x4d55cf=_0x24f81a['bottom'];}['toDOM'](_0x4060d1){for(let _0x343c34=0x0,_0x4891ba=0x0,_0x7f5909=0x0;;_0x343c34++){let _0x23f3a6=_0x343c34<this['viewports']['length']?this['viewports'][_0x343c34]:null;if(!_0x23f3a6||_0x4060d1<_0x23f3a6['top'])return _0x7f5909+(_0x4060d1-_0x4891ba)*this['scale'];if(_0x4060d1<=_0x23f3a6['bottom'])return _0x23f3a6['domTop']+(_0x4060d1-_0x23f3a6['top']);_0x4891ba=_0x23f3a6['bottom'],_0x7f5909=_0x23f3a6['domBottom'];}}['fromDOM'](_0x4abbe6){for(let _0x3e40a5=0x0,_0xd80caa=0x0,_0x395280=0x0;;_0x3e40a5++){let _0x435cd0=_0x3e40a5<this['viewports']['length']?this['viewports'][_0x3e40a5]:null;if(!_0x435cd0||_0x4abbe6<_0x435cd0['domTop'])return _0xd80caa+(_0x4abbe6-_0x395280)/this['scale'];if(_0x4abbe6<=_0x435cd0['domBottom'])return _0x435cd0['top']+(_0x4abbe6-_0x435cd0['domTop']);_0xd80caa=_0x435cd0['bottom'],_0x395280=_0x435cd0['domBottom'];}}['eq'](_0x2f75d4){return _0x2f75d4 instanceof _0x2ff745&&(this['scale']==_0x2f75d4['scale']&&this['viewports']['length']==_0x2f75d4['viewports']['length']&&this['viewports']['every']((_0xafa2c9,_0x4f09ba)=>_0xafa2c9['from']==_0x2f75d4['viewports'][_0x4f09ba]['from']&&_0xafa2c9['to']==_0x2f75d4['viewports'][_0x4f09ba]['to']));}}function _0x81fe0a(_0x26d2cb,_0x12f7df){if(0x1==_0x12f7df['scale'])return _0x26d2cb;let _0x4be75d=_0x12f7df['toDOM'](_0x26d2cb['top']),_0x4c5ca8=_0x12f7df['toDOM'](_0x26d2cb['bottom']);return new _0x306e78(_0x26d2cb['from'],_0x26d2cb['length'],_0x4be75d,_0x4c5ca8-_0x4be75d,Array['isArray'](_0x26d2cb['_content'])?_0x26d2cb['_content']['map'](_0x441742=>_0x81fe0a(_0x441742,_0x12f7df)):_0x26d2cb['_content']);}const _0x1c748b=Facet['define']({'combine':_0x5b6aae=>_0x5b6aae['join']('\x20')}),_0x199bef=Facet['define']({'combine':_0x5200ce=>_0x5200ce['indexOf'](!0x0)>-0x1}),_0x51cacd=StyleModule['newName'](),_0x468461=StyleModule['newName'](),_0xde5e41=StyleModule['newName'](),_0xf72393={'&light':'.'+_0x468461,'&dark':'.'+_0xde5e41};function _0x5b6506(_0x181703,_0x3f1a30,_0x5bc48d){return new StyleModule(_0x3f1a30,{'finish':_0x3f7e62=>/&/['test'](_0x3f7e62)?_0x3f7e62['replace'](/&\w*/,_0x583f42=>{if('&'==_0x583f42)return _0x181703;if(!_0x5bc48d||!_0x5bc48d[_0x583f42])throw new RangeError('Unsupported\x20selector:\x20'+_0x583f42);return _0x5bc48d[_0x583f42];}):_0x181703+'\x20'+_0x3f7e62});}const _0x51180c=_0x5b6506('.'+_0x51cacd,{'&':{'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'}},_0xf72393),_0x1e8ff0={'childList':!0x0,'characterData':!0x0,'subtree':!0x0,'attributes':!0x0,'characterDataOldValue':!0x0},_0x14c59a=_0xe49063['ie']&&_0xe49063['ie_version']<=0xb;class _0x162506{constructor(_0xf6ce44){this['view']=_0xf6ce44,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']=_0xf6ce44['contentDOM'],this['observer']=new MutationObserver(_0x1a1d91=>{for(let _0x421714 of _0x1a1d91)this['queue']['push'](_0x421714);(_0xe49063['ie']&&_0xe49063['ie_version']<=0xb||_0xe49063['ios']&&_0xf6ce44['composing'])&&_0x1a1d91['some'](_0x142847=>'childList'==_0x142847['type']&&_0x142847['removedNodes']['length']||'characterData'==_0x142847['type']&&_0x142847['oldValue']['length']>_0x142847['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!_0xe49063['android']||!0x1===_0xf6ce44['constructor']['EDIT_CONTEXT']||_0xe49063['chrome']&&_0xe49063['chrome_version']<0x7e||(this['editContext']=new EditContextManager(_0xf6ce44),_0xf6ce44['state']['facet'](_0x19cf30)&&(_0xf6ce44['contentDOM']['editContext']=this['editContext']['editContext'])),_0x14c59a&&(this['onCharData']=_0x22da89=>{this['queue']['push']({'target':_0x22da89['target'],'type':'characterData','oldValue':_0x22da89['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 _0x633cb9;(null===(_0x633cb9=this['view']['docView'])||void 0x0===_0x633cb9?void 0x0:_0x633cb9['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0xf6ce44['scrollDOM'])),this['addWindowListeners'](this['win']=_0xf6ce44['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0x2c924e=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0x2c924e['length']>0x0&&_0x2c924e[_0x2c924e['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(_0x32ef74=>{_0x32ef74['length']>0x0&&_0x32ef74[_0x32ef74['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x3dcaf5){this['view']['inputState']['runHandlers']('scroll',_0x3dcaf5),this['intersecting']&&this['view']['measure']();}['onScroll'](_0x13fc7f){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0x13fc7f);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}['onPrint'](_0x568abe){('change'!=_0x568abe['type']&&_0x568abe['type']||_0x568abe['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}['updateGaps'](_0x39b918){if(this['gapIntersection']&&(_0x39b918['length']!=this['gaps']['length']||this['gaps']['some']((_0x21fa7e,_0x3f43c9)=>_0x21fa7e!=_0x39b918[_0x3f43c9]))){this['gapIntersection']['disconnect']();for(let _0x399374 of _0x39b918)this['gapIntersection']['observe'](_0x399374);this['gaps']=_0x39b918;}}['onSelectionChange'](_0x54814c){let _0x4a7628=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x4d344e}=this,_0x26c95a=this['selectionRange'];if(_0x4d344e['state']['facet'](_0x19cf30)?_0x4d344e['root']['activeElement']!=this['dom']:!_0x183638(this['dom'],_0x26c95a))return;let _0x390930=_0x26c95a['anchorNode']&&_0x4d344e['docView']['nearest'](_0x26c95a['anchorNode']);_0x390930&&_0x390930['ignoreEvent'](_0x54814c)?_0x4a7628||(this['selectionChanged']=!0x1):(_0xe49063['ie']&&_0xe49063['ie_version']<=0xb||_0xe49063['android']&&_0xe49063['chrome'])&&!_0x4d344e['state']['selection']['main']['empty']&&_0x26c95a['focusNode']&&_0x2f10ef(_0x26c95a['focusNode'],_0x26c95a['focusOffset'],_0x26c95a['anchorNode'],_0x26c95a['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}['readSelectionRange'](){let {view:_0x5df44c}=this,_0x4b49d7=_0x1f5501(_0x5df44c['root']);if(!_0x4b49d7)return!0x1;let _0x49fbeb=_0xe49063['safari']&&0xb==_0x5df44c['root']['nodeType']&&_0x5df44c['root']['activeElement']==this['dom']&&function(_0x4b34ac,_0x21c4d2){if(_0x21c4d2['getComposedRanges']){let _0x49b384=_0x21c4d2['getComposedRanges'](_0x4b34ac['root'])[0x0];if(_0x49b384)return _0x14580c(_0x4b34ac,_0x49b384);}let _0x470be4=null;function _0x551a9c(_0x15f03d){_0x15f03d['preventDefault'](),_0x15f03d['stopImmediatePropagation'](),_0x470be4=_0x15f03d['getTargetRanges']()[0x0];}return _0x4b34ac['contentDOM']['addEventListener']('beforeinput',_0x551a9c,!0x0),_0x4b34ac['dom']['ownerDocument']['execCommand']('indent'),_0x4b34ac['contentDOM']['removeEventListener']('beforeinput',_0x551a9c,!0x0),_0x470be4?_0x14580c(_0x4b34ac,_0x470be4):null;}(this['view'],_0x4b49d7)||_0x4b49d7;if(!_0x49fbeb||this['selectionRange']['eq'](_0x49fbeb))return!0x1;let _0x654855=_0x183638(this['dom'],_0x49fbeb);return _0x654855&&!this['selectionChanged']&&_0x5df44c['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x5df44c['inputState']['lastTouchTime']<Date['now']()-0x12c&&function(_0x56ae05,_0xa1ed01){let _0x44d983=_0xa1ed01['focusNode'],_0x13e8c9=_0xa1ed01['focusOffset'];if(!_0x44d983||_0xa1ed01['anchorNode']!=_0x44d983||_0xa1ed01['anchorOffset']!=_0x13e8c9)return!0x1;for(_0x13e8c9=Math['min'](_0x13e8c9,_0x3445c1(_0x44d983));;)if(_0x13e8c9){if(0x1!=_0x44d983['nodeType'])return!0x1;let _0x95f915=_0x44d983['childNodes'][_0x13e8c9-0x1];'false'==_0x95f915['contentEditable']?_0x13e8c9--:(_0x44d983=_0x95f915,_0x13e8c9=_0x3445c1(_0x44d983));}else{if(_0x44d983==_0x56ae05)return!0x0;_0x13e8c9=_0xb350d7(_0x44d983),_0x44d983=_0x44d983['parentNode'];}}(this['dom'],_0x49fbeb)?(this['view']['inputState']['lastFocusTime']=0x0,_0x5df44c['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0x49fbeb),_0x654855&&(this['selectionChanged']=!0x0),!0x0);}['setSelectionRange'](_0x17a5e3,_0x13d428){this['selectionRange']['set'](_0x17a5e3['node'],_0x17a5e3['offset'],_0x13d428['node'],_0x13d428['offset']),this['selectionChanged']=!0x1;}['clearSelectionRange'](){this['selectionRange']['set'](null,0x0,null,0x0);}['listenForScroll'](){this['parentCheck']=-0x1;let _0x235c5b=0x0,_0x5253b2=null;for(let _0xb0e732=this['dom'];_0xb0e732;)if(0x1==_0xb0e732['nodeType'])!_0x5253b2&&_0x235c5b<this['scrollTargets']['length']&&this['scrollTargets'][_0x235c5b]==_0xb0e732?_0x235c5b++:_0x5253b2||(_0x5253b2=this['scrollTargets']['slice'](0x0,_0x235c5b)),_0x5253b2&&_0x5253b2['push'](_0xb0e732),_0xb0e732=_0xb0e732['assignedSlot']||_0xb0e732['parentNode'];else{if(0xb!=_0xb0e732['nodeType'])break;_0xb0e732=_0xb0e732['host'];}if(_0x235c5b<this['scrollTargets']['length']&&!_0x5253b2&&(_0x5253b2=this['scrollTargets']['slice'](0x0,_0x235c5b)),_0x5253b2){for(let _0x274ed4 of this['scrollTargets'])_0x274ed4['removeEventListener']('scroll',this['onScroll']);for(let _0x4a6e02 of this['scrollTargets']=_0x5253b2)_0x4a6e02['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0x441b57){if(!this['active'])return _0x441b57();try{return this['stop'](),_0x441b57();}finally{this['start'](),this['clear']();}}['start'](){this['active']||(this['observer']['observe'](this['dom'],_0x1e8ff0),_0x14c59a&&this['dom']['addEventListener']('DOMCharacterDataModified',this['onCharData']),this['active']=!0x0);}['stop'](){this['active']&&(this['active']=!0x1,this['observer']['disconnect'](),_0x14c59a&&this['dom']['removeEventListener']('DOMCharacterDataModified',this['onCharData']));}['clear'](){this['processRecords'](),this['queue']['length']=0x0,this['selectionChanged']=!0x1;}['delayAndroidKey'](_0x56a1a6,_0x367509){var _0x8e5bef;if(!this['delayedAndroidKey']){let _0x4c301b=()=>{let _0x57fd8b=this['delayedAndroidKey'];_0x57fd8b&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0x57fd8b['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0x57fd8b['force']&&_0x1af467(this['dom'],_0x57fd8b['key'],_0x57fd8b['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0x4c301b);}this['delayedAndroidKey']&&'Enter'!=_0x56a1a6||(this['delayedAndroidKey']={'key':_0x56a1a6,'keyCode':_0x367509,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x8e5bef=this['delayedAndroidKey'])||void 0x0===_0x8e5bef?void 0x0:_0x8e5bef['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 _0xe8a283 of this['observer']['takeRecords']())this['queue']['push'](_0xe8a283);return this['queue'];}['processRecords'](){let _0x1579d9=this['pendingRecords']();_0x1579d9['length']&&(this['queue']=[]);let _0x519c6c=-0x1,_0x3dd770=-0x1,_0x5c7367=!0x1;for(let _0x8725ed of _0x1579d9){let _0x20fdb0=this['readMutation'](_0x8725ed);_0x20fdb0&&(_0x20fdb0['typeOver']&&(_0x5c7367=!0x0),-0x1==_0x519c6c?{from:_0x519c6c,to:_0x3dd770}=_0x20fdb0:(_0x519c6c=Math['min'](_0x20fdb0['from'],_0x519c6c),_0x3dd770=Math['max'](_0x20fdb0['to'],_0x3dd770)));}return{'from':_0x519c6c,'to':_0x3dd770,'typeOver':_0x5c7367};}['readChange'](){let {from:_0x5f5352,to:_0x9a6e5a,typeOver:_0x2a7378}=this['processRecords'](),_0x2357c8=this['selectionChanged']&&_0x183638(this['dom'],this['selectionRange']);if(_0x5f5352<0x0&&!_0x2357c8)return null;_0x5f5352>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x5c519c=new _0x2a8b82(this['view'],_0x5f5352,_0x9a6e5a,_0x2a7378);return this['view']['docView']['domChanged']={'newSel':_0x5c519c['newSel']?_0x5c519c['newSel']['main']:null},_0x5c519c;}['flush'](_0x156560=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0x156560&&this['readSelectionRange']();let _0x19217b=this['readChange']();if(!_0x19217b)return this['view']['requestMeasure'](),!0x1;let _0x3d62d0=this['view']['state'],_0x543c30=_0x50721f(this['view'],_0x19217b);return this['view']['state']==_0x3d62d0&&(_0x19217b['domChanged']||_0x19217b['newSel']&&!_0x19217b['newSel']['main']['eq'](this['view']['state']['selection']['main']))&&this['view']['update']([]),_0x543c30;}['readMutation'](_0x40764a){let _0x2b3f99=this['view']['docView']['nearest'](_0x40764a['target']);if(!_0x2b3f99||_0x2b3f99['ignoreMutation'](_0x40764a))return null;if(_0x2b3f99['markDirty']('attributes'==_0x40764a['type']),'attributes'==_0x40764a['type']&&(_0x2b3f99['flags']|=0x4),'childList'==_0x40764a['type']){let _0x5b88d3=_0x46f64f(_0x2b3f99,_0x40764a['previousSibling']||_0x40764a['target']['previousSibling'],-0x1),_0x2e8781=_0x46f64f(_0x2b3f99,_0x40764a['nextSibling']||_0x40764a['target']['nextSibling'],0x1);return{'from':_0x5b88d3?_0x2b3f99['posAfter'](_0x5b88d3):_0x2b3f99['posAtStart'],'to':_0x2e8781?_0x2b3f99['posBefore'](_0x2e8781):_0x2b3f99['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0x40764a['type']?{'from':_0x2b3f99['posAtStart'],'to':_0x2b3f99['posAtEnd'],'typeOver':_0x40764a['target']['nodeValue']==_0x40764a['oldValue']}:null;}['setWindow'](_0x1ef1f3){_0x1ef1f3!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0x1ef1f3,this['addWindowListeners'](this['win']));}['addWindowListeners'](_0x2552e6){_0x2552e6['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0x2552e6['addEventListener']('beforeprint',this['onPrint']),_0x2552e6['addEventListener']('scroll',this['onScroll']),_0x2552e6['document']['addEventListener']('selectionchange',this['onSelectionChange']);}['removeWindowListeners'](_0x4a29f6){_0x4a29f6['removeEventListener']('scroll',this['onScroll']),_0x4a29f6['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x4a29f6['removeEventListener']('beforeprint',this['onPrint']),_0x4a29f6['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}['update'](_0x5c97e1){this['editContext']&&(this['editContext']['update'](_0x5c97e1),_0x5c97e1['startState']['facet'](_0x19cf30)!=_0x5c97e1['state']['facet'](_0x19cf30)&&(_0x5c97e1['view']['contentDOM']['editContext']=_0x5c97e1['state']['facet'](_0x19cf30)?this['editContext']['editContext']:null));}['destroy'](){var _0x1583f0,_0x54f8f2,_0x36b1d3;this['stop'](),null===(_0x1583f0=this['intersection'])||void 0x0===_0x1583f0||_0x1583f0['disconnect'](),null===(_0x54f8f2=this['gapIntersection'])||void 0x0===_0x54f8f2||_0x54f8f2['disconnect'](),null===(_0x36b1d3=this['resizeScroll'])||void 0x0===_0x36b1d3||_0x36b1d3['disconnect']();for(let _0x26c2b8 of this['scrollTargets'])_0x26c2b8['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 _0x46f64f(_0x3c8bad,_0x57c533,_0x44969f){for(;_0x57c533;){let _0xca06a2=ContentView['get'](_0x57c533);if(_0xca06a2&&_0xca06a2['parent']==_0x3c8bad)return _0xca06a2;let _0x4ba4cf=_0x57c533['parentNode'];_0x57c533=_0x4ba4cf!=_0x3c8bad['dom']?_0x4ba4cf:_0x44969f>0x0?_0x57c533['nextSibling']:_0x57c533['previousSibling'];}return null;}function _0x14580c(_0xa0a518,_0x3df0fe){let _0x133c3d=_0x3df0fe['startContainer'],_0xf659c0=_0x3df0fe['startOffset'],_0x5b393e=_0x3df0fe['endContainer'],_0x4c35dd=_0x3df0fe['endOffset'],_0x4e6cb7=_0xa0a518['docView']['domAtPos'](_0xa0a518['state']['selection']['main']['anchor']);return _0x2f10ef(_0x4e6cb7['node'],_0x4e6cb7['offset'],_0x5b393e,_0x4c35dd)&&([_0x133c3d,_0xf659c0,_0x5b393e,_0x4c35dd]=[_0x5b393e,_0x4c35dd,_0x133c3d,_0xf659c0]),{'anchorNode':_0x133c3d,'anchorOffset':_0xf659c0,'focusNode':_0x5b393e,'focusOffset':_0x4c35dd};}class EditContextManager{constructor(_0xf74067){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0xf74067['state']);let _0x10cccf=this['editContext']=new window['EditContext']({'text':_0xf74067['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0xf74067['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0xf74067['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0xf7be81=>{let _0x1b8ee0=_0xf74067['state']['selection']['main'],{anchor:_0x541491,head:_0x1a7ada}=_0x1b8ee0,_0x1c79c4=this['toEditorPos'](_0xf7be81['updateRangeStart']),_0x3227c8=this['toEditorPos'](_0xf7be81['updateRangeEnd']);_0xf74067['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0xf7be81['updateRangeStart'],'editorBase':_0x1c79c4,'drifted':!0x1});let _0x4ec536=_0x3227c8-_0x1c79c4>_0xf7be81['text']['length'];_0x1c79c4==this['from']&&_0x541491<this['from']?_0x1c79c4=_0x541491:_0x3227c8==this['to']&&_0x541491>this['to']&&(_0x3227c8=_0x541491);let _0x364b1f=ty(_0xf74067['state']['sliceDoc'](_0x1c79c4,_0x3227c8),_0xf7be81['text'],(_0x4ec536?_0x1b8ee0['from']:_0x1b8ee0['to'])-_0x1c79c4,_0x4ec536?'end':null);if(!_0x364b1f){let _0x230b0f=EditorSelection['single'](this['toEditorPos'](_0xf7be81['selectionStart']),this['toEditorPos'](_0xf7be81['selectionEnd']));return void(_0x230b0f['main']['eq'](_0x1b8ee0)||_0xf74067['dispatch']({'selection':_0x230b0f,'userEvent':'select'}));}let _0x45a403={'from':_0x364b1f['from']+_0x1c79c4,'to':_0x364b1f['toA']+_0x1c79c4,'insert':_0x5681fe['of'](_0xf7be81['text']['slice'](_0x364b1f['from'],_0x364b1f['toB'])['split']('\x0a'))};if((_0xe49063['mac']||_0xe49063['android'])&&_0x45a403['from']==_0x1a7ada-0x1&&/^\. ?$/['test'](_0xf7be81['text'])&&'off'==_0xf74067['contentDOM']['getAttribute']('autocorrect')&&(_0x45a403={'from':_0x1c79c4,'to':_0x3227c8,'insert':_0x5681fe['of']([_0xf7be81['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x45a403,!_0xf74067['state']['readOnly']){let _0x155b6a=this['to']-this['from']+(_0x45a403['to']-_0x45a403['from']+_0x45a403['insert']['length']);_0x24a738(_0xf74067,_0x45a403,EditorSelection['single'](this['toEditorPos'](_0xf7be81['selectionStart'],_0x155b6a),this['toEditorPos'](_0xf7be81['selectionEnd'],_0x155b6a)));}this['pendingContextChange']&&(this['revertPending'](_0xf74067['state']),this['setSelection'](_0xf74067['state'])),_0x45a403['from']<_0x45a403['to']&&!_0x45a403['insert']['length']&&_0xf74067['inputState']['composing']>=0x0&&!/[\\p{Alphabetic}\\p{Number}_]/['test'](_0x10cccf['text']['slice'](Math['max'](0x0,_0xf7be81['updateRangeStart']-0x1),Math['min'](_0x10cccf['text']['length'],_0xf7be81['updateRangeStart']+0x1)))&&this['handlers']['compositionend'](_0xf7be81);},this['handlers']['characterboundsupdate']=_0x4d5765=>{let _0x4554ec=[],_0x466419=null;for(let _0x598fab=this['toEditorPos'](_0x4d5765['rangeStart']),_0x919871=this['toEditorPos'](_0x4d5765['rangeEnd']);_0x598fab<_0x919871;_0x598fab++){let _0x5661bb=_0xf74067['coordsForChar'](_0x598fab);_0x466419=_0x5661bb&&new DOMRect(_0x5661bb['left'],_0x5661bb['top'],_0x5661bb['right']-_0x5661bb['left'],_0x5661bb['bottom']-_0x5661bb['top'])||_0x466419||new DOMRect(),_0x4554ec['push'](_0x466419);}_0x10cccf['updateCharacterBounds'](_0x4d5765['rangeStart'],_0x4554ec);},this['handlers']['textformatupdate']=_0x50896e=>{let _0x241a28=[];for(let _0x1fd6c8 of _0x50896e['getTextFormats']()){let _0xf435a6=_0x1fd6c8['underlineStyle'],_0x41de2a=_0x1fd6c8['underlineThickness'];if(!/none/i['test'](_0xf435a6)&&!/none/i['test'](_0x41de2a)){let _0x4df08a=this['toEditorPos'](_0x1fd6c8['rangeStart']),_0x5a6f45=this['toEditorPos'](_0x1fd6c8['rangeEnd']);if(_0x4df08a<_0x5a6f45){let _0x2ecbd2='text-decoration:\x20underline\x20'+(/^[a-z]/['test'](_0xf435a6)?_0xf435a6+'\x20':'Dashed'==_0xf435a6?'dashed\x20':'Squiggle'==_0xf435a6?'wavy\x20':'')+(/thin/i['test'](_0x41de2a)?0x1:0x2)+'px';_0x241a28['push'](Decoration['mark']({'attributes':{'style':_0x2ecbd2}})['range'](_0x4df08a,_0x5a6f45));}}}_0xf74067['dispatch']({'effects':_0x26bf3a['of'](Decoration['set'](_0x241a28))});},this['handlers']['compositionstart']=()=>{_0xf74067['inputState']['composing']<0x0&&(_0xf74067['inputState']['composing']=0x0,_0xf74067['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0xf74067['inputState']['composing']=-0x1,_0xf74067['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0x1b3d54}=this['composing'];this['composing']=null,_0x1b3d54&&this['reset'](_0xf74067['state']);}};for(let _0x4037fc in this['handlers'])_0x10cccf['addEventListener'](_0x4037fc,this['handlers'][_0x4037fc]);this['measureReq']={'read':_0x384261=>{this['editContext']['updateControlBounds'](_0x384261['contentDOM']['getBoundingClientRect']());let _0xcd75d4=_0x1f5501(_0x384261['root']);_0xcd75d4&&_0xcd75d4['rangeCount']&&this['editContext']['updateSelectionBounds'](_0xcd75d4['getRangeAt'](0x0)['getBoundingClientRect']());}};}['applyEdits'](_0xbf4afe){let _0x5c6d94=0x0,_0x42cdd6=!0x1,_0x489358=this['pendingContextChange'];return _0xbf4afe['changes']['iterChanges']((_0x3dab73,_0x215704,_0x5afbab,_0xf047f5,_0x47c764)=>{if(_0x42cdd6)return;let _0x5f1e05=_0x47c764['length']-(_0x215704-_0x3dab73);if(_0x489358&&_0x215704>=_0x489358['to']){if(_0x489358['from']==_0x3dab73&&_0x489358['to']==_0x215704&&_0x489358['insert']['eq'](_0x47c764))return _0x489358=this['pendingContextChange']=null,_0x5c6d94+=_0x5f1e05,void(this['to']+=_0x5f1e05);_0x489358=null,this['revertPending'](_0xbf4afe['state']);}if(_0x3dab73+=_0x5c6d94,(_0x215704+=_0x5c6d94)<=this['from'])this['from']+=_0x5f1e05,this['to']+=_0x5f1e05;else{if(_0x3dab73<this['to']){if(_0x3dab73<this['from']||_0x215704>this['to']||this['to']-this['from']+_0x47c764['length']>0x7530)return void(_0x42cdd6=!0x0);this['editContext']['updateText'](this['toContextPos'](_0x3dab73),this['toContextPos'](_0x215704),_0x47c764['toString']()),this['to']+=_0x5f1e05;}}_0x5c6d94+=_0x5f1e05;}),_0x489358&&!_0x42cdd6&&this['revertPending'](_0xbf4afe['state']),!_0x42cdd6;}['update'](_0x243901){let _0xe8e604=this['pendingContextChange'],_0x1e004a=_0x243901['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0x243901['changes']['touchesRange'](_0x1e004a['from'],_0x1e004a['to'])&&_0x243901['transactions']['some'](_0x51b14c=>!_0x51b14c['isUserEvent']('input.type')&&_0x51b14c['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0x243901['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0x243901)&&this['rangeIsValid'](_0x243901['state'])?(_0x243901['docChanged']||_0x243901['selectionSet']||_0xe8e604)&&this['setSelection'](_0x243901['state']):(this['pendingContextChange']=null,this['reset'](_0x243901['state'])),(_0x243901['geometryChanged']||_0x243901['docChanged']||_0x243901['selectionSet'])&&_0x243901['view']['requestMeasure'](this['measureReq']);}['resetRange'](_0x4d0dd2){let {head:_0x470f7e}=_0x4d0dd2['selection']['main'];this['from']=Math['max'](0x0,_0x470f7e-0x2710),this['to']=Math['min'](_0x4d0dd2['doc']['length'],_0x470f7e+0x2710);}['reset'](_0x121a1c){this['resetRange'](_0x121a1c),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x121a1c['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x121a1c);}['revertPending'](_0x475d98){let _0xcdead2=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0xcdead2['from']),this['toContextPos'](_0xcdead2['from']+_0xcdead2['insert']['length']),_0x475d98['doc']['sliceString'](_0xcdead2['from'],_0xcdead2['to']));}['setSelection'](_0x4d118c){let {main:_0x584cee}=_0x4d118c['selection'],_0x1d8bfd=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x584cee['anchor']))),_0x526998=this['toContextPos'](_0x584cee['head']);this['editContext']['selectionStart']==_0x1d8bfd&&this['editContext']['selectionEnd']==_0x526998||this['editContext']['updateSelection'](_0x1d8bfd,_0x526998);}['rangeIsValid'](_0x50037b){let {head:_0x5884ab}=_0x50037b['selection']['main'];return!(this['from']>0x0&&_0x5884ab-this['from']<0x1f4||this['to']<_0x50037b['doc']['length']&&this['to']-_0x5884ab<0x1f4||this['to']-this['from']>0x7530);}['toEditorPos'](_0x440ef9,_0x17d467=this['to']-this['from']){_0x440ef9=Math['min'](_0x440ef9,_0x17d467);let _0x287c1f=this['composing'];return _0x287c1f&&_0x287c1f['drifted']?_0x287c1f['editorBase']+(_0x440ef9-_0x287c1f['contextBase']):_0x440ef9+this['from'];}['toContextPos'](_0x2c5504){let _0x5d7e48=this['composing'];return _0x5d7e48&&_0x5d7e48['drifted']?_0x5d7e48['contextBase']+(_0x2c5504-_0x5d7e48['editorBase']):_0x2c5504-this['from'];}['destroy'](){for(let _0x248312 in this['handlers'])this['editContext']['removeEventListener'](_0x248312,this['handlers'][_0x248312]);}}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(_0x9b0c3={}){var _0x150448;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']),_0x9b0c3['parent']&&_0x9b0c3['parent']['appendChild'](this['dom']);let {dispatch:_0x209316}=_0x9b0c3;this['dispatchTransactions']=_0x9b0c3['dispatchTransactions']||_0x209316&&(_0xfc4d5=>_0xfc4d5['forEach'](_0xf7b96c=>_0x209316(_0xf7b96c,this)))||(_0x56eb18=>this['update'](_0x56eb18)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0x9b0c3['root']||function(_0x2f82d0){for(;_0x2f82d0;){if(_0x2f82d0&&(0x9==_0x2f82d0['nodeType']||0xb==_0x2f82d0['nodeType']&&_0x2f82d0['host']))return _0x2f82d0;_0x2f82d0=_0x2f82d0['assignedSlot']||_0x2f82d0['parentNode'];}return null;}(_0x9b0c3['parent'])||document,this['viewState']=new ViewState(_0x9b0c3['state']||EditorState['create'](_0x9b0c3)),_0x9b0c3['scrollTo']&&_0x9b0c3['scrollTo']['is'](_0x56f0ab)&&(this['viewState']['scrollTarget']=_0x9b0c3['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](_0x4aa6bd)['map'](_0x2b9509=>new PluginInstance(_0x2b9509));for(let _0x831b10 of this['plugins'])_0x831b10['update'](this);this['observer']=new _0x162506(this),this['inputState']=new InputState(this),this['inputState']['ensureHandlers'](this['plugins']),this['docView']=new _0x2eb775(this),this['mountStyles'](),this['updateAttrs'](),this['updateState']=0x0,this['requestMeasure'](),(null===(_0x150448=document['fonts'])||void 0x0===_0x150448?void 0x0:_0x150448['ready'])&&document['fonts']['ready']['then'](()=>this['requestMeasure']());}['dispatch'](..._0x4438af){let _0x2d542a=0x1==_0x4438af['length']&&_0x4438af[0x0]instanceof Transaction?_0x4438af:0x1==_0x4438af['length']&&Array['isArray'](_0x4438af[0x0])?_0x4438af[0x0]:[this['state']['update'](..._0x4438af)];this['dispatchTransactions'](_0x2d542a,this);}['update'](_0x709182){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0x5792e9,_0x1b92c0=!0x1,_0x4da014=!0x1,_0x374458=this['state'];for(let _0x5acb84 of _0x709182){if(_0x5acb84['startState']!=_0x374458)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0x374458=_0x5acb84['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0x374458);let _0x454481=this['hasFocus'],_0x2ff66a=0x0,_0x3290f2=null;_0x709182['some'](_0x50590a=>_0x50590a['annotation'](_0x14011d))?(this['inputState']['notifiedFocused']=_0x454481,_0x2ff66a=0x1):_0x454481!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x454481,_0x3290f2=_0x2b02c7(_0x374458,_0x454481),_0x3290f2||(_0x2ff66a=0x1));let _0x2aaec4=this['observer']['delayedAndroidKey'],_0x505009=null;if(_0x2aaec4?(this['observer']['clearDelayedAndroidKey'](),_0x505009=this['observer']['readChange'](),(_0x505009&&!this['state']['doc']['eq'](_0x374458['doc'])||!this['state']['selection']['eq'](_0x374458['selection']))&&(_0x505009=null)):this['observer']['clear'](),_0x374458['facet'](EditorState['phrases'])!=this['state']['facet'](EditorState['phrases']))return this['setState'](_0x374458);_0x5792e9=ViewUpdate['create'](this,_0x374458,_0x709182),_0x5792e9['flags']|=_0x2ff66a;let _0x486d87=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x5dd3c9 of _0x709182){if(_0x486d87&&(_0x486d87=_0x486d87['map'](_0x5dd3c9['changes'])),_0x5dd3c9['scrollIntoView']){let {main:_0x2612f7}=_0x5dd3c9['state']['selection'];_0x486d87=new ScrollTarget(_0x2612f7['empty']?_0x2612f7:EditorSelection['cursor'](_0x2612f7['head'],_0x2612f7['head']>_0x2612f7['anchor']?-0x1:0x1));}for(let _0x203a04 of _0x5dd3c9['effects'])_0x203a04['is'](_0x56f0ab)&&(_0x486d87=_0x203a04['value']['clip'](this['state']));}this['viewState']['update'](_0x5792e9,_0x486d87),this['bidiCache']=_0x5265d5['update'](this['bidiCache'],_0x5792e9['changes']),_0x5792e9['empty']||(this['updatePlugins'](_0x5792e9),this['inputState']['update'](_0x5792e9)),_0x1b92c0=this['docView']['update'](_0x5792e9),this['state']['facet'](_0x2466b5)!=this['styleModules']&&this['mountStyles'](),_0x4da014=this['updateAttrs'](),this['showAnnouncements'](_0x709182),this['docView']['updateSelection'](_0x1b92c0,_0x709182['some'](_0x695b4d=>_0x695b4d['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0x5792e9['startState']['facet'](_0x1c748b)!=_0x5792e9['state']['facet'](_0x1c748b)&&(this['viewState']['mustMeasureContent']=!0x0),(_0x1b92c0||_0x4da014||_0x486d87||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0x1b92c0&&this['docViewUpdate'](),!_0x5792e9['empty']){for(let _0x1f40d2 of this['state']['facet'](_0x302268))try{_0x1f40d2(_0x5792e9);}catch(_0x777a6f){_0x817679(this['state'],_0x777a6f,'update\x20listener');}}(_0x3290f2||_0x505009)&&Promise['resolve']()['then'](()=>{_0x3290f2&&this['state']==_0x3290f2['startState']&&this['dispatch'](_0x3290f2),_0x505009&&!_0x50721f(this,_0x505009)&&_0x2aaec4['force']&&_0x1af467(this['contentDOM'],_0x2aaec4['key'],_0x2aaec4['keyCode']);});}['setState'](_0x5c1e04){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']=_0x5c1e04);this['updateState']=0x2;let _0x3b2815=this['hasFocus'];try{for(let _0xbf5be2 of this['plugins'])_0xbf5be2['destroy'](this);this['viewState']=new ViewState(_0x5c1e04),this['plugins']=_0x5c1e04['facet'](_0x4aa6bd)['map'](_0x9b8df9=>new PluginInstance(_0x9b8df9)),this['pluginMap']['clear']();for(let _0x3c0d72 of this['plugins'])_0x3c0d72['update'](this);this['docView']['destroy'](),this['docView']=new _0x2eb775(this),this['inputState']['ensureHandlers'](this['plugins']),this['mountStyles'](),this['updateAttrs'](),this['bidiCache']=[];}finally{this['updateState']=0x0;}_0x3b2815&&this['focus'](),this['requestMeasure']();}['updatePlugins'](_0x35874a){let _0x35dd91=_0x35874a['startState']['facet'](_0x4aa6bd),_0x28e94f=_0x35874a['state']['facet'](_0x4aa6bd);if(_0x35dd91!=_0x28e94f){let _0x21be7d=[];for(let _0xbad452 of _0x28e94f){let _0x5ddafb=_0x35dd91['indexOf'](_0xbad452);if(_0x5ddafb<0x0)_0x21be7d['push'](new PluginInstance(_0xbad452));else{let _0x5d657e=this['plugins'][_0x5ddafb];_0x5d657e['mustUpdate']=_0x35874a,_0x21be7d['push'](_0x5d657e);}}for(let _0x38d492 of this['plugins'])_0x38d492['mustUpdate']!=_0x35874a&&_0x38d492['destroy'](this);this['plugins']=_0x21be7d,this['pluginMap']['clear']();}else{for(let _0x7e0a61 of this['plugins'])_0x7e0a61['mustUpdate']=_0x35874a;}for(let _0x4bdf65=0x0;_0x4bdf65<this['plugins']['length'];_0x4bdf65++)this['plugins'][_0x4bdf65]['update'](this);_0x35dd91!=_0x28e94f&&this['inputState']['ensureHandlers'](this['plugins']);}['docViewUpdate'](){for(let _0x2276b0 of this['plugins']){let _0xf4c995=_0x2276b0['value'];if(_0xf4c995&&_0xf4c995['docViewUpdate'])try{_0xf4c995['docViewUpdate'](this);}catch(_0x1677a7){_0x817679(this['state'],_0x1677a7,'doc\x20view\x20update\x20listener');}}}['measure'](_0x4d39ae=!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,_0x4d39ae&&this['observer']['forceFlush']();let _0x2be597=null,_0x243fc9=this['scrollDOM'],_0x4e6824=_0x243fc9['scrollTop']*this['scaleY'],{scrollAnchorPos:_0x6d24d8,scrollAnchorHeight:_0x4a05b5}=this['viewState'];Math['abs'](_0x4e6824-this['viewState']['scrollTop'])>0x1&&(_0x4a05b5=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0x4a9c7a=0x0;;_0x4a9c7a++){if(_0x4a05b5<0x0){if(_0x2c5167(_0x243fc9))_0x6d24d8=-0x1,_0x4a05b5=this['viewState']['heightMap']['height'];else{let _0x3088c1=this['viewState']['scrollAnchorAt'](_0x4e6824);_0x6d24d8=_0x3088c1['from'],_0x4a05b5=_0x3088c1['top'];}}this['updateState']=0x1;let _0x4f7d5b=this['viewState']['measure'](this);if(!_0x4f7d5b&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0x4a9c7a>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0x5662c4=[];0x4&_0x4f7d5b||([this['measureRequests'],_0x5662c4]=[_0x5662c4,this['measureRequests']]);let _0x4ea52a=_0x5662c4['map'](_0x56ac27=>{try{return _0x56ac27['read'](this);}catch(_0x1a22d1){return _0x817679(this['state'],_0x1a22d1),_0x4d2d81;}}),_0x516320=ViewUpdate['create'](this,this['state'],[]),_0x6944af=!0x1;_0x516320['flags']|=_0x4f7d5b,_0x2be597?_0x2be597['flags']|=_0x4f7d5b:_0x2be597=_0x516320,this['updateState']=0x2,_0x516320['empty']||(this['updatePlugins'](_0x516320),this['inputState']['update'](_0x516320),this['updateAttrs'](),_0x6944af=this['docView']['update'](_0x516320),_0x6944af&&this['docViewUpdate']());for(let _0x3dc4fe=0x0;_0x3dc4fe<_0x5662c4['length'];_0x3dc4fe++)if(_0x4ea52a[_0x3dc4fe]!=_0x4d2d81)try{let _0x179d8e=_0x5662c4[_0x3dc4fe];_0x179d8e['write']&&_0x179d8e['write'](_0x4ea52a[_0x3dc4fe],this);}catch(_0x8db86e){_0x817679(this['state'],_0x8db86e);}if(_0x6944af&&this['docView']['updateSelection'](!0x0),!_0x516320['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0x4a05b5=-0x1;continue;}{let _0x609a9d=(_0x6d24d8<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0x6d24d8)['top'])-_0x4a05b5;if(_0x609a9d>0x1||_0x609a9d<-0x1){_0x4e6824+=_0x609a9d,_0x243fc9['scrollTop']=_0x4e6824/this['scaleY'],_0x4a05b5=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0x2be597&&!_0x2be597['empty']){for(let _0x1cc43e of this['state']['facet'](_0x302268))_0x1cc43e(_0x2be597);}}get['themeClasses'](){return _0x51cacd+'\x20'+(this['state']['facet'](_0x199bef)?_0xde5e41:_0x468461)+'\x20'+this['state']['facet'](_0x1c748b);}['updateAttrs'](){let _0x299135=tv(this,_0x1c48df,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0x9c29fe={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet'](_0x19cf30)?'true':'false','class':'cm-content','style':_0xe49063['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0x9c29fe['aria-readonly']='true'),tv(this,_0x2cb0f9,_0x9c29fe);let _0x3c8847=this['observer']['ignore'](()=>{let _0x2baaf5=_0x211613(this['contentDOM'],this['contentAttrs'],_0x9c29fe),_0x28dd3f=_0x211613(this['dom'],this['editorAttrs'],_0x299135);return _0x2baaf5||_0x28dd3f;});return this['editorAttrs']=_0x299135,this['contentAttrs']=_0x9c29fe,_0x3c8847;}['showAnnouncements'](_0x245e90){let _0x4fca75=!0x0;for(let _0xa9ea9a of _0x245e90)for(let _0x4c2b4b of _0xa9ea9a['effects'])_0x4c2b4b['is'](EditorView['announce'])&&(_0x4fca75&&(this['announceDOM']['textContent']=''),_0x4fca75=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x4c2b4b['value']);}['mountStyles'](){this['styleModules']=this['state']['facet'](_0x2466b5);let _0x338a5a=this['state']['facet'](EditorView['cspNonce']);StyleModule['mount'](this['root'],this['styleModules']['concat'](_0x51180c)['reverse'](),_0x338a5a?{'nonce':_0x338a5a}: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'](_0x55f03f){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0x55f03f){if(this['measureRequests']['indexOf'](_0x55f03f)>-0x1)return;if(null!=_0x55f03f['key']){for(let _0x46dba1=0x0;_0x46dba1<this['measureRequests']['length'];_0x46dba1++)if(this['measureRequests'][_0x46dba1]['key']===_0x55f03f['key'])return void(this['measureRequests'][_0x46dba1]=_0x55f03f);}this['measureRequests']['push'](_0x55f03f);}}['plugin'](_0x39cf47){let _0x3864e1=this['pluginMap']['get'](_0x39cf47);return(void 0x0===_0x3864e1||_0x3864e1&&_0x3864e1['plugin']!=_0x39cf47)&&this['pluginMap']['set'](_0x39cf47,_0x3864e1=this['plugins']['find'](_0x59c2e1=>_0x59c2e1['plugin']==_0x39cf47)||null),_0x3864e1&&_0x3864e1['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'](_0x53569f){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0x53569f);}['lineBlockAtHeight'](_0x119686){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0x119686);}get['viewportLineBlocks'](){return this['viewState']['viewportLines'];}['lineBlockAt'](_0x254d7b){return this['viewState']['lineBlockAt'](_0x254d7b);}get['contentHeight'](){return this['viewState']['contentHeight'];}['moveByChar'](_0x360729,_0x5995a4,_0x54c2f0){return _0x3f26ca(this,_0x360729,_0x32072b(this,_0x360729,_0x5995a4,_0x54c2f0));}['moveByGroup'](_0x2f8f16,_0x5ec318){return _0x3f26ca(this,_0x2f8f16,_0x32072b(this,_0x2f8f16,_0x5ec318,_0x5016aa=>function(_0xec8251,_0x3b9f79,_0x547fe0){let _0x19c6f0=_0xec8251['state']['charCategorizer'](_0x3b9f79),_0x33aaa5=_0x19c6f0(_0x547fe0);return _0x3b7085=>{let _0x1127fd=_0x19c6f0(_0x3b7085);return _0x33aaa5==_0x361379['Space']&&(_0x33aaa5=_0x1127fd),_0x33aaa5==_0x1127fd;};}(this,_0x2f8f16['head'],_0x5016aa)));}['visualLineSide'](_0x5bb097,_0x4f25c8){let _0x17eb47=this['bidiSpans'](_0x5bb097),_0x5ef81e=this['textDirectionAt'](_0x5bb097['from']),_0xd1eb27=_0x17eb47[_0x4f25c8?_0x17eb47['length']-0x1:0x0];return EditorSelection['cursor'](_0xd1eb27['side'](_0x4f25c8,_0x5ef81e)+_0x5bb097['from'],_0xd1eb27['forward'](!_0x4f25c8,_0x5ef81e)?0x1:-0x1);}['moveToLineBoundary'](_0x1af7fd,_0x433c27,_0x409417=!0x0){return function(_0x1343fa,_0x41ec14,_0x47c96b,_0x206090){let _0x87ed27=_0x8d1c51(_0x1343fa,_0x41ec14['head'],_0x41ec14['assoc']||-0x1),_0x43baeb=_0x206090&&_0x87ed27['type']==_0x5cf05d['Text']&&(_0x1343fa['lineWrapping']||_0x87ed27['widgetLineBreaks'])?_0x1343fa['coordsAtPos'](_0x41ec14['assoc']<0x0&&_0x41ec14['head']>_0x87ed27['from']?_0x41ec14['head']-0x1:_0x41ec14['head']):null;if(_0x43baeb){let _0x26a377=_0x1343fa['dom']['getBoundingClientRect'](),_0x4868e9=_0x1343fa['textDirectionAt'](_0x87ed27['from']),_0x691ab8=_0x1343fa['posAtCoords']({'x':_0x47c96b==(_0x4868e9==_0x590046['LTR'])?_0x26a377['right']-0x1:_0x26a377['left']+0x1,'y':(_0x43baeb['top']+_0x43baeb['bottom'])/0x2});if(null!=_0x691ab8)return EditorSelection['cursor'](_0x691ab8,_0x47c96b?-0x1:0x1);}return EditorSelection['cursor'](_0x47c96b?_0x87ed27['to']:_0x87ed27['from'],_0x47c96b?-0x1:0x1);}(this,_0x1af7fd,_0x433c27,_0x409417);}['moveVertically'](_0x3cf942,_0x3e6a9b,_0x4392af){return _0x3f26ca(this,_0x3cf942,function(_0x285074,_0x1e16c4,_0x4415b8,_0x4b1046){let _0x210918=_0x1e16c4['head'],_0x57c6ca=_0x4415b8?0x1:-0x1;if(_0x210918==(_0x4415b8?_0x285074['state']['doc']['length']:0x0))return EditorSelection['cursor'](_0x210918,_0x1e16c4['assoc']);let _0x565618,_0x257f03=_0x1e16c4['goalColumn'],_0x27174f=_0x285074['contentDOM']['getBoundingClientRect'](),_0x249523=_0x285074['coordsAtPos'](_0x210918,_0x1e16c4['assoc']||-0x1),_0x1d9c4e=_0x285074['documentTop'];if(_0x249523)null==_0x257f03&&(_0x257f03=_0x249523['left']-_0x27174f['left']),_0x565618=_0x57c6ca<0x0?_0x249523['top']:_0x249523['bottom'];else{let _0x36c619=_0x285074['viewState']['lineBlockAt'](_0x210918);null==_0x257f03&&(_0x257f03=Math['min'](_0x27174f['right']-_0x27174f['left'],_0x285074['defaultCharacterWidth']*(_0x210918-_0x36c619['from']))),_0x565618=(_0x57c6ca<0x0?_0x36c619['top']:_0x36c619['bottom'])+_0x1d9c4e;}let _0xb8f50d=_0x27174f['left']+_0x257f03,_0x17558b=null!=_0x4b1046?_0x4b1046:_0x285074['viewState']['heightOracle']['textHeight']>>0x1;for(let _0x3a2e39=0x0;;_0x3a2e39+=0xa){let _0x387ce1=_0x565618+(_0x17558b+_0x3a2e39)*_0x57c6ca,_0x1f2ed0=_0x3ea3ed(_0x285074,{'x':_0xb8f50d,'y':_0x387ce1},!0x1,_0x57c6ca);if(_0x387ce1<_0x27174f['top']||_0x387ce1>_0x27174f['bottom']||(_0x57c6ca<0x0?_0x1f2ed0<_0x210918:_0x1f2ed0>_0x210918)){let _0x1efcf7=_0x285074['docView']['coordsForChar'](_0x1f2ed0),_0x3d1bf1=!_0x1efcf7||_0x387ce1<_0x1efcf7['top']?-0x1:0x1;return EditorSelection['cursor'](_0x1f2ed0,_0x3d1bf1,void 0x0,_0x257f03);}}}(this,_0x3cf942,_0x3e6a9b,_0x4392af));}['domAtPos'](_0x44db07){return this['docView']['domAtPos'](_0x44db07);}['posAtDOM'](_0x95e389,_0x7c246e=0x0){return this['docView']['posFromDOM'](_0x95e389,_0x7c246e);}['posAtCoords'](_0x2e2439,_0x34e4c1=!0x0){return this['readMeasured'](),_0x3ea3ed(this,_0x2e2439,_0x34e4c1);}['coordsAtPos'](_0x75d473,_0x53d7c2=0x1){this['readMeasured']();let _0x33e465=this['docView']['coordsAt'](_0x75d473,_0x53d7c2);if(!_0x33e465||_0x33e465['left']==_0x33e465['right'])return _0x33e465;let _0x3f2412=this['state']['doc']['lineAt'](_0x75d473),_0xa13c83=this['bidiSpans'](_0x3f2412);return _0x4d6e81(_0x33e465,_0xa13c83[_0x41f5fe['find'](_0xa13c83,_0x75d473-_0x3f2412['from'],-0x1,_0x53d7c2)]['dir']==_0x590046['LTR']==_0x53d7c2>0x0);}['coordsForChar'](_0x23b284){return this['readMeasured'](),this['docView']['coordsForChar'](_0x23b284);}get['defaultCharacterWidth'](){return this['viewState']['heightOracle']['charWidth'];}get['defaultLineHeight'](){return this['viewState']['heightOracle']['lineHeight'];}get['textDirection'](){return this['viewState']['defaultTextDirection'];}['textDirectionAt'](_0x5bc389){return!this['state']['facet'](_0x4dd936)||_0x5bc389<this['viewport']['from']||_0x5bc389>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0x5bc389));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x3a8f43){if(_0x3a8f43['length']>_0x2fcb34)return tb(_0x3a8f43['length']);let _0x288fd1,_0x502e97=this['textDirectionAt'](_0x3a8f43['from']);for(let _0x47c75d of this['bidiCache'])if(_0x47c75d['from']==_0x3a8f43['from']&&_0x47c75d['dir']==_0x502e97&&(_0x47c75d['fresh']||_0x27f322(_0x47c75d['isolates'],_0x288fd1=_0x1e3ea8(this,_0x3a8f43))))return _0x47c75d['order'];_0x288fd1||(_0x288fd1=_0x1e3ea8(this,_0x3a8f43));let _0x41203e=function(_0x26de3c,_0x5c34b0,_0x3ac1f1){if(!_0x26de3c)return[new _0x41f5fe(0x0,0x0,_0x5c34b0==_0x35f665?0x1:0x0)];if(_0x5c34b0==_0x29fc42&&!_0x3ac1f1['length']&&!_0x4462e7['test'](_0x26de3c))return tb(_0x26de3c['length']);if(_0x3ac1f1['length']){for(;_0x26de3c['length']>_0x5b0242['length'];)_0x5b0242[_0x5b0242['length']]=0x100;}let _0x16ef1d=[],_0x2e07ae=_0x5c34b0==_0x29fc42?0x0:0x1;return _0x12b1d0(_0x26de3c,_0x2e07ae,_0x2e07ae,_0x3ac1f1,0x0,_0x26de3c['length'],_0x16ef1d),_0x16ef1d;}(_0x3a8f43['text'],_0x502e97,_0x288fd1);return this['bidiCache']['push'](new _0x5265d5(_0x3a8f43['from'],_0x3a8f43['to'],_0x502e97,_0x288fd1,!0x0,_0x41203e)),_0x41203e;}get['hasFocus'](){var _0x2e14c4;return(this['dom']['ownerDocument']['hasFocus']()||_0xe49063['safari']&&(null===(_0x2e14c4=this['inputState'])||void 0x0===_0x2e14c4?void 0x0:_0x2e14c4['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{_0x3483ce(this['contentDOM']),this['docView']['updateSelection']();});}['setRoot'](_0x1912e2){this['_root']!=_0x1912e2&&(this['_root']=_0x1912e2,this['observer']['setWindow']((0x9==_0x1912e2['nodeType']?_0x1912e2:_0x1912e2['ownerDocument'])['defaultView']||window),this['mountStyles']());}['destroy'](){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x1724d3 of this['plugins'])_0x1724d3['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'](_0x2d7f9f,_0x224d10={}){return _0x56f0ab['of'](new ScrollTarget('number'==typeof _0x2d7f9f?EditorSelection['cursor'](_0x2d7f9f):_0x2d7f9f,_0x224d10['y'],_0x224d10['x'],_0x224d10['yMargin'],_0x224d10['xMargin']));}['scrollSnapshot'](){let {scrollTop:_0x1dc9bc,scrollLeft:_0x453030}=this['scrollDOM'],_0x2ff34f=this['viewState']['scrollAnchorAt'](_0x1dc9bc);return _0x56f0ab['of'](new ScrollTarget(EditorSelection['cursor'](_0x2ff34f['from']),'start','start',_0x2ff34f['top']-_0x1dc9bc,_0x453030,!0x0));}['setTabFocusMode'](_0x304db1){null==_0x304db1?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0x304db1?this['inputState']['tabFocusMode']=_0x304db1?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0x304db1);}static['domEventHandlers'](_0x1729dd){return _0x470e1f['define'](()=>({}),{'eventHandlers':_0x1729dd});}static['domEventObservers'](_0x482292){return _0x470e1f['define'](()=>({}),{'eventObservers':_0x482292});}static['theme'](_0x482a0c,_0x34d6a7){let _0xe45068=StyleModule['newName'](),_0x71295b=[_0x1c748b['of'](_0xe45068),_0x2466b5['of'](_0x5b6506('.'+_0xe45068,_0x482a0c))];return _0x34d6a7&&_0x34d6a7['dark']&&_0x71295b['push'](_0x199bef['of'](!0x0)),_0x71295b;}static['baseTheme'](_0x49c8be){return _0x901a22['lowest'](_0x2466b5['of'](_0x5b6506('.'+_0x51cacd,_0x49c8be,_0xf72393)));}static['findFromDOM'](_0x2c813a){var _0x131bc6;let _0x28da7f=_0x2c813a['querySelector']('.cm-content'),_0x25ebd7=_0x28da7f&&ContentView['get'](_0x28da7f)||ContentView['get'](_0x2c813a);return(null===(_0x131bc6=null==_0x25ebd7?void 0x0:_0x25ebd7['rootView'])||void 0x0===_0x131bc6?void 0x0:_0x131bc6['view'])||null;}}EditorView['styleModule']=_0x2466b5,EditorView['inputHandler']=_0x5cf6d6,EditorView['clipboardInputFilter']=_0x1311bc,EditorView['clipboardOutputFilter']=_0x18cc28,EditorView['scrollHandler']=_0x567683,EditorView['focusChangeEffect']=_0x134a50,EditorView['perLineTextDirection']=_0x4dd936,EditorView['exceptionSink']=_0x5a479b,EditorView['updateListener']=_0x302268,EditorView['editable']=_0x19cf30,EditorView['mouseSelectionStyle']=_0xd7632c,EditorView['dragMovesSelection']=_0x82b64,EditorView['clickAddsSelectionRange']=_0x287b9b,EditorView['decorations']=_0x1cba45,EditorView['outerDecorations']=_0x3e0984,EditorView['atomicRanges']=_0x928139,EditorView['bidiIsolatedRanges']=_0x18e39c,EditorView['scrollMargins']=_0x4498f7,EditorView['darkTheme']=_0x199bef,EditorView['cspNonce']=Facet['define']({'combine':_0x46282c=>_0x46282c['length']?_0x46282c[0x0]:''}),EditorView['contentAttributes']=_0x2cb0f9,EditorView['editorAttributes']=_0x1c48df,EditorView['lineWrapping']=EditorView['contentAttributes']['of']({'class':'cm-lineWrapping'}),EditorView['announce']=StateEffect['define']();const _0x2fcb34=0x1000,_0x4d2d81={};class _0x5265d5{constructor(_0x248302,_0xe56393,_0x15097b,_0x1d753c,_0x467d68,_0x47b266){this['from']=_0x248302,this['to']=_0xe56393,this['dir']=_0x15097b,this['isolates']=_0x1d753c,this['fresh']=_0x467d68,this['order']=_0x47b266;}static['update'](_0x4d4eb1,_0x918fea){if(_0x918fea['empty']&&!_0x4d4eb1['some'](_0x17a0e8=>_0x17a0e8['fresh']))return _0x4d4eb1;let _0x1d5422=[],_0x17df77=_0x4d4eb1['length']?_0x4d4eb1[_0x4d4eb1['length']-0x1]['dir']:_0x590046['LTR'];for(let _0xb2c882=Math['max'](0x0,_0x4d4eb1['length']-0xa);_0xb2c882<_0x4d4eb1['length'];_0xb2c882++){let _0x5480d6=_0x4d4eb1[_0xb2c882];_0x5480d6['dir']!=_0x17df77||_0x918fea['touchesRange'](_0x5480d6['from'],_0x5480d6['to'])||_0x1d5422['push'](new _0x5265d5(_0x918fea['mapPos'](_0x5480d6['from'],0x1),_0x918fea['mapPos'](_0x5480d6['to'],-0x1),_0x5480d6['dir'],_0x5480d6['isolates'],!0x1,_0x5480d6['order']));}return _0x1d5422;}}function tv(_0x2a31f3,_0x3757dc,_0x5c3c8c){for(let _0x57758c=_0x2a31f3['state']['facet'](_0x3757dc),_0x21c9c7=_0x57758c['length']-0x1;_0x21c9c7>=0x0;_0x21c9c7--){let _0x18e5f3=_0x57758c[_0x21c9c7],_0x59db7b='function'==typeof _0x18e5f3?_0x18e5f3(_0x2a31f3):_0x18e5f3;_0x59db7b&&_0x758b91(_0x59db7b,_0x5c3c8c);}return _0x5c3c8c;}const _0x233743=_0xe49063['mac']?'mac':_0xe49063['windows']?'win':_0xe49063['linux']?'linux':'key';function _0x34c54a(_0x10626c,_0x1ade8c,_0xf6b43a){return _0x1ade8c['altKey']&&(_0x10626c='Alt-'+_0x10626c),_0x1ade8c['ctrlKey']&&(_0x10626c='Ctrl-'+_0x10626c),_0x1ade8c['metaKey']&&(_0x10626c='Meta-'+_0x10626c),!0x1!==_0xf6b43a&&_0x1ade8c['shiftKey']&&(_0x10626c='Shift-'+_0x10626c),_0x10626c;}const _0x702723=_0x901a22['default'](EditorView['domEventHandlers']({'keydown':(_0x38d90f,_0x42cb6b)=>function(_0x4ae911,_0x3cdfd9,_0x28c424,_0xc0232a){_0x53c214=_0x3cdfd9;let _0x4de47f=function(_0x1a84eb){var _0x4d05cb=!(_0x9d16a8&&_0x1a84eb['metaKey']&&_0x1a84eb['shiftKey']&&!_0x1a84eb['ctrlKey']&&!_0x1a84eb['altKey']||_0x1f9679&&_0x1a84eb['shiftKey']&&_0x1a84eb['key']&&0x1==_0x1a84eb['key']['length']||'Unidentified'==_0x1a84eb['key'])&&_0x1a84eb['key']||(_0x1a84eb['shiftKey']?_0x2781e9:_0x1df4e9)[_0x1a84eb['keyCode']]||_0x1a84eb['key']||'Unidentified';return'Esc'==_0x4d05cb&&(_0x4d05cb='Escape'),'Del'==_0x4d05cb&&(_0x4d05cb='Delete'),'Left'==_0x4d05cb&&(_0x4d05cb='ArrowLeft'),'Up'==_0x4d05cb&&(_0x4d05cb='ArrowUp'),'Right'==_0x4d05cb&&(_0x4d05cb='ArrowRight'),'Down'==_0x4d05cb&&(_0x4d05cb='ArrowDown'),_0x4d05cb;}(_0x3cdfd9),_0x3d784b=_0x444e07(_0x4de47f,0x0),_0x590070=_0x4a4b3a(_0x3d784b)==_0x4de47f['length']&&'\x20'!=_0x4de47f,_0x188a1f='',_0x43b130=!0x1,_0xd06a83=!0x1,_0x5de932=!0x1;_0x21634c&&_0x21634c['view']==_0x28c424&&_0x21634c['scope']==_0xc0232a&&(_0x188a1f=_0x21634c['prefix']+'\x20',_0x15bc23['indexOf'](_0x3cdfd9['keyCode'])<0x0&&(_0xd06a83=!0x0,_0x21634c=null));let _0x35bee4,_0x44fc89,_0x46c29c=new Set(),_0x377f4d=_0x13956a=>{if(_0x13956a){for(let _0x1f7c7a of _0x13956a['run'])if(!_0x46c29c['has'](_0x1f7c7a)&&(_0x46c29c['add'](_0x1f7c7a),_0x1f7c7a(_0x28c424)))return _0x13956a['stopPropagation']&&(_0x5de932=!0x0),!0x0;_0x13956a['preventDefault']&&(_0x13956a['stopPropagation']&&(_0x5de932=!0x0),_0xd06a83=!0x0);}return!0x1;},_0x172653=_0x4ae911[_0xc0232a];return _0x172653&&(_0x377f4d(_0x172653[_0x188a1f+_0x34c54a(_0x4de47f,_0x3cdfd9,!_0x590070)])?_0x43b130=!0x0:!_0x590070||!(_0x3cdfd9['altKey']||_0x3cdfd9['metaKey']||_0x3cdfd9['ctrlKey'])||_0xe49063['windows']&&_0x3cdfd9['ctrlKey']&&_0x3cdfd9['altKey']||_0xe49063['mac']&&_0x3cdfd9['altKey']&&!_0x3cdfd9['ctrlKey']&&!_0x3cdfd9['metaKey']||!(_0x35bee4=_0x1df4e9[_0x3cdfd9['keyCode']])||_0x35bee4==_0x4de47f?_0x590070&&_0x3cdfd9['shiftKey']&&_0x377f4d(_0x172653[_0x188a1f+_0x34c54a(_0x4de47f,_0x3cdfd9,!0x0)])&&(_0x43b130=!0x0):(_0x377f4d(_0x172653[_0x188a1f+_0x34c54a(_0x35bee4,_0x3cdfd9,!0x0)])||_0x3cdfd9['shiftKey']&&(_0x44fc89=_0x2781e9[_0x3cdfd9['keyCode']])!=_0x4de47f&&_0x44fc89!=_0x35bee4&&_0x377f4d(_0x172653[_0x188a1f+_0x34c54a(_0x44fc89,_0x3cdfd9,!0x1)]))&&(_0x43b130=!0x0),!_0x43b130&&_0x377f4d(_0x172653['_any'])&&(_0x43b130=!0x0)),_0xd06a83&&(_0x43b130=!0x0),_0x43b130&&_0x5de932&&_0x3cdfd9['stopPropagation'](),(_0x53c214=null,_0x43b130);}(function(_0x436869){let _0x13e2c2=_0x436869['facet'](_0x31cbc0),_0x2d4cd3=_0x2e8224['get'](_0x13e2c2);return _0x2d4cd3||_0x2e8224['set'](_0x13e2c2,_0x2d4cd3=function(_0x2967f3,_0x3b39a2=_0x233743){let _0x3eb55e=Object['create'](null),_0x41fc0a=Object['create'](null),_0x4a449e=(_0x51037f,_0x5d0c8c)=>{let _0x13fd7d=_0x41fc0a[_0x51037f];if(null==_0x13fd7d)_0x41fc0a[_0x51037f]=_0x5d0c8c;else{if(_0x13fd7d!=_0x5d0c8c)throw new Error('Key\x20binding\x20'+_0x51037f+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x373767=(_0xbf562e,_0x512568,_0x1b0bb5,_0x364768,_0x79be24)=>{var _0x2f8a22,_0x18aa5e;let _0x381050=_0x3eb55e[_0xbf562e]||(_0x3eb55e[_0xbf562e]=Object['create'](null)),_0x124cc0=_0x512568['split'](/ (?!$)/)['map'](_0x4a16f5=>function(_0x2896ca,_0x304168){const _0xe4cd70=_0x2896ca['split'](/-(?!$)/);let _0x3f2b4b,_0x21e79f,_0x31f9af,_0x416a79,_0xc43ecd=_0xe4cd70[_0xe4cd70['length']-0x1];'Space'==_0xc43ecd&&(_0xc43ecd='\x20');for(let _0x361942=0x0;_0x361942<_0xe4cd70['length']-0x1;++_0x361942){const _0x596465=_0xe4cd70[_0x361942];if(/^(cmd|meta|m)$/i['test'](_0x596465))_0x416a79=!0x0;else{if(/^a(lt)?$/i['test'](_0x596465))_0x3f2b4b=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x596465))_0x21e79f=!0x0;else{if(/^s(hift)?$/i['test'](_0x596465))_0x31f9af=!0x0;else{if(!/^mod$/i['test'](_0x596465))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x596465);'mac'==_0x304168?_0x416a79=!0x0:_0x21e79f=!0x0;}}}}}return _0x3f2b4b&&(_0xc43ecd='Alt-'+_0xc43ecd),_0x21e79f&&(_0xc43ecd='Ctrl-'+_0xc43ecd),_0x416a79&&(_0xc43ecd='Meta-'+_0xc43ecd),_0x31f9af&&(_0xc43ecd='Shift-'+_0xc43ecd),_0xc43ecd;}(_0x4a16f5,_0x3b39a2));for(let _0xa8a364=0x1;_0xa8a364<_0x124cc0['length'];_0xa8a364++){let _0x1183e2=_0x124cc0['slice'](0x0,_0xa8a364)['join']('\x20');_0x4a449e(_0x1183e2,!0x0),_0x381050[_0x1183e2]||(_0x381050[_0x1183e2]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x1633bc=>{let _0x317132=_0x21634c={'view':_0x1633bc,'prefix':_0x1183e2,'scope':_0xbf562e};return setTimeout(()=>{_0x21634c==_0x317132&&(_0x21634c=null);},_0x5f3605),!0x0;}]});}let _0x17f9c5=_0x124cc0['join']('\x20');_0x4a449e(_0x17f9c5,!0x1);let _0x4fd6d1=_0x381050[_0x17f9c5]||(_0x381050[_0x17f9c5]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x18aa5e=null===(_0x2f8a22=_0x381050['_any'])||void 0x0===_0x2f8a22?void 0x0:_0x2f8a22['run'])||void 0x0===_0x18aa5e?void 0x0:_0x18aa5e['slice']())||[]});_0x1b0bb5&&_0x4fd6d1['run']['push'](_0x1b0bb5),_0x364768&&(_0x4fd6d1['preventDefault']=!0x0),_0x79be24&&(_0x4fd6d1['stopPropagation']=!0x0);};for(let _0x4c2919 of _0x2967f3){let _0x4b3f7f=_0x4c2919['scope']?_0x4c2919['scope']['split']('\x20'):['editor'];if(_0x4c2919['any'])for(let _0x51d7f9 of _0x4b3f7f){let _0x218ec1=_0x3eb55e[_0x51d7f9]||(_0x3eb55e[_0x51d7f9]=Object['create'](null));_0x218ec1['_any']||(_0x218ec1['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0x3e5d17}=_0x4c2919;for(let _0x4b213a in _0x218ec1)_0x218ec1[_0x4b213a]['run']['push'](_0x296d11=>_0x3e5d17(_0x296d11,_0x53c214));}let _0x5efbfe=_0x4c2919[_0x3b39a2]||_0x4c2919['key'];if(_0x5efbfe){for(let _0x22e9fe of _0x4b3f7f)_0x373767(_0x22e9fe,_0x5efbfe,_0x4c2919['run'],_0x4c2919['preventDefault'],_0x4c2919['stopPropagation']),_0x4c2919['shift']&&_0x373767(_0x22e9fe,'Shift-'+_0x5efbfe,_0x4c2919['shift'],_0x4c2919['preventDefault'],_0x4c2919['stopPropagation']);}}return _0x3eb55e;}(_0x13e2c2['reduce']((_0x480b56,_0x5cfdba)=>_0x480b56['concat'](_0x5cfdba),[]))),_0x2d4cd3;}(_0x42cb6b['state']),_0x38d90f,_0x42cb6b,'editor')})),_0x31cbc0=Facet['define']({'enables':_0x702723}),_0x2e8224=new WeakMap();let _0x21634c=null;const _0x5f3605=0xfa0;let _0x53c214=null;class RectangleMarker{constructor(_0x4d5077,_0x126f72,_0x1cd73d,_0x5bd11b,_0x4081ee){this['className']=_0x4d5077,this['left']=_0x126f72,this['top']=_0x1cd73d,this['width']=_0x5bd11b,this['height']=_0x4081ee;}['draw'](){let _0x34823b=document['createElement']('div');return _0x34823b['className']=this['className'],this['adjust'](_0x34823b),_0x34823b;}['update'](_0x3ca350,_0x5a962a){return _0x5a962a['className']==this['className']&&(this['adjust'](_0x3ca350),!0x0);}['adjust'](_0x4ea36b){_0x4ea36b['style']['left']=this['left']+'px',_0x4ea36b['style']['top']=this['top']+'px',null!=this['width']&&(_0x4ea36b['style']['width']=this['width']+'px'),_0x4ea36b['style']['height']=this['height']+'px';}['eq'](_0x537441){return this['left']==_0x537441['left']&&this['top']==_0x537441['top']&&this['width']==_0x537441['width']&&this['height']==_0x537441['height']&&this['className']==_0x537441['className'];}static['forRange'](_0x3140b9,_0x231a8a,_0x470c6a){if(_0x470c6a['empty']){let _0x1cee0e=_0x3140b9['coordsAtPos'](_0x470c6a['head'],_0x470c6a['assoc']||0x1);if(!_0x1cee0e)return[];let _0x4c856d=_0x5575a8(_0x3140b9);return[new RectangleMarker(_0x231a8a,_0x1cee0e['left']-_0x4c856d['left'],_0x1cee0e['top']-_0x4c856d['top'],null,_0x1cee0e['bottom']-_0x1cee0e['top'])];}return function(_0x265c43,_0x27dfbc,_0x57e52b){if(_0x57e52b['to']<=_0x265c43['viewport']['from']||_0x57e52b['from']>=_0x265c43['viewport']['to'])return[];let _0x388c2f=Math['max'](_0x57e52b['from'],_0x265c43['viewport']['from']),_0x21d17a=Math['min'](_0x57e52b['to'],_0x265c43['viewport']['to']),_0x4e835f=_0x265c43['textDirection']==_0x590046['LTR'],_0x2edf18=_0x265c43['contentDOM'],_0x3c9aeb=_0x2edf18['getBoundingClientRect'](),_0x49d726=_0x5575a8(_0x265c43),_0x21bd46=_0x2edf18['querySelector']('.cm-line'),_0x2a4b20=_0x21bd46&&window['getComputedStyle'](_0x21bd46),_0x58e87a=_0x3c9aeb['left']+(_0x2a4b20?parseInt(_0x2a4b20['paddingLeft'])+Math['min'](0x0,parseInt(_0x2a4b20['textIndent'])):0x0),_0x3ab748=_0x3c9aeb['right']-(_0x2a4b20?parseInt(_0x2a4b20['paddingRight']):0x0),_0x1c9fed=_0x8d1c51(_0x265c43,_0x388c2f,0x1),_0x5e6557=_0x8d1c51(_0x265c43,_0x21d17a,-0x1),_0x212f49=_0x1c9fed['type']==_0x5cf05d['Text']?_0x1c9fed:null,_0x136187=_0x5e6557['type']==_0x5cf05d['Text']?_0x5e6557:null;_0x212f49&&(_0x265c43['lineWrapping']||_0x1c9fed['widgetLineBreaks'])&&(_0x212f49=_0x2d18cc(_0x265c43,_0x388c2f,0x1,_0x212f49)),_0x136187&&(_0x265c43['lineWrapping']||_0x5e6557['widgetLineBreaks'])&&(_0x136187=_0x2d18cc(_0x265c43,_0x21d17a,-0x1,_0x136187));if(_0x212f49&&_0x136187&&_0x212f49['from']==_0x136187['from']&&_0x212f49['to']==_0x136187['to'])return _0x22e663(_0x438d43(_0x57e52b['from'],_0x57e52b['to'],_0x212f49));{let _0x5c218f=_0x212f49?_0x438d43(_0x57e52b['from'],null,_0x212f49):_0x2aeaaa(_0x1c9fed,!0x1),_0x46a7ff=_0x136187?_0x438d43(null,_0x57e52b['to'],_0x136187):_0x2aeaaa(_0x5e6557,!0x0),_0x51598b=[];return(_0x212f49||_0x1c9fed)['to']<(_0x136187||_0x5e6557)['from']-(_0x212f49&&_0x136187?0x1:0x0)||_0x1c9fed['widgetLineBreaks']>0x1&&_0x5c218f['bottom']+_0x265c43['defaultLineHeight']/0x2<_0x46a7ff['top']?_0x51598b['push'](_0x124410(_0x58e87a,_0x5c218f['bottom'],_0x3ab748,_0x46a7ff['top'])):_0x5c218f['bottom']<_0x46a7ff['top']&&_0x265c43['elementAtHeight']((_0x5c218f['bottom']+_0x46a7ff['top'])/0x2)['type']==_0x5cf05d['Text']&&(_0x5c218f['bottom']=_0x46a7ff['top']=(_0x5c218f['bottom']+_0x46a7ff['top'])/0x2),_0x22e663(_0x5c218f)['concat'](_0x51598b)['concat'](_0x22e663(_0x46a7ff));}function _0x124410(_0x587d3e,_0x1b002d,_0x7190ae,_0x335705){return new RectangleMarker(_0x27dfbc,_0x587d3e-_0x49d726['left'],_0x1b002d-_0x49d726['top'],_0x7190ae-_0x587d3e,_0x335705-_0x1b002d);}function _0x22e663({top:_0x2610f0,bottom:_0x29793d,horizontal:_0x4e732d}){let _0x1fac21=[];for(let _0xac571d=0x0;_0xac571d<_0x4e732d['length'];_0xac571d+=0x2)_0x1fac21['push'](_0x124410(_0x4e732d[_0xac571d],_0x2610f0,_0x4e732d[_0xac571d+0x1],_0x29793d));return _0x1fac21;}function _0x438d43(_0x2555c1,_0x409d40,_0x4e94d5){let _0x3a6a44=0x3b9aca00,_0x3e344d=-0x3b9aca00,_0x2e287d=[];function _0x125340(_0x30ce11,_0x2e49b9,_0x28d678,_0x2ca99d,_0xa327c4){let _0xf4d58=_0x265c43['coordsAtPos'](_0x30ce11,_0x30ce11==_0x4e94d5['to']?-0x2:0x2),_0x2adc3e=_0x265c43['coordsAtPos'](_0x28d678,_0x28d678==_0x4e94d5['from']?0x2:-0x2);_0xf4d58&&_0x2adc3e&&(_0x3a6a44=Math['min'](_0xf4d58['top'],_0x2adc3e['top'],_0x3a6a44),_0x3e344d=Math['max'](_0xf4d58['bottom'],_0x2adc3e['bottom'],_0x3e344d),_0xa327c4==_0x590046['LTR']?_0x2e287d['push'](_0x4e835f&&_0x2e49b9?_0x58e87a:_0xf4d58['left'],_0x4e835f&&_0x2ca99d?_0x3ab748:_0x2adc3e['right']):_0x2e287d['push'](!_0x4e835f&&_0x2ca99d?_0x58e87a:_0x2adc3e['left'],!_0x4e835f&&_0x2e49b9?_0x3ab748:_0xf4d58['right']));}let _0x16fd01=null!=_0x2555c1?_0x2555c1:_0x4e94d5['from'],_0x2bdd85=null!=_0x409d40?_0x409d40:_0x4e94d5['to'];for(let _0xcc525d of _0x265c43['visibleRanges'])if(_0xcc525d['to']>_0x16fd01&&_0xcc525d['from']<_0x2bdd85)for(let _0x47f5c3=Math['max'](_0xcc525d['from'],_0x16fd01),_0x1617fb=Math['min'](_0xcc525d['to'],_0x2bdd85);;){let _0x3ecf70=_0x265c43['state']['doc']['lineAt'](_0x47f5c3);for(let _0x255360 of _0x265c43['bidiSpans'](_0x3ecf70)){let _0x465ba4=_0x255360['from']+_0x3ecf70['from'],_0x5dbefa=_0x255360['to']+_0x3ecf70['from'];if(_0x465ba4>=_0x1617fb)break;_0x5dbefa>_0x47f5c3&&_0x125340(Math['max'](_0x465ba4,_0x47f5c3),null==_0x2555c1&&_0x465ba4<=_0x16fd01,Math['min'](_0x5dbefa,_0x1617fb),null==_0x409d40&&_0x5dbefa>=_0x2bdd85,_0x255360['dir']);}if(_0x47f5c3=_0x3ecf70['to']+0x1,_0x47f5c3>=_0x1617fb)break;}return 0x0==_0x2e287d['length']&&_0x125340(_0x16fd01,null==_0x2555c1,_0x2bdd85,null==_0x409d40,_0x265c43['textDirection']),{'top':_0x3a6a44,'bottom':_0x3e344d,'horizontal':_0x2e287d};}function _0x2aeaaa(_0x422572,_0x332b17){let _0x373845=_0x3c9aeb['top']+(_0x332b17?_0x422572['top']:_0x422572['bottom']);return{'top':_0x373845,'bottom':_0x373845,'horizontal':[]};}}(_0x3140b9,_0x231a8a,_0x470c6a);}}function _0x5575a8(_0x59929c){let _0x572b27=_0x59929c['scrollDOM']['getBoundingClientRect']();return{'left':(_0x59929c['textDirection']==_0x590046['LTR']?_0x572b27['left']:_0x572b27['right']-_0x59929c['scrollDOM']['clientWidth']*_0x59929c['scaleX'])-_0x59929c['scrollDOM']['scrollLeft']*_0x59929c['scaleX'],'top':_0x572b27['top']-_0x59929c['scrollDOM']['scrollTop']*_0x59929c['scaleY']};}function _0x2d18cc(_0x36d8d4,_0x47505b,_0x517a98,_0x2731c1){let _0x422d51=_0x36d8d4['coordsAtPos'](_0x47505b,0x2*_0x517a98);if(!_0x422d51)return _0x2731c1;let _0x1a3f6a=_0x36d8d4['dom']['getBoundingClientRect'](),_0x55354a=(_0x422d51['top']+_0x422d51['bottom'])/0x2,_0x14e776=_0x36d8d4['posAtCoords']({'x':_0x1a3f6a['left']+0x1,'y':_0x55354a}),_0x4d0468=_0x36d8d4['posAtCoords']({'x':_0x1a3f6a['right']-0x1,'y':_0x55354a});return null==_0x14e776||null==_0x4d0468?_0x2731c1:{'from':Math['max'](_0x2731c1['from'],Math['min'](_0x14e776,_0x4d0468)),'to':Math['min'](_0x2731c1['to'],Math['max'](_0x14e776,_0x4d0468))};}class _0x4f4c85{constructor(_0x4bf544,_0x108c9f){this['view']=_0x4bf544,this['layer']=_0x108c9f,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0x4bf544['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0x108c9f['above']&&this['dom']['classList']['add']('cm-layer-above'),_0x108c9f['class']&&this['dom']['classList']['add'](_0x108c9f['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0x4bf544['state']),_0x4bf544['requestMeasure'](this['measureReq']),_0x108c9f['mount']&&_0x108c9f['mount'](this['dom'],_0x4bf544);}['update'](_0x154d79){_0x154d79['startState']['facet'](_0x5e6a05)!=_0x154d79['state']['facet'](_0x5e6a05)&&this['setOrder'](_0x154d79['state']),(this['layer']['update'](_0x154d79,this['dom'])||_0x154d79['geometryChanged'])&&(this['scale'](),_0x154d79['view']['requestMeasure'](this['measureReq']));}['docViewUpdate'](_0x2c109f){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0x2c109f['requestMeasure'](this['measureReq']);}['setOrder'](_0x55c2f2){let _0x5066c2=0x0,_0x23bea0=_0x55c2f2['facet'](_0x5e6a05);for(;_0x5066c2<_0x23bea0['length']&&_0x23bea0[_0x5066c2]!=this['layer'];)_0x5066c2++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0x5066c2);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0x5028dc,scaleY:_0x2bf755}=this['view'];_0x5028dc==this['scaleX']&&_0x2bf755==this['scaleY']||(this['scaleX']=_0x5028dc,this['scaleY']=_0x2bf755,this['dom']['style']['transform']='scale('+0x1/_0x5028dc+',\x20'+0x1/_0x2bf755+')');}['draw'](_0x4c4fd5){if(_0x4c4fd5['length']!=this['drawn']['length']||_0x4c4fd5['some']((_0x4aa9b0,_0x3ad2bf)=>{return _0x3fb875=_0x4aa9b0,_0x5b0c3b=this['drawn'][_0x3ad2bf],!(_0x3fb875['constructor']==_0x5b0c3b['constructor']&&_0x3fb875['eq'](_0x5b0c3b));var _0x3fb875,_0x5b0c3b;})){let _0x2e09fc=this['dom']['firstChild'],_0x1a9226=0x0;for(let _0x51ca77 of _0x4c4fd5)_0x51ca77['update']&&_0x2e09fc&&_0x51ca77['constructor']&&this['drawn'][_0x1a9226]['constructor']&&_0x51ca77['update'](_0x2e09fc,this['drawn'][_0x1a9226])?(_0x2e09fc=_0x2e09fc['nextSibling'],_0x1a9226++):this['dom']['insertBefore'](_0x51ca77['draw'](),_0x2e09fc);for(;_0x2e09fc;){let _0x4a2c26=_0x2e09fc['nextSibling'];_0x2e09fc['remove'](),_0x2e09fc=_0x4a2c26;}this['drawn']=_0x4c4fd5,_0xe49063['safari']&&_0xe49063['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 _0x5e6a05=Facet['define']();function _0xb91ba8(_0x3ae2f1){return[_0x470e1f['define'](_0x5eec7e=>new _0x4f4c85(_0x5eec7e,_0x3ae2f1)),_0x5e6a05['of'](_0x3ae2f1)];}const _0x73dbbe=Facet['define']({'combine':_0x14473c=>_0x4fcf55(_0x14473c,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0},{'cursorBlinkRate':(_0x206f39,_0x45a734)=>Math['min'](_0x206f39,_0x45a734),'drawRangeCursor':(_0x208ba3,_0x320ff1)=>_0x208ba3||_0x320ff1})});function _0x5c01a1(_0x344b9a={}){return[_0x73dbbe['of'](_0x344b9a),_0x5458b4,_0x3c9c1b,_0x23ee88,_0x4a594d['of'](!0x0)];}function _0x24aebb(_0x4c0a19){return _0x4c0a19['startState']['facet'](_0x73dbbe)!=_0x4c0a19['state']['facet'](_0x73dbbe);}const _0x5458b4=_0xb91ba8({'above':!0x0,'markers'(_0x50b824){let {state:_0x13e36b}=_0x50b824,_0xc3a18d=_0x13e36b['facet'](_0x73dbbe),_0x56ed23=[];for(let _0x3ea908 of _0x13e36b['selection']['ranges']){let _0x19e0bb=_0x3ea908==_0x13e36b['selection']['main'];if(_0x3ea908['empty']||_0xc3a18d['drawRangeCursor']){let _0x3bef1f=_0x19e0bb?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0x9ae451=_0x3ea908['empty']?_0x3ea908:EditorSelection['cursor'](_0x3ea908['head'],_0x3ea908['head']>_0x3ea908['anchor']?-0x1:0x1);for(let _0x20f3b2 of RectangleMarker['forRange'](_0x50b824,_0x3bef1f,_0x9ae451))_0x56ed23['push'](_0x20f3b2);}}return _0x56ed23;},'update'(_0x5da837,_0x555dcd){_0x5da837['transactions']['some'](_0x493069=>_0x493069['selection'])&&(_0x555dcd['style']['animationName']='cm-blink'==_0x555dcd['style']['animationName']?'cm-blink2':'cm-blink');let _0x4c5ba3=_0x24aebb(_0x5da837);return _0x4c5ba3&&_0xd64acb(_0x5da837['state'],_0x555dcd),_0x5da837['docChanged']||_0x5da837['selectionSet']||_0x4c5ba3;},'mount'(_0x2be401,_0x20b054){_0xd64acb(_0x20b054['state'],_0x2be401);},'class':'cm-cursorLayer'});function _0xd64acb(_0x2a0459,_0x202235){_0x202235['style']['animationDuration']=_0x2a0459['facet'](_0x73dbbe)['cursorBlinkRate']+'ms';}const _0x3c9c1b=_0xb91ba8({'above':!0x1,'markers':_0x98586c=>_0x98586c['state']['selection']['ranges']['map'](_0x40ed3b=>_0x40ed3b['empty']?[]:RectangleMarker['forRange'](_0x98586c,'cm-selectionBackground',_0x40ed3b))['reduce']((_0x3e6817,_0x3c6cdb)=>_0x3e6817['concat'](_0x3c6cdb)),'update':(_0x400afe,_0x57b7fc)=>_0x400afe['docChanged']||_0x400afe['selectionSet']||_0x400afe['viewportChanged']||_0x24aebb(_0x400afe),'class':'cm-selectionLayer'}),_0x23ee88=_0x901a22['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'}}}})),_0x2080a4=StateEffect['define']({'map':(_0x1bdd9e,_0x42480b)=>null==_0x1bdd9e?null:_0x42480b['mapPos'](_0x1bdd9e)}),_0x5cebd7=StateField['define']({'create':()=>null,'update':(_0x2e9499,_0xdaec16)=>(null!=_0x2e9499&&(_0x2e9499=_0xdaec16['changes']['mapPos'](_0x2e9499)),_0xdaec16['effects']['reduce']((_0x11b8b6,_0x50c89a)=>_0x50c89a['is'](_0x2080a4)?_0x50c89a['value']:_0x11b8b6,_0x2e9499))}),_0x53738a=_0x470e1f['fromClass'](class{constructor(_0xb3a9f7){this['view']=_0xb3a9f7,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}['update'](_0x319995){var _0x38cffa;let _0xfa0cdf=_0x319995['state']['field'](_0x5cebd7);null==_0xfa0cdf?null!=this['cursor']&&(null===(_0x38cffa=this['cursor'])||void 0x0===_0x38cffa||_0x38cffa['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x319995['startState']['field'](_0x5cebd7)!=_0xfa0cdf||_0x319995['docChanged']||_0x319995['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0x271a07}=this,_0x3c506e=_0x271a07['state']['field'](_0x5cebd7),_0x9e081b=null!=_0x3c506e&&_0x271a07['coordsAtPos'](_0x3c506e);if(!_0x9e081b)return null;let _0x5032af=_0x271a07['scrollDOM']['getBoundingClientRect']();return{'left':_0x9e081b['left']-_0x5032af['left']+_0x271a07['scrollDOM']['scrollLeft']*_0x271a07['scaleX'],'top':_0x9e081b['top']-_0x5032af['top']+_0x271a07['scrollDOM']['scrollTop']*_0x271a07['scaleY'],'height':_0x9e081b['bottom']-_0x9e081b['top']};}['drawCursor'](_0x5a8c18){if(this['cursor']){let {scaleX:_0x423c41,scaleY:_0x7694be}=this['view'];_0x5a8c18?(this['cursor']['style']['left']=_0x5a8c18['left']/_0x423c41+'px',this['cursor']['style']['top']=_0x5a8c18['top']/_0x7694be+'px',this['cursor']['style']['height']=_0x5a8c18['height']/_0x7694be+'px'):this['cursor']['style']['left']='-100000px';}}['destroy'](){this['cursor']&&this['cursor']['remove']();}['setDropPos'](_0x13bcac){this['view']['state']['field'](_0x5cebd7)!=_0x13bcac&&this['view']['dispatch']({'effects':_0x2080a4['of'](_0x13bcac)});}},{'eventObservers':{'dragover'(_0x422454){this['setDropPos'](this['view']['posAtCoords']({'x':_0x422454['clientX'],'y':_0x422454['clientY']}));},'dragleave'(_0x10b866){_0x10b866['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0x10b866['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function _0x21f5cb(){return[_0x5cebd7,_0x53738a];}function _0x2c97f6(_0x3bf977,_0x742fda,_0x337b27,_0x20e105,_0xdf2309){_0x742fda['lastIndex']=0x0;for(let _0x320f4a,_0x384c27=_0x3bf977['iterRange'](_0x337b27,_0x20e105),_0x230d37=_0x337b27;!_0x384c27['next']()['done'];_0x230d37+=_0x384c27['value']['length'])if(!_0x384c27['lineBreak']){for(;_0x320f4a=_0x742fda['exec'](_0x384c27['value']);)_0xdf2309(_0x230d37+_0x320f4a['index'],_0x320f4a);}}class MatchDecorator{constructor(_0x408218){const {regexp:_0x2ca544,decoration:_0x4a336b,decorate:_0x36d860,boundary:_0x109ac4,maxLength:_0x4095f6=0x3e8}=_0x408218;if(!_0x2ca544['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0x2ca544,_0x36d860)this['addMatch']=(_0x32cc2d,_0x2adf0e,_0x20e562,_0x26f7cb)=>_0x36d860(_0x26f7cb,_0x20e562,_0x20e562+_0x32cc2d[0x0]['length'],_0x32cc2d,_0x2adf0e);else{if('function'==typeof _0x4a336b)this['addMatch']=(_0x475c9b,_0x55fb43,_0x11c9d6,_0x34f138)=>{let _0xff9954=_0x4a336b(_0x475c9b,_0x55fb43,_0x11c9d6);_0xff9954&&_0x34f138(_0x11c9d6,_0x11c9d6+_0x475c9b[0x0]['length'],_0xff9954);};else{if(!_0x4a336b)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0x4002f9,_0x1e987f,_0x469545,_0x2b7c64)=>_0x2b7c64(_0x469545,_0x469545+_0x4002f9[0x0]['length'],_0x4a336b);}}this['boundary']=_0x109ac4,this['maxLength']=_0x4095f6;}['createDeco'](_0x51d8d2){let _0x2e1d7c=new RangeSetBuilder(),_0x366ccc=_0x2e1d7c['add']['bind'](_0x2e1d7c);for(let {from:_0x3fa3a3,to:_0x4966e7}of function(_0x175352,_0x10aa47){let _0x490042=_0x175352['visibleRanges'];if(0x1==_0x490042['length']&&_0x490042[0x0]['from']==_0x175352['viewport']['from']&&_0x490042[0x0]['to']==_0x175352['viewport']['to'])return _0x490042;let _0x41b8c9=[];for(let {from:_0x1376c9,to:_0x2d3797}of _0x490042)_0x1376c9=Math['max'](_0x175352['state']['doc']['lineAt'](_0x1376c9)['from'],_0x1376c9-_0x10aa47),_0x2d3797=Math['min'](_0x175352['state']['doc']['lineAt'](_0x2d3797)['to'],_0x2d3797+_0x10aa47),_0x41b8c9['length']&&_0x41b8c9[_0x41b8c9['length']-0x1]['to']>=_0x1376c9?_0x41b8c9[_0x41b8c9['length']-0x1]['to']=_0x2d3797:_0x41b8c9['push']({'from':_0x1376c9,'to':_0x2d3797});return _0x41b8c9;}(_0x51d8d2,this['maxLength']))_0x2c97f6(_0x51d8d2['state']['doc'],this['regexp'],_0x3fa3a3,_0x4966e7,(_0x1e1021,_0x144a97)=>this['addMatch'](_0x144a97,_0x51d8d2,_0x1e1021,_0x366ccc));return _0x2e1d7c['finish']();}['updateDeco'](_0x572d94,_0x48769f){let _0x3f8342=0x3b9aca00,_0x1f3cf4=-0x1;return _0x572d94['docChanged']&&_0x572d94['changes']['iterChanges']((_0x54add8,_0x1982c7,_0xbf4030,_0x648b7a)=>{_0x648b7a>=_0x572d94['view']['viewport']['from']&&_0xbf4030<=_0x572d94['view']['viewport']['to']&&(_0x3f8342=Math['min'](_0xbf4030,_0x3f8342),_0x1f3cf4=Math['max'](_0x648b7a,_0x1f3cf4));}),_0x572d94['viewportMoved']||_0x1f3cf4-_0x3f8342>0x3e8?this['createDeco'](_0x572d94['view']):_0x1f3cf4>-0x1?this['updateRange'](_0x572d94['view'],_0x48769f['map'](_0x572d94['changes']),_0x3f8342,_0x1f3cf4):_0x48769f;}['updateRange'](_0x10bc77,_0x50852c,_0x5ee9a1,_0x29159d){for(let _0x81e552 of _0x10bc77['visibleRanges']){let _0x52b54e=Math['max'](_0x81e552['from'],_0x5ee9a1),_0x2462e2=Math['min'](_0x81e552['to'],_0x29159d);if(_0x2462e2>=_0x52b54e){let _0x58105a=_0x10bc77['state']['doc']['lineAt'](_0x52b54e),_0x4e3fe5=_0x58105a['to']<_0x2462e2?_0x10bc77['state']['doc']['lineAt'](_0x2462e2):_0x58105a,_0x8b9d56=Math['max'](_0x81e552['from'],_0x58105a['from']),_0x33d560=Math['min'](_0x81e552['to'],_0x4e3fe5['to']);if(this['boundary']){for(;_0x52b54e>_0x58105a['from'];_0x52b54e--)if(this['boundary']['test'](_0x58105a['text'][_0x52b54e-0x1-_0x58105a['from']])){_0x8b9d56=_0x52b54e;break;}for(;_0x2462e2<_0x4e3fe5['to'];_0x2462e2++)if(this['boundary']['test'](_0x4e3fe5['text'][_0x2462e2-_0x4e3fe5['from']])){_0x33d560=_0x2462e2;break;}}let _0x32d4e4,_0x4dedcc=[],_0x1a1376=(_0x2d89e4,_0x33e427,_0x122275)=>_0x4dedcc['push'](_0x122275['range'](_0x2d89e4,_0x33e427));if(_0x58105a==_0x4e3fe5){for(this['regexp']['lastIndex']=_0x8b9d56-_0x58105a['from'];(_0x32d4e4=this['regexp']['exec'](_0x58105a['text']))&&_0x32d4e4['index']<_0x33d560-_0x58105a['from'];)this['addMatch'](_0x32d4e4,_0x10bc77,_0x32d4e4['index']+_0x58105a['from'],_0x1a1376);}else _0x2c97f6(_0x10bc77['state']['doc'],this['regexp'],_0x8b9d56,_0x33d560,(_0x55f11b,_0x436bf6)=>this['addMatch'](_0x436bf6,_0x10bc77,_0x55f11b,_0x1a1376));_0x50852c=_0x50852c['update']({'filterFrom':_0x8b9d56,'filterTo':_0x33d560,'filter':(_0x4d0864,_0x728736)=>_0x4d0864<_0x8b9d56||_0x728736>_0x33d560,'add':_0x4dedcc});}}return _0x50852c;}}const _0x5e96a1=null!=/x/['unicode']?'gu':'g',_0x5d905e=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',_0x5e96a1),_0x3f4ece={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 _0x2d41ce=null;const _0xc3ac33=Facet['define']({'combine'(_0x1773c8){let _0x22e4be=_0x4fcf55(_0x1773c8,{'render':null,'specialChars':_0x5d905e,'addSpecialChars':null});return(_0x22e4be['replaceTabs']=!(function(){var _0x2c2680;if(null==_0x2d41ce&&'undefined'!=typeof document&&document['body']){let _0x50154f=document['body']['style'];_0x2d41ce=null!=(null!==(_0x2c2680=_0x50154f['tabSize'])&&void 0x0!==_0x2c2680?_0x2c2680:_0x50154f['MozTabSize']);}return _0x2d41ce||!0x1;}()))&&(_0x22e4be['specialChars']=new RegExp('\x09|'+_0x22e4be['specialChars']['source'],_0x5e96a1)),_0x22e4be['addSpecialChars']&&(_0x22e4be['specialChars']=new RegExp(_0x22e4be['specialChars']['source']+'|'+_0x22e4be['addSpecialChars']['source'],_0x5e96a1)),_0x22e4be;}});function _0x5c13d7(_0x55a760={}){return[_0xc3ac33['of'](_0x55a760),_0x181e48||(_0x181e48=_0x470e1f['fromClass'](class{constructor(_0x59cfc1){this['view']=_0x59cfc1,this['decorations']=Decoration['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0x59cfc1['state']['facet'](_0xc3ac33)),this['decorations']=this['decorator']['createDeco'](_0x59cfc1);}['makeDecorator'](_0x3212df){return new MatchDecorator({'regexp':_0x3212df['specialChars'],'decoration':(_0xfed1dc,_0x48b659,_0x1f3037)=>{let {doc:_0x522921}=_0x48b659['state'],_0x347679=_0x444e07(_0xfed1dc[0x0],0x0);if(0x9==_0x347679){let _0x2ba32a=_0x522921['lineAt'](_0x1f3037),_0xee467=_0x48b659['state']['tabSize'],_0x4b01bb=_0x9d1039(_0x2ba32a['text'],_0xee467,_0x1f3037-_0x2ba32a['from']);return Decoration['replace']({'widget':new TabWidget((_0xee467-_0x4b01bb%_0xee467)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x347679]||(this['decorationCache'][_0x347679]=Decoration['replace']({'widget':new SpecialCharWidget(_0x3212df,_0x347679)}));},'boundary':_0x3212df['replaceTabs']?void 0x0:/[^]/});}['update'](_0xbf4aa9){let _0x3de302=_0xbf4aa9['state']['facet'](_0xc3ac33);_0xbf4aa9['startState']['facet'](_0xc3ac33)!=_0x3de302?(this['decorator']=this['makeDecorator'](_0x3de302),this['decorations']=this['decorator']['createDeco'](_0xbf4aa9['view'])):this['decorations']=this['decorator']['updateDeco'](_0xbf4aa9,this['decorations']);}},{'decorations':_0x599d23=>_0x599d23['decorations']}))];}let _0x181e48=null;class SpecialCharWidget extends WidgetType{constructor(_0xb31744,_0x10257c){super(),this['options']=_0xb31744,this['code']=_0x10257c;}['eq'](_0x36db27){return _0x36db27['code']==this['code'];}['toDOM'](_0x466c43){let _0x77893d=function(_0x23719c){return _0x23719c>=0x20?'•':0xa==_0x23719c?'␤':String['fromCharCode'](0x2400+_0x23719c);}(this['code']),_0x14020f=_0x466c43['state']['phrase']('Control\x20character')+'\x20'+(_0x3f4ece[this['code']]||'0x'+this['code']['toString'](0x10)),_0x350723=this['options']['render']&&this['options']['render'](this['code'],_0x14020f,_0x77893d);if(_0x350723)return _0x350723;let _0x5e37c5=document['createElement']('span');return _0x5e37c5['textContent']=_0x77893d,_0x5e37c5['title']=_0x14020f,_0x5e37c5['setAttribute']('aria-label',_0x14020f),_0x5e37c5['className']='cm-specialChar',_0x5e37c5;}['ignoreEvent'](){return!0x1;}}class TabWidget extends WidgetType{constructor(_0x43ea78){super(),this['width']=_0x43ea78;}['eq'](_0x22699e){return _0x22699e['width']==this['width'];}['toDOM'](){let _0x550e7e=document['createElement']('span');return _0x550e7e['textContent']='\x09',_0x550e7e['className']='cm-tab',_0x550e7e['style']['width']=this['width']+'px',_0x550e7e;}['ignoreEvent'](){return!0x1;}}function _0x4acd68(){return _0x124880;}const _0x16fc23=Decoration['line']({'class':'cm-activeLine'}),_0x124880=_0x470e1f['fromClass'](class{constructor(_0x3fb88d){this['decorations']=this['getDeco'](_0x3fb88d);}['update'](_0xa98e87){(_0xa98e87['docChanged']||_0xa98e87['selectionSet'])&&(this['decorations']=this['getDeco'](_0xa98e87['view']));}['getDeco'](_0x1d92db){let _0x4723d3=-0x1,_0x4a1c0f=[];for(let _0x31582a of _0x1d92db['state']['selection']['ranges']){let _0x1c210b=_0x1d92db['lineBlockAt'](_0x31582a['head']);_0x1c210b['from']>_0x4723d3&&(_0x4a1c0f['push'](_0x16fc23['range'](_0x1c210b['from'])),_0x4723d3=_0x1c210b['from']);}return Decoration['set'](_0x4a1c0f);}},{'decorations':_0x323259=>_0x323259['decorations']}),_0x5d650e=0x7d0;function _0x18dcb8(_0x17f0eb,_0x56993d){let _0x2dc2c3=_0x17f0eb['posAtCoords']({'x':_0x56993d['clientX'],'y':_0x56993d['clientY']},!0x1),_0x25f4d9=_0x17f0eb['state']['doc']['lineAt'](_0x2dc2c3),_0x53a623=_0x2dc2c3-_0x25f4d9['from'],_0x5c83ea=_0x53a623>_0x5d650e?-0x1:_0x53a623==_0x25f4d9['length']?function(_0x465429,_0xed217e){let _0x24e6f7=_0x465429['coordsAtPos'](_0x465429['viewport']['from']);return _0x24e6f7?Math['round'](Math['abs']((_0x24e6f7['left']-_0xed217e)/_0x465429['defaultCharacterWidth'])):-0x1;}(_0x17f0eb,_0x56993d['clientX']):_0x9d1039(_0x25f4d9['text'],_0x17f0eb['state']['tabSize'],_0x2dc2c3-_0x25f4d9['from']);return{'line':_0x25f4d9['number'],'col':_0x5c83ea,'off':_0x53a623};}function _0x4d5fe6(_0x38c0cd,_0x22d4a8){let _0x25b139=_0x18dcb8(_0x38c0cd,_0x22d4a8),_0xfa3aa=_0x38c0cd['state']['selection'];return _0x25b139?{'update'(_0x449a7e){if(_0x449a7e['docChanged']){let _0x880fa4=_0x449a7e['changes']['mapPos'](_0x449a7e['startState']['doc']['line'](_0x25b139['line'])['from']),_0x55c03a=_0x449a7e['state']['doc']['lineAt'](_0x880fa4);_0x25b139={'line':_0x55c03a['number'],'col':_0x25b139['col'],'off':Math['min'](_0x25b139['off'],_0x55c03a['length'])},_0xfa3aa=_0xfa3aa['map'](_0x449a7e['changes']);}},'get'(_0x988c5,_0x209a3a,_0xaceb0c){let _0x2ca7fa=_0x18dcb8(_0x38c0cd,_0x988c5);if(!_0x2ca7fa)return _0xfa3aa;let _0x1ffcfe=function(_0x42099f,_0x36d842,_0x5393a9){let _0x18193b=Math['min'](_0x36d842['line'],_0x5393a9['line']),_0x5c8e7a=Math['max'](_0x36d842['line'],_0x5393a9['line']),_0x121f00=[];if(_0x36d842['off']>_0x5d650e||_0x5393a9['off']>_0x5d650e||_0x36d842['col']<0x0||_0x5393a9['col']<0x0){let _0x2d6a14=Math['min'](_0x36d842['off'],_0x5393a9['off']),_0x5d062c=Math['max'](_0x36d842['off'],_0x5393a9['off']);for(let _0x3e2c76=_0x18193b;_0x3e2c76<=_0x5c8e7a;_0x3e2c76++){let _0x3f0bda=_0x42099f['doc']['line'](_0x3e2c76);_0x3f0bda['length']<=_0x5d062c&&_0x121f00['push'](EditorSelection['range'](_0x3f0bda['from']+_0x2d6a14,_0x3f0bda['to']+_0x5d062c));}}else{let _0x462c3a=Math['min'](_0x36d842['col'],_0x5393a9['col']),_0xdde896=Math['max'](_0x36d842['col'],_0x5393a9['col']);for(let _0x2047e8=_0x18193b;_0x2047e8<=_0x5c8e7a;_0x2047e8++){let _0x39807c=_0x42099f['doc']['line'](_0x2047e8),_0x46dcf1=_0x22409c(_0x39807c['text'],_0x462c3a,_0x42099f['tabSize'],!0x0);if(_0x46dcf1<0x0)_0x121f00['push'](EditorSelection['cursor'](_0x39807c['to']));else{let _0x32ca9a=_0x22409c(_0x39807c['text'],_0xdde896,_0x42099f['tabSize']);_0x121f00['push'](EditorSelection['range'](_0x39807c['from']+_0x46dcf1,_0x39807c['from']+_0x32ca9a));}}}return _0x121f00;}(_0x38c0cd['state'],_0x25b139,_0x2ca7fa);return _0x1ffcfe['length']?_0xaceb0c?EditorSelection['create'](_0x1ffcfe['concat'](_0xfa3aa['ranges'])):EditorSelection['create'](_0x1ffcfe):_0xfa3aa;}}:null;}function _0x2bc458(_0x4f6eda){return EditorView['mouseSelectionStyle']['of']((_0x240f4a,_0x3114e2)=>{return(_0x21c037=_0x3114e2)['altKey']&&0x0==_0x21c037['button']?_0x4d5fe6(_0x240f4a,_0x3114e2):null;var _0x21c037;});}const _0x19c57c={'Alt':[0x12,_0x41ac82=>!!_0x41ac82['altKey']],'Control':[0x11,_0x71de89=>!!_0x71de89['ctrlKey']],'Shift':[0x10,_0x1ca94c=>!!_0x1ca94c['shiftKey']],'Meta':[0x5b,_0x381feb=>!!_0x381feb['metaKey']]},_0x2f6355={'style':'cursor:\x20crosshair'};function _0x1a58cf(_0x338490={}){let [_0x130c3a,_0x40af96]=_0x19c57c[_0x338490['key']||'Alt'],_0x4c27d1=_0x470e1f['fromClass'](class{constructor(_0x51769d){this['view']=_0x51769d,this['isDown']=!0x1;}['set'](_0x481ba8){this['isDown']!=_0x481ba8&&(this['isDown']=_0x481ba8,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0x27b641){this['set'](_0x27b641['keyCode']==_0x130c3a||_0x40af96(_0x27b641));},'keyup'(_0x300442){_0x300442['keyCode']!=_0x130c3a&&_0x40af96(_0x300442)||this['set'](!0x1);},'mousemove'(_0xfa878e){this['set'](_0x40af96(_0xfa878e));}}});return[_0x4c27d1,EditorView['contentAttributes']['of'](_0x2b3265=>{var _0x876393;return(null===(_0x876393=_0x2b3265['plugin'](_0x4c27d1))||void 0x0===_0x876393?void 0x0:_0x876393['isDown'])?_0x2f6355:null;})];}const _0x495d5c='-10000px';class TooltipViewManager{constructor(_0x44317d,_0x21e1d2,_0x26b4f9,_0x23d141){this['facet']=_0x21e1d2,this['createTooltipView']=_0x26b4f9,this['removeTooltipView']=_0x23d141,this['input']=_0x44317d['state']['facet'](_0x21e1d2),this['tooltips']=this['input']['filter'](t=>t);let _0x3fd195=null;this['tooltipViews']=this['tooltips']['map'](t=>_0x3fd195=_0x26b4f9(t,_0x3fd195));}['update'](_0x59ac0c,_0x2c3856){var _0x57cc77;let _0x46d221=_0x59ac0c['state']['facet'](this['facet']),_0xdbdd76=_0x46d221['filter'](_0x4bfe22=>_0x4bfe22);if(_0x46d221===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x59ac0c);return!0x1;}let _0x3827a4=[],_0x9bcff0=_0x2c3856?[]:null;for(let _0x31837b=0x0;_0x31837b<_0xdbdd76['length'];_0x31837b++){let _0x30c28a=_0xdbdd76[_0x31837b],_0xaedd6f=-0x1;if(_0x30c28a){for(let _0x4342bd=0x0;_0x4342bd<this['tooltips']['length'];_0x4342bd++){let _0xe1042b=this['tooltips'][_0x4342bd];_0xe1042b&&_0xe1042b['create']==_0x30c28a['create']&&(_0xaedd6f=_0x4342bd);}if(_0xaedd6f<0x0)_0x3827a4[_0x31837b]=this['createTooltipView'](_0x30c28a,_0x31837b?_0x3827a4[_0x31837b-0x1]:null),_0x9bcff0&&(_0x9bcff0[_0x31837b]=!!_0x30c28a['above']);else{let _0x3f4c8b=_0x3827a4[_0x31837b]=this['tooltipViews'][_0xaedd6f];_0x9bcff0&&(_0x9bcff0[_0x31837b]=_0x2c3856[_0xaedd6f]),_0x3f4c8b['update']&&_0x3f4c8b['update'](_0x59ac0c);}}}for(let t of this['tooltipViews'])_0x3827a4['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0x57cc77=t['destroy'])||void 0x0===_0x57cc77||_0x57cc77['call'](t));return _0x2c3856&&(_0x9bcff0['forEach']((_0x889c3,_0x3247af)=>_0x2c3856[_0x3247af]=_0x889c3),_0x2c3856['length']=_0x9bcff0['length']),this['input']=_0x46d221,this['tooltips']=_0xdbdd76,this['tooltipViews']=_0x3827a4,!0x0;}}function _0x32d850(_0x514ca5){let _0x2a685e=_0x514ca5['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0x2a685e['clientHeight'],'right':_0x2a685e['clientWidth']};}const _0x55bc89=Facet['define']({'combine':_0x85c6a=>{var _0x309625,_0x3b6f34,_0x30b5bb;return{'position':_0xe49063['ios']?'absolute':(null===(_0x309625=_0x85c6a['find'](_0x30ca98=>_0x30ca98['position']))||void 0x0===_0x309625?void 0x0:_0x309625['position'])||'fixed','parent':(null===(_0x3b6f34=_0x85c6a['find'](_0x4b63da=>_0x4b63da['parent']))||void 0x0===_0x3b6f34?void 0x0:_0x3b6f34['parent'])||null,'tooltipSpace':(null===(_0x30b5bb=_0x85c6a['find'](_0x4353b9=>_0x4353b9['tooltipSpace']))||void 0x0===_0x30b5bb?void 0x0:_0x30b5bb['tooltipSpace'])||_0x32d850};}}),_0x21a641=new WeakMap(),_0x3a3057=_0x470e1f['fromClass'](class{constructor(_0x4126ae){this['view']=_0x4126ae,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0x2788da=_0x4126ae['state']['facet'](_0x55bc89);this['position']=_0x2788da['position'],this['parent']=_0x2788da['parent'],this['classes']=_0x4126ae['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(_0x4126ae,_0x5ebfac,(t,_0x506584)=>this['createTooltip'](t,_0x506584),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(_0x116ffe=>{Date['now']()>this['lastTransaction']-0x32&&_0x116ffe['length']>0x0&&_0x116ffe[_0x116ffe['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0x4126ae['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 _0x2308d2 of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0x2308d2['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}['update'](_0x3e99ad){_0x3e99ad['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0x1c500b=this['manager']['update'](_0x3e99ad,this['above']);_0x1c500b&&this['observeIntersection']();let _0x4e2df3=_0x1c500b||_0x3e99ad['geometryChanged'],_0x2d4a8e=_0x3e99ad['state']['facet'](_0x55bc89);if(_0x2d4a8e['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0x2d4a8e['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0x4e2df3=!0x0;}if(_0x2d4a8e['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0x2d4a8e['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0x4e2df3=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0x4e2df3&&this['maybeMeasure']();}['createTooltip'](_0x6f93be,_0x4f372e){let _0x6a6619=_0x6f93be['create'](this['view']),_0x26324a=_0x4f372e?_0x4f372e['dom']:null;if(_0x6a6619['dom']['classList']['add']('cm-tooltip'),_0x6f93be['arrow']&&!_0x6a6619['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0x2045e9=document['createElement']('div');_0x2045e9['className']='cm-tooltip-arrow',_0x6a6619['dom']['appendChild'](_0x2045e9);}return _0x6a6619['dom']['style']['position']=this['position'],_0x6a6619['dom']['style']['top']=_0x495d5c,_0x6a6619['dom']['style']['left']='0px',this['container']['insertBefore'](_0x6a6619['dom'],_0x26324a),_0x6a6619['mount']&&_0x6a6619['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0x6a6619['dom']),_0x6a6619;}['destroy'](){var _0x33d59d,_0x285b0c,_0x3fcf58;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0x33400b of this['manager']['tooltipViews'])_0x33400b['dom']['remove'](),null===(_0x33d59d=_0x33400b['destroy'])||void 0x0===_0x33d59d||_0x33d59d['call'](_0x33400b);this['parent']&&this['container']['remove'](),null===(_0x285b0c=this['resizeObserver'])||void 0x0===_0x285b0c||_0x285b0c['disconnect'](),null===(_0x3fcf58=this['intersectionObserver'])||void 0x0===_0x3fcf58||_0x3fcf58['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0x1bd137=0x1,_0x5b77e7=0x1,_0xfcf893=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x1f1490}=this['manager']['tooltipViews'][0x0];if(_0xe49063['gecko'])_0xfcf893=_0x1f1490['offsetParent']!=this['container']['ownerDocument']['body'];else{if(_0x1f1490['style']['top']==_0x495d5c&&'0px'==_0x1f1490['style']['left']){let _0x4ab5b1=_0x1f1490['getBoundingClientRect']();_0xfcf893=Math['abs'](_0x4ab5b1['top']+0x2710)>0x1||Math['abs'](_0x4ab5b1['left'])>0x1;}}}if(_0xfcf893||'absolute'==this['position']){if(this['parent']){let _0x5e2d6b=this['parent']['getBoundingClientRect']();_0x5e2d6b['width']&&_0x5e2d6b['height']&&(_0x1bd137=_0x5e2d6b['width']/this['parent']['offsetWidth'],_0x5b77e7=_0x5e2d6b['height']/this['parent']['offsetHeight']);}else({scaleX:_0x1bd137,scaleY:_0x5b77e7}=this['view']['viewState']);}let _0x1e3e82=this['view']['scrollDOM']['getBoundingClientRect'](),_0x24d07e=_0x2f7ce8(this['view']);return{'visible':{'left':_0x1e3e82['left']+_0x24d07e['left'],'top':_0x1e3e82['top']+_0x24d07e['top'],'right':_0x1e3e82['right']-_0x24d07e['right'],'bottom':_0x1e3e82['bottom']-_0x24d07e['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0x145ae7)=>{let _0x5f061d=this['manager']['tooltipViews'][_0x145ae7];return _0x5f061d['getCoords']?_0x5f061d['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0x515b2e})=>_0x515b2e['getBoundingClientRect']()),'space':this['view']['state']['facet'](_0x55bc89)['tooltipSpace'](this['view']),'scaleX':_0x1bd137,'scaleY':_0x5b77e7,'makeAbsolute':_0xfcf893};}['writeMeasure'](_0x2202b1){var _0x1b31ab;if(_0x2202b1['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0xcc672,space:_0x122f09,scaleX:_0x440f8c,scaleY:_0x30b994}=_0x2202b1,_0x41c7ca=[];for(let _0xe3082b=0x0;_0xe3082b<this['manager']['tooltips']['length'];_0xe3082b++){let _0xf7e54c=this['manager']['tooltips'][_0xe3082b],_0x43362f=this['manager']['tooltipViews'][_0xe3082b],{dom:_0x4ca2ea}=_0x43362f,_0x503ad3=_0x2202b1['pos'][_0xe3082b],_0x2aa40a=_0x2202b1['size'][_0xe3082b];if(!_0x503ad3||!0x1!==_0xf7e54c['clip']&&(_0x503ad3['bottom']<=Math['max'](_0xcc672['top'],_0x122f09['top'])||_0x503ad3['top']>=Math['min'](_0xcc672['bottom'],_0x122f09['bottom'])||_0x503ad3['right']<Math['max'](_0xcc672['left'],_0x122f09['left'])-0.1||_0x503ad3['left']>Math['min'](_0xcc672['right'],_0x122f09['right'])+0.1)){_0x4ca2ea['style']['top']=_0x495d5c;continue;}let _0x15d807=_0xf7e54c['arrow']?_0x43362f['dom']['querySelector']('.cm-tooltip-arrow'):null,_0x706904=_0x15d807?0x7:0x0,_0x3f62c9=_0x2aa40a['right']-_0x2aa40a['left'],_0x89292d=null!==(_0x1b31ab=_0x21a641['get'](_0x43362f))&&void 0x0!==_0x1b31ab?_0x1b31ab:_0x2aa40a['bottom']-_0x2aa40a['top'],_0x1e20b2=_0x43362f['offset']||_0x117991,_0x135694=this['view']['textDirection']==_0x590046['LTR'],_0x564d55=_0x2aa40a['width']>_0x122f09['right']-_0x122f09['left']?_0x135694?_0x122f09['left']:_0x122f09['right']-_0x2aa40a['width']:_0x135694?Math['max'](_0x122f09['left'],Math['min'](_0x503ad3['left']-(_0x15d807?0xe:0x0)+_0x1e20b2['x'],_0x122f09['right']-_0x3f62c9)):Math['min'](Math['max'](_0x122f09['left'],_0x503ad3['left']-_0x3f62c9+(_0x15d807?0xe:0x0)-_0x1e20b2['x']),_0x122f09['right']-_0x3f62c9),_0x2734ef=this['above'][_0xe3082b];!_0xf7e54c['strictSide']&&(_0x2734ef?_0x503ad3['top']-_0x89292d-_0x706904-_0x1e20b2['y']<_0x122f09['top']:_0x503ad3['bottom']+_0x89292d+_0x706904+_0x1e20b2['y']>_0x122f09['bottom'])&&_0x2734ef==_0x122f09['bottom']-_0x503ad3['bottom']>_0x503ad3['top']-_0x122f09['top']&&(_0x2734ef=this['above'][_0xe3082b]=!_0x2734ef);let _0xd6239c=(_0x2734ef?_0x503ad3['top']-_0x122f09['top']:_0x122f09['bottom']-_0x503ad3['bottom'])-_0x706904;if(_0xd6239c<_0x89292d&&!0x1!==_0x43362f['resize']){if(_0xd6239c<this['view']['defaultLineHeight']){_0x4ca2ea['style']['top']=_0x495d5c;continue;}_0x21a641['set'](_0x43362f,_0x89292d),_0x4ca2ea['style']['height']=(_0x89292d=_0xd6239c)/_0x30b994+'px';}else _0x4ca2ea['style']['height']&&(_0x4ca2ea['style']['height']='');let _0x52a3f1=_0x2734ef?_0x503ad3['top']-_0x89292d-_0x706904-_0x1e20b2['y']:_0x503ad3['bottom']+_0x706904+_0x1e20b2['y'],_0x4b8950=_0x564d55+_0x3f62c9;if(!0x0!==_0x43362f['overlap']){for(let _0x2370f5 of _0x41c7ca)_0x2370f5['left']<_0x4b8950&&_0x2370f5['right']>_0x564d55&&_0x2370f5['top']<_0x52a3f1+_0x89292d&&_0x2370f5['bottom']>_0x52a3f1&&(_0x52a3f1=_0x2734ef?_0x2370f5['top']-_0x89292d-0x2-_0x706904:_0x2370f5['bottom']+_0x706904+0x2);}if('absolute'==this['position']?(_0x4ca2ea['style']['top']=(_0x52a3f1-_0x2202b1['parent']['top'])/_0x30b994+'px',_0x3d12f0(_0x4ca2ea,(_0x564d55-_0x2202b1['parent']['left'])/_0x440f8c)):(_0x4ca2ea['style']['top']=_0x52a3f1/_0x30b994+'px',_0x3d12f0(_0x4ca2ea,_0x564d55/_0x440f8c)),_0x15d807){let _0x2c5155=_0x503ad3['left']+(_0x135694?_0x1e20b2['x']:-_0x1e20b2['x'])-(_0x564d55+0xe-0x7);_0x15d807['style']['left']=_0x2c5155/_0x440f8c+'px';}!0x0!==_0x43362f['overlap']&&_0x41c7ca['push']({'left':_0x564d55,'top':_0x52a3f1,'right':_0x4b8950,'bottom':_0x52a3f1+_0x89292d}),_0x4ca2ea['classList']['toggle']('cm-tooltip-above',_0x2734ef),_0x4ca2ea['classList']['toggle']('cm-tooltip-below',!_0x2734ef),_0x43362f['positioned']&&_0x43362f['positioned'](_0x2202b1['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 _0x4a6ede of this['manager']['tooltipViews'])_0x4a6ede['dom']['style']['top']=_0x495d5c;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function _0x3d12f0(_0x2d4985,_0x42a458){let _0x58bec0=parseInt(_0x2d4985['style']['left'],0xa);(isNaN(_0x58bec0)||Math['abs'](_0x42a458-_0x58bec0)>0x1)&&(_0x2d4985['style']['left']=_0x42a458+'px');}const _0x294eb2=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'}}}),_0x117991={'x':0x0,'y':0x0},_0x5ebfac=Facet['define']({'enables':[_0x3a3057,_0x294eb2]});function _0x289894(_0x3aa24e,_0x50451a){let _0x51d8ca=_0x3aa24e['plugin'](_0x3a3057);if(!_0x51d8ca)return null;let _0x119c19=_0x51d8ca['manager']['tooltips']['indexOf'](_0x50451a);return _0x119c19<0x0?null:_0x51d8ca['manager']['tooltipViews'][_0x119c19];}class GutterMarker extends _0x1b2e2e{['compare'](_0x4f4b75){return this==_0x4f4b75||this['constructor']==_0x4f4b75['constructor']&&this['eq'](_0x4f4b75);}['eq'](_0xb85650){return!0x1;}['destroy'](_0x5e6318){}}GutterMarker['prototype']['elementClass']='',GutterMarker['prototype']['toDOM']=void 0x0,GutterMarker['prototype']['mapMode']=_0x25b43e['TrackBefore'],GutterMarker['prototype']['startSide']=GutterMarker['prototype']['endSide']=-0x1,GutterMarker['prototype']['point']=!0x0;const _0x2f328e=Facet['define'](),_0x580548=Facet['define'](),t_={'class':'','renderEmptyElements':!0x1,'elementStyle':'','markers':()=>RangeSet['empty'],'lineMarker':()=>null,'widgetMarker':()=>null,'lineMarkerChange':null,'initialSpacer':null,'updateSpacer':null,'domEventHandlers':{},'side':'before'},_0x80c419=Facet['define']();function _0x409b74(_0x5af9c5){return[_0x3002bc(),_0x80c419['of']({...t_,..._0x5af9c5})];}const _0x35ac88=Facet['define']({'combine':_0x52cef5=>_0x52cef5['some'](_0x16090c=>_0x16090c)});function _0x3002bc(_0x2897db){return[_0xb92d98];}const _0xb92d98=_0x470e1f['fromClass'](class{constructor(_0x415686){this['view']=_0x415686,this['domAfter']=null,this['prevViewport']=_0x415686['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']=_0x415686['state']['facet'](_0x80c419)['map'](_0x18274b=>new SingleGutterView(_0x415686,_0x18274b)),this['fixed']=!_0x415686['state']['facet'](_0x35ac88);for(let _0x136f91 of this['gutters'])'after'==_0x136f91['config']['side']?this['getDOMAfter']()['appendChild'](_0x136f91['dom']):this['dom']['appendChild'](_0x136f91['dom']);this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0x415686['scrollDOM']['insertBefore'](this['dom'],_0x415686['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'](_0x5165a7){if(this['updateGutters'](_0x5165a7)){let _0x944b37=this['prevViewport'],_0x902533=_0x5165a7['view']['viewport'],_0xea0d4=Math['min'](_0x944b37['to'],_0x902533['to'])-Math['max'](_0x944b37['from'],_0x902533['from']);this['syncGutters'](_0xea0d4<0.8*(_0x902533['to']-_0x902533['from']));}if(_0x5165a7['geometryChanged']){let _0x3d7ac9=this['view']['contentHeight']/this['view']['scaleY']+'px';this['dom']['style']['minHeight']=_0x3d7ac9,this['domAfter']&&(this['domAfter']['style']['minHeight']=_0x3d7ac9);}this['view']['state']['facet'](_0x35ac88)!=!this['fixed']&&(this['fixed']=!this['fixed'],this['dom']['style']['position']=this['fixed']?'sticky':'',this['domAfter']&&(this['domAfter']['style']['position']=this['fixed']?'sticky':'')),this['prevViewport']=_0x5165a7['view']['viewport'];}['syncGutters'](_0x349220){let _0x5e640d=this['dom']['nextSibling'];_0x349220&&(this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']());let _0x2c0d30=RangeSet['iter'](this['view']['state']['facet'](_0x2f328e),this['view']['viewport']['from']),_0x2ba69b=[],_0x17be40=this['gutters']['map'](_0x280300=>new UpdateContext(_0x280300,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x228c53 of this['view']['viewportLineBlocks'])if(_0x2ba69b['length']&&(_0x2ba69b=[]),Array['isArray'](_0x228c53['type'])){let _0x294d5f=!0x0;for(let _0x5306e3 of _0x228c53['type'])if(_0x5306e3['type']==_0x5cf05d['Text']&&_0x294d5f){_0x285e37(_0x2c0d30,_0x2ba69b,_0x5306e3['from']);for(let _0x4c4e15 of _0x17be40)_0x4c4e15['line'](this['view'],_0x5306e3,_0x2ba69b);_0x294d5f=!0x1;}else{if(_0x5306e3['widget']){for(let _0x4c72f5 of _0x17be40)_0x4c72f5['widget'](this['view'],_0x5306e3);}}}else{if(_0x228c53['type']==_0x5cf05d['Text']){_0x285e37(_0x2c0d30,_0x2ba69b,_0x228c53['from']);for(let _0x1bc5ea of _0x17be40)_0x1bc5ea['line'](this['view'],_0x228c53,_0x2ba69b);}else{if(_0x228c53['widget']){for(let _0x2cf7a4 of _0x17be40)_0x2cf7a4['widget'](this['view'],_0x228c53);}}}for(let _0x350e5f of _0x17be40)_0x350e5f['finish']();_0x349220&&(this['view']['scrollDOM']['insertBefore'](this['dom'],_0x5e640d),this['domAfter']&&this['view']['scrollDOM']['appendChild'](this['domAfter']));}['updateGutters'](_0x406424){let _0x40da7b=_0x406424['startState']['facet'](_0x80c419),_0x543b1d=_0x406424['state']['facet'](_0x80c419),_0x20a1f8=_0x406424['docChanged']||_0x406424['heightChanged']||_0x406424['viewportChanged']||!RangeSet['eq'](_0x406424['startState']['facet'](_0x2f328e),_0x406424['state']['facet'](_0x2f328e),_0x406424['view']['viewport']['from'],_0x406424['view']['viewport']['to']);if(_0x40da7b==_0x543b1d){for(let _0x2c7454 of this['gutters'])_0x2c7454['update'](_0x406424)&&(_0x20a1f8=!0x0);}else{_0x20a1f8=!0x0;let _0x7a431c=[];for(let _0x2d6025 of _0x543b1d){let _0x47924e=_0x40da7b['indexOf'](_0x2d6025);_0x47924e<0x0?_0x7a431c['push'](new SingleGutterView(this['view'],_0x2d6025)):(this['gutters'][_0x47924e]['update'](_0x406424),_0x7a431c['push'](this['gutters'][_0x47924e]));}for(let _0x12dcbe of this['gutters'])_0x12dcbe['dom']['remove'](),_0x7a431c['indexOf'](_0x12dcbe)<0x0&&_0x12dcbe['destroy']();for(let _0x587b09 of _0x7a431c)'after'==_0x587b09['config']['side']?this['getDOMAfter']()['appendChild'](_0x587b09['dom']):this['dom']['appendChild'](_0x587b09['dom']);this['gutters']=_0x7a431c;}return _0x20a1f8;}['destroy'](){for(let _0x251823 of this['gutters'])_0x251823['destroy']();this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']();}},{'provide':_0x13248c=>EditorView['scrollMargins']['of'](_0x599482=>{let _0x4e0c29=_0x599482['plugin'](_0x13248c);if(!_0x4e0c29||0x0==_0x4e0c29['gutters']['length']||!_0x4e0c29['fixed'])return null;let _0x2ef3ac=_0x4e0c29['dom']['offsetWidth']*_0x599482['scaleX'],_0x4e1181=_0x4e0c29['domAfter']?_0x4e0c29['domAfter']['offsetWidth']*_0x599482['scaleX']:0x0;return _0x599482['textDirection']==_0x590046['LTR']?{'left':_0x2ef3ac,'right':_0x4e1181}:{'right':_0x2ef3ac,'left':_0x4e1181};})});function _0x153e2d(_0x30505f){return Array['isArray'](_0x30505f)?_0x30505f:[_0x30505f];}function _0x285e37(_0x4b7e3f,_0x2acde0,_0x56d3a0){for(;_0x4b7e3f['value']&&_0x4b7e3f['from']<=_0x56d3a0;)_0x4b7e3f['from']==_0x56d3a0&&_0x2acde0['push'](_0x4b7e3f['value']),_0x4b7e3f['next']();}class UpdateContext{constructor(_0x491cbb,_0x33115d,_0x5b03ef){this['gutter']=_0x491cbb,this['height']=_0x5b03ef,this['i']=0x0,this['cursor']=RangeSet['iter'](_0x491cbb['markers'],_0x33115d['from']);}['addElement'](_0x3f7057,_0x58ea45,_0x579ab){let {gutter:_0x212efd}=this,_0x2474ed=(_0x58ea45['top']-this['height'])/_0x3f7057['scaleY'],_0x179386=_0x58ea45['height']/_0x3f7057['scaleY'];if(this['i']==_0x212efd['elements']['length']){let _0x224579=new GutterElement(_0x3f7057,_0x179386,_0x2474ed,_0x579ab);_0x212efd['elements']['push'](_0x224579),_0x212efd['dom']['appendChild'](_0x224579['dom']);}else _0x212efd['elements'][this['i']]['update'](_0x3f7057,_0x179386,_0x2474ed,_0x579ab);this['height']=_0x58ea45['bottom'],this['i']++;}['line'](_0x1aee17,_0x102c1f,_0x18f985){let _0x62acfc=[];_0x285e37(this['cursor'],_0x62acfc,_0x102c1f['from']),_0x18f985['length']&&(_0x62acfc=_0x62acfc['concat'](_0x18f985));let _0x4785d4=this['gutter']['config']['lineMarker'](_0x1aee17,_0x102c1f,_0x62acfc);_0x4785d4&&_0x62acfc['unshift'](_0x4785d4);let _0x2c5c80=this['gutter'];(0x0!=_0x62acfc['length']||_0x2c5c80['config']['renderEmptyElements'])&&this['addElement'](_0x1aee17,_0x102c1f,_0x62acfc);}['widget'](_0x91617b,_0x38e13c){let _0x2ca896=this['gutter']['config']['widgetMarker'](_0x91617b,_0x38e13c['widget'],_0x38e13c),_0xfd0f41=_0x2ca896?[_0x2ca896]:null;for(let _0x3ca8b4 of _0x91617b['state']['facet'](_0x580548)){let _0x1ee4e5=_0x3ca8b4(_0x91617b,_0x38e13c['widget'],_0x38e13c);_0x1ee4e5&&(_0xfd0f41||(_0xfd0f41=[]))['push'](_0x1ee4e5);}_0xfd0f41&&this['addElement'](_0x91617b,_0x38e13c,_0xfd0f41);}['finish'](){let _0x15d8e7=this['gutter'];for(;_0x15d8e7['elements']['length']>this['i'];){let _0x36f222=_0x15d8e7['elements']['pop']();_0x15d8e7['dom']['removeChild'](_0x36f222['dom']),_0x36f222['destroy']();}}}class SingleGutterView{constructor(_0x7ad0b1,_0x4e609b){this['view']=_0x7ad0b1,this['config']=_0x4e609b,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x4e17af in _0x4e609b['domEventHandlers'])this['dom']['addEventListener'](_0x4e17af,_0x3409be=>{let _0x199cfc,_0x4c373d=_0x3409be['target'];if(_0x4c373d!=this['dom']&&this['dom']['contains'](_0x4c373d)){for(;_0x4c373d['parentNode']!=this['dom'];)_0x4c373d=_0x4c373d['parentNode'];let _0xc695b1=_0x4c373d['getBoundingClientRect']();_0x199cfc=(_0xc695b1['top']+_0xc695b1['bottom'])/0x2;}else _0x199cfc=_0x3409be['clientY'];let _0x336466=_0x7ad0b1['lineBlockAtHeight'](_0x199cfc-_0x7ad0b1['documentTop']);_0x4e609b['domEventHandlers'][_0x4e17af](_0x7ad0b1,_0x336466,_0x3409be)&&_0x3409be['preventDefault']();});this['markers']=_0x153e2d(_0x4e609b['markers'](_0x7ad0b1)),_0x4e609b['initialSpacer']&&(this['spacer']=new GutterElement(_0x7ad0b1,0x0,0x0,[_0x4e609b['initialSpacer'](_0x7ad0b1)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}['update'](_0x9b3bd3){let _0x44fd5a=this['markers'];if(this['markers']=_0x153e2d(this['config']['markers'](_0x9b3bd3['view'])),this['spacer']&&this['config']['updateSpacer']){let _0x3abaf3=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0x9b3bd3);_0x3abaf3!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0x9b3bd3['view'],0x0,0x0,[_0x3abaf3]);}let _0x3af0d0=_0x9b3bd3['view']['viewport'];return!RangeSet['eq'](this['markers'],_0x44fd5a,_0x3af0d0['from'],_0x3af0d0['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0x9b3bd3);}['destroy'](){for(let _0x338403 of this['elements'])_0x338403['destroy']();}}class GutterElement{constructor(_0x3ec78a,_0x1566c6,_0x54d5c7,_0x47b8b){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0x3ec78a,_0x1566c6,_0x54d5c7,_0x47b8b);}['update'](_0x9a42d2,_0x38df92,_0x112b95,_0x4ad7a4){this['height']!=_0x38df92&&(this['height']=_0x38df92,this['dom']['style']['height']=_0x38df92+'px'),this['above']!=_0x112b95&&(this['dom']['style']['marginTop']=(this['above']=_0x112b95)?_0x112b95+'px':''),function(_0x395f23,_0x5ae65e){if(_0x395f23['length']!=_0x5ae65e['length'])return!0x1;for(let _0x1d4033=0x0;_0x1d4033<_0x395f23['length'];_0x1d4033++)if(!_0x395f23[_0x1d4033]['compare'](_0x5ae65e[_0x1d4033]))return!0x1;return!0x0;}(this['markers'],_0x4ad7a4)||this['setMarkers'](_0x9a42d2,_0x4ad7a4);}['setMarkers'](_0x3b136a,_0x48facf){let _0xcad27e='cm-gutterElement',_0x44fc70=this['dom']['firstChild'];for(let _0x251cbc=0x0,_0xab5530=0x0;;){let _0x4292c2=_0xab5530,_0xa5a3f6=_0x251cbc<_0x48facf['length']?_0x48facf[_0x251cbc++]:null,_0x10e3b9=!0x1;if(_0xa5a3f6){let _0x2f0cb2=_0xa5a3f6['elementClass'];_0x2f0cb2&&(_0xcad27e+='\x20'+_0x2f0cb2);for(let _0x4629cf=_0xab5530;_0x4629cf<this['markers']['length'];_0x4629cf++)if(this['markers'][_0x4629cf]['compare'](_0xa5a3f6)){_0x4292c2=_0x4629cf,_0x10e3b9=!0x0;break;}}else _0x4292c2=this['markers']['length'];for(;_0xab5530<_0x4292c2;){let _0x5cc783=this['markers'][_0xab5530++];if(_0x5cc783['toDOM']){_0x5cc783['destroy'](_0x44fc70);let _0x215cf1=_0x44fc70['nextSibling'];_0x44fc70['remove'](),_0x44fc70=_0x215cf1;}}if(!_0xa5a3f6)break;_0xa5a3f6['toDOM']&&(_0x10e3b9?_0x44fc70=_0x44fc70['nextSibling']:this['dom']['insertBefore'](_0xa5a3f6['toDOM'](_0x3b136a),_0x44fc70)),_0x10e3b9&&_0xab5530++;}this['dom']['className']=_0xcad27e,this['markers']=_0x48facf;}['destroy'](){this['setMarkers'](null,[]);}}const _0x36e7fb=Facet['define'](),_0xc9ff2e=Facet['define'](),_0x4d0a44=Facet['define']({'combine':_0x12b9cc=>_0x4fcf55(_0x12b9cc,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0x5a14a4,_0x28efa9){let _0x1439f9=Object['assign']({},_0x5a14a4);for(let _0x283585 in _0x28efa9){let _0x326562=_0x1439f9[_0x283585],_0x1bae6a=_0x28efa9[_0x283585];_0x1439f9[_0x283585]=_0x326562?(_0x48cb32,_0x5cd21f,_0x35c2db)=>_0x326562(_0x48cb32,_0x5cd21f,_0x35c2db)||_0x1bae6a(_0x48cb32,_0x5cd21f,_0x35c2db):_0x1bae6a;}return _0x1439f9;}})});class _0xa111eb extends GutterMarker{constructor(_0x2107f3){super(),this['number']=_0x2107f3;}['eq'](_0x3934ae){return this['number']==_0x3934ae['number'];}['toDOM'](){return document['createTextNode'](this['number']);}}function _0x49c2b0(_0x5c4286,_0x1a1a13){return _0x5c4286['state']['facet'](_0x4d0a44)['formatNumber'](_0x1a1a13,_0x5c4286['state']);}const _0x45f66f=_0x80c419['compute']([_0x4d0a44],_0x225bf3=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0x3d4381=>_0x3d4381['state']['facet'](_0x36e7fb),'lineMarker':(_0x197966,_0x298784,_0x24a5c5)=>_0x24a5c5['some'](_0x33f7f0=>_0x33f7f0['toDOM'])?null:new _0xa111eb(_0x49c2b0(_0x197966,_0x197966['state']['doc']['lineAt'](_0x298784['from'])['number'])),'widgetMarker':(_0x52e83f,_0x3f6a9b,_0x4117dd)=>{for(let _0x276ec9 of _0x52e83f['state']['facet'](_0xc9ff2e)){let _0x1374b8=_0x276ec9(_0x52e83f,_0x3f6a9b,_0x4117dd);if(_0x1374b8)return _0x1374b8;}return null;},'lineMarkerChange':_0x43d323=>_0x43d323['startState']['facet'](_0x4d0a44)!=_0x43d323['state']['facet'](_0x4d0a44),'initialSpacer':_0x4caf5a=>new _0xa111eb(_0x49c2b0(_0x4caf5a,_0xbc24e8(_0x4caf5a['state']['doc']['lines']))),'updateSpacer'(_0x992ac5,_0x5a431a){let _0xf3d270=_0x49c2b0(_0x5a431a['view'],_0xbc24e8(_0x5a431a['view']['state']['doc']['lines']));return _0xf3d270==_0x992ac5['number']?_0x992ac5:new _0xa111eb(_0xf3d270);},'domEventHandlers':_0x225bf3['facet'](_0x4d0a44)['domEventHandlers'],'side':'before'}));function _0x2546bc(_0x548215={}){return[_0x4d0a44['of'](_0x548215),_0x3002bc(),_0x45f66f];}function _0xbc24e8(_0x4b42bb){let _0xf37f9e=0x9;for(;_0xf37f9e<_0x4b42bb;)_0xf37f9e=0xa*_0xf37f9e+0x9;return _0xf37f9e;}const _0x3456a4=new class extends GutterMarker{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),_0x478355=_0x2f328e['compute'](['selection'],_0x1271e0=>{let _0x2ae79c=[],_0x16ea02=-0x1;for(let _0x1aa9f3 of _0x1271e0['selection']['ranges']){let _0x153a23=_0x1271e0['doc']['lineAt'](_0x1aa9f3['head'])['from'];_0x153a23>_0x16ea02&&(_0x16ea02=_0x153a23,_0x2ae79c['push'](_0x3456a4['range'](_0x153a23)));}return RangeSet['of'](_0x2ae79c);});function _0x423fe4(){return _0x478355;}const _0x316105=0x400;let _0x32915a=0x0;class _0x278345{constructor(_0x212d14,_0x1a9ebf){this['from']=_0x212d14,this['to']=_0x1a9ebf;}}class _0xdd8853{constructor(_0x248ac9={}){this['id']=_0x32915a++,this['perNode']=!!_0x248ac9['perNode'],this['deserialize']=_0x248ac9['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');}),this['combine']=_0x248ac9['combine']||null;}['add'](_0x1cc747){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x1cc747&&(_0x1cc747=_0x4c1c7e['match'](_0x1cc747)),_0x3ec4ca=>{let _0x1d9053=_0x1cc747(_0x3ec4ca);return void 0x0===_0x1d9053?null:[this,_0x1d9053];};}}_0xdd8853['closedBy']=new _0xdd8853({'deserialize':_0x135442=>_0x135442['split']('\x20')}),_0xdd8853['openedBy']=new _0xdd8853({'deserialize':_0x2fdbba=>_0x2fdbba['split']('\x20')}),_0xdd8853['group']=new _0xdd8853({'deserialize':_0x284103=>_0x284103['split']('\x20')}),_0xdd8853['isolate']=new _0xdd8853({'deserialize':_0x4a1fd2=>{if(_0x4a1fd2&&'rtl'!=_0x4a1fd2&&'ltr'!=_0x4a1fd2&&'auto'!=_0x4a1fd2)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0x4a1fd2);return _0x4a1fd2||'auto';}}),_0xdd8853['contextHash']=new _0xdd8853({'perNode':!0x0}),_0xdd8853['lookAhead']=new _0xdd8853({'perNode':!0x0}),_0xdd8853['mounted']=new _0xdd8853({'perNode':!0x0});class MountedTree{constructor(_0xa308d8,_0x52fe39,_0x24a2d9){this['tree']=_0xa308d8,this['overlay']=_0x52fe39,this['parser']=_0x24a2d9;}static['get'](_0xd6fad8){return _0xd6fad8&&_0xd6fad8['props']&&_0xd6fad8['props'][_0xdd8853['mounted']['id']];}}const _0x1a90fb=Object['create'](null);class _0x4c1c7e{constructor(_0x32b5a8,_0x4d44ce,_0x110f00,_0x28d31c=0x0){this['name']=_0x32b5a8,this['props']=_0x4d44ce,this['id']=_0x110f00,this['flags']=_0x28d31c;}static['define'](_0x442cbd){let _0x420ac9=_0x442cbd['props']&&_0x442cbd['props']['length']?Object['create'](null):_0x1a90fb,_0x6c8a22=(_0x442cbd['top']?0x1:0x0)|(_0x442cbd['skipped']?0x2:0x0)|(_0x442cbd['error']?0x4:0x0)|(null==_0x442cbd['name']?0x8:0x0),_0x5c2dbf=new _0x4c1c7e(_0x442cbd['name']||'',_0x420ac9,_0x442cbd['id'],_0x6c8a22);if(_0x442cbd['props']){for(let _0xa277de of _0x442cbd['props'])if(Array['isArray'](_0xa277de)||(_0xa277de=_0xa277de(_0x5c2dbf)),_0xa277de){if(_0xa277de[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0x420ac9[_0xa277de[0x0]['id']]=_0xa277de[0x1];}}return _0x5c2dbf;}['prop'](_0x22c56f){return this['props'][_0x22c56f['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'](_0x574be5){if('string'==typeof _0x574be5){if(this['name']==_0x574be5)return!0x0;let _0x734b6e=this['prop'](_0xdd8853['group']);return!!_0x734b6e&&_0x734b6e['indexOf'](_0x574be5)>-0x1;}return this['id']==_0x574be5;}static['match'](_0x3119bf){let _0x4fcd98=Object['create'](null);for(let _0x4a1ee7 in _0x3119bf)for(let _0x201311 of _0x4a1ee7['split']('\x20'))_0x4fcd98[_0x201311]=_0x3119bf[_0x4a1ee7];return _0x1523e6=>{for(let _0x5601b1=_0x1523e6['prop'](_0xdd8853['group']),_0x4ddf2d=-0x1;_0x4ddf2d<(_0x5601b1?_0x5601b1['length']:0x0);_0x4ddf2d++){let _0x396f9b=_0x4fcd98[_0x4ddf2d<0x0?_0x1523e6['name']:_0x5601b1[_0x4ddf2d]];if(_0x396f9b)return _0x396f9b;}};}}_0x4c1c7e['none']=new _0x4c1c7e('',Object['create'](null),0x0,0x8);class NodeSet{constructor(_0x2d55a8){this['types']=_0x2d55a8;for(let _0x8138a1=0x0;_0x8138a1<_0x2d55a8['length'];_0x8138a1++)if(_0x2d55a8[_0x8138a1]['id']!=_0x8138a1)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}['extend'](..._0x2e0daa){let _0x48e29c=[];for(let _0x192110 of this['types']){let _0x535f26=null;for(let _0x5596ad of _0x2e0daa){let _0x509c15=_0x5596ad(_0x192110);if(_0x509c15){_0x535f26||(_0x535f26=Object['assign']({},_0x192110['props']));let _0x36123d=_0x509c15[0x1],_0x269753=_0x509c15[0x0];_0x269753['combine']&&_0x269753['id']in _0x535f26&&(_0x36123d=_0x269753['combine'](_0x535f26[_0x269753['id']],_0x36123d)),_0x535f26[_0x269753['id']]=_0x36123d;}}_0x48e29c['push'](_0x535f26?new _0x4c1c7e(_0x192110['name'],_0x535f26,_0x192110['id'],_0x192110['flags']):_0x192110);}return new NodeSet(_0x48e29c);}}const _0x212e2a=new WeakMap(),_0x1fc6ce=new WeakMap();var _0x2a3c3d;!function(_0x55f42b){_0x55f42b[_0x55f42b['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x55f42b[_0x55f42b['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x55f42b[_0x55f42b['IgnoreMounts']=0x4]='IgnoreMounts',_0x55f42b[_0x55f42b['IgnoreOverlays']=0x8]='IgnoreOverlays';}(_0x2a3c3d||(_0x2a3c3d={}));class _0x626f5b{constructor(_0x8c1677,_0x271380,_0x55eabe,_0x43cefa,_0x41f789){if(this['type']=_0x8c1677,this['children']=_0x271380,this['positions']=_0x55eabe,this['length']=_0x43cefa,this['props']=null,_0x41f789&&_0x41f789['length']){this['props']=Object['create'](null);for(let [_0x1b2b88,_0x3fd146]of _0x41f789)this['props']['number'==typeof _0x1b2b88?_0x1b2b88:_0x1b2b88['id']]=_0x3fd146;}}['toString'](){let _0x7ebbdc=MountedTree['get'](this);if(_0x7ebbdc&&!_0x7ebbdc['overlay'])return _0x7ebbdc['tree']['toString']();let _0x3cf2a1='';for(let _0x115cf1 of this['children']){let _0x54aa32=_0x115cf1['toString']();_0x54aa32&&(_0x3cf2a1&&(_0x3cf2a1+=','),_0x3cf2a1+=_0x54aa32);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0x3cf2a1['length']?'('+_0x3cf2a1+')':''):_0x3cf2a1;}['cursor'](_0x13ad8f=0x0){return new _0x19362a(this['topNode'],_0x13ad8f);}['cursorAt'](_0x53d6e0,_0x5ede9c=0x0,_0x2b8b40=0x0){let _0x580e73=_0x212e2a['get'](this)||this['topNode'],_0x59fbd6=new _0x19362a(_0x580e73);return _0x59fbd6['moveTo'](_0x53d6e0,_0x5ede9c),_0x212e2a['set'](this,_0x59fbd6['_tree']),_0x59fbd6;}get['topNode'](){return new _0x59e173(this,0x0,0x0,null);}['resolve'](_0x343f,_0x9848bf=0x0){let _0x4aa419=_0xa74506(_0x212e2a['get'](this)||this['topNode'],_0x343f,_0x9848bf,!0x1);return _0x212e2a['set'](this,_0x4aa419),_0x4aa419;}['resolveInner'](_0x55b8e9,_0x1b330b=0x0){let _0x57027b=_0xa74506(_0x1fc6ce['get'](this)||this['topNode'],_0x55b8e9,_0x1b330b,!0x0);return _0x1fc6ce['set'](this,_0x57027b),_0x57027b;}['resolveStack'](_0x3f1ea5,_0x2f608a=0x0){return function(_0x2c6f39,_0x497e77,_0x2d6134){let _0x15aa48=_0x2c6f39['resolveInner'](_0x497e77,_0x2d6134),_0x3849f9=null;for(let _0x42706c=_0x15aa48 instanceof _0x59e173?_0x15aa48:_0x15aa48['context']['parent'];_0x42706c;_0x42706c=_0x42706c['parent'])if(_0x42706c['index']<0x0){let _0x52cd8b=_0x42706c['parent'];(_0x3849f9||(_0x3849f9=[_0x15aa48]))['push'](_0x52cd8b['resolve'](_0x497e77,_0x2d6134)),_0x42706c=_0x52cd8b;}else{let _0x3ffdba=MountedTree['get'](_0x42706c['tree']);if(_0x3ffdba&&_0x3ffdba['overlay']&&_0x3ffdba['overlay'][0x0]['from']<=_0x497e77&&_0x3ffdba['overlay'][_0x3ffdba['overlay']['length']-0x1]['to']>=_0x497e77){let _0x5c2e0e=new _0x59e173(_0x3ffdba['tree'],_0x3ffdba['overlay'][0x0]['from']+_0x42706c['from'],-0x1,_0x42706c);(_0x3849f9||(_0x3849f9=[_0x15aa48]))['push'](_0xa74506(_0x5c2e0e,_0x497e77,_0x2d6134,!0x1));}}return _0x3849f9?_0x2c989a(_0x3849f9):_0x15aa48;}(this,_0x3f1ea5,_0x2f608a);}['iterate'](_0x5729c3){let {enter:_0x2ebfa9,leave:_0x4e4f84,from:_0x43e3eb=0x0,to:_0x2ce16f=this['length']}=_0x5729c3,_0x56db1a=_0x5729c3['mode']||0x0,_0x481010=(_0x56db1a&_0x2a3c3d['IncludeAnonymous'])>0x0;for(let _0x1093ae=this['cursor'](_0x56db1a|_0x2a3c3d['IncludeAnonymous']);;){let _0x2545d1=!0x1;if(_0x1093ae['from']<=_0x2ce16f&&_0x1093ae['to']>=_0x43e3eb&&(!_0x481010&&_0x1093ae['type']['isAnonymous']||!0x1!==_0x2ebfa9(_0x1093ae))){if(_0x1093ae['firstChild']())continue;_0x2545d1=!0x0;}for(;_0x2545d1&&_0x4e4f84&&(_0x481010||!_0x1093ae['type']['isAnonymous'])&&_0x4e4f84(_0x1093ae),!_0x1093ae['nextSibling']();){if(!_0x1093ae['parent']())return;_0x2545d1=!0x0;}}}['prop'](_0x242f8b){return _0x242f8b['perNode']?this['props']?this['props'][_0x242f8b['id']]:void 0x0:this['type']['prop'](_0x242f8b);}get['propValues'](){let _0x32bf53=[];if(this['props']){for(let _0x1520b9 in this['props'])_0x32bf53['push']([+_0x1520b9,this['props'][_0x1520b9]]);}return _0x32bf53;}['balance'](_0x2f94bd={}){return this['children']['length']<=0x8?this:_0xb98d27(_0x4c1c7e['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0x11fc9e,_0xe3fd4f,_0x2ac694)=>new _0x626f5b(this['type'],_0x11fc9e,_0xe3fd4f,_0x2ac694,this['propValues']),_0x2f94bd['makeTree']||((_0x25a8cc,_0x11733e,_0x1de9d5)=>new _0x626f5b(_0x4c1c7e['none'],_0x25a8cc,_0x11733e,_0x1de9d5)));}static['build'](_0x153224){return function(_0x94a2b7){var _0x5c7e8a;let {buffer:_0x342b6f,nodeSet:_0x294978,maxBufferLength:_0x20ab8d=_0x316105,reused:_0x34fdd1=[],minRepeatType:_0x5f10d3=_0x294978['types']['length']}=_0x94a2b7,_0x41fbc7=Array['isArray'](_0x342b6f)?new FlatBufferCursor(_0x342b6f,_0x342b6f['length']):_0x342b6f,_0x29342a=_0x294978['types'],_0x2d57db=0x0,_0x4feec9=0x0;function _0x27c8aa(_0x54edaa,_0x305571,_0x1f42e6,_0x21f693,_0x308d4c,_0x5c8110){let {id:_0x1bd585,start:_0x38a914,end:_0x5a977e,size:_0x203694}=_0x41fbc7,_0x1a4f50=_0x4feec9,_0x76cd27=_0x2d57db;if(_0x203694<0x0){if(_0x41fbc7['next'](),-0x1==_0x203694){let _0x31b469=_0x34fdd1[_0x1bd585];return _0x1f42e6['push'](_0x31b469),void _0x21f693['push'](_0x38a914-_0x54edaa);}if(-0x3==_0x203694)return void(_0x2d57db=_0x1bd585);if(-0x4==_0x203694)return void(_0x4feec9=_0x1bd585);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x203694);}let _0x519e8a,_0x3180e3,_0x2eb53c=_0x29342a[_0x1bd585],_0x17563e=_0x38a914-_0x54edaa;if(_0x5a977e-_0x38a914<=_0x20ab8d&&(_0x3180e3=_0x31c4aa(_0x41fbc7['pos']-_0x305571,_0x308d4c))){let _0x2c010e=new Uint16Array(_0x3180e3['size']-_0x3180e3['skip']),_0x47c452=_0x41fbc7['pos']-_0x3180e3['size'],_0x387aa6=_0x2c010e['length'];for(;_0x41fbc7['pos']>_0x47c452;)_0x387aa6=_0x294d86(_0x3180e3['start'],_0x2c010e,_0x387aa6);_0x519e8a=new _0x10af0d(_0x2c010e,_0x5a977e-_0x3180e3['start'],_0x294978),_0x17563e=_0x3180e3['start']-_0x54edaa;}else{let _0x1e3c81=_0x41fbc7['pos']-_0x203694;_0x41fbc7['next']();let _0x14a64b=[],_0x16a920=[],_0x49aa5=_0x1bd585>=_0x5f10d3?_0x1bd585:-0x1,_0x2c0b54=0x0,_0x126e44=_0x5a977e;for(;_0x41fbc7['pos']>_0x1e3c81;)_0x49aa5>=0x0&&_0x41fbc7['id']==_0x49aa5&&_0x41fbc7['size']>=0x0?(_0x41fbc7['end']<=_0x126e44-_0x20ab8d&&(_0x46ac4b(_0x14a64b,_0x16a920,_0x38a914,_0x2c0b54,_0x41fbc7['end'],_0x126e44,_0x49aa5,_0x1a4f50,_0x76cd27),_0x2c0b54=_0x14a64b['length'],_0x126e44=_0x41fbc7['end']),_0x41fbc7['next']()):_0x5c8110>0x9c4?_0xcb1a0b(_0x38a914,_0x1e3c81,_0x14a64b,_0x16a920):_0x27c8aa(_0x38a914,_0x1e3c81,_0x14a64b,_0x16a920,_0x49aa5,_0x5c8110+0x1);if(_0x49aa5>=0x0&&_0x2c0b54>0x0&&_0x2c0b54<_0x14a64b['length']&&_0x46ac4b(_0x14a64b,_0x16a920,_0x38a914,_0x2c0b54,_0x38a914,_0x126e44,_0x49aa5,_0x1a4f50,_0x76cd27),_0x14a64b['reverse'](),_0x16a920['reverse'](),_0x49aa5>-0x1&&_0x2c0b54>0x0){let _0x4c019e=_0x26cfd9(_0x2eb53c,_0x76cd27);_0x519e8a=_0xb98d27(_0x2eb53c,_0x14a64b,_0x16a920,0x0,_0x14a64b['length'],0x0,_0x5a977e-_0x38a914,_0x4c019e,_0x4c019e);}else _0x519e8a=_0x44edf0(_0x2eb53c,_0x14a64b,_0x16a920,_0x5a977e-_0x38a914,_0x1a4f50-_0x5a977e,_0x76cd27);}_0x1f42e6['push'](_0x519e8a),_0x21f693['push'](_0x17563e);}function _0xcb1a0b(_0x6afaaa,_0x1190e6,_0x1ad44b,_0x3ae015){let _0x1b0ed9=[],_0x28505f=0x0,_0x1244d6=-0x1;for(;_0x41fbc7['pos']>_0x1190e6;){let {id:_0x51fbb1,start:_0x2d7bc8,end:_0x3b0c00,size:_0x2f92ff}=_0x41fbc7;if(_0x2f92ff>0x4)_0x41fbc7['next']();else{if(_0x1244d6>-0x1&&_0x2d7bc8<_0x1244d6)break;_0x1244d6<0x0&&(_0x1244d6=_0x3b0c00-_0x20ab8d),_0x1b0ed9['push'](_0x51fbb1,_0x2d7bc8,_0x3b0c00),_0x28505f++,_0x41fbc7['next']();}}if(_0x28505f){let _0x296f8a=new Uint16Array(0x4*_0x28505f),_0x41d5f6=_0x1b0ed9[_0x1b0ed9['length']-0x2];for(let _0x85567f=_0x1b0ed9['length']-0x3,_0x19113b=0x0;_0x85567f>=0x0;_0x85567f-=0x3)_0x296f8a[_0x19113b++]=_0x1b0ed9[_0x85567f],_0x296f8a[_0x19113b++]=_0x1b0ed9[_0x85567f+0x1]-_0x41d5f6,_0x296f8a[_0x19113b++]=_0x1b0ed9[_0x85567f+0x2]-_0x41d5f6,_0x296f8a[_0x19113b++]=_0x19113b;_0x1ad44b['push'](new _0x10af0d(_0x296f8a,_0x1b0ed9[0x2]-_0x41d5f6,_0x294978)),_0x3ae015['push'](_0x41d5f6-_0x6afaaa);}}function _0x26cfd9(_0x16b40e,_0x466c9d){return(_0x2cb030,_0x2026e7,_0x3328cb)=>{let _0x4dbc7c,_0x3f6922,_0x485809=0x0,_0x15fb69=_0x2cb030['length']-0x1;if(_0x15fb69>=0x0&&(_0x4dbc7c=_0x2cb030[_0x15fb69])instanceof _0x626f5b){if(!_0x15fb69&&_0x4dbc7c['type']==_0x16b40e&&_0x4dbc7c['length']==_0x3328cb)return _0x4dbc7c;(_0x3f6922=_0x4dbc7c['prop'](_0xdd8853['lookAhead']))&&(_0x485809=_0x2026e7[_0x15fb69]+_0x4dbc7c['length']+_0x3f6922);}return _0x44edf0(_0x16b40e,_0x2cb030,_0x2026e7,_0x3328cb,_0x485809,_0x466c9d);};}function _0x46ac4b(_0x8d3b82,_0x40cd66,_0x2ffbe8,_0x3ca6e8,_0x1332f8,_0x3d792e,_0x7b4eb9,_0x381cd7,_0x386a63){let _0x5f0230=[],_0x3486d4=[];for(;_0x8d3b82['length']>_0x3ca6e8;)_0x5f0230['push'](_0x8d3b82['pop']()),_0x3486d4['push'](_0x40cd66['pop']()+_0x2ffbe8-_0x1332f8);_0x8d3b82['push'](_0x44edf0(_0x294978['types'][_0x7b4eb9],_0x5f0230,_0x3486d4,_0x3d792e-_0x1332f8,_0x381cd7-_0x3d792e,_0x386a63)),_0x40cd66['push'](_0x1332f8-_0x2ffbe8);}function _0x44edf0(_0x403266,_0x492390,_0x5e746c,_0x4e56f5,_0x49219d,_0x464376,_0x246e9a){if(_0x464376){let _0xc154f=[_0xdd8853['contextHash'],_0x464376];_0x246e9a=_0x246e9a?[_0xc154f]['concat'](_0x246e9a):[_0xc154f];}if(_0x49219d>0x19){let _0x107bcc=[_0xdd8853['lookAhead'],_0x49219d];_0x246e9a=_0x246e9a?[_0x107bcc]['concat'](_0x246e9a):[_0x107bcc];}return new _0x626f5b(_0x403266,_0x492390,_0x5e746c,_0x4e56f5,_0x246e9a);}function _0x31c4aa(_0x44790b,_0x5cf784){let _0x53838b=_0x41fbc7['fork'](),_0x2e09cc=0x0,_0xfaf27f=0x0,_0x21e161=0x0,_0x39a492=_0x53838b['end']-_0x20ab8d,_0x1043c0={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0x4eb0c4=_0x53838b['pos']-_0x44790b;_0x53838b['pos']>_0x4eb0c4;){let _0x36882e=_0x53838b['size'];if(_0x53838b['id']==_0x5cf784&&_0x36882e>=0x0){_0x1043c0['size']=_0x2e09cc,_0x1043c0['start']=_0xfaf27f,_0x1043c0['skip']=_0x21e161,_0x21e161+=0x4,_0x2e09cc+=0x4,_0x53838b['next']();continue;}let _0xaaaa73=_0x53838b['pos']-_0x36882e;if(_0x36882e<0x0||_0xaaaa73<_0x4eb0c4||_0x53838b['start']<_0x39a492)break;let _0x350ab8=_0x53838b['id']>=_0x5f10d3?0x4:0x0,_0x4d9879=_0x53838b['start'];for(_0x53838b['next']();_0x53838b['pos']>_0xaaaa73;){if(_0x53838b['size']<0x0){if(-0x3!=_0x53838b['size'])break t;_0x350ab8+=0x4;}else _0x53838b['id']>=_0x5f10d3&&(_0x350ab8+=0x4);_0x53838b['next']();}_0xfaf27f=_0x4d9879,_0x2e09cc+=_0x36882e,_0x21e161+=_0x350ab8;}return(_0x5cf784<0x0||_0x2e09cc==_0x44790b)&&(_0x1043c0['size']=_0x2e09cc,_0x1043c0['start']=_0xfaf27f,_0x1043c0['skip']=_0x21e161),_0x1043c0['size']>0x4?_0x1043c0:void 0x0;}function _0x294d86(_0x1e74a0,_0x2f67d5,_0x4562cd){let {id:_0x3561f2,start:_0x587185,end:_0x24737e,size:_0x17def9}=_0x41fbc7;if(_0x41fbc7['next'](),_0x17def9>=0x0&&_0x3561f2<_0x5f10d3){let _0x1d413f=_0x4562cd;if(_0x17def9>0x4){let _0x101fa9=_0x41fbc7['pos']-(_0x17def9-0x4);for(;_0x41fbc7['pos']>_0x101fa9;)_0x4562cd=_0x294d86(_0x1e74a0,_0x2f67d5,_0x4562cd);}_0x2f67d5[--_0x4562cd]=_0x1d413f,_0x2f67d5[--_0x4562cd]=_0x24737e-_0x1e74a0,_0x2f67d5[--_0x4562cd]=_0x587185-_0x1e74a0,_0x2f67d5[--_0x4562cd]=_0x3561f2;}else-0x3==_0x17def9?_0x2d57db=_0x3561f2:-0x4==_0x17def9&&(_0x4feec9=_0x3561f2);return _0x4562cd;}let _0xa320aa=[],_0x2a3cb2=[];for(;_0x41fbc7['pos']>0x0;)_0x27c8aa(_0x94a2b7['start']||0x0,_0x94a2b7['bufferStart']||0x0,_0xa320aa,_0x2a3cb2,-0x1,0x0);let _0x3ccc81=null!==(_0x5c7e8a=_0x94a2b7['length'])&&void 0x0!==_0x5c7e8a?_0x5c7e8a:_0xa320aa['length']?_0x2a3cb2[0x0]+_0xa320aa[0x0]['length']:0x0;return new _0x626f5b(_0x29342a[_0x94a2b7['topID']],_0xa320aa['reverse'](),_0x2a3cb2['reverse'](),_0x3ccc81);}(_0x153224);}}_0x626f5b['empty']=new _0x626f5b(_0x4c1c7e['none'],[],[],0x0);class FlatBufferCursor{constructor(_0x17993d,_0x531074){this['buffer']=_0x17993d,this['index']=_0x531074;}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 _0x10af0d{constructor(_0x5735f0,_0x10bd79,_0x2d8822){this['buffer']=_0x5735f0,this['length']=_0x10bd79,this['set']=_0x2d8822;}get['type'](){return _0x4c1c7e['none'];}['toString'](){let _0x4d471f=[];for(let _0x1da686=0x0;_0x1da686<this['buffer']['length'];)_0x4d471f['push'](this['childString'](_0x1da686)),_0x1da686=this['buffer'][_0x1da686+0x3];return _0x4d471f['join'](',');}['childString'](_0x306c62){let _0x1c4e48=this['buffer'][_0x306c62],_0x1a16b2=this['buffer'][_0x306c62+0x3],_0x5854ec=this['set']['types'][_0x1c4e48],_0x4fab54=_0x5854ec['name'];if(/\W/['test'](_0x4fab54)&&!_0x5854ec['isError']&&(_0x4fab54=JSON['stringify'](_0x4fab54)),_0x1a16b2==(_0x306c62+=0x4))return _0x4fab54;let _0x369987=[];for(;_0x306c62<_0x1a16b2;)_0x369987['push'](this['childString'](_0x306c62)),_0x306c62=this['buffer'][_0x306c62+0x3];return _0x4fab54+'('+_0x369987['join'](',')+')';}['findChild'](_0x9a2643,_0x232c00,_0x3e393d,_0xf763ae,_0x5e5777){let {buffer:_0x500eb}=this,_0x5b47ee=-0x1;for(let _0x386791=_0x9a2643;_0x386791!=_0x232c00&&!(_0x3e45a4(_0x5e5777,_0xf763ae,_0x500eb[_0x386791+0x1],_0x500eb[_0x386791+0x2])&&(_0x5b47ee=_0x386791,_0x3e393d>0x0));_0x386791=_0x500eb[_0x386791+0x3]);return _0x5b47ee;}['slice'](_0x2783a4,_0x342835,_0x95a80){let _0x2cb8cd=this['buffer'],_0x598df3=new Uint16Array(_0x342835-_0x2783a4),_0x19ce6a=0x0;for(let _0x1c95c2=_0x2783a4,_0x342ea4=0x0;_0x1c95c2<_0x342835;){_0x598df3[_0x342ea4++]=_0x2cb8cd[_0x1c95c2++],_0x598df3[_0x342ea4++]=_0x2cb8cd[_0x1c95c2++]-_0x95a80;let _0x5140c8=_0x598df3[_0x342ea4++]=_0x2cb8cd[_0x1c95c2++]-_0x95a80;_0x598df3[_0x342ea4++]=_0x2cb8cd[_0x1c95c2++]-_0x2783a4,_0x19ce6a=Math['max'](_0x19ce6a,_0x5140c8);}return new _0x10af0d(_0x598df3,_0x19ce6a,this['set']);}}function _0x3e45a4(_0x3e5385,_0xceb15e,_0x588ffe,_0x1b3347){switch(_0x3e5385){case-0x2:return _0x588ffe<_0xceb15e;case-0x1:return _0x1b3347>=_0xceb15e&&_0x588ffe<_0xceb15e;case 0x0:return _0x588ffe<_0xceb15e&&_0x1b3347>_0xceb15e;case 0x1:return _0x588ffe<=_0xceb15e&&_0x1b3347>_0xceb15e;case 0x2:return _0x1b3347>_0xceb15e;case 0x4:return!0x0;}}function _0xa74506(_0x11db68,_0x27ab0a,_0x17b960,_0x40c6f9){for(var _0x181060;_0x11db68['from']==_0x11db68['to']||(_0x17b960<0x1?_0x11db68['from']>=_0x27ab0a:_0x11db68['from']>_0x27ab0a)||(_0x17b960>-0x1?_0x11db68['to']<=_0x27ab0a:_0x11db68['to']<_0x27ab0a);){let _0x355098=!_0x40c6f9&&_0x11db68 instanceof _0x59e173&&_0x11db68['index']<0x0?null:_0x11db68['parent'];if(!_0x355098)return _0x11db68;_0x11db68=_0x355098;}let _0x58e22f=_0x40c6f9?0x0:_0x2a3c3d['IgnoreOverlays'];if(_0x40c6f9){for(let _0x12aa68=_0x11db68,_0x189ce8=_0x12aa68['parent'];_0x189ce8;_0x12aa68=_0x189ce8,_0x189ce8=_0x12aa68['parent'])_0x12aa68 instanceof _0x59e173&&_0x12aa68['index']<0x0&&(null===(_0x181060=_0x189ce8['enter'](_0x27ab0a,_0x17b960,_0x58e22f))||void 0x0===_0x181060?void 0x0:_0x181060['from'])!=_0x12aa68['from']&&(_0x11db68=_0x189ce8);}for(;;){let _0x38022e=_0x11db68['enter'](_0x27ab0a,_0x17b960,_0x58e22f);if(!_0x38022e)return _0x11db68;_0x11db68=_0x38022e;}}class _0x1fbf0a{['cursor'](_0x36020d=0x0){return new _0x19362a(this,_0x36020d);}['getChild'](_0xfa7b80,_0x43cf09=null,_0x290747=null){let _0x1df4aa=_0x37547c(this,_0xfa7b80,_0x43cf09,_0x290747);return _0x1df4aa['length']?_0x1df4aa[0x0]:null;}['getChildren'](_0x2bc573,_0x277fdf=null,_0x22adcc=null){return _0x37547c(this,_0x2bc573,_0x277fdf,_0x22adcc);}['resolve'](_0x5803f0,_0x4148b1=0x0){return _0xa74506(this,_0x5803f0,_0x4148b1,!0x1);}['resolveInner'](_0x3bd814,_0x38dff4=0x0){return _0xa74506(this,_0x3bd814,_0x38dff4,!0x0);}['matchContext'](_0x10411b){return _0x83f7fa(this['parent'],_0x10411b);}['enterUnfinishedNodesBefore'](_0x2a1010){let _0xe62b18=this['childBefore'](_0x2a1010),_0x207148=this;for(;_0xe62b18;){let _0x1cc930=_0xe62b18['lastChild'];if(!_0x1cc930||_0x1cc930['to']!=_0xe62b18['to'])break;_0x1cc930['type']['isError']&&_0x1cc930['from']==_0x1cc930['to']?(_0x207148=_0xe62b18,_0xe62b18=_0x1cc930['prevSibling']):_0xe62b18=_0x1cc930;}return _0x207148;}get['node'](){return this;}get['next'](){return this['parent'];}}class _0x59e173 extends _0x1fbf0a{constructor(_0x2477ee,_0x7ba69,_0x3e0c1a,_0x4d043c){super(),this['_tree']=_0x2477ee,this['from']=_0x7ba69,this['index']=_0x3e0c1a,this['_parent']=_0x4d043c;}get['type'](){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get['to'](){return this['from']+this['_tree']['length'];}['nextChild'](_0x5241b8,_0x14486b,_0x49cbd2,_0x3cc967,_0x35cff1=0x0){for(let _0x3dd143=this;;){for(let {children:_0x1e143b,positions:_0x1f763f}=_0x3dd143['_tree'],_0x1c6551=_0x14486b>0x0?_0x1e143b['length']:-0x1;_0x5241b8!=_0x1c6551;_0x5241b8+=_0x14486b){let _0x4dba35=_0x1e143b[_0x5241b8],_0x27f4e2=_0x1f763f[_0x5241b8]+_0x3dd143['from'];if(_0x3e45a4(_0x3cc967,_0x49cbd2,_0x27f4e2,_0x27f4e2+_0x4dba35['length'])){if(_0x4dba35 instanceof _0x10af0d){if(_0x35cff1&_0x2a3c3d['ExcludeBuffers'])continue;let _0xc515d1=_0x4dba35['findChild'](0x0,_0x4dba35['buffer']['length'],_0x14486b,_0x49cbd2-_0x27f4e2,_0x3cc967);if(_0xc515d1>-0x1)return new _0x340453(new BufferContext(_0x3dd143,_0x4dba35,_0x5241b8,_0x27f4e2),null,_0xc515d1);}else{if(_0x35cff1&_0x2a3c3d['IncludeAnonymous']||!_0x4dba35['type']['isAnonymous']||_0x2c8df7(_0x4dba35)){let _0x5f4913;if(!(_0x35cff1&_0x2a3c3d['IgnoreMounts'])&&(_0x5f4913=MountedTree['get'](_0x4dba35))&&!_0x5f4913['overlay'])return new _0x59e173(_0x5f4913['tree'],_0x27f4e2,_0x5241b8,_0x3dd143);let _0x19b66e=new _0x59e173(_0x4dba35,_0x27f4e2,_0x5241b8,_0x3dd143);return _0x35cff1&_0x2a3c3d['IncludeAnonymous']||!_0x19b66e['type']['isAnonymous']?_0x19b66e:_0x19b66e['nextChild'](_0x14486b<0x0?_0x4dba35['children']['length']-0x1:0x0,_0x14486b,_0x49cbd2,_0x3cc967);}}}}if(_0x35cff1&_0x2a3c3d['IncludeAnonymous']||!_0x3dd143['type']['isAnonymous'])return null;if(_0x5241b8=_0x3dd143['index']>=0x0?_0x3dd143['index']+_0x14486b:_0x14486b<0x0?-0x1:_0x3dd143['_parent']['_tree']['children']['length'],_0x3dd143=_0x3dd143['_parent'],!_0x3dd143)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'](_0x25605b){return this['nextChild'](0x0,0x1,_0x25605b,0x2);}['childBefore'](_0x13c98a){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0x13c98a,-0x2);}['enter'](_0x25cffc,_0x501df1,_0x1a592b=0x0){let _0x100c7a;if(!(_0x1a592b&_0x2a3c3d['IgnoreOverlays'])&&(_0x100c7a=MountedTree['get'](this['_tree']))&&_0x100c7a['overlay']){let _0x1398e4=_0x25cffc-this['from'];for(let {from:_0x31e38a,to:_0x5dbed2}of _0x100c7a['overlay'])if((_0x501df1>0x0?_0x31e38a<=_0x1398e4:_0x31e38a<_0x1398e4)&&(_0x501df1<0x0?_0x5dbed2>=_0x1398e4:_0x5dbed2>_0x1398e4))return new _0x59e173(_0x100c7a['tree'],_0x100c7a['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0x25cffc,_0x501df1,_0x1a592b);}['nextSignificantParent'](){let _0x448ec0=this;for(;_0x448ec0['type']['isAnonymous']&&_0x448ec0['_parent'];)_0x448ec0=_0x448ec0['_parent'];return _0x448ec0;}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 _0x37547c(_0x4c47a8,_0x36733a,_0x58b0a9,_0x6ba4a9){let _0x1be26e=_0x4c47a8['cursor'](),_0x867b21=[];if(!_0x1be26e['firstChild']())return _0x867b21;if(null!=_0x58b0a9){for(let _0x973b6d=!0x1;!_0x973b6d;)if(_0x973b6d=_0x1be26e['type']['is'](_0x58b0a9),!_0x1be26e['nextSibling']())return _0x867b21;}for(;;){if(null!=_0x6ba4a9&&_0x1be26e['type']['is'](_0x6ba4a9))return _0x867b21;if(_0x1be26e['type']['is'](_0x36733a)&&_0x867b21['push'](_0x1be26e['node']),!_0x1be26e['nextSibling']())return null==_0x6ba4a9?_0x867b21:[];}}function _0x83f7fa(_0x593617,_0x4a7f6f,_0x39f617=_0x4a7f6f['length']-0x1){for(let _0x2d6663=_0x593617;_0x39f617>=0x0;_0x2d6663=_0x2d6663['parent']){if(!_0x2d6663)return!0x1;if(!_0x2d6663['type']['isAnonymous']){if(_0x4a7f6f[_0x39f617]&&_0x4a7f6f[_0x39f617]!=_0x2d6663['name'])return!0x1;_0x39f617--;}}return!0x0;}class BufferContext{constructor(_0x2374dd,_0x510947,_0x40dd9b,_0x16a7b5){this['parent']=_0x2374dd,this['buffer']=_0x510947,this['index']=_0x40dd9b,this['start']=_0x16a7b5;}}class _0x340453 extends _0x1fbf0a{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(_0x4a6e71,_0x1fd013,_0x530d6e){super(),this['context']=_0x4a6e71,this['_parent']=_0x1fd013,this['index']=_0x530d6e,this['type']=_0x4a6e71['buffer']['set']['types'][_0x4a6e71['buffer']['buffer'][_0x530d6e]];}['child'](_0x5dfb2b,_0x312368,_0x24f138){let {buffer:_0x2fdc1d}=this['context'],_0x3189ee=_0x2fdc1d['findChild'](this['index']+0x4,_0x2fdc1d['buffer'][this['index']+0x3],_0x5dfb2b,_0x312368-this['context']['start'],_0x24f138);return _0x3189ee<0x0?null:new _0x340453(this['context'],this,_0x3189ee);}get['firstChild'](){return this['child'](0x1,0x0,0x4);}get['lastChild'](){return this['child'](-0x1,0x0,0x4);}['childAfter'](_0x35396d){return this['child'](0x1,_0x35396d,0x2);}['childBefore'](_0x678372){return this['child'](-0x1,_0x678372,-0x2);}['enter'](_0x497d0b,_0x22d58b,_0x35009b=0x0){if(_0x35009b&_0x2a3c3d['ExcludeBuffers'])return null;let {buffer:_0x46c12c}=this['context'],_0x40df3a=_0x46c12c['findChild'](this['index']+0x4,_0x46c12c['buffer'][this['index']+0x3],_0x22d58b>0x0?0x1:-0x1,_0x497d0b-this['context']['start'],_0x22d58b);return _0x40df3a<0x0?null:new _0x340453(this['context'],this,_0x40df3a);}get['parent'](){return this['_parent']||this['context']['parent']['nextSignificantParent']();}['externalSibling'](_0x1a58dc){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0x1a58dc,_0x1a58dc,0x0,0x4);}get['nextSibling'](){let {buffer:_0x324510}=this['context'],_0x36c9ae=_0x324510['buffer'][this['index']+0x3];return _0x36c9ae<(this['_parent']?_0x324510['buffer'][this['_parent']['index']+0x3]:_0x324510['buffer']['length'])?new _0x340453(this['context'],this['_parent'],_0x36c9ae):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0x1d02eb}=this['context'],_0x150a71=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0x150a71?this['externalSibling'](-0x1):new _0x340453(this['context'],this['_parent'],_0x1d02eb['findChild'](_0x150a71,this['index'],-0x1,0x0,0x4));}get['tree'](){return null;}['toTree'](){let _0x105b7b=[],_0x7d0ea4=[],{buffer:_0x1de7c6}=this['context'],_0xa7a1ee=this['index']+0x4,_0x2d502a=_0x1de7c6['buffer'][this['index']+0x3];if(_0x2d502a>_0xa7a1ee){let _0x3515e5=_0x1de7c6['buffer'][this['index']+0x1];_0x105b7b['push'](_0x1de7c6['slice'](_0xa7a1ee,_0x2d502a,_0x3515e5)),_0x7d0ea4['push'](0x0);}return new _0x626f5b(this['type'],_0x105b7b,_0x7d0ea4,this['to']-this['from']);}['toString'](){return this['context']['buffer']['childString'](this['index']);}}function _0x2c989a(_0xff24aa){if(!_0xff24aa['length'])return null;let _0x1521f8=0x0,_0x23c790=_0xff24aa[0x0];for(let _0x2b4144=0x1;_0x2b4144<_0xff24aa['length'];_0x2b4144++){let _0x3e3d4e=_0xff24aa[_0x2b4144];(_0x3e3d4e['from']>_0x23c790['from']||_0x3e3d4e['to']<_0x23c790['to'])&&(_0x23c790=_0x3e3d4e,_0x1521f8=_0x2b4144);}let _0x420aac=_0x23c790 instanceof _0x59e173&&_0x23c790['index']<0x0?null:_0x23c790['parent'],_0x419d3a=_0xff24aa['slice']();return _0x420aac?_0x419d3a[_0x1521f8]=_0x420aac:_0x419d3a['splice'](_0x1521f8,0x1),new StackIterator(_0x419d3a,_0x23c790);}class StackIterator{constructor(_0x21343b,_0x1dac6e){this['heads']=_0x21343b,this['node']=_0x1dac6e;}get['next'](){return _0x2c989a(this['heads']);}}class _0x19362a{get['name'](){return this['type']['name'];}constructor(_0x127481,_0x5ecd50=0x0){if(this['mode']=_0x5ecd50,this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,_0x127481 instanceof _0x59e173)this['yieldNode'](_0x127481);else{this['_tree']=_0x127481['context']['parent'],this['buffer']=_0x127481['context'];for(let _0xbe1505=_0x127481['_parent'];_0xbe1505;_0xbe1505=_0xbe1505['_parent'])this['stack']['unshift'](_0xbe1505['index']);this['bufferNode']=_0x127481,this['yieldBuf'](_0x127481['index']);}}['yieldNode'](_0x53e6fa){return!!_0x53e6fa&&(this['_tree']=_0x53e6fa,this['type']=_0x53e6fa['type'],this['from']=_0x53e6fa['from'],this['to']=_0x53e6fa['to'],!0x0);}['yieldBuf'](_0x24a8a5,_0x39a4ba){this['index']=_0x24a8a5;let {start:_0x95f628,buffer:_0x2408fc}=this['buffer'];return this['type']=_0x39a4ba||_0x2408fc['set']['types'][_0x2408fc['buffer'][_0x24a8a5]],this['from']=_0x95f628+_0x2408fc['buffer'][_0x24a8a5+0x1],this['to']=_0x95f628+_0x2408fc['buffer'][_0x24a8a5+0x2],!0x0;}['yield'](_0x4fb29d){return!!_0x4fb29d&&(_0x4fb29d instanceof _0x59e173?(this['buffer']=null,this['yieldNode'](_0x4fb29d)):(this['buffer']=_0x4fb29d['context'],this['yieldBuf'](_0x4fb29d['index'],_0x4fb29d['type'])));}['toString'](){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}['enterChild'](_0x50259f,_0x4407a9,_0xda2fe0){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x50259f<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x50259f,_0x4407a9,_0xda2fe0,this['mode']));let {buffer:_0x541760}=this['buffer'],_0x3c00cc=_0x541760['findChild'](this['index']+0x4,_0x541760['buffer'][this['index']+0x3],_0x50259f,_0x4407a9-this['buffer']['start'],_0xda2fe0);return!(_0x3c00cc<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0x3c00cc));}['firstChild'](){return this['enterChild'](0x1,0x0,0x4);}['lastChild'](){return this['enterChild'](-0x1,0x0,0x4);}['childAfter'](_0x382d04){return this['enterChild'](0x1,_0x382d04,0x2);}['childBefore'](_0x1c332e){return this['enterChild'](-0x1,_0x1c332e,-0x2);}['enter'](_0x5f7314,_0x314e33,_0x42b940=this['mode']){return this['buffer']?!(_0x42b940&_0x2a3c3d['ExcludeBuffers'])&&this['enterChild'](0x1,_0x5f7314,_0x314e33):this['yield'](this['_tree']['enter'](_0x5f7314,_0x314e33,_0x42b940));}['parent'](){if(!this['buffer'])return this['yieldNode'](this['mode']&_0x2a3c3d['IncludeAnonymous']?this['_tree']['_parent']:this['_tree']['parent']);if(this['stack']['length'])return this['yieldBuf'](this['stack']['pop']());let _0x1be3ea=this['mode']&_0x2a3c3d['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0x1be3ea);}['sibling'](_0x96a782){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0x96a782,_0x96a782,0x0,0x4,this['mode']));let {buffer:_0x337286}=this['buffer'],_0xfdb56b=this['stack']['length']-0x1;if(_0x96a782<0x0){let _0x336e97=_0xfdb56b<0x0?0x0:this['stack'][_0xfdb56b]+0x4;if(this['index']!=_0x336e97)return this['yieldBuf'](_0x337286['findChild'](_0x336e97,this['index'],-0x1,0x0,0x4));}else{let _0xab3875=_0x337286['buffer'][this['index']+0x3];if(_0xab3875<(_0xfdb56b<0x0?_0x337286['buffer']['length']:_0x337286['buffer'][this['stack'][_0xfdb56b]+0x3]))return this['yieldBuf'](_0xab3875);}return _0xfdb56b<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0x96a782,_0x96a782,0x0,0x4,this['mode']));}['nextSibling'](){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}['atLastNode'](_0x48e3d9){let _0x16f23f,_0x38aa86,{buffer:_0x59cfa2}=this;if(_0x59cfa2){if(_0x48e3d9>0x0){if(this['index']<_0x59cfa2['buffer']['buffer']['length'])return!0x1;}else{for(let _0x4ffc10=0x0;_0x4ffc10<this['index'];_0x4ffc10++)if(_0x59cfa2['buffer']['buffer'][_0x4ffc10+0x3]<this['index'])return!0x1;}({index:_0x16f23f,parent:_0x38aa86}=_0x59cfa2);}else({index:_0x16f23f,_parent:_0x38aa86}=this['_tree']);for(;_0x38aa86;{index:_0x16f23f,_parent:_0x38aa86}=_0x38aa86)if(_0x16f23f>-0x1)for(let _0x4ee746=_0x16f23f+_0x48e3d9,_0x2e8863=_0x48e3d9<0x0?-0x1:_0x38aa86['_tree']['children']['length'];_0x4ee746!=_0x2e8863;_0x4ee746+=_0x48e3d9){let _0x7b22c8=_0x38aa86['_tree']['children'][_0x4ee746];if(this['mode']&_0x2a3c3d['IncludeAnonymous']||_0x7b22c8 instanceof _0x10af0d||!_0x7b22c8['type']['isAnonymous']||_0x2c8df7(_0x7b22c8))return!0x1;}return!0x0;}['move'](_0x293b19,_0x2f8711){if(_0x2f8711&&this['enterChild'](_0x293b19,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0x293b19))return!0x0;if(this['atLastNode'](_0x293b19)||!this['parent']())return!0x1;}}['next'](_0x3ec570=!0x0){return this['move'](0x1,_0x3ec570);}['prev'](_0x5becb8=!0x0){return this['move'](-0x1,_0x5becb8);}['moveTo'](_0x55e4d3,_0xaeb53e=0x0){for(;(this['from']==this['to']||(_0xaeb53e<0x1?this['from']>=_0x55e4d3:this['from']>_0x55e4d3)||(_0xaeb53e>-0x1?this['to']<=_0x55e4d3:this['to']<_0x55e4d3))&&this['parent'](););for(;this['enterChild'](0x1,_0x55e4d3,_0xaeb53e););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0x305932=this['bufferNode'],_0x4f091f=null,_0x700a9d=0x0;if(_0x305932&&_0x305932['context']==this['buffer']){t:for(let _0x52542d=this['index'],_0x2d3f30=this['stack']['length'];_0x2d3f30>=0x0;){for(let _0x1ece71=_0x305932;_0x1ece71;_0x1ece71=_0x1ece71['_parent'])if(_0x1ece71['index']==_0x52542d){if(_0x52542d==this['index'])return _0x1ece71;_0x4f091f=_0x1ece71,_0x700a9d=_0x2d3f30+0x1;break t;}_0x52542d=this['stack'][--_0x2d3f30];}}for(let _0x11c624=_0x700a9d;_0x11c624<this['stack']['length'];_0x11c624++)_0x4f091f=new _0x340453(this['buffer'],_0x4f091f,this['stack'][_0x11c624]);return this['bufferNode']=new _0x340453(this['buffer'],_0x4f091f,this['index']);}get['tree'](){return this['buffer']?null:this['_tree']['_tree'];}['iterate'](_0x34c47c,_0x283c7f){for(let _0x2ea372=0x0;;){let _0x50b5d9=!0x1;if(this['type']['isAnonymous']||!0x1!==_0x34c47c(this)){if(this['firstChild']()){_0x2ea372++;continue;}this['type']['isAnonymous']||(_0x50b5d9=!0x0);}for(;;){if(_0x50b5d9&&_0x283c7f&&_0x283c7f(this),_0x50b5d9=this['type']['isAnonymous'],!_0x2ea372)return;if(this['nextSibling']())break;this['parent'](),_0x2ea372--,_0x50b5d9=!0x0;}}}['matchContext'](_0x227773){if(!this['buffer'])return _0x83f7fa(this['node']['parent'],_0x227773);let {buffer:_0x3988ea}=this['buffer'],{types:_0xaafdb1}=_0x3988ea['set'];for(let _0x1bdb9b=_0x227773['length']-0x1,_0x107d28=this['stack']['length']-0x1;_0x1bdb9b>=0x0;_0x107d28--){if(_0x107d28<0x0)return _0x83f7fa(this['_tree'],_0x227773,_0x1bdb9b);let _0x2d43bc=_0xaafdb1[_0x3988ea['buffer'][this['stack'][_0x107d28]]];if(!_0x2d43bc['isAnonymous']){if(_0x227773[_0x1bdb9b]&&_0x227773[_0x1bdb9b]!=_0x2d43bc['name'])return!0x1;_0x1bdb9b--;}}return!0x0;}}function _0x2c8df7(_0x13f723){return _0x13f723['children']['some'](_0x2e9d69=>_0x2e9d69 instanceof _0x10af0d||!_0x2e9d69['type']['isAnonymous']||_0x2c8df7(_0x2e9d69));}const _0x5bb7d9=new WeakMap();function _0x261a41(_0x2da9e5,_0x2918f5){if(!_0x2da9e5['isAnonymous']||_0x2918f5 instanceof _0x10af0d||_0x2918f5['type']!=_0x2da9e5)return 0x1;let _0x297cd9=_0x5bb7d9['get'](_0x2918f5);if(null==_0x297cd9){_0x297cd9=0x1;for(let _0x15c945 of _0x2918f5['children']){if(_0x15c945['type']!=_0x2da9e5||!(_0x15c945 instanceof _0x626f5b)){_0x297cd9=0x1;break;}_0x297cd9+=_0x261a41(_0x2da9e5,_0x15c945);}_0x5bb7d9['set'](_0x2918f5,_0x297cd9);}return _0x297cd9;}function _0xb98d27(_0x52ce23,_0x4a40fe,_0x3ff2c9,_0x28c0d9,_0x48c909,_0x45f9db,_0xe3ee3,_0x3d848f,_0x111366){let _0x1a7625=0x0;for(let _0x2f26e9=_0x28c0d9;_0x2f26e9<_0x48c909;_0x2f26e9++)_0x1a7625+=_0x261a41(_0x52ce23,_0x4a40fe[_0x2f26e9]);let _0x56527a=Math['ceil'](1.5*_0x1a7625/0x8),_0x5e52d5=[],_0x5c6e5d=[];return function _0x3bee98(_0x281de0,_0x5d50d0,_0x472f4,_0x3f89cd,_0x51fdec){for(let _0xd80793=_0x472f4;_0xd80793<_0x3f89cd;){let _0x159afc=_0xd80793,_0x3a682c=_0x5d50d0[_0xd80793],_0x589fd2=_0x261a41(_0x52ce23,_0x281de0[_0xd80793]);for(_0xd80793++;_0xd80793<_0x3f89cd;_0xd80793++){let _0x4e615a=_0x261a41(_0x52ce23,_0x281de0[_0xd80793]);if(_0x589fd2+_0x4e615a>=_0x56527a)break;_0x589fd2+=_0x4e615a;}if(_0xd80793==_0x159afc+0x1){if(_0x589fd2>_0x56527a){let _0xd24469=_0x281de0[_0x159afc];_0x3bee98(_0xd24469['children'],_0xd24469['positions'],0x0,_0xd24469['children']['length'],_0x5d50d0[_0x159afc]+_0x51fdec);continue;}_0x5e52d5['push'](_0x281de0[_0x159afc]);}else{let _0x4b414b=_0x5d50d0[_0xd80793-0x1]+_0x281de0[_0xd80793-0x1]['length']-_0x3a682c;_0x5e52d5['push'](_0xb98d27(_0x52ce23,_0x281de0,_0x5d50d0,_0x159afc,_0xd80793,_0x3a682c,_0x4b414b,null,_0x111366));}_0x5c6e5d['push'](_0x3a682c+_0x51fdec-_0x45f9db);}}(_0x4a40fe,_0x3ff2c9,_0x28c0d9,_0x48c909,0x0),(_0x3d848f||_0x111366)(_0x5e52d5,_0x5c6e5d,_0xe3ee3);}class _0x25971f{constructor(){this['map']=new WeakMap();}['setBuffer'](_0x1f568e,_0x581819,_0x8b062b){let _0x1f2511=this['map']['get'](_0x1f568e);_0x1f2511||this['map']['set'](_0x1f568e,_0x1f2511=new Map()),_0x1f2511['set'](_0x581819,_0x8b062b);}['getBuffer'](_0x34be41,_0x1cee4e){let _0x314d40=this['map']['get'](_0x34be41);return _0x314d40&&_0x314d40['get'](_0x1cee4e);}['set'](_0x9c3f65,_0x16274a){_0x9c3f65 instanceof _0x340453?this['setBuffer'](_0x9c3f65['context']['buffer'],_0x9c3f65['index'],_0x16274a):_0x9c3f65 instanceof _0x59e173&&this['map']['set'](_0x9c3f65['tree'],_0x16274a);}['get'](_0x15304b){return _0x15304b instanceof _0x340453?this['getBuffer'](_0x15304b['context']['buffer'],_0x15304b['index']):_0x15304b instanceof _0x59e173?this['map']['get'](_0x15304b['tree']):void 0x0;}['cursorSet'](_0x24ff06,_0x41cd20){_0x24ff06['buffer']?this['setBuffer'](_0x24ff06['buffer']['buffer'],_0x24ff06['index'],_0x41cd20):this['map']['set'](_0x24ff06['tree'],_0x41cd20);}['cursorGet'](_0x28bacb){return _0x28bacb['buffer']?this['getBuffer'](_0x28bacb['buffer']['buffer'],_0x28bacb['index']):this['map']['get'](_0x28bacb['tree']);}}class TreeFragment{constructor(_0x64b7e5,_0x5a87c3,_0x1db929,_0x2d27d0,_0x3a664f=!0x1,_0x3157dd=!0x1){this['from']=_0x64b7e5,this['to']=_0x5a87c3,this['tree']=_0x1db929,this['offset']=_0x2d27d0,this['open']=(_0x3a664f?0x1:0x0)|(_0x3157dd?0x2:0x0);}get['openStart'](){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x43a87b,_0x425be8=[],_0x5c5733=!0x1){let _0x40dea7=[new TreeFragment(0x0,_0x43a87b['length'],_0x43a87b,0x0,!0x1,_0x5c5733)];for(let _0x3a5ab6 of _0x425be8)_0x3a5ab6['to']>_0x43a87b['length']&&_0x40dea7['push'](_0x3a5ab6);return _0x40dea7;}static['applyChanges'](_0x2d9fbd,_0x4495b4,_0x4a019a=0x80){if(!_0x4495b4['length'])return _0x2d9fbd;let _0x2205a6=[],_0x23da18=0x1,_0x34eec1=_0x2d9fbd['length']?_0x2d9fbd[0x0]:null;for(let _0x2078bc=0x0,_0x5133d9=0x0,_0xe10174=0x0;;_0x2078bc++){let _0x5a728c=_0x2078bc<_0x4495b4['length']?_0x4495b4[_0x2078bc]:null,_0x58b27d=_0x5a728c?_0x5a728c['fromA']:0x3b9aca00;if(_0x58b27d-_0x5133d9>=_0x4a019a)for(;_0x34eec1&&_0x34eec1['from']<_0x58b27d;){let _0x2714f4=_0x34eec1;if(_0x5133d9>=_0x2714f4['from']||_0x58b27d<=_0x2714f4['to']||_0xe10174){let _0x98b9f6=Math['max'](_0x2714f4['from'],_0x5133d9)-_0xe10174,_0x3f6fc4=Math['min'](_0x2714f4['to'],_0x58b27d)-_0xe10174;_0x2714f4=_0x98b9f6>=_0x3f6fc4?null:new TreeFragment(_0x98b9f6,_0x3f6fc4,_0x2714f4['tree'],_0x2714f4['offset']+_0xe10174,_0x2078bc>0x0,!!_0x5a728c);}if(_0x2714f4&&_0x2205a6['push'](_0x2714f4),_0x34eec1['to']>_0x58b27d)break;_0x34eec1=_0x23da18<_0x2d9fbd['length']?_0x2d9fbd[_0x23da18++]:null;}if(!_0x5a728c)break;_0x5133d9=_0x5a728c['toA'],_0xe10174=_0x5a728c['toA']-_0x5a728c['toB'];}return _0x2205a6;}}class _0x114016{['startParse'](_0x33f330,_0x351b74,_0x56da80){return'string'==typeof _0x33f330&&(_0x33f330=new StringInput(_0x33f330)),_0x56da80=_0x56da80?_0x56da80['length']?_0x56da80['map'](_0x1607fd=>new _0x278345(_0x1607fd['from'],_0x1607fd['to'])):[new _0x278345(0x0,0x0)]:[new _0x278345(0x0,_0x33f330['length'])],this['createParse'](_0x33f330,_0x351b74||[],_0x56da80);}['parse'](_0x2ec648,_0x2f827d,_0x252ce9){let _0x209597=this['startParse'](_0x2ec648,_0x2f827d,_0x252ce9);for(;;){let _0x14d594=_0x209597['advance']();if(_0x14d594)return _0x14d594;}}}class StringInput{constructor(_0x397a61){this['string']=_0x397a61;}get['length'](){return this['string']['length'];}['chunk'](_0x5e91f5){return this['string']['slice'](_0x5e91f5);}get['lineChunks'](){return!0x1;}['read'](_0x1b663b,_0x28a40d){return this['string']['slice'](_0x1b663b,_0x28a40d);}}function _0x392f76(_0x274628){return(_0x5543e9,_0x427346,_0x4bd9b4,_0x20dc1c)=>new _0x1da509(_0x5543e9,_0x274628,_0x427346,_0x4bd9b4,_0x20dc1c);}class _0x21ee05{constructor(_0x557322,_0x45f104,_0x2ab00c,_0x2982ff,_0x3b10e4){this['parser']=_0x557322,this['parse']=_0x45f104,this['overlay']=_0x2ab00c,this['target']=_0x2982ff,this['from']=_0x3b10e4;}}function _0x4c60cd(_0x5813c9){if(!_0x5813c9['length']||_0x5813c9['some'](_0x3f8620=>_0x3f8620['from']>=_0x3f8620['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0x5813c9));}class ActiveOverlay{constructor(_0x30b717,_0x25ddfd,_0xeb0fc8,_0x17943b,_0x26d9b3,_0x903708,_0x5ce9ac){this['parser']=_0x30b717,this['predicate']=_0x25ddfd,this['mounts']=_0xeb0fc8,this['index']=_0x17943b,this['start']=_0x26d9b3,this['target']=_0x903708,this['prev']=_0x5ce9ac,this['depth']=0x0,this['ranges']=[];}}const _0x16555c=new _0xdd8853({'perNode':!0x0});class _0x1da509{constructor(_0x40aca8,_0x3f5b0f,_0xbdc00b,_0x33ab1f,_0x5e737c){this['nest']=_0x3f5b0f,this['input']=_0xbdc00b,this['fragments']=_0x33ab1f,this['ranges']=_0x5e737c,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0x40aca8;}['advance'](){if(this['baseParse']){let _0x2f8e6d=this['baseParse']['advance']();if(!_0x2f8e6d)return null;if(this['baseParse']=null,this['baseTree']=_0x2f8e6d,this['startInner'](),null!=this['stoppedAt']){for(let _0x3474bf of this['inner'])_0x3474bf['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x2309b6=this['baseTree'];return null!=this['stoppedAt']&&(_0x2309b6=new _0x626f5b(_0x2309b6['type'],_0x2309b6['children'],_0x2309b6['positions'],_0x2309b6['length'],_0x2309b6['propValues']['concat']([[_0x16555c,this['stoppedAt']]]))),_0x2309b6;}let _0x1ff557=this['inner'][this['innerDone']],_0x3b6de5=_0x1ff557['parse']['advance']();if(_0x3b6de5){this['innerDone']++;let _0x194ae7=Object['assign'](Object['create'](null),_0x1ff557['target']['props']);_0x194ae7[_0xdd8853['mounted']['id']]=new MountedTree(_0x3b6de5,_0x1ff557['overlay'],_0x1ff557['parser']),_0x1ff557['target']['props']=_0x194ae7;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0x285d9b=this['input']['length'];for(let _0x3b5968=this['innerDone'];_0x3b5968<this['inner']['length'];_0x3b5968++)this['inner'][_0x3b5968]['from']<_0x285d9b&&(_0x285d9b=Math['min'](_0x285d9b,this['inner'][_0x3b5968]['parse']['parsedPos']));return _0x285d9b;}['stopAt'](_0x234809){if(this['stoppedAt']=_0x234809,this['baseParse'])this['baseParse']['stopAt'](_0x234809);else{for(let _0x423c1c=this['innerDone'];_0x423c1c<this['inner']['length'];_0x423c1c++)this['inner'][_0x423c1c]['parse']['stopAt'](_0x234809);}}['startInner'](){let _0x5dfaca=new _0x3d9837(this['fragments']),_0x43bb0f=null,_0x16829a=null,_0x4203b6=new _0x19362a(new _0x59e173(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),_0x2a3c3d['IncludeAnonymous']|_0x2a3c3d['IgnoreMounts']);t:for(let _0x2fcb8d,_0xad26e9;;){let _0x3d7dd5,_0x2ae5d6=!0x0;if(null!=this['stoppedAt']&&_0x4203b6['from']>=this['stoppedAt'])_0x2ae5d6=!0x1;else{if(_0x5dfaca['hasNode'](_0x4203b6)){if(_0x43bb0f){let _0x15be61=_0x43bb0f['mounts']['find'](_0x124f0a=>_0x124f0a['frag']['from']<=_0x4203b6['from']&&_0x124f0a['frag']['to']>=_0x4203b6['to']&&_0x124f0a['mount']['overlay']);if(_0x15be61)for(let _0x4434de of _0x15be61['mount']['overlay']){let _0x4429f8=_0x4434de['from']+_0x15be61['pos'],_0x488ecf=_0x4434de['to']+_0x15be61['pos'];_0x4429f8>=_0x4203b6['from']&&_0x488ecf<=_0x4203b6['to']&&!_0x43bb0f['ranges']['some'](_0x496817=>_0x496817['from']<_0x488ecf&&_0x496817['to']>_0x4429f8)&&_0x43bb0f['ranges']['push']({'from':_0x4429f8,'to':_0x488ecf});}}_0x2ae5d6=!0x1;}else{if(_0x16829a&&(_0xad26e9=_0x184069(_0x16829a['ranges'],_0x4203b6['from'],_0x4203b6['to'])))_0x2ae5d6=0x2!=_0xad26e9;else{if(!_0x4203b6['type']['isAnonymous']&&(_0x2fcb8d=this['nest'](_0x4203b6,this['input']))&&(_0x4203b6['from']<_0x4203b6['to']||!_0x2fcb8d['overlay'])){_0x4203b6['tree']||(_0x1928ea(_0x4203b6),_0x43bb0f&&_0x43bb0f['depth']++,_0x16829a&&_0x16829a['depth']++);let _0x391bd7=_0x5dfaca['findMounts'](_0x4203b6['from'],_0x2fcb8d['parser']);if('function'==typeof _0x2fcb8d['overlay'])_0x43bb0f=new ActiveOverlay(_0x2fcb8d['parser'],_0x2fcb8d['overlay'],_0x391bd7,this['inner']['length'],_0x4203b6['from'],_0x4203b6['tree'],_0x43bb0f);else{let _0x1f052a=_0xaec263(this['ranges'],_0x2fcb8d['overlay']||(_0x4203b6['from']<_0x4203b6['to']?[new _0x278345(_0x4203b6['from'],_0x4203b6['to'])]:[]));_0x1f052a['length']&&_0x4c60cd(_0x1f052a),!_0x1f052a['length']&&_0x2fcb8d['overlay']||this['inner']['push'](new _0x21ee05(_0x2fcb8d['parser'],_0x1f052a['length']?_0x2fcb8d['parser']['startParse'](this['input'],_0x155a66(_0x391bd7,_0x1f052a),_0x1f052a):_0x2fcb8d['parser']['startParse'](''),_0x2fcb8d['overlay']?_0x2fcb8d['overlay']['map'](_0x2db7b9=>new _0x278345(_0x2db7b9['from']-_0x4203b6['from'],_0x2db7b9['to']-_0x4203b6['from'])):null,_0x4203b6['tree'],_0x1f052a['length']?_0x1f052a[0x0]['from']:_0x4203b6['from'])),_0x2fcb8d['overlay']?_0x1f052a['length']&&(_0x16829a={'ranges':_0x1f052a,'depth':0x0,'prev':_0x16829a}):_0x2ae5d6=!0x1;}}else{if(_0x43bb0f&&(_0x3d7dd5=_0x43bb0f['predicate'](_0x4203b6))&&(!0x0===_0x3d7dd5&&(_0x3d7dd5=new _0x278345(_0x4203b6['from'],_0x4203b6['to'])),_0x3d7dd5['from']<_0x3d7dd5['to'])){let _0x286321=_0x43bb0f['ranges']['length']-0x1;_0x286321>=0x0&&_0x43bb0f['ranges'][_0x286321]['to']==_0x3d7dd5['from']?_0x43bb0f['ranges'][_0x286321]={'from':_0x43bb0f['ranges'][_0x286321]['from'],'to':_0x3d7dd5['to']}:_0x43bb0f['ranges']['push'](_0x3d7dd5);}}}}}if(_0x2ae5d6&&_0x4203b6['firstChild']())_0x43bb0f&&_0x43bb0f['depth']++,_0x16829a&&_0x16829a['depth']++;else for(;!_0x4203b6['nextSibling']();){if(!_0x4203b6['parent']())break t;if(_0x43bb0f&&!--_0x43bb0f['depth']){let _0x976884=_0xaec263(this['ranges'],_0x43bb0f['ranges']);_0x976884['length']&&(_0x4c60cd(_0x976884),this['inner']['splice'](_0x43bb0f['index'],0x0,new _0x21ee05(_0x43bb0f['parser'],_0x43bb0f['parser']['startParse'](this['input'],_0x155a66(_0x43bb0f['mounts'],_0x976884),_0x976884),_0x43bb0f['ranges']['map'](_0x33b46b=>new _0x278345(_0x33b46b['from']-_0x43bb0f['start'],_0x33b46b['to']-_0x43bb0f['start'])),_0x43bb0f['target'],_0x976884[0x0]['from']))),_0x43bb0f=_0x43bb0f['prev'];}_0x16829a&&!--_0x16829a['depth']&&(_0x16829a=_0x16829a['prev']);}}}}function _0x184069(_0x4e9bca,_0x301210,_0x577e81){for(let _0x2a570f of _0x4e9bca){if(_0x2a570f['from']>=_0x577e81)break;if(_0x2a570f['to']>_0x301210)return _0x2a570f['from']<=_0x301210&&_0x2a570f['to']>=_0x577e81?0x2:0x1;}return 0x0;}function _0x35a398(_0x28d18a,_0x2a7e6c,_0x10a0c0,_0x48c828,_0x52cb39,_0x11d8e9){if(_0x2a7e6c<_0x10a0c0){let _0x377711=_0x28d18a['buffer'][_0x2a7e6c+0x1];_0x48c828['push'](_0x28d18a['slice'](_0x2a7e6c,_0x10a0c0,_0x377711)),_0x52cb39['push'](_0x377711-_0x11d8e9);}}function _0x1928ea(_0x5f3b0c){let {node:_0x352842}=_0x5f3b0c,_0x48d2f2=[],_0x35a674=_0x352842['context']['buffer'];do{_0x48d2f2['push'](_0x5f3b0c['index']),_0x5f3b0c['parent']();}while(!_0x5f3b0c['tree']);let _0x4cc67c=_0x5f3b0c['tree'],_0x3f2ce2=_0x4cc67c['children']['indexOf'](_0x35a674),_0x34d9ca=_0x4cc67c['children'][_0x3f2ce2],_0x4fc3c6=_0x34d9ca['buffer'],_0x4eed5e=[_0x3f2ce2];_0x4cc67c['children'][_0x3f2ce2]=function _0x488164(_0x1ebf25,_0x59e631,_0x504307,_0x1ca568,_0x2af8bc,_0x54948c){let _0x1a9f39=_0x48d2f2[_0x54948c],_0x105780=[],_0x73cc19=[];_0x35a398(_0x34d9ca,_0x1ebf25,_0x1a9f39,_0x105780,_0x73cc19,_0x1ca568);let _0x75c01a=_0x4fc3c6[_0x1a9f39+0x1],_0x350aa3=_0x4fc3c6[_0x1a9f39+0x2];_0x4eed5e['push'](_0x105780['length']);let _0x324373=_0x54948c?_0x488164(_0x1a9f39+0x4,_0x4fc3c6[_0x1a9f39+0x3],_0x34d9ca['set']['types'][_0x4fc3c6[_0x1a9f39]],_0x75c01a,_0x350aa3-_0x75c01a,_0x54948c-0x1):_0x352842['toTree']();return _0x105780['push'](_0x324373),_0x73cc19['push'](_0x75c01a-_0x1ca568),_0x35a398(_0x34d9ca,_0x4fc3c6[_0x1a9f39+0x3],_0x59e631,_0x105780,_0x73cc19,_0x1ca568),new _0x626f5b(_0x504307,_0x105780,_0x73cc19,_0x2af8bc);}(0x0,_0x4fc3c6['length'],_0x4c1c7e['none'],0x0,_0x34d9ca['length'],_0x48d2f2['length']-0x1);for(let _0x3663cc of _0x4eed5e){let _0x4c2280=_0x5f3b0c['tree']['children'][_0x3663cc],_0x1cb17a=_0x5f3b0c['tree']['positions'][_0x3663cc];_0x5f3b0c['yield'](new _0x59e173(_0x4c2280,_0x1cb17a+_0x5f3b0c['from'],_0x3663cc,_0x5f3b0c['_tree']));}}class StructureCursor{constructor(_0x33aca2,_0x515e64){this['offset']=_0x515e64,this['done']=!0x1,this['cursor']=_0x33aca2['cursor'](_0x2a3c3d['IncludeAnonymous']|_0x2a3c3d['IgnoreMounts']);}['moveTo'](_0x294fa1){let {cursor:_0x32fb38}=this,_0x17634b=_0x294fa1-this['offset'];for(;!this['done']&&_0x32fb38['from']<_0x17634b;)_0x32fb38['to']>=_0x294fa1&&_0x32fb38['enter'](_0x17634b,0x1,_0x2a3c3d['IgnoreOverlays']|_0x2a3c3d['ExcludeBuffers'])||_0x32fb38['next'](!0x1)||(this['done']=!0x0);}['hasNode'](_0x296c46){if(this['moveTo'](_0x296c46['from']),!this['done']&&this['cursor']['from']+this['offset']==_0x296c46['from']&&this['cursor']['tree'])for(let _0x591931=this['cursor']['tree'];;){if(_0x591931==_0x296c46['tree'])return!0x0;if(!(_0x591931['children']['length']&&0x0==_0x591931['positions'][0x0]&&_0x591931['children'][0x0]instanceof _0x626f5b))break;_0x591931=_0x591931['children'][0x0];}return!0x1;}}let _0x3d9837=class FragmentCursor{constructor(_0x4f3867){var _0x142b99;if(this['fragments']=_0x4f3867,this['curTo']=0x0,this['fragI']=0x0,_0x4f3867['length']){let _0x21d606=this['curFrag']=_0x4f3867[0x0];this['curTo']=null!==(_0x142b99=_0x21d606['tree']['prop'](_0x16555c))&&void 0x0!==_0x142b99?_0x142b99:_0x21d606['to'],this['inner']=new StructureCursor(_0x21d606['tree'],-_0x21d606['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x33faa5){for(;this['curFrag']&&_0x33faa5['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x33faa5['from']&&this['curTo']>=_0x33faa5['to']&&this['inner']['hasNode'](_0x33faa5);}['nextFrag'](){var _0x37d3cf;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0xa074e6=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x37d3cf=_0xa074e6['tree']['prop'](_0x16555c))&&void 0x0!==_0x37d3cf?_0x37d3cf:_0xa074e6['to'],this['inner']=new StructureCursor(_0xa074e6['tree'],-_0xa074e6['offset']);}}['findMounts'](_0x4bc65d,_0x25c39e){var _0x128635;let _0x1a62f1=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0x4bc65d,0x1);for(let _0x929bba=this['inner']['cursor']['node'];_0x929bba;_0x929bba=_0x929bba['parent']){let _0x400f76=null===(_0x128635=_0x929bba['tree'])||void 0x0===_0x128635?void 0x0:_0x128635['prop'](_0xdd8853['mounted']);if(_0x400f76&&_0x400f76['parser']==_0x25c39e)for(let _0x2213f6=this['fragI'];_0x2213f6<this['fragments']['length'];_0x2213f6++){let _0x54e63=this['fragments'][_0x2213f6];if(_0x54e63['from']>=_0x929bba['to'])break;_0x54e63['tree']==this['curFrag']['tree']&&_0x1a62f1['push']({'frag':_0x54e63,'pos':_0x929bba['from']-_0x54e63['offset'],'mount':_0x400f76});}}}return _0x1a62f1;}};function _0xaec263(_0x2dd64d,_0x4dfbd5){let _0x27b4ac=null,_0x253b16=_0x4dfbd5;for(let _0x449d25=0x1,_0x3dfb85=0x0;_0x449d25<_0x2dd64d['length'];_0x449d25++){let _0x2a0287=_0x2dd64d[_0x449d25-0x1]['to'],_0x251c54=_0x2dd64d[_0x449d25]['from'];for(;_0x3dfb85<_0x253b16['length'];_0x3dfb85++){let _0x351866=_0x253b16[_0x3dfb85];if(_0x351866['from']>=_0x251c54)break;_0x351866['to']<=_0x2a0287||(_0x27b4ac||(_0x253b16=_0x27b4ac=_0x4dfbd5['slice']()),_0x351866['from']<_0x2a0287?(_0x27b4ac[_0x3dfb85]=new _0x278345(_0x351866['from'],_0x2a0287),_0x351866['to']>_0x251c54&&_0x27b4ac['splice'](_0x3dfb85+0x1,0x0,new _0x278345(_0x251c54,_0x351866['to']))):_0x351866['to']>_0x251c54?_0x27b4ac[_0x3dfb85--]=new _0x278345(_0x251c54,_0x351866['to']):_0x27b4ac['splice'](_0x3dfb85--,0x1));}}return _0x253b16;}function _0x3748fc(_0x2fc17b,_0x37f78f,_0x1ae1d7,_0x5403f9){let _0x54c375=0x0,_0x23fb4d=0x0,_0x5389f7=!0x1,_0x3da2ef=!0x1,_0x282f4b=-0x3b9aca00,_0x29756e=[];for(;;){let _0x2c33cb=_0x54c375==_0x2fc17b['length']?0x3b9aca00:_0x5389f7?_0x2fc17b[_0x54c375]['to']:_0x2fc17b[_0x54c375]['from'],_0x587237=_0x23fb4d==_0x37f78f['length']?0x3b9aca00:_0x3da2ef?_0x37f78f[_0x23fb4d]['to']:_0x37f78f[_0x23fb4d]['from'];if(_0x5389f7!=_0x3da2ef){let _0x3d952a=Math['max'](_0x282f4b,_0x1ae1d7),_0x52f1bd=Math['min'](_0x2c33cb,_0x587237,_0x5403f9);_0x3d952a<_0x52f1bd&&_0x29756e['push'](new _0x278345(_0x3d952a,_0x52f1bd));}if(_0x282f4b=Math['min'](_0x2c33cb,_0x587237),0x3b9aca00==_0x282f4b)break;_0x2c33cb==_0x282f4b&&(_0x5389f7?(_0x5389f7=!0x1,_0x54c375++):_0x5389f7=!0x0),_0x587237==_0x282f4b&&(_0x3da2ef?(_0x3da2ef=!0x1,_0x23fb4d++):_0x3da2ef=!0x0);}return _0x29756e;}function _0x155a66(_0x3b30cf,_0x53edfd){let _0x114d56=[];for(let {pos:_0x4b5396,mount:_0x1cf852,frag:_0x4753de}of _0x3b30cf){let _0x2deab1=_0x4b5396+(_0x1cf852['overlay']?_0x1cf852['overlay'][0x0]['from']:0x0),_0x2c4033=_0x2deab1+_0x1cf852['tree']['length'],_0x3db0ab=Math['max'](_0x4753de['from'],_0x2deab1),_0x5bac1c=Math['min'](_0x4753de['to'],_0x2c4033);if(_0x1cf852['overlay']){let _0x59e48b=_0x3748fc(_0x53edfd,_0x1cf852['overlay']['map'](_0x488b9d=>new _0x278345(_0x488b9d['from']+_0x4b5396,_0x488b9d['to']+_0x4b5396)),_0x3db0ab,_0x5bac1c);for(let _0x2a9fbe=0x0,_0x408503=_0x3db0ab;;_0x2a9fbe++){let _0x5bbfdb=_0x2a9fbe==_0x59e48b['length'],_0x2867b5=_0x5bbfdb?_0x5bac1c:_0x59e48b[_0x2a9fbe]['from'];if(_0x2867b5>_0x408503&&_0x114d56['push'](new TreeFragment(_0x408503,_0x2867b5,_0x1cf852['tree'],-_0x2deab1,_0x4753de['from']>=_0x408503||_0x4753de['openStart'],_0x4753de['to']<=_0x2867b5||_0x4753de['openEnd'])),_0x5bbfdb)break;_0x408503=_0x59e48b[_0x2a9fbe]['to'];}}else _0x114d56['push'](new TreeFragment(_0x3db0ab,_0x5bac1c,_0x1cf852['tree'],-_0x2deab1,_0x4753de['from']>=_0x2deab1||_0x4753de['openStart'],_0x4753de['to']<=_0x2c4033||_0x4753de['openEnd']));}return _0x114d56;}let _0x37171d=0x0;class _0x38e9e1{constructor(_0x1dea43,_0xde1178,_0x58671b,_0x5222b3){this['name']=_0x1dea43,this['set']=_0xde1178,this['base']=_0x58671b,this['modified']=_0x5222b3,this['id']=_0x37171d++;}['toString'](){let {name:_0x13c63f}=this;for(let _0xe17440 of this['modified'])_0xe17440['name']&&(_0x13c63f=_0xe17440['name']+'('+_0x13c63f+')');return _0x13c63f;}static['define'](_0x27fe98,_0x1e36bd){let _0x52fdba='string'==typeof _0x27fe98?_0x27fe98:'?';if(_0x27fe98 instanceof _0x38e9e1&&(_0x1e36bd=_0x27fe98),null==_0x1e36bd?void 0x0:_0x1e36bd['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0x42d1a6=new _0x38e9e1(_0x52fdba,[],null,[]);if(_0x42d1a6['set']['push'](_0x42d1a6),_0x1e36bd){for(let t of _0x1e36bd['set'])_0x42d1a6['set']['push'](t);}return _0x42d1a6;}static['defineModifier'](_0x5bad7b){let _0x2c95b0=new _0x12faa0(_0x5bad7b);return _0x570728=>_0x570728['modified']['indexOf'](_0x2c95b0)>-0x1?_0x570728:_0x12faa0['get'](_0x570728['base']||_0x570728,_0x570728['modified']['concat'](_0x2c95b0)['sort']((_0x2ab8e5,_0x5f5c11)=>_0x2ab8e5['id']-_0x5f5c11['id']));}}let _0x1d9adf=0x0;class _0x12faa0{constructor(_0x3f504e){this['name']=_0x3f504e,this['instances']=[],this['id']=_0x1d9adf++;}static['get'](_0x1ecc14,_0x5e3729){if(!_0x5e3729['length'])return _0x1ecc14;let _0x1c8770=_0x5e3729[0x0]['instances']['find'](t=>{return t['base']==_0x1ecc14&&(_0x352b8b=_0x5e3729,_0x466d20=t['modified'],_0x352b8b['length']==_0x466d20['length']&&_0x352b8b['every']((_0xc0c34,_0x4af442)=>_0xc0c34==_0x466d20[_0x4af442]));var _0x352b8b,_0x466d20;});if(_0x1c8770)return _0x1c8770;let _0x443701=[],_0x162df5=new _0x38e9e1(_0x1ecc14['name'],_0x443701,_0x1ecc14,_0x5e3729);for(let _0x4afb79 of _0x5e3729)_0x4afb79['instances']['push'](_0x162df5);let _0x59c721=function(_0x1904b6){let _0x126a32=[[]];for(let _0x1f1be3=0x0;_0x1f1be3<_0x1904b6['length'];_0x1f1be3++)for(let _0x32cf12=0x0,_0x488fe4=_0x126a32['length'];_0x32cf12<_0x488fe4;_0x32cf12++)_0x126a32['push'](_0x126a32[_0x32cf12]['concat'](_0x1904b6[_0x1f1be3]));return _0x126a32['sort']((_0x134db5,_0x2e3079)=>_0x2e3079['length']-_0x134db5['length']);}(_0x5e3729);for(let _0x38f911 of _0x1ecc14['set'])if(!_0x38f911['modified']['length']){for(let _0x50c1a8 of _0x59c721)_0x443701['push'](_0x12faa0['get'](_0x38f911,_0x50c1a8));}return _0x162df5;}}function _0x898146(_0x508976){let _0x2b0d6b=Object['create'](null);for(let _0x4a8df0 in _0x508976){let _0x5fe4a9=_0x508976[_0x4a8df0];Array['isArray'](_0x5fe4a9)||(_0x5fe4a9=[_0x5fe4a9]);for(let _0x5435ec of _0x4a8df0['split']('\x20'))if(_0x5435ec){let _0x342d6c=[],_0x2555fb=0x2,_0x4947b3=_0x5435ec;for(let _0xe03aa8=0x0;;){if('...'==_0x4947b3&&_0xe03aa8>0x0&&_0xe03aa8+0x3==_0x5435ec['length']){_0x2555fb=0x1;break;}let _0x459ede=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x4947b3);if(!_0x459ede)throw new RangeError('Invalid\x20path:\x20'+_0x5435ec);if(_0x342d6c['push']('*'==_0x459ede[0x0]?'':'\x22'==_0x459ede[0x0][0x0]?JSON['parse'](_0x459ede[0x0]):_0x459ede[0x0]),_0xe03aa8+=_0x459ede[0x0]['length'],_0xe03aa8==_0x5435ec['length'])break;let _0x2d9188=_0x5435ec[_0xe03aa8++];if(_0xe03aa8==_0x5435ec['length']&&'!'==_0x2d9188){_0x2555fb=0x0;break;}if('/'!=_0x2d9188)throw new RangeError('Invalid\x20path:\x20'+_0x5435ec);_0x4947b3=_0x5435ec['slice'](_0xe03aa8);}let _0x2b8b37=_0x342d6c['length']-0x1,_0x4afac3=_0x342d6c[_0x2b8b37];if(!_0x4afac3)throw new RangeError('Invalid\x20path:\x20'+_0x5435ec);let _0x136a1c=new _0x385a0e(_0x5fe4a9,_0x2555fb,_0x2b8b37>0x0?_0x342d6c['slice'](0x0,_0x2b8b37):null);_0x2b0d6b[_0x4afac3]=_0x136a1c['sort'](_0x2b0d6b[_0x4afac3]);}}return _0x21e20f['add'](_0x2b0d6b);}const _0x21e20f=new _0xdd8853({'combine'(_0xec9ff3,_0x374b01){let _0x3bc43c,_0x3b758b,_0x2de660;for(;_0xec9ff3||_0x374b01;){if(!_0xec9ff3||_0x374b01&&_0xec9ff3['depth']>=_0x374b01['depth']?(_0x2de660=_0x374b01,_0x374b01=_0x374b01['next']):(_0x2de660=_0xec9ff3,_0xec9ff3=_0xec9ff3['next']),_0x3bc43c&&_0x3bc43c['mode']==_0x2de660['mode']&&!_0x2de660['context']&&!_0x3bc43c['context'])continue;let _0x575fb6=new _0x385a0e(_0x2de660['tags'],_0x2de660['mode'],_0x2de660['context']);_0x3bc43c?_0x3bc43c['next']=_0x575fb6:_0x3b758b=_0x575fb6,_0x3bc43c=_0x575fb6;}return _0x3b758b;}});class _0x385a0e{constructor(_0x583fa5,_0x1ab99f,_0x4bae9e,_0x975996){this['tags']=_0x583fa5,this['mode']=_0x1ab99f,this['context']=_0x4bae9e,this['next']=_0x975996;}get['opaque'](){return 0x0==this['mode'];}get['inherit'](){return 0x1==this['mode'];}['sort'](_0x11cd78){return!_0x11cd78||_0x11cd78['depth']<this['depth']?(this['next']=_0x11cd78,this):(_0x11cd78['next']=this['sort'](_0x11cd78['next']),_0x11cd78);}get['depth'](){return this['context']?this['context']['length']:0x0;}}function _0x5b6e34(_0x142bb1,_0x320683){let _0x4a25bd=Object['create'](null);for(let _0x10760b of _0x142bb1)if(Array['isArray'](_0x10760b['tag'])){for(let _0x830a07 of _0x10760b['tag'])_0x4a25bd[_0x830a07['id']]=_0x10760b['class'];}else _0x4a25bd[_0x10760b['tag']['id']]=_0x10760b['class'];let {scope:_0xb3acc8,all:_0x5941df=null}=_0x320683||{};return{'style':_0x28ece8=>{let _0x325060=_0x5941df;for(let _0x516bb6 of _0x28ece8)for(let _0x4b1e71 of _0x516bb6['set']){let _0x10a57f=_0x4a25bd[_0x4b1e71['id']];if(_0x10a57f){_0x325060=_0x325060?_0x325060+'\x20'+_0x10a57f:_0x10a57f;break;}}return _0x325060;},'scope':_0xb3acc8};}function _0x2077c9(_0x3c073c,_0xa973e7,_0x1640b1,_0xc78703=0x0,_0x5bb56c=_0x3c073c['length']){let _0xe773b7=new HighlightBuilder(_0xc78703,Array['isArray'](_0xa973e7)?_0xa973e7:[_0xa973e7],_0x1640b1);_0xe773b7['highlightRange'](_0x3c073c['cursor'](),_0xc78703,_0x5bb56c,'',_0xe773b7['highlighters']),_0xe773b7['flush'](_0x5bb56c);}_0x385a0e['empty']=new _0x385a0e([],0x2,null);class HighlightBuilder{constructor(_0xd8395a,_0x22ba4d,_0x56ca90){this['at']=_0xd8395a,this['highlighters']=_0x22ba4d,this['span']=_0x56ca90,this['class']='';}['startSpan'](_0x1b76e1,_0x5d2cc3){_0x5d2cc3!=this['class']&&(this['flush'](_0x1b76e1),_0x1b76e1>this['at']&&(this['at']=_0x1b76e1),this['class']=_0x5d2cc3);}['flush'](_0x1d2ee3){_0x1d2ee3>this['at']&&this['class']&&this['span'](this['at'],_0x1d2ee3,this['class']);}['highlightRange'](_0x39c99e,_0x230198,_0x47c9de,_0x40f38a,_0x299ed0){let {type:_0x1b313f,from:_0x182ccb,to:_0x10b491}=_0x39c99e;if(_0x182ccb>=_0x47c9de||_0x10b491<=_0x230198)return;_0x1b313f['isTop']&&(_0x299ed0=this['highlighters']['filter'](_0x421e47=>!_0x421e47['scope']||_0x421e47['scope'](_0x1b313f)));let _0x13c73e=_0x40f38a,_0x49f395=function(_0x15dcb8){let _0xefd4d0=_0x15dcb8['type']['prop'](_0x21e20f);for(;_0xefd4d0&&_0xefd4d0['context']&&!_0x15dcb8['matchContext'](_0xefd4d0['context']);)_0xefd4d0=_0xefd4d0['next'];return _0xefd4d0||null;}(_0x39c99e)||_0x385a0e['empty'],_0xbcf09e=function(_0x4593c8,_0x67dac7){let _0x464353=null;for(let _0x4aa3ae of _0x4593c8){let _0x29d759=_0x4aa3ae['style'](_0x67dac7);_0x29d759&&(_0x464353=_0x464353?_0x464353+'\x20'+_0x29d759:_0x29d759);}return _0x464353;}(_0x299ed0,_0x49f395['tags']);if(_0xbcf09e&&(_0x13c73e&&(_0x13c73e+='\x20'),_0x13c73e+=_0xbcf09e,0x1==_0x49f395['mode']&&(_0x40f38a+=(_0x40f38a?'\x20':'')+_0xbcf09e)),this['startSpan'](Math['max'](_0x230198,_0x182ccb),_0x13c73e),_0x49f395['opaque'])return;let _0x3a1dfe=_0x39c99e['tree']&&_0x39c99e['tree']['prop'](_0xdd8853['mounted']);if(_0x3a1dfe&&_0x3a1dfe['overlay']){let _0x305e69=_0x39c99e['node']['enter'](_0x3a1dfe['overlay'][0x0]['from']+_0x182ccb,0x1),_0x2da1af=this['highlighters']['filter'](_0x3aa0b7=>!_0x3aa0b7['scope']||_0x3aa0b7['scope'](_0x3a1dfe['tree']['type'])),_0x552bd9=_0x39c99e['firstChild']();for(let _0xa1eb10=0x0,_0x19909c=_0x182ccb;;_0xa1eb10++){let _0x5828e1=_0xa1eb10<_0x3a1dfe['overlay']['length']?_0x3a1dfe['overlay'][_0xa1eb10]:null,_0x479c4d=_0x5828e1?_0x5828e1['from']+_0x182ccb:_0x10b491,_0x1ba333=Math['max'](_0x230198,_0x19909c),_0x234f48=Math['min'](_0x47c9de,_0x479c4d);if(_0x1ba333<_0x234f48&&_0x552bd9){for(;_0x39c99e['from']<_0x234f48&&(this['highlightRange'](_0x39c99e,_0x1ba333,_0x234f48,_0x40f38a,_0x299ed0),this['startSpan'](Math['min'](_0x234f48,_0x39c99e['to']),_0x13c73e),!(_0x39c99e['to']>=_0x479c4d)&&_0x39c99e['nextSibling']()););}if(!_0x5828e1||_0x479c4d>_0x47c9de)break;_0x19909c=_0x5828e1['to']+_0x182ccb,_0x19909c>_0x230198&&(this['highlightRange'](_0x305e69['cursor'](),Math['max'](_0x230198,_0x5828e1['from']+_0x182ccb),Math['min'](_0x47c9de,_0x19909c),'',_0x2da1af),this['startSpan'](Math['min'](_0x47c9de,_0x19909c),_0x13c73e));}_0x552bd9&&_0x39c99e['parent']();}else{if(_0x39c99e['firstChild']()){_0x3a1dfe&&(_0x40f38a='');do{if(!(_0x39c99e['to']<=_0x230198)){if(_0x39c99e['from']>=_0x47c9de)break;this['highlightRange'](_0x39c99e,_0x230198,_0x47c9de,_0x40f38a,_0x299ed0),this['startSpan'](Math['min'](_0x47c9de,_0x39c99e['to']),_0x13c73e);}}while(_0x39c99e['nextSibling']());_0x39c99e['parent']();}}}}const t=_0x38e9e1['define'],_0x29e5dd=t(),_0x30aa38=t(),_0x41dbfe=t(_0x30aa38),_0x57eb15=t(_0x30aa38),_0x563752=t(),tE=t(_0x563752),_0x5ec09e=t(_0x563752),_0x2a35a8=t(),_0x134cf8=t(_0x2a35a8),_0x1e1c55=t(),_0xe32a1f=t(),_0x422fd9=t(),_0x1d51de=t(_0x422fd9),_0x509038=t(),_0x40ee63={'comment':_0x29e5dd,'lineComment':t(_0x29e5dd),'blockComment':t(_0x29e5dd),'docComment':t(_0x29e5dd),'name':_0x30aa38,'variableName':t(_0x30aa38),'typeName':_0x41dbfe,'tagName':t(_0x41dbfe),'propertyName':_0x57eb15,'attributeName':t(_0x57eb15),'className':t(_0x30aa38),'labelName':t(_0x30aa38),'namespace':t(_0x30aa38),'macroName':t(_0x30aa38),'literal':_0x563752,'string':tE,'docString':t(tE),'character':t(tE),'attributeValue':t(tE),'number':_0x5ec09e,'integer':t(_0x5ec09e),'float':t(_0x5ec09e),'bool':t(_0x563752),'regexp':t(_0x563752),'escape':t(_0x563752),'color':t(_0x563752),'url':t(_0x563752),'keyword':_0x1e1c55,'self':t(_0x1e1c55),'null':t(_0x1e1c55),'atom':t(_0x1e1c55),'unit':t(_0x1e1c55),'modifier':t(_0x1e1c55),'operatorKeyword':t(_0x1e1c55),'controlKeyword':t(_0x1e1c55),'definitionKeyword':t(_0x1e1c55),'moduleKeyword':t(_0x1e1c55),'operator':_0xe32a1f,'derefOperator':t(_0xe32a1f),'arithmeticOperator':t(_0xe32a1f),'logicOperator':t(_0xe32a1f),'bitwiseOperator':t(_0xe32a1f),'compareOperator':t(_0xe32a1f),'updateOperator':t(_0xe32a1f),'definitionOperator':t(_0xe32a1f),'typeOperator':t(_0xe32a1f),'controlOperator':t(_0xe32a1f),'punctuation':_0x422fd9,'separator':t(_0x422fd9),'bracket':_0x1d51de,'angleBracket':t(_0x1d51de),'squareBracket':t(_0x1d51de),'paren':t(_0x1d51de),'brace':t(_0x1d51de),'content':_0x2a35a8,'heading':_0x134cf8,'heading1':t(_0x134cf8),'heading2':t(_0x134cf8),'heading3':t(_0x134cf8),'heading4':t(_0x134cf8),'heading5':t(_0x134cf8),'heading6':t(_0x134cf8),'contentSeparator':t(_0x2a35a8),'list':t(_0x2a35a8),'quote':t(_0x2a35a8),'emphasis':t(_0x2a35a8),'strong':t(_0x2a35a8),'link':t(_0x2a35a8),'monospace':t(_0x2a35a8),'strikethrough':t(_0x2a35a8),'inserted':t(),'deleted':t(),'changed':t(),'invalid':t(),'meta':_0x509038,'documentMeta':t(_0x509038),'annotation':t(_0x509038),'processingInstruction':t(_0x509038),'definition':_0x38e9e1['defineModifier']('definition'),'constant':_0x38e9e1['defineModifier']('constant'),'function':_0x38e9e1['defineModifier']('function'),'standard':_0x38e9e1['defineModifier']('standard'),'local':_0x38e9e1['defineModifier']('local'),'special':_0x38e9e1['defineModifier']('special')};for(let _0x3d4c23 in _0x40ee63){let _0x4dcb71=_0x40ee63[_0x3d4c23];_0x4dcb71 instanceof _0x38e9e1&&(_0x4dcb71['name']=_0x3d4c23);}var _0x40f0b3;_0x5b6e34([{'tag':_0x40ee63['link'],'class':'tok-link'},{'tag':_0x40ee63['heading'],'class':'tok-heading'},{'tag':_0x40ee63['emphasis'],'class':'tok-emphasis'},{'tag':_0x40ee63['strong'],'class':'tok-strong'},{'tag':_0x40ee63['keyword'],'class':'tok-keyword'},{'tag':_0x40ee63['atom'],'class':'tok-atom'},{'tag':_0x40ee63['bool'],'class':'tok-bool'},{'tag':_0x40ee63['url'],'class':'tok-url'},{'tag':_0x40ee63['labelName'],'class':'tok-labelName'},{'tag':_0x40ee63['inserted'],'class':'tok-inserted'},{'tag':_0x40ee63['deleted'],'class':'tok-deleted'},{'tag':_0x40ee63['literal'],'class':'tok-literal'},{'tag':_0x40ee63['string'],'class':'tok-string'},{'tag':_0x40ee63['number'],'class':'tok-number'},{'tag':[_0x40ee63['regexp'],_0x40ee63['escape'],_0x40ee63['special'](_0x40ee63['string'])],'class':'tok-string2'},{'tag':_0x40ee63['variableName'],'class':'tok-variableName'},{'tag':_0x40ee63['local'](_0x40ee63['variableName']),'class':'tok-variableName\x20tok-local'},{'tag':_0x40ee63['definition'](_0x40ee63['variableName']),'class':'tok-variableName\x20tok-definition'},{'tag':_0x40ee63['special'](_0x40ee63['variableName']),'class':'tok-variableName2'},{'tag':_0x40ee63['definition'](_0x40ee63['propertyName']),'class':'tok-propertyName\x20tok-definition'},{'tag':_0x40ee63['typeName'],'class':'tok-typeName'},{'tag':_0x40ee63['namespace'],'class':'tok-namespace'},{'tag':_0x40ee63['className'],'class':'tok-className'},{'tag':_0x40ee63['macroName'],'class':'tok-macroName'},{'tag':_0x40ee63['propertyName'],'class':'tok-propertyName'},{'tag':_0x40ee63['operator'],'class':'tok-operator'},{'tag':_0x40ee63['comment'],'class':'tok-comment'},{'tag':_0x40ee63['meta'],'class':'tok-meta'},{'tag':_0x40ee63['invalid'],'class':'tok-invalid'},{'tag':_0x40ee63['punctuation'],'class':'tok-punctuation'}]);const _0x537cb7=new _0xdd8853();function _0x409fad(_0x48fa52){return Facet['define']({'combine':_0x48fa52?_0x44f8b4=>_0x44f8b4['concat'](_0x48fa52):void 0x0});}const _0xd306b1=new _0xdd8853();class _0x48234d{constructor(_0x5d2f14,_0x53d33b,_0x4cc40e=[],_0x37f4c2=''){this['data']=_0x5d2f14,this['name']=_0x37f4c2,EditorState['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](EditorState['prototype'],'tree',{'get'(){return _0x31f27d(this);}}),this['parser']=_0x53d33b,this['extension']=[_0x2a8e1f['of'](this),EditorState['languageData']['of']((_0x1f2391,_0x3e6139,_0x5e1761)=>{let _0x294ab2=_0x2a5a4c(_0x1f2391,_0x3e6139,_0x5e1761),_0x520d3c=_0x294ab2['type']['prop'](_0x537cb7);if(!_0x520d3c)return[];let _0x5e3637=_0x1f2391['facet'](_0x520d3c),_0x2ea35e=_0x294ab2['type']['prop'](_0xd306b1);if(_0x2ea35e){let _0x19457d=_0x294ab2['resolve'](_0x3e6139-_0x294ab2['from'],_0x5e1761);for(let _0x416183 of _0x2ea35e)if(_0x416183['test'](_0x19457d,_0x1f2391)){let _0x4266b1=_0x1f2391['facet'](_0x416183['facet']);return'replace'==_0x416183['type']?_0x4266b1:_0x4266b1['concat'](_0x5e3637);}}return _0x5e3637;})]['concat'](_0x4cc40e);}['isActiveAt'](_0x429746,_0x5d0f61,_0xfb7b8e=-0x1){return _0x2a5a4c(_0x429746,_0x5d0f61,_0xfb7b8e)['type']['prop'](_0x537cb7)==this['data'];}['findRegions'](_0x4784a0){let _0x53b46c=_0x4784a0['facet'](_0x2a8e1f);if((null==_0x53b46c?void 0x0:_0x53b46c['data'])==this['data'])return[{'from':0x0,'to':_0x4784a0['doc']['length']}];if(!_0x53b46c||!_0x53b46c['allowsNesting'])return[];let _0x46011e=[],_0x11a0df=(_0x37ed19,_0x270b29)=>{if(_0x37ed19['prop'](_0x537cb7)==this['data'])return void _0x46011e['push']({'from':_0x270b29,'to':_0x270b29+_0x37ed19['length']});let _0x14fcc7=_0x37ed19['prop'](_0xdd8853['mounted']);if(_0x14fcc7){if(_0x14fcc7['tree']['prop'](_0x537cb7)==this['data']){if(_0x14fcc7['overlay']){for(let _0xbf6bc4 of _0x14fcc7['overlay'])_0x46011e['push']({'from':_0xbf6bc4['from']+_0x270b29,'to':_0xbf6bc4['to']+_0x270b29});}else _0x46011e['push']({'from':_0x270b29,'to':_0x270b29+_0x37ed19['length']});return;}if(_0x14fcc7['overlay']){let _0x46e635=_0x46011e['length'];if(_0x11a0df(_0x14fcc7['tree'],_0x14fcc7['overlay'][0x0]['from']+_0x270b29),_0x46011e['length']>_0x46e635)return;}}for(let _0x484dd7=0x0;_0x484dd7<_0x37ed19['children']['length'];_0x484dd7++){let _0x4ebc7a=_0x37ed19['children'][_0x484dd7];_0x4ebc7a instanceof _0x626f5b&&_0x11a0df(_0x4ebc7a,_0x37ed19['positions'][_0x484dd7]+_0x270b29);}};return _0x11a0df(_0x31f27d(_0x4784a0),0x0),_0x46011e;}get['allowsNesting'](){return!0x0;}}function _0x2a5a4c(_0x3ae224,_0x1ede4e,_0x1929d2){let _0x5f4601=_0x3ae224['facet'](_0x2a8e1f),_0x3bfdb2=_0x31f27d(_0x3ae224)['topNode'];if(!_0x5f4601||_0x5f4601['allowsNesting']){for(let _0x5a3db1=_0x3bfdb2;_0x5a3db1;_0x5a3db1=_0x5a3db1['enter'](_0x1ede4e,_0x1929d2,_0x2a3c3d['ExcludeBuffers']))_0x5a3db1['type']['isTop']&&(_0x3bfdb2=_0x5a3db1);}return _0x3bfdb2;}_0x48234d['setState']=StateEffect['define']();class _0x40eeca extends _0x48234d{constructor(_0xd6fac6,_0x4a4f53,_0x22a9d3){super(_0xd6fac6,_0x4a4f53,[],_0x22a9d3),this['parser']=_0x4a4f53;}static['define'](_0x2ef781){let _0x4d60c2=_0x409fad(_0x2ef781['languageData']);return new _0x40eeca(_0x4d60c2,_0x2ef781['parser']['configure']({'props':[_0x537cb7['add'](_0x433f8a=>_0x433f8a['isTop']?_0x4d60c2:void 0x0)]}),_0x2ef781['name']);}['configure'](_0x2a3834,_0x28d18c){return new _0x40eeca(this['data'],this['parser']['configure'](_0x2a3834),_0x28d18c||this['name']);}get['allowsNesting'](){return this['parser']['hasWrappers']();}}function _0x31f27d(_0x31cabe){let _0x15a515=_0x31cabe['field'](_0x48234d['state'],!0x1);return _0x15a515?_0x15a515['tree']:_0x626f5b['empty'];}class DocInput{constructor(_0x1d3ecd){this['doc']=_0x1d3ecd,this['cursorPos']=0x0,this['string']='',this['cursor']=_0x1d3ecd['iter']();}get['length'](){return this['doc']['length'];}['syncTo'](_0x19a5e2){return this['string']=this['cursor']['next'](_0x19a5e2-this['cursorPos'])['value'],this['cursorPos']=_0x19a5e2+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0x17dbe7){return this['syncTo'](_0x17dbe7),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0x15cf8d,_0x41562d){let _0x51b2c8=this['cursorPos']-this['string']['length'];return _0x15cf8d<_0x51b2c8||_0x41562d>=this['cursorPos']?this['doc']['sliceString'](_0x15cf8d,_0x41562d):this['string']['slice'](_0x15cf8d-_0x51b2c8,_0x41562d-_0x51b2c8);}}let _0x59bf3e=null;class ParseContext{constructor(_0x5816ab,_0x3c718b,_0x411b93=[],_0x145c71,_0x206307,_0x32f330,_0x22a762,_0x3aea57){this['parser']=_0x5816ab,this['state']=_0x3c718b,this['fragments']=_0x411b93,this['tree']=_0x145c71,this['treeLen']=_0x206307,this['viewport']=_0x32f330,this['skipped']=_0x22a762,this['scheduleOn']=_0x3aea57,this['parse']=null,this['tempSkipped']=[];}static['create'](_0x25bde0,_0x516bfc,_0x5de207){return new ParseContext(_0x25bde0,_0x516bfc,[],_0x626f5b['empty'],0x0,_0x5de207,[],null);}['startParse'](){return this['parser']['startParse'](new DocInput(this['state']['doc']),this['fragments']);}['work'](_0x4d202b,_0x7e2360){return null!=_0x7e2360&&_0x7e2360>=this['state']['doc']['length']&&(_0x7e2360=void 0x0),this['tree']!=_0x626f5b['empty']&&this['isDone'](null!=_0x7e2360?_0x7e2360:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0x1ea0a0;if('number'==typeof _0x4d202b){let _0x42db05=Date['now']()+_0x4d202b;_0x4d202b=()=>Date['now']()>_0x42db05;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0x7e2360&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x7e2360)&&_0x7e2360<this['state']['doc']['length']&&this['parse']['stopAt'](_0x7e2360);;){let _0x52bf26=this['parse']['advance']();if(_0x52bf26){if(this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](_0x52bf26,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0x1ea0a0=this['parse']['stoppedAt'])&&void 0x0!==_0x1ea0a0?_0x1ea0a0:this['state']['doc']['length'],this['tree']=_0x52bf26,this['parse']=null,!(this['treeLen']<(null!=_0x7e2360?_0x7e2360:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0x4d202b())return!0x1;}});}['takeTree'](){let _0x4d3ede,_0x36673e;this['parse']&&(_0x4d3ede=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x4d3ede)&&this['parse']['stopAt'](_0x4d3ede),this['withContext'](()=>{for(;!(_0x36673e=this['parse']['advance']()););}),this['treeLen']=_0x4d3ede,this['tree']=_0x36673e,this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}['withContext'](_0x49451e){let _0x2fc71f=_0x59bf3e;_0x59bf3e=this;try{return _0x49451e();}finally{_0x59bf3e=_0x2fc71f;}}['withoutTempSkipped'](_0x29170d){for(let _0x189683;_0x189683=this['tempSkipped']['pop']();)_0x29170d=_0x4b423e(_0x29170d,_0x189683['from'],_0x189683['to']);return _0x29170d;}['changes'](_0x108782,_0x102df1){let {fragments:_0x29d295,tree:_0x1dd8d8,treeLen:_0x2de007,viewport:_0x5f5119,skipped:_0x321e8f}=this;if(this['takeTree'](),!_0x108782['empty']){let _0x1edc64=[];if(_0x108782['iterChangedRanges']((_0x5dc8ea,_0x10edbc,_0xe8a037,_0x1d71ae)=>_0x1edc64['push']({'fromA':_0x5dc8ea,'toA':_0x10edbc,'fromB':_0xe8a037,'toB':_0x1d71ae})),_0x29d295=TreeFragment['applyChanges'](_0x29d295,_0x1edc64),_0x1dd8d8=_0x626f5b['empty'],_0x2de007=0x0,_0x5f5119={'from':_0x108782['mapPos'](_0x5f5119['from'],-0x1),'to':_0x108782['mapPos'](_0x5f5119['to'],0x1)},this['skipped']['length']){_0x321e8f=[];for(let _0x3af6d1 of this['skipped']){let _0x383a2e=_0x108782['mapPos'](_0x3af6d1['from'],0x1),_0x43dbb7=_0x108782['mapPos'](_0x3af6d1['to'],-0x1);_0x383a2e<_0x43dbb7&&_0x321e8f['push']({'from':_0x383a2e,'to':_0x43dbb7});}}}return new ParseContext(this['parser'],_0x102df1,_0x29d295,_0x1dd8d8,_0x2de007,_0x5f5119,_0x321e8f,this['scheduleOn']);}['updateViewport'](_0x27450c){if(this['viewport']['from']==_0x27450c['from']&&this['viewport']['to']==_0x27450c['to'])return!0x1;this['viewport']=_0x27450c;let _0x353bad=this['skipped']['length'];for(let _0x257bd4=0x0;_0x257bd4<this['skipped']['length'];_0x257bd4++){let {from:_0x260459,to:_0x1c9753}=this['skipped'][_0x257bd4];_0x260459<_0x27450c['to']&&_0x1c9753>_0x27450c['from']&&(this['fragments']=_0x4b423e(this['fragments'],_0x260459,_0x1c9753),this['skipped']['splice'](_0x257bd4--,0x1));}return!(this['skipped']['length']>=_0x353bad)&&(this['reset'](),!0x0);}['reset'](){this['parse']&&(this['takeTree'](),this['parse']=null);}['skipUntilInView'](_0x40afb4,_0x10a17f){this['skipped']['push']({'from':_0x40afb4,'to':_0x10a17f});}static['getSkippingParser'](_0x2a34c4){return new class extends _0x114016{['createParse'](_0x29a04a,_0x5c5651,_0x4e4425){let _0x4a9486=_0x4e4425[0x0]['from'],_0x126950=_0x4e4425[_0x4e4425['length']-0x1]['to'];return{'parsedPos':_0x4a9486,'advance'(){let _0x138607=_0x59bf3e;if(_0x138607){for(let _0x12133d of _0x4e4425)_0x138607['tempSkipped']['push'](_0x12133d);_0x2a34c4&&(_0x138607['scheduleOn']=_0x138607['scheduleOn']?Promise['all']([_0x138607['scheduleOn'],_0x2a34c4]):_0x2a34c4);}return this['parsedPos']=_0x126950,new _0x626f5b(_0x4c1c7e['none'],[],[],_0x126950-_0x4a9486);},'stoppedAt':null,'stopAt'(){}};}}();}['isDone'](_0x4fe05a){_0x4fe05a=Math['min'](_0x4fe05a,this['state']['doc']['length']);let _0x346eec=this['fragments'];return this['treeLen']>=_0x4fe05a&&_0x346eec['length']&&0x0==_0x346eec[0x0]['from']&&_0x346eec[0x0]['to']>=_0x4fe05a;}static['get'](){return _0x59bf3e;}}function _0x4b423e(_0x285488,_0x4fee9a,_0x4af259){return TreeFragment['applyChanges'](_0x285488,[{'fromA':_0x4fee9a,'toA':_0x4af259,'fromB':_0x4fee9a,'toB':_0x4af259}]);}class LanguageState{constructor(_0x42ae9f){this['context']=_0x42ae9f,this['tree']=_0x42ae9f['tree'];}['apply'](_0x40873d){if(!_0x40873d['docChanged']&&this['tree']==this['context']['tree'])return this;let _0x932bf4=this['context']['changes'](_0x40873d['changes'],_0x40873d['state']),_0x1984f7=this['context']['treeLen']==_0x40873d['startState']['doc']['length']?void 0x0:Math['max'](_0x40873d['changes']['mapPos'](this['context']['treeLen']),_0x932bf4['viewport']['to']);return _0x932bf4['work'](0x14,_0x1984f7)||_0x932bf4['takeTree'](),new LanguageState(_0x932bf4);}static['init'](_0x1e881c){let _0x48c547=Math['min'](0xbb8,_0x1e881c['doc']['length']),_0x19e48d=ParseContext['create'](_0x1e881c['facet'](_0x2a8e1f)['parser'],_0x1e881c,{'from':0x0,'to':_0x48c547});return _0x19e48d['work'](0x14,_0x48c547)||_0x19e48d['takeTree'](),new LanguageState(_0x19e48d);}}_0x48234d['state']=StateField['define']({'create':LanguageState['init'],'update'(_0x3a67fc,_0x289d3d){for(let _0x211698 of _0x289d3d['effects'])if(_0x211698['is'](_0x48234d['setState']))return _0x211698['value'];return _0x289d3d['startState']['facet'](_0x2a8e1f)!=_0x289d3d['state']['facet'](_0x2a8e1f)?LanguageState['init'](_0x289d3d['state']):_0x3a67fc['apply'](_0x289d3d);}});let _0x983a5c=_0x38a0fc=>{let _0x4a6f9f=setTimeout(()=>_0x38a0fc(),0x1f4);return()=>clearTimeout(_0x4a6f9f);};'undefined'!=typeof requestIdleCallback&&(_0x983a5c=_0x165bb1=>{let _0x36c39e=-0x1,_0x4e65c0=setTimeout(()=>{_0x36c39e=requestIdleCallback(_0x165bb1,{'timeout':0x190});},0x64);return()=>_0x36c39e<0x0?clearTimeout(_0x4e65c0):cancelIdleCallback(_0x36c39e);});const _0x591f87='undefined'!=typeof navigator&&(null===(_0x40f0b3=navigator['scheduling'])||void 0x0===_0x40f0b3?void 0x0:_0x40f0b3['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,_0x221529=_0x470e1f['fromClass'](class _0x2fb99c{constructor(_0x2c7005){this['view']=_0x2c7005,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}['update'](_0x299146){let _0x312640=this['view']['state']['field'](_0x48234d['state'])['context'];(_0x312640['updateViewport'](_0x299146['view']['viewport'])||this['view']['viewport']['to']>_0x312640['treeLen'])&&this['scheduleWork'](),(_0x299146['docChanged']||_0x299146['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0x312640);}['scheduleWork'](){if(this['working'])return;let {state:_0x31c8c8}=this['view'],_0x3e7628=_0x31c8c8['field'](_0x48234d['state']);_0x3e7628['tree']==_0x3e7628['context']['tree']&&_0x3e7628['context']['isDone'](_0x31c8c8['doc']['length'])||(this['working']=_0x983a5c(this['work']));}['work'](_0x2d56e5){this['working']=null;let _0x3fa316=Date['now']();if(this['chunkEnd']<_0x3fa316&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0x3fa316+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x492c8c,viewport:{to:_0x355c93}}=this['view'],_0x2bafd6=_0x492c8c['field'](_0x48234d['state']);if(_0x2bafd6['tree']==_0x2bafd6['context']['tree']&&_0x2bafd6['context']['isDone'](_0x355c93+0x186a0))return;let _0x2082fb=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0x2d56e5&&!_0x591f87?Math['max'](0x19,_0x2d56e5['timeRemaining']()-0x5):0x3b9aca00),_0x26b4cc=_0x2bafd6['context']['treeLen']<_0x355c93&&_0x492c8c['doc']['length']>_0x355c93+0x3e8,_0x1fc2c5=_0x2bafd6['context']['work'](()=>_0x591f87&&_0x591f87()||Date['now']()>_0x2082fb,_0x355c93+(_0x26b4cc?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0x3fa316,(_0x1fc2c5||this['chunkBudget']<=0x0)&&(_0x2bafd6['context']['takeTree'](),this['view']['dispatch']({'effects':_0x48234d['setState']['of'](new LanguageState(_0x2bafd6['context']))})),this['chunkBudget']>0x0&&(!_0x1fc2c5||_0x26b4cc)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0x2bafd6['context']);}['checkAsyncSchedule'](_0x184546){_0x184546['scheduleOn']&&(this['workScheduled']++,_0x184546['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0x4338d7=>_0x817679(this['view']['state'],_0x4338d7))['then'](()=>this['workScheduled']--),_0x184546['scheduleOn']=null);}['destroy'](){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),_0x2a8e1f=Facet['define']({'combine':_0x476cf9=>_0x476cf9['length']?_0x476cf9[0x0]:null,'enables':_0x5cb6d9=>[_0x48234d['state'],_0x221529,EditorView['contentAttributes']['compute']([_0x5cb6d9],_0x5ce30f=>{let _0x18d0e8=_0x5ce30f['facet'](_0x5cb6d9);return _0x18d0e8&&_0x18d0e8['name']?{'data-language':_0x18d0e8['name']}:{};})]});class LanguageSupport{constructor(_0x3f5b39,_0x14d373=[]){this['language']=_0x3f5b39,this['support']=_0x14d373,this['extension']=[_0x3f5b39,_0x14d373];}}class LanguageDescription{constructor(_0x2693f4,_0x18c300,_0x547e3b,_0x5f3ba0,_0xc6bc13,_0x44d65d=void 0x0){this['name']=_0x2693f4,this['alias']=_0x18c300,this['extensions']=_0x547e3b,this['filename']=_0x5f3ba0,this['loadFunc']=_0xc6bc13,this['support']=_0x44d65d,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0x2e55af=>this['support']=_0x2e55af,_0x507ca=>{throw this['loading']=null,_0x507ca;}));}static['of'](_0x519f62){let {load:_0x30abc1,support:_0x5dd525}=_0x519f62;if(!_0x30abc1){if(!_0x5dd525)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0x30abc1=()=>Promise['resolve'](_0x5dd525);}return new LanguageDescription(_0x519f62['name'],(_0x519f62['alias']||[])['concat'](_0x519f62['name'])['map'](_0x769142=>_0x769142['toLowerCase']()),_0x519f62['extensions']||[],_0x519f62['filename'],_0x30abc1,_0x5dd525);}static['matchFilename'](_0x42a67c,_0x1ce8f6){for(let _0x4536cc of _0x42a67c)if(_0x4536cc['filename']&&_0x4536cc['filename']['test'](_0x1ce8f6))return _0x4536cc;let _0x175ec5=/\.([^.]+)$/['exec'](_0x1ce8f6);if(_0x175ec5){for(let _0x55fc78 of _0x42a67c)if(_0x55fc78['extensions']['indexOf'](_0x175ec5[0x1])>-0x1)return _0x55fc78;}return null;}static['matchLanguageName'](_0x269997,_0x2b32e9,_0x43688b=!0x0){_0x2b32e9=_0x2b32e9['toLowerCase']();for(let _0x23086e of _0x269997)if(_0x23086e['alias']['some'](_0x20f5a4=>_0x20f5a4==_0x2b32e9))return _0x23086e;if(_0x43688b){for(let _0x40c8db of _0x269997)for(let _0x868c5f of _0x40c8db['alias']){let _0x1c1cef=_0x2b32e9['indexOf'](_0x868c5f);if(_0x1c1cef>-0x1&&(_0x868c5f['length']>0x2||!/\w/['test'](_0x2b32e9[_0x1c1cef-0x1])&&!/\w/['test'](_0x2b32e9[_0x1c1cef+_0x868c5f['length']])))return _0x40c8db;}}return null;}}const _0x188c4f=Facet['define'](),_0x25499f=Facet['define']({'combine':_0x5ebd28=>{if(!_0x5ebd28['length'])return'\x20\x20';let _0x4ff6fe=_0x5ebd28[0x0];if(!_0x4ff6fe||/\S/['test'](_0x4ff6fe)||Array['from'](_0x4ff6fe)['some'](_0x598d16=>_0x598d16!=_0x4ff6fe[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x5ebd28[0x0]));return _0x4ff6fe;}});function _0x116d03(_0x176eca){let _0x4d1f63=_0x176eca['facet'](_0x25499f);return 0x9==_0x4d1f63['charCodeAt'](0x0)?_0x176eca['tabSize']*_0x4d1f63['length']:_0x4d1f63['length'];}function _0x365324(_0x36db90,_0x21c2f4){let _0x1d9529='',_0x1e4f40=_0x36db90['tabSize'],_0x35947a=_0x36db90['facet'](_0x25499f)[0x0];if('\x09'==_0x35947a){for(;_0x21c2f4>=_0x1e4f40;)_0x1d9529+='\x09',_0x21c2f4-=_0x1e4f40;_0x35947a='\x20';}for(let _0x4ed0e3=0x0;_0x4ed0e3<_0x21c2f4;_0x4ed0e3++)_0x1d9529+=_0x35947a;return _0x1d9529;}function _0x159965(_0x2494b1,_0x28fef3){_0x2494b1 instanceof EditorState&&(_0x2494b1=new IndentContext(_0x2494b1));for(let _0x49938d of _0x2494b1['state']['facet'](_0x188c4f)){let _0x552e18=_0x49938d(_0x2494b1,_0x28fef3);if(void 0x0!==_0x552e18)return _0x552e18;}let _0x4fd3ce=_0x31f27d(_0x2494b1['state']);return _0x4fd3ce['length']>=_0x28fef3?function(_0x1299bc,_0xe14e91,_0xfe5021){let _0x29d64e=_0xe14e91['resolveStack'](_0xfe5021),_0x1600a2=_0xe14e91['resolveInner'](_0xfe5021,-0x1)['resolve'](_0xfe5021,0x0)['enterUnfinishedNodesBefore'](_0xfe5021);if(_0x1600a2!=_0x29d64e['node']){let _0x3bb078=[];for(let _0x1971ec=_0x1600a2;_0x1971ec&&!(_0x1971ec['from']<_0x29d64e['node']['from']||_0x1971ec['to']>_0x29d64e['node']['to']||_0x1971ec['from']==_0x29d64e['node']['from']&&_0x1971ec['type']==_0x29d64e['node']['type']);_0x1971ec=_0x1971ec['parent'])_0x3bb078['push'](_0x1971ec);for(let _0x272575=_0x3bb078['length']-0x1;_0x272575>=0x0;_0x272575--)_0x29d64e={'node':_0x3bb078[_0x272575],'next':_0x29d64e};}return _0x539bd6(_0x29d64e,_0x1299bc,_0xfe5021);}(_0x2494b1,_0x4fd3ce,_0x28fef3):null;}class IndentContext{constructor(_0x169cc3,_0x2bce79={}){this['state']=_0x169cc3,this['options']=_0x2bce79,this['unit']=_0x116d03(_0x169cc3);}['lineAt'](_0x272f6f,_0x358dde=0x1){let _0x2600ce=this['state']['doc']['lineAt'](_0x272f6f),{simulateBreak:_0x15c2dd,simulateDoubleBreak:_0x22af05}=this['options'];return null!=_0x15c2dd&&_0x15c2dd>=_0x2600ce['from']&&_0x15c2dd<=_0x2600ce['to']?_0x22af05&&_0x15c2dd==_0x272f6f?{'text':'','from':_0x272f6f}:(_0x358dde<0x0?_0x15c2dd<_0x272f6f:_0x15c2dd<=_0x272f6f)?{'text':_0x2600ce['text']['slice'](_0x15c2dd-_0x2600ce['from']),'from':_0x15c2dd}:{'text':_0x2600ce['text']['slice'](0x0,_0x15c2dd-_0x2600ce['from']),'from':_0x2600ce['from']}:_0x2600ce;}['textAfterPos'](_0x34ae7e,_0x115a4b=0x1){if(this['options']['simulateDoubleBreak']&&_0x34ae7e==this['options']['simulateBreak'])return'';let {text:_0x242873,from:_0xe4447c}=this['lineAt'](_0x34ae7e,_0x115a4b);return _0x242873['slice'](_0x34ae7e-_0xe4447c,Math['min'](_0x242873['length'],_0x34ae7e+0x64-_0xe4447c));}['column'](_0x1afd8f,_0x190f63=0x1){let {text:_0x4fe570,from:_0x1fce62}=this['lineAt'](_0x1afd8f,_0x190f63),_0x49b2b8=this['countColumn'](_0x4fe570,_0x1afd8f-_0x1fce62),_0x5cc8d7=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0x1fce62):-0x1;return _0x5cc8d7>-0x1&&(_0x49b2b8+=_0x5cc8d7-this['countColumn'](_0x4fe570,_0x4fe570['search'](/\S|$/))),_0x49b2b8;}['countColumn'](_0x37a825,_0x56ebf3=_0x37a825['length']){return _0x9d1039(_0x37a825,this['state']['tabSize'],_0x56ebf3);}['lineIndent'](_0x3d9478,_0x385605=0x1){let {text:_0x3a026b,from:_0x54b025}=this['lineAt'](_0x3d9478,_0x385605),_0x5f0a75=this['options']['overrideIndentation'];if(_0x5f0a75){let _0x26c22b=_0x5f0a75(_0x54b025);if(_0x26c22b>-0x1)return _0x26c22b;}return this['countColumn'](_0x3a026b,_0x3a026b['search'](/\S|$/));}get['simulatedBreak'](){return this['options']['simulateBreak']||null;}}const _0x50ecc3=new _0xdd8853();function _0x539bd6(_0x4c5a11,_0x1c226e,_0x42ff30){for(let _0x1519e8=_0x4c5a11;_0x1519e8;_0x1519e8=_0x1519e8['next']){let _0x49d1af=_0x202edd(_0x1519e8['node']);if(_0x49d1af)return _0x49d1af(TreeIndentContext['create'](_0x1c226e,_0x42ff30,_0x1519e8));}return 0x0;}function _0x202edd(_0x44536e){let _0x3e188a=_0x44536e['type']['prop'](_0x50ecc3);if(_0x3e188a)return _0x3e188a;let _0x34422e,_0x4909f6=_0x44536e['firstChild'];if(_0x4909f6&&(_0x34422e=_0x4909f6['type']['prop'](_0xdd8853['closedBy']))){let _0x126df8=_0x44536e['lastChild'],_0x566b51=_0x126df8&&_0x34422e['indexOf'](_0x126df8['name'])>-0x1;return _0x17c0ad=>_0x23dda9(_0x17c0ad,!0x0,0x1,void 0x0,_0x566b51&&!function(_0x369734){return _0x369734['pos']==_0x369734['options']['simulateBreak']&&_0x369734['options']['simulateDoubleBreak'];}(_0x17c0ad)?_0x126df8['from']:void 0x0);}return null==_0x44536e['parent']?_0x2689a7:null;}function _0x2689a7(){return 0x0;}class TreeIndentContext extends IndentContext{constructor(_0x13d972,_0x176063,_0x1d8438){super(_0x13d972['state'],_0x13d972['options']),this['base']=_0x13d972,this['pos']=_0x176063,this['context']=_0x1d8438;}get['node'](){return this['context']['node'];}static['create'](_0x1afb4d,_0x500e94,_0x4c7025){return new TreeIndentContext(_0x1afb4d,_0x500e94,_0x4c7025);}get['textAfter'](){return this['textAfterPos'](this['pos']);}get['baseIndent'](){return this['baseIndentFor'](this['node']);}['baseIndentFor'](_0x333df9){let _0x2fb96a=this['state']['doc']['lineAt'](_0x333df9['from']);for(;;){let _0x4b9319=_0x333df9['resolve'](_0x2fb96a['from']);for(;_0x4b9319['parent']&&_0x4b9319['parent']['from']==_0x4b9319['from'];)_0x4b9319=_0x4b9319['parent'];if(_0x36958a(_0x4b9319,_0x333df9))break;_0x2fb96a=this['state']['doc']['lineAt'](_0x4b9319['from']);}return this['lineIndent'](_0x2fb96a['from']);}['continue'](){return _0x539bd6(this['context']['next'],this['base'],this['pos']);}}function _0x36958a(_0x21b9f8,_0x30b35e){for(let _0x53f797=_0x30b35e;_0x53f797;_0x53f797=_0x53f797['parent'])if(_0x21b9f8==_0x53f797)return!0x0;return!0x1;}function _0x175c28({closing:_0x30241f,align:_0x19a0ff=!0x0,units:_0x33fb25=0x1}){return _0x14840d=>_0x23dda9(_0x14840d,_0x19a0ff,_0x33fb25,_0x30241f);}function _0x23dda9(_0x5b20ab,_0x4b9d89,_0x241721,_0xdaf4c4,_0x5a7328){let _0x315e93=_0x5b20ab['textAfter'],_0x1329eb=_0x315e93['match'](/^\s*/)[0x0]['length'],_0x5b00ca=_0xdaf4c4&&_0x315e93['slice'](_0x1329eb,_0x1329eb+_0xdaf4c4['length'])==_0xdaf4c4||_0x5a7328==_0x5b20ab['pos']+_0x1329eb,_0x3d657b=_0x4b9d89?function(_0x494476){let _0x2e7daf=_0x494476['node'],_0x386e22=_0x2e7daf['childAfter'](_0x2e7daf['from']),_0x38d4f3=_0x2e7daf['lastChild'];if(!_0x386e22)return null;let _0x372f02=_0x494476['options']['simulateBreak'],_0x4ed44f=_0x494476['state']['doc']['lineAt'](_0x386e22['from']),_0x55f2ef=null==_0x372f02||_0x372f02<=_0x4ed44f['from']?_0x4ed44f['to']:Math['min'](_0x4ed44f['to'],_0x372f02);for(let _0x431706=_0x386e22['to'];;){let _0xf219c1=_0x2e7daf['childAfter'](_0x431706);if(!_0xf219c1||_0xf219c1==_0x38d4f3)return null;if(!_0xf219c1['type']['isSkipped']){if(_0xf219c1['from']>=_0x55f2ef)return null;let _0x1fffc5=/^ */['exec'](_0x4ed44f['text']['slice'](_0x386e22['to']-_0x4ed44f['from']))[0x0]['length'];return{'from':_0x386e22['from'],'to':_0x386e22['to']+_0x1fffc5};}_0x431706=_0xf219c1['to'];}}(_0x5b20ab):null;return _0x3d657b?_0x5b00ca?_0x5b20ab['column'](_0x3d657b['from']):_0x5b20ab['column'](_0x3d657b['to']):_0x5b20ab['baseIndent']+(_0x5b00ca?0x0:_0x5b20ab['unit']*_0x241721);}function _0xb24f12({except:_0x3e5584,units:_0x5ab8a9=0x1}={}){return _0x1fbe92=>{let _0x2beb8d=_0x3e5584&&_0x3e5584['test'](_0x1fbe92['textAfter']);return _0x1fbe92['baseIndent']+(_0x2beb8d?0x0:_0x5ab8a9*_0x1fbe92['unit']);};}function _0x587d0a(){return EditorState['transactionFilter']['of'](_0x4b4539=>{if(!_0x4b4539['docChanged']||!_0x4b4539['isUserEvent']('input.type')&&!_0x4b4539['isUserEvent']('input.complete'))return _0x4b4539;let _0x2aafc1=_0x4b4539['startState']['languageDataAt']('indentOnInput',_0x4b4539['startState']['selection']['main']['head']);if(!_0x2aafc1['length'])return _0x4b4539;let _0x5a23f7=_0x4b4539['newDoc'],{head:_0x56fde0}=_0x4b4539['newSelection']['main'],_0x5355fa=_0x5a23f7['lineAt'](_0x56fde0);if(_0x56fde0>_0x5355fa['from']+0xc8)return _0x4b4539;let _0xd6ecd7=_0x5a23f7['sliceString'](_0x5355fa['from'],_0x56fde0);if(!_0x2aafc1['some'](_0x57ec64=>_0x57ec64['test'](_0xd6ecd7)))return _0x4b4539;let {state:_0x3714bd}=_0x4b4539,_0x2d496c=-0x1,_0x2bcdaa=[];for(let {head:_0x43bee2}of _0x3714bd['selection']['ranges']){let _0x5381bb=_0x3714bd['doc']['lineAt'](_0x43bee2);if(_0x5381bb['from']==_0x2d496c)continue;_0x2d496c=_0x5381bb['from'];let _0xb0cc4d=_0x159965(_0x3714bd,_0x5381bb['from']);if(null==_0xb0cc4d)continue;let _0x31697a=/^\s*/['exec'](_0x5381bb['text'])[0x0],_0x54e945=_0x365324(_0x3714bd,_0xb0cc4d);_0x31697a!=_0x54e945&&_0x2bcdaa['push']({'from':_0x5381bb['from'],'to':_0x5381bb['from']+_0x31697a['length'],'insert':_0x54e945});}return _0x2bcdaa['length']?[_0x4b4539,{'changes':_0x2bcdaa,'sequential':!0x0}]:_0x4b4539;});}const _0x2af68d=Facet['define'](),_0x442d29=new _0xdd8853();function _0x1de5a4(_0x53ff82){let _0x469e8a=_0x53ff82['firstChild'],_0x3850c9=_0x53ff82['lastChild'];return _0x469e8a&&_0x469e8a['to']<_0x3850c9['from']?{'from':_0x469e8a['to'],'to':_0x3850c9['type']['isError']?_0x53ff82['to']:_0x3850c9['from']}:null;}function _0x39ba4f(_0x5653a1){let _0x31ded1=_0x5653a1['lastChild'];return _0x31ded1&&_0x31ded1['to']==_0x5653a1['to']&&_0x31ded1['type']['isError'];}function _0xe75c59(_0x4bc2df,_0x4025c6,_0x4ab3c6){for(let _0x259557 of _0x4bc2df['facet'](_0x2af68d)){let _0x1c729a=_0x259557(_0x4bc2df,_0x4025c6,_0x4ab3c6);if(_0x1c729a)return _0x1c729a;}return function(_0x4ad951,_0x593d52,_0x141c7f){let _0x3ddfc2=_0x31f27d(_0x4ad951);if(_0x3ddfc2['length']<_0x141c7f)return null;let _0x43a188=null;for(let _0x199b5d=_0x3ddfc2['resolveStack'](_0x141c7f,0x1);_0x199b5d;_0x199b5d=_0x199b5d['next']){let _0x36ed78=_0x199b5d['node'];if(_0x36ed78['to']<=_0x141c7f||_0x36ed78['from']>_0x141c7f)continue;if(_0x43a188&&_0x36ed78['from']<_0x593d52)break;let _0x2e9506=_0x36ed78['type']['prop'](_0x442d29);if(_0x2e9506&&(_0x36ed78['to']<_0x3ddfc2['length']-0x32||_0x3ddfc2['length']==_0x4ad951['doc']['length']||!_0x39ba4f(_0x36ed78))){let _0x230cc8=_0x2e9506(_0x36ed78,_0x4ad951);_0x230cc8&&_0x230cc8['from']<=_0x141c7f&&_0x230cc8['from']>=_0x593d52&&_0x230cc8['to']>_0x141c7f&&(_0x43a188=_0x230cc8);}}return _0x43a188;}(_0x4bc2df,_0x4025c6,_0x4ab3c6);}function _0x252c4b(_0x5e2770,_0x1fd664){let _0x30d8a6=_0x1fd664['mapPos'](_0x5e2770['from'],0x1),_0x4a1c55=_0x1fd664['mapPos'](_0x5e2770['to'],-0x1);return _0x30d8a6>=_0x4a1c55?void 0x0:{'from':_0x30d8a6,'to':_0x4a1c55};}const _0x37ca71=StateEffect['define']({'map':_0x252c4b}),_0x482632=StateEffect['define']({'map':_0x252c4b});function _0x19faa4(_0x9d5ed9){let _0x2e9e99=[];for(let {head:_0x4c64ae}of _0x9d5ed9['state']['selection']['ranges'])_0x2e9e99['some'](_0x3365c4=>_0x3365c4['from']<=_0x4c64ae&&_0x3365c4['to']>=_0x4c64ae)||_0x2e9e99['push'](_0x9d5ed9['lineBlockAt'](_0x4c64ae));return _0x2e9e99;}const _0x584896=StateField['define']({'create':()=>Decoration['none'],'update'(_0xa4759f,_0x46b95b){_0x46b95b['isUserEvent']('delete')&&_0x46b95b['changes']['iterChangedRanges']((_0x325caf,_0x29802e)=>_0xa4759f=_0x1fcc14(_0xa4759f,_0x325caf,_0x29802e)),_0xa4759f=_0xa4759f['map'](_0x46b95b['changes']);for(let _0x305f3e of _0x46b95b['effects'])if(_0x305f3e['is'](_0x37ca71)&&!_0x6d9d22(_0xa4759f,_0x305f3e['value']['from'],_0x305f3e['value']['to'])){let {preparePlaceholder:_0x35197d}=_0x46b95b['state']['facet'](_0x5eaffc),_0xc35a8c=_0x35197d?Decoration['replace']({'widget':new PreparedFoldWidget(_0x35197d(_0x46b95b['state'],_0x305f3e['value']))}):_0x65af53;_0xa4759f=_0xa4759f['update']({'add':[_0xc35a8c['range'](_0x305f3e['value']['from'],_0x305f3e['value']['to'])]});}else _0x305f3e['is'](_0x482632)&&(_0xa4759f=_0xa4759f['update']({'filter':(_0x3d77d0,_0xd90b98)=>_0x305f3e['value']['from']!=_0x3d77d0||_0x305f3e['value']['to']!=_0xd90b98,'filterFrom':_0x305f3e['value']['from'],'filterTo':_0x305f3e['value']['to']}));return _0x46b95b['selection']&&(_0xa4759f=_0x1fcc14(_0xa4759f,_0x46b95b['selection']['main']['head'])),_0xa4759f;},'provide':_0x58f88f=>EditorView['decorations']['from'](_0x58f88f),'toJSON'(_0x422079,_0xcff4be){let _0x3c5592=[];return _0x422079['between'](0x0,_0xcff4be['doc']['length'],(_0x3f58c0,_0x1ee5af)=>{_0x3c5592['push'](_0x3f58c0,_0x1ee5af);}),_0x3c5592;},'fromJSON'(_0x3844db){if(!Array['isArray'](_0x3844db)||_0x3844db['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x3a7d3c=[];for(let _0x321769=0x0;_0x321769<_0x3844db['length'];){let _0x3681ad=_0x3844db[_0x321769++],_0x155a56=_0x3844db[_0x321769++];if('number'!=typeof _0x3681ad||'number'!=typeof _0x155a56)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x3a7d3c['push'](_0x65af53['range'](_0x3681ad,_0x155a56));}return Decoration['set'](_0x3a7d3c,!0x0);}});function _0x1fcc14(_0x458fba,_0x31537e,_0xcd1fa1=_0x31537e){let _0x599790=!0x1;return _0x458fba['between'](_0x31537e,_0xcd1fa1,(_0x101c5a,_0x28a994)=>{_0x101c5a<_0xcd1fa1&&_0x28a994>_0x31537e&&(_0x599790=!0x0);}),_0x599790?_0x458fba['update']({'filterFrom':_0x31537e,'filterTo':_0xcd1fa1,'filter':(_0x3215d4,_0x4e3c2f)=>_0x3215d4>=_0xcd1fa1||_0x4e3c2f<=_0x31537e}):_0x458fba;}function _0xe600f0(_0x27b052,_0x2e5d6f,_0xf112b5){var _0x9ac0e4;let _0x17a3e2=null;return null===(_0x9ac0e4=_0x27b052['field'](_0x584896,!0x1))||void 0x0===_0x9ac0e4||_0x9ac0e4['between'](_0x2e5d6f,_0xf112b5,(_0xf47372,_0x5c0dcd)=>{(!_0x17a3e2||_0x17a3e2['from']>_0xf47372)&&(_0x17a3e2={'from':_0xf47372,'to':_0x5c0dcd});}),_0x17a3e2;}function _0x6d9d22(_0x2b2427,_0x601c56,_0x308aa7){let _0x2bcf77=!0x1;return _0x2b2427['between'](_0x601c56,_0x601c56,(_0x35521c,_0x1afd90)=>{_0x35521c==_0x601c56&&_0x1afd90==_0x308aa7&&(_0x2bcf77=!0x0);}),_0x2bcf77;}function _0x2a5c92(_0x3f04d3,_0x590de6){return _0x3f04d3['field'](_0x584896,!0x1)?_0x590de6:_0x590de6['concat'](StateEffect['appendConfig']['of'](tT()));}function _0x29fb3c(_0x235a78,_0x3fb94e,_0x21fb32=!0x0){let _0x249a6d=_0x235a78['state']['doc']['lineAt'](_0x3fb94e['from'])['number'],_0x1f87ca=_0x235a78['state']['doc']['lineAt'](_0x3fb94e['to'])['number'];return EditorView['announce']['of'](_0x235a78['state']['phrase'](_0x21fb32?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0x249a6d+'\x20'+_0x235a78['state']['phrase']('to')+'\x20'+_0x1f87ca+'.');}const _0x31db7e=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':_0x18b2e3=>{for(let _0x38e346 of _0x19faa4(_0x18b2e3)){let _0x15a4db=_0xe75c59(_0x18b2e3['state'],_0x38e346['from'],_0x38e346['to']);if(_0x15a4db)return _0x18b2e3['dispatch']({'effects':_0x2a5c92(_0x18b2e3['state'],[_0x37ca71['of'](_0x15a4db),_0x29fb3c(_0x18b2e3,_0x15a4db)])}),!0x0;}return!0x1;}},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':_0xec073=>{if(!_0xec073['state']['field'](_0x584896,!0x1))return!0x1;let _0x48be37=[];for(let _0x46248f of _0x19faa4(_0xec073)){let _0x28cfd7=_0xe600f0(_0xec073['state'],_0x46248f['from'],_0x46248f['to']);_0x28cfd7&&_0x48be37['push'](_0x482632['of'](_0x28cfd7),_0x29fb3c(_0xec073,_0x28cfd7,!0x1));}return _0x48be37['length']&&_0xec073['dispatch']({'effects':_0x48be37}),_0x48be37['length']>0x0;}},{'key':'Ctrl-Alt-[','run':_0x12c8ff=>{let {state:_0x16ef89}=_0x12c8ff,_0x5fffc8=[];for(let _0x1aa874=0x0;_0x1aa874<_0x16ef89['doc']['length'];){let _0x2c6686=_0x12c8ff['lineBlockAt'](_0x1aa874),_0x243ae3=_0xe75c59(_0x16ef89,_0x2c6686['from'],_0x2c6686['to']);_0x243ae3&&_0x5fffc8['push'](_0x37ca71['of'](_0x243ae3)),_0x1aa874=(_0x243ae3?_0x12c8ff['lineBlockAt'](_0x243ae3['to']):_0x2c6686)['to']+0x1;}return _0x5fffc8['length']&&_0x12c8ff['dispatch']({'effects':_0x2a5c92(_0x12c8ff['state'],_0x5fffc8)}),!!_0x5fffc8['length'];}},{'key':'Ctrl-Alt-]','run':_0x33bc25=>{let _0x4355b7=_0x33bc25['state']['field'](_0x584896,!0x1);if(!_0x4355b7||!_0x4355b7['size'])return!0x1;let _0x560fff=[];return _0x4355b7['between'](0x0,_0x33bc25['state']['doc']['length'],(_0x545432,_0x3860e7)=>{_0x560fff['push'](_0x482632['of']({'from':_0x545432,'to':_0x3860e7}));}),_0x33bc25['dispatch']({'effects':_0x560fff}),!0x0;}}],_0x32121e={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},_0x5eaffc=Facet['define']({'combine':_0x2d3f63=>_0x4fcf55(_0x2d3f63,_0x32121e)});function tT(_0x4d104e){return[_0x584896,_0x5a545b];}function _0x2b4036(_0x12788a,_0x4f7813){let {state:_0x5d082c}=_0x12788a,_0x1143d8=_0x5d082c['facet'](_0x5eaffc),_0x237990=_0x525afa=>{let _0x235b58=_0x12788a['lineBlockAt'](_0x12788a['posAtDOM'](_0x525afa['target'])),_0x574d8e=_0xe600f0(_0x12788a['state'],_0x235b58['from'],_0x235b58['to']);_0x574d8e&&_0x12788a['dispatch']({'effects':_0x482632['of'](_0x574d8e)}),_0x525afa['preventDefault']();};if(_0x1143d8['placeholderDOM'])return _0x1143d8['placeholderDOM'](_0x12788a,_0x237990,_0x4f7813);let _0x483ff9=document['createElement']('span');return _0x483ff9['textContent']=_0x1143d8['placeholderText'],_0x483ff9['setAttribute']('aria-label',_0x5d082c['phrase']('folded\x20code')),_0x483ff9['title']=_0x5d082c['phrase']('unfold'),_0x483ff9['className']='cm-foldPlaceholder',_0x483ff9['onclick']=_0x237990,_0x483ff9;}const _0x65af53=Decoration['replace']({'widget':new class extends WidgetType{['toDOM'](_0x138583){return _0x2b4036(_0x138583,null);}}()});class PreparedFoldWidget extends WidgetType{constructor(_0xb27805){super(),this['value']=_0xb27805;}['eq'](_0x237bea){return this['value']==_0x237bea['value'];}['toDOM'](_0x3258de){return _0x2b4036(_0x3258de,this['value']);}}const _0x5a41f6={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};class _0x18a85c extends GutterMarker{constructor(_0x4f13f7,_0x30c42b){super(),this['config']=_0x4f13f7,this['open']=_0x30c42b;}['eq'](_0x34f8b6){return this['config']==_0x34f8b6['config']&&this['open']==_0x34f8b6['open'];}['toDOM'](_0x45d2cd){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0x222b98=document['createElement']('span');return _0x222b98['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0x222b98['title']=_0x45d2cd['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0x222b98;}}function _0x4e94f9(_0x2ab848={}){let _0x11a5b1={..._0x5a41f6,..._0x2ab848},_0xc8d56e=new _0x18a85c(_0x11a5b1,!0x0),_0x2a02e5=new _0x18a85c(_0x11a5b1,!0x1),_0xed540f=_0x470e1f['fromClass'](class{constructor(_0xc40c36){this['from']=_0xc40c36['viewport']['from'],this['markers']=this['buildMarkers'](_0xc40c36);}['update'](_0x406d61){(_0x406d61['docChanged']||_0x406d61['viewportChanged']||_0x406d61['startState']['facet'](_0x2a8e1f)!=_0x406d61['state']['facet'](_0x2a8e1f)||_0x406d61['startState']['field'](_0x584896,!0x1)!=_0x406d61['state']['field'](_0x584896,!0x1)||_0x31f27d(_0x406d61['startState'])!=_0x31f27d(_0x406d61['state'])||_0x11a5b1['foldingChanged'](_0x406d61))&&(this['markers']=this['buildMarkers'](_0x406d61['view']));}['buildMarkers'](_0x5c12ea){let _0xad51b6=new RangeSetBuilder();for(let _0x8fb4fd of _0x5c12ea['viewportLineBlocks']){let _0x4d504d=_0xe600f0(_0x5c12ea['state'],_0x8fb4fd['from'],_0x8fb4fd['to'])?_0x2a02e5:_0xe75c59(_0x5c12ea['state'],_0x8fb4fd['from'],_0x8fb4fd['to'])?_0xc8d56e:null;_0x4d504d&&_0xad51b6['add'](_0x8fb4fd['from'],_0x8fb4fd['from'],_0x4d504d);}return _0xad51b6['finish']();}}),{domEventHandlers:_0x43d7b}=_0x11a5b1;return[_0xed540f,_0x409b74({'class':'cm-foldGutter','markers'(_0x226a6e){var _0x24c303;return(null===(_0x24c303=_0x226a6e['plugin'](_0xed540f))||void 0x0===_0x24c303?void 0x0:_0x24c303['markers'])||RangeSet['empty'];},'initialSpacer':()=>new _0x18a85c(_0x11a5b1,!0x1),'domEventHandlers':{..._0x43d7b,'click':(_0xf25a7a,_0x524303,_0x35dad8)=>{if(_0x43d7b['click']&&_0x43d7b['click'](_0xf25a7a,_0x524303,_0x35dad8))return!0x0;let _0x4a5ebc=_0xe600f0(_0xf25a7a['state'],_0x524303['from'],_0x524303['to']);if(_0x4a5ebc)return _0xf25a7a['dispatch']({'effects':_0x482632['of'](_0x4a5ebc)}),!0x0;let _0x11aeb3=_0xe75c59(_0xf25a7a['state'],_0x524303['from'],_0x524303['to']);return!!_0x11aeb3&&(_0xf25a7a['dispatch']({'effects':_0x37ca71['of'](_0x11aeb3)}),!0x0);}}}),tT()];}const _0x5a545b=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(_0x50c764,_0x159e12){let _0x2f85a2;function _0x3010c0(_0x44ac7a){let _0xb34730=StyleModule['newName']();return(_0x2f85a2||(_0x2f85a2=Object['create'](null)))['.'+_0xb34730]=_0x44ac7a,_0xb34730;}this['specs']=_0x50c764;const _0x129757='string'==typeof _0x159e12['all']?_0x159e12['all']:_0x159e12['all']?_0x3010c0(_0x159e12['all']):void 0x0,_0x2dc310=_0x159e12['scope'];this['scope']=_0x2dc310 instanceof _0x48234d?_0x336674=>_0x336674['prop'](_0x537cb7)==_0x2dc310['data']:_0x2dc310?_0x34291d=>_0x34291d==_0x2dc310:void 0x0,this['style']=_0x5b6e34(_0x50c764['map'](_0x35ea39=>({'tag':_0x35ea39['tag'],'class':_0x35ea39['class']||_0x3010c0(Object['assign']({},_0x35ea39,{'tag':null}))})),{'all':_0x129757})['style'],this['module']=_0x2f85a2?new StyleModule(_0x2f85a2):null,this['themeType']=_0x159e12['themeType'];}static['define'](_0x2ef539,_0x3588ce){return new HighlightStyle(_0x2ef539,_0x3588ce||{});}}const _0x2d1486=Facet['define'](),_0x1a991c=Facet['define']({'combine':_0x2c7918=>_0x2c7918['length']?[_0x2c7918[0x0]]:null});function _0x98bb3f(_0x400e39){let _0xfd03cd=_0x400e39['facet'](_0x2d1486);return _0xfd03cd['length']?_0xfd03cd:_0x400e39['facet'](_0x1a991c);}function _0x3bd61e(_0x104cb9,_0x3bd790){let _0x20d885,_0x3701ee=[_0xd76ca3];return _0x104cb9 instanceof HighlightStyle&&(_0x104cb9['module']&&_0x3701ee['push'](EditorView['styleModule']['of'](_0x104cb9['module'])),_0x20d885=_0x104cb9['themeType']),(null==_0x3bd790?void 0x0:_0x3bd790['fallback'])?_0x3701ee['push'](_0x1a991c['of'](_0x104cb9)):_0x20d885?_0x3701ee['push'](_0x2d1486['computeN']([EditorView['darkTheme']],_0x9500da=>_0x9500da['facet'](EditorView['darkTheme'])==('dark'==_0x20d885)?[_0x104cb9]:[])):_0x3701ee['push'](_0x2d1486['of'](_0x104cb9)),_0x3701ee;}class TreeHighlighter{constructor(_0x31ffdf){this['markCache']=Object['create'](null),this['tree']=_0x31f27d(_0x31ffdf['state']),this['decorations']=this['buildDeco'](_0x31ffdf,_0x98bb3f(_0x31ffdf['state'])),this['decoratedTo']=_0x31ffdf['viewport']['to'];}['update'](_0x371eb7){let _0x3e6d3b=_0x31f27d(_0x371eb7['state']),_0x346bd0=_0x98bb3f(_0x371eb7['state']),_0x133dfc=_0x346bd0!=_0x98bb3f(_0x371eb7['startState']),{viewport:_0x498f8c}=_0x371eb7['view'],_0x1fb646=_0x371eb7['changes']['mapPos'](this['decoratedTo'],0x1);_0x3e6d3b['length']<_0x498f8c['to']&&!_0x133dfc&&_0x3e6d3b['type']==this['tree']['type']&&_0x1fb646>=_0x498f8c['to']?(this['decorations']=this['decorations']['map'](_0x371eb7['changes']),this['decoratedTo']=_0x1fb646):(_0x3e6d3b!=this['tree']||_0x371eb7['viewportChanged']||_0x133dfc)&&(this['tree']=_0x3e6d3b,this['decorations']=this['buildDeco'](_0x371eb7['view'],_0x346bd0),this['decoratedTo']=_0x498f8c['to']);}['buildDeco'](_0x1822e2,_0xe5d464){if(!_0xe5d464||!this['tree']['length'])return Decoration['none'];let _0x268911=new RangeSetBuilder();for(let {from:_0x23d067,to:_0x483504}of _0x1822e2['visibleRanges'])_0x2077c9(this['tree'],_0xe5d464,(_0x2f4a45,_0x424f6e,_0x77ac7d)=>{_0x268911['add'](_0x2f4a45,_0x424f6e,this['markCache'][_0x77ac7d]||(this['markCache'][_0x77ac7d]=Decoration['mark']({'class':_0x77ac7d})));},_0x23d067,_0x483504);return _0x268911['finish']();}}const _0xd76ca3=_0x901a22['high'](_0x470e1f['fromClass'](TreeHighlighter,{'decorations':_0x368863=>_0x368863['decorations']})),_0x5886bf=HighlightStyle['define']([{'tag':_0x40ee63['meta'],'color':'#404740'},{'tag':_0x40ee63['link'],'textDecoration':'underline'},{'tag':_0x40ee63['heading'],'textDecoration':'underline','fontWeight':'bold'},{'tag':_0x40ee63['emphasis'],'fontStyle':'italic'},{'tag':_0x40ee63['strong'],'fontWeight':'bold'},{'tag':_0x40ee63['strikethrough'],'textDecoration':'line-through'},{'tag':_0x40ee63['keyword'],'color':'#708'},{'tag':[_0x40ee63['atom'],_0x40ee63['bool'],_0x40ee63['url'],_0x40ee63['contentSeparator'],_0x40ee63['labelName']],'color':'#219'},{'tag':[_0x40ee63['literal'],_0x40ee63['inserted']],'color':'#164'},{'tag':[_0x40ee63['string'],_0x40ee63['deleted']],'color':'#a11'},{'tag':[_0x40ee63['regexp'],_0x40ee63['escape'],_0x40ee63['special'](_0x40ee63['string'])],'color':'#e40'},{'tag':_0x40ee63['definition'](_0x40ee63['variableName']),'color':'#00f'},{'tag':_0x40ee63['local'](_0x40ee63['variableName']),'color':'#30a'},{'tag':[_0x40ee63['typeName'],_0x40ee63['namespace']],'color':'#085'},{'tag':_0x40ee63['className'],'color':'#167'},{'tag':[_0x40ee63['special'](_0x40ee63['variableName']),_0x40ee63['macroName']],'color':'#256'},{'tag':_0x40ee63['definition'](_0x40ee63['propertyName']),'color':'#00c'},{'tag':_0x40ee63['comment'],'color':'#940'},{'tag':_0x40ee63['invalid'],'color':'#f00'}]),_0x52b731=EditorView['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),_0x373342='()[]{}',_0xaf7ec=Facet['define']({'combine':_0x17a32b=>_0x4fcf55(_0x17a32b,{'afterCursor':!0x0,'brackets':_0x373342,'maxScanDistance':0x2710,'renderMatch':_0x164c2e})}),_0x116694=Decoration['mark']({'class':'cm-matchingBracket'}),_0x17507e=Decoration['mark']({'class':'cm-nonmatchingBracket'});function _0x164c2e(_0x2f87de){let _0x1c6fc4=[],_0x1fe3da=_0x2f87de['matched']?_0x116694:_0x17507e;return _0x1c6fc4['push'](_0x1fe3da['range'](_0x2f87de['start']['from'],_0x2f87de['start']['to'])),_0x2f87de['end']&&_0x1c6fc4['push'](_0x1fe3da['range'](_0x2f87de['end']['from'],_0x2f87de['end']['to'])),_0x1c6fc4;}const _0x5607b3=StateField['define']({'create':()=>Decoration['none'],'update'(_0x747e24,_0x3cda2a){if(!_0x3cda2a['docChanged']&&!_0x3cda2a['selection'])return _0x747e24;let _0x3026cc=[],_0x110518=_0x3cda2a['state']['facet'](_0xaf7ec);for(let _0x616cc8 of _0x3cda2a['state']['selection']['ranges']){if(!_0x616cc8['empty'])continue;let _0x5072b9=_0x2994d2(_0x3cda2a['state'],_0x616cc8['head'],-0x1,_0x110518)||_0x616cc8['head']>0x0&&_0x2994d2(_0x3cda2a['state'],_0x616cc8['head']-0x1,0x1,_0x110518)||_0x110518['afterCursor']&&(_0x2994d2(_0x3cda2a['state'],_0x616cc8['head'],0x1,_0x110518)||_0x616cc8['head']<_0x3cda2a['state']['doc']['length']&&_0x2994d2(_0x3cda2a['state'],_0x616cc8['head']+0x1,-0x1,_0x110518));_0x5072b9&&(_0x3026cc=_0x3026cc['concat'](_0x110518['renderMatch'](_0x5072b9,_0x3cda2a['state'])));}return Decoration['set'](_0x3026cc,!0x0);},'provide':_0x54bf4f=>EditorView['decorations']['from'](_0x54bf4f)}),_0x1e0563=[_0x5607b3,_0x52b731];function _0x1295d6(_0x17002e={}){return[_0xaf7ec['of'](_0x17002e),_0x1e0563];}const _0x50bc15=new _0xdd8853();function _0x4981c8(_0x5e9929,_0x5df823,_0xdcdfab){let _0x57548f=_0x5e9929['prop'](_0x5df823<0x0?_0xdd8853['openedBy']:_0xdd8853['closedBy']);if(_0x57548f)return _0x57548f;if(0x1==_0x5e9929['name']['length']){let _0x566625=_0xdcdfab['indexOf'](_0x5e9929['name']);if(_0x566625>-0x1&&_0x566625%0x2==(_0x5df823<0x0?0x1:0x0))return[_0xdcdfab[_0x566625+_0x5df823]];}return null;}function _0x822664(_0x31de66){let _0x40b858=_0x31de66['type']['prop'](_0x50bc15);return _0x40b858?_0x40b858(_0x31de66['node']):_0x31de66;}function _0x2994d2(_0xb8b808,_0x184db8,_0x426b1f,_0x452b77={}){let _0x1666a3=_0x452b77['maxScanDistance']||0x2710,_0x1d1e21=_0x452b77['brackets']||_0x373342,_0x27f787=_0x31f27d(_0xb8b808),_0x468a51=_0x27f787['resolveInner'](_0x184db8,_0x426b1f);for(let _0x35f04f=_0x468a51;_0x35f04f;_0x35f04f=_0x35f04f['parent']){let _0x2cf348=_0x4981c8(_0x35f04f['type'],_0x426b1f,_0x1d1e21);if(_0x2cf348&&_0x35f04f['from']<_0x35f04f['to']){let _0x3f58b3=_0x822664(_0x35f04f);if(_0x3f58b3&&(_0x426b1f>0x0?_0x184db8>=_0x3f58b3['from']&&_0x184db8<_0x3f58b3['to']:_0x184db8>_0x3f58b3['from']&&_0x184db8<=_0x3f58b3['to']))return _0x4d34c7(_0xb8b808,_0x184db8,_0x426b1f,_0x35f04f,_0x3f58b3,_0x2cf348,_0x1d1e21);}}return function(_0x196a59,_0x136b89,_0x21b3d5,_0x3859c9,_0xab449,_0xe9bd04,_0x218765){let _0x37c02e=_0x21b3d5<0x0?_0x196a59['sliceDoc'](_0x136b89-0x1,_0x136b89):_0x196a59['sliceDoc'](_0x136b89,_0x136b89+0x1),_0x422f55=_0x218765['indexOf'](_0x37c02e);if(_0x422f55<0x0||_0x422f55%0x2==0x0!=_0x21b3d5>0x0)return null;let _0x1e8f70={'from':_0x21b3d5<0x0?_0x136b89-0x1:_0x136b89,'to':_0x21b3d5>0x0?_0x136b89+0x1:_0x136b89},_0x2edafc=_0x196a59['doc']['iterRange'](_0x136b89,_0x21b3d5>0x0?_0x196a59['doc']['length']:0x0),_0x28ef6b=0x0;for(let _0x552cc0=0x0;!_0x2edafc['next']()['done']&&_0x552cc0<=_0xe9bd04;){let _0x38f323=_0x2edafc['value'];_0x21b3d5<0x0&&(_0x552cc0+=_0x38f323['length']);let _0x31e84e=_0x136b89+_0x552cc0*_0x21b3d5;for(let _0x309716=_0x21b3d5>0x0?0x0:_0x38f323['length']-0x1,_0xb06965=_0x21b3d5>0x0?_0x38f323['length']:-0x1;_0x309716!=_0xb06965;_0x309716+=_0x21b3d5){let _0xd3afa0=_0x218765['indexOf'](_0x38f323[_0x309716]);if(!(_0xd3afa0<0x0||_0x3859c9['resolveInner'](_0x31e84e+_0x309716,0x1)['type']!=_0xab449)){if(_0xd3afa0%0x2==0x0==_0x21b3d5>0x0)_0x28ef6b++;else{if(0x1==_0x28ef6b)return{'start':_0x1e8f70,'end':{'from':_0x31e84e+_0x309716,'to':_0x31e84e+_0x309716+0x1},'matched':_0xd3afa0>>0x1==_0x422f55>>0x1};_0x28ef6b--;}}}_0x21b3d5>0x0&&(_0x552cc0+=_0x38f323['length']);}return _0x2edafc['done']?{'start':_0x1e8f70,'matched':!0x1}:null;}(_0xb8b808,_0x184db8,_0x426b1f,_0x27f787,_0x468a51['type'],_0x1666a3,_0x1d1e21);}function _0x4d34c7(_0x58f694,_0x4c20f0,_0x266f7a,_0x1f3c84,_0x408b7a,_0x406a6f,_0x804a07){let _0x1723fd=_0x1f3c84['parent'],_0x458a35={'from':_0x408b7a['from'],'to':_0x408b7a['to']},_0x997c6=0x0,_0x1aa0bf=null==_0x1723fd?void 0x0:_0x1723fd['cursor']();if(_0x1aa0bf&&(_0x266f7a<0x0?_0x1aa0bf['childBefore'](_0x1f3c84['from']):_0x1aa0bf['childAfter'](_0x1f3c84['to'])))do{if(_0x266f7a<0x0?_0x1aa0bf['to']<=_0x1f3c84['from']:_0x1aa0bf['from']>=_0x1f3c84['to']){if(0x0==_0x997c6&&_0x406a6f['indexOf'](_0x1aa0bf['type']['name'])>-0x1&&_0x1aa0bf['from']<_0x1aa0bf['to']){let _0x379d2d=_0x822664(_0x1aa0bf);return{'start':_0x458a35,'end':_0x379d2d?{'from':_0x379d2d['from'],'to':_0x379d2d['to']}:void 0x0,'matched':!0x0};}if(_0x4981c8(_0x1aa0bf['type'],_0x266f7a,_0x804a07))_0x997c6++;else{if(_0x4981c8(_0x1aa0bf['type'],-_0x266f7a,_0x804a07)){if(0x0==_0x997c6){let _0x4e34d5=_0x822664(_0x1aa0bf);return{'start':_0x458a35,'end':_0x4e34d5&&_0x4e34d5['from']<_0x4e34d5['to']?{'from':_0x4e34d5['from'],'to':_0x4e34d5['to']}:void 0x0,'matched':!0x1};}_0x997c6--;}}}}while(_0x266f7a<0x0?_0x1aa0bf['prevSibling']():_0x1aa0bf['nextSibling']());return{'start':_0x458a35,'matched':!0x1};}const _0x1f659a=Object['create'](null),_0x19b927=[_0x4c1c7e['none']],_0x109c0b=[],_0x5db482=Object['create'](null),_0x22bf2f=Object['create'](null);for(let [_0x5e4729,_0xa1c778]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']])_0x22bf2f[_0x5e4729]=_0x1737d7(_0x1f659a,_0xa1c778);function _0x57727c(_0x148dd7,_0x32af5a){_0x109c0b['indexOf'](_0x148dd7)>-0x1||(_0x109c0b['push'](_0x148dd7),console['warn'](_0x32af5a));}function _0x1737d7(_0x134602,_0x3765f5){let _0x3eacf1=[];for(let _0x2bcfe9 of _0x3765f5['split']('\x20')){let _0x12b8e8=[];for(let _0x5ce5b9 of _0x2bcfe9['split']('.')){let _0x5c4cf4=_0x134602[_0x5ce5b9]||_0x40ee63[_0x5ce5b9];_0x5c4cf4?'function'==typeof _0x5c4cf4?_0x12b8e8['length']?_0x12b8e8=_0x12b8e8['map'](_0x5c4cf4):_0x57727c(_0x5ce5b9,'Modifier\x20'+_0x5ce5b9+'\x20used\x20at\x20start\x20of\x20tag'):_0x12b8e8['length']?_0x57727c(_0x5ce5b9,'Tag\x20'+_0x5ce5b9+'\x20used\x20as\x20modifier'):_0x12b8e8=Array['isArray'](_0x5c4cf4)?_0x5c4cf4:[_0x5c4cf4]:_0x57727c(_0x5ce5b9,'Unknown\x20highlighting\x20tag\x20'+_0x5ce5b9);}for(let _0x473996 of _0x12b8e8)_0x3eacf1['push'](_0x473996);}if(!_0x3eacf1['length'])return 0x0;let _0x21f42d=_0x3765f5['replace'](/ /g,'_'),_0x44d776=_0x21f42d+'\x20'+_0x3eacf1['map'](t=>t['id']),_0x55c368=_0x5db482[_0x44d776];if(_0x55c368)return _0x55c368['id'];let _0x582c81=_0x5db482[_0x44d776]=_0x4c1c7e['define']({'id':_0x19b927['length'],'name':_0x21f42d,'props':[_0x898146({[_0x21f42d]:_0x3eacf1})]});return _0x19b927['push'](_0x582c81),_0x582c81['id'];}_0x590046['RTL'],_0x590046['LTR'];function _0x16ac11(_0x289787,_0x793a23){return({state:_0x5c7406,dispatch:_0x3f3901})=>{if(_0x5c7406['readOnly'])return!0x1;let _0x56a240=_0x289787(_0x793a23,_0x5c7406);return!!_0x56a240&&(_0x3f3901(_0x5c7406['update'](_0x56a240)),!0x0);};}const _0x332c32=_0x16ac11(_0x169883,0x0),_0x5f03cc=_0x16ac11(_0x499e89,0x0),_0x30db4e=_0x16ac11((_0x99bd39,_0x3e730a)=>_0x499e89(_0x99bd39,_0x3e730a,function(_0x30dd54){let _0x448502=[];for(let _0x18cd02 of _0x30dd54['selection']['ranges']){let _0xf7631f=_0x30dd54['doc']['lineAt'](_0x18cd02['from']),_0x102ac5=_0x18cd02['to']<=_0xf7631f['to']?_0xf7631f:_0x30dd54['doc']['lineAt'](_0x18cd02['to']);_0x102ac5['from']>_0xf7631f['from']&&_0x102ac5['from']==_0x18cd02['to']&&(_0x102ac5=_0x18cd02['to']==_0xf7631f['to']+0x1?_0xf7631f:_0x30dd54['doc']['lineAt'](_0x18cd02['to']-0x1));let _0x237307=_0x448502['length']-0x1;_0x237307>=0x0&&_0x448502[_0x237307]['to']>_0xf7631f['from']?_0x448502[_0x237307]['to']=_0x102ac5['to']:_0x448502['push']({'from':_0xf7631f['from']+/^\s*/['exec'](_0xf7631f['text'])[0x0]['length'],'to':_0x102ac5['to']});}return _0x448502;}(_0x3e730a)),0x0);function _0x17e271(_0x442278,_0x22868c){let _0x4307d8=_0x442278['languageDataAt']('commentTokens',_0x22868c,0x1);return _0x4307d8['length']?_0x4307d8[0x0]:{};}const _0x512120=0x32;function _0x499e89(_0x18abea,_0x600263,_0x55055d=_0x600263['selection']['ranges']){let _0x2e5b63=_0x55055d['map'](_0x3c9113=>_0x17e271(_0x600263,_0x3c9113['from'])['block']);if(!_0x2e5b63['every'](_0x3f92fa=>_0x3f92fa))return null;let _0x1cb160=_0x55055d['map']((_0x5e6ac6,_0x3e7be1)=>function(_0x4ca93f,{open:_0x207569,close:_0x190d22},_0x475343,_0x28173f){let _0x472434,_0x37a8c3,_0x5bafcf=_0x4ca93f['sliceDoc'](_0x475343-_0x512120,_0x475343),_0x502668=_0x4ca93f['sliceDoc'](_0x28173f,_0x28173f+_0x512120),_0x69f654=/\s*$/['exec'](_0x5bafcf)[0x0]['length'],_0x28cba1=/^\s*/['exec'](_0x502668)[0x0]['length'],_0x49b3e7=_0x5bafcf['length']-_0x69f654;if(_0x5bafcf['slice'](_0x49b3e7-_0x207569['length'],_0x49b3e7)==_0x207569&&_0x502668['slice'](_0x28cba1,_0x28cba1+_0x190d22['length'])==_0x190d22)return{'open':{'pos':_0x475343-_0x69f654,'margin':_0x69f654&&0x1},'close':{'pos':_0x28173f+_0x28cba1,'margin':_0x28cba1&&0x1}};_0x28173f-_0x475343<=0x2*_0x512120?_0x472434=_0x37a8c3=_0x4ca93f['sliceDoc'](_0x475343,_0x28173f):(_0x472434=_0x4ca93f['sliceDoc'](_0x475343,_0x475343+_0x512120),_0x37a8c3=_0x4ca93f['sliceDoc'](_0x28173f-_0x512120,_0x28173f));let _0x5c99b1=/^\s*/['exec'](_0x472434)[0x0]['length'],_0x2efdca=/\s*$/['exec'](_0x37a8c3)[0x0]['length'],_0x159e2d=_0x37a8c3['length']-_0x2efdca-_0x190d22['length'];return _0x472434['slice'](_0x5c99b1,_0x5c99b1+_0x207569['length'])==_0x207569&&_0x37a8c3['slice'](_0x159e2d,_0x159e2d+_0x190d22['length'])==_0x190d22?{'open':{'pos':_0x475343+_0x5c99b1+_0x207569['length'],'margin':/\s/['test'](_0x472434['charAt'](_0x5c99b1+_0x207569['length']))?0x1:0x0},'close':{'pos':_0x28173f-_0x2efdca-_0x190d22['length'],'margin':/\s/['test'](_0x37a8c3['charAt'](_0x159e2d-0x1))?0x1:0x0}}:null;}(_0x600263,_0x2e5b63[_0x3e7be1],_0x5e6ac6['from'],_0x5e6ac6['to']));if(0x2!=_0x18abea&&!_0x1cb160['every'](_0x51fd77=>_0x51fd77))return{'changes':_0x600263['changes'](_0x55055d['map']((_0x4d3369,_0x24c3e4)=>_0x1cb160[_0x24c3e4]?[]:[{'from':_0x4d3369['from'],'insert':_0x2e5b63[_0x24c3e4]['open']+'\x20'},{'from':_0x4d3369['to'],'insert':'\x20'+_0x2e5b63[_0x24c3e4]['close']}]))};if(0x1!=_0x18abea&&_0x1cb160['some'](_0xd0a4bb=>_0xd0a4bb)){let _0x519e6e=[];for(let _0x5ae115,_0x53e112=0x0;_0x53e112<_0x1cb160['length'];_0x53e112++)if(_0x5ae115=_0x1cb160[_0x53e112]){let _0x545c25=_0x2e5b63[_0x53e112],{open:_0x2ad136,close:_0x4acb7b}=_0x5ae115;_0x519e6e['push']({'from':_0x2ad136['pos']-_0x545c25['open']['length'],'to':_0x2ad136['pos']+_0x2ad136['margin']},{'from':_0x4acb7b['pos']-_0x4acb7b['margin'],'to':_0x4acb7b['pos']+_0x545c25['close']['length']});}return{'changes':_0x519e6e};}return null;}function _0x169883(_0x2b981f,_0x2d658e,_0xb9f63b=_0x2d658e['selection']['ranges']){let _0x4e8a05=[],_0x1e995e=-0x1;for(let {from:_0x3ca4c4,to:_0x2784a5}of _0xb9f63b){let _0x514a47=_0x4e8a05['length'],_0x4ebe0b=0x3b9aca00,_0x213297=_0x17e271(_0x2d658e,_0x3ca4c4)['line'];if(_0x213297){for(let _0x22aaa0=_0x3ca4c4;_0x22aaa0<=_0x2784a5;){let _0x192b09=_0x2d658e['doc']['lineAt'](_0x22aaa0);if(_0x192b09['from']>_0x1e995e&&(_0x3ca4c4==_0x2784a5||_0x2784a5>_0x192b09['from'])){_0x1e995e=_0x192b09['from'];let _0x24ea43=/^\s*/['exec'](_0x192b09['text'])[0x0]['length'],_0x40ca56=_0x24ea43==_0x192b09['length'],_0x421a3e=_0x192b09['text']['slice'](_0x24ea43,_0x24ea43+_0x213297['length'])==_0x213297?_0x24ea43:-0x1;_0x24ea43<_0x192b09['text']['length']&&_0x24ea43<_0x4ebe0b&&(_0x4ebe0b=_0x24ea43),_0x4e8a05['push']({'line':_0x192b09,'comment':_0x421a3e,'token':_0x213297,'indent':_0x24ea43,'empty':_0x40ca56,'single':!0x1});}_0x22aaa0=_0x192b09['to']+0x1;}if(_0x4ebe0b<0x3b9aca00){for(let _0x1bfd48=_0x514a47;_0x1bfd48<_0x4e8a05['length'];_0x1bfd48++)_0x4e8a05[_0x1bfd48]['indent']<_0x4e8a05[_0x1bfd48]['line']['text']['length']&&(_0x4e8a05[_0x1bfd48]['indent']=_0x4ebe0b);}_0x4e8a05['length']==_0x514a47+0x1&&(_0x4e8a05[_0x514a47]['single']=!0x0);}}if(0x2!=_0x2b981f&&_0x4e8a05['some'](_0x5da635=>_0x5da635['comment']<0x0&&(!_0x5da635['empty']||_0x5da635['single']))){let _0x35d10c=[];for(let {line:_0x5291eb,token:_0x5214d6,indent:_0x417371,empty:_0x5fc0d0,single:_0x5d1dd6}of _0x4e8a05)!_0x5d1dd6&&_0x5fc0d0||_0x35d10c['push']({'from':_0x5291eb['from']+_0x417371,'insert':_0x5214d6+'\x20'});let _0x13e235=_0x2d658e['changes'](_0x35d10c);return{'changes':_0x13e235,'selection':_0x2d658e['selection']['map'](_0x13e235,0x1)};}if(0x1!=_0x2b981f&&_0x4e8a05['some'](_0x529223=>_0x529223['comment']>=0x0)){let _0x244199=[];for(let {line:_0x524f89,comment:_0x385257,token:_0x380977}of _0x4e8a05)if(_0x385257>=0x0){let _0x36945b=_0x524f89['from']+_0x385257,_0x2855f9=_0x36945b+_0x380977['length'];'\x20'==_0x524f89['text'][_0x2855f9-_0x524f89['from']]&&_0x2855f9++,_0x244199['push']({'from':_0x36945b,'to':_0x2855f9});}return{'changes':_0x244199};}return null;}const _0x49c387=Annotation['define'](),_0x497e28=Annotation['define'](),_0x31e1c7=Facet['define'](),_0x2bde1a=Facet['define']({'combine':_0x2fe042=>_0x4fcf55(_0x2fe042,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0x24c284,_0x42d1c1)=>_0x42d1c1},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0x3aa908,_0x4b33d9)=>(_0xf74b12,_0x580a97)=>_0x3aa908(_0xf74b12,_0x580a97)||_0x4b33d9(_0xf74b12,_0x580a97)})}),_0x21096c=StateField['define']({'create':()=>HistoryState['empty'],'update'(_0x50377a,_0x227c9a){let _0x10937d=_0x227c9a['state']['facet'](_0x2bde1a),_0x28dbf6=_0x227c9a['annotation'](_0x49c387);if(_0x28dbf6){let _0x2036f5=HistEvent['fromTransaction'](_0x227c9a,_0x28dbf6['selection']),_0x403c95=_0x28dbf6['side'],_0xf692bc=0x0==_0x403c95?_0x50377a['undone']:_0x50377a['done'];return _0xf692bc=_0x2036f5?_0x13a885(_0xf692bc,_0xf692bc['length'],_0x10937d['minDepth'],_0x2036f5):_0x12188c(_0xf692bc,_0x227c9a['startState']['selection']),new HistoryState(0x0==_0x403c95?_0x28dbf6['rest']:_0xf692bc,0x0==_0x403c95?_0xf692bc:_0x28dbf6['rest']);}let _0x3396b9=_0x227c9a['annotation'](_0x497e28);if('full'!=_0x3396b9&&'before'!=_0x3396b9||(_0x50377a=_0x50377a['isolate']()),!0x1===_0x227c9a['annotation'](Transaction['addToHistory']))return _0x227c9a['changes']['empty']?_0x50377a:_0x50377a['addMapping'](_0x227c9a['changes']['desc']);let _0x26fb9c=HistEvent['fromTransaction'](_0x227c9a),_0x21bb3a=_0x227c9a['annotation'](Transaction['time']),_0xffb71e=_0x227c9a['annotation'](Transaction['userEvent']);return _0x26fb9c?_0x50377a=_0x50377a['addChanges'](_0x26fb9c,_0x21bb3a,_0xffb71e,_0x10937d,_0x227c9a):_0x227c9a['selection']&&(_0x50377a=_0x50377a['addSelection'](_0x227c9a['startState']['selection'],_0x21bb3a,_0xffb71e,_0x10937d['newGroupDelay'])),'full'!=_0x3396b9&&'after'!=_0x3396b9||(_0x50377a=_0x50377a['isolate']()),_0x50377a;},'toJSON':_0x44dbfc=>({'done':_0x44dbfc['done']['map'](_0x19fd18=>_0x19fd18['toJSON']()),'undone':_0x44dbfc['undone']['map'](_0x34bada=>_0x34bada['toJSON']())}),'fromJSON':_0x38d60f=>new HistoryState(_0x38d60f['done']['map'](HistEvent['fromJSON']),_0x38d60f['undone']['map'](HistEvent['fromJSON']))});function _0xef1745(_0x13ef50={}){return[_0x21096c,_0x2bde1a['of'](_0x13ef50),EditorView['domEventHandlers']({'beforeinput'(_0x11c25b,_0x8cd738){let _0x221665='historyUndo'==_0x11c25b['inputType']?_0x4bfe86:'historyRedo'==_0x11c25b['inputType']?_0x3c1a48:null;return!!_0x221665&&(_0x11c25b['preventDefault'](),_0x221665(_0x8cd738));}})];}function _0x451c54(_0x5a96ab,_0x14b1f2){return function({state:_0x142628,dispatch:_0x41dca9}){if(!_0x14b1f2&&_0x142628['readOnly'])return!0x1;let _0x1bd2e2=_0x142628['field'](_0x21096c,!0x1);if(!_0x1bd2e2)return!0x1;let _0x11c4ee=_0x1bd2e2['pop'](_0x5a96ab,_0x142628,_0x14b1f2);return!!_0x11c4ee&&(_0x41dca9(_0x11c4ee),!0x0);};}const _0x4bfe86=_0x451c54(0x0,!0x1),_0x3c1a48=_0x451c54(0x1,!0x1),_0x4d1795=_0x451c54(0x0,!0x0),_0x1f4180=_0x451c54(0x1,!0x0);class HistEvent{constructor(_0x44fcf8,_0x47fd96,_0x35e0da,_0x5b555f,_0x1075eb){this['changes']=_0x44fcf8,this['effects']=_0x47fd96,this['mapped']=_0x35e0da,this['startSelection']=_0x5b555f,this['selectionsAfter']=_0x1075eb;}['setSelAfter'](_0x3c15ba){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0x3c15ba);}['toJSON'](){var _0x58a841,_0x17ecbc,_0x50c011;return{'changes':null===(_0x58a841=this['changes'])||void 0x0===_0x58a841?void 0x0:_0x58a841['toJSON'](),'mapped':null===(_0x17ecbc=this['mapped'])||void 0x0===_0x17ecbc?void 0x0:_0x17ecbc['toJSON'](),'startSelection':null===(_0x50c011=this['startSelection'])||void 0x0===_0x50c011?void 0x0:_0x50c011['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0x173f5b=>_0x173f5b['toJSON']())};}static['fromJSON'](_0x220d88){return new HistEvent(_0x220d88['changes']&&ChangeSet['fromJSON'](_0x220d88['changes']),[],_0x220d88['mapped']&&_0x30a30d['fromJSON'](_0x220d88['mapped']),_0x220d88['startSelection']&&EditorSelection['fromJSON'](_0x220d88['startSelection']),_0x220d88['selectionsAfter']['map'](EditorSelection['fromJSON']));}static['fromTransaction'](_0xcbdb67,_0x8e9826){let _0x2c9880=_0x148dd5;for(let _0x98672d of _0xcbdb67['startState']['facet'](_0x31e1c7)){let _0x38e2ab=_0x98672d(_0xcbdb67);_0x38e2ab['length']&&(_0x2c9880=_0x2c9880['concat'](_0x38e2ab));}return!_0x2c9880['length']&&_0xcbdb67['changes']['empty']?null:new HistEvent(_0xcbdb67['changes']['invert'](_0xcbdb67['startState']['doc']),_0x2c9880,void 0x0,_0x8e9826||_0xcbdb67['startState']['selection'],_0x148dd5);}static['selection'](_0x4da0ae){return new HistEvent(void 0x0,_0x148dd5,void 0x0,void 0x0,_0x4da0ae);}}function _0x13a885(_0x3e0eaf,_0x4b4003,_0x155928,_0x3b6ad8){let _0x1b30d0=_0x4b4003+0x1>_0x155928+0x14?_0x4b4003-_0x155928-0x1:0x0,_0x460606=_0x3e0eaf['slice'](_0x1b30d0,_0x4b4003);return _0x460606['push'](_0x3b6ad8),_0x460606;}function tA(_0x559265,_0x38ba91){return _0x559265['length']?_0x38ba91['length']?_0x559265['concat'](_0x38ba91):_0x559265:_0x38ba91;}const _0x148dd5=[],_0x59b627=0xc8;function _0x12188c(_0x54fddf,_0x4773aa){if(_0x54fddf['length']){let _0xbd7c67=_0x54fddf[_0x54fddf['length']-0x1],_0x1ef79d=_0xbd7c67['selectionsAfter']['slice'](Math['max'](0x0,_0xbd7c67['selectionsAfter']['length']-_0x59b627));return _0x1ef79d['length']&&_0x1ef79d[_0x1ef79d['length']-0x1]['eq'](_0x4773aa)?_0x54fddf:(_0x1ef79d['push'](_0x4773aa),_0x13a885(_0x54fddf,_0x54fddf['length']-0x1,0x3b9aca00,_0xbd7c67['setSelAfter'](_0x1ef79d)));}return[HistEvent['selection']([_0x4773aa])];}function _0x30f01f(_0x1a6672){let _0x1e0f17=_0x1a6672[_0x1a6672['length']-0x1],_0x3994bb=_0x1a6672['slice']();return _0x3994bb[_0x1a6672['length']-0x1]=_0x1e0f17['setSelAfter'](_0x1e0f17['selectionsAfter']['slice'](0x0,_0x1e0f17['selectionsAfter']['length']-0x1)),_0x3994bb;}function _0x470e33(_0x42ded6,_0x3c93d5){if(!_0x42ded6['length'])return _0x42ded6;let _0x4082de=_0x42ded6['length'],_0x3d2778=_0x148dd5;for(;_0x4082de;){let _0x269100=_0x25ca6a(_0x42ded6[_0x4082de-0x1],_0x3c93d5,_0x3d2778);if(_0x269100['changes']&&!_0x269100['changes']['empty']||_0x269100['effects']['length']){let _0x310b84=_0x42ded6['slice'](0x0,_0x4082de);return _0x310b84[_0x4082de-0x1]=_0x269100,_0x310b84;}_0x3c93d5=_0x269100['mapped'],_0x4082de--,_0x3d2778=_0x269100['selectionsAfter'];}return _0x3d2778['length']?[HistEvent['selection'](_0x3d2778)]:_0x148dd5;}function _0x25ca6a(_0x574cf6,_0x224caa,_0x3b2bc1){let _0xff946a=tA(_0x574cf6['selectionsAfter']['length']?_0x574cf6['selectionsAfter']['map'](_0x1a48f4=>_0x1a48f4['map'](_0x224caa)):_0x148dd5,_0x3b2bc1);if(!_0x574cf6['changes'])return HistEvent['selection'](_0xff946a);let _0x5f1f53=_0x574cf6['changes']['map'](_0x224caa),_0x501df6=_0x224caa['mapDesc'](_0x574cf6['changes'],!0x0),_0x496bb0=_0x574cf6['mapped']?_0x574cf6['mapped']['composeDesc'](_0x501df6):_0x501df6;return new HistEvent(_0x5f1f53,StateEffect['mapEffects'](_0x574cf6['effects'],_0x224caa),_0x496bb0,_0x574cf6['startSelection']['map'](_0x501df6),_0xff946a);}const _0x334731=/^(input\.type|delete)($|\.)/;class HistoryState{constructor(_0xc9826d,_0x612ad3,_0x3d88d4=0x0,_0xd108e=void 0x0){this['done']=_0xc9826d,this['undone']=_0x612ad3,this['prevTime']=_0x3d88d4,this['prevUserEvent']=_0xd108e;}['isolate'](){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0x5600e3,_0x2cae84,_0x1d1969,_0x279a4d,_0x12dea1){let _0x567601=this['done'],_0x51bcf8=_0x567601[_0x567601['length']-0x1];return _0x567601=_0x51bcf8&&_0x51bcf8['changes']&&!_0x51bcf8['changes']['empty']&&_0x5600e3['changes']&&(!_0x1d1969||_0x334731['test'](_0x1d1969))&&(!_0x51bcf8['selectionsAfter']['length']&&_0x2cae84-this['prevTime']<_0x279a4d['newGroupDelay']&&_0x279a4d['joinToEvent'](_0x12dea1,function(_0xff3b02,_0x128e37){let _0xd2831e=[],_0x590895=!0x1;return _0xff3b02['iterChangedRanges']((_0x15bfa0,t)=>_0xd2831e['push'](_0x15bfa0,t)),_0x128e37['iterChangedRanges']((_0x26af30,_0x554042,_0x2d42b8,t)=>{for(let _0x483795=0x0;_0x483795<_0xd2831e['length'];){let _0x3550dd=_0xd2831e[_0x483795++],_0x1ef7b4=_0xd2831e[_0x483795++];t>=_0x3550dd&&_0x2d42b8<=_0x1ef7b4&&(_0x590895=!0x0);}}),_0x590895;}(_0x51bcf8['changes'],_0x5600e3['changes']))||'input.type.compose'==_0x1d1969)?_0x13a885(_0x567601,_0x567601['length']-0x1,_0x279a4d['minDepth'],new HistEvent(_0x5600e3['changes']['compose'](_0x51bcf8['changes']),tA(StateEffect['mapEffects'](_0x5600e3['effects'],_0x51bcf8['changes']),_0x51bcf8['effects']),_0x51bcf8['mapped'],_0x51bcf8['startSelection'],_0x148dd5)):_0x13a885(_0x567601,_0x567601['length'],_0x279a4d['minDepth'],_0x5600e3),new HistoryState(_0x567601,_0x148dd5,_0x2cae84,_0x1d1969);}['addSelection'](_0x41c3b3,_0x2cffe0,_0x5cf3ca,_0x2f5d8d){let _0x86320f=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:_0x148dd5;return _0x86320f['length']>0x0&&_0x2cffe0-this['prevTime']<_0x2f5d8d&&_0x5cf3ca==this['prevUserEvent']&&_0x5cf3ca&&/^select($|\.)/['test'](_0x5cf3ca)&&(_0x5068fd=_0x86320f[_0x86320f['length']-0x1],_0x219b72=_0x41c3b3,_0x5068fd['ranges']['length']==_0x219b72['ranges']['length']&&0x0===_0x5068fd['ranges']['filter']((_0x3a8d07,_0x3e5186)=>_0x3a8d07['empty']!=_0x219b72['ranges'][_0x3e5186]['empty'])['length'])?this:new HistoryState(_0x12188c(this['done'],_0x41c3b3),this['undone'],_0x2cffe0,_0x5cf3ca);var _0x5068fd,_0x219b72;}['addMapping'](_0x451a6e){return new HistoryState(_0x470e33(this['done'],_0x451a6e),_0x470e33(this['undone'],_0x451a6e),this['prevTime'],this['prevUserEvent']);}['pop'](_0x3a487e,_0x47a7e1,_0x2203ce){let _0x2f3168=0x0==_0x3a487e?this['done']:this['undone'];if(0x0==_0x2f3168['length'])return null;let _0x574884=_0x2f3168[_0x2f3168['length']-0x1],_0x304ca2=_0x574884['selectionsAfter'][0x0]||_0x47a7e1['selection'];if(_0x2203ce&&_0x574884['selectionsAfter']['length'])return _0x47a7e1['update']({'selection':_0x574884['selectionsAfter'][_0x574884['selectionsAfter']['length']-0x1],'annotations':_0x49c387['of']({'side':_0x3a487e,'rest':_0x30f01f(_0x2f3168),'selection':_0x304ca2}),'userEvent':0x0==_0x3a487e?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0x574884['changes']){let _0xceb0fa=0x1==_0x2f3168['length']?_0x148dd5:_0x2f3168['slice'](0x0,_0x2f3168['length']-0x1);return _0x574884['mapped']&&(_0xceb0fa=_0x470e33(_0xceb0fa,_0x574884['mapped'])),_0x47a7e1['update']({'changes':_0x574884['changes'],'selection':_0x574884['startSelection'],'effects':_0x574884['effects'],'annotations':_0x49c387['of']({'side':_0x3a487e,'rest':_0xceb0fa,'selection':_0x304ca2}),'filter':!0x1,'userEvent':0x0==_0x3a487e?'undo':'redo','scrollIntoView':!0x0});}return null;}}HistoryState['empty']=new HistoryState(_0x148dd5,_0x148dd5);const _0x476022=[{'key':'Mod-z','run':_0x4bfe86,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':_0x3c1a48,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':_0x3c1a48,'preventDefault':!0x0},{'key':'Mod-u','run':_0x4d1795,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':_0x1f4180,'preventDefault':!0x0}];function _0x339c39(_0x1e95ea,_0x3e32f3){return EditorSelection['create'](_0x1e95ea['ranges']['map'](_0x3e32f3),_0x1e95ea['mainIndex']);}function _0x9ecab3(_0x102d4e,_0x3d22ff){return _0x102d4e['update']({'selection':_0x3d22ff,'scrollIntoView':!0x0,'userEvent':'select'});}function _0x2a19d6({state:_0x5218ff,dispatch:_0x3336fe},_0x180eca){let _0x60ae5f=_0x339c39(_0x5218ff['selection'],_0x180eca);return!_0x60ae5f['eq'](_0x5218ff['selection'],!0x0)&&(_0x3336fe(_0x9ecab3(_0x5218ff,_0x60ae5f)),!0x0);}function _0x3b5970(_0x2845e4,_0x345fa1){return EditorSelection['cursor'](_0x345fa1?_0x2845e4['to']:_0x2845e4['from']);}function _0x4132c2(_0x5b2bf7,_0x1204b5){return _0x2a19d6(_0x5b2bf7,_0x3516cb=>_0x3516cb['empty']?_0x5b2bf7['moveByChar'](_0x3516cb,_0x1204b5):_0x3b5970(_0x3516cb,_0x1204b5));}function _0x18bf7c(_0x1c86f4){return _0x1c86f4['textDirectionAt'](_0x1c86f4['state']['selection']['main']['head'])==_0x590046['LTR'];}const _0x409e09=_0x1483ff=>_0x4132c2(_0x1483ff,!_0x18bf7c(_0x1483ff)),_0x3325a8=_0x4b0e61=>_0x4132c2(_0x4b0e61,_0x18bf7c(_0x4b0e61));function _0x811700(_0x329971,_0x4933d9){return _0x2a19d6(_0x329971,_0x4095a3=>_0x4095a3['empty']?_0x329971['moveByGroup'](_0x4095a3,_0x4933d9):_0x3b5970(_0x4095a3,_0x4933d9));}function _0x184512(_0x3b5cbb,_0x3367f1,_0x329d0a){if(_0x3367f1['type']['prop'](_0x329d0a))return!0x0;let _0x9c212a=_0x3367f1['to']-_0x3367f1['from'];return _0x9c212a&&(_0x9c212a>0x2||/[^\s,.;:]/['test'](_0x3b5cbb['sliceDoc'](_0x3367f1['from'],_0x3367f1['to'])))||_0x3367f1['firstChild'];}function _0x10edab(_0x10001e,_0xd21d8b,_0x56365d){let _0x2c4cdf,_0x79fa59,_0x21293e=_0x31f27d(_0x10001e)['resolveInner'](_0xd21d8b['head']),_0x142439=_0x56365d?_0xdd8853['closedBy']:_0xdd8853['openedBy'];for(let _0x4b3d17=_0xd21d8b['head'];;){let _0x108a97=_0x56365d?_0x21293e['childAfter'](_0x4b3d17):_0x21293e['childBefore'](_0x4b3d17);if(!_0x108a97)break;_0x184512(_0x10001e,_0x108a97,_0x142439)?_0x21293e=_0x108a97:_0x4b3d17=_0x56365d?_0x108a97['to']:_0x108a97['from'];}return _0x79fa59=_0x21293e['type']['prop'](_0x142439)&&(_0x2c4cdf=_0x56365d?_0x2994d2(_0x10001e,_0x21293e['from'],0x1):_0x2994d2(_0x10001e,_0x21293e['to'],-0x1))&&_0x2c4cdf['matched']?_0x56365d?_0x2c4cdf['end']['to']:_0x2c4cdf['end']['from']:_0x56365d?_0x21293e['to']:_0x21293e['from'],EditorSelection['cursor'](_0x79fa59,_0x56365d?-0x1:0x1);}function _0x41e5bf(_0x12a5ce,_0x37b7b9){return _0x2a19d6(_0x12a5ce,_0x37583f=>{if(!_0x37583f['empty'])return _0x3b5970(_0x37583f,_0x37b7b9);let _0x311d59=_0x12a5ce['moveVertically'](_0x37583f,_0x37b7b9);return _0x311d59['head']!=_0x37583f['head']?_0x311d59:_0x12a5ce['moveToLineBoundary'](_0x37583f,_0x37b7b9);});}const _0x26ab0b=_0x3f5cbd=>_0x41e5bf(_0x3f5cbd,!0x1),_0x3067a3=_0x355892=>_0x41e5bf(_0x355892,!0x0);function _0x3e3eff(_0x5b4929){let _0x125ce8,_0x39132c=_0x5b4929['scrollDOM']['clientHeight']<_0x5b4929['scrollDOM']['scrollHeight']-0x2,_0xaabdba=0x0,_0x40eefb=0x0;if(_0x39132c){for(let _0x7c8d16 of _0x5b4929['state']['facet'](EditorView['scrollMargins'])){let _0x4b0ee3=_0x7c8d16(_0x5b4929);(null==_0x4b0ee3?void 0x0:_0x4b0ee3['top'])&&(_0xaabdba=Math['max'](null==_0x4b0ee3?void 0x0:_0x4b0ee3['top'],_0xaabdba)),(null==_0x4b0ee3?void 0x0:_0x4b0ee3['bottom'])&&(_0x40eefb=Math['max'](null==_0x4b0ee3?void 0x0:_0x4b0ee3['bottom'],_0x40eefb));}_0x125ce8=_0x5b4929['scrollDOM']['clientHeight']-_0xaabdba-_0x40eefb;}else _0x125ce8=(_0x5b4929['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0xaabdba,'marginBottom':_0x40eefb,'selfScroll':_0x39132c,'height':Math['max'](_0x5b4929['defaultLineHeight'],_0x125ce8-0x5)};}function _0x1148f6(_0x74e0cc,_0x3726ec){let _0x58b2ce,_0x246389=_0x3e3eff(_0x74e0cc),{state:_0x3772e4}=_0x74e0cc,_0x3a43a0=_0x339c39(_0x3772e4['selection'],_0x4ae315=>_0x4ae315['empty']?_0x74e0cc['moveVertically'](_0x4ae315,_0x3726ec,_0x246389['height']):_0x3b5970(_0x4ae315,_0x3726ec));if(_0x3a43a0['eq'](_0x3772e4['selection']))return!0x1;if(_0x246389['selfScroll']){let _0xa84901=_0x74e0cc['coordsAtPos'](_0x3772e4['selection']['main']['head']),_0x1d0501=_0x74e0cc['scrollDOM']['getBoundingClientRect'](),_0x206ab0=_0x1d0501['top']+_0x246389['marginTop'],_0x33a697=_0x1d0501['bottom']-_0x246389['marginBottom'];_0xa84901&&_0xa84901['top']>_0x206ab0&&_0xa84901['bottom']<_0x33a697&&(_0x58b2ce=EditorView['scrollIntoView'](_0x3a43a0['main']['head'],{'y':'start','yMargin':_0xa84901['top']-_0x206ab0}));}return _0x74e0cc['dispatch'](_0x9ecab3(_0x3772e4,_0x3a43a0),{'effects':_0x58b2ce}),!0x0;}const _0x30e913=_0x567d54=>_0x1148f6(_0x567d54,!0x1),_0x5fbfcf=_0x504f3b=>_0x1148f6(_0x504f3b,!0x0);function _0x2edfac(_0xd99dae,_0x11b98d,_0x4c30d4){let _0x2930ce=_0xd99dae['lineBlockAt'](_0x11b98d['head']),_0x413cf7=_0xd99dae['moveToLineBoundary'](_0x11b98d,_0x4c30d4);if(_0x413cf7['head']==_0x11b98d['head']&&_0x413cf7['head']!=(_0x4c30d4?_0x2930ce['to']:_0x2930ce['from'])&&(_0x413cf7=_0xd99dae['moveToLineBoundary'](_0x11b98d,_0x4c30d4,!0x1)),!_0x4c30d4&&_0x413cf7['head']==_0x2930ce['from']&&_0x2930ce['length']){let _0x410c93=/^\s*/['exec'](_0xd99dae['state']['sliceDoc'](_0x2930ce['from'],Math['min'](_0x2930ce['from']+0x64,_0x2930ce['to'])))[0x0]['length'];_0x410c93&&_0x11b98d['head']!=_0x2930ce['from']+_0x410c93&&(_0x413cf7=EditorSelection['cursor'](_0x2930ce['from']+_0x410c93));}return _0x413cf7;}function _0x2664bb(_0xec22ec,_0x3ab7f4){let _0x4fc7a3=_0x339c39(_0xec22ec['state']['selection'],_0x3b61b7=>{let _0x4d9125=_0x3ab7f4(_0x3b61b7);return EditorSelection['range'](_0x3b61b7['anchor'],_0x4d9125['head'],_0x4d9125['goalColumn'],_0x4d9125['bidiLevel']||void 0x0);});return!_0x4fc7a3['eq'](_0xec22ec['state']['selection'])&&(_0xec22ec['dispatch'](_0x9ecab3(_0xec22ec['state'],_0x4fc7a3)),!0x0);}function _0x12cf09(_0x2bc679,_0x1d13b8){return _0x2664bb(_0x2bc679,_0x143888=>_0x2bc679['moveByChar'](_0x143888,_0x1d13b8));}const _0x3962dc=_0x17c0e4=>_0x12cf09(_0x17c0e4,!_0x18bf7c(_0x17c0e4)),_0x26ae67=_0xa80442=>_0x12cf09(_0xa80442,_0x18bf7c(_0xa80442));function _0x400ca(_0x2307bd,_0x3c4d49){return _0x2664bb(_0x2307bd,_0x3a099a=>_0x2307bd['moveByGroup'](_0x3a099a,_0x3c4d49));}function _0x7a6580(_0x5842d1,_0x55dbeb){return _0x2664bb(_0x5842d1,_0x528bf2=>_0x5842d1['moveVertically'](_0x528bf2,_0x55dbeb));}const _0x1fe95f=_0x2443ea=>_0x7a6580(_0x2443ea,!0x1),_0x24295c=_0x3841b8=>_0x7a6580(_0x3841b8,!0x0);function _0x345a67(_0x4e7aab,_0x3241fd){return _0x2664bb(_0x4e7aab,_0x438477=>_0x4e7aab['moveVertically'](_0x438477,_0x3241fd,_0x3e3eff(_0x4e7aab)['height']));}const _0xe99c7e=_0x1effa7=>_0x345a67(_0x1effa7,!0x1),_0x1a7bf1=_0x444b3d=>_0x345a67(_0x444b3d,!0x0),_0x5cd2b2=({state:_0x229028,dispatch:_0x40101c})=>(_0x40101c(_0x9ecab3(_0x229028,{'anchor':0x0})),!0x0),_0x24741e=({state:_0x31be80,dispatch:_0x23689b})=>(_0x23689b(_0x9ecab3(_0x31be80,{'anchor':_0x31be80['doc']['length']})),!0x0),_0x13728b=({state:_0x133b96,dispatch:_0x4686ac})=>(_0x4686ac(_0x9ecab3(_0x133b96,{'anchor':_0x133b96['selection']['main']['anchor'],'head':0x0})),!0x0),_0x906659=({state:_0x84ce95,dispatch:_0x2da5dd})=>(_0x2da5dd(_0x9ecab3(_0x84ce95,{'anchor':_0x84ce95['selection']['main']['anchor'],'head':_0x84ce95['doc']['length']})),!0x0);function _0x25976a(_0x5e5761,_0x411e05){if(_0x5e5761['state']['readOnly'])return!0x1;let _0x538b4a='delete.selection',{state:_0x5b7cf3}=_0x5e5761,_0x45c264=_0x5b7cf3['changeByRange'](_0x1b7e5d=>{let {from:_0x4eaf9e,to:_0x13afb5}=_0x1b7e5d;if(_0x4eaf9e==_0x13afb5){let _0x25abc7=_0x411e05(_0x1b7e5d);_0x25abc7<_0x4eaf9e?(_0x538b4a='delete.backward',_0x25abc7=_0x45dbed(_0x5e5761,_0x25abc7,!0x1)):_0x25abc7>_0x4eaf9e&&(_0x538b4a='delete.forward',_0x25abc7=_0x45dbed(_0x5e5761,_0x25abc7,!0x0)),_0x4eaf9e=Math['min'](_0x4eaf9e,_0x25abc7),_0x13afb5=Math['max'](_0x13afb5,_0x25abc7);}else _0x4eaf9e=_0x45dbed(_0x5e5761,_0x4eaf9e,!0x1),_0x13afb5=_0x45dbed(_0x5e5761,_0x13afb5,!0x0);return _0x4eaf9e==_0x13afb5?{'range':_0x1b7e5d}:{'changes':{'from':_0x4eaf9e,'to':_0x13afb5},'range':EditorSelection['cursor'](_0x4eaf9e,_0x4eaf9e<_0x1b7e5d['head']?-0x1:0x1)};});return!_0x45c264['changes']['empty']&&(_0x5e5761['dispatch'](_0x5b7cf3['update'](_0x45c264,{'scrollIntoView':!0x0,'userEvent':_0x538b4a,'effects':'delete.selection'==_0x538b4a?EditorView['announce']['of'](_0x5b7cf3['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function _0x45dbed(_0xc18b40,_0x582d78,_0x4f1c4f){if(_0xc18b40 instanceof EditorView){for(let _0x320d76 of _0xc18b40['state']['facet'](EditorView['atomicRanges'])['map'](_0x377e2a=>_0x377e2a(_0xc18b40)))_0x320d76['between'](_0x582d78,_0x582d78,(_0x24055c,_0x145a43)=>{_0x24055c<_0x582d78&&_0x145a43>_0x582d78&&(_0x582d78=_0x4f1c4f?_0x145a43:_0x24055c);});}return _0x582d78;}const _0x1fe3a5=(_0x297b61,_0x28d192,_0x9f2c0e)=>_0x25976a(_0x297b61,_0xae3fcf=>{let _0x1ca338,_0x1ec4b4,_0xc91957=_0xae3fcf['from'],{state:_0x43a5a7}=_0x297b61,_0x45e13b=_0x43a5a7['doc']['lineAt'](_0xc91957);if(_0x9f2c0e&&!_0x28d192&&_0xc91957>_0x45e13b['from']&&_0xc91957<_0x45e13b['from']+0xc8&&!/[^ \t]/['test'](_0x1ca338=_0x45e13b['text']['slice'](0x0,_0xc91957-_0x45e13b['from']))){if('\x09'==_0x1ca338[_0x1ca338['length']-0x1])return _0xc91957-0x1;let _0x5030d7=_0x9d1039(_0x1ca338,_0x43a5a7['tabSize'])%_0x116d03(_0x43a5a7)||_0x116d03(_0x43a5a7);for(let _0x4af54a=0x0;_0x4af54a<_0x5030d7&&'\x20'==_0x1ca338[_0x1ca338['length']-0x1-_0x4af54a];_0x4af54a++)_0xc91957--;_0x1ec4b4=_0xc91957;}else _0x1ec4b4=_0x5da76b(_0x45e13b['text'],_0xc91957-_0x45e13b['from'],_0x28d192,_0x28d192)+_0x45e13b['from'],_0x1ec4b4==_0xc91957&&_0x45e13b['number']!=(_0x28d192?_0x43a5a7['doc']['lines']:0x1)?_0x1ec4b4+=_0x28d192?0x1:-0x1:!_0x28d192&&/[\ufe00-\ufe0f]/['test'](_0x45e13b['text']['slice'](_0x1ec4b4-_0x45e13b['from'],_0xc91957-_0x45e13b['from']))&&(_0x1ec4b4=_0x5da76b(_0x45e13b['text'],_0x1ec4b4-_0x45e13b['from'],!0x1,!0x1)+_0x45e13b['from']);return _0x1ec4b4;}),_0x292313=_0x4c581a=>_0x1fe3a5(_0x4c581a,!0x1,!0x0),_0x295cc3=_0x35f30f=>_0x1fe3a5(_0x35f30f,!0x0,!0x1),_0x18ed4d=(_0x51a7c6,_0x818e59)=>_0x25976a(_0x51a7c6,_0x1f40da=>{let _0x36824f=_0x1f40da['head'],{state:_0x2bd36e}=_0x51a7c6,_0x2fad94=_0x2bd36e['doc']['lineAt'](_0x36824f),_0x491c21=_0x2bd36e['charCategorizer'](_0x36824f);for(let _0xc47928=null;;){if(_0x36824f==(_0x818e59?_0x2fad94['to']:_0x2fad94['from'])){_0x36824f==_0x1f40da['head']&&_0x2fad94['number']!=(_0x818e59?_0x2bd36e['doc']['lines']:0x1)&&(_0x36824f+=_0x818e59?0x1:-0x1);break;}let _0x3e9fa=_0x5da76b(_0x2fad94['text'],_0x36824f-_0x2fad94['from'],_0x818e59)+_0x2fad94['from'],_0x3f5380=_0x2fad94['text']['slice'](Math['min'](_0x36824f,_0x3e9fa)-_0x2fad94['from'],Math['max'](_0x36824f,_0x3e9fa)-_0x2fad94['from']),_0x3c9dec=_0x491c21(_0x3f5380);if(null!=_0xc47928&&_0x3c9dec!=_0xc47928)break;'\x20'==_0x3f5380&&_0x36824f==_0x1f40da['head']||(_0xc47928=_0x3c9dec),_0x36824f=_0x3e9fa;}return _0x36824f;}),_0x1e69d6=_0x238eae=>_0x18ed4d(_0x238eae,!0x1);function _0x1e9188(_0xcd87f6){let _0x3ed6a6=[],_0x3b07fb=-0x1;for(let _0x396397 of _0xcd87f6['selection']['ranges']){let _0x25f2c5=_0xcd87f6['doc']['lineAt'](_0x396397['from']),_0x139e31=_0xcd87f6['doc']['lineAt'](_0x396397['to']);if(_0x396397['empty']||_0x396397['to']!=_0x139e31['from']||(_0x139e31=_0xcd87f6['doc']['lineAt'](_0x396397['to']-0x1)),_0x3b07fb>=_0x25f2c5['number']){let _0x20c38f=_0x3ed6a6[_0x3ed6a6['length']-0x1];_0x20c38f['to']=_0x139e31['to'],_0x20c38f['ranges']['push'](_0x396397);}else _0x3ed6a6['push']({'from':_0x25f2c5['from'],'to':_0x139e31['to'],'ranges':[_0x396397]});_0x3b07fb=_0x139e31['number']+0x1;}return _0x3ed6a6;}function _0x2ba493(_0x421d64,_0x590fb9,_0x160863){if(_0x421d64['readOnly'])return!0x1;let _0x2c6352=[],_0xb692c4=[];for(let _0x3f9894 of _0x1e9188(_0x421d64)){if(_0x160863?_0x3f9894['to']==_0x421d64['doc']['length']:0x0==_0x3f9894['from'])continue;let _0x538531=_0x421d64['doc']['lineAt'](_0x160863?_0x3f9894['to']+0x1:_0x3f9894['from']-0x1),_0x41933f=_0x538531['length']+0x1;if(_0x160863){_0x2c6352['push']({'from':_0x3f9894['to'],'to':_0x538531['to']},{'from':_0x3f9894['from'],'insert':_0x538531['text']+_0x421d64['lineBreak']});for(let _0x576a27 of _0x3f9894['ranges'])_0xb692c4['push'](EditorSelection['range'](Math['min'](_0x421d64['doc']['length'],_0x576a27['anchor']+_0x41933f),Math['min'](_0x421d64['doc']['length'],_0x576a27['head']+_0x41933f)));}else{_0x2c6352['push']({'from':_0x538531['from'],'to':_0x3f9894['from']},{'from':_0x3f9894['to'],'insert':_0x421d64['lineBreak']+_0x538531['text']});for(let _0x29be89 of _0x3f9894['ranges'])_0xb692c4['push'](EditorSelection['range'](_0x29be89['anchor']-_0x41933f,_0x29be89['head']-_0x41933f));}}return!!_0x2c6352['length']&&(_0x590fb9(_0x421d64['update']({'changes':_0x2c6352,'scrollIntoView':!0x0,'selection':EditorSelection['create'](_0xb692c4,_0x421d64['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}function _0x574f5f(_0x16c85c,_0x3893a6,_0x464b1b){if(_0x16c85c['readOnly'])return!0x1;let _0x552183=[];for(let _0x5db57e of _0x1e9188(_0x16c85c))_0x464b1b?_0x552183['push']({'from':_0x5db57e['from'],'insert':_0x16c85c['doc']['slice'](_0x5db57e['from'],_0x5db57e['to'])+_0x16c85c['lineBreak']}):_0x552183['push']({'from':_0x5db57e['to'],'insert':_0x16c85c['lineBreak']+_0x16c85c['doc']['slice'](_0x5db57e['from'],_0x5db57e['to'])});return _0x3893a6(_0x16c85c['update']({'changes':_0x552183,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const _0x4ad6cd=_0x562913(!0x1),tI=_0x562913(!0x0);function _0x562913(_0x5ab2f5){return({state:_0x421fcd,dispatch:_0x52a5e1})=>{if(_0x421fcd['readOnly'])return!0x1;let _0x730c3f=_0x421fcd['changeByRange'](_0x38b115=>{let {from:_0x14ff46,to:_0x1dadb9}=_0x38b115,_0x4c0c4e=_0x421fcd['doc']['lineAt'](_0x14ff46),_0x200072=!_0x5ab2f5&&_0x14ff46==_0x1dadb9&&function(_0x858895,_0x4f976f){if(/\(\)|\[\]|\{\}/['test'](_0x858895['sliceDoc'](_0x4f976f-0x1,_0x4f976f+0x1)))return{'from':_0x4f976f,'to':_0x4f976f};let _0x4cf260,_0x2bee67=_0x31f27d(_0x858895)['resolveInner'](_0x4f976f),_0x523a3c=_0x2bee67['childBefore'](_0x4f976f),_0x55c944=_0x2bee67['childAfter'](_0x4f976f);return _0x523a3c&&_0x55c944&&_0x523a3c['to']<=_0x4f976f&&_0x55c944['from']>=_0x4f976f&&(_0x4cf260=_0x523a3c['type']['prop'](_0xdd8853['closedBy']))&&_0x4cf260['indexOf'](_0x55c944['name'])>-0x1&&_0x858895['doc']['lineAt'](_0x523a3c['to'])['from']==_0x858895['doc']['lineAt'](_0x55c944['from'])['from']&&!/\S/['test'](_0x858895['sliceDoc'](_0x523a3c['to'],_0x55c944['from']))?{'from':_0x523a3c['to'],'to':_0x55c944['from']}:null;}(_0x421fcd,_0x14ff46);_0x5ab2f5&&(_0x14ff46=_0x1dadb9=(_0x1dadb9<=_0x4c0c4e['to']?_0x4c0c4e:_0x421fcd['doc']['lineAt'](_0x1dadb9))['to']);let _0x389607=new IndentContext(_0x421fcd,{'simulateBreak':_0x14ff46,'simulateDoubleBreak':!!_0x200072}),_0x5a0ae3=_0x159965(_0x389607,_0x14ff46);for(null==_0x5a0ae3&&(_0x5a0ae3=_0x9d1039(/^\s*/['exec'](_0x421fcd['doc']['lineAt'](_0x14ff46)['text'])[0x0],_0x421fcd['tabSize']));_0x1dadb9<_0x4c0c4e['to']&&/\s/['test'](_0x4c0c4e['text'][_0x1dadb9-_0x4c0c4e['from']]);)_0x1dadb9++;_0x200072?{from:_0x14ff46,to:_0x1dadb9}=_0x200072:_0x14ff46>_0x4c0c4e['from']&&_0x14ff46<_0x4c0c4e['from']+0x64&&!/\S/['test'](_0x4c0c4e['text']['slice'](0x0,_0x14ff46))&&(_0x14ff46=_0x4c0c4e['from']);let _0x17530d=['',_0x365324(_0x421fcd,_0x5a0ae3)];return _0x200072&&_0x17530d['push'](_0x365324(_0x421fcd,_0x389607['lineIndent'](_0x4c0c4e['from'],-0x1))),{'changes':{'from':_0x14ff46,'to':_0x1dadb9,'insert':_0x5681fe['of'](_0x17530d)},'range':EditorSelection['cursor'](_0x14ff46+0x1+_0x17530d[0x1]['length'])};});return _0x52a5e1(_0x421fcd['update'](_0x730c3f,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function _0x40053d(_0x19ed65,_0x5126a0){let _0x7a2360=-0x1;return _0x19ed65['changeByRange'](_0x2cd4b7=>{let _0x1a9c16=[];for(let _0x2bcc9c=_0x2cd4b7['from'];_0x2bcc9c<=_0x2cd4b7['to'];){let _0x1faeb9=_0x19ed65['doc']['lineAt'](_0x2bcc9c);_0x1faeb9['number']>_0x7a2360&&(_0x2cd4b7['empty']||_0x2cd4b7['to']>_0x1faeb9['from'])&&(_0x5126a0(_0x1faeb9,_0x1a9c16,_0x2cd4b7),_0x7a2360=_0x1faeb9['number']),_0x2bcc9c=_0x1faeb9['to']+0x1;}let _0x3f26dc=_0x19ed65['changes'](_0x1a9c16);return{'changes':_0x1a9c16,'range':EditorSelection['range'](_0x3f26dc['mapPos'](_0x2cd4b7['anchor'],0x1),_0x3f26dc['mapPos'](_0x2cd4b7['head'],0x1))};});}const _0x15cc26=({state:_0x21612d,dispatch:_0xc553e1})=>!_0x21612d['readOnly']&&(_0xc553e1(_0x21612d['update'](_0x40053d(_0x21612d,(_0x3aad01,_0xb57872)=>{_0xb57872['push']({'from':_0x3aad01['from'],'insert':_0x21612d['facet'](_0x25499f)});}),{'userEvent':'input.indent'})),!0x0),_0x39f404=({state:_0x5685f7,dispatch:_0x579875})=>!_0x5685f7['readOnly']&&(_0x579875(_0x5685f7['update'](_0x40053d(_0x5685f7,(_0x33a007,_0x1a27c4)=>{let _0x35b002=/^\s*/['exec'](_0x33a007['text'])[0x0];if(!_0x35b002)return;let _0x29ca55=_0x9d1039(_0x35b002,_0x5685f7['tabSize']),_0x1624de=0x0,_0x21a9f4=_0x365324(_0x5685f7,Math['max'](0x0,_0x29ca55-_0x116d03(_0x5685f7)));for(;_0x1624de<_0x35b002['length']&&_0x1624de<_0x21a9f4['length']&&_0x35b002['charCodeAt'](_0x1624de)==_0x21a9f4['charCodeAt'](_0x1624de);)_0x1624de++;_0x1a27c4['push']({'from':_0x33a007['from']+_0x1624de,'to':_0x33a007['from']+_0x35b002['length'],'insert':_0x21a9f4['slice'](_0x1624de)});}),{'userEvent':'delete.dedent'})),!0x0),_0x493972=_0x1ce069=>(_0x1ce069['setTabFocusMode'](),!0x0),_0x4b0dee=[{'key':'Ctrl-b','run':_0x409e09,'shift':_0x3962dc,'preventDefault':!0x0},{'key':'Ctrl-f','run':_0x3325a8,'shift':_0x26ae67},{'key':'Ctrl-p','run':_0x26ab0b,'shift':_0x1fe95f},{'key':'Ctrl-n','run':_0x3067a3,'shift':_0x24295c},{'key':'Ctrl-a','run':_0x4b75ff=>_0x2a19d6(_0x4b75ff,_0x298de7=>EditorSelection['cursor'](_0x4b75ff['lineBlockAt'](_0x298de7['head'])['from'],0x1)),'shift':_0x3608d7=>_0x2664bb(_0x3608d7,_0xb47308=>EditorSelection['cursor'](_0x3608d7['lineBlockAt'](_0xb47308['head'])['from']))},{'key':'Ctrl-e','run':_0x3ead69=>_0x2a19d6(_0x3ead69,_0x51f2dd=>EditorSelection['cursor'](_0x3ead69['lineBlockAt'](_0x51f2dd['head'])['to'],-0x1)),'shift':_0x8da8db=>_0x2664bb(_0x8da8db,_0x3b9801=>EditorSelection['cursor'](_0x8da8db['lineBlockAt'](_0x3b9801['head'])['to']))},{'key':'Ctrl-d','run':_0x295cc3},{'key':'Ctrl-h','run':_0x292313},{'key':'Ctrl-k','run':_0x586786=>_0x25976a(_0x586786,_0x423e29=>{let _0x575c80=_0x586786['lineBlockAt'](_0x423e29['head'])['to'];return _0x423e29['head']<_0x575c80?_0x575c80:Math['min'](_0x586786['state']['doc']['length'],_0x423e29['head']+0x1);})},{'key':'Ctrl-Alt-h','run':_0x1e69d6},{'key':'Ctrl-o','run':({state:_0x3ebad2,dispatch:_0x584a91})=>{if(_0x3ebad2['readOnly'])return!0x1;let _0xa1e920=_0x3ebad2['changeByRange'](_0x5deccc=>({'changes':{'from':_0x5deccc['from'],'to':_0x5deccc['to'],'insert':_0x5681fe['of'](['',''])},'range':EditorSelection['cursor'](_0x5deccc['from'])}));return _0x584a91(_0x3ebad2['update'](_0xa1e920,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;}},{'key':'Ctrl-t','run':({state:_0x3f007e,dispatch:_0x56faa7})=>{if(_0x3f007e['readOnly'])return!0x1;let _0xa746eb=_0x3f007e['changeByRange'](_0x4bbde2=>{if(!_0x4bbde2['empty']||0x0==_0x4bbde2['from']||_0x4bbde2['from']==_0x3f007e['doc']['length'])return{'range':_0x4bbde2};let _0x5a89c5=_0x4bbde2['from'],_0x1f3ab8=_0x3f007e['doc']['lineAt'](_0x5a89c5),_0x4c90f0=_0x5a89c5==_0x1f3ab8['from']?_0x5a89c5-0x1:_0x5da76b(_0x1f3ab8['text'],_0x5a89c5-_0x1f3ab8['from'],!0x1)+_0x1f3ab8['from'],_0x11841e=_0x5a89c5==_0x1f3ab8['to']?_0x5a89c5+0x1:_0x5da76b(_0x1f3ab8['text'],_0x5a89c5-_0x1f3ab8['from'],!0x0)+_0x1f3ab8['from'];return{'changes':{'from':_0x4c90f0,'to':_0x11841e,'insert':_0x3f007e['doc']['slice'](_0x5a89c5,_0x11841e)['append'](_0x3f007e['doc']['slice'](_0x4c90f0,_0x5a89c5))},'range':EditorSelection['cursor'](_0x11841e)};});return!_0xa746eb['changes']['empty']&&(_0x56faa7(_0x3f007e['update'](_0xa746eb,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);}},{'key':'Ctrl-v','run':_0x5fbfcf}],_0xcd58b5=[{'key':'ArrowLeft','run':_0x409e09,'shift':_0x3962dc,'preventDefault':!0x0},{'key':'Mod-ArrowLeft','mac':'Alt-ArrowLeft','run':_0x164c90=>_0x811700(_0x164c90,!_0x18bf7c(_0x164c90)),'shift':_0x5caeb1=>_0x400ca(_0x5caeb1,!_0x18bf7c(_0x5caeb1)),'preventDefault':!0x0},{'mac':'Cmd-ArrowLeft','run':_0x5d1742=>_0x2a19d6(_0x5d1742,_0x1049c3=>_0x2edfac(_0x5d1742,_0x1049c3,!_0x18bf7c(_0x5d1742))),'shift':_0xce98bc=>_0x2664bb(_0xce98bc,_0x4ca4a1=>_0x2edfac(_0xce98bc,_0x4ca4a1,!_0x18bf7c(_0xce98bc))),'preventDefault':!0x0},{'key':'ArrowRight','run':_0x3325a8,'shift':_0x26ae67,'preventDefault':!0x0},{'key':'Mod-ArrowRight','mac':'Alt-ArrowRight','run':_0x23a70f=>_0x811700(_0x23a70f,_0x18bf7c(_0x23a70f)),'shift':_0x52a9e1=>_0x400ca(_0x52a9e1,_0x18bf7c(_0x52a9e1)),'preventDefault':!0x0},{'mac':'Cmd-ArrowRight','run':_0x4ff3e8=>_0x2a19d6(_0x4ff3e8,_0x382827=>_0x2edfac(_0x4ff3e8,_0x382827,_0x18bf7c(_0x4ff3e8))),'shift':_0x2f1e0d=>_0x2664bb(_0x2f1e0d,_0x43db0c=>_0x2edfac(_0x2f1e0d,_0x43db0c,_0x18bf7c(_0x2f1e0d))),'preventDefault':!0x0},{'key':'ArrowUp','run':_0x26ab0b,'shift':_0x1fe95f,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':_0x5cd2b2,'shift':_0x13728b},{'mac':'Ctrl-ArrowUp','run':_0x30e913,'shift':_0xe99c7e},{'key':'ArrowDown','run':_0x3067a3,'shift':_0x24295c,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':_0x24741e,'shift':_0x906659},{'mac':'Ctrl-ArrowDown','run':_0x5fbfcf,'shift':_0x1a7bf1},{'key':'PageUp','run':_0x30e913,'shift':_0xe99c7e},{'key':'PageDown','run':_0x5fbfcf,'shift':_0x1a7bf1},{'key':'Home','run':_0x525eee=>_0x2a19d6(_0x525eee,_0x370d25=>_0x2edfac(_0x525eee,_0x370d25,!0x1)),'shift':_0x500f0e=>_0x2664bb(_0x500f0e,_0x5edbdd=>_0x2edfac(_0x500f0e,_0x5edbdd,!0x1)),'preventDefault':!0x0},{'key':'Mod-Home','run':_0x5cd2b2,'shift':_0x13728b},{'key':'End','run':_0x109bed=>_0x2a19d6(_0x109bed,_0x195ca0=>_0x2edfac(_0x109bed,_0x195ca0,!0x0)),'shift':_0x294f18=>_0x2664bb(_0x294f18,_0x446db5=>_0x2edfac(_0x294f18,_0x446db5,!0x0)),'preventDefault':!0x0},{'key':'Mod-End','run':_0x24741e,'shift':_0x906659},{'key':'Enter','run':_0x4ad6cd,'shift':_0x4ad6cd},{'key':'Mod-a','run':({state:_0x5cdb86,dispatch:_0x595abb})=>(_0x595abb(_0x5cdb86['update']({'selection':{'anchor':0x0,'head':_0x5cdb86['doc']['length']},'userEvent':'select'})),!0x0)},{'key':'Backspace','run':_0x292313,'shift':_0x292313},{'key':'Delete','run':_0x295cc3},{'key':'Mod-Backspace','mac':'Alt-Backspace','run':_0x1e69d6},{'key':'Mod-Delete','mac':'Alt-Delete','run':_0x5dd3cb=>_0x18ed4d(_0x5dd3cb,!0x0)},{'mac':'Mod-Backspace','run':_0x4579c0=>_0x25976a(_0x4579c0,_0x265808=>{let _0x45e7b3=_0x4579c0['moveToLineBoundary'](_0x265808,!0x1)['head'];return _0x265808['head']>_0x45e7b3?_0x45e7b3:Math['max'](0x0,_0x265808['head']-0x1);})},{'mac':'Mod-Delete','run':_0x5adcfc=>_0x25976a(_0x5adcfc,_0x30af53=>{let _0x590a1b=_0x5adcfc['moveToLineBoundary'](_0x30af53,!0x0)['head'];return _0x30af53['head']<_0x590a1b?_0x590a1b:Math['min'](_0x5adcfc['state']['doc']['length'],_0x30af53['head']+0x1);})}]['concat'](_0x4b0dee['map'](_0x4aadc4=>({'mac':_0x4aadc4['key'],'run':_0x4aadc4['run'],'shift':_0x4aadc4['shift']}))),_0x5503cd=[{'key':'Alt-ArrowLeft','mac':'Ctrl-ArrowLeft','run':_0x2e33e0=>_0x2a19d6(_0x2e33e0,_0x53a968=>_0x10edab(_0x2e33e0['state'],_0x53a968,!_0x18bf7c(_0x2e33e0))),'shift':_0xb6df0f=>_0x2664bb(_0xb6df0f,_0xed8628=>_0x10edab(_0xb6df0f['state'],_0xed8628,!_0x18bf7c(_0xb6df0f)))},{'key':'Alt-ArrowRight','mac':'Ctrl-ArrowRight','run':_0x5cc7c2=>_0x2a19d6(_0x5cc7c2,_0x3b1489=>_0x10edab(_0x5cc7c2['state'],_0x3b1489,_0x18bf7c(_0x5cc7c2))),'shift':_0x20f3df=>_0x2664bb(_0x20f3df,_0x12c3cc=>_0x10edab(_0x20f3df['state'],_0x12c3cc,_0x18bf7c(_0x20f3df)))},{'key':'Alt-ArrowUp','run':({state:_0x31af8d,dispatch:_0x665adb})=>_0x2ba493(_0x31af8d,_0x665adb,!0x1)},{'key':'Shift-Alt-ArrowUp','run':({state:_0xd5ac9b,dispatch:_0x29b0de})=>_0x574f5f(_0xd5ac9b,_0x29b0de,!0x1)},{'key':'Alt-ArrowDown','run':({state:_0x2f7d03,dispatch:_0x3dfe9a})=>_0x2ba493(_0x2f7d03,_0x3dfe9a,!0x0)},{'key':'Shift-Alt-ArrowDown','run':({state:_0xfcd408,dispatch:_0x9ceaae})=>_0x574f5f(_0xfcd408,_0x9ceaae,!0x0)},{'key':'Escape','run':({state:_0x5e05e2,dispatch:_0xf03369})=>{let _0x2d77d1=_0x5e05e2['selection'],_0x538279=null;return _0x2d77d1['ranges']['length']>0x1?_0x538279=EditorSelection['create']([_0x2d77d1['main']]):_0x2d77d1['main']['empty']||(_0x538279=EditorSelection['create']([EditorSelection['cursor'](_0x2d77d1['main']['head'])])),!!_0x538279&&(_0xf03369(_0x9ecab3(_0x5e05e2,_0x538279)),!0x0);}},{'key':'Mod-Enter','run':tI},{'key':'Alt-l','mac':'Ctrl-l','run':({state:_0x29b43a,dispatch:_0x16ad01})=>{let _0x3000e8=_0x1e9188(_0x29b43a)['map'](({from:_0x52da37,to:_0x350614})=>EditorSelection['range'](_0x52da37,Math['min'](_0x350614+0x1,_0x29b43a['doc']['length'])));return _0x16ad01(_0x29b43a['update']({'selection':EditorSelection['create'](_0x3000e8),'userEvent':'select'})),!0x0;}},{'key':'Mod-i','run':({state:_0x5f21f4,dispatch:_0x43de7c})=>{let _0x26a1fc=_0x339c39(_0x5f21f4['selection'],_0x3f3c39=>{let _0x228859=_0x31f27d(_0x5f21f4),_0x17c8ab=_0x228859['resolveStack'](_0x3f3c39['from'],0x1);if(_0x3f3c39['empty']){let _0x379057=_0x228859['resolveStack'](_0x3f3c39['from'],-0x1);_0x379057['node']['from']>=_0x17c8ab['node']['from']&&_0x379057['node']['to']<=_0x17c8ab['node']['to']&&(_0x17c8ab=_0x379057);}for(let _0x1f1bdc=_0x17c8ab;_0x1f1bdc;_0x1f1bdc=_0x1f1bdc['next']){let {node:_0x429337}=_0x1f1bdc;if((_0x429337['from']<_0x3f3c39['from']&&_0x429337['to']>=_0x3f3c39['to']||_0x429337['to']>_0x3f3c39['to']&&_0x429337['from']<=_0x3f3c39['from'])&&_0x1f1bdc['next'])return EditorSelection['range'](_0x429337['to'],_0x429337['from']);}return _0x3f3c39;});return!_0x26a1fc['eq'](_0x5f21f4['selection'])&&(_0x43de7c(_0x9ecab3(_0x5f21f4,_0x26a1fc)),!0x0);},'preventDefault':!0x0},{'key':'Mod-[','run':_0x39f404},{'key':'Mod-]','run':_0x15cc26},{'key':'Mod-Alt-\x5c','run':({state:_0x3495a1,dispatch:_0x2ba75e})=>{if(_0x3495a1['readOnly'])return!0x1;let _0x6e786f=Object['create'](null),_0x35fe34=new IndentContext(_0x3495a1,{'overrideIndentation':_0x49b085=>{let _0x57d5a4=_0x6e786f[_0x49b085];return null==_0x57d5a4?-0x1:_0x57d5a4;}}),_0x296196=_0x40053d(_0x3495a1,(_0x36ff3c,_0x4072a4,_0x4f7145)=>{let _0x240d85=_0x159965(_0x35fe34,_0x36ff3c['from']);if(null==_0x240d85)return;/\S/['test'](_0x36ff3c['text'])||(_0x240d85=0x0);let _0x5830e2=/^\s*/['exec'](_0x36ff3c['text'])[0x0],_0x30371e=_0x365324(_0x3495a1,_0x240d85);(_0x5830e2!=_0x30371e||_0x4f7145['from']<_0x36ff3c['from']+_0x5830e2['length'])&&(_0x6e786f[_0x36ff3c['from']]=_0x240d85,_0x4072a4['push']({'from':_0x36ff3c['from'],'to':_0x36ff3c['from']+_0x5830e2['length'],'insert':_0x30371e}));});return _0x296196['changes']['empty']||_0x2ba75e(_0x3495a1['update'](_0x296196,{'userEvent':'indent'})),!0x0;}},{'key':'Shift-Mod-k','run':_0x429b54=>{if(_0x429b54['state']['readOnly'])return!0x1;let {state:_0x28d1e4}=_0x429b54,_0x290a63=_0x28d1e4['changes'](_0x1e9188(_0x28d1e4)['map'](({from:_0x495b10,to:_0x40196b})=>(_0x495b10>0x0?_0x495b10--:_0x40196b<_0x28d1e4['doc']['length']&&_0x40196b++,{'from':_0x495b10,'to':_0x40196b}))),_0x28ea6a=_0x339c39(_0x28d1e4['selection'],_0x2d469f=>{let _0x4d5ad4;if(_0x429b54['lineWrapping']){let _0x5200cb=_0x429b54['lineBlockAt'](_0x2d469f['head']),_0x134f18=_0x429b54['coordsAtPos'](_0x2d469f['head'],_0x2d469f['assoc']||0x1);_0x134f18&&(_0x4d5ad4=_0x5200cb['bottom']+_0x429b54['documentTop']-_0x134f18['bottom']+_0x429b54['defaultLineHeight']/0x2);}return _0x429b54['moveVertically'](_0x2d469f,!0x0,_0x4d5ad4);})['map'](_0x290a63);return _0x429b54['dispatch']({'changes':_0x290a63,'selection':_0x28ea6a,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;}},{'key':'Shift-Mod-\x5c','run':({state:_0x559177,dispatch:_0x52c1b7})=>function(_0x373241,_0x176944){let _0x4d728d=!0x1,_0x104a9c=_0x339c39(_0x373241['selection'],_0x1393d0=>{let _0x5de406=_0x2994d2(_0x373241,_0x1393d0['head'],-0x1)||_0x2994d2(_0x373241,_0x1393d0['head'],0x1)||_0x1393d0['head']>0x0&&_0x2994d2(_0x373241,_0x1393d0['head']-0x1,0x1)||_0x1393d0['head']<_0x373241['doc']['length']&&_0x2994d2(_0x373241,_0x1393d0['head']+0x1,-0x1);if(!_0x5de406||!_0x5de406['end'])return _0x1393d0;_0x4d728d=!0x0;let _0x2feeaf=_0x5de406['start']['from']==_0x1393d0['head']?_0x5de406['end']['to']:_0x5de406['end']['from'];return EditorSelection['cursor'](_0x2feeaf);});return!!_0x4d728d&&(_0x176944(_0x9ecab3(_0x373241,_0x104a9c)),!0x0);}(_0x559177,_0x52c1b7)},{'key':'Mod-/','run':_0x92448f=>{let {state:_0x4c6843}=_0x92448f,_0x4b397e=_0x4c6843['doc']['lineAt'](_0x4c6843['selection']['main']['from']),_0x1f4271=_0x17e271(_0x92448f['state'],_0x4b397e['from']);return _0x1f4271['line']?_0x332c32(_0x92448f):!!_0x1f4271['block']&&_0x30db4e(_0x92448f);}},{'key':'Alt-A','run':_0x5f03cc},{'key':'Ctrl-m','mac':'Shift-Alt-m','run':_0x493972}]['concat'](_0xcd58b5);class CompletionContext{constructor(_0x14a822,_0x4272ad,_0x597b80,_0x1848bc){this['state']=_0x14a822,this['pos']=_0x4272ad,this['explicit']=_0x597b80,this['view']=_0x1848bc,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}['tokenBefore'](_0x3d3587){let _0x186fc6=_0x31f27d(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0x186fc6&&_0x3d3587['indexOf'](_0x186fc6['name'])<0x0;)_0x186fc6=_0x186fc6['parent'];return _0x186fc6?{'from':_0x186fc6['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0x186fc6['from'],this['pos']),'type':_0x186fc6['type']}:null;}['matchBefore'](_0x200e86){let _0x5d13ed=this['state']['doc']['lineAt'](this['pos']),_0x765bae=Math['max'](_0x5d13ed['from'],this['pos']-0xfa),_0x3bc165=_0x5d13ed['text']['slice'](_0x765bae-_0x5d13ed['from'],this['pos']-_0x5d13ed['from']),_0x2c2891=_0x3bc165['search'](_0x4eb8e0(_0x200e86,!0x1));return _0x2c2891<0x0?null:{'from':_0x765bae+_0x2c2891,'to':this['pos'],'text':_0x3bc165['slice'](_0x2c2891)};}get['aborted'](){return null==this['abortListeners'];}['addEventListener'](_0x3bfe3d,_0x4d3c14,_0x7e5be8){'abort'==_0x3bfe3d&&this['abortListeners']&&(this['abortListeners']['push'](_0x4d3c14),_0x7e5be8&&_0x7e5be8['onDocChange']&&(this['abortOnDocChange']=!0x0));}}function _0x12b165(_0x40ea9b){let _0x40d35a=Object['keys'](_0x40ea9b)['join'](''),_0x1fe052=/\w/['test'](_0x40d35a);return _0x1fe052&&(_0x40d35a=_0x40d35a['replace'](/\w/g,'')),'['+(_0x1fe052?'\x5cw':'')+_0x40d35a['replace'](/[^\w\s]/g,'\x5c$&')+']';}function _0x17a2cd(_0x1c3627){let _0x29be42=_0x1c3627['map'](_0x46ad37=>'string'==typeof _0x46ad37?{'label':_0x46ad37}:_0x46ad37),[_0x42aa4b,_0x3fa301]=_0x29be42['every'](_0xe0327d=>/^\w+$/['test'](_0xe0327d['label']))?[/\w*$/,/\w+$/]:function(_0x16d82a){let _0x4bbfe9=Object['create'](null),_0x341883=Object['create'](null);for(let {label:_0xc28a83}of _0x16d82a){_0x4bbfe9[_0xc28a83[0x0]]=!0x0;for(let _0x56e795=0x1;_0x56e795<_0xc28a83['length'];_0x56e795++)_0x341883[_0xc28a83[_0x56e795]]=!0x0;}let _0x1fc232=_0x12b165(_0x4bbfe9)+_0x12b165(_0x341883)+'*$';return[new RegExp('^'+_0x1fc232),new RegExp(_0x1fc232)];}(_0x29be42);return _0x581645=>{let _0x490019=_0x581645['matchBefore'](_0x3fa301);return _0x490019||_0x581645['explicit']?{'from':_0x490019?_0x490019['from']:_0x581645['pos'],'options':_0x29be42,'validFor':_0x42aa4b}:null;};}class Option{constructor(_0xf7d95d,_0x3c3181,_0xfdede0,_0x64715){this['completion']=_0xf7d95d,this['source']=_0x3c3181,this['match']=_0xfdede0,this['score']=_0x64715;}}function _0x4f9cb(_0x4f89cd){return _0x4f89cd['selection']['main']['from'];}function _0x4eb8e0(_0xa3442b,_0x26d33f){var _0x2ec7e8;let {source:_0x5e0d06}=_0xa3442b,_0xc51215=_0x26d33f&&'^'!=_0x5e0d06[0x0],_0x58b22e='$'!=_0x5e0d06[_0x5e0d06['length']-0x1];return _0xc51215||_0x58b22e?new RegExp((_0xc51215?'^':'')+'(?:'+_0x5e0d06+')'+(_0x58b22e?'$':''),null!==(_0x2ec7e8=_0xa3442b['flags'])&&void 0x0!==_0x2ec7e8?_0x2ec7e8:_0xa3442b['ignoreCase']?'i':''):_0xa3442b;}const _0x4ec38b=Annotation['define']();function _0x32db7a(_0x2001d3,_0x5cf3e5,_0x166bc3,_0x2fafd7){let {main:_0x2d7e45}=_0x2001d3['selection'],_0x4223f3=_0x166bc3-_0x2d7e45['from'],_0x21e387=_0x2fafd7-_0x2d7e45['from'];return{..._0x2001d3['changeByRange'](_0x38d83c=>{if(_0x38d83c!=_0x2d7e45&&_0x166bc3!=_0x2fafd7&&_0x2001d3['sliceDoc'](_0x38d83c['from']+_0x4223f3,_0x38d83c['from']+_0x21e387)!=_0x2001d3['sliceDoc'](_0x166bc3,_0x2fafd7))return{'range':_0x38d83c};let _0x533c93=_0x2001d3['toText'](_0x5cf3e5);return{'changes':{'from':_0x38d83c['from']+_0x4223f3,'to':_0x2fafd7==_0x2d7e45['from']?_0x38d83c['to']:_0x38d83c['from']+_0x21e387,'insert':_0x533c93},'range':EditorSelection['cursor'](_0x38d83c['from']+_0x4223f3+_0x533c93['length'])};}),'scrollIntoView':!0x0,'userEvent':'input.complete'};}const _0x4f2aa2=new WeakMap();function _0x50e9f5(_0x11f254){if(!Array['isArray'](_0x11f254))return _0x11f254;let _0x5f2653=_0x4f2aa2['get'](_0x11f254);return _0x5f2653||_0x4f2aa2['set'](_0x11f254,_0x5f2653=_0x17a2cd(_0x11f254)),_0x5f2653;}const _0x567a1f=StateEffect['define'](),_0x2a2f50=StateEffect['define']();class FuzzyMatcher{constructor(_0x455a46){this['pattern']=_0x455a46,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0x57764b=0x0;_0x57764b<_0x455a46['length'];){let _0x44288c=_0x444e07(_0x455a46,_0x57764b),_0x59044e=_0x4a4b3a(_0x44288c);this['chars']['push'](_0x44288c);let _0x22dd86=_0x455a46['slice'](_0x57764b,_0x57764b+_0x59044e),_0x37e2bf=_0x22dd86['toUpperCase']();this['folded']['push'](_0x444e07(_0x37e2bf==_0x22dd86?_0x22dd86['toLowerCase']():_0x37e2bf,0x0)),_0x57764b+=_0x59044e;}this['astral']=_0x455a46['length']!=this['chars']['length'];}['ret'](_0x258abb,_0x32c00a){return this['score']=_0x258abb,this['matched']=_0x32c00a,this;}['match'](_0x5d3e78){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0x5d3e78['length']<this['pattern']['length'])return null;let {chars:_0x47e173,folded:_0x1ea8a4,any:_0x2673a2,precise:_0x56ae71,byWord:_0x180e94}=this;if(0x1==_0x47e173['length']){let _0x671e23=_0x444e07(_0x5d3e78,0x0),_0x59d589=_0x4a4b3a(_0x671e23),_0xbdf13e=_0x59d589==_0x5d3e78['length']?0x0:-0x64;if(_0x671e23==_0x47e173[0x0]);else{if(_0x671e23!=_0x1ea8a4[0x0])return null;_0xbdf13e+=-0xc8;}return this['ret'](_0xbdf13e,[0x0,_0x59d589]);}let _0x16bd1b=_0x5d3e78['indexOf'](this['pattern']);if(0x0==_0x16bd1b)return this['ret'](_0x5d3e78['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x248304=_0x47e173['length'],_0x3e9c80=0x0;if(_0x16bd1b<0x0){for(let _0x1a07e1=0x0,_0x42bd37=Math['min'](_0x5d3e78['length'],0xc8);_0x1a07e1<_0x42bd37&&_0x3e9c80<_0x248304;){let _0x4b89e6=_0x444e07(_0x5d3e78,_0x1a07e1);_0x4b89e6!=_0x47e173[_0x3e9c80]&&_0x4b89e6!=_0x1ea8a4[_0x3e9c80]||(_0x2673a2[_0x3e9c80++]=_0x1a07e1),_0x1a07e1+=_0x4a4b3a(_0x4b89e6);}if(_0x3e9c80<_0x248304)return null;}let _0x48540b=0x0,_0x5c529a=0x0,_0x2f8bc6=!0x1,_0x13f39b=0x0,_0xeafe88=-0x1,_0x40f65a=-0x1,_0x9d0845=/[a-z]/['test'](_0x5d3e78),_0x58a2a4=!0x0;for(let _0x2136d9=0x0,_0x71f102=Math['min'](_0x5d3e78['length'],0xc8),_0x9017a5=0x0;_0x2136d9<_0x71f102&&_0x5c529a<_0x248304;){let _0x34386b=_0x444e07(_0x5d3e78,_0x2136d9);_0x16bd1b<0x0&&(_0x48540b<_0x248304&&_0x34386b==_0x47e173[_0x48540b]&&(_0x56ae71[_0x48540b++]=_0x2136d9),_0x13f39b<_0x248304&&(_0x34386b==_0x47e173[_0x13f39b]||_0x34386b==_0x1ea8a4[_0x13f39b]?(0x0==_0x13f39b&&(_0xeafe88=_0x2136d9),_0x40f65a=_0x2136d9+0x1,_0x13f39b++):_0x13f39b=0x0));let _0x6033dc,_0x4c00f9=_0x34386b<0xff?_0x34386b>=0x30&&_0x34386b<=0x39||_0x34386b>=0x61&&_0x34386b<=0x7a?0x2:_0x34386b>=0x41&&_0x34386b<=0x5a?0x1:0x0:(_0x6033dc=_0x311780(_0x34386b))!=_0x6033dc['toLowerCase']()?0x1:_0x6033dc!=_0x6033dc['toUpperCase']()?0x2:0x0;(!_0x2136d9||0x1==_0x4c00f9&&_0x9d0845||0x0==_0x9017a5&&0x0!=_0x4c00f9)&&(_0x47e173[_0x5c529a]==_0x34386b||_0x1ea8a4[_0x5c529a]==_0x34386b&&(_0x2f8bc6=!0x0)?_0x180e94[_0x5c529a++]=_0x2136d9:_0x180e94['length']&&(_0x58a2a4=!0x1)),_0x9017a5=_0x4c00f9,_0x2136d9+=_0x4a4b3a(_0x34386b);}return _0x5c529a==_0x248304&&0x0==_0x180e94[0x0]&&_0x58a2a4?this['result']((_0x2f8bc6?-0xc8:0x0)-0x64,_0x180e94,_0x5d3e78):_0x13f39b==_0x248304&&0x0==_0xeafe88?this['ret'](-0xc8-_0x5d3e78['length']+(_0x40f65a==_0x5d3e78['length']?0x0:-0x64),[0x0,_0x40f65a]):_0x16bd1b>-0x1?this['ret'](-0x2bc-_0x5d3e78['length'],[_0x16bd1b,_0x16bd1b+this['pattern']['length']]):_0x13f39b==_0x248304?this['ret'](-0x384-_0x5d3e78['length'],[_0xeafe88,_0x40f65a]):_0x5c529a==_0x248304?this['result']((_0x2f8bc6?-0xc8:0x0)-0x64-0x2bc+(_0x58a2a4?0x0:-0x44c),_0x180e94,_0x5d3e78):0x2==_0x47e173['length']?null:this['result']((_0x2673a2[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0x2673a2,_0x5d3e78);}['result'](_0x4b4a54,_0xb98487,_0x3481ad){let _0x37607d=[],_0x176bf4=0x0;for(let _0x598d25 of _0xb98487){let _0x1d65ab=_0x598d25+(this['astral']?_0x4a4b3a(_0x444e07(_0x3481ad,_0x598d25)):0x1);_0x176bf4&&_0x37607d[_0x176bf4-0x1]==_0x598d25?_0x37607d[_0x176bf4-0x1]=_0x1d65ab:(_0x37607d[_0x176bf4++]=_0x598d25,_0x37607d[_0x176bf4++]=_0x1d65ab);}return this['ret'](_0x4b4a54-_0x3481ad['length'],_0x37607d);}}class StrictMatcher{constructor(_0x38bbe8){this['pattern']=_0x38bbe8,this['matched']=[],this['score']=0x0,this['folded']=_0x38bbe8['toLowerCase']();}['match'](_0x4a1acc){if(_0x4a1acc['length']<this['pattern']['length'])return null;let _0x520dab=_0x4a1acc['slice'](0x0,this['pattern']['length']),_0x3d90a4=_0x520dab==this['pattern']?0x0:_0x520dab['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x3d90a4?null:(this['matched']=[0x0,_0x520dab['length']],this['score']=_0x3d90a4+(_0x4a1acc['length']==this['pattern']['length']?0x0:-0x64),this);}}const _0x54faf3=Facet['define']({'combine':_0x384d5e=>_0x4fcf55(_0x384d5e,{'activateOnTyping':!0x0,'activateOnCompletion':()=>!0x1,'activateOnTypingDelay':0x64,'selectOnOpen':!0x0,'override':null,'closeOnBlur':!0x0,'maxRenderedOptions':0x64,'defaultKeymap':!0x0,'tooltipClass':()=>'','optionClass':()=>'','aboveCursor':!0x1,'icons':!0x0,'addToOptions':[],'positionInfo':_0x4b746c,'filterStrict':!0x1,'compareCompletions':(_0x586895,_0x64820e)=>_0x586895['label']['localeCompare'](_0x64820e['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0x263410,_0x216bc2)=>_0x263410&&_0x216bc2,'closeOnBlur':(_0x56ced1,_0xbf1358)=>_0x56ced1&&_0xbf1358,'icons':(_0x3434a5,_0x12b9eb)=>_0x3434a5&&_0x12b9eb,'tooltipClass':(_0x87380a,_0x4f4ad2)=>_0x11c997=>_0x12c47a(_0x87380a(_0x11c997),_0x4f4ad2(_0x11c997)),'optionClass':(_0x32e2b9,_0x467bfb)=>_0x2b18d6=>_0x12c47a(_0x32e2b9(_0x2b18d6),_0x467bfb(_0x2b18d6)),'addToOptions':(_0x3cb31e,_0x426a0a)=>_0x3cb31e['concat'](_0x426a0a),'filterStrict':(_0x1ccfea,_0x10553f)=>_0x1ccfea||_0x10553f})});function _0x12c47a(_0x3ce354,_0x531ffe){return _0x3ce354?_0x531ffe?_0x3ce354+'\x20'+_0x531ffe:_0x3ce354:_0x531ffe;}function _0x4b746c(_0x39ed1a,_0x2ee662,_0xad05a2,_0x14e5e3,_0x238bc6,_0x317113){let _0x15ff4b,_0x4c4827,_0x2a8c33=_0x39ed1a['textDirection']==_0x590046['RTL'],_0x69f44b=_0x2a8c33,_0x2e7b23=!0x1,_0x4bc87f='top',_0x2166c7=_0x2ee662['left']-_0x238bc6['left'],_0x44f68f=_0x238bc6['right']-_0x2ee662['right'],_0x1d65f3=_0x14e5e3['right']-_0x14e5e3['left'],_0x3a0fdd=_0x14e5e3['bottom']-_0x14e5e3['top'];if(_0x69f44b&&_0x2166c7<Math['min'](_0x1d65f3,_0x44f68f)?_0x69f44b=!0x1:!_0x69f44b&&_0x44f68f<Math['min'](_0x1d65f3,_0x2166c7)&&(_0x69f44b=!0x0),_0x1d65f3<=(_0x69f44b?_0x2166c7:_0x44f68f))_0x15ff4b=Math['max'](_0x238bc6['top'],Math['min'](_0xad05a2['top'],_0x238bc6['bottom']-_0x3a0fdd))-_0x2ee662['top'],_0x4c4827=Math['min'](0x190,_0x69f44b?_0x2166c7:_0x44f68f);else{_0x2e7b23=!0x0,_0x4c4827=Math['min'](0x190,(_0x2a8c33?_0x2ee662['right']:_0x238bc6['right']-_0x2ee662['left'])-0x1e);let _0x4b100b=_0x238bc6['bottom']-_0x2ee662['bottom'];_0x4b100b>=_0x3a0fdd||_0x4b100b>_0x2ee662['top']?_0x15ff4b=_0xad05a2['bottom']-_0x2ee662['top']:(_0x4bc87f='bottom',_0x15ff4b=_0x2ee662['bottom']-_0xad05a2['top']);}return{'style':_0x4bc87f+':\x20'+_0x15ff4b/((_0x2ee662['bottom']-_0x2ee662['top'])/_0x317113['offsetHeight'])+'px;\x20max-width:\x20'+_0x4c4827/((_0x2ee662['right']-_0x2ee662['left'])/_0x317113['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0x2e7b23?_0x2a8c33?'left-narrow':'right-narrow':_0x69f44b?'left':'right')};}function _0x46d0c2(_0x2e8082,_0x40f504,_0x298019){if(_0x2e8082<=_0x298019)return{'from':0x0,'to':_0x2e8082};if(_0x40f504<0x0&&(_0x40f504=0x0),_0x40f504<=_0x2e8082>>0x1){let _0x2edda4=Math['floor'](_0x40f504/_0x298019);return{'from':_0x2edda4*_0x298019,'to':(_0x2edda4+0x1)*_0x298019};}let _0x2419e4=Math['floor']((_0x2e8082-_0x40f504)/_0x298019);return{'from':_0x2e8082-(_0x2419e4+0x1)*_0x298019,'to':_0x2e8082-_0x2419e4*_0x298019};}class CompletionTooltip{constructor(_0x30ca28,_0x327a1a,_0x1083e5){this['view']=_0x30ca28,this['stateField']=_0x327a1a,this['applyCompletion']=_0x1083e5,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0x3d6ca4=>this['placeInfo'](_0x3d6ca4),'key':this},this['space']=null,this['currentClass']='';let _0x190fa3=_0x30ca28['state']['field'](_0x327a1a),{options:_0x3351a8,selected:_0xaad2b2}=_0x190fa3['open'],_0x3b985f=_0x30ca28['state']['facet'](_0x54faf3);this['optionContent']=function(_0x28be31){let _0x1929ff=_0x28be31['addToOptions']['slice']();return _0x28be31['icons']&&_0x1929ff['push']({'render'(_0xef8fd8){let _0x1d1fc3=document['createElement']('div');return _0x1d1fc3['classList']['add']('cm-completionIcon'),_0xef8fd8['type']&&_0x1d1fc3['classList']['add'](..._0xef8fd8['type']['split'](/\s+/g)['map'](_0x5aad7f=>'cm-completionIcon-'+_0x5aad7f)),_0x1d1fc3['setAttribute']('aria-hidden','true'),_0x1d1fc3;},'position':0x14}),_0x1929ff['push']({'render'(_0x5a12f9,_0x3e5f92,_0x202b9b,_0x4371be){let _0x95cc56=document['createElement']('span');_0x95cc56['className']='cm-completionLabel';let _0x10ad1a=_0x5a12f9['displayLabel']||_0x5a12f9['label'],_0x6c0f23=0x0;for(let _0x4befd7=0x0;_0x4befd7<_0x4371be['length'];){let _0x556121=_0x4371be[_0x4befd7++],_0x16370a=_0x4371be[_0x4befd7++];_0x556121>_0x6c0f23&&_0x95cc56['appendChild'](document['createTextNode'](_0x10ad1a['slice'](_0x6c0f23,_0x556121)));let _0x2d9107=_0x95cc56['appendChild'](document['createElement']('span'));_0x2d9107['appendChild'](document['createTextNode'](_0x10ad1a['slice'](_0x556121,_0x16370a))),_0x2d9107['className']='cm-completionMatchedText',_0x6c0f23=_0x16370a;}return _0x6c0f23<_0x10ad1a['length']&&_0x95cc56['appendChild'](document['createTextNode'](_0x10ad1a['slice'](_0x6c0f23))),_0x95cc56;},'position':0x32},{'render'(_0x188c00){if(!_0x188c00['detail'])return null;let _0x1e1399=document['createElement']('span');return _0x1e1399['className']='cm-completionDetail',_0x1e1399['textContent']=_0x188c00['detail'],_0x1e1399;},'position':0x50}),_0x1929ff['sort']((_0x1f014c,_0x4aea80)=>_0x1f014c['position']-_0x4aea80['position'])['map'](_0x4713be=>_0x4713be['render']);}(_0x3b985f),this['optionClass']=_0x3b985f['optionClass'],this['tooltipClass']=_0x3b985f['tooltipClass'],this['range']=_0x46d0c2(_0x3351a8['length'],_0xaad2b2,_0x3b985f['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0x30ca28['state']),this['dom']['addEventListener']('mousedown',_0x4baf0c=>{let {options:_0x109657}=_0x30ca28['state']['field'](_0x327a1a)['open'];for(let _0x555016,_0x481a01=_0x4baf0c['target'];_0x481a01&&_0x481a01!=this['dom'];_0x481a01=_0x481a01['parentNode'])if('LI'==_0x481a01['nodeName']&&(_0x555016=/-(\d+)$/['exec'](_0x481a01['id']))&&+_0x555016[0x1]<_0x109657['length'])return this['applyCompletion'](_0x30ca28,_0x109657[+_0x555016[0x1]]),void _0x4baf0c['preventDefault']();}),this['dom']['addEventListener']('focusout',_0x24d540=>{let _0x1f1549=_0x30ca28['state']['field'](this['stateField'],!0x1);_0x1f1549&&_0x1f1549['tooltip']&&_0x30ca28['state']['facet'](_0x54faf3)['closeOnBlur']&&_0x24d540['relatedTarget']!=_0x30ca28['contentDOM']&&_0x30ca28['dispatch']({'effects':_0x2a2f50['of'](null)});}),this['showOptions'](_0x3351a8,_0x190fa3['id']);}['mount'](){this['updateSel']();}['showOptions'](_0x36a339,_0x57caae){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0x36a339,_0x57caae,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}['update'](_0x1a7a53){var _0x16096f;let _0x431f30=_0x1a7a53['state']['field'](this['stateField']),_0x7a19ae=_0x1a7a53['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0x1a7a53['state']),_0x431f30!=_0x7a19ae){let {options:_0x32489d,selected:_0x4fe806,disabled:_0xfeda5e}=_0x431f30['open'];_0x7a19ae['open']&&_0x7a19ae['open']['options']==_0x32489d||(this['range']=_0x46d0c2(_0x32489d['length'],_0x4fe806,_0x1a7a53['state']['facet'](_0x54faf3)['maxRenderedOptions']),this['showOptions'](_0x32489d,_0x431f30['id'])),this['updateSel'](),_0xfeda5e!=(null===(_0x16096f=_0x7a19ae['open'])||void 0x0===_0x16096f?void 0x0:_0x16096f['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0xfeda5e);}}['updateTooltipClass'](_0x343f82){let _0x435c56=this['tooltipClass'](_0x343f82);if(_0x435c56!=this['currentClass']){for(let _0x350ea9 of this['currentClass']['split']('\x20'))_0x350ea9&&this['dom']['classList']['remove'](_0x350ea9);for(let _0x569666 of _0x435c56['split']('\x20'))_0x569666&&this['dom']['classList']['add'](_0x569666);this['currentClass']=_0x435c56;}}['positioned'](_0x40faf3){this['space']=_0x40faf3,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}['updateSel'](){let _0xcbefd7=this['view']['state']['field'](this['stateField']),_0x573180=_0xcbefd7['open'];(_0x573180['selected']>-0x1&&_0x573180['selected']<this['range']['from']||_0x573180['selected']>=this['range']['to'])&&(this['range']=_0x46d0c2(_0x573180['options']['length'],_0x573180['selected'],this['view']['state']['facet'](_0x54faf3)['maxRenderedOptions']),this['showOptions'](_0x573180['options'],_0xcbefd7['id']));let _0x161190=this['updateSelectedOption'](_0x573180['selected']);if(_0x161190){this['destroyInfo']();let {completion:_0x5a124}=_0x573180['options'][_0x573180['selected']],{info:_0x28146f}=_0x5a124;if(!_0x28146f)return;let _0x4e3757='string'==typeof _0x28146f?document['createTextNode'](_0x28146f):_0x28146f(_0x5a124);if(!_0x4e3757)return;'then'in _0x4e3757?_0x4e3757['then'](_0x3b14b3=>{_0x3b14b3&&this['view']['state']['field'](this['stateField'],!0x1)==_0xcbefd7&&this['addInfoPane'](_0x3b14b3,_0x5a124);})['catch'](_0x20e6f5=>_0x817679(this['view']['state'],_0x20e6f5,'completion\x20info')):(this['addInfoPane'](_0x4e3757,_0x5a124),_0x161190['setAttribute']('aria-describedby',this['info']['id']));}}['addInfoPane'](_0x55d227,_0x200f48){this['destroyInfo']();let _0x22b6e4=this['info']=document['createElement']('div');if(_0x22b6e4['className']='cm-tooltip\x20cm-completionInfo',_0x22b6e4['id']='cm-completionInfo-'+Math['floor'](0xffff*Math['random']())['toString'](0x10),null!=_0x55d227['nodeType'])_0x22b6e4['appendChild'](_0x55d227),this['infoDestroy']=null;else{let {dom:_0x4436ca,destroy:_0x408998}=_0x55d227;_0x22b6e4['appendChild'](_0x4436ca),this['infoDestroy']=_0x408998||null;}this['dom']['appendChild'](_0x22b6e4),this['view']['requestMeasure'](this['placeInfoReq']);}['updateSelectedOption'](_0x3f9cbc){let _0x2ccadb=null;for(let _0x5807e4=this['list']['firstChild'],_0x3b5dc1=this['range']['from'];_0x5807e4;_0x5807e4=_0x5807e4['nextSibling'],_0x3b5dc1++)'LI'==_0x5807e4['nodeName']&&_0x5807e4['id']?_0x3b5dc1==_0x3f9cbc?_0x5807e4['hasAttribute']('aria-selected')||(_0x5807e4['setAttribute']('aria-selected','true'),_0x2ccadb=_0x5807e4):_0x5807e4['hasAttribute']('aria-selected')&&(_0x5807e4['removeAttribute']('aria-selected'),_0x5807e4['removeAttribute']('aria-describedby')):_0x3b5dc1--;return _0x2ccadb&&function(_0x406853,_0x142a0b){let _0x3ef998=_0x406853['getBoundingClientRect'](),_0x147a2c=_0x142a0b['getBoundingClientRect'](),_0x495dda=_0x3ef998['height']/_0x406853['offsetHeight'];_0x147a2c['top']<_0x3ef998['top']?_0x406853['scrollTop']-=(_0x3ef998['top']-_0x147a2c['top'])/_0x495dda:_0x147a2c['bottom']>_0x3ef998['bottom']&&(_0x406853['scrollTop']+=(_0x147a2c['bottom']-_0x3ef998['bottom'])/_0x495dda);}(this['list'],_0x2ccadb),_0x2ccadb;}['measureInfo'](){let _0x409d4b=this['dom']['querySelector']('[aria-selected]');if(!_0x409d4b||!this['info'])return null;let _0x3d0b32=this['dom']['getBoundingClientRect'](),_0x1bf7e0=this['info']['getBoundingClientRect'](),_0x447ecb=_0x409d4b['getBoundingClientRect'](),_0x1675f3=this['space'];if(!_0x1675f3){let _0x2d5545=this['dom']['ownerDocument']['documentElement'];_0x1675f3={'left':0x0,'top':0x0,'right':_0x2d5545['clientWidth'],'bottom':_0x2d5545['clientHeight']};}return _0x447ecb['top']>Math['min'](_0x1675f3['bottom'],_0x3d0b32['bottom'])-0xa||_0x447ecb['bottom']<Math['max'](_0x1675f3['top'],_0x3d0b32['top'])+0xa?null:this['view']['state']['facet'](_0x54faf3)['positionInfo'](this['view'],_0x3d0b32,_0x447ecb,_0x1bf7e0,_0x1675f3,this['dom']);}['placeInfo'](_0x1727ec){this['info']&&(_0x1727ec?(_0x1727ec['style']&&(this['info']['style']['cssText']=_0x1727ec['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0x1727ec['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}['createListBox'](_0x51f187,_0x23926d,_0x13231e){const _0x1ee555=document['createElement']('ul');_0x1ee555['id']=_0x23926d,_0x1ee555['setAttribute']('role','listbox'),_0x1ee555['setAttribute']('aria-expanded','true'),_0x1ee555['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0x1ee555['addEventListener']('mousedown',_0x66512f=>{_0x66512f['target']==_0x1ee555&&_0x66512f['preventDefault']();});let _0x30730a=null;for(let _0x435554=_0x13231e['from'];_0x435554<_0x13231e['to'];_0x435554++){let {completion:_0x4b4f49,match:_0x5a2b3f}=_0x51f187[_0x435554],{section:_0x31bbee}=_0x4b4f49;if(_0x31bbee){let _0x4a07cb='string'==typeof _0x31bbee?_0x31bbee:_0x31bbee['name'];if(_0x4a07cb!=_0x30730a&&(_0x435554>_0x13231e['from']||0x0==_0x13231e['from'])){if(_0x30730a=_0x4a07cb,'string'!=typeof _0x31bbee&&_0x31bbee['header'])_0x1ee555['appendChild'](_0x31bbee['header'](_0x31bbee));else _0x1ee555['appendChild'](document['createElement']('completion-section'))['textContent']=_0x4a07cb;}}const _0x15b067=_0x1ee555['appendChild'](document['createElement']('li'));_0x15b067['id']=_0x23926d+'-'+_0x435554,_0x15b067['setAttribute']('role','option');let _0x234536=this['optionClass'](_0x4b4f49);_0x234536&&(_0x15b067['className']=_0x234536);for(let _0x21978f of this['optionContent']){let _0x4d4b41=_0x21978f(_0x4b4f49,this['view']['state'],this['view'],_0x5a2b3f);_0x4d4b41&&_0x15b067['appendChild'](_0x4d4b41);}}return _0x13231e['from']&&_0x1ee555['classList']['add']('cm-completionListIncompleteTop'),_0x13231e['to']<_0x51f187['length']&&_0x1ee555['classList']['add']('cm-completionListIncompleteBottom'),_0x1ee555;}['destroyInfo'](){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}['destroy'](){this['destroyInfo']();}}function _0x3e1cdd(_0x3767cb,_0x15d9a4){return _0x40f359=>new CompletionTooltip(_0x40f359,_0x3767cb,_0x15d9a4);}function _0x39ac1b(_0x16d745){return 0x64*(_0x16d745['boost']||0x0)+(_0x16d745['apply']?0xa:0x0)+(_0x16d745['info']?0x5:0x0)+(_0x16d745['type']?0x1:0x0);}class CompletionDialog{constructor(_0x1171fd,_0x5e6ef1,_0x27e3fd,_0x5b58ae,_0x465473,_0x8c78bd){this['options']=_0x1171fd,this['attrs']=_0x5e6ef1,this['tooltip']=_0x27e3fd,this['timestamp']=_0x5b58ae,this['selected']=_0x465473,this['disabled']=_0x8c78bd;}['setSelected'](_0x28570b,_0x1765d){return _0x28570b==this['selected']||_0x28570b>=this['options']['length']?this:new CompletionDialog(this['options'],_0x333b7a(_0x1765d,_0x28570b),this['tooltip'],this['timestamp'],_0x28570b,this['disabled']);}static['build'](_0x236ec3,_0x597fa8,_0x27724b,_0x5ea94f,_0x3931c2,_0x4a9fd1){if(_0x5ea94f&&!_0x4a9fd1&&_0x236ec3['some'](_0xd3a9e6=>_0xd3a9e6['isPending']))return _0x5ea94f['setDisabled']();let _0xb09261=function(_0x3e5f79,_0x2d2d51){let _0x2c1304=[],_0x798bf1=null,_0x4058a1=null,_0x2206a0=_0x21ac74=>{_0x2c1304['push'](_0x21ac74);let {section:_0xcd61bd}=_0x21ac74['completion'];if(_0xcd61bd){_0x798bf1||(_0x798bf1=[]);let _0x3d43e2='string'==typeof _0xcd61bd?_0xcd61bd:_0xcd61bd['name'];_0x798bf1['some'](_0x25df41=>_0x25df41['name']==_0x3d43e2)||_0x798bf1['push']('string'==typeof _0xcd61bd?{'name':_0x3d43e2}:_0xcd61bd);}},_0x3e2f2b=_0x2d2d51['facet'](_0x54faf3);for(let _0xb64b81 of _0x3e5f79)if(_0xb64b81['hasResult']()){let _0x473080=_0xb64b81['result']['getMatch'];if(!0x1===_0xb64b81['result']['filter']){for(let _0x3c8ade of _0xb64b81['result']['options'])_0x2206a0(new Option(_0x3c8ade,_0xb64b81['source'],_0x473080?_0x473080(_0x3c8ade):[],0x3b9aca00-_0x2c1304['length']));}else{let _0x516588,_0x178618=_0x2d2d51['sliceDoc'](_0xb64b81['from'],_0xb64b81['to']),_0x4bd685=_0x3e2f2b['filterStrict']?new StrictMatcher(_0x178618):new FuzzyMatcher(_0x178618);for(let _0x281304 of _0xb64b81['result']['options'])if(_0x516588=_0x4bd685['match'](_0x281304['label'])){let _0x2bbcb1=_0x281304['displayLabel']?_0x473080?_0x473080(_0x281304,_0x516588['matched']):[]:_0x516588['matched'],_0x35e27d=_0x516588['score']+(_0x281304['boost']||0x0);if(_0x2206a0(new Option(_0x281304,_0xb64b81['source'],_0x2bbcb1,_0x35e27d)),'object'==typeof _0x281304['section']&&'dynamic'===_0x281304['section']['rank']){let {name:_0x26fb1d}=_0x281304['section'];_0x4058a1||(_0x4058a1=Object['create'](null)),_0x4058a1[_0x26fb1d]=Math['max'](_0x35e27d,_0x4058a1[_0x26fb1d]||-0x3b9aca00);}}}}if(_0x798bf1){let _0x2a8dc1=Object['create'](null),_0x2fc1e3=0x0,_0x3b8442=(_0x48b1bc,_0x14b5e9)=>('dynamic'===_0x48b1bc['rank']&&'dynamic'===_0x14b5e9['rank']?_0x4058a1[_0x14b5e9['name']]-_0x4058a1[_0x48b1bc['name']]:0x0)||('number'==typeof _0x48b1bc['rank']?_0x48b1bc['rank']:0x3b9aca00)-('number'==typeof _0x14b5e9['rank']?_0x14b5e9['rank']:0x3b9aca00)||(_0x48b1bc['name']<_0x14b5e9['name']?-0x1:0x1);for(let _0x41c02b of _0x798bf1['sort'](_0x3b8442))_0x2fc1e3-=0x186a0,_0x2a8dc1[_0x41c02b['name']]=_0x2fc1e3;for(let _0x2ce1d0 of _0x2c1304){let {section:_0x1222a6}=_0x2ce1d0['completion'];_0x1222a6&&(_0x2ce1d0['score']+=_0x2a8dc1['string'==typeof _0x1222a6?_0x1222a6:_0x1222a6['name']]);}}let _0x5eaea2=[],_0x52bb36=null,_0x1dc7d6=_0x3e2f2b['compareCompletions'];for(let _0x3a83d2 of _0x2c1304['sort']((_0x3cbcf3,_0xad781f)=>_0xad781f['score']-_0x3cbcf3['score']||_0x1dc7d6(_0x3cbcf3['completion'],_0xad781f['completion']))){let _0x2426e3=_0x3a83d2['completion'];!_0x52bb36||_0x52bb36['label']!=_0x2426e3['label']||_0x52bb36['detail']!=_0x2426e3['detail']||null!=_0x52bb36['type']&&null!=_0x2426e3['type']&&_0x52bb36['type']!=_0x2426e3['type']||_0x52bb36['apply']!=_0x2426e3['apply']||_0x52bb36['boost']!=_0x2426e3['boost']?_0x5eaea2['push'](_0x3a83d2):_0x39ac1b(_0x3a83d2['completion'])>_0x39ac1b(_0x52bb36)&&(_0x5eaea2[_0x5eaea2['length']-0x1]=_0x3a83d2),_0x52bb36=_0x3a83d2['completion'];}return _0x5eaea2;}(_0x236ec3,_0x597fa8);if(!_0xb09261['length'])return _0x5ea94f&&_0x236ec3['some'](_0x34fb84=>_0x34fb84['isPending'])?_0x5ea94f['setDisabled']():null;let _0x150c71=_0x597fa8['facet'](_0x54faf3)['selectOnOpen']?0x0:-0x1;if(_0x5ea94f&&_0x5ea94f['selected']!=_0x150c71&&-0x1!=_0x5ea94f['selected']){let _0x2d59e3=_0x5ea94f['options'][_0x5ea94f['selected']]['completion'];for(let _0x3afa06=0x0;_0x3afa06<_0xb09261['length'];_0x3afa06++)if(_0xb09261[_0x3afa06]['completion']==_0x2d59e3){_0x150c71=_0x3afa06;break;}}return new CompletionDialog(_0xb09261,_0x333b7a(_0x27724b,_0x150c71),{'pos':_0x236ec3['reduce']((_0xfca1d9,_0x14aa5b)=>_0x14aa5b['hasResult']()?Math['min'](_0xfca1d9,_0x14aa5b['from']):_0xfca1d9,0x5f5e100),'create':_0xbe23df,'above':_0x3931c2['aboveCursor']},_0x5ea94f?_0x5ea94f['timestamp']:Date['now'](),_0x150c71,!0x1);}['map'](_0x3de71c){return new CompletionDialog(this['options'],this['attrs'],{...this['tooltip'],'pos':_0x3de71c['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(_0x15d446,_0x400442,_0x3265ed){this['active']=_0x15d446,this['id']=_0x400442,this['open']=_0x3265ed;}static['start'](){return new CompletionState(_0x3e6e60,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}['update'](_0x7ca1c){let {state:_0x223900}=_0x7ca1c,_0x9e2c35=_0x223900['facet'](_0x54faf3),_0x1e9efb=(_0x9e2c35['override']||_0x223900['languageDataAt']('autocomplete',_0x4f9cb(_0x223900))['map'](_0x50e9f5))['map'](_0x149e4a=>{let _0x48d046=this['active']['find'](_0x1b4936=>_0x1b4936['source']==_0x149e4a)||new ActiveSource(_0x149e4a,this['active']['some'](_0x2dcd32=>0x0!=_0x2dcd32['state'])?0x1:0x0);return _0x48d046['update'](_0x7ca1c,_0x9e2c35);});_0x1e9efb['length']==this['active']['length']&&_0x1e9efb['every']((_0xcdc6d4,_0x305a17)=>_0xcdc6d4==this['active'][_0x305a17])&&(_0x1e9efb=this['active']);let _0x553071=this['open'],_0x2b070b=_0x7ca1c['effects']['some'](_0xfd684=>_0xfd684['is'](_0x5b5459));_0x553071&&_0x7ca1c['docChanged']&&(_0x553071=_0x553071['map'](_0x7ca1c['changes'])),_0x7ca1c['selection']||_0x1e9efb['some'](_0x19b84b=>_0x19b84b['hasResult']()&&_0x7ca1c['changes']['touchesRange'](_0x19b84b['from'],_0x19b84b['to']))||!function(_0x15f72f,_0x9a1e4){if(_0x15f72f==_0x9a1e4)return!0x0;for(let _0x4ee2df=0x0,_0x5d624b=0x0;;){for(;_0x4ee2df<_0x15f72f['length']&&!_0x15f72f[_0x4ee2df]['hasResult']();)_0x4ee2df++;for(;_0x5d624b<_0x9a1e4['length']&&!_0x9a1e4[_0x5d624b]['hasResult']();)_0x5d624b++;let _0xeaa278=_0x4ee2df==_0x15f72f['length'],_0x4d2ba1=_0x5d624b==_0x9a1e4['length'];if(_0xeaa278||_0x4d2ba1)return _0xeaa278==_0x4d2ba1;if(_0x15f72f[_0x4ee2df++]['result']!=_0x9a1e4[_0x5d624b++]['result'])return!0x1;}}(_0x1e9efb,this['active'])||_0x2b070b?_0x553071=CompletionDialog['build'](_0x1e9efb,_0x223900,this['id'],_0x553071,_0x9e2c35,_0x2b070b):_0x553071&&_0x553071['disabled']&&!_0x1e9efb['some'](_0x19214e=>_0x19214e['isPending'])&&(_0x553071=null),!_0x553071&&_0x1e9efb['every'](_0xffa983=>!_0xffa983['isPending'])&&_0x1e9efb['some'](_0x43346c=>_0x43346c['hasResult']())&&(_0x1e9efb=_0x1e9efb['map'](_0x543108=>_0x543108['hasResult']()?new ActiveSource(_0x543108['source'],0x0):_0x543108));for(let _0x323237 of _0x7ca1c['effects'])_0x323237['is'](_0x1e2cff)&&(_0x553071=_0x553071&&_0x553071['setSelected'](_0x323237['value'],this['id']));return _0x1e9efb==this['active']&&_0x553071==this['open']?this:new CompletionState(_0x1e9efb,this['id'],_0x553071);}get['tooltip'](){return this['open']?this['open']['tooltip']:null;}get['attrs'](){return this['open']?this['open']['attrs']:this['active']['length']?_0x3754cc:_0x1b0791;}}const _0x3754cc={'aria-autocomplete':'list'},_0x1b0791={};function _0x333b7a(_0x2c44f5,_0x5e0edb){let _0x2140ea={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0x2c44f5};return _0x5e0edb>-0x1&&(_0x2140ea['aria-activedescendant']=_0x2c44f5+'-'+_0x5e0edb),_0x2140ea;}const _0x3e6e60=[];function _0x3c4987(_0x1e4778,_0x4ab17f){if(_0x1e4778['isUserEvent']('input.complete')){let _0x5caeb7=_0x1e4778['annotation'](_0x4ec38b);if(_0x5caeb7&&_0x4ab17f['activateOnCompletion'](_0x5caeb7))return 0xc;}let _0x59ffe1=_0x1e4778['isUserEvent']('input.type');return _0x59ffe1&&_0x4ab17f['activateOnTyping']?0x5:_0x59ffe1?0x1:_0x1e4778['isUserEvent']('delete.backward')?0x2:_0x1e4778['selection']?0x8:_0x1e4778['docChanged']?0x10:0x0;}class ActiveSource{constructor(_0x9d65e5,_0x5753cf,_0xf8a8e1=!0x1){this['source']=_0x9d65e5,this['state']=_0x5753cf,this['explicit']=_0xf8a8e1;}['hasResult'](){return!0x1;}get['isPending'](){return 0x1==this['state'];}['update'](_0x25cc09,_0x200499){let _0x21878e=_0x3c4987(_0x25cc09,_0x200499),_0x5eadc3=this;(0x8&_0x21878e||0x10&_0x21878e&&this['touches'](_0x25cc09))&&(_0x5eadc3=new ActiveSource(_0x5eadc3['source'],0x0)),0x4&_0x21878e&&0x0==_0x5eadc3['state']&&(_0x5eadc3=new ActiveSource(this['source'],0x1)),_0x5eadc3=_0x5eadc3['updateFor'](_0x25cc09,_0x21878e);for(let _0x3dc958 of _0x25cc09['effects'])if(_0x3dc958['is'](_0x567a1f))_0x5eadc3=new ActiveSource(_0x5eadc3['source'],0x1,_0x3dc958['value']);else{if(_0x3dc958['is'](_0x2a2f50))_0x5eadc3=new ActiveSource(_0x5eadc3['source'],0x0);else{if(_0x3dc958['is'](_0x5b5459)){for(let _0x3ba304 of _0x3dc958['value'])_0x3ba304['source']==_0x5eadc3['source']&&(_0x5eadc3=_0x3ba304);}}}return _0x5eadc3;}['updateFor'](_0xd8df5,_0x4d7e39){return this['map'](_0xd8df5['changes']);}['map'](_0x352dd6){return this;}['touches'](_0x587b7f){return _0x587b7f['changes']['touchesRange'](_0x4f9cb(_0x587b7f['state']));}}class ActiveResult extends ActiveSource{constructor(_0xfeff06,_0x1f1d44,_0x29e05b,_0x3b7a49,_0x1aa116,_0x38092a){super(_0xfeff06,0x3,_0x1f1d44),this['limit']=_0x29e05b,this['result']=_0x3b7a49,this['from']=_0x1aa116,this['to']=_0x38092a;}['hasResult'](){return!0x0;}['updateFor'](_0x3ddf4b,_0x49b79b){var _0x4f226e;if(!(0x3&_0x49b79b))return this['map'](_0x3ddf4b['changes']);let _0x21348e=this['result'];_0x21348e['map']&&!_0x3ddf4b['changes']['empty']&&(_0x21348e=_0x21348e['map'](_0x21348e,_0x3ddf4b['changes']));let _0x5d3408=_0x3ddf4b['changes']['mapPos'](this['from']),_0x2db750=_0x3ddf4b['changes']['mapPos'](this['to'],0x1),_0xea7774=_0x4f9cb(_0x3ddf4b['state']);if(_0xea7774>_0x2db750||!_0x21348e||0x2&_0x49b79b&&(_0x4f9cb(_0x3ddf4b['startState'])==this['from']||_0xea7774<this['limit']))return new ActiveSource(this['source'],0x4&_0x49b79b?0x1:0x0);let _0x4b6167=_0x3ddf4b['changes']['mapPos'](this['limit']);return function(_0x708fee,_0x5b7682,_0x4bd93e,_0x3b2b59){if(!_0x708fee)return!0x1;let _0x3f9bd1=_0x5b7682['sliceDoc'](_0x4bd93e,_0x3b2b59);return'function'==typeof _0x708fee?_0x708fee(_0x3f9bd1,_0x4bd93e,_0x3b2b59,_0x5b7682):_0x4eb8e0(_0x708fee,!0x0)['test'](_0x3f9bd1);}(_0x21348e['validFor'],_0x3ddf4b['state'],_0x5d3408,_0x2db750)?new ActiveResult(this['source'],this['explicit'],_0x4b6167,_0x21348e,_0x5d3408,_0x2db750):_0x21348e['update']&&(_0x21348e=_0x21348e['update'](_0x21348e,_0x5d3408,_0x2db750,new CompletionContext(_0x3ddf4b['state'],_0xea7774,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0x4b6167,_0x21348e,_0x21348e['from'],null!==(_0x4f226e=_0x21348e['to'])&&void 0x0!==_0x4f226e?_0x4f226e:_0x4f9cb(_0x3ddf4b['state'])):new ActiveSource(this['source'],0x1,this['explicit']);}['map'](_0x1d1c4e){if(_0x1d1c4e['empty'])return this;return(this['result']['map']?this['result']['map'](this['result'],_0x1d1c4e):this['result'])?new ActiveResult(this['source'],this['explicit'],_0x1d1c4e['mapPos'](this['limit']),this['result'],_0x1d1c4e['mapPos'](this['from']),_0x1d1c4e['mapPos'](this['to'],0x1)):new ActiveSource(this['source'],0x0);}['touches'](_0x39e246){return _0x39e246['changes']['touchesRange'](this['from'],this['to']);}}const _0x5b5459=StateEffect['define']({'map':(_0x497d0c,_0x5e6904)=>_0x497d0c['map'](_0x66f325=>_0x66f325['map'](_0x5e6904))}),_0x1e2cff=StateEffect['define'](),_0x58c252=StateField['define']({'create':()=>CompletionState['start'](),'update':(_0x50924b,_0x4f22c1)=>_0x50924b['update'](_0x4f22c1),'provide':_0x551e4a=>[_0x5ebfac['from'](_0x551e4a,_0x32bce7=>_0x32bce7['tooltip']),EditorView['contentAttributes']['from'](_0x551e4a,_0x42c1ba=>_0x42c1ba['attrs'])]});function _0x4e2eeb(_0x256b3f,_0x67ac7f){const _0x8d8704=_0x67ac7f['completion']['apply']||_0x67ac7f['completion']['label'];let _0x10627e=_0x256b3f['state']['field'](_0x58c252)['active']['find'](_0x4be265=>_0x4be265['source']==_0x67ac7f['source']);return _0x10627e instanceof ActiveResult&&('string'==typeof _0x8d8704?_0x256b3f['dispatch']({..._0x32db7a(_0x256b3f['state'],_0x8d8704,_0x10627e['from'],_0x10627e['to']),'annotations':_0x4ec38b['of'](_0x67ac7f['completion'])}):_0x8d8704(_0x256b3f,_0x67ac7f['completion'],_0x10627e['from'],_0x10627e['to']),!0x0);}const _0xbe23df=_0x3e1cdd(_0x58c252,_0x4e2eeb);function _0x4b5304(_0x180de6,_0x42af89='option'){return _0x54334f=>{let _0x10feef=_0x54334f['state']['field'](_0x58c252,!0x1);if(!_0x10feef||!_0x10feef['open']||_0x10feef['open']['disabled']||Date['now']()-_0x10feef['open']['timestamp']<_0x54334f['state']['facet'](_0x54faf3)['interactionDelay'])return!0x1;let _0x3ae229,_0x1f95bd=0x1;'page'==_0x42af89&&(_0x3ae229=_0x289894(_0x54334f,_0x10feef['open']['tooltip']))&&(_0x1f95bd=Math['max'](0x2,Math['floor'](_0x3ae229['dom']['offsetHeight']/_0x3ae229['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0x20cf60}=_0x10feef['open']['options'],_0x1f6c17=_0x10feef['open']['selected']>-0x1?_0x10feef['open']['selected']+_0x1f95bd*(_0x180de6?0x1:-0x1):_0x180de6?0x0:_0x20cf60-0x1;return _0x1f6c17<0x0?_0x1f6c17='page'==_0x42af89?0x0:_0x20cf60-0x1:_0x1f6c17>=_0x20cf60&&(_0x1f6c17='page'==_0x42af89?_0x20cf60-0x1:0x0),_0x54334f['dispatch']({'effects':_0x1e2cff['of'](_0x1f6c17)}),!0x0;};}const _0x53d5fb=_0x51df4d=>!!_0x51df4d['state']['field'](_0x58c252,!0x1)&&(_0x51df4d['dispatch']({'effects':_0x567a1f['of'](!0x0)}),!0x0);class _0x3ae357{constructor(_0x149ff4,_0xe459bc){this['active']=_0x149ff4,this['context']=_0xe459bc,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}}const _0xed9d58=_0x470e1f['fromClass'](class{constructor(_0x4dad98){this['view']=_0x4dad98,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0xdd8705 of _0x4dad98['state']['field'](_0x58c252)['active'])_0xdd8705['isPending']&&this['startQuery'](_0xdd8705);}['update'](_0x3752d8){let _0x1cb191=_0x3752d8['state']['field'](_0x58c252),_0x458beb=_0x3752d8['state']['facet'](_0x54faf3);if(!_0x3752d8['selectionSet']&&!_0x3752d8['docChanged']&&_0x3752d8['startState']['field'](_0x58c252)==_0x1cb191)return;let _0x3fb03=_0x3752d8['transactions']['some'](_0x3877c0=>{let _0x5a8a30=_0x3c4987(_0x3877c0,_0x458beb);return 0x8&_0x5a8a30||(_0x3877c0['selection']||_0x3877c0['docChanged'])&&!(0x3&_0x5a8a30);});for(let _0x1d27b7=0x0;_0x1d27b7<this['running']['length'];_0x1d27b7++){let _0x3242fd=this['running'][_0x1d27b7];if(_0x3fb03||_0x3242fd['context']['abortOnDocChange']&&_0x3752d8['docChanged']||_0x3242fd['updates']['length']+_0x3752d8['transactions']['length']>0x32&&Date['now']()-_0x3242fd['time']>0x3e8){for(let _0x2839ad of _0x3242fd['context']['abortListeners'])try{_0x2839ad();}catch(_0x3befec){_0x817679(this['view']['state'],_0x3befec);}_0x3242fd['context']['abortListeners']=null,this['running']['splice'](_0x1d27b7--,0x1);}else _0x3242fd['updates']['push'](..._0x3752d8['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0x3752d8['transactions']['some'](_0x4b9507=>_0x4b9507['effects']['some'](_0x4a62e9=>_0x4a62e9['is'](_0x567a1f)))&&(this['pendingStart']=!0x0);let _0x17a15b=this['pendingStart']?0x32:_0x458beb['activateOnTypingDelay'];if(this['debounceUpdate']=_0x1cb191['active']['some'](_0x1b3840=>_0x1b3840['isPending']&&!this['running']['some'](_0x518c6f=>_0x518c6f['active']['source']==_0x1b3840['source']))?setTimeout(()=>this['startUpdate'](),_0x17a15b):-0x1,0x0!=this['composing']){for(let _0x3a60ff of _0x3752d8['transactions'])_0x3a60ff['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0x3a60ff['selection']&&(this['composing']=0x3);}}['startUpdate'](){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x3de054}=this['view'],_0x5bb680=_0x3de054['field'](_0x58c252);for(let _0x36f40f of _0x5bb680['active'])_0x36f40f['isPending']&&!this['running']['some'](_0x4d386d=>_0x4d386d['active']['source']==_0x36f40f['source'])&&this['startQuery'](_0x36f40f);this['running']['length']&&_0x5bb680['open']&&_0x5bb680['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](_0x54faf3)['updateSyncTime']));}['startQuery'](_0x1ef402){let {state:_0xb31433}=this['view'],_0x6b65b1=_0x4f9cb(_0xb31433),_0x10d289=new CompletionContext(_0xb31433,_0x6b65b1,_0x1ef402['explicit'],this['view']),_0x184544=new _0x3ae357(_0x1ef402,_0x10d289);this['running']['push'](_0x184544),Promise['resolve'](_0x1ef402['source'](_0x10d289))['then'](_0x5390e4=>{_0x184544['context']['aborted']||(_0x184544['done']=_0x5390e4||null,this['scheduleAccept']());},_0x164c78=>{this['view']['dispatch']({'effects':_0x2a2f50['of'](null)}),_0x817679(this['view']['state'],_0x164c78);});}['scheduleAccept'](){this['running']['every'](_0x2eb770=>void 0x0!==_0x2eb770['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](_0x54faf3)['updateSyncTime']));}['accept'](){var _0x27e5be;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0x519e59=[],_0x3f317f=this['view']['state']['facet'](_0x54faf3),_0x9378b8=this['view']['state']['field'](_0x58c252);for(let _0x263fd8=0x0;_0x263fd8<this['running']['length'];_0x263fd8++){let _0x1633dd=this['running'][_0x263fd8];if(void 0x0===_0x1633dd['done'])continue;if(this['running']['splice'](_0x263fd8--,0x1),_0x1633dd['done']){let _0x5df04d=_0x4f9cb(_0x1633dd['updates']['length']?_0x1633dd['updates'][0x0]['startState']:this['view']['state']),_0x4db82f=Math['min'](_0x5df04d,_0x1633dd['done']['from']+(_0x1633dd['active']['explicit']?0x0:0x1)),_0x29bdb7=new ActiveResult(_0x1633dd['active']['source'],_0x1633dd['active']['explicit'],_0x4db82f,_0x1633dd['done'],_0x1633dd['done']['from'],null!==(_0x27e5be=_0x1633dd['done']['to'])&&void 0x0!==_0x27e5be?_0x27e5be:_0x5df04d);for(let _0x377c06 of _0x1633dd['updates'])_0x29bdb7=_0x29bdb7['update'](_0x377c06,_0x3f317f);if(_0x29bdb7['hasResult']()){_0x519e59['push'](_0x29bdb7);continue;}}let _0x449da0=_0x9378b8['active']['find'](_0xc1a62b=>_0xc1a62b['source']==_0x1633dd['active']['source']);if(_0x449da0&&_0x449da0['isPending']){if(null==_0x1633dd['done']){let _0x9dfd06=new ActiveSource(_0x1633dd['active']['source'],0x0);for(let _0x236a0c of _0x1633dd['updates'])_0x9dfd06=_0x9dfd06['update'](_0x236a0c,_0x3f317f);_0x9dfd06['isPending']||_0x519e59['push'](_0x9dfd06);}else this['startQuery'](_0x449da0);}}(_0x519e59['length']||_0x9378b8['open']&&_0x9378b8['open']['disabled'])&&this['view']['dispatch']({'effects':_0x5b5459['of'](_0x519e59)});}},{'eventHandlers':{'blur'(_0x1e3dfc){let _0x50a840=this['view']['state']['field'](_0x58c252,!0x1);if(_0x50a840&&_0x50a840['tooltip']&&this['view']['state']['facet'](_0x54faf3)['closeOnBlur']){let _0x1a6dda=_0x50a840['open']&&_0x289894(this['view'],_0x50a840['open']['tooltip']);_0x1a6dda&&_0x1a6dda['dom']['contains'](_0x1e3dfc['relatedTarget'])||setTimeout(()=>this['view']['dispatch']({'effects':_0x2a2f50['of'](null)}),0xa);}},'compositionstart'(){this['composing']=0x1;},'compositionend'(){0x3==this['composing']&&setTimeout(()=>this['view']['dispatch']({'effects':_0x567a1f['of'](!0x1)}),0x14),this['composing']=0x0;}}}),_0xfdeae6='object'==typeof navigator&&/Win/['test'](navigator['platform']),_0x5bb3b3=_0x901a22['highest'](EditorView['domEventHandlers']({'keydown'(_0x2be6bd,_0x5d936a){let _0x5ba9c5=_0x5d936a['state']['field'](_0x58c252,!0x1);if(!_0x5ba9c5||!_0x5ba9c5['open']||_0x5ba9c5['open']['disabled']||_0x5ba9c5['open']['selected']<0x0||_0x2be6bd['key']['length']>0x1||_0x2be6bd['ctrlKey']&&(!_0xfdeae6||!_0x2be6bd['altKey'])||_0x2be6bd['metaKey'])return!0x1;let _0x133404=_0x5ba9c5['open']['options'][_0x5ba9c5['open']['selected']],_0x90152=_0x5ba9c5['active']['find'](_0x5e9a10=>_0x5e9a10['source']==_0x133404['source']),_0x4a017d=_0x133404['completion']['commitCharacters']||_0x90152['result']['commitCharacters'];return _0x4a017d&&_0x4a017d['indexOf'](_0x2be6bd['key'])>-0x1&&_0x4e2eeb(_0x5d936a,_0x133404),!0x1;}})),_0x74ba20=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 _0x1d9b08{constructor(_0x191154,_0x59e3d5,_0x4eb891,_0x156c66){this['field']=_0x191154,this['line']=_0x59e3d5,this['from']=_0x4eb891,this['to']=_0x156c66;}}class _0x4dd9ea{constructor(_0x18b18d,_0x7bd6bf,_0x4445ba){this['field']=_0x18b18d,this['from']=_0x7bd6bf,this['to']=_0x4445ba;}['map'](_0x4741fb){let _0x59b2b2=_0x4741fb['mapPos'](this['from'],-0x1,_0x25b43e['TrackDel']),_0x762755=_0x4741fb['mapPos'](this['to'],0x1,_0x25b43e['TrackDel']);return null==_0x59b2b2||null==_0x762755?null:new _0x4dd9ea(this['field'],_0x59b2b2,_0x762755);}}class Snippet{constructor(_0x836983,_0xa02262){this['lines']=_0x836983,this['fieldPositions']=_0xa02262;}['instantiate'](_0x512630,_0x35110b){let _0x3fa23d=[],_0x42f497=[_0x35110b],_0x293d48=_0x512630['doc']['lineAt'](_0x35110b),_0x28236f=/^\s*/['exec'](_0x293d48['text'])[0x0];for(let _0x4b8a9d of this['lines']){if(_0x3fa23d['length']){let _0x536be3=_0x28236f,_0x366ee8=/^\t*/['exec'](_0x4b8a9d)[0x0]['length'];for(let _0x611b8e=0x0;_0x611b8e<_0x366ee8;_0x611b8e++)_0x536be3+=_0x512630['facet'](_0x25499f);_0x42f497['push'](_0x35110b+_0x536be3['length']-_0x366ee8),_0x4b8a9d=_0x536be3+_0x4b8a9d['slice'](_0x366ee8);}_0x3fa23d['push'](_0x4b8a9d),_0x35110b+=_0x4b8a9d['length']+0x1;}let _0x3611c8=this['fieldPositions']['map'](_0x55b1b6=>new _0x4dd9ea(_0x55b1b6['field'],_0x42f497[_0x55b1b6['line']]+_0x55b1b6['from'],_0x42f497[_0x55b1b6['line']]+_0x55b1b6['to']));return{'text':_0x3fa23d,'ranges':_0x3611c8};}static['parse'](_0x3b340f){let _0x4c5cf4,_0x1abb66=[],_0x27a0ff=[],_0xd3318e=[];for(let _0x30521a of _0x3b340f['split'](/\r\n?|\n/)){for(;_0x4c5cf4=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/['exec'](_0x30521a);){let _0xc64f56=_0x4c5cf4[0x1]?+_0x4c5cf4[0x1]:null,_0x4fea50=_0x4c5cf4[0x2]||_0x4c5cf4[0x3]||'',_0x194a9a=-0x1,_0x40e5f6=_0x4fea50['replace'](/\\[{}]/g,_0x37a973=>_0x37a973[0x1]);for(let _0x3381d2=0x0;_0x3381d2<_0x1abb66['length'];_0x3381d2++)(null!=_0xc64f56?_0x1abb66[_0x3381d2]['seq']==_0xc64f56:_0x40e5f6&&_0x1abb66[_0x3381d2]['name']==_0x40e5f6)&&(_0x194a9a=_0x3381d2);if(_0x194a9a<0x0){let _0x4965c9=0x0;for(;_0x4965c9<_0x1abb66['length']&&(null==_0xc64f56||null!=_0x1abb66[_0x4965c9]['seq']&&_0x1abb66[_0x4965c9]['seq']<_0xc64f56);)_0x4965c9++;_0x1abb66['splice'](_0x4965c9,0x0,{'seq':_0xc64f56,'name':_0x40e5f6}),_0x194a9a=_0x4965c9;for(let _0x3d2a5d of _0xd3318e)_0x3d2a5d['field']>=_0x194a9a&&_0x3d2a5d['field']++;}for(let _0x42767f of _0xd3318e)if(_0x42767f['line']==_0x27a0ff['length']&&_0x42767f['from']>_0x4c5cf4['index']){let _0x3d797=_0x4c5cf4[0x2]?0x3+(_0x4c5cf4[0x1]||'')['length']:0x2;_0x42767f['from']-=_0x3d797,_0x42767f['to']-=_0x3d797;}_0xd3318e['push'](new _0x1d9b08(_0x194a9a,_0x27a0ff['length'],_0x4c5cf4['index'],_0x4c5cf4['index']+_0x40e5f6['length'])),_0x30521a=_0x30521a['slice'](0x0,_0x4c5cf4['index'])+_0x4fea50+_0x30521a['slice'](_0x4c5cf4['index']+_0x4c5cf4[0x0]['length']);}_0x30521a=_0x30521a['replace'](/\\([{}])/g,(_0x1b8992,_0x4a9292,_0x10f762)=>{for(let _0x4ff4e3 of _0xd3318e)_0x4ff4e3['line']==_0x27a0ff['length']&&_0x4ff4e3['from']>_0x10f762&&(_0x4ff4e3['from']--,_0x4ff4e3['to']--);return _0x4a9292;}),_0x27a0ff['push'](_0x30521a);}return new Snippet(_0x27a0ff,_0xd3318e);}}let _0x25fc6c=Decoration['widget']({'widget':new class extends WidgetType{['toDOM'](){let _0x504b76=document['createElement']('span');return _0x504b76['className']='cm-snippetFieldPosition',_0x504b76;}['ignoreEvent'](){return!0x1;}}()}),_0x3796f2=Decoration['mark']({'class':'cm-snippetField'});class ActiveSnippet{constructor(_0x1de64f,_0x2d5b33){this['ranges']=_0x1de64f,this['active']=_0x2d5b33,this['deco']=Decoration['set'](_0x1de64f['map'](_0x31f000=>(_0x31f000['from']==_0x31f000['to']?_0x25fc6c:_0x3796f2)['range'](_0x31f000['from'],_0x31f000['to'])),!0x0);}['map'](_0x1f1bff){let _0x50a3da=[];for(let _0x2c3e43 of this['ranges']){let _0x3edd5e=_0x2c3e43['map'](_0x1f1bff);if(!_0x3edd5e)return null;_0x50a3da['push'](_0x3edd5e);}return new ActiveSnippet(_0x50a3da,this['active']);}['selectionInsideField'](_0x25dc67){return _0x25dc67['ranges']['every'](_0x1ed635=>this['ranges']['some'](_0x1dc7c0=>_0x1dc7c0['field']==this['active']&&_0x1dc7c0['from']<=_0x1ed635['from']&&_0x1dc7c0['to']>=_0x1ed635['to']));}}const _0x5ccb22=StateEffect['define']({'map':(_0x48178f,_0x3e53d9)=>_0x48178f&&_0x48178f['map'](_0x3e53d9)}),_0x318a5f=StateEffect['define'](),_0x4c44ec=StateField['define']({'create':()=>null,'update'(_0x34358e,_0x5bb150){for(let _0x153e64 of _0x5bb150['effects']){if(_0x153e64['is'](_0x5ccb22))return _0x153e64['value'];if(_0x153e64['is'](_0x318a5f)&&_0x34358e)return new ActiveSnippet(_0x34358e['ranges'],_0x153e64['value']);}return _0x34358e&&_0x5bb150['docChanged']&&(_0x34358e=_0x34358e['map'](_0x5bb150['changes'])),_0x34358e&&_0x5bb150['selection']&&!_0x34358e['selectionInsideField'](_0x5bb150['selection'])&&(_0x34358e=null),_0x34358e;},'provide':_0x43c68c=>EditorView['decorations']['from'](_0x43c68c,_0x2fcfd2=>_0x2fcfd2?_0x2fcfd2['deco']:Decoration['none'])});function _0x462a09(_0x10d561,_0x6767f2){return EditorSelection['create'](_0x10d561['filter'](_0x2c5444=>_0x2c5444['field']==_0x6767f2)['map'](_0x4ae737=>EditorSelection['range'](_0x4ae737['from'],_0x4ae737['to'])));}function _0x5083cc(_0x500e70){let _0x1ec096=Snippet['parse'](_0x500e70);return(_0x29fc47,_0x93277e,_0x1db843,_0x279da5)=>{let {text:_0x11b791,ranges:_0x28a798}=_0x1ec096['instantiate'](_0x29fc47['state'],_0x1db843),{main:_0xc1d5e}=_0x29fc47['state']['selection'],_0x37bf01={'changes':{'from':_0x1db843,'to':_0x279da5==_0xc1d5e['from']?_0xc1d5e['to']:_0x279da5,'insert':_0x5681fe['of'](_0x11b791)},'scrollIntoView':!0x0,'annotations':_0x93277e?[_0x4ec38b['of'](_0x93277e),Transaction['userEvent']['of']('input.complete')]:void 0x0};if(_0x28a798['length']&&(_0x37bf01['selection']=_0x462a09(_0x28a798,0x0)),_0x28a798['some'](_0xafa88f=>_0xafa88f['field']>0x0)){let _0x3fdee6=new ActiveSnippet(_0x28a798,0x0),_0x4c606e=_0x37bf01['effects']=[_0x5ccb22['of'](_0x3fdee6)];void 0x0===_0x29fc47['state']['field'](_0x4c44ec,!0x1)&&_0x4c606e['push'](StateEffect['appendConfig']['of']([_0x4c44ec,_0x3e74be,_0x65109f,_0x74ba20]));}_0x29fc47['dispatch'](_0x29fc47['state']['update'](_0x37bf01));};}function _0x36fac4(_0x505dd5){return({state:_0x2116ef,dispatch:_0x4a6a2f})=>{let _0x475076=_0x2116ef['field'](_0x4c44ec,!0x1);if(!_0x475076||_0x505dd5<0x0&&0x0==_0x475076['active'])return!0x1;let _0x1e90c0=_0x475076['active']+_0x505dd5,_0x18cfc2=_0x505dd5>0x0&&!_0x475076['ranges']['some'](_0x2baa41=>_0x2baa41['field']==_0x1e90c0+_0x505dd5);return _0x4a6a2f(_0x2116ef['update']({'selection':_0x462a09(_0x475076['ranges'],_0x1e90c0),'effects':_0x5ccb22['of'](_0x18cfc2?null:new ActiveSnippet(_0x475076['ranges'],_0x1e90c0)),'scrollIntoView':!0x0})),!0x0;};}const _0x20b10c=[{'key':'Tab','run':_0x36fac4(0x1),'shift':_0x36fac4(-0x1)},{'key':'Escape','run':({state:_0x313cd3,dispatch:_0x13b6fc})=>!!_0x313cd3['field'](_0x4c44ec,!0x1)&&(_0x13b6fc(_0x313cd3['update']({'effects':_0x5ccb22['of'](null)})),!0x0)}],_0xa9dc3d=Facet['define']({'combine':_0x1bb002=>_0x1bb002['length']?_0x1bb002[0x0]:_0x20b10c}),_0x3e74be=_0x901a22['highest'](_0x31cbc0['compute']([_0xa9dc3d],_0x33dcc4=>_0x33dcc4['facet'](_0xa9dc3d)));function _0x469f6c(_0x5104c0,_0x21b8cc){return{..._0x21b8cc,'apply':_0x5083cc(_0x5104c0)};}const _0x65109f=EditorView['domEventHandlers']({'mousedown'(_0x59d2c2,_0x20678d){let _0x23148d,_0x436a7f=_0x20678d['state']['field'](_0x4c44ec,!0x1);if(!_0x436a7f||null==(_0x23148d=_0x20678d['posAtCoords']({'x':_0x59d2c2['clientX'],'y':_0x59d2c2['clientY']})))return!0x1;let _0x2870ea=_0x436a7f['ranges']['find'](_0x227c87=>_0x227c87['from']<=_0x23148d&&_0x227c87['to']>=_0x23148d);return!(!_0x2870ea||_0x2870ea['field']==_0x436a7f['active'])&&(_0x20678d['dispatch']({'selection':_0x462a09(_0x436a7f['ranges'],_0x2870ea['field']),'effects':_0x5ccb22['of'](_0x436a7f['ranges']['some'](_0x45c3bf=>_0x45c3bf['field']>_0x2870ea['field'])?new ActiveSnippet(_0x436a7f['ranges'],_0x2870ea['field']):null),'scrollIntoView':!0x0}),!0x0);}}),tS={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},_0x2bf40b=StateEffect['define']({'map'(_0xd2bdf2,_0x4f46da){let _0x5dccdf=_0x4f46da['mapPos'](_0xd2bdf2,-0x1,_0x25b43e['TrackAfter']);return null==_0x5dccdf?void 0x0:_0x5dccdf;}}),_0x38422e=new class extends _0x1b2e2e{}();_0x38422e['startSide']=0x1,_0x38422e['endSide']=-0x1;const _0x3be476=StateField['define']({'create':()=>RangeSet['empty'],'update'(_0x4c54ce,_0x424fa4){if(_0x4c54ce=_0x4c54ce['map'](_0x424fa4['changes']),_0x424fa4['selection']){let _0x183b3c=_0x424fa4['state']['doc']['lineAt'](_0x424fa4['selection']['main']['head']);_0x4c54ce=_0x4c54ce['update']({'filter':_0x266f12=>_0x266f12>=_0x183b3c['from']&&_0x266f12<=_0x183b3c['to']});}for(let _0x17f4b9 of _0x424fa4['effects'])_0x17f4b9['is'](_0x2bf40b)&&(_0x4c54ce=_0x4c54ce['update']({'add':[_0x38422e['range'](_0x17f4b9['value'],_0x17f4b9['value']+0x1)]}));return _0x4c54ce;}});function _0x20410d(){return[_0x3482c5,_0x3be476];}const _0x5daf87='()[]{}<>«»»«［］｛｝';function _0x4854bc(_0x55ac38){for(let _0x5e07fc=0x0;_0x5e07fc<0x10;_0x5e07fc+=0x2)if(_0x5daf87['charCodeAt'](_0x5e07fc)==_0x55ac38)return _0x5daf87['charAt'](_0x5e07fc+0x1);return _0x311780(_0x55ac38<0x80?_0x55ac38:_0x55ac38+0x1);}function _0x5445d6(_0x408906,_0x789494){return _0x408906['languageDataAt']('closeBrackets',_0x789494)[0x0]||tS;}const _0x36593c='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),_0x3482c5=EditorView['inputHandler']['of']((_0xaaf770,_0x4d69e0,_0x22d22a,_0x34fd53)=>{if((_0x36593c?_0xaaf770['composing']:_0xaaf770['compositionStarted'])||_0xaaf770['state']['readOnly'])return!0x1;let _0xc72249=_0xaaf770['state']['selection']['main'];if(_0x34fd53['length']>0x2||0x2==_0x34fd53['length']&&0x1==_0x4a4b3a(_0x444e07(_0x34fd53,0x0))||_0x4d69e0!=_0xc72249['from']||_0x22d22a!=_0xc72249['to'])return!0x1;let _0x27f047=function(_0x370165,_0x261feb){let _0x576b39=_0x5445d6(_0x370165,_0x370165['selection']['main']['head']),_0x2a02cb=_0x576b39['brackets']||tS['brackets'];for(let _0x29e213 of _0x2a02cb){let _0x2e9ac2=_0x4854bc(_0x444e07(_0x29e213,0x0));if(_0x261feb==_0x29e213)return _0x2e9ac2==_0x29e213?_0xf6c849(_0x370165,_0x29e213,_0x2a02cb['indexOf'](_0x29e213+_0x29e213+_0x29e213)>-0x1,_0x576b39):_0x190f2d(_0x370165,_0x29e213,_0x2e9ac2,_0x576b39['before']||tS['before']);if(_0x261feb==_0x2e9ac2&&_0x3faaf1(_0x370165,_0x370165['selection']['main']['from']))return _0x4fa816(_0x370165,_0x29e213,_0x2e9ac2);}return null;}(_0xaaf770['state'],_0x34fd53);return!!_0x27f047&&(_0xaaf770['dispatch'](_0x27f047),!0x0);}),_0x3ea3cb=[{'key':'Backspace','run':({state:_0x1ca8b8,dispatch:_0x42ef15})=>{if(_0x1ca8b8['readOnly'])return!0x1;let _0xe768ca=_0x5445d6(_0x1ca8b8,_0x1ca8b8['selection']['main']['head'])['brackets']||tS['brackets'],_0x17da0c=null,_0x26e537=_0x1ca8b8['changeByRange'](_0x5ad284=>{if(_0x5ad284['empty']){let _0xe4c577=function(_0x31d11a,_0x3f4ebf){let _0x13f2a4=_0x31d11a['sliceString'](_0x3f4ebf-0x2,_0x3f4ebf);return _0x4a4b3a(_0x444e07(_0x13f2a4,0x0))==_0x13f2a4['length']?_0x13f2a4:_0x13f2a4['slice'](0x1);}(_0x1ca8b8['doc'],_0x5ad284['head']);for(let _0x331ad0 of _0xe768ca)if(_0x331ad0==_0xe4c577&&_0x3b8dfe(_0x1ca8b8['doc'],_0x5ad284['head'])==_0x4854bc(_0x444e07(_0x331ad0,0x0)))return{'changes':{'from':_0x5ad284['head']-_0x331ad0['length'],'to':_0x5ad284['head']+_0x331ad0['length']},'range':EditorSelection['cursor'](_0x5ad284['head']-_0x331ad0['length'])};}return{'range':_0x17da0c=_0x5ad284};});return _0x17da0c||_0x42ef15(_0x1ca8b8['update'](_0x26e537,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0x17da0c;}}];function _0x3faaf1(_0x455863,_0x455a84){let _0x21b9a8=!0x1;return _0x455863['field'](_0x3be476)['between'](0x0,_0x455863['doc']['length'],_0x3d2766=>{_0x3d2766==_0x455a84&&(_0x21b9a8=!0x0);}),_0x21b9a8;}function _0x3b8dfe(_0x3ef6b7,_0x22f94b){let _0x822e7f=_0x3ef6b7['sliceString'](_0x22f94b,_0x22f94b+0x2);return _0x822e7f['slice'](0x0,_0x4a4b3a(_0x444e07(_0x822e7f,0x0)));}function _0x190f2d(_0x13eef6,_0x41177b,_0x4ec55d,_0x1d2996){let _0x5d314c=null,_0x1b5386=_0x13eef6['changeByRange'](_0x42ef54=>{if(!_0x42ef54['empty'])return{'changes':[{'insert':_0x41177b,'from':_0x42ef54['from']},{'insert':_0x4ec55d,'from':_0x42ef54['to']}],'effects':_0x2bf40b['of'](_0x42ef54['to']+_0x41177b['length']),'range':EditorSelection['range'](_0x42ef54['anchor']+_0x41177b['length'],_0x42ef54['head']+_0x41177b['length'])};let _0x289fd4=_0x3b8dfe(_0x13eef6['doc'],_0x42ef54['head']);return!_0x289fd4||/\s/['test'](_0x289fd4)||_0x1d2996['indexOf'](_0x289fd4)>-0x1?{'changes':{'insert':_0x41177b+_0x4ec55d,'from':_0x42ef54['head']},'effects':_0x2bf40b['of'](_0x42ef54['head']+_0x41177b['length']),'range':EditorSelection['cursor'](_0x42ef54['head']+_0x41177b['length'])}:{'range':_0x5d314c=_0x42ef54};});return _0x5d314c?null:_0x13eef6['update'](_0x1b5386,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x4fa816(_0x59984b,_0x9b4e19,_0x1ce10e){let _0x5d6e58=null,_0x2274e2=_0x59984b['changeByRange'](_0x46a4cb=>_0x46a4cb['empty']&&_0x3b8dfe(_0x59984b['doc'],_0x46a4cb['head'])==_0x1ce10e?{'changes':{'from':_0x46a4cb['head'],'to':_0x46a4cb['head']+_0x1ce10e['length'],'insert':_0x1ce10e},'range':EditorSelection['cursor'](_0x46a4cb['head']+_0x1ce10e['length'])}:_0x5d6e58={'range':_0x46a4cb});return _0x5d6e58?null:_0x59984b['update'](_0x2274e2,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0xf6c849(_0x455d9f,_0x3e6cbc,_0x1abe1f,_0x1e5f2d){let _0x4e42ae=_0x1e5f2d['stringPrefixes']||tS['stringPrefixes'],_0x3cefca=null,_0x146ffc=_0x455d9f['changeByRange'](_0x41c7b8=>{if(!_0x41c7b8['empty'])return{'changes':[{'insert':_0x3e6cbc,'from':_0x41c7b8['from']},{'insert':_0x3e6cbc,'from':_0x41c7b8['to']}],'effects':_0x2bf40b['of'](_0x41c7b8['to']+_0x3e6cbc['length']),'range':EditorSelection['range'](_0x41c7b8['anchor']+_0x3e6cbc['length'],_0x41c7b8['head']+_0x3e6cbc['length'])};let _0x57f634,_0x2f47ec=_0x41c7b8['head'],_0x4306ec=_0x3b8dfe(_0x455d9f['doc'],_0x2f47ec);if(_0x4306ec==_0x3e6cbc){if(_0x82ba7(_0x455d9f,_0x2f47ec))return{'changes':{'insert':_0x3e6cbc+_0x3e6cbc,'from':_0x2f47ec},'effects':_0x2bf40b['of'](_0x2f47ec+_0x3e6cbc['length']),'range':EditorSelection['cursor'](_0x2f47ec+_0x3e6cbc['length'])};if(_0x3faaf1(_0x455d9f,_0x2f47ec)){let _0x2d604c=_0x1abe1f&&_0x455d9f['sliceDoc'](_0x2f47ec,_0x2f47ec+0x3*_0x3e6cbc['length'])==_0x3e6cbc+_0x3e6cbc+_0x3e6cbc?_0x3e6cbc+_0x3e6cbc+_0x3e6cbc:_0x3e6cbc;return{'changes':{'from':_0x2f47ec,'to':_0x2f47ec+_0x2d604c['length'],'insert':_0x2d604c},'range':EditorSelection['cursor'](_0x2f47ec+_0x2d604c['length'])};}}else{if(_0x1abe1f&&_0x455d9f['sliceDoc'](_0x2f47ec-0x2*_0x3e6cbc['length'],_0x2f47ec)==_0x3e6cbc+_0x3e6cbc&&(_0x57f634=_0x214f61(_0x455d9f,_0x2f47ec-0x2*_0x3e6cbc['length'],_0x4e42ae))>-0x1&&_0x82ba7(_0x455d9f,_0x57f634))return{'changes':{'insert':_0x3e6cbc+_0x3e6cbc+_0x3e6cbc+_0x3e6cbc,'from':_0x2f47ec},'effects':_0x2bf40b['of'](_0x2f47ec+_0x3e6cbc['length']),'range':EditorSelection['cursor'](_0x2f47ec+_0x3e6cbc['length'])};if(_0x455d9f['charCategorizer'](_0x2f47ec)(_0x4306ec)!=_0x361379['Word']&&_0x214f61(_0x455d9f,_0x2f47ec,_0x4e42ae)>-0x1&&!function(_0x4f6b59,_0x4b6b78,_0x2aeed1,_0x1ef0f3){let _0x19165b=_0x31f27d(_0x4f6b59)['resolveInner'](_0x4b6b78,-0x1),_0x7b3fc7=_0x1ef0f3['reduce']((_0x4b1ce3,_0x2684ae)=>Math['max'](_0x4b1ce3,_0x2684ae['length']),0x0);for(let _0x241123=0x0;_0x241123<0x5;_0x241123++){let _0x5377d9=_0x4f6b59['sliceDoc'](_0x19165b['from'],Math['min'](_0x19165b['to'],_0x19165b['from']+_0x2aeed1['length']+_0x7b3fc7)),_0x2a8f8b=_0x5377d9['indexOf'](_0x2aeed1);if(!_0x2a8f8b||_0x2a8f8b>-0x1&&_0x1ef0f3['indexOf'](_0x5377d9['slice'](0x0,_0x2a8f8b))>-0x1){let _0x11dab5=_0x19165b['firstChild'];for(;_0x11dab5&&_0x11dab5['from']==_0x19165b['from']&&_0x11dab5['to']-_0x11dab5['from']>_0x2aeed1['length']+_0x2a8f8b;){if(_0x4f6b59['sliceDoc'](_0x11dab5['to']-_0x2aeed1['length'],_0x11dab5['to'])==_0x2aeed1)return!0x1;_0x11dab5=_0x11dab5['firstChild'];}return!0x0;}let _0x49007a=_0x19165b['to']==_0x4b6b78&&_0x19165b['parent'];if(!_0x49007a)break;_0x19165b=_0x49007a;}return!0x1;}(_0x455d9f,_0x2f47ec,_0x3e6cbc,_0x4e42ae))return{'changes':{'insert':_0x3e6cbc+_0x3e6cbc,'from':_0x2f47ec},'effects':_0x2bf40b['of'](_0x2f47ec+_0x3e6cbc['length']),'range':EditorSelection['cursor'](_0x2f47ec+_0x3e6cbc['length'])};}return{'range':_0x3cefca=_0x41c7b8};});return _0x3cefca?null:_0x455d9f['update'](_0x146ffc,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x82ba7(_0x4bdfb4,_0x3c6776){let _0x5b30fa=_0x31f27d(_0x4bdfb4)['resolveInner'](_0x3c6776+0x1);return _0x5b30fa['parent']&&_0x5b30fa['from']==_0x3c6776;}function _0x214f61(_0x2602b2,_0x4fd2a9,_0x4dce27){let _0x5ba132=_0x2602b2['charCategorizer'](_0x4fd2a9);if(_0x5ba132(_0x2602b2['sliceDoc'](_0x4fd2a9-0x1,_0x4fd2a9))!=_0x361379['Word'])return _0x4fd2a9;for(let _0x20bf44 of _0x4dce27){let _0x328e0e=_0x4fd2a9-_0x20bf44['length'];if(_0x2602b2['sliceDoc'](_0x328e0e,_0x4fd2a9)==_0x20bf44&&_0x5ba132(_0x2602b2['sliceDoc'](_0x328e0e-0x1,_0x328e0e))!=_0x361379['Word'])return _0x328e0e;}return-0x1;}function _0x2c9e09(_0x388fd7={}){return[_0x5bb3b3,_0x58c252,_0x54faf3['of'](_0x388fd7),_0xed9d58,_0x50b5f7,_0x74ba20];}const _0x4fba41=[{'key':'Ctrl-Space','run':_0x53d5fb},{'mac':'Alt-`','run':_0x53d5fb},{'mac':'Alt-i','run':_0x53d5fb},{'key':'Escape','run':_0x1d960f=>{let _0x9f4f2=_0x1d960f['state']['field'](_0x58c252,!0x1);return!(!_0x9f4f2||!_0x9f4f2['active']['some'](_0x4a24bd=>0x0!=_0x4a24bd['state']))&&(_0x1d960f['dispatch']({'effects':_0x2a2f50['of'](null)}),!0x0);}},{'key':'ArrowDown','run':_0x4b5304(!0x0)},{'key':'ArrowUp','run':_0x4b5304(!0x1)},{'key':'PageDown','run':_0x4b5304(!0x0,'page')},{'key':'PageUp','run':_0x4b5304(!0x1,'page')},{'key':'Enter','run':_0x1069b5=>{let _0x1a5ed2=_0x1069b5['state']['field'](_0x58c252,!0x1);return!(_0x1069b5['state']['readOnly']||!_0x1a5ed2||!_0x1a5ed2['open']||_0x1a5ed2['open']['selected']<0x0||_0x1a5ed2['open']['disabled']||Date['now']()-_0x1a5ed2['open']['timestamp']<_0x1069b5['state']['facet'](_0x54faf3)['interactionDelay'])&&_0x4e2eeb(_0x1069b5,_0x1a5ed2['open']['options'][_0x1a5ed2['open']['selected']]);}}],_0x50b5f7=_0x901a22['highest'](_0x31cbc0['computeN']([_0x54faf3],_0x43cd61=>_0x43cd61['facet'](_0x54faf3)['defaultKeymap']?[_0x4fba41]:[]));class Stack{constructor(_0x4d8d2f,_0x3a7387,_0x5ecf1c,_0x3e206d,_0x3fa56e,_0xe9884f,_0x28bcf6,_0x54363e,_0x35f11d,_0x182ee1=0x0,_0x48d5e7){this['p']=_0x4d8d2f,this['stack']=_0x3a7387,this['state']=_0x5ecf1c,this['reducePos']=_0x3e206d,this['pos']=_0x3fa56e,this['score']=_0xe9884f,this['buffer']=_0x28bcf6,this['bufferBase']=_0x54363e,this['curContext']=_0x35f11d,this['lookAhead']=_0x182ee1,this['parent']=_0x48d5e7;}['toString'](){return'['+this['stack']['filter']((_0x5b36b8,_0x23c430)=>_0x23c430%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static['start'](_0x6718fb,_0x5c3592,_0x3c1e85=0x0){let _0x1ce180=_0x6718fb['parser']['context'];return new Stack(_0x6718fb,[],_0x5c3592,_0x3c1e85,_0x3c1e85,0x0,[],0x0,_0x1ce180?new StackContext(_0x1ce180,_0x1ce180['start']):null,0x0,null);}get['context'](){return this['curContext']?this['curContext']['context']:null;}['pushState'](_0x2fc662,_0x2432a6){this['stack']['push'](this['state'],_0x2432a6,this['bufferBase']+this['buffer']['length']),this['state']=_0x2fc662;}['reduce'](_0x1571bd){var _0x38ea4b;let _0x4bf2ab=_0x1571bd>>0x13,_0x102c65=0xffff&_0x1571bd,{parser:_0x4e3b57}=this['p'],_0xd9c843=this['reducePos']<this['pos']-0x19;_0xd9c843&&this['setLookAhead'](this['pos']);let _0x5660d8=_0x4e3b57['dynamicPrecedence'](_0x102c65);if(_0x5660d8&&(this['score']+=_0x5660d8),0x0==_0x4bf2ab)return this['pushState'](_0x4e3b57['getGoto'](this['state'],_0x102c65,!0x0),this['reducePos']),_0x102c65<_0x4e3b57['minRepeatTerm']&&this['storeNode'](_0x102c65,this['reducePos'],this['reducePos'],_0xd9c843?0x8:0x4,!0x0),void this['reduceContext'](_0x102c65,this['reducePos']);let _0x480165=this['stack']['length']-0x3*(_0x4bf2ab-0x1)-(0x40000&_0x1571bd?0x6:0x0),_0x314c86=_0x480165?this['stack'][_0x480165-0x2]:this['p']['ranges'][0x0]['from'],_0x3b305b=this['reducePos']-_0x314c86;_0x3b305b>=0x7d0&&!(null===(_0x38ea4b=this['p']['parser']['nodeSet']['types'][_0x102c65])||void 0x0===_0x38ea4b?void 0x0:_0x38ea4b['isAnonymous'])&&(_0x314c86==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0x3b305b):this['p']['lastBigReductionSize']<_0x3b305b&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x314c86,this['p']['lastBigReductionSize']=_0x3b305b));let _0x25f712=_0x480165?this['stack'][_0x480165-0x1]:0x0,_0x3c582e=this['bufferBase']+this['buffer']['length']-_0x25f712;if(_0x102c65<_0x4e3b57['minRepeatTerm']||0x20000&_0x1571bd){let _0x97e697=_0x4e3b57['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0x102c65,_0x314c86,_0x97e697,_0x3c582e+0x4,!0x0);}if(0x40000&_0x1571bd)this['state']=this['stack'][_0x480165];else{let _0x1bae09=this['stack'][_0x480165-0x3];this['state']=_0x4e3b57['getGoto'](_0x1bae09,_0x102c65,!0x0);}for(;this['stack']['length']>_0x480165;)this['stack']['pop']();this['reduceContext'](_0x102c65,_0x314c86);}['storeNode'](_0x5b2f74,_0x18d57c,_0x3973a3,_0x3c3c7f=0x4,_0x5c1510=!0x1){if(0x0==_0x5b2f74&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0x367cff=this,_0x1fc196=this['buffer']['length'];if(0x0==_0x1fc196&&_0x367cff['parent']&&(_0x1fc196=_0x367cff['bufferBase']-_0x367cff['parent']['bufferBase'],_0x367cff=_0x367cff['parent']),_0x1fc196>0x0&&0x0==_0x367cff['buffer'][_0x1fc196-0x4]&&_0x367cff['buffer'][_0x1fc196-0x1]>-0x1){if(_0x18d57c==_0x3973a3)return;if(_0x367cff['buffer'][_0x1fc196-0x2]>=_0x18d57c)return void(_0x367cff['buffer'][_0x1fc196-0x2]=_0x3973a3);}}if(_0x5c1510&&this['pos']!=_0x3973a3){let _0x1ed6e7=this['buffer']['length'];if(_0x1ed6e7>0x0&&(0x0!=this['buffer'][_0x1ed6e7-0x4]||this['buffer'][_0x1ed6e7-0x1]<0x0)){let _0x396adc=!0x1;for(let _0xc81c62=_0x1ed6e7;_0xc81c62>0x0&&this['buffer'][_0xc81c62-0x2]>_0x3973a3;_0xc81c62-=0x4)if(this['buffer'][_0xc81c62-0x1]>=0x0){_0x396adc=!0x0;break;}if(_0x396adc){for(;_0x1ed6e7>0x0&&this['buffer'][_0x1ed6e7-0x2]>_0x3973a3;)this['buffer'][_0x1ed6e7]=this['buffer'][_0x1ed6e7-0x4],this['buffer'][_0x1ed6e7+0x1]=this['buffer'][_0x1ed6e7-0x3],this['buffer'][_0x1ed6e7+0x2]=this['buffer'][_0x1ed6e7-0x2],this['buffer'][_0x1ed6e7+0x3]=this['buffer'][_0x1ed6e7-0x1],_0x1ed6e7-=0x4,_0x3c3c7f>0x4&&(_0x3c3c7f-=0x4);}}this['buffer'][_0x1ed6e7]=_0x5b2f74,this['buffer'][_0x1ed6e7+0x1]=_0x18d57c,this['buffer'][_0x1ed6e7+0x2]=_0x3973a3,this['buffer'][_0x1ed6e7+0x3]=_0x3c3c7f;}else this['buffer']['push'](_0x5b2f74,_0x18d57c,_0x3973a3,_0x3c3c7f);}['shift'](_0x46c1b4,_0x4adf51,_0x5efc99,_0x422e34){if(0x20000&_0x46c1b4)this['pushState'](0xffff&_0x46c1b4,this['pos']);else{if(0x40000&_0x46c1b4)this['pos']=_0x422e34,this['shiftContext'](_0x4adf51,_0x5efc99),_0x4adf51<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0x4adf51,_0x5efc99,_0x422e34,0x4);else{let _0x4d134b=_0x46c1b4,{parser:_0x221083}=this['p'];(_0x422e34>this['pos']||_0x4adf51<=_0x221083['maxNode'])&&(this['pos']=_0x422e34,_0x221083['stateFlag'](_0x4d134b,0x1)||(this['reducePos']=_0x422e34)),this['pushState'](_0x4d134b,_0x5efc99),this['shiftContext'](_0x4adf51,_0x5efc99),_0x4adf51<=_0x221083['maxNode']&&this['buffer']['push'](_0x4adf51,_0x5efc99,_0x422e34,0x4);}}}['apply'](_0x257395,_0x7b936f,_0x53429e,_0x5eee94){0x10000&_0x257395?this['reduce'](_0x257395):this['shift'](_0x257395,_0x7b936f,_0x53429e,_0x5eee94);}['useNode'](_0x1cd538,_0x4b8a48){let _0x489252=this['p']['reused']['length']-0x1;(_0x489252<0x0||this['p']['reused'][_0x489252]!=_0x1cd538)&&(this['p']['reused']['push'](_0x1cd538),_0x489252++);let _0x4dfb26=this['pos'];this['reducePos']=this['pos']=_0x4dfb26+_0x1cd538['length'],this['pushState'](_0x4b8a48,_0x4dfb26),this['buffer']['push'](_0x489252,_0x4dfb26,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0x1cd538,this,this['p']['stream']['reset'](this['pos']-_0x1cd538['length'])));}['split'](){let _0x53f37b=this,_0x36d04c=_0x53f37b['buffer']['length'];for(;_0x36d04c>0x0&&_0x53f37b['buffer'][_0x36d04c-0x2]>_0x53f37b['reducePos'];)_0x36d04c-=0x4;let _0x527b94=_0x53f37b['buffer']['slice'](_0x36d04c),_0x2b1b5b=_0x53f37b['bufferBase']+_0x36d04c;for(;_0x53f37b&&_0x2b1b5b==_0x53f37b['bufferBase'];)_0x53f37b=_0x53f37b['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0x527b94,_0x2b1b5b,this['curContext'],this['lookAhead'],_0x53f37b);}['recoverByDelete'](_0x292aed,_0x21f1f5){let _0x30bd77=_0x292aed<=this['p']['parser']['maxNode'];_0x30bd77&&this['storeNode'](_0x292aed,this['pos'],_0x21f1f5,0x4),this['storeNode'](0x0,this['pos'],_0x21f1f5,_0x30bd77?0x8:0x4),this['pos']=this['reducePos']=_0x21f1f5,this['score']-=0xbe;}['canShift'](_0x6fef64){for(let _0x56e352=new SimulatedStack(this);;){let _0x1dd8c2=this['p']['parser']['stateSlot'](_0x56e352['state'],0x4)||this['p']['parser']['hasAction'](_0x56e352['state'],_0x6fef64);if(0x0==_0x1dd8c2)return!0x1;if(!(0x10000&_0x1dd8c2))return!0x0;_0x56e352['reduce'](_0x1dd8c2);}}['recoverByInsert'](_0x4f1880){if(this['stack']['length']>=0x12c)return[];let _0x56dd9b=this['p']['parser']['nextStates'](this['state']);if(_0x56dd9b['length']>0x8||this['stack']['length']>=0x78){let _0x3ecb2d=[];for(let _0x4d13c0,_0x3e40a9=0x0;_0x3e40a9<_0x56dd9b['length'];_0x3e40a9+=0x2)(_0x4d13c0=_0x56dd9b[_0x3e40a9+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0x4d13c0,_0x4f1880)&&_0x3ecb2d['push'](_0x56dd9b[_0x3e40a9],_0x4d13c0);if(this['stack']['length']<0x78)for(let _0x24a449=0x0;_0x3ecb2d['length']<0x8&&_0x24a449<_0x56dd9b['length'];_0x24a449+=0x2){let _0x10f6d4=_0x56dd9b[_0x24a449+0x1];_0x3ecb2d['some']((_0x3eb6b0,_0x1ef38f)=>0x1&_0x1ef38f&&_0x3eb6b0==_0x10f6d4)||_0x3ecb2d['push'](_0x56dd9b[_0x24a449],_0x10f6d4);}_0x56dd9b=_0x3ecb2d;}let _0x42fdb9=[];for(let _0x48876e=0x0;_0x48876e<_0x56dd9b['length']&&_0x42fdb9['length']<0x4;_0x48876e+=0x2){let _0x11ff4e=_0x56dd9b[_0x48876e+0x1];if(_0x11ff4e==this['state'])continue;let _0x2d9c74=this['split']();_0x2d9c74['pushState'](_0x11ff4e,this['pos']),_0x2d9c74['storeNode'](0x0,_0x2d9c74['pos'],_0x2d9c74['pos'],0x4,!0x0),_0x2d9c74['shiftContext'](_0x56dd9b[_0x48876e],this['pos']),_0x2d9c74['reducePos']=this['pos'],_0x2d9c74['score']-=0xc8,_0x42fdb9['push'](_0x2d9c74);}return _0x42fdb9;}['forceReduce'](){let {parser:_0x16eae0}=this['p'],_0x3d9460=_0x16eae0['stateSlot'](this['state'],0x5);if(!(0x10000&_0x3d9460))return!0x1;if(!_0x16eae0['validAction'](this['state'],_0x3d9460)){let _0x456116=_0x3d9460>>0x13,_0x1353b8=0xffff&_0x3d9460,_0x562176=this['stack']['length']-0x3*_0x456116;if(_0x562176<0x0||_0x16eae0['getGoto'](this['stack'][_0x562176],_0x1353b8,!0x1)<0x0){let _0x434b54=this['findForcedReduction']();if(null==_0x434b54)return!0x1;_0x3d9460=_0x434b54;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0x3d9460),!0x0;}['findForcedReduction'](){let {parser:_0x3229db}=this['p'],_0x4d6f7a=[],_0x5cfa7f=(_0x14026b,_0x4f4044)=>{if(!_0x4d6f7a['includes'](_0x14026b))return _0x4d6f7a['push'](_0x14026b),_0x3229db['allActions'](_0x14026b,_0x3b0f0c=>{if(0x60000&_0x3b0f0c);else{if(0x10000&_0x3b0f0c){let _0x1ee89d=(_0x3b0f0c>>0x13)-_0x4f4044;if(_0x1ee89d>0x1){let _0x24f74f=0xffff&_0x3b0f0c,_0x33e33a=this['stack']['length']-0x3*_0x1ee89d;if(_0x33e33a>=0x0&&_0x3229db['getGoto'](this['stack'][_0x33e33a],_0x24f74f,!0x1)>=0x0)return _0x1ee89d<<0x13|0x10000|_0x24f74f;}}else{let _0x19e049=_0x5cfa7f(_0x3b0f0c,_0x4f4044+0x1);if(null!=_0x19e049)return _0x19e049;}}});};return _0x5cfa7f(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:_0x47377d}=this['p'];return 0xffff==_0x47377d['data'][_0x47377d['stateSlot'](this['state'],0x1)]&&!_0x47377d['stateSlot'](this['state'],0x4);}['restart'](){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}['sameState'](_0x4355b6){if(this['state']!=_0x4355b6['state']||this['stack']['length']!=_0x4355b6['stack']['length'])return!0x1;for(let _0x31852b=0x0;_0x31852b<this['stack']['length'];_0x31852b+=0x3)if(this['stack'][_0x31852b]!=_0x4355b6['stack'][_0x31852b])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}['dialectEnabled'](_0x3bb26b){return this['p']['parser']['dialect']['flags'][_0x3bb26b];}['shiftContext'](_0x3ea8c4,_0x2bdb67){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0x3ea8c4,this,this['p']['stream']['reset'](_0x2bdb67)));}['reduceContext'](_0xaae6c6,_0x2d323e){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0xaae6c6,this,this['p']['stream']['reset'](_0x2d323e)));}['emitContext'](){let _0x36f2fa=this['buffer']['length']-0x1;(_0x36f2fa<0x0||-0x3!=this['buffer'][_0x36f2fa])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}['emitLookAhead'](){let _0x3c53c3=this['buffer']['length']-0x1;(_0x3c53c3<0x0||-0x4!=this['buffer'][_0x3c53c3])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}['updateContext'](_0x444ffb){if(_0x444ffb!=this['curContext']['context']){let _0x35b3cf=new StackContext(this['curContext']['tracker'],_0x444ffb);_0x35b3cf['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0x35b3cf;}}['setLookAhead'](_0x4cc5b9){_0x4cc5b9>this['lookAhead']&&(this['emitLookAhead'](),this['lookAhead']=_0x4cc5b9);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}}class StackContext{constructor(_0x242a56,_0x73afc){this['tracker']=_0x242a56,this['context']=_0x73afc,this['hash']=_0x242a56['strict']?_0x242a56['hash'](_0x73afc):0x0;}}class SimulatedStack{constructor(_0x19cfd5){this['start']=_0x19cfd5,this['state']=_0x19cfd5['state'],this['stack']=_0x19cfd5['stack'],this['base']=this['stack']['length'];}['reduce'](_0x3a16bc){let _0x367ede=0xffff&_0x3a16bc,_0x5a1895=_0x3a16bc>>0x13;0x0==_0x5a1895?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0x5a1895-0x1);let _0x3f1b65=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0x367ede,!0x0);this['state']=_0x3f1b65;}}class StackBufferCursor{constructor(_0x34e277,_0x1e2956,_0x3e5bc7){this['stack']=_0x34e277,this['pos']=_0x1e2956,this['index']=_0x3e5bc7,this['buffer']=_0x34e277['buffer'],0x0==this['index']&&this['maybeNext']();}static['create'](_0x347705,_0x336c29=_0x347705['bufferBase']+_0x347705['buffer']['length']){return new StackBufferCursor(_0x347705,_0x336c29,_0x336c29-_0x347705['bufferBase']);}['maybeNext'](){let _0x3ac0fa=this['stack']['parent'];null!=_0x3ac0fa&&(this['index']=this['stack']['bufferBase']-_0x3ac0fa['bufferBase'],this['stack']=_0x3ac0fa,this['buffer']=_0x3ac0fa['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 _0x51ce3a(_0x2fefbf,_0x48154e=Uint16Array){if('string'!=typeof _0x2fefbf)return _0x2fefbf;let _0x2e9df2=null;for(let _0x158db2=0x0,_0x56ba81=0x0;_0x158db2<_0x2fefbf['length'];){let _0x94c675=0x0;for(;;){let _0x4aaf05=_0x2fefbf['charCodeAt'](_0x158db2++),_0x1da7bb=!0x1;if(0x7e==_0x4aaf05){_0x94c675=0xffff;break;}_0x4aaf05>=0x5c&&_0x4aaf05--,_0x4aaf05>=0x22&&_0x4aaf05--;let _0x52b76f=_0x4aaf05-0x20;if(_0x52b76f>=0x2e&&(_0x52b76f-=0x2e,_0x1da7bb=!0x0),_0x94c675+=_0x52b76f,_0x1da7bb)break;_0x94c675*=0x2e;}_0x2e9df2?_0x2e9df2[_0x56ba81++]=_0x94c675:_0x2e9df2=new _0x48154e(_0x94c675);}return _0x2e9df2;}class _0x4492e3{constructor(){this['start']=-0x1,this['value']=-0x1,this['end']=-0x1,this['extended']=-0x1,this['lookAhead']=0x0,this['mask']=0x0,this['context']=0x0;}}const _0x47ded5=new _0x4492e3();class InputStream{constructor(_0x2460e5,_0xd0b082){this['input']=_0x2460e5,this['ranges']=_0xd0b082,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=_0x47ded5,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0xd0b082[0x0]['from'],this['range']=_0xd0b082[0x0],this['end']=_0xd0b082[_0xd0b082['length']-0x1]['to'],this['readNext']();}['resolveOffset'](_0x56b68d,_0x1ed6d6){let _0x2cc211=this['range'],_0x4b3e26=this['rangeIndex'],_0x1968f7=this['pos']+_0x56b68d;for(;_0x1968f7<_0x2cc211['from'];){if(!_0x4b3e26)return null;let _0x1a06ec=this['ranges'][--_0x4b3e26];_0x1968f7-=_0x2cc211['from']-_0x1a06ec['to'],_0x2cc211=_0x1a06ec;}for(;_0x1ed6d6<0x0?_0x1968f7>_0x2cc211['to']:_0x1968f7>=_0x2cc211['to'];){if(_0x4b3e26==this['ranges']['length']-0x1)return null;let _0x5b2583=this['ranges'][++_0x4b3e26];_0x1968f7+=_0x5b2583['from']-_0x2cc211['to'],_0x2cc211=_0x5b2583;}return _0x1968f7;}['clipPos'](_0x28d658){if(_0x28d658>=this['range']['from']&&_0x28d658<this['range']['to'])return _0x28d658;for(let _0x3057dd of this['ranges'])if(_0x3057dd['to']>_0x28d658)return Math['max'](_0x28d658,_0x3057dd['from']);return this['end'];}['peek'](_0x2f76db){let _0x540553,_0x142c91,_0x17d17c=this['chunkOff']+_0x2f76db;if(_0x17d17c>=0x0&&_0x17d17c<this['chunk']['length'])_0x540553=this['pos']+_0x2f76db,_0x142c91=this['chunk']['charCodeAt'](_0x17d17c);else{let _0x383a86=this['resolveOffset'](_0x2f76db,0x1);if(null==_0x383a86)return-0x1;if(_0x540553=_0x383a86,_0x540553>=this['chunk2Pos']&&_0x540553<this['chunk2Pos']+this['chunk2']['length'])_0x142c91=this['chunk2']['charCodeAt'](_0x540553-this['chunk2Pos']);else{let _0x374ae9=this['rangeIndex'],_0x5c3558=this['range'];for(;_0x5c3558['to']<=_0x540553;)_0x5c3558=this['ranges'][++_0x374ae9];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0x540553),_0x540553+this['chunk2']['length']>_0x5c3558['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x5c3558['to']-_0x540553)),_0x142c91=this['chunk2']['charCodeAt'](0x0);}}return _0x540553>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0x540553+0x1),_0x142c91;}['acceptToken'](_0x168b57,_0x1aca67=0x0){let _0x4be6d2=_0x1aca67?this['resolveOffset'](_0x1aca67,-0x1):this['pos'];if(null==_0x4be6d2||_0x4be6d2<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0x168b57,this['token']['end']=_0x4be6d2;}['acceptTokenTo'](_0x204f12,_0x2791f3){this['token']['value']=_0x204f12,this['token']['end']=_0x2791f3;}['getChunk'](){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0x48654a,chunkPos:_0x2c984a}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0x48654a,this['chunk2Pos']=_0x2c984a,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0x4a3c4f=this['input']['chunk'](this['pos']),_0x2cc2a0=this['pos']+_0x4a3c4f['length'];this['chunk']=_0x2cc2a0>this['range']['to']?_0x4a3c4f['slice'](0x0,this['range']['to']-this['pos']):_0x4a3c4f,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'](_0x1e41c9=0x1){for(this['chunkOff']+=_0x1e41c9;this['pos']+_0x1e41c9>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x1e41c9-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x1e41c9,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'](_0x53f5fe,_0x5b86e1){if(_0x5b86e1?(this['token']=_0x5b86e1,_0x5b86e1['start']=_0x53f5fe,_0x5b86e1['lookAhead']=_0x53f5fe+0x1,_0x5b86e1['value']=_0x5b86e1['extended']=-0x1):this['token']=_0x47ded5,this['pos']!=_0x53f5fe){if(this['pos']=_0x53f5fe,_0x53f5fe==this['end'])return this['setDone'](),this;for(;_0x53f5fe<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0x53f5fe>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0x53f5fe>=this['chunkPos']&&_0x53f5fe<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0x53f5fe-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x24ee77,_0x175bbc){if(_0x24ee77>=this['chunkPos']&&_0x175bbc<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x24ee77-this['chunkPos'],_0x175bbc-this['chunkPos']);if(_0x24ee77>=this['chunk2Pos']&&_0x175bbc<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x24ee77-this['chunk2Pos'],_0x175bbc-this['chunk2Pos']);if(_0x24ee77>=this['range']['from']&&_0x175bbc<=this['range']['to'])return this['input']['read'](_0x24ee77,_0x175bbc);let _0x44db05='';for(let _0x344ea8 of this['ranges']){if(_0x344ea8['from']>=_0x175bbc)break;_0x344ea8['to']>_0x24ee77&&(_0x44db05+=this['input']['read'](Math['max'](_0x344ea8['from'],_0x24ee77),Math['min'](_0x344ea8['to'],_0x175bbc)));}return _0x44db05;}}class _0x348a8d{constructor(_0x5ea8a9,_0x496230){this['data']=_0x5ea8a9,this['id']=_0x496230;}['token'](_0x18042b,_0x7d6337){let {parser:_0x1b9eaf}=_0x7d6337['p'];_0x9e0eb7(this['data'],_0x18042b,_0x7d6337,this['id'],_0x1b9eaf['data'],_0x1b9eaf['tokenPrecTable']);}}_0x348a8d['prototype']['contextual']=_0x348a8d['prototype']['fallback']=_0x348a8d['prototype']['extend']=!0x1;class _0x21dc9a{constructor(_0x175a20,_0x343589,_0x54b31a){this['precTable']=_0x343589,this['elseToken']=_0x54b31a,this['data']='string'==typeof _0x175a20?_0x51ce3a(_0x175a20):_0x175a20;}['token'](_0x774e02,_0x2c339f){let _0x8cef96=_0x774e02['pos'],_0x5ee36b=0x0;for(;;){let _0x3487d3=_0x774e02['next']<0x0,_0x57c7b6=_0x774e02['resolveOffset'](0x1,0x1);if(_0x9e0eb7(this['data'],_0x774e02,_0x2c339f,0x0,this['data'],this['precTable']),_0x774e02['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0x3487d3||_0x5ee36b++,null==_0x57c7b6)break;_0x774e02['reset'](_0x57c7b6,_0x774e02['token']);}_0x5ee36b&&(_0x774e02['reset'](_0x8cef96,_0x774e02['token']),_0x774e02['acceptToken'](this['elseToken'],_0x5ee36b));}}_0x21dc9a['prototype']['contextual']=_0x348a8d['prototype']['fallback']=_0x348a8d['prototype']['extend']=!0x1;class ExternalTokenizer{constructor(_0x5a55d2,_0x32c781={}){this['token']=_0x5a55d2,this['contextual']=!!_0x32c781['contextual'],this['fallback']=!!_0x32c781['fallback'],this['extend']=!!_0x32c781['extend'];}}function _0x9e0eb7(_0x361cb5,_0x2798db,_0x3b84c0,_0x17b36a,_0x4f604b,_0x2fc6e8){let _0x541622=0x0,_0x21e4a6=0x1<<_0x17b36a,{dialect:_0x2befff}=_0x3b84c0['p']['parser'];t:for(;0x0!=(_0x21e4a6&_0x361cb5[_0x541622]);){let _0x51bee4=_0x361cb5[_0x541622+0x1];for(let _0x65b915=_0x541622+0x3;_0x65b915<_0x51bee4;_0x65b915+=0x2)if((_0x361cb5[_0x65b915+0x1]&_0x21e4a6)>0x0){let _0x897e27=_0x361cb5[_0x65b915];if(_0x2befff['allows'](_0x897e27)&&(-0x1==_0x2798db['token']['value']||_0x2798db['token']['value']==_0x897e27||_0x3f4782(_0x897e27,_0x2798db['token']['value'],_0x4f604b,_0x2fc6e8))){_0x2798db['acceptToken'](_0x897e27);break;}}let _0x200b71=_0x2798db['next'],_0x42c26e=0x0,_0x5b7f72=_0x361cb5[_0x541622+0x2];if(!(_0x2798db['next']<0x0&&_0x5b7f72>_0x42c26e&&0xffff==_0x361cb5[_0x51bee4+0x3*_0x5b7f72-0x3])){for(;_0x42c26e<_0x5b7f72;){let _0x2a9702=_0x42c26e+_0x5b7f72>>0x1,_0x419a3b=_0x51bee4+_0x2a9702+(_0x2a9702<<0x1),_0xf72eca=_0x361cb5[_0x419a3b],_0x38213a=_0x361cb5[_0x419a3b+0x1]||0x10000;if(_0x200b71<_0xf72eca)_0x5b7f72=_0x2a9702;else{if(!(_0x200b71>=_0x38213a)){_0x541622=_0x361cb5[_0x419a3b+0x2],_0x2798db['advance']();continue t;}_0x42c26e=_0x2a9702+0x1;}}break;}_0x541622=_0x361cb5[_0x51bee4+0x3*_0x5b7f72-0x1];}}function _0x38aab2(_0x5aecc6,_0x345943,_0x57619a){for(let _0x164bb4,_0xd8ed85=_0x345943;0xffff!=(_0x164bb4=_0x5aecc6[_0xd8ed85]);_0xd8ed85++)if(_0x164bb4==_0x57619a)return _0xd8ed85-_0x345943;return-0x1;}function _0x3f4782(_0x188d82,_0x52d3c5,_0x192359,_0x2b96f2){let _0x52f908=_0x38aab2(_0x192359,_0x2b96f2,_0x52d3c5);return _0x52f908<0x0||_0x38aab2(_0x192359,_0x2b96f2,_0x188d82)<_0x52f908;}const _0x238d9e='undefined'!=typeof process&&process['env']&&/\bparse\b/['test'](process['env']['LOG']);let _0x307315=null;function _0x30ae93(_0x994083,_0x23fc39,_0xca9052){let _0x190dca=_0x994083['cursor'](_0x2a3c3d['IncludeAnonymous']);for(_0x190dca['moveTo'](_0x23fc39);;)if(!(_0xca9052<0x0?_0x190dca['childBefore'](_0x23fc39):_0x190dca['childAfter'](_0x23fc39)))for(;;){if((_0xca9052<0x0?_0x190dca['to']<_0x23fc39:_0x190dca['from']>_0x23fc39)&&!_0x190dca['type']['isError'])return _0xca9052<0x0?Math['max'](0x0,Math['min'](_0x190dca['to']-0x1,_0x23fc39-0x19)):Math['min'](_0x994083['length'],Math['max'](_0x190dca['from']+0x1,_0x23fc39+0x19));if(_0xca9052<0x0?_0x190dca['prevSibling']():_0x190dca['nextSibling']())break;if(!_0x190dca['parent']())return _0xca9052<0x0?0x0:_0x994083['length'];}}let _0x522a05=class FragmentCursor{constructor(_0x1bb013,_0x3afb16){this['fragments']=_0x1bb013,this['nodeSet']=_0x3afb16,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}['nextFragment'](){let _0x477491=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0x477491){for(this['safeFrom']=_0x477491['openStart']?_0x30ae93(_0x477491['tree'],_0x477491['from']+_0x477491['offset'],0x1)-_0x477491['offset']:_0x477491['from'],this['safeTo']=_0x477491['openEnd']?_0x30ae93(_0x477491['tree'],_0x477491['to']+_0x477491['offset'],-0x1)-_0x477491['offset']:_0x477491['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0x477491['tree']),this['start']['push'](-_0x477491['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}['nodeAt'](_0x144564){if(_0x144564<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0x144564;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x471736=this['trees']['length']-0x1;if(_0x471736<0x0)return this['nextFragment'](),null;let _0x5f58d5=this['trees'][_0x471736],_0x5084e0=this['index'][_0x471736];if(_0x5084e0==_0x5f58d5['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0x174bfa=_0x5f58d5['children'][_0x5084e0],_0x16d041=this['start'][_0x471736]+_0x5f58d5['positions'][_0x5084e0];if(_0x16d041>_0x144564)return this['nextStart']=_0x16d041,null;if(_0x174bfa instanceof _0x626f5b){if(_0x16d041==_0x144564){if(_0x16d041<this['safeFrom'])return null;let _0x298ecb=_0x16d041+_0x174bfa['length'];if(_0x298ecb<=this['safeTo']){let _0x4b83bb=_0x174bfa['prop'](_0xdd8853['lookAhead']);if(!_0x4b83bb||_0x298ecb+_0x4b83bb<this['fragment']['to'])return _0x174bfa;}}this['index'][_0x471736]++,_0x16d041+_0x174bfa['length']>=Math['max'](this['safeFrom'],_0x144564)&&(this['trees']['push'](_0x174bfa),this['start']['push'](_0x16d041),this['index']['push'](0x0));}else this['index'][_0x471736]++,this['nextStart']=_0x16d041+_0x174bfa['length'];}}};class _0x119be2{constructor(_0x4462f9,_0x1ee17a){this['stream']=_0x1ee17a,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x4462f9['tokenizers']['map'](_0x4fd6ca=>new _0x4492e3());}['getActions'](_0x32b654){let _0x20d153=0x0,_0x21f1f8=null,{parser:_0x8326bc}=_0x32b654['p'],{tokenizers:_0x25fb12}=_0x8326bc,_0x272b0c=_0x8326bc['stateSlot'](_0x32b654['state'],0x3),_0x225115=_0x32b654['curContext']?_0x32b654['curContext']['hash']:0x0,_0x1845d5=0x0;for(let _0x3b6f33=0x0;_0x3b6f33<_0x25fb12['length'];_0x3b6f33++){if(!(0x1<<_0x3b6f33&_0x272b0c))continue;let _0x3e23a6=_0x25fb12[_0x3b6f33],_0x18eb8d=this['tokens'][_0x3b6f33];if((!_0x21f1f8||_0x3e23a6['fallback'])&&((_0x3e23a6['contextual']||_0x18eb8d['start']!=_0x32b654['pos']||_0x18eb8d['mask']!=_0x272b0c||_0x18eb8d['context']!=_0x225115)&&(this['updateCachedToken'](_0x18eb8d,_0x3e23a6,_0x32b654),_0x18eb8d['mask']=_0x272b0c,_0x18eb8d['context']=_0x225115),_0x18eb8d['lookAhead']>_0x18eb8d['end']+0x19&&(_0x1845d5=Math['max'](_0x18eb8d['lookAhead'],_0x1845d5)),0x0!=_0x18eb8d['value'])){let _0x398c7a=_0x20d153;if(_0x18eb8d['extended']>-0x1&&(_0x20d153=this['addActions'](_0x32b654,_0x18eb8d['extended'],_0x18eb8d['end'],_0x20d153)),_0x20d153=this['addActions'](_0x32b654,_0x18eb8d['value'],_0x18eb8d['end'],_0x20d153),!_0x3e23a6['extend']&&(_0x21f1f8=_0x18eb8d,_0x20d153>_0x398c7a))break;}}for(;this['actions']['length']>_0x20d153;)this['actions']['pop']();return _0x1845d5&&_0x32b654['setLookAhead'](_0x1845d5),_0x21f1f8||_0x32b654['pos']!=this['stream']['end']||(_0x21f1f8=new _0x4492e3(),_0x21f1f8['value']=_0x32b654['p']['parser']['eofTerm'],_0x21f1f8['start']=_0x21f1f8['end']=_0x32b654['pos'],_0x20d153=this['addActions'](_0x32b654,_0x21f1f8['value'],_0x21f1f8['end'],_0x20d153)),this['mainToken']=_0x21f1f8,this['actions'];}['getMainToken'](_0x5936d3){if(this['mainToken'])return this['mainToken'];let _0x26980c=new _0x4492e3(),{pos:_0x196f71,p:_0x1af7ac}=_0x5936d3;return _0x26980c['start']=_0x196f71,_0x26980c['end']=Math['min'](_0x196f71+0x1,_0x1af7ac['stream']['end']),_0x26980c['value']=_0x196f71==_0x1af7ac['stream']['end']?_0x1af7ac['parser']['eofTerm']:0x0,_0x26980c;}['updateCachedToken'](_0x14ee6c,_0x19dd76,_0x3bb580){let _0x118dd4=this['stream']['clipPos'](_0x3bb580['pos']);if(_0x19dd76['token'](this['stream']['reset'](_0x118dd4,_0x14ee6c),_0x3bb580),_0x14ee6c['value']>-0x1){let {parser:_0x27d289}=_0x3bb580['p'];for(let _0x14bd32=0x0;_0x14bd32<_0x27d289['specialized']['length'];_0x14bd32++)if(_0x27d289['specialized'][_0x14bd32]==_0x14ee6c['value']){let _0x425dc5=_0x27d289['specializers'][_0x14bd32](this['stream']['read'](_0x14ee6c['start'],_0x14ee6c['end']),_0x3bb580);if(_0x425dc5>=0x0&&_0x3bb580['p']['parser']['dialect']['allows'](_0x425dc5>>0x1)){0x1&_0x425dc5?_0x14ee6c['extended']=_0x425dc5>>0x1:_0x14ee6c['value']=_0x425dc5>>0x1;break;}}}else _0x14ee6c['value']=0x0,_0x14ee6c['end']=this['stream']['clipPos'](_0x118dd4+0x1);}['putAction'](_0x2d5907,_0x50f448,_0x32c6e1,_0x12b06f){for(let _0x349c62=0x0;_0x349c62<_0x12b06f;_0x349c62+=0x3)if(this['actions'][_0x349c62]==_0x2d5907)return _0x12b06f;return this['actions'][_0x12b06f++]=_0x2d5907,this['actions'][_0x12b06f++]=_0x50f448,this['actions'][_0x12b06f++]=_0x32c6e1,_0x12b06f;}['addActions'](_0x1d04cf,_0x54a441,_0x242548,_0x307d20){let {state:_0xeca8d4}=_0x1d04cf,{parser:_0x2fa70d}=_0x1d04cf['p'],{data:_0x27ca42}=_0x2fa70d;for(let _0x59f1d2=0x0;_0x59f1d2<0x2;_0x59f1d2++)for(let _0x521755=_0x2fa70d['stateSlot'](_0xeca8d4,_0x59f1d2?0x2:0x1);;_0x521755+=0x3){if(0xffff==_0x27ca42[_0x521755]){if(0x1!=_0x27ca42[_0x521755+0x1]){0x0==_0x307d20&&0x2==_0x27ca42[_0x521755+0x1]&&(_0x307d20=this['putAction'](_0x177ccf(_0x27ca42,_0x521755+0x2),_0x54a441,_0x242548,_0x307d20));break;}_0x521755=_0x177ccf(_0x27ca42,_0x521755+0x2);}_0x27ca42[_0x521755]==_0x54a441&&(_0x307d20=this['putAction'](_0x177ccf(_0x27ca42,_0x521755+0x1),_0x54a441,_0x242548,_0x307d20));}return _0x307d20;}}class _0x3f2003{constructor(_0x55ec9b,_0x5b3d77,_0x291d2f,_0x58bfb4){this['parser']=_0x55ec9b,this['input']=_0x5b3d77,this['ranges']=_0x58bfb4,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(_0x5b3d77,_0x58bfb4),this['tokens']=new _0x119be2(_0x55ec9b,this['stream']),this['topTerm']=_0x55ec9b['top'][0x1];let {from:_0x1bf7c9}=_0x58bfb4[0x0];this['stacks']=[Stack['start'](this,_0x55ec9b['top'][0x0],_0x1bf7c9)],this['fragments']=_0x291d2f['length']&&this['stream']['end']-_0x1bf7c9>0x4*_0x55ec9b['bufferLength']?new _0x522a05(_0x291d2f,_0x55ec9b['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x434763,_0x5a0d8b,_0x586561=this['stacks'],_0x339b93=this['minStackPos'],_0x358410=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0x586561['length']){let [_0x2270b6]=_0x586561;for(;_0x2270b6['forceReduce']()&&_0x2270b6['stack']['length']&&_0x2270b6['stack'][_0x2270b6['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x2474b9=0x0;_0x2474b9<_0x586561['length'];_0x2474b9++){let _0x569c68=_0x586561[_0x2474b9];for(;;){if(this['tokens']['mainToken']=null,_0x569c68['pos']>_0x339b93)_0x358410['push'](_0x569c68);else{if(this['advanceStack'](_0x569c68,_0x358410,_0x586561))continue;{_0x434763||(_0x434763=[],_0x5a0d8b=[]),_0x434763['push'](_0x569c68);let _0x47e2d8=this['tokens']['getMainToken'](_0x569c68);_0x5a0d8b['push'](_0x47e2d8['value'],_0x47e2d8['end']);}}break;}}if(!_0x358410['length']){let _0x1e5ba7=_0x434763&&function(_0x53c6d8){let _0x47db30=null;for(let _0xbbd454 of _0x53c6d8){let _0x4f301a=_0xbbd454['p']['stoppedAt'];(_0xbbd454['pos']==_0xbbd454['p']['stream']['end']||null!=_0x4f301a&&_0xbbd454['pos']>_0x4f301a)&&_0xbbd454['p']['parser']['stateFlag'](_0xbbd454['state'],0x2)&&(!_0x47db30||_0x47db30['score']<_0xbbd454['score'])&&(_0x47db30=_0xbbd454);}return _0x47db30;}(_0x434763);if(_0x1e5ba7)return _0x238d9e&&console['log']('Finish\x20with\x20'+this['stackID'](_0x1e5ba7)),this['stackToTree'](_0x1e5ba7);if(this['parser']['strict'])throw _0x238d9e&&_0x434763&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x339b93);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x434763){let _0xdfb17f=null!=this['stoppedAt']&&_0x434763[0x0]['pos']>this['stoppedAt']?_0x434763[0x0]:this['runRecovery'](_0x434763,_0x5a0d8b,_0x358410);if(_0xdfb17f)return _0x238d9e&&console['log']('Force-finish\x20'+this['stackID'](_0xdfb17f)),this['stackToTree'](_0xdfb17f['forceAll']());}if(this['recovering']){let _0x56bf21=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0x358410['length']>_0x56bf21){for(_0x358410['sort']((_0x2b23ab,_0x415a32)=>_0x415a32['score']-_0x2b23ab['score']);_0x358410['length']>_0x56bf21;)_0x358410['pop']();}_0x358410['some'](_0x3fccf7=>_0x3fccf7['reducePos']>_0x339b93)&&this['recovering']--;}else{if(_0x358410['length']>0x1){t:for(let _0x29aa67=0x0;_0x29aa67<_0x358410['length']-0x1;_0x29aa67++){let _0x2b47a7=_0x358410[_0x29aa67];for(let _0x5513f0=_0x29aa67+0x1;_0x5513f0<_0x358410['length'];_0x5513f0++){let _0xc9eeb9=_0x358410[_0x5513f0];if(_0x2b47a7['sameState'](_0xc9eeb9)||_0x2b47a7['buffer']['length']>0x1f4&&_0xc9eeb9['buffer']['length']>0x1f4){if(!((_0x2b47a7['score']-_0xc9eeb9['score']||_0x2b47a7['buffer']['length']-_0xc9eeb9['buffer']['length'])>0x0)){_0x358410['splice'](_0x29aa67--,0x1);continue t;}_0x358410['splice'](_0x5513f0--,0x1);}}}_0x358410['length']>0xc&&_0x358410['splice'](0xc,_0x358410['length']-0xc);}}this['minStackPos']=_0x358410[0x0]['pos'];for(let _0x35a4f9=0x1;_0x35a4f9<_0x358410['length'];_0x35a4f9++)_0x358410[_0x35a4f9]['pos']<this['minStackPos']&&(this['minStackPos']=_0x358410[_0x35a4f9]['pos']);return null;}['stopAt'](_0x1e48fa){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x1e48fa)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x1e48fa;}['advanceStack'](_0x4da271,_0x36c77f,_0x30e224){let _0x1d1e32=_0x4da271['pos'],{parser:_0x893991}=this,_0x3ef5a6=_0x238d9e?this['stackID'](_0x4da271)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0x1d1e32>this['stoppedAt'])return _0x4da271['forceReduce']()?_0x4da271:null;if(this['fragments']){let _0x530d22=_0x4da271['curContext']&&_0x4da271['curContext']['tracker']['strict'],_0xe3157e=_0x530d22?_0x4da271['curContext']['hash']:0x0;for(let _0x3ba22b=this['fragments']['nodeAt'](_0x1d1e32);_0x3ba22b;){let _0x53b108=this['parser']['nodeSet']['types'][_0x3ba22b['type']['id']]==_0x3ba22b['type']?_0x893991['getGoto'](_0x4da271['state'],_0x3ba22b['type']['id']):-0x1;if(_0x53b108>-0x1&&_0x3ba22b['length']&&(!_0x530d22||(_0x3ba22b['prop'](_0xdd8853['contextHash'])||0x0)==_0xe3157e))return _0x4da271['useNode'](_0x3ba22b,_0x53b108),_0x238d9e&&console['log'](_0x3ef5a6+this['stackID'](_0x4da271)+('\x20(via\x20reuse\x20of\x20'+_0x893991['getName'](_0x3ba22b['type']['id'])+')')),!0x0;if(!(_0x3ba22b instanceof _0x626f5b)||0x0==_0x3ba22b['children']['length']||_0x3ba22b['positions'][0x0]>0x0)break;let _0x292dc6=_0x3ba22b['children'][0x0];if(!(_0x292dc6 instanceof _0x626f5b&&0x0==_0x3ba22b['positions'][0x0]))break;_0x3ba22b=_0x292dc6;}}let _0x3a0c1d=_0x893991['stateSlot'](_0x4da271['state'],0x4);if(_0x3a0c1d>0x0)return _0x4da271['reduce'](_0x3a0c1d),_0x238d9e&&console['log'](_0x3ef5a6+this['stackID'](_0x4da271)+('\x20(via\x20always-reduce\x20'+_0x893991['getName'](0xffff&_0x3a0c1d)+')')),!0x0;if(_0x4da271['stack']['length']>=0x20d0){for(;_0x4da271['stack']['length']>0x1770&&_0x4da271['forceReduce'](););}let _0x166798=this['tokens']['getActions'](_0x4da271);for(let _0x313d9c=0x0;_0x313d9c<_0x166798['length'];){let _0x44026f=_0x166798[_0x313d9c++],_0x279022=_0x166798[_0x313d9c++],_0x6a67f9=_0x166798[_0x313d9c++],_0xad91f8=_0x313d9c==_0x166798['length']||!_0x30e224,_0x2b31ea=_0xad91f8?_0x4da271:_0x4da271['split'](),_0xdf424e=this['tokens']['mainToken'];if(_0x2b31ea['apply'](_0x44026f,_0x279022,_0xdf424e?_0xdf424e['start']:_0x2b31ea['pos'],_0x6a67f9),_0x238d9e&&console['log'](_0x3ef5a6+this['stackID'](_0x2b31ea)+('\x20(via\x20'+(0x10000&_0x44026f?'reduce\x20of\x20'+_0x893991['getName'](0xffff&_0x44026f):'shift')+'\x20for\x20'+_0x893991['getName'](_0x279022)+'\x20@\x20'+_0x1d1e32+(_0x2b31ea==_0x4da271?'':',\x20split')+')')),_0xad91f8)return!0x0;_0x2b31ea['pos']>_0x1d1e32?_0x36c77f['push'](_0x2b31ea):_0x30e224['push'](_0x2b31ea);}return!0x1;}['advanceFully'](_0x1b6dcd,_0x5d8bca){let _0x19991f=_0x1b6dcd['pos'];for(;;){if(!this['advanceStack'](_0x1b6dcd,null,null))return!0x1;if(_0x1b6dcd['pos']>_0x19991f)return _0x291255(_0x1b6dcd,_0x5d8bca),!0x0;}}['runRecovery'](_0x34e80d,_0x2a9010,_0xb46f1b){let _0x275bf5=null,_0x5514f1=!0x1;for(let _0x5bfa9d=0x0;_0x5bfa9d<_0x34e80d['length'];_0x5bfa9d++){let _0x1c42a1=_0x34e80d[_0x5bfa9d],_0x910f9b=_0x2a9010[_0x5bfa9d<<0x1],_0x388cb3=_0x2a9010[0x1+(_0x5bfa9d<<0x1)],_0xbda76e=_0x238d9e?this['stackID'](_0x1c42a1)+'\x20->\x20':'';if(_0x1c42a1['deadEnd']){if(_0x5514f1)continue;if(_0x5514f1=!0x0,_0x1c42a1['restart'](),_0x238d9e&&console['log'](_0xbda76e+this['stackID'](_0x1c42a1)+'\x20(restarted)'),this['advanceFully'](_0x1c42a1,_0xb46f1b))continue;}let _0x2e393a=_0x1c42a1['split'](),_0x5474a1=_0xbda76e;for(let _0x3664e0=0x0;_0x3664e0<0xa&&_0x2e393a['forceReduce']();_0x3664e0++){if(_0x238d9e&&console['log'](_0x5474a1+this['stackID'](_0x2e393a)+'\x20(via\x20force-reduce)'),this['advanceFully'](_0x2e393a,_0xb46f1b))break;_0x238d9e&&(_0x5474a1=this['stackID'](_0x2e393a)+'\x20->\x20');}for(let _0x2658fe of _0x1c42a1['recoverByInsert'](_0x910f9b))_0x238d9e&&console['log'](_0xbda76e+this['stackID'](_0x2658fe)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x2658fe,_0xb46f1b);this['stream']['end']>_0x1c42a1['pos']?(_0x388cb3==_0x1c42a1['pos']&&(_0x388cb3++,_0x910f9b=0x0),_0x1c42a1['recoverByDelete'](_0x910f9b,_0x388cb3),_0x238d9e&&console['log'](_0xbda76e+this['stackID'](_0x1c42a1)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0x910f9b)+')')),_0x291255(_0x1c42a1,_0xb46f1b)):(!_0x275bf5||_0x275bf5['score']<_0x1c42a1['score'])&&(_0x275bf5=_0x1c42a1);}return _0x275bf5;}['stackToTree'](_0x1f2e87){return _0x1f2e87['close'](),_0x626f5b['build']({'buffer':StackBufferCursor['create'](_0x1f2e87),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x1f2e87['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}['stackID'](_0x2aadf0){let _0x4ece6e=(_0x307315||(_0x307315=new WeakMap()))['get'](_0x2aadf0);return _0x4ece6e||_0x307315['set'](_0x2aadf0,_0x4ece6e=String['fromCodePoint'](this['nextStackID']++)),_0x4ece6e+_0x2aadf0;}}function _0x291255(_0x5a8247,_0x30ea29){for(let _0x9bf65e=0x0;_0x9bf65e<_0x30ea29['length'];_0x9bf65e++){let _0xacbac9=_0x30ea29[_0x9bf65e];if(_0xacbac9['pos']==_0x5a8247['pos']&&_0xacbac9['sameState'](_0x5a8247))return void(_0x30ea29[_0x9bf65e]['score']<_0x5a8247['score']&&(_0x30ea29[_0x9bf65e]=_0x5a8247));}_0x30ea29['push'](_0x5a8247);}class Dialect{constructor(_0xefaec,_0x3c5a8f,_0x16d057){this['source']=_0xefaec,this['flags']=_0x3c5a8f,this['disabled']=_0x16d057;}['allows'](_0x275009){return!this['disabled']||0x0==this['disabled'][_0x275009];}}const _0xc145a2=_0x19fee7=>_0x19fee7;class ContextTracker{constructor(_0x22a0b7){this['start']=_0x22a0b7['start'],this['shift']=_0x22a0b7['shift']||_0xc145a2,this['reduce']=_0x22a0b7['reduce']||_0xc145a2,this['reuse']=_0x22a0b7['reuse']||_0xc145a2,this['hash']=_0x22a0b7['hash']||(()=>0x0),this['strict']=!0x1!==_0x22a0b7['strict'];}}class _0xc445af extends _0x114016{constructor(_0x5db790){if(super(),this['wrappers']=[],0xe!=_0x5db790['version'])throw new RangeError('Parser\x20version\x20('+_0x5db790['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0x4aa2af=_0x5db790['nodeNames']['split']('\x20');this['minRepeatTerm']=_0x4aa2af['length'];for(let _0x32b076=0x0;_0x32b076<_0x5db790['repeatNodeCount'];_0x32b076++)_0x4aa2af['push']('');let _0x44a356=Object['keys'](_0x5db790['topRules'])['map'](_0x39cc60=>_0x5db790['topRules'][_0x39cc60][0x1]),_0x1a943e=[];for(let _0x400450=0x0;_0x400450<_0x4aa2af['length'];_0x400450++)_0x1a943e['push']([]);function _0x3e64f2(_0x53c2a6,_0x374cfc,_0x289493){_0x1a943e[_0x53c2a6]['push']([_0x374cfc,_0x374cfc['deserialize'](String(_0x289493))]);}if(_0x5db790['nodeProps'])for(let _0x2f4582 of _0x5db790['nodeProps']){let _0x347af2=_0x2f4582[0x0];'string'==typeof _0x347af2&&(_0x347af2=_0xdd8853[_0x347af2]);for(let _0x51a650=0x1;_0x51a650<_0x2f4582['length'];){let _0x2ccb99=_0x2f4582[_0x51a650++];if(_0x2ccb99>=0x0)_0x3e64f2(_0x2ccb99,_0x347af2,_0x2f4582[_0x51a650++]);else{let _0xa402b0=_0x2f4582[_0x51a650+-_0x2ccb99];for(let _0x45a132=-_0x2ccb99;_0x45a132>0x0;_0x45a132--)_0x3e64f2(_0x2f4582[_0x51a650++],_0x347af2,_0xa402b0);_0x51a650++;}}}this['nodeSet']=new NodeSet(_0x4aa2af['map']((_0x57b46e,_0x18ecbf)=>_0x4c1c7e['define']({'name':_0x18ecbf>=this['minRepeatTerm']?void 0x0:_0x57b46e,'id':_0x18ecbf,'props':_0x1a943e[_0x18ecbf],'top':_0x44a356['indexOf'](_0x18ecbf)>-0x1,'error':0x0==_0x18ecbf,'skipped':_0x5db790['skippedNodes']&&_0x5db790['skippedNodes']['indexOf'](_0x18ecbf)>-0x1}))),_0x5db790['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0x5db790['propSources'])),this['strict']=!0x1,this['bufferLength']=_0x316105;let _0x15e3ba=_0x51ce3a(_0x5db790['tokenData']);this['context']=_0x5db790['context'],this['specializerSpecs']=_0x5db790['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0x6737e0=0x0;_0x6737e0<this['specializerSpecs']['length'];_0x6737e0++)this['specialized'][_0x6737e0]=this['specializerSpecs'][_0x6737e0]['term'];this['specializers']=this['specializerSpecs']['map'](_0x5437be),this['states']=_0x51ce3a(_0x5db790['states'],Uint32Array),this['data']=_0x51ce3a(_0x5db790['stateData']),this['goto']=_0x51ce3a(_0x5db790['goto']),this['maxTerm']=_0x5db790['maxTerm'],this['tokenizers']=_0x5db790['tokenizers']['map'](_0x5838f6=>'number'==typeof _0x5838f6?new _0x348a8d(_0x15e3ba,_0x5838f6):_0x5838f6),this['topRules']=_0x5db790['topRules'],this['dialects']=_0x5db790['dialects']||{},this['dynamicPrecedences']=_0x5db790['dynamicPrecedences']||null,this['tokenPrecTable']=_0x5db790['tokenPrec'],this['termNames']=_0x5db790['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}['createParse'](_0x58c511,_0x5de512,_0x47b198){let _0x4bd096=new _0x3f2003(this,_0x58c511,_0x5de512,_0x47b198);for(let _0x4d287a of this['wrappers'])_0x4bd096=_0x4d287a(_0x4bd096,_0x58c511,_0x5de512,_0x47b198);return _0x4bd096;}['getGoto'](_0x2df834,_0xf619ce,_0xba378b=!0x1){let _0x3a02ca=this['goto'];if(_0xf619ce>=_0x3a02ca[0x0])return-0x1;for(let _0x2ef434=_0x3a02ca[_0xf619ce+0x1];;){let _0x49e234=_0x3a02ca[_0x2ef434++],_0x286ae4=0x1&_0x49e234,_0x29236e=_0x3a02ca[_0x2ef434++];if(_0x286ae4&&_0xba378b)return _0x29236e;for(let _0x5f3d77=_0x2ef434+(_0x49e234>>0x1);_0x2ef434<_0x5f3d77;_0x2ef434++)if(_0x3a02ca[_0x2ef434]==_0x2df834)return _0x29236e;if(_0x286ae4)return-0x1;}}['hasAction'](_0x493316,_0x2fe36d){let _0x306c85=this['data'];for(let _0x1fe87c=0x0;_0x1fe87c<0x2;_0x1fe87c++)for(let _0x15b73b,_0x1a7dc5=this['stateSlot'](_0x493316,_0x1fe87c?0x2:0x1);;_0x1a7dc5+=0x3){if(0xffff==(_0x15b73b=_0x306c85[_0x1a7dc5])){if(0x1!=_0x306c85[_0x1a7dc5+0x1]){if(0x2==_0x306c85[_0x1a7dc5+0x1])return _0x177ccf(_0x306c85,_0x1a7dc5+0x2);break;}_0x15b73b=_0x306c85[_0x1a7dc5=_0x177ccf(_0x306c85,_0x1a7dc5+0x2)];}if(_0x15b73b==_0x2fe36d||0x0==_0x15b73b)return _0x177ccf(_0x306c85,_0x1a7dc5+0x1);}return 0x0;}['stateSlot'](_0x494ffb,_0x5394d7){return this['states'][0x6*_0x494ffb+_0x5394d7];}['stateFlag'](_0x264528,_0x131d70){return(this['stateSlot'](_0x264528,0x0)&_0x131d70)>0x0;}['validAction'](_0x1697e1,_0x1a1e19){return!!this['allActions'](_0x1697e1,_0x306757=>_0x306757==_0x1a1e19||null);}['allActions'](_0x2283a2,_0x15670e){let _0x54d141=this['stateSlot'](_0x2283a2,0x4),_0x510db6=_0x54d141?_0x15670e(_0x54d141):void 0x0;for(let _0x16a1c8=this['stateSlot'](_0x2283a2,0x1);null==_0x510db6;_0x16a1c8+=0x3){if(0xffff==this['data'][_0x16a1c8]){if(0x1!=this['data'][_0x16a1c8+0x1])break;_0x16a1c8=_0x177ccf(this['data'],_0x16a1c8+0x2);}_0x510db6=_0x15670e(_0x177ccf(this['data'],_0x16a1c8+0x1));}return _0x510db6;}['nextStates'](_0x5386d8){let _0x3197fd=[];for(let _0x494d5f=this['stateSlot'](_0x5386d8,0x1);;_0x494d5f+=0x3){if(0xffff==this['data'][_0x494d5f]){if(0x1!=this['data'][_0x494d5f+0x1])break;_0x494d5f=_0x177ccf(this['data'],_0x494d5f+0x2);}if(!(0x1&this['data'][_0x494d5f+0x2])){let _0x24ab35=this['data'][_0x494d5f+0x1];_0x3197fd['some']((_0xfd4e64,_0x1cfa15)=>0x1&_0x1cfa15&&_0xfd4e64==_0x24ab35)||_0x3197fd['push'](this['data'][_0x494d5f],_0x24ab35);}}return _0x3197fd;}['configure'](_0x281fc){let _0x426925=Object['assign'](Object['create'](_0xc445af['prototype']),this);if(_0x281fc['props']&&(_0x426925['nodeSet']=this['nodeSet']['extend'](..._0x281fc['props'])),_0x281fc['top']){let _0x313303=this['topRules'][_0x281fc['top']];if(!_0x313303)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0x281fc['top']);_0x426925['top']=_0x313303;}return _0x281fc['tokenizers']&&(_0x426925['tokenizers']=this['tokenizers']['map'](t=>{let _0x2dbfa0=_0x281fc['tokenizers']['find'](_0x136067=>_0x136067['from']==t);return _0x2dbfa0?_0x2dbfa0['to']:t;})),_0x281fc['specializers']&&(_0x426925['specializers']=this['specializers']['slice'](),_0x426925['specializerSpecs']=this['specializerSpecs']['map']((_0xf0f579,_0x3f1d8a)=>{let _0x1e39e5=_0x281fc['specializers']['find'](_0x1bc638=>_0x1bc638['from']==_0xf0f579['external']);if(!_0x1e39e5)return _0xf0f579;let _0x5b84ce=Object['assign'](Object['assign']({},_0xf0f579),{'external':_0x1e39e5['to']});return _0x426925['specializers'][_0x3f1d8a]=_0x5437be(_0x5b84ce),_0x5b84ce;})),_0x281fc['contextTracker']&&(_0x426925['context']=_0x281fc['contextTracker']),_0x281fc['dialect']&&(_0x426925['dialect']=this['parseDialect'](_0x281fc['dialect'])),null!=_0x281fc['strict']&&(_0x426925['strict']=_0x281fc['strict']),_0x281fc['wrap']&&(_0x426925['wrappers']=_0x426925['wrappers']['concat'](_0x281fc['wrap'])),null!=_0x281fc['bufferLength']&&(_0x426925['bufferLength']=_0x281fc['bufferLength']),_0x426925;}['hasWrappers'](){return this['wrappers']['length']>0x0;}['getName'](_0x659312){return this['termNames']?this['termNames'][_0x659312]:String(_0x659312<=this['maxNode']&&this['nodeSet']['types'][_0x659312]['name']||_0x659312);}get['eofTerm'](){return this['maxNode']+0x1;}get['topNode'](){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0x2c487d){let _0x216061=this['dynamicPrecedences'];return null==_0x216061?0x0:_0x216061[_0x2c487d]||0x0;}['parseDialect'](_0x22939d){let _0x104312=Object['keys'](this['dialects']),_0x4a37c1=_0x104312['map'](()=>!0x1);if(_0x22939d)for(let _0x3e7f57 of _0x22939d['split']('\x20')){let _0x3678da=_0x104312['indexOf'](_0x3e7f57);_0x3678da>=0x0&&(_0x4a37c1[_0x3678da]=!0x0);}let _0x473852=null;for(let _0x26200b=0x0;_0x26200b<_0x104312['length'];_0x26200b++)if(!_0x4a37c1[_0x26200b]){for(let _0x4e464d,_0x3001fc=this['dialects'][_0x104312[_0x26200b]];0xffff!=(_0x4e464d=this['data'][_0x3001fc++]);)(_0x473852||(_0x473852=new Uint8Array(this['maxTerm']+0x1)))[_0x4e464d]=0x1;}return new Dialect(_0x22939d,_0x4a37c1,_0x473852);}static['deserialize'](_0x227e7e){return new _0xc445af(_0x227e7e);}}function _0x177ccf(_0x572264,_0x3af72c){return _0x572264[_0x3af72c]|_0x572264[_0x3af72c+0x1]<<0x10;}function _0x5437be(_0x492b29){if(_0x492b29['external']){let _0x109890=_0x492b29['extend']?0x1:0x0;return(_0x2e77c0,_0x4a896f)=>_0x492b29['external'](_0x2e77c0,_0x4a896f)<<0x1|_0x109890;}return _0x492b29['get'];}const _0x5a2cb2={'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},_0x5504f8={'dd':!0x0,'li':!0x0,'optgroup':!0x0,'option':!0x0,'p':!0x0,'rp':!0x0,'rt':!0x0,'tbody':!0x0,'td':!0x0,'tfoot':!0x0,'th':!0x0,'tr':!0x0},_0x1bebe0={'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 _0x2a275b(_0x2d1b54){return 0x2d==_0x2d1b54||0x2e==_0x2d1b54||0x3a==_0x2d1b54||_0x2d1b54>=0x41&&_0x2d1b54<=0x5a||0x5f==_0x2d1b54||_0x2d1b54>=0x61&&_0x2d1b54<=0x7a||_0x2d1b54>=0xa1;}let _0x1998ad=null,_0x162a5d=null,_0x54985b=0x0;function _0x32ddef(_0x5a4c74,_0x13adfc){let _0x5eade2=_0x5a4c74['pos']+_0x13adfc;if(_0x54985b==_0x5eade2&&_0x162a5d==_0x5a4c74)return _0x1998ad;let _0x126027=_0x5a4c74['peek'](_0x13adfc),_0x288e13='';for(;_0x2a275b(_0x126027);)_0x288e13+=String['fromCharCode'](_0x126027),_0x126027=_0x5a4c74['peek'](++_0x13adfc);return _0x162a5d=_0x5a4c74,_0x54985b=_0x5eade2,_0x1998ad=_0x288e13?_0x288e13['toLowerCase']():_0x126027==_0x133c79||_0x126027==_0x3dc6a6?void 0x0:null;}const _0x133c79=0x3f,_0x3dc6a6=0x21;function _0x4bdc7b(_0x46a1c9,_0x4cbb57){this['name']=_0x46a1c9,this['parent']=_0x4cbb57;}const _0x99e486=[0x6,0xa,0x7,0x8,0x9],_0x512961=new ContextTracker({'start':null,'shift':(_0xcdb73f,_0x247bd5,_0x2c156a,_0x24d449)=>_0x99e486['indexOf'](_0x247bd5)>-0x1?new _0x4bdc7b(_0x32ddef(_0x24d449,0x1)||'',_0xcdb73f):_0xcdb73f,'reduce':(_0x22cc3c,_0x15a9a8)=>0x15==_0x15a9a8&&_0x22cc3c?_0x22cc3c['parent']:_0x22cc3c,'reuse'(_0x57564d,_0x1cb133,_0x44ad68,_0x5054a4){let _0x22ba13=_0x1cb133['type']['id'];return 0x6==_0x22ba13||0x25==_0x22ba13?new _0x4bdc7b(_0x32ddef(_0x5054a4,0x1)||'',_0x57564d):_0x57564d;},'strict':!0x1}),_0x2c2b41=new ExternalTokenizer((_0x3acd9f,_0x56d267)=>{if(0x3c!=_0x3acd9f['next'])return void(_0x3acd9f['next']<0x0&&_0x56d267['context']&&_0x3acd9f['acceptToken'](0x3a));_0x3acd9f['advance']();let _0x103d13=0x2f==_0x3acd9f['next'];_0x103d13&&_0x3acd9f['advance']();let _0x471872=_0x32ddef(_0x3acd9f,0x0);if(void 0x0===_0x471872)return;if(!_0x471872)return _0x3acd9f['acceptToken'](_0x103d13?0xf:0xe);let _0x1fb6b5=_0x56d267['context']?_0x56d267['context']['name']:null;if(_0x103d13){if(_0x471872==_0x1fb6b5)return _0x3acd9f['acceptToken'](0xb);if(_0x1fb6b5&&_0x5504f8[_0x1fb6b5])return _0x3acd9f['acceptToken'](0x3a,-0x2);if(_0x56d267['dialectEnabled'](0x0))return _0x3acd9f['acceptToken'](0xc);for(let _0x40d180=_0x56d267['context'];_0x40d180;_0x40d180=_0x40d180['parent'])if(_0x40d180['name']==_0x471872)return;_0x3acd9f['acceptToken'](0xd);}else{if('script'==_0x471872)return _0x3acd9f['acceptToken'](0x7);if('style'==_0x471872)return _0x3acd9f['acceptToken'](0x8);if('textarea'==_0x471872)return _0x3acd9f['acceptToken'](0x9);if(_0x5a2cb2['hasOwnProperty'](_0x471872))return _0x3acd9f['acceptToken'](0xa);_0x1fb6b5&&_0x1bebe0[_0x1fb6b5]&&_0x1bebe0[_0x1fb6b5][_0x471872]?_0x3acd9f['acceptToken'](0x3a,-0x1):_0x3acd9f['acceptToken'](0x6);}},{'contextual':!0x0}),_0x516c6c=new ExternalTokenizer(_0x49b496=>{for(let _0x5727a0=0x0,_0x5f1d9b=0x0;;_0x5f1d9b++){if(_0x49b496['next']<0x0){_0x5f1d9b&&_0x49b496['acceptToken'](0x3b);break;}if(0x2d==_0x49b496['next'])_0x5727a0++;else{if(0x3e==_0x49b496['next']&&_0x5727a0>=0x2){_0x5f1d9b>=0x3&&_0x49b496['acceptToken'](0x3b,-0x2);break;}_0x5727a0=0x0;}_0x49b496['advance']();}}),_0x23802f=new ExternalTokenizer((_0x37cb61,_0x179e27)=>{if(0x2f==_0x37cb61['next']&&0x3e==_0x37cb61['peek'](0x1)){let _0xba608c=_0x179e27['dialectEnabled'](0x1)||function(_0x379c9b){for(;_0x379c9b;_0x379c9b=_0x379c9b['parent'])if('svg'==_0x379c9b['name']||'math'==_0x379c9b['name'])return!0x0;return!0x1;}(_0x179e27['context']);_0x37cb61['acceptToken'](_0xba608c?0x5:0x4,0x2);}else 0x3e==_0x37cb61['next']&&_0x37cb61['acceptToken'](0x4,0x1);});function _0x4cbf3e(_0x514690,_0x26e2bc,_0xf584fc){let _0x1fb4bd=0x2+_0x514690['length'];return new ExternalTokenizer(_0x54b7d8=>{for(let _0x13ad42=0x0,_0x4df4e0=0x0,_0x3b3700=0x0;;_0x3b3700++){if(_0x54b7d8['next']<0x0){_0x3b3700&&_0x54b7d8['acceptToken'](_0x26e2bc);break;}if(0x0==_0x13ad42&&0x3c==_0x54b7d8['next']||0x1==_0x13ad42&&0x2f==_0x54b7d8['next']||_0x13ad42>=0x2&&_0x13ad42<_0x1fb4bd&&_0x54b7d8['next']==_0x514690['charCodeAt'](_0x13ad42-0x2))_0x13ad42++,_0x4df4e0++;else{if(_0x13ad42==_0x1fb4bd&&0x3e==_0x54b7d8['next']){_0x3b3700>_0x4df4e0?_0x54b7d8['acceptToken'](_0x26e2bc,-_0x4df4e0):_0x54b7d8['acceptToken'](_0xf584fc,-(_0x4df4e0-0x2));break;}if((0xa==_0x54b7d8['next']||0xd==_0x54b7d8['next'])&&_0x3b3700){_0x54b7d8['acceptToken'](_0x26e2bc,0x1);break;}_0x13ad42=_0x4df4e0=0x0;}_0x54b7d8['advance']();}});}const _0x5920ba=_0x4cbf3e('script',0x37,0x1),_0x580593=_0x4cbf3e('style',0x38,0x2),tC=_0x4cbf3e('textarea',0x39,0x3),_0x183271=_0x898146({'Text\x20RawText\x20IncompleteTag\x20IncompleteCloseTag':_0x40ee63['content'],'StartTag\x20StartCloseTag\x20SelfClosingEndTag\x20EndTag':_0x40ee63['angleBracket'],'TagName':_0x40ee63['tagName'],'MismatchedCloseTag/TagName':[_0x40ee63['tagName'],_0x40ee63['invalid']],'AttributeName':_0x40ee63['attributeName'],'AttributeValue\x20UnquotedAttributeValue':_0x40ee63['attributeValue'],'Is':_0x40ee63['definitionOperator'],'EntityReference\x20CharacterReference':_0x40ee63['character'],'Comment':_0x40ee63['blockComment'],'ProcessingInst':_0x40ee63['processingInstruction'],'DoctypeDecl':_0x40ee63['documentMeta']}),_0x2aa2af=_0xc445af['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':_0x512961,'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':[_0x183271],'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':[_0x5920ba,_0x580593,tC,_0x23802f,_0x2c2b41,_0x516c6c,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0x10]},'dialects':{'noMatch':0x0,'selfClosing':0x203},'tokenPrec':0x205});function _0xd47d21(_0x396385,_0x4b8b51){let _0x5a6a71=Object['create'](null);for(let _0x5ca024 of _0x396385['getChildren'](0x18)){let _0x3486c3=_0x5ca024['getChild'](0x19),_0x451ac8=_0x5ca024['getChild'](0x1b)||_0x5ca024['getChild'](0x1c);_0x3486c3&&(_0x5a6a71[_0x4b8b51['read'](_0x3486c3['from'],_0x3486c3['to'])]=_0x451ac8?0x1b==_0x451ac8['type']['id']?_0x4b8b51['read'](_0x451ac8['from']+0x1,_0x451ac8['to']-0x1):_0x4b8b51['read'](_0x451ac8['from'],_0x451ac8['to']):'');}return _0x5a6a71;}function _0x3771da(_0x2be329,_0x363d40){let _0x16e39d=_0x2be329['getChild'](0x17);return _0x16e39d?_0x363d40['read'](_0x16e39d['from'],_0x16e39d['to']):'\x20';}function _0x1cd74d(_0x1f03fd,_0x5134e5,_0xa0a3a3){let _0x57832c;for(let _0x2f56ac of _0xa0a3a3)if(!_0x2f56ac['attrs']||_0x2f56ac['attrs'](_0x57832c||(_0x57832c=_0xd47d21(_0x1f03fd['node']['parent']['firstChild'],_0x5134e5))))return{'parser':_0x2f56ac['parser']};return null;}function _0x393a18(_0x9b1837=[],_0x538496=[]){let _0xaa5303=[],_0x547cf0=[],_0x340ef0=[],_0x4761fc=[];for(let _0x266d61 of _0x9b1837){('script'==_0x266d61['tag']?_0xaa5303:'style'==_0x266d61['tag']?_0x547cf0:'textarea'==_0x266d61['tag']?_0x340ef0:_0x4761fc)['push'](_0x266d61);}let _0x52cfb3=_0x538496['length']?Object['create'](null):null;for(let _0x1ed82d of _0x538496)(_0x52cfb3[_0x1ed82d['name']]||(_0x52cfb3[_0x1ed82d['name']]=[]))['push'](_0x1ed82d);return _0x392f76((_0xca6f93,_0x800c6b)=>{let _0x4bf238=_0xca6f93['type']['id'];if(0x1d==_0x4bf238)return _0x1cd74d(_0xca6f93,_0x800c6b,_0xaa5303);if(0x20==_0x4bf238)return _0x1cd74d(_0xca6f93,_0x800c6b,_0x547cf0);if(0x23==_0x4bf238)return _0x1cd74d(_0xca6f93,_0x800c6b,_0x340ef0);if(0x15==_0x4bf238&&_0x4761fc['length']){let _0x522d45,_0xd1e412=_0xca6f93['node'],_0x39ec90=_0xd1e412['firstChild'],_0x1c6712=_0x39ec90&&_0x3771da(_0x39ec90,_0x800c6b);if(_0x1c6712){for(let _0x21877b of _0x4761fc)if(_0x21877b['tag']==_0x1c6712&&(!_0x21877b['attrs']||_0x21877b['attrs'](_0x522d45||(_0x522d45=_0xd47d21(_0x39ec90,_0x800c6b))))){let _0x21ae9d=_0xd1e412['lastChild'],_0x54e1d8=0x26==_0x21ae9d['type']['id']?_0x21ae9d['from']:_0xd1e412['to'];if(_0x54e1d8>_0x39ec90['to'])return{'parser':_0x21877b['parser'],'overlay':[{'from':_0x39ec90['to'],'to':_0x54e1d8}]};}}}if(_0x52cfb3&&0x18==_0x4bf238){let _0x4adbf3,_0x2c0eef=_0xca6f93['node'];if(_0x4adbf3=_0x2c0eef['firstChild']){let _0x4cad62=_0x52cfb3[_0x800c6b['read'](_0x4adbf3['from'],_0x4adbf3['to'])];if(_0x4cad62)for(let _0x17f202 of _0x4cad62){if(_0x17f202['tagName']&&_0x17f202['tagName']!=_0x3771da(_0x2c0eef['parent'],_0x800c6b))continue;let _0x20d978=_0x2c0eef['lastChild'];if(0x1b==_0x20d978['type']['id']){let _0xc030c0=_0x20d978['from']+0x1,_0x35dc30=_0x20d978['lastChild'],_0x3926d9=_0x20d978['to']-(_0x35dc30&&_0x35dc30['isError']?0x0:0x1);if(_0x3926d9>_0xc030c0)return{'parser':_0x17f202['parser'],'overlay':[{'from':_0xc030c0,'to':_0x3926d9}]};}else{if(0x1c==_0x20d978['type']['id'])return{'parser':_0x17f202['parser'],'overlay':[{'from':_0x20d978['from'],'to':_0x20d978['to']}]};}}}}return null;});}const _0x57279f=[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 _0x2b8875(_0x2bfcc9){return _0x2bfcc9>=0x41&&_0x2bfcc9<=0x5a||_0x2bfcc9>=0x61&&_0x2bfcc9<=0x7a||_0x2bfcc9>=0xa1;}function _0x34c61b(_0x1a03b3){return _0x1a03b3>=0x30&&_0x1a03b3<=0x39;}function _0xbc9b49(_0x1435e9){return _0x34c61b(_0x1435e9)||_0x1435e9>=0x61&&_0x1435e9<=0x66||_0x1435e9>=0x41&&_0x1435e9<=0x46;}const _0x52e117=(_0x4b980c,_0x250835,_0x33adc7)=>(_0x85d7ab,_0x1aff67)=>{for(let _0x9aeccb=!0x1,_0x1ebe32=0x0,_0x1d8c3c=0x0;;_0x1d8c3c++){let {next:_0x2a58f6}=_0x85d7ab;if(_0x2b8875(_0x2a58f6)||0x2d==_0x2a58f6||0x5f==_0x2a58f6||_0x9aeccb&&_0x34c61b(_0x2a58f6))!_0x9aeccb&&(0x2d!=_0x2a58f6||_0x1d8c3c>0x0)&&(_0x9aeccb=!0x0),_0x1ebe32===_0x1d8c3c&&0x2d==_0x2a58f6&&_0x1ebe32++,_0x85d7ab['advance']();else{if(0x5c!=_0x2a58f6||0xa==_0x85d7ab['peek'](0x1)){_0x9aeccb&&_0x85d7ab['acceptToken'](0x2==_0x1ebe32&&_0x1aff67['canShift'](0x2)?_0x250835:0x28==_0x2a58f6?_0x33adc7:_0x4b980c);break;}if(_0x85d7ab['advance'](),_0xbc9b49(_0x85d7ab['next'])){do{_0x85d7ab['advance']();}while(_0xbc9b49(_0x85d7ab['next']));0x20==_0x85d7ab['next']&&_0x85d7ab['advance']();}else _0x85d7ab['next']>-0x1&&_0x85d7ab['advance']();_0x9aeccb=!0x0;}}},_0x402ae9=new ExternalTokenizer(_0x52e117(0x7b,0x2,0x7c)),_0x282268=new ExternalTokenizer(_0x52e117(0x7d,0x3,0x4)),_0x463e2e=new ExternalTokenizer(_0x18f8ad=>{if(_0x57279f['includes'](_0x18f8ad['peek'](-0x1))){let {next:_0x32158e}=_0x18f8ad;(_0x2b8875(_0x32158e)||0x5f==_0x32158e||0x23==_0x32158e||0x2e==_0x32158e||0x2a==_0x32158e||0x5b==_0x32158e||0x3a==_0x32158e&&_0x2b8875(_0x18f8ad['peek'](0x1))||0x2d==_0x32158e||0x26==_0x32158e)&&_0x18f8ad['acceptToken'](0x7a);}}),_0x40ff7f=new ExternalTokenizer(_0x2907d9=>{if(!_0x57279f['includes'](_0x2907d9['peek'](-0x1))){let {next:_0x35bd76}=_0x2907d9;if(0x25==_0x35bd76&&(_0x2907d9['advance'](),_0x2907d9['acceptToken'](0x1)),_0x2b8875(_0x35bd76)){do{_0x2907d9['advance']();}while(_0x2b8875(_0x2907d9['next'])||_0x34c61b(_0x2907d9['next']));_0x2907d9['acceptToken'](0x1);}}}),_0x4758ff=_0x898146({'AtKeyword\x20import\x20charset\x20namespace\x20keyframes\x20media\x20supports':_0x40ee63['definitionKeyword'],'from\x20to\x20selector':_0x40ee63['keyword'],'NamespaceName':_0x40ee63['namespace'],'KeyframeName':_0x40ee63['labelName'],'KeyframeRangeName':_0x40ee63['operatorKeyword'],'TagName':_0x40ee63['tagName'],'ClassName':_0x40ee63['className'],'PseudoClassName':_0x40ee63['constant'](_0x40ee63['className']),'IdName':_0x40ee63['labelName'],'FeatureName\x20PropertyName':_0x40ee63['propertyName'],'AttributeName':_0x40ee63['attributeName'],'NumberLiteral':_0x40ee63['number'],'KeywordQuery':_0x40ee63['keyword'],'UnaryQueryOp':_0x40ee63['operatorKeyword'],'CallTag\x20ValueName':_0x40ee63['atom'],'VariableName':_0x40ee63['variableName'],'Callee':_0x40ee63['operatorKeyword'],'Unit':_0x40ee63['unit'],'UniversalSelector\x20NestingSelector':_0x40ee63['definitionOperator'],'MatchOp\x20CompareOp':_0x40ee63['compareOperator'],'ChildOp\x20SiblingOp,\x20LogicOp':_0x40ee63['logicOperator'],'BinOp':_0x40ee63['arithmeticOperator'],'Important':_0x40ee63['modifier'],'Comment':_0x40ee63['blockComment'],'ColorLiteral':_0x40ee63['color'],'ParenthesizedContent\x20StringLiteral':_0x40ee63['string'],':':_0x40ee63['punctuation'],'PseudoOp\x20#':_0x40ee63['derefOperator'],';\x20,':_0x40ee63['separator'],'(\x20)':_0x40ee63['paren'],'[\x20]':_0x40ee63['squareBracket'],'{\x20}':_0x40ee63['brace']}),_0x11bb8a={'__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},_0x694d0c={'__proto__':null,'or':0x62,'and':0x62,'not':0x6a,'only':0x6a,'layer':0xaa},_0xe34066={'__proto__':null,'selector':0x70,'layer':0xa6},_0x4d6039={'__proto__':null,'@import':0xa2,'@media':0xae,'@charset':0xb2,'@namespace':0xb6,'@keyframes':0xbc,'@supports':0xc8,'@scope':0xcc},_0x34b04a={'__proto__':null,'to':0xcf},_0x3158a3=_0xc445af['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':[_0x4758ff],'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':[_0x463e2e,_0x40ff7f,_0x402ae9,_0x282268,0x1,0x2,0x3,0x4,new _0x21dc9a('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':_0x4e9c0c=>_0x11bb8a[_0x4e9c0c]||-0x1},{'term':0x7d,'get':_0x4e6a32=>_0x694d0c[_0x4e6a32]||-0x1},{'term':0x4,'get':_0x65990f=>_0xe34066[_0x65990f]||-0x1},{'term':0x19,'get':_0x3f4f67=>_0x4d6039[_0x3f4f67]||-0x1},{'term':0x7b,'get':_0x4ca535=>_0x34b04a[_0x4ca535]||-0x1}],'tokenPrec':0x7ab});let _0x58c7d6=null;function _0x91f605(){if(!_0x58c7d6&&'object'==typeof document&&document['body']){let {style:_0xcd8a47}=document['body'],_0x5a7e93=[],_0x4b2c8d=new Set();for(let _0x55452c in _0xcd8a47)'cssText'!=_0x55452c&&'cssFloat'!=_0x55452c&&'string'==typeof _0xcd8a47[_0x55452c]&&(/[A-Z]/['test'](_0x55452c)&&(_0x55452c=_0x55452c['replace'](/[A-Z]/g,_0x293c5a=>'-'+_0x293c5a['toLowerCase']())),_0x4b2c8d['has'](_0x55452c)||(_0x5a7e93['push'](_0x55452c),_0x4b2c8d['add'](_0x55452c)));_0x58c7d6=_0x5a7e93['sort']()['map'](_0x274c59=>({'type':'property','label':_0x274c59,'apply':_0x274c59+':\x20'}));}return _0x58c7d6||[];}const _0x19f0b6=['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'](_0x5f5b8e=>({'type':'class','label':_0x5f5b8e})),_0x101004=['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'](_0x2c4973=>({'type':'keyword','label':_0x2c4973}))['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'](_0x4a57fc=>({'type':'constant','label':_0x4a57fc}))),_0x18af61=['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'](_0x17516e=>({'type':'type','label':_0x17516e})),_0x15642e=['@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'](_0xb66326=>({'type':'keyword','label':_0xb66326})),_0x301167=/^(\w[\w-]*|-\w[\w-]*|)$/,_0x58e09f=/^-(-[\w-]*)?$/,_0x44fa74=new _0x25971f(),_0x4b1dea=['Declaration'];function _0x452d29(_0x3dc208){for(let _0x55acb7=_0x3dc208;;){if(_0x55acb7['type']['isTop'])return _0x55acb7;if(!(_0x55acb7=_0x55acb7['parent']))return _0x3dc208;}}function _0x462dc1(_0x55f6bd,_0x5d9970,_0x4fe2c3){if(_0x5d9970['to']-_0x5d9970['from']>0x1000){let _0xcbdc1d=_0x44fa74['get'](_0x5d9970);if(_0xcbdc1d)return _0xcbdc1d;let _0x58bc8f=[],_0x211bd3=new Set(),_0x345e66=_0x5d9970['cursor'](_0x2a3c3d['IncludeAnonymous']);if(_0x345e66['firstChild']())do{for(let _0x2c4dd4 of _0x462dc1(_0x55f6bd,_0x345e66['node'],_0x4fe2c3))_0x211bd3['has'](_0x2c4dd4['label'])||(_0x211bd3['add'](_0x2c4dd4['label']),_0x58bc8f['push'](_0x2c4dd4));}while(_0x345e66['nextSibling']());return _0x44fa74['set'](_0x5d9970,_0x58bc8f),_0x58bc8f;}{let _0x4d7af8=[],_0x300ff5=new Set();return _0x5d9970['cursor']()['iterate'](_0x28fb36=>{var _0x5905c7;if(_0x4fe2c3(_0x28fb36)&&_0x28fb36['matchContext'](_0x4b1dea)&&':'==(null===(_0x5905c7=_0x28fb36['node']['nextSibling'])||void 0x0===_0x5905c7?void 0x0:_0x5905c7['name'])){let _0x37aeef=_0x55f6bd['sliceString'](_0x28fb36['from'],_0x28fb36['to']);_0x300ff5['has'](_0x37aeef)||(_0x300ff5['add'](_0x37aeef),_0x4d7af8['push']({'label':_0x37aeef,'type':'variable'}));}}),_0x4d7af8;}}const _0x350a38=_0x372994=>_0x5def81=>{let {state:_0x3396ad,pos:_0xec6d}=_0x5def81,_0x3b663b=_0x31f27d(_0x3396ad)['resolveInner'](_0xec6d,-0x1),_0x4ee0bf=_0x3b663b['type']['isError']&&_0x3b663b['from']==_0x3b663b['to']-0x1&&'-'==_0x3396ad['doc']['sliceString'](_0x3b663b['from'],_0x3b663b['to']);if('PropertyName'==_0x3b663b['name']||(_0x4ee0bf||'TagName'==_0x3b663b['name'])&&/^(Block|Styles)$/['test'](_0x3b663b['resolve'](_0x3b663b['to'])['name']))return{'from':_0x3b663b['from'],'options':_0x91f605(),'validFor':_0x301167};if('ValueName'==_0x3b663b['name'])return{'from':_0x3b663b['from'],'options':_0x101004,'validFor':_0x301167};if('PseudoClassName'==_0x3b663b['name'])return{'from':_0x3b663b['from'],'options':_0x19f0b6,'validFor':_0x301167};if(_0x372994(_0x3b663b)||(_0x5def81['explicit']||_0x4ee0bf)&&function(_0x3950fe,_0x1d8e88){var _0x44fd65;if(('('==_0x3950fe['name']||_0x3950fe['type']['isError'])&&(_0x3950fe=_0x3950fe['parent']||_0x3950fe),'ArgList'!=_0x3950fe['name'])return!0x1;let _0x4c71f3=null===(_0x44fd65=_0x3950fe['parent'])||void 0x0===_0x44fd65?void 0x0:_0x44fd65['firstChild'];return'Callee'==(null==_0x4c71f3?void 0x0:_0x4c71f3['name'])&&'var'==_0x1d8e88['sliceString'](_0x4c71f3['from'],_0x4c71f3['to']);}(_0x3b663b,_0x3396ad['doc']))return{'from':_0x372994(_0x3b663b)||_0x4ee0bf?_0x3b663b['from']:_0xec6d,'options':_0x462dc1(_0x3396ad['doc'],_0x452d29(_0x3b663b),_0x372994),'validFor':_0x58e09f};if('TagName'==_0x3b663b['name']){for(let {parent:_0x4e6a83}=_0x3b663b;_0x4e6a83;_0x4e6a83=_0x4e6a83['parent'])if('Block'==_0x4e6a83['name'])return{'from':_0x3b663b['from'],'options':_0x91f605(),'validFor':_0x301167};return{'from':_0x3b663b['from'],'options':_0x18af61,'validFor':_0x301167};}if('AtKeyword'==_0x3b663b['name'])return{'from':_0x3b663b['from'],'options':_0x15642e,'validFor':_0x301167};if(!_0x5def81['explicit'])return null;let _0x4beba7=_0x3b663b['resolve'](_0xec6d),_0x2f0afd=_0x4beba7['childBefore'](_0xec6d);return _0x2f0afd&&':'==_0x2f0afd['name']&&'PseudoClassSelector'==_0x4beba7['name']?{'from':_0xec6d,'options':_0x19f0b6,'validFor':_0x301167}:_0x2f0afd&&':'==_0x2f0afd['name']&&'Declaration'==_0x4beba7['name']||'ArgList'==_0x4beba7['name']?{'from':_0xec6d,'options':_0x101004,'validFor':_0x301167}:'Block'==_0x4beba7['name']||'Styles'==_0x4beba7['name']?{'from':_0xec6d,'options':_0x91f605(),'validFor':_0x301167}:null;},_0x2e9bc8=_0x350a38(_0x3f9233=>'VariableName'==_0x3f9233['name']),_0x3d3853=_0x40eeca['define']({'name':'css','parser':_0x3158a3['configure']({'props':[_0x50ecc3['add']({'Declaration':_0xb24f12()}),_0x442d29['add']({'Block\x20KeyframeList':_0x1de5a4})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}}),_0x56ccab=[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],_0x1e1576=new ContextTracker({'start':!0x1,'shift':(_0x596bfa,_0x50eb26)=>0x5==_0x50eb26||0x6==_0x50eb26||0x140==_0x50eb26?_0x596bfa:0x141==_0x50eb26,'strict':!0x1}),_0x40058b=new ExternalTokenizer((_0x16892d,_0x2e0fd0)=>{let {next:_0x5e169f}=_0x16892d;(0x7d==_0x5e169f||-0x1==_0x5e169f||_0x2e0fd0['context'])&&_0x16892d['acceptToken'](0x13e);},{'contextual':!0x0,'fallback':!0x0}),_0x373cb8=new ExternalTokenizer((_0x310c05,_0x1f96c3)=>{let _0x31d618,{next:_0x40c147}=_0x310c05;_0x56ccab['indexOf'](_0x40c147)>-0x1||(0x2f!=_0x40c147||0x2f!=(_0x31d618=_0x310c05['peek'](0x1))&&0x2a!=_0x31d618)&&(0x7d==_0x40c147||0x3b==_0x40c147||-0x1==_0x40c147||_0x1f96c3['context']||_0x310c05['acceptToken'](0x13c));},{'contextual':!0x0}),_0x359b07=new ExternalTokenizer((_0x49b441,_0xd80e57)=>{0x5b!=_0x49b441['next']||_0xd80e57['context']||_0x49b441['acceptToken'](0x13d);},{'contextual':!0x0}),_0xd2d5e4=new ExternalTokenizer((_0x11f678,_0xc05427)=>{let {next:_0x24f60e}=_0x11f678;if(0x2b==_0x24f60e||0x2d==_0x24f60e){if(_0x11f678['advance'](),_0x24f60e==_0x11f678['next']){_0x11f678['advance']();let _0x11a0d4=!_0xc05427['context']&&_0xc05427['canShift'](0x1);_0x11f678['acceptToken'](_0x11a0d4?0x1:0x2);}}else 0x3f==_0x24f60e&&0x2e==_0x11f678['peek'](0x1)&&(_0x11f678['advance'](),_0x11f678['advance'](),(_0x11f678['next']<0x30||_0x11f678['next']>0x39)&&_0x11f678['acceptToken'](0x3));},{'contextual':!0x0});function _0x141214(_0x432c1b,_0x232f92){return _0x432c1b>=0x41&&_0x432c1b<=0x5a||_0x432c1b>=0x61&&_0x432c1b<=0x7a||0x5f==_0x432c1b||_0x432c1b>=0xc0||!_0x232f92&&_0x432c1b>=0x30&&_0x432c1b<=0x39;}const _0x1f0aae=new ExternalTokenizer((_0x31b1e7,_0x4784da)=>{if(0x3c!=_0x31b1e7['next']||!_0x4784da['dialectEnabled'](0x0))return;if(_0x31b1e7['advance'](),0x2f==_0x31b1e7['next'])return;let _0x5b07a8=0x0;for(;_0x56ccab['indexOf'](_0x31b1e7['next'])>-0x1;)_0x31b1e7['advance'](),_0x5b07a8++;if(_0x141214(_0x31b1e7['next'],!0x0)){for(_0x31b1e7['advance'](),_0x5b07a8++;_0x141214(_0x31b1e7['next'],!0x1);)_0x31b1e7['advance'](),_0x5b07a8++;for(;_0x56ccab['indexOf'](_0x31b1e7['next'])>-0x1;)_0x31b1e7['advance'](),_0x5b07a8++;if(0x2c==_0x31b1e7['next'])return;for(let _0x2dfa14=0x0;;_0x2dfa14++){if(0x7==_0x2dfa14){if(!_0x141214(_0x31b1e7['next'],!0x0))return;break;}if(_0x31b1e7['next']!='extends'['charCodeAt'](_0x2dfa14))break;_0x31b1e7['advance'](),_0x5b07a8++;}}_0x31b1e7['acceptToken'](0x4,-_0x5b07a8);}),_0x4d478e=_0x898146({'get\x20set\x20async\x20static':_0x40ee63['modifier'],'for\x20while\x20do\x20if\x20else\x20switch\x20try\x20catch\x20finally\x20return\x20throw\x20break\x20continue\x20default\x20case\x20defer':_0x40ee63['controlKeyword'],'in\x20of\x20await\x20yield\x20void\x20typeof\x20delete\x20instanceof\x20as\x20satisfies':_0x40ee63['operatorKeyword'],'let\x20var\x20const\x20using\x20function\x20class\x20extends':_0x40ee63['definitionKeyword'],'import\x20export\x20from':_0x40ee63['moduleKeyword'],'with\x20debugger\x20new':_0x40ee63['keyword'],'TemplateString':_0x40ee63['special'](_0x40ee63['string']),'super':_0x40ee63['atom'],'BooleanLiteral':_0x40ee63['bool'],'this':_0x40ee63['self'],'null':_0x40ee63['null'],'Star':_0x40ee63['modifier'],'VariableName':_0x40ee63['variableName'],'CallExpression/VariableName\x20TaggedTemplateExpression/VariableName':_0x40ee63['function'](_0x40ee63['variableName']),'VariableDefinition':_0x40ee63['definition'](_0x40ee63['variableName']),'Label':_0x40ee63['labelName'],'PropertyName':_0x40ee63['propertyName'],'PrivatePropertyName':_0x40ee63['special'](_0x40ee63['propertyName']),'CallExpression/MemberExpression/PropertyName':_0x40ee63['function'](_0x40ee63['propertyName']),'FunctionDeclaration/VariableDefinition':_0x40ee63['function'](_0x40ee63['definition'](_0x40ee63['variableName'])),'ClassDeclaration/VariableDefinition':_0x40ee63['definition'](_0x40ee63['className']),'NewExpression/VariableName':_0x40ee63['className'],'PropertyDefinition':_0x40ee63['definition'](_0x40ee63['propertyName']),'PrivatePropertyDefinition':_0x40ee63['definition'](_0x40ee63['special'](_0x40ee63['propertyName'])),'UpdateOp':_0x40ee63['updateOperator'],'LineComment\x20Hashbang':_0x40ee63['lineComment'],'BlockComment':_0x40ee63['blockComment'],'Number':_0x40ee63['number'],'String':_0x40ee63['string'],'Escape':_0x40ee63['escape'],'ArithOp':_0x40ee63['arithmeticOperator'],'LogicOp':_0x40ee63['logicOperator'],'BitOp':_0x40ee63['bitwiseOperator'],'CompareOp':_0x40ee63['compareOperator'],'RegExp':_0x40ee63['regexp'],'Equals':_0x40ee63['definitionOperator'],'Arrow':_0x40ee63['function'](_0x40ee63['punctuation']),':\x20Spread':_0x40ee63['punctuation'],'(\x20)':_0x40ee63['paren'],'[\x20]':_0x40ee63['squareBracket'],'{\x20}':_0x40ee63['brace'],'InterpolationStart\x20InterpolationEnd':_0x40ee63['special'](_0x40ee63['brace']),'.':_0x40ee63['derefOperator'],',\x20;':_0x40ee63['separator'],'@':_0x40ee63['meta'],'TypeName':_0x40ee63['typeName'],'TypeDefinition':_0x40ee63['definition'](_0x40ee63['typeName']),'type\x20enum\x20interface\x20implements\x20namespace\x20module\x20declare':_0x40ee63['definitionKeyword'],'abstract\x20global\x20Privacy\x20readonly\x20override':_0x40ee63['modifier'],'is\x20keyof\x20unique\x20infer\x20asserts':_0x40ee63['operatorKeyword'],'JSXAttributeValue':_0x40ee63['attributeValue'],'JSXText':_0x40ee63['content'],'JSXStartTag\x20JSXStartCloseTag\x20JSXSelfCloseEndTag\x20JSXEndTag':_0x40ee63['angleBracket'],'JSXIdentifier\x20JSXNameSpacedName':_0x40ee63['tagName'],'JSXAttribute/JSXIdentifier\x20JSXAttribute/JSXNameSpacedName':_0x40ee63['attributeName'],'JSXBuiltin/JSXIdentifier':_0x40ee63['standard'](_0x40ee63['tagName'])}),_0xf78d6a={'__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},_0xfaeebd={'__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},_0x2b1602={'__proto__':null,'<':0xc1},_0x8e40e0=_0xc445af['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':_0x1e1576,'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':[_0x4d478e],'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':[_0x373cb8,_0x359b07,_0xd2d5e4,_0x1f0aae,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,_0x40058b,new _0x21dc9a('$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 _0x21dc9a('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':_0x46491f=>_0xf78d6a[_0x46491f]||-0x1},{'term':0x157,'get':_0x90006=>_0xfaeebd[_0x90006]||-0x1},{'term':0x5f,'get':_0x429994=>_0x2b1602[_0x429994]||-0x1}],'tokenPrec':0x3b61}),_0x1b2791=[_0x469f6c('function\x20${name}(${params})\x20{\x0a\x09${}\x0a}',{'label':'function','detail':'definition','type':'keyword'}),_0x469f6c('for\x20(let\x20${index}\x20=\x200;\x20${index}\x20<\x20${bound};\x20${index}++)\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'loop','type':'keyword'}),_0x469f6c('for\x20(let\x20${name}\x20of\x20${collection})\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'of\x20loop','type':'keyword'}),_0x469f6c('do\x20{\x0a\x09${}\x0a}\x20while\x20(${})',{'label':'do','detail':'loop','type':'keyword'}),_0x469f6c('while\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'while','detail':'loop','type':'keyword'}),_0x469f6c('try\x20{\x0a\x09${}\x0a}\x20catch\x20(${error})\x20{\x0a\x09${}\x0a}',{'label':'try','detail':'/\x20catch\x20block','type':'keyword'}),_0x469f6c('if\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'block','type':'keyword'}),_0x469f6c('if\x20(${})\x20{\x0a\x09${}\x0a}\x20else\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'/\x20else\x20block','type':'keyword'}),_0x469f6c('class\x20${name}\x20{\x0a\x09constructor(${params})\x20{\x0a\x09\x09${}\x0a\x09}\x0a}',{'label':'class','detail':'definition','type':'keyword'}),_0x469f6c('import\x20{${names}}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'named','type':'keyword'}),_0x469f6c('import\x20${name}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'default','type':'keyword'})],_0x1871bb=_0x1b2791['concat']([_0x469f6c('interface\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'interface','detail':'definition','type':'keyword'}),_0x469f6c('type\x20${name}\x20=\x20${type}',{'label':'type','detail':'definition','type':'keyword'}),_0x469f6c('enum\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'enum','detail':'definition','type':'keyword'})]),_0x205e84=new _0x25971f(),tk=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function _0x23712d(_0x4704e6){return(_0x22377d,_0x9f995e)=>{let _0x3d9054=_0x22377d['node']['getChild']('VariableDefinition');return _0x3d9054&&_0x9f995e(_0x3d9054,_0x4704e6),!0x0;};}const _0x558cdb=['FunctionDeclaration'],_0x313a85={'FunctionDeclaration':_0x23712d('function'),'ClassDeclaration':_0x23712d('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':_0x23712d('constant'),'TypeAliasDeclaration':_0x23712d('type'),'NamespaceDeclaration':_0x23712d('namespace'),'VariableDefinition'(_0x345716,_0x1eb3dc){_0x345716['matchContext'](_0x558cdb)||_0x1eb3dc(_0x345716,'variable');},'TypeDefinition'(_0x39dbf4,_0x105638){_0x105638(_0x39dbf4,'type');},'__proto__':null};function _0xec1527(_0x12fd06,_0x1d669c){let _0x31e3bd=_0x205e84['get'](_0x1d669c);if(_0x31e3bd)return _0x31e3bd;let _0x20c292=[],_0x346d96=!0x0;function _0x336b8e(_0x1c746e,_0x110ee3){let _0x23d107=_0x12fd06['sliceString'](_0x1c746e['from'],_0x1c746e['to']);_0x20c292['push']({'label':_0x23d107,'type':_0x110ee3});}return _0x1d669c['cursor'](_0x2a3c3d['IncludeAnonymous'])['iterate'](_0x41c2ed=>{if(_0x346d96)_0x346d96=!0x1;else{if(_0x41c2ed['name']){let _0x25e6a4=_0x313a85[_0x41c2ed['name']];if(_0x25e6a4&&_0x25e6a4(_0x41c2ed,_0x336b8e)||tk['has'](_0x41c2ed['name']))return!0x1;}else{if(_0x41c2ed['to']-_0x41c2ed['from']>0x2000){for(let _0x2f7697 of _0xec1527(_0x12fd06,_0x41c2ed['node']))_0x20c292['push'](_0x2f7697);return!0x1;}}}}),_0x205e84['set'](_0x1d669c,_0x20c292),_0x20c292;}const _0x5f0502=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,_0x2d137d=['TemplateString','String','RegExp','LineComment','BlockComment','VariableDefinition','TypeDefinition','Label','PropertyDefinition','PropertyName','PrivatePropertyDefinition','PrivatePropertyName','JSXText','JSXAttributeValue','JSXOpenTag','JSXCloseTag','JSXSelfClosingTag','.','?.'];function _0x109dee(_0x374ed0){let _0x1d21ca=_0x31f27d(_0x374ed0['state'])['resolveInner'](_0x374ed0['pos'],-0x1);if(_0x2d137d['indexOf'](_0x1d21ca['name'])>-0x1)return null;let _0x1dc473='VariableName'==_0x1d21ca['name']||_0x1d21ca['to']-_0x1d21ca['from']<0x14&&_0x5f0502['test'](_0x374ed0['state']['sliceDoc'](_0x1d21ca['from'],_0x1d21ca['to']));if(!_0x1dc473&&!_0x374ed0['explicit'])return null;let _0x55750e=[];for(let _0x254123=_0x1d21ca;_0x254123;_0x254123=_0x254123['parent'])tk['has'](_0x254123['name'])&&(_0x55750e=_0x55750e['concat'](_0xec1527(_0x374ed0['state']['doc'],_0x254123)));return{'options':_0x55750e,'from':_0x1dc473?_0x1d21ca['from']:_0x374ed0['pos'],'validFor':_0x5f0502};}const _0x2811d4=_0x40eeca['define']({'name':'javascript','parser':_0x8e40e0['configure']({'props':[_0x50ecc3['add']({'IfStatement':_0xb24f12({'except':/^\s*({|else\b)/}),'TryStatement':_0xb24f12({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':_0x6dfba0=>_0x6dfba0['baseIndent'],'SwitchBody':_0xff9d12=>{let _0x2d241d=_0xff9d12['textAfter'],_0x4b3c79=/^\s*\}/['test'](_0x2d241d),_0x17b3d6=/^\s*(case|default)\b/['test'](_0x2d241d);return _0xff9d12['baseIndent']+(_0x4b3c79?0x0:_0x17b3d6?0x1:0x2)*_0xff9d12['unit'];},'Block':_0x175c28({'closing':'}'}),'ArrowFunction':_0x47b66b=>_0x47b66b['baseIndent']+_0x47b66b['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':_0xb24f12({'except':/^\s*{/}),'JSXElement'(_0x10bed4){let _0x504688=/^\s*<\//['test'](_0x10bed4['textAfter']);return _0x10bed4['lineIndent'](_0x10bed4['node']['from'])+(_0x504688?0x0:_0x10bed4['unit']);},'JSXEscape'(_0x3eaca4){let _0x4e6737=/\s*\}/['test'](_0x3eaca4['textAfter']);return _0x3eaca4['lineIndent'](_0x3eaca4['node']['from'])+(_0x4e6737?0x0:_0x3eaca4['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0x440ca5=>_0x440ca5['column'](_0x440ca5['node']['from'])+_0x440ca5['unit']}),_0x442d29['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':_0x1de5a4,'BlockComment':_0x16b908=>({'from':_0x16b908['from']+0x2,'to':_0x16b908['to']-0x2})})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),_0x173d3a={'test':_0x459e23=>/^JSX/['test'](_0x459e23['name']),'facet':_0x409fad({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},_0x28f3f2=_0x2811d4['configure']({'dialect':'ts'},'typescript'),_0x306a28=_0x2811d4['configure']({'dialect':'jsx','props':[_0xd306b1['add'](_0x25d33e=>_0x25d33e['isTop']?[_0x173d3a]:void 0x0)]}),_0x456d05=_0x2811d4['configure']({'dialect':'jsx\x20ts','props':[_0xd306b1['add'](_0x129d38=>_0x129d38['isTop']?[_0x173d3a]:void 0x0)]},'typescript');let _0x5d9d84=_0x2566c0=>({'label':_0x2566c0,'type':'keyword'});const _0x283c78='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'](_0x5d9d84),_0x425fb3=_0x283c78['concat'](['declare','implements','private','protected','public']['map'](_0x5d9d84));function _0x3ab42f(_0x533a97={}){let _0x2793f8=_0x533a97['jsx']?_0x533a97['typescript']?_0x456d05:_0x306a28:_0x533a97['typescript']?_0x28f3f2:_0x2811d4,_0x44de7b=_0x533a97['typescript']?_0x1871bb['concat'](_0x425fb3):_0x1b2791['concat'](_0x283c78);return new LanguageSupport(_0x2793f8,[_0x2811d4['data']['of']({'autocomplete':(_0x290f55=_0x2d137d,_0x337460=_0x17a2cd(_0x44de7b),_0x52873a=>{for(let _0x1beda9=_0x31f27d(_0x52873a['state'])['resolveInner'](_0x52873a['pos'],-0x1);_0x1beda9;_0x1beda9=_0x1beda9['parent']){if(_0x290f55['indexOf'](_0x1beda9['name'])>-0x1)return null;if(_0x1beda9['type']['isTop'])break;}return _0x337460(_0x52873a);})}),_0x2811d4['data']['of']({'autocomplete':_0x109dee}),_0x533a97['jsx']?_0x35d425:[]]);var _0x290f55,_0x337460;}function _0x3ccc04(_0x9e6212,_0x1706c7,_0x3b9383=_0x9e6212['length']){for(let _0x5ce0ec=null==_0x1706c7?void 0x0:_0x1706c7['firstChild'];_0x5ce0ec;_0x5ce0ec=_0x5ce0ec['nextSibling'])if('JSXIdentifier'==_0x5ce0ec['name']||'JSXBuiltin'==_0x5ce0ec['name']||'JSXNamespacedName'==_0x5ce0ec['name']||'JSXMemberExpression'==_0x5ce0ec['name'])return _0x9e6212['sliceString'](_0x5ce0ec['from'],Math['min'](_0x5ce0ec['to'],_0x3b9383));return'';}const _0x3cef70='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),_0x35d425=EditorView['inputHandler']['of']((_0x54c18f,_0x4daf78,_0x1f010a,_0x3075ed,_0xe4d5ee)=>{if((_0x3cef70?_0x54c18f['composing']:_0x54c18f['compositionStarted'])||_0x54c18f['state']['readOnly']||_0x4daf78!=_0x1f010a||'>'!=_0x3075ed&&'/'!=_0x3075ed||!_0x2811d4['isActiveAt'](_0x54c18f['state'],_0x4daf78,-0x1))return!0x1;let _0x2070b1=_0xe4d5ee(),{state:_0x3f6b2d}=_0x2070b1,_0x55efad=_0x3f6b2d['changeByRange'](_0x31f053=>{var _0x451980;let _0x5b6cf5,{head:_0xb6aeef}=_0x31f053,_0x17de54=_0x31f27d(_0x3f6b2d)['resolveInner'](_0xb6aeef-0x1,-0x1);if('JSXStartTag'==_0x17de54['name']&&(_0x17de54=_0x17de54['parent']),_0x3f6b2d['doc']['sliceString'](_0xb6aeef-0x1,_0xb6aeef)!=_0x3075ed||'JSXAttributeValue'==_0x17de54['name']&&_0x17de54['to']>_0xb6aeef);else{if('>'==_0x3075ed&&'JSXFragmentTag'==_0x17de54['name'])return{'range':_0x31f053,'changes':{'from':_0xb6aeef,'insert':'</>'}};if('/'==_0x3075ed&&'JSXStartCloseTag'==_0x17de54['name']){let _0x5a7dea=_0x17de54['parent'],_0x3377ff=_0x5a7dea['parent'];if(_0x3377ff&&_0x5a7dea['from']==_0xb6aeef-0x2&&((_0x5b6cf5=_0x3ccc04(_0x3f6b2d['doc'],_0x3377ff['firstChild'],_0xb6aeef))||'JSXFragmentTag'==(null===(_0x451980=_0x3377ff['firstChild'])||void 0x0===_0x451980?void 0x0:_0x451980['name']))){let _0x16f562=_0x5b6cf5+'>';return{'range':EditorSelection['cursor'](_0xb6aeef+_0x16f562['length'],-0x1),'changes':{'from':_0xb6aeef,'insert':_0x16f562}};}}else{if('>'==_0x3075ed){let _0xf00b6b=function(_0x5b3b22){for(;;){if('JSXOpenTag'==_0x5b3b22['name']||'JSXSelfClosingTag'==_0x5b3b22['name']||'JSXFragmentTag'==_0x5b3b22['name'])return _0x5b3b22;if('JSXEscape'==_0x5b3b22['name']||!_0x5b3b22['parent'])return null;_0x5b3b22=_0x5b3b22['parent'];}}(_0x17de54);if(_0xf00b6b&&'JSXOpenTag'==_0xf00b6b['name']&&!/^\/?>|^<\//['test'](_0x3f6b2d['doc']['sliceString'](_0xb6aeef,_0xb6aeef+0x2))&&(_0x5b6cf5=_0x3ccc04(_0x3f6b2d['doc'],_0xf00b6b,_0xb6aeef)))return{'range':_0x31f053,'changes':{'from':_0xb6aeef,'insert':'</'+_0x5b6cf5+'>'}};}}}return{'range':_0x31f053};});return!_0x55efad['changes']['empty']&&(_0x54c18f['dispatch']([_0x2070b1,_0x3f6b2d['update'](_0x55efad,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),_0x3c1a00=['_blank','_self','_top','_parent'],_0x3c9021=['ascii','utf-8','utf-16','latin1','latin1'],_0x9fef99=['get','post','put','delete'],_0x398168=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],_0x1aacd7=['true','false'],_0x3e296a={},_0x3e4193={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':_0x3c1a00,'hreflang':null}},'abbr':_0x3e296a,'address':_0x3e296a,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':_0x3e296a,'aside':_0x3e296a,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':_0x3e296a,'base':{'attrs':{'href':null,'target':_0x3c1a00}},'bdi':_0x3e296a,'bdo':_0x3e296a,'blockquote':{'attrs':{'cite':null}},'body':_0x3e296a,'br':_0x3e296a,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':_0x398168,'formmethod':_0x9fef99,'formnovalidate':['novalidate'],'formtarget':_0x3c1a00,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':_0x3e296a,'center':_0x3e296a,'cite':_0x3e296a,'code':_0x3e296a,'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':_0x3e296a,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':_0x3e296a,'div':_0x3e296a,'dl':_0x3e296a,'dt':_0x3e296a,'em':_0x3e296a,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':_0x3e296a,'figure':_0x3e296a,'footer':_0x3e296a,'form':{'attrs':{'action':null,'name':null,'accept-charset':_0x3c9021,'autocomplete':['on','off'],'enctype':_0x398168,'method':_0x9fef99,'novalidate':['novalidate'],'target':_0x3c1a00}},'h1':_0x3e296a,'h2':_0x3e296a,'h3':_0x3e296a,'h4':_0x3e296a,'h5':_0x3e296a,'h6':_0x3e296a,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':_0x3e296a,'hgroup':_0x3e296a,'hr':_0x3e296a,'html':{'attrs':{'manifest':null}},'i':_0x3e296a,'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':_0x398168,'formmethod':_0x9fef99,'formnovalidate':['novalidate'],'formtarget':_0x3c1a00,'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':_0x3e296a,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':_0x3e296a,'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':_0x3e296a,'menu':{'attrs':{'label':null,'type':['list','context','toolbar']}},'meta':{'attrs':{'content':null,'charset':_0x3c9021,'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':_0x3e296a,'noscript':_0x3e296a,'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':_0x3e296a,'param':{'attrs':{'name':null,'value':null}},'pre':_0x3e296a,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':_0x3e296a,'rt':_0x3e296a,'ruby':_0x3e296a,'samp':_0x3e296a,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':_0x3c9021}},'section':_0x3e296a,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':_0x3e296a,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':_0x3e296a,'strong':_0x3e296a,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':_0x3e296a,'summary':_0x3e296a,'sup':_0x3e296a,'table':_0x3e296a,'tbody':_0x3e296a,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':_0x3e296a,'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':_0x3e296a,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':_0x3e296a,'time':{'attrs':{'datetime':null}},'title':_0x3e296a,'tr':_0x3e296a,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':_0x3e296a,'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':_0x3e296a},_0x301b35={'accesskey':null,'class':null,'contenteditable':_0x1aacd7,'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':_0x1aacd7,'autocorrect':_0x1aacd7,'autocapitalize':_0x1aacd7,'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':_0x1aacd7,'aria-autocomplete':['inline','list','both','none'],'aria-busy':_0x1aacd7,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':_0x1aacd7,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':_0x1aacd7,'aria-hidden':_0x1aacd7,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':_0x1aacd7,'aria-multiselectable':_0x1aacd7,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':_0x1aacd7,'aria-relevant':null,'aria-required':_0x1aacd7,'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},_0x1fed69='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'](_0x40edd8=>'on'+_0x40edd8);for(let _0x2159ee of _0x1fed69)_0x301b35[_0x2159ee]=null;class _0x3aeebc{constructor(_0x2c0e7b,_0x125067){this['tags']={..._0x3e4193,..._0x2c0e7b},this['globalAttrs']={..._0x301b35,..._0x125067},this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}}function _0x52f283(_0xdd92e4,_0x4a53ca,_0x14c510=_0xdd92e4['length']){if(!_0x4a53ca)return'';let _0x48776f=_0x4a53ca['firstChild'],_0x2192d2=_0x48776f&&_0x48776f['getChild']('TagName');return _0x2192d2?_0xdd92e4['sliceString'](_0x2192d2['from'],Math['min'](_0x2192d2['to'],_0x14c510)):'';}function _0x47971c(_0x162e33,_0x4e97d3=!0x1){for(;_0x162e33;_0x162e33=_0x162e33['parent'])if('Element'==_0x162e33['name']){if(!_0x4e97d3)return _0x162e33;_0x4e97d3=!0x1;}return null;}function _0x21468c(_0x4e5b31,_0x477e55,_0x1a6ec9){let _0x4b0dc7=_0x1a6ec9['tags'][_0x52f283(_0x4e5b31,_0x47971c(_0x477e55))];return(null==_0x4b0dc7?void 0x0:_0x4b0dc7['children'])||_0x1a6ec9['allTags'];}function _0x10e618(_0x499133,_0x3e142f){let _0x5899da=[];for(let _0x37000e=_0x47971c(_0x3e142f);_0x37000e&&!_0x37000e['type']['isTop'];_0x37000e=_0x47971c(_0x37000e['parent'])){let _0x5639d7=_0x52f283(_0x499133,_0x37000e);if(_0x5639d7&&'CloseTag'==_0x37000e['lastChild']['name'])break;_0x5639d7&&_0x5899da['indexOf'](_0x5639d7)<0x0&&('EndTag'==_0x3e142f['name']||_0x3e142f['from']>=_0x37000e['firstChild']['to'])&&_0x5899da['push'](_0x5639d7);}return _0x5899da;}_0x3aeebc['default']=new _0x3aeebc();const _0x58b795=/^[:\-\.\w\u00b7-\uffff]*$/;function _0x483471(_0x24e08b,_0x5a1736,_0x562ee8,_0x502692,_0xf157a0){let _0x5d4e36=/\s*>/['test'](_0x24e08b['sliceDoc'](_0xf157a0,_0xf157a0+0x5))?'':'>',_0x3b5b6e=_0x47971c(_0x562ee8,'StartTag'==_0x562ee8['name']||'TagName'==_0x562ee8['name']);return{'from':_0x502692,'to':_0xf157a0,'options':_0x21468c(_0x24e08b['doc'],_0x3b5b6e,_0x5a1736)['map'](_0xae64cb=>({'label':_0xae64cb,'type':'type'}))['concat'](_0x10e618(_0x24e08b['doc'],_0x562ee8)['map']((_0x342b0f,_0x50059b)=>({'label':'/'+_0x342b0f,'apply':'/'+_0x342b0f+_0x5d4e36,'type':'type','boost':0x63-_0x50059b}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function _0xfd762d(_0xddc6cc,_0x40f70e,_0x14754d,_0x13ef22){let _0x2947b1=/\s*>/['test'](_0xddc6cc['sliceDoc'](_0x13ef22,_0x13ef22+0x5))?'':'>';return{'from':_0x14754d,'to':_0x13ef22,'options':_0x10e618(_0xddc6cc['doc'],_0x40f70e)['map']((_0x128052,_0x1ffacc)=>({'label':_0x128052,'apply':_0x128052+_0x2947b1,'type':'type','boost':0x63-_0x1ffacc})),'validFor':_0x58b795};}function _0x44af9a(_0x25e11d,_0xcbf904){let {state:_0x1bc1a7,pos:_0x59d555}=_0xcbf904,_0x3a5630=_0x31f27d(_0x1bc1a7)['resolveInner'](_0x59d555,-0x1),_0x44b8a0=_0x3a5630['resolve'](_0x59d555);for(let _0x281355,_0x2bd4e1=_0x59d555;_0x44b8a0==_0x3a5630&&(_0x281355=_0x3a5630['childBefore'](_0x2bd4e1));){let _0x493f14=_0x281355['lastChild'];if(!_0x493f14||!_0x493f14['type']['isError']||_0x493f14['from']<_0x493f14['to'])break;_0x44b8a0=_0x3a5630=_0x281355,_0x2bd4e1=_0x493f14['from'];}return'TagName'==_0x3a5630['name']?_0x3a5630['parent']&&/CloseTag$/['test'](_0x3a5630['parent']['name'])?_0xfd762d(_0x1bc1a7,_0x3a5630,_0x3a5630['from'],_0x59d555):_0x483471(_0x1bc1a7,_0x25e11d,_0x3a5630,_0x3a5630['from'],_0x59d555):'StartTag'==_0x3a5630['name']||'IncompleteTag'==_0x3a5630['name']?_0x483471(_0x1bc1a7,_0x25e11d,_0x3a5630,_0x59d555,_0x59d555):'StartCloseTag'==_0x3a5630['name']||'IncompleteCloseTag'==_0x3a5630['name']?_0xfd762d(_0x1bc1a7,_0x3a5630,_0x59d555,_0x59d555):'OpenTag'==_0x3a5630['name']||'SelfClosingTag'==_0x3a5630['name']||'AttributeName'==_0x3a5630['name']?function(_0x59af3e,_0x42e23a,_0x592c35,_0x3e1454,_0x149fc8){let _0x400529=_0x47971c(_0x592c35),_0x3a4e1b=_0x400529?_0x42e23a['tags'][_0x52f283(_0x59af3e['doc'],_0x400529)]:null,_0x20c4fd=_0x3a4e1b&&_0x3a4e1b['attrs']?Object['keys'](_0x3a4e1b['attrs']):[];return{'from':_0x3e1454,'to':_0x149fc8,'options':(_0x3a4e1b&&!0x1===_0x3a4e1b['globalAttrs']?_0x20c4fd:_0x20c4fd['length']?_0x20c4fd['concat'](_0x42e23a['globalAttrNames']):_0x42e23a['globalAttrNames'])['map'](_0x503331=>({'label':_0x503331,'type':'property'})),'validFor':_0x58b795};}(_0x1bc1a7,_0x25e11d,_0x3a5630,'AttributeName'==_0x3a5630['name']?_0x3a5630['from']:_0x59d555,_0x59d555):'Is'==_0x3a5630['name']||'AttributeValue'==_0x3a5630['name']||'UnquotedAttributeValue'==_0x3a5630['name']?function(_0x499d18,_0x248137,_0x456f01,_0x27ad5e,_0x25ec7e){var _0x45e1b0;let _0xe9f253,_0x539f52=null===(_0x45e1b0=_0x456f01['parent'])||void 0x0===_0x45e1b0?void 0x0:_0x45e1b0['getChild']('AttributeName'),_0x257f7e=[];if(_0x539f52){let _0x1cb82b=_0x499d18['sliceDoc'](_0x539f52['from'],_0x539f52['to']),_0x4a4588=_0x248137['globalAttrs'][_0x1cb82b];if(!_0x4a4588){let _0x3304ad=_0x47971c(_0x456f01),_0x1adb76=_0x3304ad?_0x248137['tags'][_0x52f283(_0x499d18['doc'],_0x3304ad)]:null;_0x4a4588=(null==_0x1adb76?void 0x0:_0x1adb76['attrs'])&&_0x1adb76['attrs'][_0x1cb82b];}if(_0x4a4588){let _0x9e496a=_0x499d18['sliceDoc'](_0x27ad5e,_0x25ec7e)['toLowerCase'](),_0x255796='\x22',_0x4e62c5='\x22';/^['"]/['test'](_0x9e496a)?(_0xe9f253='\x22'==_0x9e496a[0x0]?/^[^"]*$/:/^[^']*$/,_0x255796='',_0x4e62c5=_0x499d18['sliceDoc'](_0x25ec7e,_0x25ec7e+0x1)==_0x9e496a[0x0]?'':_0x9e496a[0x0],_0x9e496a=_0x9e496a['slice'](0x1),_0x27ad5e++):_0xe9f253=/^[^\s<>='"]*$/;for(let _0x45b8e8 of _0x4a4588)_0x257f7e['push']({'label':_0x45b8e8,'apply':_0x255796+_0x45b8e8+_0x4e62c5,'type':'constant'});}}return{'from':_0x27ad5e,'to':_0x25ec7e,'options':_0x257f7e,'validFor':_0xe9f253};}(_0x1bc1a7,_0x25e11d,_0x3a5630,'Is'==_0x3a5630['name']?_0x59d555:_0x3a5630['from'],_0x59d555):!_0xcbf904['explicit']||'Element'!=_0x44b8a0['name']&&'Text'!=_0x44b8a0['name']&&'Document'!=_0x44b8a0['name']?null:function(_0x3da6c2,_0x594be0,_0x30a2e0,_0x296d44){let _0x4c1c18=[],_0x4e90d6=0x0;for(let _0x3d870d of _0x21468c(_0x3da6c2['doc'],_0x30a2e0,_0x594be0))_0x4c1c18['push']({'label':'<'+_0x3d870d,'type':'type'});for(let _0x27725f of _0x10e618(_0x3da6c2['doc'],_0x30a2e0))_0x4c1c18['push']({'label':'</'+_0x27725f+'>','type':'type','boost':0x63-_0x4e90d6++});return{'from':_0x296d44,'to':_0x296d44,'options':_0x4c1c18,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}(_0x1bc1a7,_0x25e11d,_0x3a5630,_0x59d555);}function _0x24cfd2(_0x3ae4d8){let {extraTags:_0x4855f7,extraGlobalAttributes:_0x169f5d}=_0x3ae4d8,_0x3d412d=_0x169f5d||_0x4855f7?new _0x3aeebc(_0x4855f7,_0x169f5d):_0x3aeebc['default'];return _0x11e67f=>_0x44af9a(_0x3d412d,_0x11e67f);}const _0x1c9e78=_0x2811d4['parser']['configure']({'top':'SingleExpression'}),_0x5592af=[{'tag':'script','attrs':_0xf775b3=>'text/typescript'==_0xf775b3['type']||'ts'==_0xf775b3['lang'],'parser':_0x28f3f2['parser']},{'tag':'script','attrs':_0xe526aa=>'text/babel'==_0xe526aa['type']||'text/jsx'==_0xe526aa['type'],'parser':_0x306a28['parser']},{'tag':'script','attrs':_0x2429de=>'text/typescript-jsx'==_0x2429de['type'],'parser':_0x456d05['parser']},{'tag':'script','attrs':_0x2d6bdb=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0x2d6bdb['type']),'parser':_0x1c9e78},{'tag':'script','attrs':_0x52346b=>!_0x52346b['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0x52346b['type']),'parser':_0x2811d4['parser']},{'tag':'style','attrs':_0x338dac=>(!_0x338dac['lang']||'css'==_0x338dac['lang'])&&(!_0x338dac['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x338dac['type'])),'parser':_0x3d3853['parser']}],_0x3cc26f=[{'name':'style','parser':_0x3d3853['parser']['configure']({'top':'Styles'})}]['concat'](_0x1fed69['map'](_0x918f49=>({'name':_0x918f49,'parser':_0x2811d4['parser']}))),_0x3dc543=_0x40eeca['define']({'name':'html','parser':_0x2aa2af['configure']({'props':[_0x50ecc3['add']({'Element'(_0x173818){let _0x444f57=/^(\s*)(<\/)?/['exec'](_0x173818['textAfter']);return _0x173818['node']['to']<=_0x173818['pos']+_0x444f57[0x0]['length']?_0x173818['continue']():_0x173818['lineIndent'](_0x173818['node']['from'])+(_0x444f57[0x2]?0x0:_0x173818['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0x5a5810=>_0x5a5810['column'](_0x5a5810['node']['from'])+_0x5a5810['unit'],'Document'(_0x213131){if(_0x213131['pos']+/\s*/['exec'](_0x213131['textAfter'])[0x0]['length']<_0x213131['node']['to'])return _0x213131['continue']();let _0x59e67a,_0x581d36=null;for(let _0x478266=_0x213131['node'];;){let _0x3839d8=_0x478266['lastChild'];if(!_0x3839d8||'Element'!=_0x3839d8['name']||_0x3839d8['to']!=_0x478266['to'])break;_0x581d36=_0x478266=_0x3839d8;}return _0x581d36&&(!(_0x59e67a=_0x581d36['lastChild'])||'CloseTag'!=_0x59e67a['name']&&'SelfClosingTag'!=_0x59e67a['name'])?_0x213131['lineIndent'](_0x581d36['from'])+_0x213131['unit']:null;}}),_0x442d29['add']({'Element'(_0x45a556){let _0x1ea5f4=_0x45a556['firstChild'],_0x218430=_0x45a556['lastChild'];return _0x1ea5f4&&'OpenTag'==_0x1ea5f4['name']?{'from':_0x1ea5f4['to'],'to':'CloseTag'==_0x218430['name']?_0x218430['from']:_0x45a556['to']}:null;}}),_0x50bc15['add']({'OpenTag\x20CloseTag':_0x313649=>_0x313649['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'<!--','close':'-->'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-_'}}),_0x5b4206=_0x3dc543['configure']({'wrap':_0x393a18(_0x5592af,_0x3cc26f)});function _0x58ab4d(_0x3d8a25={}){let _0x385192,_0x327278='';!0x1===_0x3d8a25['matchClosingTags']&&(_0x327278='noMatch'),!0x0===_0x3d8a25['selfClosingTags']&&(_0x327278=(_0x327278?_0x327278+'\x20':'')+'selfClosing'),(_0x3d8a25['nestedLanguages']&&_0x3d8a25['nestedLanguages']['length']||_0x3d8a25['nestedAttributes']&&_0x3d8a25['nestedAttributes']['length'])&&(_0x385192=_0x393a18((_0x3d8a25['nestedLanguages']||[])['concat'](_0x5592af),(_0x3d8a25['nestedAttributes']||[])['concat'](_0x3cc26f)));let _0x50ae39=_0x385192?_0x3dc543['configure']({'wrap':_0x385192,'dialect':_0x327278}):_0x327278?_0x5b4206['configure']({'dialect':_0x327278}):_0x5b4206;return new LanguageSupport(_0x50ae39,[_0x5b4206['data']['of']({'autocomplete':_0x24cfd2(_0x3d8a25)}),!0x1!==_0x3d8a25['autoCloseTags']?_0x23e714:[],_0x3ab42f()['support'],new LanguageSupport(_0x3d3853,_0x3d3853['data']['of']({'autocomplete':_0x2e9bc8}))['support']]);}const _0x5d3e7b=new Set('area\x20base\x20br\x20col\x20command\x20embed\x20frame\x20hr\x20img\x20input\x20keygen\x20link\x20meta\x20param\x20source\x20track\x20wbr\x20menuitem'['split']('\x20')),_0x23e714=EditorView['inputHandler']['of']((_0x29b6fc,_0x473183,_0x41a08b,_0x28503b,_0x390eaa)=>{if(_0x29b6fc['composing']||_0x29b6fc['state']['readOnly']||_0x473183!=_0x41a08b||'>'!=_0x28503b&&'/'!=_0x28503b||!_0x5b4206['isActiveAt'](_0x29b6fc['state'],_0x473183,-0x1))return!0x1;let _0x18e335=_0x390eaa(),{state:_0x21400d}=_0x18e335,_0xf2246c=_0x21400d['changeByRange'](_0x3fa613=>{var _0x4b8084,_0x39b01c,_0x342913;let _0x17fa6b,_0x5cc685=_0x21400d['doc']['sliceString'](_0x3fa613['from']-0x1,_0x3fa613['to'])==_0x28503b,{head:_0x374285}=_0x3fa613,_0x196d8d=_0x31f27d(_0x21400d)['resolveInner'](_0x374285,-0x1);if(_0x5cc685&&'>'==_0x28503b&&'EndTag'==_0x196d8d['name']){let _0x345e9c=_0x196d8d['parent'];if('CloseTag'!=(null===(_0x39b01c=null===(_0x4b8084=_0x345e9c['parent'])||void 0x0===_0x4b8084?void 0x0:_0x4b8084['lastChild'])||void 0x0===_0x39b01c?void 0x0:_0x39b01c['name'])&&(_0x17fa6b=_0x52f283(_0x21400d['doc'],_0x345e9c['parent'],_0x374285))&&!_0x5d3e7b['has'](_0x17fa6b))return{'range':_0x3fa613,'changes':{'from':_0x374285,'to':_0x374285+('>'===_0x21400d['doc']['sliceString'](_0x374285,_0x374285+0x1)?0x1:0x0),'insert':'</'+_0x17fa6b+'>'}};}else{if(_0x5cc685&&'/'==_0x28503b&&'IncompleteCloseTag'==_0x196d8d['name']){let _0x2dc1d2=_0x196d8d['parent'];if(_0x196d8d['from']==_0x374285-0x2&&'CloseTag'!=(null===(_0x342913=_0x2dc1d2['lastChild'])||void 0x0===_0x342913?void 0x0:_0x342913['name'])&&(_0x17fa6b=_0x52f283(_0x21400d['doc'],_0x2dc1d2,_0x374285))&&!_0x5d3e7b['has'](_0x17fa6b)){let _0x4b8ba2=_0x374285+('>'===_0x21400d['doc']['sliceString'](_0x374285,_0x374285+0x1)?0x1:0x0),_0x1a4120=_0x17fa6b+'>';return{'range':EditorSelection['cursor'](_0x374285+_0x1a4120['length'],-0x1),'changes':{'from':_0x374285,'to':_0x4b8ba2,'insert':_0x1a4120}};}}}return{'range':_0x3fa613};});return!_0xf2246c['changes']['empty']&&(_0x29b6fc['dispatch']([_0x18e335,_0x21400d['update'](_0xf2246c,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});class CompositeBlock{static['create'](_0x17e34c,_0x2f50e6,_0x6406ea,_0x5e3077,_0xcd05a3){return new CompositeBlock(_0x17e34c,_0x2f50e6,_0x6406ea,_0x5e3077+(_0x5e3077<<0x8)+_0x17e34c+(_0x2f50e6<<0x4)|0x0,_0xcd05a3,[],[]);}constructor(_0x550ce4,_0x1d4a18,_0x39be25,_0x3fef48,_0x1e7e94,_0x451673,_0x4a761b){this['type']=_0x550ce4,this['value']=_0x1d4a18,this['from']=_0x39be25,this['hash']=_0x3fef48,this['end']=_0x1e7e94,this['children']=_0x451673,this['positions']=_0x4a761b,this['hashProp']=[[_0xdd8853['contextHash'],_0x3fef48]];}['addChild'](_0x59d073,_0x47822c){_0x59d073['prop'](_0xdd8853['contextHash'])!=this['hash']&&(_0x59d073=new _0x626f5b(_0x59d073['type'],_0x59d073['children'],_0x59d073['positions'],_0x59d073['length'],this['hashProp'])),this['children']['push'](_0x59d073),this['positions']['push'](_0x47822c);}['toTree'](_0x2bf249,_0x400c4d=this['end']){let _0x89bbf7=this['children']['length']-0x1;return _0x89bbf7>=0x0&&(_0x400c4d=Math['max'](_0x400c4d,this['positions'][_0x89bbf7]+this['children'][_0x89bbf7]['length']+this['from'])),new _0x626f5b(_0x2bf249['types'][this['type']],this['children'],this['positions'],_0x400c4d-this['from'])['balance']({'makeTree':(_0x8c2693,_0x21b034,_0x3a6906)=>new _0x626f5b(_0x4c1c7e['none'],_0x8c2693,_0x21b034,_0x3a6906,this['hashProp'])});}}var _0x43cf58;!function(_0x207e1a){_0x207e1a[_0x207e1a['Document']=0x1]='Document',_0x207e1a[_0x207e1a['CodeBlock']=0x2]='CodeBlock',_0x207e1a[_0x207e1a['FencedCode']=0x3]='FencedCode',_0x207e1a[_0x207e1a['Blockquote']=0x4]='Blockquote',_0x207e1a[_0x207e1a['HorizontalRule']=0x5]='HorizontalRule',_0x207e1a[_0x207e1a['BulletList']=0x6]='BulletList',_0x207e1a[_0x207e1a['OrderedList']=0x7]='OrderedList',_0x207e1a[_0x207e1a['ListItem']=0x8]='ListItem',_0x207e1a[_0x207e1a['ATXHeading1']=0x9]='ATXHeading1',_0x207e1a[_0x207e1a['ATXHeading2']=0xa]='ATXHeading2',_0x207e1a[_0x207e1a['ATXHeading3']=0xb]='ATXHeading3',_0x207e1a[_0x207e1a['ATXHeading4']=0xc]='ATXHeading4',_0x207e1a[_0x207e1a['ATXHeading5']=0xd]='ATXHeading5',_0x207e1a[_0x207e1a['ATXHeading6']=0xe]='ATXHeading6',_0x207e1a[_0x207e1a['SetextHeading1']=0xf]='SetextHeading1',_0x207e1a[_0x207e1a['SetextHeading2']=0x10]='SetextHeading2',_0x207e1a[_0x207e1a['HTMLBlock']=0x11]='HTMLBlock',_0x207e1a[_0x207e1a['LinkReference']=0x12]='LinkReference',_0x207e1a[_0x207e1a['Paragraph']=0x13]='Paragraph',_0x207e1a[_0x207e1a['CommentBlock']=0x14]='CommentBlock',_0x207e1a[_0x207e1a['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0x207e1a[_0x207e1a['Escape']=0x16]='Escape',_0x207e1a[_0x207e1a['Entity']=0x17]='Entity',_0x207e1a[_0x207e1a['HardBreak']=0x18]='HardBreak',_0x207e1a[_0x207e1a['Emphasis']=0x19]='Emphasis',_0x207e1a[_0x207e1a['StrongEmphasis']=0x1a]='StrongEmphasis',_0x207e1a[_0x207e1a['Link']=0x1b]='Link',_0x207e1a[_0x207e1a['Image']=0x1c]='Image',_0x207e1a[_0x207e1a['InlineCode']=0x1d]='InlineCode',_0x207e1a[_0x207e1a['HTMLTag']=0x1e]='HTMLTag',_0x207e1a[_0x207e1a['Comment']=0x1f]='Comment',_0x207e1a[_0x207e1a['ProcessingInstruction']=0x20]='ProcessingInstruction',_0x207e1a[_0x207e1a['Autolink']=0x21]='Autolink',_0x207e1a[_0x207e1a['HeaderMark']=0x22]='HeaderMark',_0x207e1a[_0x207e1a['QuoteMark']=0x23]='QuoteMark',_0x207e1a[_0x207e1a['ListMark']=0x24]='ListMark',_0x207e1a[_0x207e1a['LinkMark']=0x25]='LinkMark',_0x207e1a[_0x207e1a['EmphasisMark']=0x26]='EmphasisMark',_0x207e1a[_0x207e1a['CodeMark']=0x27]='CodeMark',_0x207e1a[_0x207e1a['CodeText']=0x28]='CodeText',_0x207e1a[_0x207e1a['CodeInfo']=0x29]='CodeInfo',_0x207e1a[_0x207e1a['LinkTitle']=0x2a]='LinkTitle',_0x207e1a[_0x207e1a['LinkLabel']=0x2b]='LinkLabel',_0x207e1a[_0x207e1a['URL']=0x2c]='URL';}(_0x43cf58||(_0x43cf58={}));class _0x125e11{constructor(_0x4cc663,_0x4d8273){this['start']=_0x4cc663,this['content']=_0x4d8273,this['marks']=[],this['parsers']=[];}}class _0xf6a20a{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 _0x2ac8cb=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0x2ac8cb,this['pos'],this['indent']),this['pos']=_0x2ac8cb,this['next']=_0x2ac8cb==this['text']['length']?-0x1:this['text']['charCodeAt'](_0x2ac8cb);}['skipSpace'](_0x2eba03){return _0x2bd4d3(this['text'],_0x2eba03);}['reset'](_0x5cdc77){for(this['text']=_0x5cdc77,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0x464eb9){this['basePos']=_0x464eb9,this['baseIndent']=this['countIndent'](_0x464eb9,this['pos'],this['indent']);}['moveBaseColumn'](_0x509786){this['baseIndent']=_0x509786,this['basePos']=this['findColumn'](_0x509786);}['addMarker'](_0x8f5fca){this['markers']['push'](_0x8f5fca);}['countIndent'](_0x283507,_0x148834=0x0,_0x28c4ea=0x0){for(let _0x32bb8b=_0x148834;_0x32bb8b<_0x283507;_0x32bb8b++)_0x28c4ea+=0x9==this['text']['charCodeAt'](_0x32bb8b)?0x4-_0x28c4ea%0x4:0x1;return _0x28c4ea;}['findColumn'](_0x327312){let _0xfd22f=0x0;for(let _0x4de372=0x0;_0xfd22f<this['text']['length']&&_0x4de372<_0x327312;_0xfd22f++)_0x4de372+=0x9==this['text']['charCodeAt'](_0xfd22f)?0x4-_0x4de372%0x4:0x1;return _0xfd22f;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x3e813a='';for(let _0x397cda=0x0;_0x397cda<this['basePos'];_0x397cda++)_0x3e813a+='\x20';return _0x3e813a+this['text']['slice'](this['basePos']);}}function _0x21b7fb(_0x5b2ac6,_0x3e7418,_0x52adb0){if(_0x52adb0['pos']==_0x52adb0['text']['length']||_0x5b2ac6!=_0x3e7418['block']&&_0x52adb0['indent']>=_0x3e7418['stack'][_0x52adb0['depth']+0x1]['value']+_0x52adb0['baseIndent'])return!0x0;if(_0x52adb0['indent']>=_0x52adb0['baseIndent']+0x4)return!0x1;let _0x589396=(_0x5b2ac6['type']==_0x43cf58['OrderedList']?_0x24e744:_0x326c33)(_0x52adb0,_0x3e7418,!0x1);return _0x589396>0x0&&(_0x5b2ac6['type']!=_0x43cf58['BulletList']||tx(_0x52adb0,_0x3e7418,!0x1)<0x0)&&_0x52adb0['text']['charCodeAt'](_0x52adb0['pos']+_0x589396-0x1)==_0x5b2ac6['value'];}const _0x8ed7b9={[_0x43cf58['Blockquote']]:(_0x270391,_0x1abb74,_0x44ef5b)=>0x3e==_0x44ef5b['next']&&(_0x44ef5b['markers']['push'](_0x570d5e(_0x43cf58['QuoteMark'],_0x1abb74['lineStart']+_0x44ef5b['pos'],_0x1abb74['lineStart']+_0x44ef5b['pos']+0x1)),_0x44ef5b['moveBase'](_0x44ef5b['pos']+(_0x9055b3(_0x44ef5b['text']['charCodeAt'](_0x44ef5b['pos']+0x1))?0x2:0x1)),_0x270391['end']=_0x1abb74['lineStart']+_0x44ef5b['text']['length'],!0x0),[_0x43cf58['ListItem']]:(_0x30dd44,_0x27ef03,_0x31f496)=>!(_0x31f496['indent']<_0x31f496['baseIndent']+_0x30dd44['value']&&_0x31f496['next']>-0x1)&&(_0x31f496['moveBaseColumn'](_0x31f496['baseIndent']+_0x30dd44['value']),!0x0),[_0x43cf58['OrderedList']]:_0x21b7fb,[_0x43cf58['BulletList']]:_0x21b7fb,[_0x43cf58['Document']]:()=>!0x0};function _0x9055b3(_0x3e2742){return 0x20==_0x3e2742||0x9==_0x3e2742||0xa==_0x3e2742||0xd==_0x3e2742;}function _0x2bd4d3(_0x2fa50e,_0x43fbe1=0x0){for(;_0x43fbe1<_0x2fa50e['length']&&_0x9055b3(_0x2fa50e['charCodeAt'](_0x43fbe1));)_0x43fbe1++;return _0x43fbe1;}function _0x3da7b8(_0x155b58,_0xcab1cd,_0x2173e7){for(;_0xcab1cd>_0x2173e7&&_0x9055b3(_0x155b58['charCodeAt'](_0xcab1cd-0x1));)_0xcab1cd--;return _0xcab1cd;}function _0x3cdd99(_0x308ef1){if(0x60!=_0x308ef1['next']&&0x7e!=_0x308ef1['next'])return-0x1;let _0x46055e=_0x308ef1['pos']+0x1;for(;_0x46055e<_0x308ef1['text']['length']&&_0x308ef1['text']['charCodeAt'](_0x46055e)==_0x308ef1['next'];)_0x46055e++;if(_0x46055e<_0x308ef1['pos']+0x3)return-0x1;if(0x60==_0x308ef1['next']){for(let _0x182a32=_0x46055e;_0x182a32<_0x308ef1['text']['length'];_0x182a32++)if(0x60==_0x308ef1['text']['charCodeAt'](_0x182a32))return-0x1;}return _0x46055e;}function _0x24daf2(_0x8344ea){return 0x3e!=_0x8344ea['next']?-0x1:0x20==_0x8344ea['text']['charCodeAt'](_0x8344ea['pos']+0x1)?0x2:0x1;}function tx(_0x54c343,_0x20f948,_0x16b2bf){if(0x2a!=_0x54c343['next']&&0x2d!=_0x54c343['next']&&0x5f!=_0x54c343['next'])return-0x1;let _0x413d81=0x1;for(let _0x5121fb=_0x54c343['pos']+0x1;_0x5121fb<_0x54c343['text']['length'];_0x5121fb++){let _0x2b06a9=_0x54c343['text']['charCodeAt'](_0x5121fb);if(_0x2b06a9==_0x54c343['next'])_0x413d81++;else{if(!_0x9055b3(_0x2b06a9))return-0x1;}}return _0x16b2bf&&0x2d==_0x54c343['next']&&_0xa196cc(_0x54c343)>-0x1&&_0x54c343['depth']==_0x20f948['stack']['length']&&_0x20f948['parser']['leafBlockParsers']['indexOf'](_0x35438c['SetextHeading'])>-0x1||_0x413d81<0x3?-0x1:0x1;}function _0x5c6208(_0x45a92a,_0x36fa2c){for(let _0x59ff32=_0x45a92a['stack']['length']-0x1;_0x59ff32>=0x0;_0x59ff32--)if(_0x45a92a['stack'][_0x59ff32]['type']==_0x36fa2c)return!0x0;return!0x1;}function _0x326c33(_0x3d956b,_0x5baf8e,_0x29c3b0){return 0x2d!=_0x3d956b['next']&&0x2b!=_0x3d956b['next']&&0x2a!=_0x3d956b['next']||_0x3d956b['pos']!=_0x3d956b['text']['length']-0x1&&!_0x9055b3(_0x3d956b['text']['charCodeAt'](_0x3d956b['pos']+0x1))||!(!_0x29c3b0||_0x5c6208(_0x5baf8e,_0x43cf58['BulletList'])||_0x3d956b['skipSpace'](_0x3d956b['pos']+0x2)<_0x3d956b['text']['length'])?-0x1:0x1;}function _0x24e744(_0x150bfe,_0x118ae3,_0x1bf686){let _0x5ee95f=_0x150bfe['pos'],_0xb848c0=_0x150bfe['next'];for(;_0xb848c0>=0x30&&_0xb848c0<=0x39;){if(_0x5ee95f++,_0x5ee95f==_0x150bfe['text']['length'])return-0x1;_0xb848c0=_0x150bfe['text']['charCodeAt'](_0x5ee95f);}return _0x5ee95f==_0x150bfe['pos']||_0x5ee95f>_0x150bfe['pos']+0x9||0x2e!=_0xb848c0&&0x29!=_0xb848c0||_0x5ee95f<_0x150bfe['text']['length']-0x1&&!_0x9055b3(_0x150bfe['text']['charCodeAt'](_0x5ee95f+0x1))||_0x1bf686&&!_0x5c6208(_0x118ae3,_0x43cf58['OrderedList'])&&(_0x150bfe['skipSpace'](_0x5ee95f+0x1)==_0x150bfe['text']['length']||_0x5ee95f>_0x150bfe['pos']+0x1||0x31!=_0x150bfe['next'])?-0x1:_0x5ee95f+0x1-_0x150bfe['pos'];}function _0x1aa1ce(_0x4aaf63){if(0x23!=_0x4aaf63['next'])return-0x1;let _0x32d03b=_0x4aaf63['pos']+0x1;for(;_0x32d03b<_0x4aaf63['text']['length']&&0x23==_0x4aaf63['text']['charCodeAt'](_0x32d03b);)_0x32d03b++;if(_0x32d03b<_0x4aaf63['text']['length']&&0x20!=_0x4aaf63['text']['charCodeAt'](_0x32d03b))return-0x1;let _0x336aa7=_0x32d03b-_0x4aaf63['pos'];return _0x336aa7>0x6?-0x1:_0x336aa7;}function _0xa196cc(_0x185b7a){if(0x2d!=_0x185b7a['next']&&0x3d!=_0x185b7a['next']||_0x185b7a['indent']>=_0x185b7a['baseIndent']+0x4)return-0x1;let _0x4a6d65=_0x185b7a['pos']+0x1;for(;_0x4a6d65<_0x185b7a['text']['length']&&_0x185b7a['text']['charCodeAt'](_0x4a6d65)==_0x185b7a['next'];)_0x4a6d65++;let _0xf628cd=_0x4a6d65;for(;_0x4a6d65<_0x185b7a['text']['length']&&_0x9055b3(_0x185b7a['text']['charCodeAt'](_0x4a6d65));)_0x4a6d65++;return _0x4a6d65==_0x185b7a['text']['length']?_0xf628cd:-0x1;}const _0xc567=/^[ \t]*$/,_0x539bf0=/-->/,_0x2b79b7=/\?>/,_0x172844=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,_0x539bf0],[/^\s*<\?/,_0x2b79b7],[/^\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,_0xc567],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,_0xc567]];function _0x3fb3a3(_0x24be20,_0xdd1399,_0x19a373){if(0x3c!=_0x24be20['next'])return-0x1;let _0x38a636=_0x24be20['text']['slice'](_0x24be20['pos']);for(let _0x211e45=0x0,_0x3ba2ee=_0x172844['length']-(_0x19a373?0x1:0x0);_0x211e45<_0x3ba2ee;_0x211e45++)if(_0x172844[_0x211e45][0x0]['test'](_0x38a636))return _0x211e45;return-0x1;}function _0xd645da(_0x10db83,_0x354475){let _0x244b9f=_0x10db83['countIndent'](_0x354475,_0x10db83['pos'],_0x10db83['indent']),_0xb773cd=_0x10db83['countIndent'](_0x10db83['skipSpace'](_0x354475),_0x354475,_0x244b9f);return _0xb773cd>=_0x244b9f+0x5?_0x244b9f+0x1:_0xb773cd;}function _0x1f407e(_0x13f38f,_0x2a0d32,_0x5686a8){let _0x255714=_0x13f38f['length']-0x1;_0x255714>=0x0&&_0x13f38f[_0x255714]['to']==_0x2a0d32&&_0x13f38f[_0x255714]['type']==_0x43cf58['CodeText']?_0x13f38f[_0x255714]['to']=_0x5686a8:_0x13f38f['push'](_0x570d5e(_0x43cf58['CodeText'],_0x2a0d32,_0x5686a8));}const _0x267dcf={'LinkReference':void 0x0,'IndentedCode'(_0x1fa1ed,_0x44d23b){let _0x3e9f4f=_0x44d23b['baseIndent']+0x4;if(_0x44d23b['indent']<_0x3e9f4f)return!0x1;let _0x762275=_0x44d23b['findColumn'](_0x3e9f4f),_0x2ac57b=_0x1fa1ed['lineStart']+_0x762275,_0x4f7a70=_0x1fa1ed['lineStart']+_0x44d23b['text']['length'],_0x2e5509=[],_0x3328b7=[];for(_0x1f407e(_0x2e5509,_0x2ac57b,_0x4f7a70);_0x1fa1ed['nextLine']()&&_0x44d23b['depth']>=_0x1fa1ed['stack']['length'];)if(_0x44d23b['pos']==_0x44d23b['text']['length']){_0x1f407e(_0x3328b7,_0x1fa1ed['lineStart']-0x1,_0x1fa1ed['lineStart']);for(let _0x5d8117 of _0x44d23b['markers'])_0x3328b7['push'](_0x5d8117);}else{if(_0x44d23b['indent']<_0x3e9f4f)break;{if(_0x3328b7['length']){for(let _0x3e2f3b of _0x3328b7)_0x3e2f3b['type']==_0x43cf58['CodeText']?_0x1f407e(_0x2e5509,_0x3e2f3b['from'],_0x3e2f3b['to']):_0x2e5509['push'](_0x3e2f3b);_0x3328b7=[];}_0x1f407e(_0x2e5509,_0x1fa1ed['lineStart']-0x1,_0x1fa1ed['lineStart']);for(let _0x46792b of _0x44d23b['markers'])_0x2e5509['push'](_0x46792b);_0x4f7a70=_0x1fa1ed['lineStart']+_0x44d23b['text']['length'];let _0x42bba0=_0x1fa1ed['lineStart']+_0x44d23b['findColumn'](_0x44d23b['baseIndent']+0x4);_0x42bba0<_0x4f7a70&&_0x1f407e(_0x2e5509,_0x42bba0,_0x4f7a70);}}return _0x3328b7['length']&&(_0x3328b7=_0x3328b7['filter'](_0x5960ff=>_0x5960ff['type']!=_0x43cf58['CodeText']),_0x3328b7['length']&&(_0x44d23b['markers']=_0x3328b7['concat'](_0x44d23b['markers']))),_0x1fa1ed['addNode'](_0x1fa1ed['buffer']['writeElements'](_0x2e5509,-_0x2ac57b)['finish'](_0x43cf58['CodeBlock'],_0x4f7a70-_0x2ac57b),_0x2ac57b),!0x0;},'FencedCode'(_0x3a0968,_0x1d1d81){let _0x2e6104=_0x3cdd99(_0x1d1d81);if(_0x2e6104<0x0)return!0x1;let _0x302a3b=_0x3a0968['lineStart']+_0x1d1d81['pos'],_0x4120c8=_0x1d1d81['next'],_0x486d73=_0x2e6104-_0x1d1d81['pos'],_0x4f35cc=_0x1d1d81['skipSpace'](_0x2e6104),_0x426a96=_0x3da7b8(_0x1d1d81['text'],_0x1d1d81['text']['length'],_0x4f35cc),_0x54126d=[_0x570d5e(_0x43cf58['CodeMark'],_0x302a3b,_0x302a3b+_0x486d73)];_0x4f35cc<_0x426a96&&_0x54126d['push'](_0x570d5e(_0x43cf58['CodeInfo'],_0x3a0968['lineStart']+_0x4f35cc,_0x3a0968['lineStart']+_0x426a96));for(let _0x3ae4ba=!0x0;_0x3a0968['nextLine']()&&_0x1d1d81['depth']>=_0x3a0968['stack']['length'];_0x3ae4ba=!0x1){let _0x207504=_0x1d1d81['pos'];if(_0x1d1d81['indent']-_0x1d1d81['baseIndent']<0x4){for(;_0x207504<_0x1d1d81['text']['length']&&_0x1d1d81['text']['charCodeAt'](_0x207504)==_0x4120c8;)_0x207504++;}if(_0x207504-_0x1d1d81['pos']>=_0x486d73&&_0x1d1d81['skipSpace'](_0x207504)==_0x1d1d81['text']['length']){for(let _0x4f4188 of _0x1d1d81['markers'])_0x54126d['push'](_0x4f4188);_0x54126d['push'](_0x570d5e(_0x43cf58['CodeMark'],_0x3a0968['lineStart']+_0x1d1d81['pos'],_0x3a0968['lineStart']+_0x207504)),_0x3a0968['nextLine']();break;}{_0x3ae4ba||_0x1f407e(_0x54126d,_0x3a0968['lineStart']-0x1,_0x3a0968['lineStart']);for(let _0x5424e3 of _0x1d1d81['markers'])_0x54126d['push'](_0x5424e3);let _0x153ec6=_0x3a0968['lineStart']+_0x1d1d81['basePos'],_0x3060b7=_0x3a0968['lineStart']+_0x1d1d81['text']['length'];_0x153ec6<_0x3060b7&&_0x1f407e(_0x54126d,_0x153ec6,_0x3060b7);}}return _0x3a0968['addNode'](_0x3a0968['buffer']['writeElements'](_0x54126d,-_0x302a3b)['finish'](_0x43cf58['FencedCode'],_0x3a0968['prevLineEnd']()-_0x302a3b),_0x302a3b),!0x0;},'Blockquote'(_0x4f5979,_0x4f98cf){let _0x1603a9=_0x24daf2(_0x4f98cf);return!(_0x1603a9<0x0)&&(_0x4f5979['startContext'](_0x43cf58['Blockquote'],_0x4f98cf['pos']),_0x4f5979['addNode'](_0x43cf58['QuoteMark'],_0x4f5979['lineStart']+_0x4f98cf['pos'],_0x4f5979['lineStart']+_0x4f98cf['pos']+0x1),_0x4f98cf['moveBase'](_0x4f98cf['pos']+_0x1603a9),null);},'HorizontalRule'(_0x40cfb1,_0x3900ef){if(tx(_0x3900ef,_0x40cfb1,!0x1)<0x0)return!0x1;let _0x8ffc1b=_0x40cfb1['lineStart']+_0x3900ef['pos'];return _0x40cfb1['nextLine'](),_0x40cfb1['addNode'](_0x43cf58['HorizontalRule'],_0x8ffc1b),!0x0;},'BulletList'(_0x3a49d9,_0x49cab6){let _0x3dca1c=_0x326c33(_0x49cab6,_0x3a49d9,!0x1);if(_0x3dca1c<0x0)return!0x1;_0x3a49d9['block']['type']!=_0x43cf58['BulletList']&&_0x3a49d9['startContext'](_0x43cf58['BulletList'],_0x49cab6['basePos'],_0x49cab6['next']);let _0xc02e4=_0xd645da(_0x49cab6,_0x49cab6['pos']+0x1);return _0x3a49d9['startContext'](_0x43cf58['ListItem'],_0x49cab6['basePos'],_0xc02e4-_0x49cab6['baseIndent']),_0x3a49d9['addNode'](_0x43cf58['ListMark'],_0x3a49d9['lineStart']+_0x49cab6['pos'],_0x3a49d9['lineStart']+_0x49cab6['pos']+_0x3dca1c),_0x49cab6['moveBaseColumn'](_0xc02e4),null;},'OrderedList'(_0x172429,_0x367140){let _0x1b4bf8=_0x24e744(_0x367140,_0x172429,!0x1);if(_0x1b4bf8<0x0)return!0x1;_0x172429['block']['type']!=_0x43cf58['OrderedList']&&_0x172429['startContext'](_0x43cf58['OrderedList'],_0x367140['basePos'],_0x367140['text']['charCodeAt'](_0x367140['pos']+_0x1b4bf8-0x1));let _0xd4e1a4=_0xd645da(_0x367140,_0x367140['pos']+_0x1b4bf8);return _0x172429['startContext'](_0x43cf58['ListItem'],_0x367140['basePos'],_0xd4e1a4-_0x367140['baseIndent']),_0x172429['addNode'](_0x43cf58['ListMark'],_0x172429['lineStart']+_0x367140['pos'],_0x172429['lineStart']+_0x367140['pos']+_0x1b4bf8),_0x367140['moveBaseColumn'](_0xd4e1a4),null;},'ATXHeading'(_0x447c4e,_0x91e4c0){let _0x5dbecf=_0x1aa1ce(_0x91e4c0);if(_0x5dbecf<0x0)return!0x1;let _0x27d4de=_0x91e4c0['pos'],_0x33f917=_0x447c4e['lineStart']+_0x27d4de,_0x35a880=_0x3da7b8(_0x91e4c0['text'],_0x91e4c0['text']['length'],_0x27d4de),_0x4da403=_0x35a880;for(;_0x4da403>_0x27d4de&&_0x91e4c0['text']['charCodeAt'](_0x4da403-0x1)==_0x91e4c0['next'];)_0x4da403--;_0x4da403!=_0x35a880&&_0x4da403!=_0x27d4de&&_0x9055b3(_0x91e4c0['text']['charCodeAt'](_0x4da403-0x1))||(_0x4da403=_0x91e4c0['text']['length']);let _0x14a92a=_0x447c4e['buffer']['write'](_0x43cf58['HeaderMark'],0x0,_0x5dbecf)['writeElements'](_0x447c4e['parser']['parseInline'](_0x91e4c0['text']['slice'](_0x27d4de+_0x5dbecf+0x1,_0x4da403),_0x33f917+_0x5dbecf+0x1),-_0x33f917);_0x4da403<_0x91e4c0['text']['length']&&_0x14a92a['write'](_0x43cf58['HeaderMark'],_0x4da403-_0x27d4de,_0x35a880-_0x27d4de);let _0x46d14d=_0x14a92a['finish'](_0x43cf58['ATXHeading1']-0x1+_0x5dbecf,_0x91e4c0['text']['length']-_0x27d4de);return _0x447c4e['nextLine'](),_0x447c4e['addNode'](_0x46d14d,_0x33f917),!0x0;},'HTMLBlock'(_0x2402c3,_0x140404){let _0x29d94c=_0x3fb3a3(_0x140404,0x0,!0x1);if(_0x29d94c<0x0)return!0x1;let _0x555771=_0x2402c3['lineStart']+_0x140404['pos'],_0x1f3635=_0x172844[_0x29d94c][0x1],_0x4afa38=[],_0x43f05a=_0x1f3635!=_0xc567;for(;!_0x1f3635['test'](_0x140404['text'])&&_0x2402c3['nextLine']();){if(_0x140404['depth']<_0x2402c3['stack']['length']){_0x43f05a=!0x1;break;}for(let _0x5c0265 of _0x140404['markers'])_0x4afa38['push'](_0x5c0265);}_0x43f05a&&_0x2402c3['nextLine']();let _0x1243ec=_0x1f3635==_0x539bf0?_0x43cf58['CommentBlock']:_0x1f3635==_0x2b79b7?_0x43cf58['ProcessingInstructionBlock']:_0x43cf58['HTMLBlock'],_0x503e2a=_0x2402c3['prevLineEnd']();return _0x2402c3['addNode'](_0x2402c3['buffer']['writeElements'](_0x4afa38,-_0x555771)['finish'](_0x1243ec,_0x503e2a-_0x555771),_0x555771),!0x0;},'SetextHeading':void 0x0};class _0x4e729d{constructor(_0x21536e){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0x21536e['start'],this['advance'](_0x21536e['content']);}['nextLine'](_0x1c14d1,_0x5c8f3f,_0x4e3c1a){if(-0x1==this['stage'])return!0x1;let _0x49d965=_0x4e3c1a['content']+'\x0a'+_0x5c8f3f['scrub'](),_0x2f7044=this['advance'](_0x49d965);return _0x2f7044>-0x1&&_0x2f7044<_0x49d965['length']&&this['complete'](_0x1c14d1,_0x4e3c1a,_0x2f7044);}['finish'](_0x5f2783,_0x6732fe){return(0x2==this['stage']||0x3==this['stage'])&&_0x2bd4d3(_0x6732fe['content'],this['pos'])==_0x6732fe['content']['length']&&this['complete'](_0x5f2783,_0x6732fe,_0x6732fe['content']['length']);}['complete'](_0x1803c7,_0x4982ac,_0x43a8b5){return _0x1803c7['addLeafElement'](_0x4982ac,_0x570d5e(_0x43cf58['LinkReference'],this['start'],this['start']+_0x43a8b5,this['elts'])),!0x0;}['nextStage'](_0x2fd6b6){return _0x2fd6b6?(this['pos']=_0x2fd6b6['to']-this['start'],this['elts']['push'](_0x2fd6b6),this['stage']++,!0x0):(!0x1===_0x2fd6b6&&(this['stage']=-0x1),!0x1);}['advance'](_0x221d0a){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](_0x3b7c96(_0x221d0a,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x221d0a['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](_0x570d5e(_0x43cf58['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x1289b3=_0x2bd4d3(_0x221d0a,this['pos']),_0x501921=0x0;if(_0x1289b3>this['pos']){let _0x2ff6d3=_0x1abce5(_0x221d0a,_0x1289b3,this['start']);if(_0x2ff6d3){let _0x3492d8=_0x40b15f(_0x221d0a,_0x2ff6d3['to']-this['start']);_0x3492d8>0x0&&(this['nextStage'](_0x2ff6d3),_0x501921=_0x3492d8);}}return _0x501921||(_0x501921=_0x40b15f(_0x221d0a,this['pos'])),_0x501921>0x0&&_0x501921<_0x221d0a['length']?_0x501921:-0x1;}return _0x40b15f(_0x221d0a,this['pos']);}if(!this['nextStage'](_0x26bed4(_0x221d0a,_0x2bd4d3(_0x221d0a,this['pos']),this['start'])))return-0x1;}}}}function _0x40b15f(_0x5cde7d,_0x4d73ea){for(;_0x4d73ea<_0x5cde7d['length'];_0x4d73ea++){let _0x3f8efe=_0x5cde7d['charCodeAt'](_0x4d73ea);if(0xa==_0x3f8efe)break;if(!_0x9055b3(_0x3f8efe))return-0x1;}return _0x4d73ea;}class SetextHeadingParser{['nextLine'](_0x5ba2a0,_0x1eaff7,_0x325ba3){let _0x11d57c=_0x1eaff7['depth']<_0x5ba2a0['stack']['length']?-0x1:_0xa196cc(_0x1eaff7),_0x5a362f=_0x1eaff7['next'];if(_0x11d57c<0x0)return!0x1;let _0x29970e=_0x570d5e(_0x43cf58['HeaderMark'],_0x5ba2a0['lineStart']+_0x1eaff7['pos'],_0x5ba2a0['lineStart']+_0x11d57c);return _0x5ba2a0['nextLine'](),_0x5ba2a0['addLeafElement'](_0x325ba3,_0x570d5e(0x3d==_0x5a362f?_0x43cf58['SetextHeading1']:_0x43cf58['SetextHeading2'],_0x325ba3['start'],_0x5ba2a0['prevLineEnd'](),[..._0x5ba2a0['parser']['parseInline'](_0x325ba3['content'],_0x325ba3['start']),_0x29970e])),!0x0;}['finish'](){return!0x1;}}const _0x35438c={'LinkReference':(_0xbe5fb8,_0x2436ba)=>0x5b==_0x2436ba['content']['charCodeAt'](0x0)?new _0x4e729d(_0x2436ba):null,'SetextHeading':()=>new SetextHeadingParser()},_0x3fb304=[(_0x382348,_0x2ce213)=>_0x1aa1ce(_0x2ce213)>=0x0,(_0xab50f3,_0xf78fc6)=>_0x3cdd99(_0xf78fc6)>=0x0,(_0x2496a0,_0x2b2351)=>_0x24daf2(_0x2b2351)>=0x0,(_0x436471,_0x3375d8)=>_0x326c33(_0x3375d8,_0x436471,!0x0)>=0x0,(_0xcb3592,_0x4a3e6b)=>_0x24e744(_0x4a3e6b,_0xcb3592,!0x0)>=0x0,(_0x4d3b50,_0x5256be)=>tx(_0x5256be,_0x4d3b50,!0x0)>=0x0,(_0x8f92d8,_0x17a05b)=>_0x3fb3a3(_0x17a05b,0x0,!0x0)>=0x0],_0x2fb2d7={'text':'','end':0x0};class BlockContext{constructor(_0x45b0d3,_0x3ba2f6,_0xfed510,_0x4cd789){this['parser']=_0x45b0d3,this['input']=_0x3ba2f6,this['ranges']=_0x4cd789,this['line']=new _0xf6a20a(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0x4cd789[_0x4cd789['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0x4cd789[0x0]['from'],this['block']=CompositeBlock['create'](_0x43cf58['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0xfed510['length']?new FragmentCursor(_0xfed510,_0x3ba2f6):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0x234031}=this;for(;;){for(let _0x2a7969=0x0;;){let _0x5f4c8b=_0x234031['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0x2a7969<_0x234031['markers']['length']&&(!_0x5f4c8b||_0x234031['markers'][_0x2a7969]['from']<_0x5f4c8b['end']);){let _0x388b36=_0x234031['markers'][_0x2a7969++];this['addNode'](_0x388b36['type'],_0x388b36['from'],_0x388b36['to']);}if(!_0x5f4c8b)break;this['finishContext']();}if(_0x234031['pos']<_0x234031['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0x234031['basePos']))return null;t:for(;;){for(let _0x4130d1 of this['parser']['blockParsers'])if(_0x4130d1){let _0x4362ec=_0x4130d1(this,_0x234031);if(0x0!=_0x4362ec){if(0x1==_0x4362ec)return null;_0x234031['forward']();continue t;}}break;}let _0x248eb5=new _0x125e11(this['lineStart']+_0x234031['pos'],_0x234031['text']['slice'](_0x234031['pos']));for(let _0x23f8d2 of this['parser']['leafBlockParsers'])if(_0x23f8d2){let _0x5b4160=_0x23f8d2(this,_0x248eb5);_0x5b4160&&_0x248eb5['parsers']['push'](_0x5b4160);}t:for(;this['nextLine']()&&_0x234031['pos']!=_0x234031['text']['length'];){if(_0x234031['indent']<_0x234031['baseIndent']+0x4){for(let _0x89809 of this['parser']['endLeafBlock'])if(_0x89809(this,_0x234031,_0x248eb5))break t;}for(let _0x5bb37a of _0x248eb5['parsers'])if(_0x5bb37a['nextLine'](this,_0x234031,_0x248eb5))return null;_0x248eb5['content']+='\x0a'+_0x234031['scrub']();for(let _0x27e332 of _0x234031['markers'])_0x248eb5['marks']['push'](_0x27e332);}return this['finishLeaf'](_0x248eb5),null;}['stopAt'](_0x32bb39){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x32bb39)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x32bb39;}['reuseFragment'](_0x5c7d48){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x5c7d48,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x46263b=this['fragments']['takeNodes'](this);return!!_0x46263b&&(this['absoluteLineStart']+=_0x46263b,this['lineStart']=_0x50d4c9(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'](_0x8abd85=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x8abd85]['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'](_0x3add12){let _0x3e0b40=_0x2fb2d7;if(_0x3e0b40['end']=_0x3add12,_0x3add12>=this['to'])_0x3e0b40['text']='';else{if(_0x3e0b40['text']=this['lineChunkAt'](_0x3add12),_0x3e0b40['end']+=_0x3e0b40['text']['length'],this['ranges']['length']>0x1){let _0x52f8ea=this['absoluteLineStart'],_0x5bb320=this['rangeI'];for(;this['ranges'][_0x5bb320]['to']<_0x3e0b40['end'];){_0x5bb320++;let _0x1bee39=this['ranges'][_0x5bb320]['from'],_0x196031=this['lineChunkAt'](_0x1bee39);_0x3e0b40['end']=_0x1bee39+_0x196031['length'],_0x3e0b40['text']=_0x3e0b40['text']['slice'](0x0,this['ranges'][_0x5bb320-0x1]['to']-_0x52f8ea)+_0x196031,_0x52f8ea=_0x3e0b40['end']-_0x3e0b40['text']['length'];}}}return _0x3e0b40;}['readLine'](){let {line:_0x1111b6}=this,{text:_0x35e99d,end:_0xaac45a}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0xaac45a,_0x1111b6['reset'](_0x35e99d);_0x1111b6['depth']<this['stack']['length'];_0x1111b6['depth']++){let _0x4c093d=this['stack'][_0x1111b6['depth']],_0x9f5af7=this['parser']['skipContextMarkup'][_0x4c093d['type']];if(!_0x9f5af7)throw new Error('Unhandled\x20block\x20context\x20'+_0x43cf58[_0x4c093d['type']]);let _0x552cdf=this['line']['markers']['length'];if(!_0x9f5af7(_0x4c093d,this,_0x1111b6)){this['line']['markers']['length']>_0x552cdf&&(_0x4c093d['end']=this['line']['markers'][this['line']['markers']['length']-0x1]['to']);break;}_0x1111b6['forward']();}}['lineChunkAt'](_0x19e5ea){let _0x30286c,_0x1f15c1=this['input']['chunk'](_0x19e5ea);if(this['input']['lineChunks'])_0x30286c='\x0a'==_0x1f15c1?'':_0x1f15c1;else{let _0x254827=_0x1f15c1['indexOf']('\x0a');_0x30286c=_0x254827<0x0?_0x1f15c1:_0x1f15c1['slice'](0x0,_0x254827);}return _0x19e5ea+_0x30286c['length']>this['to']?_0x30286c['slice'](0x0,this['to']-_0x19e5ea):_0x30286c;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}['startContext'](_0xf2d4c6,_0x281652,_0x511e4c=0x0){this['block']=CompositeBlock['create'](_0xf2d4c6,_0x511e4c,this['lineStart']+_0x281652,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}['startComposite'](_0x4e0f8c,_0x4554a1,_0x1e9ebd=0x0){this['startContext'](this['parser']['getNodeType'](_0x4e0f8c),_0x4554a1,_0x1e9ebd);}['addNode'](_0x258b43,_0x4d01e4,_0x3b958c){'number'==typeof _0x258b43&&(_0x258b43=new _0x626f5b(this['parser']['nodeSet']['types'][_0x258b43],_0x384764,_0x384764,(null!=_0x3b958c?_0x3b958c:this['prevLineEnd']())-_0x4d01e4)),this['block']['addChild'](_0x258b43,_0x4d01e4-this['block']['from']);}['addElement'](_0x3e9158){this['block']['addChild'](_0x3e9158['toTree'](this['parser']['nodeSet']),_0x3e9158['from']-this['block']['from']);}['addLeafElement'](_0x3967cc,_0x4a5d52){this['addNode'](this['buffer']['writeElements'](_0x335278(_0x4a5d52['children'],_0x3967cc['marks']),-_0x4a5d52['from'])['finish'](_0x4a5d52['type'],_0x4a5d52['to']-_0x4a5d52['from']),_0x4a5d52['from']);}['finishContext'](){let _0x12113c=this['stack']['pop'](),_0x1041f4=this['stack'][this['stack']['length']-0x1];_0x1041f4['addChild'](_0x12113c['toTree'](this['parser']['nodeSet']),_0x12113c['from']-_0x1041f4['from']),this['block']=_0x1041f4;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0x54dabc){return this['ranges']['length']>0x1?_0x4c3db9(this['ranges'],0x0,_0x54dabc['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0x54dabc;}['finishLeaf'](_0x81c78b){for(let _0x4f2b81 of _0x81c78b['parsers'])if(_0x4f2b81['finish'](this,_0x81c78b))return;let _0x8b7331=_0x335278(this['parser']['parseInline'](_0x81c78b['content'],_0x81c78b['start']),_0x81c78b['marks']);this['addNode'](this['buffer']['writeElements'](_0x8b7331,-_0x81c78b['start'])['finish'](_0x43cf58['Paragraph'],_0x81c78b['content']['length']),_0x81c78b['start']);}['elt'](_0x3ca06d,_0x4a63a5,_0x4cc562,_0x1e2b1f){return'string'==typeof _0x3ca06d?_0x570d5e(this['parser']['getNodeType'](_0x3ca06d),_0x4a63a5,_0x4cc562,_0x1e2b1f):new TreeElement(_0x3ca06d,_0x4a63a5);}get['buffer'](){return new _0x1b5608(this['parser']['nodeSet']);}}function _0x4c3db9(_0x562302,_0x24d61b,_0x4bf347,_0x71b6e5,_0x5176c3){let _0x56664a=_0x562302[_0x24d61b]['to'],_0x3e413d=[],_0x1aa676=[],_0x36d119=_0x4bf347['from']+_0x71b6e5;function _0x316a7d(_0x10a4b5,_0x38e7dd){for(;_0x38e7dd?_0x10a4b5>=_0x56664a:_0x10a4b5>_0x56664a;){let _0x58b4af=_0x562302[_0x24d61b+0x1]['from']-_0x56664a;_0x71b6e5+=_0x58b4af,_0x10a4b5+=_0x58b4af,_0x24d61b++,_0x56664a=_0x562302[_0x24d61b]['to'];}}for(let _0x42775b=_0x4bf347['firstChild'];_0x42775b;_0x42775b=_0x42775b['nextSibling']){_0x316a7d(_0x42775b['from']+_0x71b6e5,!0x0);let _0x2828e,_0x5e71a7=_0x42775b['from']+_0x71b6e5,_0x2e9ae7=_0x5176c3['get'](_0x42775b['tree']);_0x2e9ae7?_0x2828e=_0x2e9ae7:_0x42775b['to']+_0x71b6e5>_0x56664a?(_0x2828e=_0x4c3db9(_0x562302,_0x24d61b,_0x42775b,_0x71b6e5,_0x5176c3),_0x316a7d(_0x42775b['to']+_0x71b6e5,!0x1)):_0x2828e=_0x42775b['toTree'](),_0x3e413d['push'](_0x2828e),_0x1aa676['push'](_0x5e71a7-_0x36d119);}return _0x316a7d(_0x4bf347['to']+_0x71b6e5,!0x1),new _0x626f5b(_0x4bf347['type'],_0x3e413d,_0x1aa676,_0x4bf347['to']+_0x71b6e5-_0x36d119,_0x4bf347['tree']?_0x4bf347['tree']['propValues']:void 0x0);}class _0xca89d0 extends _0x114016{constructor(_0x54964a,_0x69bdbd,_0x1a6c53,_0x5c211c,_0x159654,_0x44d8d5,_0x3cf803,_0x3b3ce2,_0x3d2a82){super(),this['nodeSet']=_0x54964a,this['blockParsers']=_0x69bdbd,this['leafBlockParsers']=_0x1a6c53,this['blockNames']=_0x5c211c,this['endLeafBlock']=_0x159654,this['skipContextMarkup']=_0x44d8d5,this['inlineParsers']=_0x3cf803,this['inlineNames']=_0x3b3ce2,this['wrappers']=_0x3d2a82,this['nodeTypes']=Object['create'](null);for(let t of _0x54964a['types'])this['nodeTypes'][t['name']]=t['id'];}['createParse'](_0x545c1e,_0x51d930,_0x3518ee){let _0x3166e0=new BlockContext(this,_0x545c1e,_0x51d930,_0x3518ee);for(let _0x523705 of this['wrappers'])_0x3166e0=_0x523705(_0x3166e0,_0x545c1e,_0x51d930,_0x3518ee);return _0x3166e0;}['configure'](_0x27b927){let _0x44c6ac=_0x5ef1c3(_0x27b927);if(!_0x44c6ac)return this;let {nodeSet:_0x25caa5,skipContextMarkup:_0x3cd616}=this,_0x31ff2e=this['blockParsers']['slice'](),_0x2d239f=this['leafBlockParsers']['slice'](),_0x5d8c8b=this['blockNames']['slice'](),_0x5c8b2d=this['inlineParsers']['slice'](),_0x5756fb=this['inlineNames']['slice'](),_0x150c2c=this['endLeafBlock']['slice'](),_0x33d844=this['wrappers'];if(_0x10315a(_0x44c6ac['defineNodes'])){_0x3cd616=Object['assign']({},_0x3cd616);let _0x74aee8,_0x1b7a2e=_0x25caa5['types']['slice']();for(let _0x4d7c3f of _0x44c6ac['defineNodes']){let {name:_0xf9615e,block:_0x108108,composite:_0x2a588d,style:_0x4ba0ae}='string'==typeof _0x4d7c3f?{'name':_0x4d7c3f}:_0x4d7c3f;if(_0x1b7a2e['some'](t=>t['name']==_0xf9615e))continue;_0x2a588d&&(_0x3cd616[_0x1b7a2e['length']]=(_0x5cf1ab,_0x3cdcf7,_0x8412f0)=>_0x2a588d(_0x3cdcf7,_0x8412f0,_0x5cf1ab['value']));let _0x1601b3=_0x1b7a2e['length'],_0x418073=_0x2a588d?['Block','BlockContext']:_0x108108?_0x1601b3>=_0x43cf58['ATXHeading1']&&_0x1601b3<=_0x43cf58['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0x1b7a2e['push'](_0x4c1c7e['define']({'id':_0x1601b3,'name':_0xf9615e,'props':_0x418073&&[[_0xdd8853['group'],_0x418073]]})),_0x4ba0ae&&(_0x74aee8||(_0x74aee8={}),Array['isArray'](_0x4ba0ae)||_0x4ba0ae instanceof _0x38e9e1?_0x74aee8[_0xf9615e]=_0x4ba0ae:Object['assign'](_0x74aee8,_0x4ba0ae));}_0x25caa5=new NodeSet(_0x1b7a2e),_0x74aee8&&(_0x25caa5=_0x25caa5['extend'](_0x898146(_0x74aee8)));}if(_0x10315a(_0x44c6ac['props'])&&(_0x25caa5=_0x25caa5['extend'](..._0x44c6ac['props'])),_0x10315a(_0x44c6ac['remove']))for(let _0x4a45ea of _0x44c6ac['remove']){let _0x200eea=this['blockNames']['indexOf'](_0x4a45ea),_0x4a2745=this['inlineNames']['indexOf'](_0x4a45ea);_0x200eea>-0x1&&(_0x31ff2e[_0x200eea]=_0x2d239f[_0x200eea]=void 0x0),_0x4a2745>-0x1&&(_0x5c8b2d[_0x4a2745]=void 0x0);}if(_0x10315a(_0x44c6ac['parseBlock']))for(let _0x5b2b2d of _0x44c6ac['parseBlock']){let _0x5b4833=_0x5d8c8b['indexOf'](_0x5b2b2d['name']);if(_0x5b4833>-0x1)_0x31ff2e[_0x5b4833]=_0x5b2b2d['parse'],_0x2d239f[_0x5b4833]=_0x5b2b2d['leaf'];else{let _0x2a5675=_0x5b2b2d['before']?_0x44e458(_0x5d8c8b,_0x5b2b2d['before']):_0x5b2b2d['after']?_0x44e458(_0x5d8c8b,_0x5b2b2d['after'])+0x1:_0x5d8c8b['length']-0x1;_0x31ff2e['splice'](_0x2a5675,0x0,_0x5b2b2d['parse']),_0x2d239f['splice'](_0x2a5675,0x0,_0x5b2b2d['leaf']),_0x5d8c8b['splice'](_0x2a5675,0x0,_0x5b2b2d['name']);}_0x5b2b2d['endLeaf']&&_0x150c2c['push'](_0x5b2b2d['endLeaf']);}if(_0x10315a(_0x44c6ac['parseInline']))for(let _0x2936c9 of _0x44c6ac['parseInline']){let _0x5a5e2c=_0x5756fb['indexOf'](_0x2936c9['name']);if(_0x5a5e2c>-0x1)_0x5c8b2d[_0x5a5e2c]=_0x2936c9['parse'];else{let _0x4dad19=_0x2936c9['before']?_0x44e458(_0x5756fb,_0x2936c9['before']):_0x2936c9['after']?_0x44e458(_0x5756fb,_0x2936c9['after'])+0x1:_0x5756fb['length']-0x1;_0x5c8b2d['splice'](_0x4dad19,0x0,_0x2936c9['parse']),_0x5756fb['splice'](_0x4dad19,0x0,_0x2936c9['name']);}}return _0x44c6ac['wrap']&&(_0x33d844=_0x33d844['concat'](_0x44c6ac['wrap'])),new _0xca89d0(_0x25caa5,_0x31ff2e,_0x2d239f,_0x5d8c8b,_0x150c2c,_0x3cd616,_0x5c8b2d,_0x5756fb,_0x33d844);}['getNodeType'](_0x121594){let _0xbb6235=this['nodeTypes'][_0x121594];if(null==_0xbb6235)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0x121594+'\x27');return _0xbb6235;}['parseInline'](_0x415fd4,_0x38daa3){let _0x5844dc=new InlineContext(this,_0x415fd4,_0x38daa3);t:for(let _0x3dcbb1=_0x38daa3;_0x3dcbb1<_0x5844dc['end'];){let _0x215d3e=_0x5844dc['char'](_0x3dcbb1);for(let _0x3051da of this['inlineParsers'])if(_0x3051da){let _0x4b00ad=_0x3051da(_0x5844dc,_0x215d3e,_0x3dcbb1);if(_0x4b00ad>=0x0){_0x3dcbb1=_0x4b00ad;continue t;}}_0x3dcbb1++;}return _0x5844dc['resolveMarkers'](0x0);}}function _0x10315a(_0x40dbbf){return null!=_0x40dbbf&&_0x40dbbf['length']>0x0;}function _0x5ef1c3(_0x3f3d64){if(!Array['isArray'](_0x3f3d64))return _0x3f3d64;if(0x0==_0x3f3d64['length'])return null;let _0x1816e2=_0x5ef1c3(_0x3f3d64[0x0]);if(0x1==_0x3f3d64['length'])return _0x1816e2;let _0x1b17e9=_0x5ef1c3(_0x3f3d64['slice'](0x1));if(!_0x1b17e9||!_0x1816e2)return _0x1816e2||_0x1b17e9;let _0xf6f621=(_0x23cdd9,_0x5f27f8)=>(_0x23cdd9||_0x384764)['concat'](_0x5f27f8||_0x384764),_0xc263d3=_0x1816e2['wrap'],_0x451f1d=_0x1b17e9['wrap'];return{'props':_0xf6f621(_0x1816e2['props'],_0x1b17e9['props']),'defineNodes':_0xf6f621(_0x1816e2['defineNodes'],_0x1b17e9['defineNodes']),'parseBlock':_0xf6f621(_0x1816e2['parseBlock'],_0x1b17e9['parseBlock']),'parseInline':_0xf6f621(_0x1816e2['parseInline'],_0x1b17e9['parseInline']),'remove':_0xf6f621(_0x1816e2['remove'],_0x1b17e9['remove']),'wrap':_0xc263d3?_0x451f1d?(_0x45ff2c,_0x102673,_0x122a2b,_0x4e4242)=>_0xc263d3(_0x451f1d(_0x45ff2c,_0x102673,_0x122a2b,_0x4e4242),_0x102673,_0x122a2b,_0x4e4242):_0xc263d3:_0x451f1d};}function _0x44e458(_0x4e7282,_0x5cb4f3){let _0x52352b=_0x4e7282['indexOf'](_0x5cb4f3);if(_0x52352b<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0x5cb4f3);return _0x52352b;}let _0x345321=[_0x4c1c7e['none']];for(let _0x3e0a56,_0x56ec84=0x1;_0x3e0a56=_0x43cf58[_0x56ec84];_0x56ec84++)_0x345321[_0x56ec84]=_0x4c1c7e['define']({'id':_0x56ec84,'name':_0x3e0a56,'props':_0x56ec84>=_0x43cf58['Escape']?[]:[[_0xdd8853['group'],_0x56ec84 in _0x8ed7b9?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==_0x3e0a56});const _0x384764=[];let _0x1b5608=class _0x5855a9{constructor(_0x49412c){this['nodeSet']=_0x49412c,this['content']=[],this['nodes']=[];}['write'](_0x42947f,_0x4e34bf,_0xce3574,_0x1e0ee1=0x0){return this['content']['push'](_0x42947f,_0x4e34bf,_0xce3574,0x4+0x4*_0x1e0ee1),this;}['writeElements'](_0x2745b0,_0x5d4f81=0x0){for(let _0x491994 of _0x2745b0)_0x491994['writeTo'](this,_0x5d4f81);return this;}['finish'](_0x2cd857,_0x2e42e8){return _0x626f5b['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0x2cd857,'length':_0x2e42e8});}},_0x11cdfe=class Element{constructor(_0x27e4d3,_0x1edfd4,_0x272003,_0x3f4179=_0x384764){this['type']=_0x27e4d3,this['from']=_0x1edfd4,this['to']=_0x272003,this['children']=_0x3f4179;}['writeTo'](_0x212420,_0x3bce08){let _0x3d1bae=_0x212420['content']['length'];_0x212420['writeElements'](this['children'],_0x3bce08),_0x212420['content']['push'](this['type'],this['from']+_0x3bce08,this['to']+_0x3bce08,_0x212420['content']['length']+0x4-_0x3d1bae);}['toTree'](_0x1949fb){return new _0x1b5608(_0x1949fb)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}};class TreeElement{constructor(_0x5531ec,_0x46492d){this['tree']=_0x5531ec,this['from']=_0x46492d;}get['to'](){return this['from']+this['tree']['length'];}get['type'](){return this['tree']['type']['id'];}get['children'](){return _0x384764;}['writeTo'](_0xaac972,_0x30698a){_0xaac972['nodes']['push'](this['tree']),_0xaac972['content']['push'](_0xaac972['nodes']['length']-0x1,this['from']+_0x30698a,this['to']+_0x30698a,-0x1);}['toTree'](){return this['tree'];}}function _0x570d5e(_0x3e8911,_0x4a791a,_0x5e6817,_0x406045){return new _0x11cdfe(_0x3e8911,_0x4a791a,_0x5e6817,_0x406045);}const _0x44a42c={'resolve':'Emphasis','mark':'EmphasisMark'},_0x36a988={'resolve':'Emphasis','mark':'EmphasisMark'},_0x2151d3={},_0x355412={};class InlineDelimiter{constructor(_0x5b8e7e,_0x1ec4e2,_0x53dae7,_0x4a0772){this['type']=_0x5b8e7e,this['from']=_0x1ec4e2,this['to']=_0x53dae7,this['side']=_0x4a0772;}}const _0x3393d5='!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~';let _0x5ee6f6=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{_0x5ee6f6=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0x53d47b){}const _0x413836={'Escape'(_0x3aae1e,_0x1d15ed,_0x3093aa){if(0x5c!=_0x1d15ed||_0x3093aa==_0x3aae1e['end']-0x1)return-0x1;let _0x5444cf=_0x3aae1e['char'](_0x3093aa+0x1);for(let _0x170b1a=0x0;_0x170b1a<0x20;_0x170b1a++)if(_0x3393d5['charCodeAt'](_0x170b1a)==_0x5444cf)return _0x3aae1e['append'](_0x570d5e(_0x43cf58['Escape'],_0x3093aa,_0x3093aa+0x2));return-0x1;},'Entity'(_0x538958,_0x4fca0f,_0x149b33){if(0x26!=_0x4fca0f)return-0x1;let _0x2550f9=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0x538958['slice'](_0x149b33+0x1,_0x149b33+0x1f));return _0x2550f9?_0x538958['append'](_0x570d5e(_0x43cf58['Entity'],_0x149b33,_0x149b33+0x1+_0x2550f9[0x0]['length'])):-0x1;},'InlineCode'(_0x55d79d,_0x1e0343,_0x4c58f3){if(0x60!=_0x1e0343||_0x4c58f3&&0x60==_0x55d79d['char'](_0x4c58f3-0x1))return-0x1;let _0x4af705=_0x4c58f3+0x1;for(;_0x4af705<_0x55d79d['end']&&0x60==_0x55d79d['char'](_0x4af705);)_0x4af705++;let _0x34e482=_0x4af705-_0x4c58f3,_0x4f9e27=0x0;for(;_0x4af705<_0x55d79d['end'];_0x4af705++)if(0x60==_0x55d79d['char'](_0x4af705)){if(_0x4f9e27++,_0x4f9e27==_0x34e482&&0x60!=_0x55d79d['char'](_0x4af705+0x1))return _0x55d79d['append'](_0x570d5e(_0x43cf58['InlineCode'],_0x4c58f3,_0x4af705+0x1,[_0x570d5e(_0x43cf58['CodeMark'],_0x4c58f3,_0x4c58f3+_0x34e482),_0x570d5e(_0x43cf58['CodeMark'],_0x4af705+0x1-_0x34e482,_0x4af705+0x1)]));}else _0x4f9e27=0x0;return-0x1;},'HTMLTag'(_0x2271e8,_0x15ead6,_0x307cd3){if(0x3c!=_0x15ead6||_0x307cd3==_0x2271e8['end']-0x1)return-0x1;let _0x1b401b=_0x2271e8['slice'](_0x307cd3+0x1,_0x2271e8['end']),_0x2f9ed9=/^(?:[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'](_0x1b401b);if(_0x2f9ed9)return _0x2271e8['append'](_0x570d5e(_0x43cf58['Autolink'],_0x307cd3,_0x307cd3+0x1+_0x2f9ed9[0x0]['length'],[_0x570d5e(_0x43cf58['LinkMark'],_0x307cd3,_0x307cd3+0x1),_0x570d5e(_0x43cf58['URL'],_0x307cd3+0x1,_0x307cd3+_0x2f9ed9[0x0]['length']),_0x570d5e(_0x43cf58['LinkMark'],_0x307cd3+_0x2f9ed9[0x0]['length'],_0x307cd3+0x1+_0x2f9ed9[0x0]['length'])]));let _0x56650f=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0x1b401b);if(_0x56650f)return _0x2271e8['append'](_0x570d5e(_0x43cf58['Comment'],_0x307cd3,_0x307cd3+0x1+_0x56650f[0x0]['length']));let _0x81c705=/^\?[^]*?\?>/['exec'](_0x1b401b);if(_0x81c705)return _0x2271e8['append'](_0x570d5e(_0x43cf58['ProcessingInstruction'],_0x307cd3,_0x307cd3+0x1+_0x81c705[0x0]['length']));let _0x282c34=/^(?:![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'](_0x1b401b);return _0x282c34?_0x2271e8['append'](_0x570d5e(_0x43cf58['HTMLTag'],_0x307cd3,_0x307cd3+0x1+_0x282c34[0x0]['length'])):-0x1;},'Emphasis'(_0x5583d7,_0x21191a,_0xe5c731){if(0x5f!=_0x21191a&&0x2a!=_0x21191a)return-0x1;let _0x24aaee=_0xe5c731+0x1;for(;_0x5583d7['char'](_0x24aaee)==_0x21191a;)_0x24aaee++;let _0x4347c8=_0x5583d7['slice'](_0xe5c731-0x1,_0xe5c731),_0x591e77=_0x5583d7['slice'](_0x24aaee,_0x24aaee+0x1),_0x34bb9a=_0x5ee6f6['test'](_0x4347c8),_0x408229=_0x5ee6f6['test'](_0x591e77),_0x4a2b7f=/\s|^$/['test'](_0x4347c8),_0x4c18e5=/\s|^$/['test'](_0x591e77),_0x5317af=!_0x4c18e5&&(!_0x408229||_0x4a2b7f||_0x34bb9a),_0x113b42=!_0x4a2b7f&&(!_0x34bb9a||_0x4c18e5||_0x408229),_0x3ba1af=_0x5317af&&(0x2a==_0x21191a||!_0x113b42||_0x34bb9a),_0xf38f04=_0x113b42&&(0x2a==_0x21191a||!_0x5317af||_0x408229);return _0x5583d7['append'](new InlineDelimiter(0x5f==_0x21191a?_0x44a42c:_0x36a988,_0xe5c731,_0x24aaee,(_0x3ba1af?0x1:0x0)|(_0xf38f04?0x2:0x0)));},'HardBreak'(_0x40984d,_0x254a27,_0x51ee8f){if(0x5c==_0x254a27&&0xa==_0x40984d['char'](_0x51ee8f+0x1))return _0x40984d['append'](_0x570d5e(_0x43cf58['HardBreak'],_0x51ee8f,_0x51ee8f+0x2));if(0x20==_0x254a27){let _0x51f99f=_0x51ee8f+0x1;for(;0x20==_0x40984d['char'](_0x51f99f);)_0x51f99f++;if(0xa==_0x40984d['char'](_0x51f99f)&&_0x51f99f>=_0x51ee8f+0x2)return _0x40984d['append'](_0x570d5e(_0x43cf58['HardBreak'],_0x51ee8f,_0x51f99f+0x1));}return-0x1;},'Link':(_0x1a970e,_0x19690b,_0x3da960)=>0x5b==_0x19690b?_0x1a970e['append'](new InlineDelimiter(_0x2151d3,_0x3da960,_0x3da960+0x1,0x1)):-0x1,'Image':(_0x489e13,_0x1781b7,_0x4e741f)=>0x21==_0x1781b7&&0x5b==_0x489e13['char'](_0x4e741f+0x1)?_0x489e13['append'](new InlineDelimiter(_0x355412,_0x4e741f,_0x4e741f+0x2,0x1)):-0x1,'LinkEnd'(_0x41a703,_0x322645,_0x3c84cb){if(0x5d!=_0x322645)return-0x1;for(let _0x191e49=_0x41a703['parts']['length']-0x1;_0x191e49>=0x0;_0x191e49--){let _0x51fd3b=_0x41a703['parts'][_0x191e49];if(_0x51fd3b instanceof InlineDelimiter&&(_0x51fd3b['type']==_0x2151d3||_0x51fd3b['type']==_0x355412)){if(!_0x51fd3b['side']||_0x41a703['skipSpace'](_0x51fd3b['to'])==_0x3c84cb&&!/[(\[]/['test'](_0x41a703['slice'](_0x3c84cb+0x1,_0x3c84cb+0x2)))return _0x41a703['parts'][_0x191e49]=null,-0x1;let _0x1c2b9f=_0x41a703['takeContent'](_0x191e49),_0x5007e2=_0x41a703['parts'][_0x191e49]=_0x168187(_0x41a703,_0x1c2b9f,_0x51fd3b['type']==_0x2151d3?_0x43cf58['Link']:_0x43cf58['Image'],_0x51fd3b['from'],_0x3c84cb+0x1);if(_0x51fd3b['type']==_0x2151d3)for(let _0x206a68=0x0;_0x206a68<_0x191e49;_0x206a68++){let _0x531b57=_0x41a703['parts'][_0x206a68];_0x531b57 instanceof InlineDelimiter&&_0x531b57['type']==_0x2151d3&&(_0x531b57['side']=0x0);}return _0x5007e2['to'];}}return-0x1;}};function _0x168187(_0x78fac1,_0x2a4aff,_0x24d896,_0x43661d,_0x510d85){let {text:_0x1d81ff}=_0x78fac1,_0x129f7f=_0x78fac1['char'](_0x510d85),_0x5ee1ea=_0x510d85;if(_0x2a4aff['unshift'](_0x570d5e(_0x43cf58['LinkMark'],_0x43661d,_0x43661d+(_0x24d896==_0x43cf58['Image']?0x2:0x1))),_0x2a4aff['push'](_0x570d5e(_0x43cf58['LinkMark'],_0x510d85-0x1,_0x510d85)),0x28==_0x129f7f){let _0x140965,_0x12793f=_0x78fac1['skipSpace'](_0x510d85+0x1),_0x9626f3=_0x26bed4(_0x1d81ff,_0x12793f-_0x78fac1['offset'],_0x78fac1['offset']);_0x9626f3&&(_0x12793f=_0x78fac1['skipSpace'](_0x9626f3['to']),_0x12793f!=_0x9626f3['to']&&(_0x140965=_0x1abce5(_0x1d81ff,_0x12793f-_0x78fac1['offset'],_0x78fac1['offset']),_0x140965&&(_0x12793f=_0x78fac1['skipSpace'](_0x140965['to'])))),0x29==_0x78fac1['char'](_0x12793f)&&(_0x2a4aff['push'](_0x570d5e(_0x43cf58['LinkMark'],_0x510d85,_0x510d85+0x1)),_0x5ee1ea=_0x12793f+0x1,_0x9626f3&&_0x2a4aff['push'](_0x9626f3),_0x140965&&_0x2a4aff['push'](_0x140965),_0x2a4aff['push'](_0x570d5e(_0x43cf58['LinkMark'],_0x12793f,_0x5ee1ea)));}else{if(0x5b==_0x129f7f){let _0x1e31e9=_0x3b7c96(_0x1d81ff,_0x510d85-_0x78fac1['offset'],_0x78fac1['offset'],!0x1);_0x1e31e9&&(_0x2a4aff['push'](_0x1e31e9),_0x5ee1ea=_0x1e31e9['to']);}}return _0x570d5e(_0x24d896,_0x43661d,_0x5ee1ea,_0x2a4aff);}function _0x26bed4(_0x294c28,_0x211d3b,_0x3cc838){if(0x3c==_0x294c28['charCodeAt'](_0x211d3b)){for(let _0x28c2a6=_0x211d3b+0x1;_0x28c2a6<_0x294c28['length'];_0x28c2a6++){let _0x4802bb=_0x294c28['charCodeAt'](_0x28c2a6);if(0x3e==_0x4802bb)return _0x570d5e(_0x43cf58['URL'],_0x211d3b+_0x3cc838,_0x28c2a6+0x1+_0x3cc838);if(0x3c==_0x4802bb||0xa==_0x4802bb)return!0x1;}return null;}{let _0x395e50=0x0,_0x35b639=_0x211d3b;for(let _0x1c32e1=!0x1;_0x35b639<_0x294c28['length'];_0x35b639++){let _0x4c3cb6=_0x294c28['charCodeAt'](_0x35b639);if(_0x9055b3(_0x4c3cb6))break;if(_0x1c32e1)_0x1c32e1=!0x1;else{if(0x28==_0x4c3cb6)_0x395e50++;else{if(0x29==_0x4c3cb6){if(!_0x395e50)break;_0x395e50--;}else 0x5c==_0x4c3cb6&&(_0x1c32e1=!0x0);}}}return _0x35b639>_0x211d3b?_0x570d5e(_0x43cf58['URL'],_0x211d3b+_0x3cc838,_0x35b639+_0x3cc838):_0x35b639==_0x294c28['length']&&null;}}function _0x1abce5(_0x4e4ca4,_0x31acdc,_0x47ba22){let _0x31a43f=_0x4e4ca4['charCodeAt'](_0x31acdc);if(0x27!=_0x31a43f&&0x22!=_0x31a43f&&0x28!=_0x31a43f)return!0x1;let _0x648805=0x28==_0x31a43f?0x29:_0x31a43f;for(let _0xf6e9c=_0x31acdc+0x1,_0xfb27d0=!0x1;_0xf6e9c<_0x4e4ca4['length'];_0xf6e9c++){let _0x341b44=_0x4e4ca4['charCodeAt'](_0xf6e9c);if(_0xfb27d0)_0xfb27d0=!0x1;else{if(_0x341b44==_0x648805)return _0x570d5e(_0x43cf58['LinkTitle'],_0x31acdc+_0x47ba22,_0xf6e9c+0x1+_0x47ba22);0x5c==_0x341b44&&(_0xfb27d0=!0x0);}}return null;}function _0x3b7c96(_0x47f42d,_0x523ae6,_0x189b2e,_0x5373eb){for(let _0x24e6dd=!0x1,_0x276ad9=_0x523ae6+0x1,_0x1052d9=Math['min'](_0x47f42d['length'],_0x276ad9+0x3e7);_0x276ad9<_0x1052d9;_0x276ad9++){let _0x720d51=_0x47f42d['charCodeAt'](_0x276ad9);if(_0x24e6dd)_0x24e6dd=!0x1;else{if(0x5d==_0x720d51)return!_0x5373eb&&_0x570d5e(_0x43cf58['LinkLabel'],_0x523ae6+_0x189b2e,_0x276ad9+0x1+_0x189b2e);if(_0x5373eb&&!_0x9055b3(_0x720d51)&&(_0x5373eb=!0x1),0x5b==_0x720d51)return!0x1;0x5c==_0x720d51&&(_0x24e6dd=!0x0);}}return null;}class InlineContext{constructor(_0x292a60,_0xace7c2,_0x54dedb){this['parser']=_0x292a60,this['text']=_0xace7c2,this['offset']=_0x54dedb,this['parts']=[];}['char'](_0x30af76){return _0x30af76>=this['end']?-0x1:this['text']['charCodeAt'](_0x30af76-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0x1c083c,_0x192c29){return this['text']['slice'](_0x1c083c-this['offset'],_0x192c29-this['offset']);}['append'](_0x89509c){return this['parts']['push'](_0x89509c),_0x89509c['to'];}['addDelimiter'](_0xc676a7,_0x2a5352,_0x3e18a1,_0x1c285c,_0x3cc95a){return this['append'](new InlineDelimiter(_0xc676a7,_0x2a5352,_0x3e18a1,(_0x1c285c?0x1:0x0)|(_0x3cc95a?0x2:0x0)));}get['hasOpenLink'](){for(let _0x3c4e97=this['parts']['length']-0x1;_0x3c4e97>=0x0;_0x3c4e97--){let _0x7eb7a3=this['parts'][_0x3c4e97];if(_0x7eb7a3 instanceof InlineDelimiter&&(_0x7eb7a3['type']==_0x2151d3||_0x7eb7a3['type']==_0x355412))return!0x0;}return!0x1;}['addElement'](_0x23b195){return this['append'](_0x23b195);}['resolveMarkers'](_0x5f34a3){for(let _0x9724db=_0x5f34a3;_0x9724db<this['parts']['length'];_0x9724db++){let _0x1f557c=this['parts'][_0x9724db];if(!(_0x1f557c instanceof InlineDelimiter&&_0x1f557c['type']['resolve']&&0x2&_0x1f557c['side']))continue;let _0x89e1a6,_0x141078=_0x1f557c['type']==_0x44a42c||_0x1f557c['type']==_0x36a988,_0x98fd97=_0x1f557c['to']-_0x1f557c['from'],_0x5586bd=_0x9724db-0x1;for(;_0x5586bd>=_0x5f34a3;_0x5586bd--){let _0x23e85b=this['parts'][_0x5586bd];if(_0x23e85b instanceof InlineDelimiter&&0x1&_0x23e85b['side']&&_0x23e85b['type']==_0x1f557c['type']&&!(_0x141078&&(0x1&_0x1f557c['side']||0x2&_0x23e85b['side'])&&(_0x23e85b['to']-_0x23e85b['from']+_0x98fd97)%0x3==0x0&&((_0x23e85b['to']-_0x23e85b['from'])%0x3||_0x98fd97%0x3))){_0x89e1a6=_0x23e85b;break;}}if(!_0x89e1a6)continue;let _0x4f25f0=_0x1f557c['type']['resolve'],_0x19b411=[],_0x46dc28=_0x89e1a6['from'],_0x5557a4=_0x1f557c['to'];if(_0x141078){let _0x6a388=Math['min'](0x2,_0x89e1a6['to']-_0x89e1a6['from'],_0x98fd97);_0x46dc28=_0x89e1a6['to']-_0x6a388,_0x5557a4=_0x1f557c['from']+_0x6a388,_0x4f25f0=0x1==_0x6a388?'Emphasis':'StrongEmphasis';}_0x89e1a6['type']['mark']&&_0x19b411['push'](this['elt'](_0x89e1a6['type']['mark'],_0x46dc28,_0x89e1a6['to']));for(let _0x3342cb=_0x5586bd+0x1;_0x3342cb<_0x9724db;_0x3342cb++)this['parts'][_0x3342cb]instanceof _0x11cdfe&&_0x19b411['push'](this['parts'][_0x3342cb]),this['parts'][_0x3342cb]=null;_0x1f557c['type']['mark']&&_0x19b411['push'](this['elt'](_0x1f557c['type']['mark'],_0x1f557c['from'],_0x5557a4));let _0x2860a8=this['elt'](_0x4f25f0,_0x46dc28,_0x5557a4,_0x19b411);this['parts'][_0x5586bd]=_0x141078&&_0x89e1a6['from']!=_0x46dc28?new InlineDelimiter(_0x89e1a6['type'],_0x89e1a6['from'],_0x46dc28,_0x89e1a6['side']):null,(this['parts'][_0x9724db]=_0x141078&&_0x1f557c['to']!=_0x5557a4?new InlineDelimiter(_0x1f557c['type'],_0x5557a4,_0x1f557c['to'],_0x1f557c['side']):null)?this['parts']['splice'](_0x9724db,0x0,_0x2860a8):this['parts'][_0x9724db]=_0x2860a8;}let _0x2babe8=[];for(let _0x25c89f=_0x5f34a3;_0x25c89f<this['parts']['length'];_0x25c89f++){let _0x2dca90=this['parts'][_0x25c89f];_0x2dca90 instanceof _0x11cdfe&&_0x2babe8['push'](_0x2dca90);}return _0x2babe8;}['findOpeningDelimiter'](_0x287110){for(let _0x5987c5=this['parts']['length']-0x1;_0x5987c5>=0x0;_0x5987c5--){let _0x4150cf=this['parts'][_0x5987c5];if(_0x4150cf instanceof InlineDelimiter&&_0x4150cf['type']==_0x287110&&0x1&_0x4150cf['side'])return _0x5987c5;}return null;}['takeContent'](_0x285641){let _0x3abe18=this['resolveMarkers'](_0x285641);return this['parts']['length']=_0x285641,_0x3abe18;}['getDelimiterAt'](_0x4e758a){let _0x4501eb=this['parts'][_0x4e758a];return _0x4501eb instanceof InlineDelimiter?_0x4501eb:null;}['skipSpace'](_0x10bfad){return _0x2bd4d3(this['text'],_0x10bfad-this['offset'])+this['offset'];}['elt'](_0x3c0738,_0x5c1a5c,_0x2d584f,_0x48d49b){return'string'==typeof _0x3c0738?_0x570d5e(this['parser']['getNodeType'](_0x3c0738),_0x5c1a5c,_0x2d584f,_0x48d49b):new TreeElement(_0x3c0738,_0x5c1a5c);}}function _0x335278(_0x3a7dc0,_0x5b3466){if(!_0x5b3466['length'])return _0x3a7dc0;if(!_0x3a7dc0['length'])return _0x5b3466;let _0x5ef06b=_0x3a7dc0['slice'](),_0x1b755c=0x0;for(let _0x520865 of _0x5b3466){for(;_0x1b755c<_0x5ef06b['length']&&_0x5ef06b[_0x1b755c]['to']<_0x520865['to'];)_0x1b755c++;if(_0x1b755c<_0x5ef06b['length']&&_0x5ef06b[_0x1b755c]['from']<_0x520865['from']){let _0xcf3ea6=_0x5ef06b[_0x1b755c];_0xcf3ea6 instanceof _0x11cdfe&&(_0x5ef06b[_0x1b755c]=new _0x11cdfe(_0xcf3ea6['type'],_0xcf3ea6['from'],_0xcf3ea6['to'],_0x335278(_0xcf3ea6['children'],[_0x520865])));}else _0x5ef06b['splice'](_0x1b755c++,0x0,_0x520865);}return _0x5ef06b;}InlineContext['linkStart']=_0x2151d3,InlineContext['imageStart']=_0x355412;const _0xb4dfc8=[_0x43cf58['CodeBlock'],_0x43cf58['ListItem'],_0x43cf58['OrderedList'],_0x43cf58['BulletList']];class FragmentCursor{constructor(_0x4ee5c4,_0x1fc84a){this['fragments']=_0x4ee5c4,this['input']=_0x1fc84a,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0x4ee5c4['length']&&(this['fragment']=_0x4ee5c4[this['i']++]);}['nextFragment'](){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0x8f3ae8,_0xd5318d){for(;this['fragment']&&this['fragment']['to']<=_0x8f3ae8;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0x8f3ae8?_0x8f3ae8-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0x119f70=this['fragment']['to'];for(;_0x119f70>0x0&&'\x0a'!=this['input']['read'](_0x119f70-0x1,_0x119f70);)_0x119f70--;this['fragmentEnd']=_0x119f70?_0x119f70-0x1:0x0;}let _0x4fe0d6=this['cursor'];_0x4fe0d6||(_0x4fe0d6=this['cursor']=this['fragment']['tree']['cursor'](),_0x4fe0d6['firstChild']());let _0x4ce539=_0x8f3ae8+this['fragment']['offset'];for(;_0x4fe0d6['to']<=_0x4ce539;)if(!_0x4fe0d6['parent']())return!0x1;for(;;){if(_0x4fe0d6['from']>=_0x4ce539)return this['fragment']['from']<=_0xd5318d;if(!_0x4fe0d6['childAfter'](_0x4ce539))return!0x1;}}['matches'](_0xc001e8){let _0x234a92=this['cursor']['tree'];return _0x234a92&&_0x234a92['prop'](_0xdd8853['contextHash'])==_0xc001e8;}['takeNodes'](_0x17fabb){let _0x251971=this['cursor'],_0xe42b69=this['fragment']['offset'],_0x2b30ff=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0x2f32dd=_0x17fabb['absoluteLineStart'],_0x8cb939=_0x2f32dd,_0x17eef3=_0x17fabb['block']['children']['length'],_0x533df5=_0x8cb939,_0x353e25=_0x17eef3;for(;;){if(_0x251971['to']-_0xe42b69>_0x2b30ff){if(_0x251971['type']['isAnonymous']&&_0x251971['firstChild']())continue;break;}let _0x499988=_0x50d4c9(_0x251971['from']-_0xe42b69,_0x17fabb['ranges']);if(_0x251971['to']-_0xe42b69<=_0x17fabb['ranges'][_0x17fabb['rangeI']]['to'])_0x17fabb['addNode'](_0x251971['tree'],_0x499988);else{let _0x954d5c=new _0x626f5b(_0x17fabb['parser']['nodeSet']['types'][_0x43cf58['Paragraph']],[],[],0x0,_0x17fabb['block']['hashProp']);_0x17fabb['reusePlaceholders']['set'](_0x954d5c,_0x251971['tree']),_0x17fabb['addNode'](_0x954d5c,_0x499988);}if(_0x251971['type']['is']('Block')&&(_0xb4dfc8['indexOf'](_0x251971['type']['id'])<0x0?(_0x8cb939=_0x251971['to']-_0xe42b69,_0x17eef3=_0x17fabb['block']['children']['length']):(_0x8cb939=_0x533df5,_0x17eef3=_0x353e25,_0x533df5=_0x251971['to']-_0xe42b69,_0x353e25=_0x17fabb['block']['children']['length'])),!_0x251971['nextSibling']())break;}for(;_0x17fabb['block']['children']['length']>_0x17eef3;)_0x17fabb['block']['children']['pop'](),_0x17fabb['block']['positions']['pop']();return _0x8cb939-_0x2f32dd;}}function _0x50d4c9(_0x428ba9,_0x21ff2d){let _0x2057bb=_0x428ba9;for(let _0x1b3e87=0x1;_0x1b3e87<_0x21ff2d['length'];_0x1b3e87++){let _0x871f5c=_0x21ff2d[_0x1b3e87-0x1]['to'],_0x4bd72b=_0x21ff2d[_0x1b3e87]['from'];_0x871f5c<_0x428ba9&&(_0x2057bb-=_0x4bd72b-_0x871f5c);}return _0x2057bb;}const _0x5e0b85=_0x898146({'Blockquote/...':_0x40ee63['quote'],'HorizontalRule':_0x40ee63['contentSeparator'],'ATXHeading1/...\x20SetextHeading1/...':_0x40ee63['heading1'],'ATXHeading2/...\x20SetextHeading2/...':_0x40ee63['heading2'],'ATXHeading3/...':_0x40ee63['heading3'],'ATXHeading4/...':_0x40ee63['heading4'],'ATXHeading5/...':_0x40ee63['heading5'],'ATXHeading6/...':_0x40ee63['heading6'],'Comment\x20CommentBlock':_0x40ee63['comment'],'Escape':_0x40ee63['escape'],'Entity':_0x40ee63['character'],'Emphasis/...':_0x40ee63['emphasis'],'StrongEmphasis/...':_0x40ee63['strong'],'Link/...\x20Image/...':_0x40ee63['link'],'OrderedList/...\x20BulletList/...':_0x40ee63['list'],'BlockQuote/...':_0x40ee63['quote'],'InlineCode\x20CodeText':_0x40ee63['monospace'],'URL\x20Autolink':_0x40ee63['url'],'HeaderMark\x20HardBreak\x20QuoteMark\x20ListMark\x20LinkMark\x20EmphasisMark\x20CodeMark':_0x40ee63['processingInstruction'],'CodeInfo\x20LinkLabel':_0x40ee63['labelName'],'LinkTitle':_0x40ee63['string'],'Paragraph':_0x40ee63['content']}),_0x5d065d=new _0xca89d0(new NodeSet(_0x345321)['extend'](_0x5e0b85),Object['keys'](_0x267dcf)['map'](_0xe9fef2=>_0x267dcf[_0xe9fef2]),Object['keys'](_0x267dcf)['map'](_0xf4ea6f=>_0x35438c[_0xf4ea6f]),Object['keys'](_0x267dcf),_0x3fb304,_0x8ed7b9,Object['keys'](_0x413836)['map'](_0x300b98=>_0x413836[_0x300b98]),Object['keys'](_0x413836),[]);function _0x1344d8(_0x557905,_0x35f350,_0x18fbe9){let _0x169906=[];for(let _0x5f23a1=_0x557905['firstChild'],_0x35988d=_0x35f350;;_0x5f23a1=_0x5f23a1['nextSibling']){let _0x3ddc87=_0x5f23a1?_0x5f23a1['from']:_0x18fbe9;if(_0x3ddc87>_0x35988d&&_0x169906['push']({'from':_0x35988d,'to':_0x3ddc87}),!_0x5f23a1)break;_0x35988d=_0x5f23a1['to'];}return _0x169906;}const _0x5bcc83={'resolve':'Strikethrough','mark':'StrikethroughMark'},_0x349495={'defineNodes':[{'name':'Strikethrough','style':{'Strikethrough/...':_0x40ee63['strikethrough']}},{'name':'StrikethroughMark','style':_0x40ee63['processingInstruction']}],'parseInline':[{'name':'Strikethrough','parse'(_0x3b7af6,_0x288851,_0x4c1bf5){if(0x7e!=_0x288851||0x7e!=_0x3b7af6['char'](_0x4c1bf5+0x1)||0x7e==_0x3b7af6['char'](_0x4c1bf5+0x2))return-0x1;let _0x2bbd38=_0x3b7af6['slice'](_0x4c1bf5-0x1,_0x4c1bf5),_0x2638d1=_0x3b7af6['slice'](_0x4c1bf5+0x2,_0x4c1bf5+0x3),_0xee6b7f=/\s|^$/['test'](_0x2bbd38),_0xad6cb2=/\s|^$/['test'](_0x2638d1),_0x2924ec=_0x5ee6f6['test'](_0x2bbd38),_0x1076c1=_0x5ee6f6['test'](_0x2638d1);return _0x3b7af6['addDelimiter'](_0x5bcc83,_0x4c1bf5,_0x4c1bf5+0x2,!_0xad6cb2&&(!_0x1076c1||_0xee6b7f||_0x2924ec),!_0xee6b7f&&(!_0x2924ec||_0xad6cb2||_0x1076c1));},'after':'Emphasis'}]};function _0x4ba3dc(_0x218d9e,_0x1edf84,_0x531e18=0x0,_0x76edb3,_0x2d5b69=0x0){let _0x14b15c=0x0,_0x18a653=!0x0,_0xc27a4=-0x1,_0x3f599e=-0x1,_0x29c964=!0x1,_0x410eaa=()=>{_0x76edb3['push'](_0x218d9e['elt']('TableCell',_0x2d5b69+_0xc27a4,_0x2d5b69+_0x3f599e,_0x218d9e['parser']['parseInline'](_0x1edf84['slice'](_0xc27a4,_0x3f599e),_0x2d5b69+_0xc27a4)));};for(let _0x483b1c=_0x531e18;_0x483b1c<_0x1edf84['length'];_0x483b1c++){let _0x1fbabc=_0x1edf84['charCodeAt'](_0x483b1c);0x7c!=_0x1fbabc||_0x29c964?(_0x29c964||0x20!=_0x1fbabc&&0x9!=_0x1fbabc)&&(_0xc27a4<0x0&&(_0xc27a4=_0x483b1c),_0x3f599e=_0x483b1c+0x1):((!_0x18a653||_0xc27a4>-0x1)&&_0x14b15c++,_0x18a653=!0x1,_0x76edb3&&(_0xc27a4>-0x1&&_0x410eaa(),_0x76edb3['push'](_0x218d9e['elt']('TableDelimiter',_0x483b1c+_0x2d5b69,_0x483b1c+_0x2d5b69+0x1))),_0xc27a4=_0x3f599e=-0x1),_0x29c964=!_0x29c964&&0x5c==_0x1fbabc;}return _0xc27a4>-0x1&&(_0x14b15c++,_0x76edb3&&_0x410eaa()),_0x14b15c;}function _0x34adc0(_0x54d29d,_0x1523e4){for(let _0x2811ff=_0x1523e4;_0x2811ff<_0x54d29d['length'];_0x2811ff++){let _0x15e526=_0x54d29d['charCodeAt'](_0x2811ff);if(0x7c==_0x15e526)return!0x0;0x5c==_0x15e526&&_0x2811ff++;}return!0x1;}const _0x36166a=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class _0x49ec38{constructor(){this['rows']=null;}['nextLine'](_0x5c4cb3,_0xc659ed,_0x348279){if(null==this['rows']){let _0x2c3f08;if(this['rows']=!0x1,(0x2d==_0xc659ed['next']||0x3a==_0xc659ed['next']||0x7c==_0xc659ed['next'])&&_0x36166a['test'](_0x2c3f08=_0xc659ed['text']['slice'](_0xc659ed['pos']))){let _0xc2ab60=[];_0x4ba3dc(_0x5c4cb3,_0x348279['content'],0x0,_0xc2ab60,_0x348279['start'])==_0x4ba3dc(_0x5c4cb3,_0x2c3f08,_0xc659ed['pos'])&&(this['rows']=[_0x5c4cb3['elt']('TableHeader',_0x348279['start'],_0x348279['start']+_0x348279['content']['length'],_0xc2ab60),_0x5c4cb3['elt']('TableDelimiter',_0x5c4cb3['lineStart']+_0xc659ed['pos'],_0x5c4cb3['lineStart']+_0xc659ed['text']['length'])]);}}else{if(this['rows']){let _0x2ba516=[];_0x4ba3dc(_0x5c4cb3,_0xc659ed['text'],_0xc659ed['pos'],_0x2ba516,_0x5c4cb3['lineStart']),this['rows']['push'](_0x5c4cb3['elt']('TableRow',_0x5c4cb3['lineStart']+_0xc659ed['pos'],_0x5c4cb3['lineStart']+_0xc659ed['text']['length'],_0x2ba516));}}return!0x1;}['finish'](_0x29ee6f,_0x4c1137){return!!this['rows']&&(_0x29ee6f['addLeafElement'](_0x4c1137,_0x29ee6f['elt']('Table',_0x4c1137['start'],_0x4c1137['start']+_0x4c1137['content']['length'],this['rows'])),!0x0);}}const _0x1619f2={'defineNodes':[{'name':'Table','block':!0x0},{'name':'TableHeader','style':{'TableHeader/...':_0x40ee63['heading']}},'TableRow',{'name':'TableCell','style':_0x40ee63['content']},{'name':'TableDelimiter','style':_0x40ee63['processingInstruction']}],'parseBlock':[{'name':'Table','leaf':(_0xf81349,_0x1ba08e)=>_0x34adc0(_0x1ba08e['content'],0x0)?new _0x49ec38():null,'endLeaf'(_0x49853b,_0x132c6d,_0x1891e3){if(_0x1891e3['parsers']['some'](_0x516e43=>_0x516e43 instanceof _0x49ec38)||!_0x34adc0(_0x132c6d['text'],_0x132c6d['basePos']))return!0x1;let _0x569903=_0x49853b['peekLine']();return _0x36166a['test'](_0x569903)&&_0x4ba3dc(_0x49853b,_0x132c6d['text'],_0x132c6d['basePos'])==_0x4ba3dc(_0x49853b,_0x569903,_0x132c6d['basePos']);},'before':'SetextHeading'}]};class _0x4b1051{['nextLine'](){return!0x1;}['finish'](_0x4d023b,_0x35bbcf){return _0x4d023b['addLeafElement'](_0x35bbcf,_0x4d023b['elt']('Task',_0x35bbcf['start'],_0x35bbcf['start']+_0x35bbcf['content']['length'],[_0x4d023b['elt']('TaskMarker',_0x35bbcf['start'],_0x35bbcf['start']+0x3),..._0x4d023b['parser']['parseInline'](_0x35bbcf['content']['slice'](0x3),_0x35bbcf['start']+0x3)])),!0x0;}}const _0x2d5d56={'defineNodes':[{'name':'Task','block':!0x0,'style':_0x40ee63['list']},{'name':'TaskMarker','style':_0x40ee63['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0x51bfc1,_0x3d7a13)=>/^\[[ xX]\][ \t]/['test'](_0x3d7a13['content'])&&'ListItem'==_0x51bfc1['parentType']()['name']?new _0x4b1051():null,'after':'SetextHeading'}]},_0x20b2d9=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,_0x5879da=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,_0x1bc36d=/[\w-]+\.[\w-]+($|\/)/,tR=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,_0x30315d=/\/[a-zA-Z\d@.]+/gy;function _0x2cf80f(_0x5e2cf6,_0x530f8b,_0x4571a2,_0x152329){let _0x384652=0x0;for(let _0x1748c8=_0x530f8b;_0x1748c8<_0x4571a2;_0x1748c8++)_0x5e2cf6[_0x1748c8]==_0x152329&&_0x384652++;return _0x384652;}function _0x16c597(_0x1d890a,_0x13ad13){tR['lastIndex']=_0x13ad13;let _0x44c84b=tR['exec'](_0x1d890a);if(!_0x44c84b)return-0x1;let _0x2de4b8=_0x44c84b[0x0][_0x44c84b[0x0]['length']-0x1];return'_'==_0x2de4b8||'-'==_0x2de4b8?-0x1:_0x13ad13+_0x44c84b[0x0]['length']-('.'==_0x2de4b8?0x1:0x0);}const _0x4e9c82={'parseInline':[{'name':'Autolink','parse'(_0x299737,_0x156fa4,_0x1434ea){let _0x584dd7=_0x1434ea-_0x299737['offset'];if(_0x584dd7&&/\w/['test'](_0x299737['text'][_0x584dd7-0x1]))return-0x1;_0x20b2d9['lastIndex']=_0x584dd7;let _0x27ee90=_0x20b2d9['exec'](_0x299737['text']),_0x4735da=-0x1;if(!_0x27ee90)return-0x1;if(_0x27ee90[0x1]||_0x27ee90[0x2])(_0x4735da=function(_0x2305da,_0x2f9f66){_0x5879da['lastIndex']=_0x2f9f66;let _0x478c77=_0x5879da['exec'](_0x2305da);if(!_0x478c77||_0x1bc36d['exec'](_0x478c77[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x3b5536=_0x2f9f66+_0x478c77[0x0]['length'];for(;;){let _0x486f4e,_0x30ae46=_0x2305da[_0x3b5536-0x1];if(/[?!.,:*_~]/['test'](_0x30ae46)||')'==_0x30ae46&&_0x2cf80f(_0x2305da,_0x2f9f66,_0x3b5536,')')>_0x2cf80f(_0x2305da,_0x2f9f66,_0x3b5536,'('))_0x3b5536--;else{if(';'!=_0x30ae46||!(_0x486f4e=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0x2305da['slice'](_0x2f9f66,_0x3b5536))))break;_0x3b5536=_0x2f9f66+_0x486f4e['index'];}}return _0x3b5536;}(_0x299737['text'],_0x584dd7+_0x27ee90[0x0]['length']),_0x4735da>-0x1&&_0x299737['hasOpenLink'])&&(_0x4735da=_0x584dd7+/([^\[\]]|\[[^\]]*\])*/['exec'](_0x299737['text']['slice'](_0x584dd7,_0x4735da))[0x0]['length']);else _0x27ee90[0x3]?_0x4735da=_0x16c597(_0x299737['text'],_0x584dd7):(_0x4735da=_0x16c597(_0x299737['text'],_0x584dd7+_0x27ee90[0x0]['length']),_0x4735da>-0x1&&'xmpp:'==_0x27ee90[0x0]&&(_0x30315d['lastIndex']=_0x4735da,_0x27ee90=_0x30315d['exec'](_0x299737['text']),_0x27ee90&&(_0x4735da=_0x27ee90['index']+_0x27ee90[0x0]['length'])));return _0x4735da<0x0?-0x1:(_0x299737['addElement'](_0x299737['elt']('URL',_0x1434ea,_0x4735da+_0x299737['offset'])),_0x4735da+_0x299737['offset']);}}]},_0x3214b6=[_0x1619f2,_0x2d5d56,_0x349495,_0x4e9c82];function _0x30036(_0x48819d,_0x425d8a,_0x467a52){return(_0x34fbb9,_0x212941,_0x5ac7d0)=>{if(_0x212941!=_0x48819d||_0x34fbb9['char'](_0x5ac7d0+0x1)==_0x48819d)return-0x1;let _0x242c49=[_0x34fbb9['elt'](_0x467a52,_0x5ac7d0,_0x5ac7d0+0x1)];for(let _0x5188e8=_0x5ac7d0+0x1;_0x5188e8<_0x34fbb9['end'];_0x5188e8++){let _0x19d4f2=_0x34fbb9['char'](_0x5188e8);if(_0x19d4f2==_0x48819d)return _0x34fbb9['addElement'](_0x34fbb9['elt'](_0x425d8a,_0x5ac7d0,_0x5188e8+0x1,_0x242c49['concat'](_0x34fbb9['elt'](_0x467a52,_0x5188e8,_0x5188e8+0x1))));if(0x5c==_0x19d4f2&&_0x242c49['push'](_0x34fbb9['elt']('Escape',_0x5188e8,0x2+_0x5188e8++)),_0x9055b3(_0x19d4f2))break;}return-0x1;};}const _0x555232={'defineNodes':[{'name':'Superscript','style':_0x40ee63['special'](_0x40ee63['content'])},{'name':'SuperscriptMark','style':_0x40ee63['processingInstruction']}],'parseInline':[{'name':'Superscript','parse':_0x30036(0x5e,'Superscript','SuperscriptMark')}]},_0x90a493={'defineNodes':[{'name':'Subscript','style':_0x40ee63['special'](_0x40ee63['content'])},{'name':'SubscriptMark','style':_0x40ee63['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':_0x30036(0x7e,'Subscript','SubscriptMark')}]},_0x516e5f={'defineNodes':[{'name':'Emoji','style':_0x40ee63['character']}],'parseInline':[{'name':'Emoji','parse'(_0x28da15,_0x53ff6b,_0x5b7f49){let _0x3732e9;return 0x3a==_0x53ff6b&&(_0x3732e9=/^[a-zA-Z_0-9]+:/['exec'](_0x28da15['slice'](_0x5b7f49+0x1,_0x28da15['end'])))?_0x28da15['addElement'](_0x28da15['elt']('Emoji',_0x5b7f49,_0x5b7f49+0x1+_0x3732e9[0x0]['length'])):-0x1;}}]},_0xfd5819=_0x409fad({'commentTokens':{'block':{'open':'<!--','close':'-->'}}}),_0x4c578c=new _0xdd8853(),_0x7ecf61=_0x5d065d['configure']({'props':[_0x442d29['add'](_0x5ea430=>!_0x5ea430['is']('Block')||_0x5ea430['is']('Document')||null!=_0x217ac9(_0x5ea430)||function(_0xa8c6e7){return'OrderedList'==_0xa8c6e7['name']||'BulletList'==_0xa8c6e7['name'];}(_0x5ea430)?void 0x0:(_0x55a033,_0x3d9e4b)=>({'from':_0x3d9e4b['doc']['lineAt'](_0x55a033['from'])['to'],'to':_0x55a033['to']})),_0x4c578c['add'](_0x217ac9),_0x50ecc3['add']({'Document':()=>null}),_0x537cb7['add']({'Document':_0xfd5819})]});function _0x217ac9(_0x39f16f){let _0x987089=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0x39f16f['name']);return _0x987089?+_0x987089[0x1]:void 0x0;}function _0x59d1ad(_0x40b1c0,_0x407092){let _0x3cfb8f=_0x40b1c0;for(;;){let _0x59660e,_0x12b5f4=_0x3cfb8f['nextSibling'];if(!_0x12b5f4||null!=(_0x59660e=_0x217ac9(_0x12b5f4['type']))&&_0x59660e<=_0x407092)break;_0x3cfb8f=_0x12b5f4;}return _0x3cfb8f['to'];}const _0x15f42c=_0x2af68d['of']((_0x1cdf18,_0x3973ad,_0x2b5802)=>{for(let _0x1aee7a=_0x31f27d(_0x1cdf18)['resolveInner'](_0x2b5802,-0x1);_0x1aee7a&&!(_0x1aee7a['from']<_0x3973ad);_0x1aee7a=_0x1aee7a['parent']){let _0x478815=_0x1aee7a['type']['prop'](_0x4c578c);if(null==_0x478815)continue;let _0x42d785=_0x59d1ad(_0x1aee7a,_0x478815);if(_0x42d785>_0x2b5802)return{'from':_0x2b5802,'to':_0x42d785};}return null;});function _0x34dcd5(_0x3555a5){return new _0x48234d(_0xfd5819,_0x3555a5,[_0x15f42c],'markdown');}const _0x825626=_0x34dcd5(_0x7ecf61),_0x6bb9fd=_0x34dcd5(_0x7ecf61['configure']([_0x3214b6,_0x90a493,_0x555232,_0x516e5f,{'props':[_0x442d29['add']({'Table':(_0x5af3c7,_0x4e548c)=>({'from':_0x4e548c['doc']['lineAt'](_0x5af3c7['from'])['to'],'to':_0x5af3c7['to']})})]}]));class Context{constructor(_0x415aa1,_0x2f2e7e,_0x3ee646,_0x34e2df,_0x2323a8,_0x5be108,_0x3478ee){this['node']=_0x415aa1,this['from']=_0x2f2e7e,this['to']=_0x3ee646,this['spaceBefore']=_0x34e2df,this['spaceAfter']=_0x2323a8,this['type']=_0x5be108,this['item']=_0x3478ee;}['blank'](_0xeea59,_0x245ea7=!0x0){let _0x4cd7fe=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0xeea59){for(;_0x4cd7fe['length']<_0xeea59;)_0x4cd7fe+='\x20';return _0x4cd7fe;}for(let _0x566d4a=this['to']-this['from']-_0x4cd7fe['length']-this['spaceAfter']['length'];_0x566d4a>0x0;_0x566d4a--)_0x4cd7fe+='\x20';return _0x4cd7fe+(_0x245ea7?this['spaceAfter']:'');}['marker'](_0x5439dd,_0x10ff67){let _0x5dd8a6='OrderedList'==this['node']['name']?String(+_0x2eed91(this['item'],_0x5439dd)[0x2]+_0x10ff67):'';return this['spaceBefore']+_0x5dd8a6+this['type']+this['spaceAfter'];}}function _0xa02f0b(_0xad52ac,_0x309a5d){let _0x118e68=[],_0x3a3d40=[];for(let _0x24c5c7=_0xad52ac;_0x24c5c7;_0x24c5c7=_0x24c5c7['parent']){if('FencedCode'==_0x24c5c7['name'])return _0x3a3d40;'ListItem'!=_0x24c5c7['name']&&'Blockquote'!=_0x24c5c7['name']||_0x118e68['push'](_0x24c5c7);}for(let _0x428347=_0x118e68['length']-0x1;_0x428347>=0x0;_0x428347--){let _0x156385,_0x3547c1=_0x118e68[_0x428347],_0x4487ae=_0x309a5d['lineAt'](_0x3547c1['from']),_0x26e178=_0x3547c1['from']-_0x4487ae['from'];if('Blockquote'==_0x3547c1['name']&&(_0x156385=/^ *>( ?)/['exec'](_0x4487ae['text']['slice'](_0x26e178))))_0x3a3d40['push'](new Context(_0x3547c1,_0x26e178,_0x26e178+_0x156385[0x0]['length'],'',_0x156385[0x1],'>',null));else{if('ListItem'==_0x3547c1['name']&&'OrderedList'==_0x3547c1['parent']['name']&&(_0x156385=/^( *)\d+([.)])( *)/['exec'](_0x4487ae['text']['slice'](_0x26e178)))){let _0x2794fc=_0x156385[0x3],_0x3f459f=_0x156385[0x0]['length'];_0x2794fc['length']>=0x4&&(_0x2794fc=_0x2794fc['slice'](0x0,_0x2794fc['length']-0x4),_0x3f459f-=0x4),_0x3a3d40['push'](new Context(_0x3547c1['parent'],_0x26e178,_0x26e178+_0x3f459f,_0x156385[0x1],_0x2794fc,_0x156385[0x2],_0x3547c1));}else{if('ListItem'==_0x3547c1['name']&&'BulletList'==_0x3547c1['parent']['name']&&(_0x156385=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0x4487ae['text']['slice'](_0x26e178)))){let _0xc93d9c=_0x156385[0x4],_0x20df6d=_0x156385[0x0]['length'];_0xc93d9c['length']>0x4&&(_0xc93d9c=_0xc93d9c['slice'](0x0,_0xc93d9c['length']-0x4),_0x20df6d-=0x4);let _0x300e20=_0x156385[0x2];_0x156385[0x3]&&(_0x300e20+=_0x156385[0x3]['replace'](/[xX]/,'\x20')),_0x3a3d40['push'](new Context(_0x3547c1['parent'],_0x26e178,_0x26e178+_0x20df6d,_0x156385[0x1],_0xc93d9c,_0x300e20,_0x3547c1));}}}}return _0x3a3d40;}function _0x2eed91(_0x1f61b5,_0x40f72f){return/^(\s*)(\d+)(?=[.)])/['exec'](_0x40f72f['sliceString'](_0x1f61b5['from'],_0x1f61b5['from']+0xa));}function _0x44c0c1(_0x3dd5a6,_0x43d647,_0x2668ef,_0x4357bc=0x0){for(let _0x455eb0=-0x1,_0x4ca422=_0x3dd5a6;;){if('ListItem'==_0x4ca422['name']){let _0x114dc1=_0x2eed91(_0x4ca422,_0x43d647),_0x35acfb=+_0x114dc1[0x2];if(_0x455eb0>=0x0){if(_0x35acfb!=_0x455eb0+0x1)return;_0x2668ef['push']({'from':_0x4ca422['from']+_0x114dc1[0x1]['length'],'to':_0x4ca422['from']+_0x114dc1[0x0]['length'],'insert':String(_0x455eb0+0x2+_0x4357bc)});}_0x455eb0=_0x35acfb;}let _0xc6d5ca=_0x4ca422['nextSibling'];if(!_0xc6d5ca)break;_0x4ca422=_0xc6d5ca;}}function _0x371168(_0x4ef836,_0x40327b){let _0x46dae9=/^[ \t]*/['exec'](_0x4ef836)[0x0]['length'];if(!_0x46dae9||'\x09'!=_0x40327b['facet'](_0x25499f))return _0x4ef836;let _0xe88c16='';for(let _0x4057a2=_0x9d1039(_0x4ef836,0x4,_0x46dae9);_0x4057a2>0x0;)_0x4057a2>=0x4?(_0xe88c16+='\x09',_0x4057a2-=0x4):(_0xe88c16+='\x20',_0x4057a2--);return _0xe88c16+_0x4ef836['slice'](_0x46dae9);}function _0xeaffe9(_0x3b45d7){return'QuoteMark'==_0x3b45d7['name']||'ListMark'==_0x3b45d7['name'];}function _0x510d0a(_0x4165c2,_0x1a11c3,_0x4daa8b){let _0x1485dc='';for(let _0x4f2e0a=0x0,_0x5c25c8=_0x4165c2['length']-0x2;_0x4f2e0a<=_0x5c25c8;_0x4f2e0a++)_0x1485dc+=_0x4165c2[_0x4f2e0a]['blank'](_0x4f2e0a<_0x5c25c8?_0x9d1039(_0x4daa8b['text'],0x4,Math['min'](_0x4daa8b['text']['length'],_0x4165c2[_0x4f2e0a+0x1]['from']))-_0x1485dc['length']:null,_0x4f2e0a<_0x5c25c8);return _0x371168(_0x1485dc,_0x1a11c3);}const _0x21977a=[{'key':'Enter','run':({state:_0x2d710e,dispatch:_0x2e3fae})=>{let _0x303bd7=_0x31f27d(_0x2d710e),{doc:_0xb70f70}=_0x2d710e,_0x3d6f76=null,_0xa42e9f=_0x2d710e['changeByRange'](_0x1cff79=>{if(!_0x1cff79['empty']||!_0x6bb9fd['isActiveAt'](_0x2d710e,_0x1cff79['from'],0x0))return _0x3d6f76={'range':_0x1cff79};let _0x11b57e=_0x1cff79['from'],_0x1a4eb1=_0xb70f70['lineAt'](_0x11b57e),_0x11a03b=_0xa02f0b(_0x303bd7['resolveInner'](_0x11b57e,-0x1),_0xb70f70);for(;_0x11a03b['length']&&_0x11a03b[_0x11a03b['length']-0x1]['from']>_0x11b57e-_0x1a4eb1['from'];)_0x11a03b['pop']();if(!_0x11a03b['length'])return _0x3d6f76={'range':_0x1cff79};let _0x13cec8=_0x11a03b[_0x11a03b['length']-0x1];if(_0x13cec8['to']-_0x13cec8['spaceAfter']['length']>_0x11b57e-_0x1a4eb1['from'])return _0x3d6f76={'range':_0x1cff79};let _0x2dbf02=_0x11b57e>=_0x13cec8['to']-_0x13cec8['spaceAfter']['length']&&!/\S/['test'](_0x1a4eb1['text']['slice'](_0x13cec8['to']));if(_0x13cec8['item']&&_0x2dbf02){let _0x444117=_0x13cec8['node']['firstChild'],_0x36729e=_0x13cec8['node']['getChild']('ListItem','ListItem');if(_0x444117['to']>=_0x11b57e||_0x36729e&&_0x36729e['to']<_0x11b57e||_0x1a4eb1['from']>0x0&&!/[^\s>]/['test'](_0xb70f70['lineAt'](_0x1a4eb1['from']-0x1)['text'])){let _0x13386a,_0x368f02=_0x11a03b['length']>0x1?_0x11a03b[_0x11a03b['length']-0x2]:null,_0x94d9da='';_0x368f02&&_0x368f02['item']?(_0x13386a=_0x1a4eb1['from']+_0x368f02['from'],_0x94d9da=_0x368f02['marker'](_0xb70f70,0x1)):_0x13386a=_0x1a4eb1['from']+(_0x368f02?_0x368f02['to']:0x0);let _0x180a10=[{'from':_0x13386a,'to':_0x11b57e,'insert':_0x94d9da}];return'OrderedList'==_0x13cec8['node']['name']&&_0x44c0c1(_0x13cec8['item'],_0xb70f70,_0x180a10,-0x2),_0x368f02&&'OrderedList'==_0x368f02['node']['name']&&_0x44c0c1(_0x368f02['item'],_0xb70f70,_0x180a10),{'range':EditorSelection['cursor'](_0x13386a+_0x94d9da['length']),'changes':_0x180a10};}{let _0x58d2e1=_0x510d0a(_0x11a03b,_0x2d710e,_0x1a4eb1);return{'range':EditorSelection['cursor'](_0x11b57e+_0x58d2e1['length']+0x1),'changes':{'from':_0x1a4eb1['from'],'insert':_0x58d2e1+_0x2d710e['lineBreak']}};}}if('Blockquote'==_0x13cec8['node']['name']&&_0x2dbf02&&_0x1a4eb1['from']){let _0x4f7509=_0xb70f70['lineAt'](_0x1a4eb1['from']-0x1),_0x426ce5=/>\s*$/['exec'](_0x4f7509['text']);if(_0x426ce5&&_0x426ce5['index']==_0x13cec8['from']){let _0xafff80=_0x2d710e['changes']([{'from':_0x4f7509['from']+_0x426ce5['index'],'to':_0x4f7509['to']},{'from':_0x1a4eb1['from']+_0x13cec8['from'],'to':_0x1a4eb1['to']}]);return{'range':_0x1cff79['map'](_0xafff80),'changes':_0xafff80};}}let _0x38b509=[];'OrderedList'==_0x13cec8['node']['name']&&_0x44c0c1(_0x13cec8['item'],_0xb70f70,_0x38b509);let _0xea4b97=_0x13cec8['item']&&_0x13cec8['item']['from']<_0x1a4eb1['from'],_0x46cb87='';if(!_0xea4b97||/^[\s\d.)\-+*>]*/['exec'](_0x1a4eb1['text'])[0x0]['length']>=_0x13cec8['to']){for(let _0x46db6f=0x0,_0x68f3d=_0x11a03b['length']-0x1;_0x46db6f<=_0x68f3d;_0x46db6f++)_0x46cb87+=_0x46db6f!=_0x68f3d||_0xea4b97?_0x11a03b[_0x46db6f]['blank'](_0x46db6f<_0x68f3d?_0x9d1039(_0x1a4eb1['text'],0x4,_0x11a03b[_0x46db6f+0x1]['from'])-_0x46cb87['length']:null):_0x11a03b[_0x46db6f]['marker'](_0xb70f70,0x1);}let _0x3f26a4=_0x11b57e;for(;_0x3f26a4>_0x1a4eb1['from']&&/\s/['test'](_0x1a4eb1['text']['charAt'](_0x3f26a4-_0x1a4eb1['from']-0x1));)_0x3f26a4--;return _0x46cb87=_0x371168(_0x46cb87,_0x2d710e),function(_0x3860f8,_0xd279c2){if('OrderedList'!=_0x3860f8['name']&&'BulletList'!=_0x3860f8['name'])return!0x1;let _0x46956e=_0x3860f8['firstChild'],_0x34c3dc=_0x3860f8['getChild']('ListItem','ListItem');if(!_0x34c3dc)return!0x1;let _0x29aa80=_0xd279c2['lineAt'](_0x46956e['to']),_0x1a5caa=_0xd279c2['lineAt'](_0x34c3dc['from']),_0x221d9d=/^[\s>]*$/['test'](_0x29aa80['text']);return _0x29aa80['number']+(_0x221d9d?0x0:0x1)<_0x1a5caa['number'];}(_0x13cec8['node'],_0x2d710e['doc'])&&(_0x46cb87=_0x510d0a(_0x11a03b,_0x2d710e,_0x1a4eb1)+_0x2d710e['lineBreak']+_0x46cb87),_0x38b509['push']({'from':_0x3f26a4,'to':_0x11b57e,'insert':_0x2d710e['lineBreak']+_0x46cb87}),{'range':EditorSelection['cursor'](_0x3f26a4+_0x46cb87['length']+0x1),'changes':_0x38b509};});return!_0x3d6f76&&(_0x2e3fae(_0x2d710e['update'](_0xa42e9f,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);}},{'key':'Backspace','run':({state:_0x554418,dispatch:_0x588937})=>{let _0x5a0819=_0x31f27d(_0x554418),_0x2751ca=null,_0xe1f8d6=_0x554418['changeByRange'](_0x3bb705=>{let _0x49bed1=_0x3bb705['from'],{doc:_0x2e8e78}=_0x554418;if(_0x3bb705['empty']&&_0x6bb9fd['isActiveAt'](_0x554418,_0x3bb705['from'])){let _0x2f066e=_0x2e8e78['lineAt'](_0x49bed1),_0x43a98a=_0xa02f0b(function(_0xd325ba,_0x1eb1ce){let _0x23c641=_0xd325ba['resolveInner'](_0x1eb1ce,-0x1),_0x26d860=_0x1eb1ce;_0xeaffe9(_0x23c641)&&(_0x26d860=_0x23c641['from'],_0x23c641=_0x23c641['parent']);for(let _0x374750;_0x374750=_0x23c641['childBefore'](_0x26d860);)if(_0xeaffe9(_0x374750))_0x26d860=_0x374750['from'];else{if('OrderedList'!=_0x374750['name']&&'BulletList'!=_0x374750['name'])break;_0x23c641=_0x374750['lastChild'],_0x26d860=_0x23c641['to'];}return _0x23c641;}(_0x5a0819,_0x49bed1),_0x2e8e78);if(_0x43a98a['length']){let _0x14f87a=_0x43a98a[_0x43a98a['length']-0x1],_0x38c808=_0x14f87a['to']-_0x14f87a['spaceAfter']['length']+(_0x14f87a['spaceAfter']?0x1:0x0);if(_0x49bed1-_0x2f066e['from']>_0x38c808&&!/\S/['test'](_0x2f066e['text']['slice'](_0x38c808,_0x49bed1-_0x2f066e['from'])))return{'range':EditorSelection['cursor'](_0x2f066e['from']+_0x38c808),'changes':{'from':_0x2f066e['from']+_0x38c808,'to':_0x49bed1}};if(_0x49bed1-_0x2f066e['from']==_0x38c808&&(!_0x14f87a['item']||_0x2f066e['from']<=_0x14f87a['item']['from']||!/\S/['test'](_0x2f066e['text']['slice'](0x0,_0x14f87a['to'])))){let _0x1d7ca4=_0x2f066e['from']+_0x14f87a['from'];if(_0x14f87a['item']&&_0x14f87a['node']['from']<_0x14f87a['item']['from']&&/\S/['test'](_0x2f066e['text']['slice'](_0x14f87a['from'],_0x14f87a['to']))){let _0x35551b=_0x14f87a['blank'](_0x9d1039(_0x2f066e['text'],0x4,_0x14f87a['to'])-_0x9d1039(_0x2f066e['text'],0x4,_0x14f87a['from']));return _0x1d7ca4==_0x2f066e['from']&&(_0x35551b=_0x371168(_0x35551b,_0x554418)),{'range':EditorSelection['cursor'](_0x1d7ca4+_0x35551b['length']),'changes':{'from':_0x1d7ca4,'to':_0x2f066e['from']+_0x14f87a['to'],'insert':_0x35551b}};}if(_0x1d7ca4<_0x49bed1)return{'range':EditorSelection['cursor'](_0x1d7ca4),'changes':{'from':_0x1d7ca4,'to':_0x49bed1}};}}}return _0x2751ca={'range':_0x3bb705};});return!_0x2751ca&&(_0x588937(_0x554418['update'](_0xe1f8d6,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);}}],_0x3c91ff=_0x58ab4d({'matchClosingTags':!0x1});function _0x1fe7d2(_0x5891fd={}){let {codeLanguages:_0x407338,defaultCodeLanguage:_0x317fb5,addKeymap:_0x224fe1=!0x0,base:{parser:_0x357d80}=_0x825626,completeHTMLTags:_0xe7bd36=!0x0,htmlTagLanguage:_0x4d7080=_0x3c91ff}=_0x5891fd;if(!(_0x357d80 instanceof _0xca89d0))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0x5da09d,_0x44633d=_0x5891fd['extensions']?[_0x5891fd['extensions']]:[],_0x3bc2d6=[_0x4d7080['support']];_0x317fb5 instanceof LanguageSupport?(_0x3bc2d6['push'](_0x317fb5['support']),_0x5da09d=_0x317fb5['language']):_0x317fb5&&(_0x5da09d=_0x317fb5);let _0x24afd2=_0x407338||_0x5da09d?(_0x244247=_0x407338,_0x5c9a02=_0x5da09d,_0x3fc2e1=>{if(_0x3fc2e1&&_0x244247){let _0x1a25ac=null;if(_0x3fc2e1=/\S*/['exec'](_0x3fc2e1)[0x0],_0x1a25ac='function'==typeof _0x244247?_0x244247(_0x3fc2e1):LanguageDescription['matchLanguageName'](_0x244247,_0x3fc2e1,!0x0),_0x1a25ac instanceof LanguageDescription)return _0x1a25ac['support']?_0x1a25ac['support']['language']['parser']:ParseContext['getSkippingParser'](_0x1a25ac['load']());if(_0x1a25ac)return _0x1a25ac['parser'];}return _0x5c9a02?_0x5c9a02['parser']:null;}):void 0x0;var _0x244247,_0x5c9a02;_0x44633d['push'](function(_0x1a6bc5){let {codeParser:_0x5ade0c,htmlParser:_0x417f7f}=_0x1a6bc5,_0xd0a6bb=_0x392f76((_0x52f13f,_0x5d0f37)=>{let _0x1d6764=_0x52f13f['type']['id'];if(!_0x5ade0c||_0x1d6764!=_0x43cf58['CodeBlock']&&_0x1d6764!=_0x43cf58['FencedCode']){if(_0x417f7f&&(_0x1d6764==_0x43cf58['HTMLBlock']||_0x1d6764==_0x43cf58['HTMLTag']||_0x1d6764==_0x43cf58['CommentBlock']))return{'parser':_0x417f7f,'overlay':_0x1344d8(_0x52f13f['node'],_0x52f13f['from'],_0x52f13f['to'])};}else{let _0x56e485='';if(_0x1d6764==_0x43cf58['FencedCode']){let _0x50e806=_0x52f13f['node']['getChild'](_0x43cf58['CodeInfo']);_0x50e806&&(_0x56e485=_0x5d0f37['read'](_0x50e806['from'],_0x50e806['to']));}let _0x22fb2f=_0x5ade0c(_0x56e485);if(_0x22fb2f)return{'parser':_0x22fb2f,'overlay':_0x1412c6=>_0x1412c6['type']['id']==_0x43cf58['CodeText']};}return null;});return{'wrap':_0xd0a6bb};}({'codeParser':_0x24afd2,'htmlParser':_0x4d7080['language']['parser']})),_0x224fe1&&_0x3bc2d6['push'](_0x901a22['high'](_0x31cbc0['of'](_0x21977a)));let _0x2056d9=_0x34dcd5(_0x357d80['configure'](_0x44633d));return _0xe7bd36&&_0x3bc2d6['push'](_0x2056d9['data']['of']({'autocomplete':_0x35bb2e})),new LanguageSupport(_0x2056d9,_0x3bc2d6);}function _0x35bb2e(_0x10f865){let {state:_0x41de77,pos:_0xfe4945}=_0x10f865,_0x36535c=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0x41de77['sliceDoc'](_0xfe4945-0x19,_0xfe4945));if(!_0x36535c)return null;let _0x537c0c=_0x31f27d(_0x41de77)['resolveInner'](_0xfe4945,-0x1);for(;_0x537c0c&&!_0x537c0c['type']['isTop'];){if('CodeBlock'==_0x537c0c['name']||'FencedCode'==_0x537c0c['name']||'ProcessingInstructionBlock'==_0x537c0c['name']||'CommentBlock'==_0x537c0c['name']||'Link'==_0x537c0c['name']||'Image'==_0x537c0c['name'])return null;_0x537c0c=_0x537c0c['parent'];}return{'from':_0xfe4945-_0x36535c[0x0]['length'],'to':_0xfe4945,'options':_0x2157b1(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let _0x573c6c=null;function _0x2157b1(){if(_0x573c6c)return _0x573c6c;let _0x5bf803=(_0x4431c5=new CompletionContext(EditorState['create']({'extensions':_0x3c91ff}),0x0,!0x0),_0x44af9a(_0x3aeebc['default'],_0x4431c5));var _0x4431c5;return _0x573c6c=_0x5bf803?_0x5bf803['options']:[];}const _0x257e54='#e06c75',_0x180b4c='#abb2bf',_0x32c931='#7d8799',_0x338c7c='#d19a66',_0x1696d2='#2c313a',_0xd8d36e='#282c34',_0x387156='#353a42',_0x1336d7='#528bff',_0x25c670=[EditorView['theme']({'&':{'color':_0x180b4c,'backgroundColor':_0xd8d36e},'.cm-content':{'caretColor':_0x1336d7},'.cm-cursor,\x20.cm-dropCursor':{'borderLeftColor':_0x1336d7},'&.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':_0x180b4c},'.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':_0xd8d36e,'color':_0x32c931,'border':'none'},'.cm-activeLineGutter':{'backgroundColor':_0x1696d2},'.cm-foldPlaceholder':{'backgroundColor':'transparent','border':'none','color':'#ddd'},'.cm-tooltip':{'border':'none','backgroundColor':_0x387156},'.cm-tooltip\x20.cm-tooltip-arrow:before':{'borderTopColor':'transparent','borderBottomColor':'transparent'},'.cm-tooltip\x20.cm-tooltip-arrow:after':{'borderTopColor':_0x387156,'borderBottomColor':_0x387156},'.cm-tooltip-autocomplete':{'&\x20>\x20ul\x20>\x20li[aria-selected]':{'backgroundColor':_0x1696d2,'color':_0x180b4c}}},{'dark':!0x0}),_0x3bd61e(HighlightStyle['define']([{'tag':_0x40ee63['keyword'],'color':'#c678dd'},{'tag':[_0x40ee63['name'],_0x40ee63['deleted'],_0x40ee63['character'],_0x40ee63['propertyName'],_0x40ee63['macroName']],'color':_0x257e54},{'tag':[_0x40ee63['function'](_0x40ee63['variableName']),_0x40ee63['labelName']],'color':'#61afef'},{'tag':[_0x40ee63['color'],_0x40ee63['constant'](_0x40ee63['name']),_0x40ee63['standard'](_0x40ee63['name'])],'color':_0x338c7c},{'tag':[_0x40ee63['definition'](_0x40ee63['name']),_0x40ee63['separator']],'color':_0x180b4c},{'tag':[_0x40ee63['typeName'],_0x40ee63['className'],_0x40ee63['number'],_0x40ee63['changed'],_0x40ee63['annotation'],_0x40ee63['modifier'],_0x40ee63['self'],_0x40ee63['namespace']],'color':'#e5c07b'},{'tag':[_0x40ee63['operator'],_0x40ee63['operatorKeyword'],_0x40ee63['url'],_0x40ee63['escape'],_0x40ee63['regexp'],_0x40ee63['link'],_0x40ee63['special'](_0x40ee63['string'])],'color':'#56b6c2'},{'tag':[_0x40ee63['meta'],_0x40ee63['comment']],'color':_0x32c931},{'tag':_0x40ee63['strong'],'fontWeight':'bold'},{'tag':_0x40ee63['emphasis'],'fontStyle':'italic'},{'tag':_0x40ee63['strikethrough'],'textDecoration':'line-through'},{'tag':_0x40ee63['link'],'color':_0x32c931,'textDecoration':'underline'},{'tag':_0x40ee63['heading'],'fontWeight':'bold','color':_0x257e54},{'tag':[_0x40ee63['atom'],_0x40ee63['bool'],_0x40ee63['special'](_0x40ee63['variableName'])],'color':_0x338c7c},{'tag':[_0x40ee63['processingInstruction'],_0x40ee63['string'],_0x40ee63['inserted']],'color':'#98c379'},{'tag':_0x40ee63['invalid'],'color':'#ffffff'}]))];function _0x25c652(_0x1b6cac){const _0xf49b29=[EditorView['lineWrapping'],_0x2c9e09(),_0x1295d6(),_0x20410d(),_0x1a58cf(),_0x5c01a1(),_0x21f5cb(),_0x2546bc(),_0x4e94f9(),_0x4acd68(),_0x423fe4(),_0x5c13d7(),_0xef1745(),_0x587d0a(),_0x2bc458(),_0x3bd61e(_0x5886bf,{'fallback':!0x0})],_0x41fc97=new Compartment();_0xf49b29['push'](_0x41fc97['of'](EditorView['editable']['of'](!0x0))),'html'===_0x1b6cac['syntaxLanguage']?_0xf49b29['push'](_0x58ab4d()):_0xf49b29['push'](_0x1fe7d2());const _0x14c52f=function(_0x2c90af){if(_0x2c90af&&'default'!==_0x2c90af)return'dark'===_0x2c90af?_0x25c670:_0x2c90af;return null;}(_0x1b6cac['theme']);_0x14c52f&&_0xf49b29['push'](_0x14c52f),_0xf49b29['push'](_0x31cbc0['of']([..._0x3ea3cb,..._0x5503cd,..._0x476022,..._0x31db7e,..._0x4fba41,{'key':'Tab','run':_0x15cc26,'shift':_0x39f404,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x3c1a48,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x3c1a48,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x4bfe86,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x51a37a=new EditorView({'extensions':_0xf49b29,'parent':_0x1b6cac['parent']});return _0x493972(_0x51a37a),{'focus':()=>{_0x51a37a['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x51a37a['focus']();},'getData':()=>_0x51a37a['state']['doc']['toString'](),'setData':_0x52c97e=>{_0x51a37a['dispatch']({'changes':{'from':0x0,'to':_0x51a37a['state']['doc']['length'],'insert':_0x52c97e},'annotations':Transaction['addToHistory']['of'](!0x1)});},'setReadOnly':_0x1e5701=>{_0x51a37a['dispatch']({'effects':[_0x41fc97['reconfigure'](EditorView['editable']['of'](!_0x1e5701))]});},'destroy':()=>{_0x51a37a['destroy']();},'instance':_0x51a37a};}class CodeEditorView extends _0x5f37cd['View']{['_codeEditorApi']=null;['_options'];constructor(_0x23ed37,_0x8b6f77){super(_0x23ed37),this['_options']=_0x8b6f77,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']=_0x25c652({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x34bccd,_0x32e64d,_0x170f10)=>{this['setReadOnly'](_0x170f10);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x5566c6){this['_codeEditorApi']['setData'](_0x5566c6);}['setReadOnly'](_0x3e87f3){this['_codeEditorApi']['setReadOnly'](_0x3e87f3);}}const _0x2cd0af='SourceEditingEnhancedMode';class EditSourceCommand extends _0x5f37cd['Command']{constructor(_0x399d66){super(_0x399d66),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x5f37cd['PendingActions'])['on']('change:hasAny',(_0x20ad1,_0x25db81,_0x2c2f98)=>{_0x2c2f98?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x5c8919=this['editor'];for(const _0x34aa20 of _0x5c8919['commands']['names']())['replaceSource','editSource']['includes'](_0x34aa20)||_0x5c8919['commands']['get'](_0x34aa20)['forceDisabled'](_0x2cd0af);}['_enableCommands'](){const _0x143639=this['editor'];for(const _0xb506f4 of _0x143639['commands']['commands']())_0xb506f4['clearForceDisabled'](_0x2cd0af);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x815e4d=this['editor'],_0x3a7b68=_0x815e4d['locale'],_0x5e492b=_0x815e4d['plugins']['get']('Dialog'),_0x313893=_0x2f0033(_0x815e4d),_0x43a622=_0x815e4d['data']['get']({'rootName':_0x313893}),_0x21b5ae=_0x5e971b(_0xf68a61=_0x43a622)?_0x5f37cd['formatHtml'](_0xf68a61):_0xf68a61;var _0xf68a61;const _0x219967=new CodeEditorView(_0x3a7b68,{'syntaxLanguage':_0x815e4d['plugins']['has']('Markdown')?'markdown':'html','theme':_0x815e4d['config']['get']('sourceEditingEnhanced.theme')});let _0x2642b9=!0x0;const _0x55732=_0x45a2a1=>{if(!_0x2642b9)return;return _0x1eee8b(_0x219967['getData']())!==_0x1eee8b(_0x21b5ae)?window['confirm'](_0x55f5a9(_0x3a7b68,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x45a2a1['stop']():void 0x0;};_0x5e492b['show']({'id':'sourceEditingEnhanced','title':_0x55f5a9(_0x3a7b68,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x219967,'actionButtons':[{'label':_0x55f5a9(_0x3a7b68,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x5e492b['hide']();}},{'label':_0x55f5a9(_0x3a7b68,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x12ec6f=_0x1eee8b(_0x219967['getData']())!==_0x1eee8b(_0x21b5ae);(_0x12ec6f&&_0x815e4d['execute']('replaceSource',_0x219967['getData']()),_0x2642b9=!0x1,_0x5e492b['hide'](),_0x12ec6f&&'editables'in _0x815e4d['ui']['view'])&&_0x815e4d['ui']['view']['editables'][_0x313893]['element']['focus']();},'onCreate':_0x459546=>{_0x459546['set']('isEnabled',!_0x815e4d['isReadOnly']),_0x459546['bind']('isEnabled')['to'](_0x815e4d,'isReadOnly',this,'isEnabled',(_0x232a4a,_0x598fa8)=>!_0x232a4a&&_0x598fa8);}}],'onHide':()=>{this['_enableCommands'](),_0x5e492b['off']('hide',_0x55732),_0x219967['destroy']();},'onShow':()=>{_0x219967['bind']('isReadOnly')['to'](_0x815e4d,'isReadOnly',this,'isEnabled',(_0xb26b93,_0x4bd422)=>_0xb26b93||!_0x4bd422),_0x219967['setData'](_0x21b5ae),_0x219967['focus'](),_0x5e492b['on']('hide',_0x55732,{'priority':'highest'}),this['_disableCommands']();}});}}class SourceEditingEnhancedUI extends _0x5f37cd['Plugin']{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x5f37cd['PendingActions']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x56ea63=this['editor'],_0xe677d=_0x56ea63['locale'],_0x5bb95b=new EditSourceCommand(_0x56ea63);_0x56ea63['commands']['add']('editSource',_0x5bb95b),_0x56ea63['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x4aadf9=this['_createButton'](_0x5f37cd['ButtonView'],_0x5bb95b);return _0x4aadf9['set']({'label':_0x55f5a9(_0xe677d,'Source'),'icon':_0x5f37cd['IconSource'],'tooltip':_0x55f5a9(_0xe677d,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x4aadf9;}),_0x56ea63['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x3ab7ef=this['_createButton'](_0x5f37cd['MenuBarMenuListItemButtonView'],_0x5bb95b,!0x0);return _0x3ab7ef['set']({'label':_0x55f5a9(_0xe677d,'Edit\x20source\x20modal\x20label'),'icon':_0x5f37cd['IconSource'],'role':'menuitemcheckbox'}),_0x3ab7ef;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x3df8c7){const _0x599df5=_0x2ccf0b([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]),_0x176019=0x5dba9314,_0x504769=0x5dbd18c4^_0x176019,_0x37d22c=window[_0x2ccf0b([0x44,0x61,0x74,0x65])][_0x2ccf0b([0x6e,0x6f,0x77])](),_0x5506a7=_0x3df8c7[_0x2ccf0b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2dfcad=new window[(_0x2ccf0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41ba2e=>{_0x5506a7[_0x2ccf0b([0x6f,0x6e,0x63,0x65])](_0x2ccf0b([0x72,0x65,0x61,0x64,0x79]),_0x41ba2e);}),_0x56f146={[_0x2ccf0b([0x6b,0x74,0x79])]:_0x2ccf0b([0x45,0x43]),[_0x2ccf0b([0x75,0x73,0x65])]:_0x2ccf0b([0x73,0x69,0x67]),[_0x2ccf0b([0x63,0x72,0x76])]:_0x2ccf0b([0x50,0x2d,0x32,0x35,0x36]),[_0x2ccf0b([0x78])]:_0x2ccf0b([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]),[_0x2ccf0b([0x79])]:_0x2ccf0b([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]),[_0x2ccf0b([0x61,0x6c,0x67])]:_0x2ccf0b([0x45,0x53,0x32,0x35,0x36])},_0x5089ce=_0x5506a7[_0x2ccf0b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2ccf0b([0x67,0x65,0x74])](_0x2ccf0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4187f5(){let _0x14bafb,_0x4afd2f=null,_0x257100=null;try{if(_0x5089ce==_0x2ccf0b([0x47,0x50,0x4c]))return _0x2ccf0b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x14bafb=_0x437d0f(),!_0x14bafb)return _0x2ccf0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x14bafb[_0x2ccf0b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x257100=_0x16ac82(_0x14bafb[_0x2ccf0b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x14bafb[_0x2ccf0b([0x6a,0x74,0x69])])),await _0x43f44a()?_0x52c30b()?_0xe2dcf1()?_0x2ccf0b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5f353e()?(_0x14bafb[_0x2ccf0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ccf0b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4afd2f=_0x137bfe(_0x2ccf0b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x51826d()):_0x2ccf0b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2ccf0b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2ccf0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2ccf0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xe2dcf1(){const _0x3c977c=[_0x2ccf0b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2ccf0b([0x74,0x72,0x69,0x61,0x6c])][_0x2ccf0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14bafb[_0x2ccf0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x37d22c/0x3e8:0xe10*_0x504769;return _0x14bafb[_0x2ccf0b([0x65,0x78,0x70])]<_0x3c977c;}function _0x52c30b(){const _0x574531=_0x14bafb[_0x2ccf0b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x574531&&(!!_0x574531[_0x2ccf0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ccf0b([0x2a]))||!!_0x574531[_0x2ccf0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ccf0b([0x53,0x45,0x45])));}function _0x5f353e(){const _0x580ac3=_0x14bafb[_0x2ccf0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x580ac3||0x0==_0x580ac3[_0x2ccf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x56566c}=new URL(window[_0x2ccf0b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x580ac3[_0x2ccf0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56566c))return!0x0;const _0x10c665=_0x56566c[_0x2ccf0b([0x73,0x70,0x6c,0x69,0x74])](_0x2ccf0b([0x2e]));return _0x580ac3[_0x2ccf0b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56d5fb=>_0x56d5fb[_0x2ccf0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ccf0b([0x2a])))[_0x2ccf0b([0x6d,0x61,0x70])](_0x257f98=>_0x257f98[_0x2ccf0b([0x73,0x70,0x6c,0x69,0x74])](_0x2ccf0b([0x2e])))[_0x2ccf0b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e0beb=>_0x4e0beb[_0x2ccf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x10c665[_0x2ccf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ccf0b([0x6d,0x61,0x70])](_0x380cf6=>Array(_0x10c665[_0x2ccf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x380cf6[_0x2ccf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ccf0b([0x66,0x69,0x6c,0x6c])](_0x380cf6[0x0]===_0x2ccf0b([0x2a])?_0x2ccf0b([0x2a]):'')[_0x2ccf0b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x380cf6))[_0x2ccf0b([0x73,0x6f,0x6d,0x65])](_0x129eaf=>_0x10c665[_0x2ccf0b([0x65,0x76,0x65,0x72,0x79])]((_0x4901e1,_0x2e0304)=>_0x129eaf[_0x2e0304]===_0x4901e1||_0x129eaf[_0x2e0304]===_0x2ccf0b([0x2a])));}function _0x51826d(){return _0x4afd2f&&_0x257100?new window[(_0x2ccf0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8ecba7,_0x382615)=>{_0x4afd2f[_0x2ccf0b([0x74,0x68,0x65,0x6e])](_0x8ecba7,_0x382615),_0x257100[_0x2ccf0b([0x74,0x68,0x65,0x6e])](_0x4530a7=>{_0x4530a7!=_0x2ccf0b([0x56,0x61,0x6c,0x69,0x64])&&_0x8ecba7(_0x4530a7);},_0x382615);}):_0x4afd2f||_0x257100||_0x2ccf0b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x16ac82(_0x576907,_0x30d8ff){return new window[(_0x2ccf0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39bbd1=>{if(_0x17e8f7())return _0x39bbd1(_0x2ccf0b([0x56,0x61,0x6c,0x69,0x64]));_0x1bc216(),_0x5506a7[_0x2ccf0b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2ccf0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1de832=!0x1;const _0x2ee818=_0x5f37cd['uid']();function _0x50011f(_0x530d64){return!!_0x530d64&&(typeof _0x530d64===_0x2ccf0b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x530d64===_0x2ccf0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x530d64[_0x2ccf0b([0x74,0x68,0x65,0x6e])]===_0x2ccf0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x530d64[_0x2ccf0b([0x63,0x61,0x74,0x63,0x68])]===_0x2ccf0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31ff6e(_0x16a816){_0x450485(_0x16a816)[_0x2ccf0b([0x74,0x68,0x65,0x6e])](_0x1ca51a=>{if(!_0x1ca51a||_0x1ca51a[_0x2ccf0b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2ccf0b([0x6f,0x6b]))return _0x2ccf0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d27b3(_0x24d7a7(_0x2ee818+_0x30d8ff))!=_0x1ca51a[_0x2ccf0b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2ccf0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2ccf0b([0x56,0x61,0x6c,0x69,0x64]);})[_0x2ccf0b([0x74,0x68,0x65,0x6e])](_0x567805=>(_0x201cc2(),_0x567805),()=>{const _0x42155e=_0x29119e();return null==_0x42155e?(_0x201cc2(),_0x2ccf0b([0x56,0x61,0x6c,0x69,0x64])):_0x2ccf0b(_0x37d22c-_0x42155e>(0x79b61714^_0x176019)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2ccf0b([0x74,0x68,0x65,0x6e])](_0x39bbd1)[_0x2ccf0b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x39bbd1(_0x2ccf0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3800a6=0x5d8c7d94^_0x176019;function _0x201cc2(){const _0x19e4d9=_0x2ccf0b([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d27b3(_0x24d7a7(_0x576907)),_0x202ae8=_0x335990(_0x5d27b3(window[_0x2ccf0b([0x4d,0x61,0x74,0x68])][_0x2ccf0b([0x63,0x65,0x69,0x6c])](_0x37d22c/_0x3800a6)));window[_0x2ccf0b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ccf0b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19e4d9,_0x202ae8);}function _0x29119e(){const _0x45b1d4=_0x2ccf0b([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d27b3(_0x24d7a7(_0x576907)),_0x24e724=window[_0x2ccf0b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ccf0b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x45b1d4);return _0x24e724?window[_0x2ccf0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x335990(_0x24e724),0x10)*_0x3800a6:null;}function _0x450485(_0x48edda){return new window[(_0x2ccf0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x12a586,_0x5e86e0)=>{_0x48edda[_0x2ccf0b([0x74,0x68,0x65,0x6e])](_0x12a586,_0x5e86e0),window[_0x2ccf0b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5e86e0,0x5dbb47d4^_0x176019);});}}_0x5506a7[_0x2ccf0b([0x6f,0x6e])](_0x2ccf0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x16b746,_0x33a228)=>{if(_0x33a228[0x0]!=_0x576907)return _0x39bbd1(_0x2ccf0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33a228[0x1]={..._0x33a228[0x1],[_0x2ccf0b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ee818};},{[_0x2ccf0b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ccf0b([0x68,0x69,0x67,0x68])}),_0x5506a7[_0x2ccf0b([0x6f,0x6e])](_0x2ccf0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x18a32f=>{_0x50011f(_0x18a32f[_0x2ccf0b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1de832=!0x0,_0x31ff6e(_0x18a32f[_0x2ccf0b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2ccf0b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ccf0b([0x6c,0x6f,0x77])}),_0x2dfcad[_0x2ccf0b([0x74,0x68,0x65,0x6e])](()=>{_0x1de832||_0x39bbd1(_0x2ccf0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x17e8f7(){return _0x5506a7[_0x2ccf0b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ccf0b([0x76,0x69,0x65,0x77])][_0x2ccf0b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2ccf0b([0x61,0x75,0x74,0x6f]);}function _0x1bc216(){_0x5506a7[_0x2ccf0b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ccf0b([0x76,0x69,0x65,0x77])][_0x2ccf0b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2ccf0b([0x61,0x75,0x74,0x6f]);}}function _0x137bfe(_0x29ef87){const _0x31903f=[new window[(_0x2ccf0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40a947=>setTimeout(_0x40a947,0x5db3add8^_0x176019)),_0x2dfcad[_0x2ccf0b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2ccf0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49e5db=>{let _0x316338=0x0;_0x5506a7[_0x2ccf0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ccf0b([0x6f,0x6e])](_0x2ccf0b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1e4c0a,_0x5b13ee)=>{_0x5b13ee[0x0][_0x2ccf0b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x316338++,_0x316338==(0x5dba96fc^_0x176019)&&(_0x49e5db(),_0x1e4c0a[_0x2ccf0b([0x6f,0x66,0x66])]());});}))];return window[_0x2ccf0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2ccf0b([0x72,0x61,0x63,0x65])](_0x31903f)[_0x2ccf0b([0x74,0x68,0x65,0x6e])](()=>_0x29ef87);}async function _0x544d4f(){await _0x2dfcad,_0x5506a7[_0x2ccf0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ccf0b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2553ca,_0x5506a7[_0x2ccf0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ccf0b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2553ca,_0x5506a7[_0x2ccf0b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2ccf0b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1ecc98(_0x24e513){const _0x42c32a=_0x781e72();_0x5506a7[_0x42c32a]=_0x2ccf0b([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])+_0x24e513,_0x24e513!=_0x2ccf0b([0x56,0x61,0x6c,0x69,0x64])&&_0x544d4f();}function _0x781e72(){const _0x5e8b8d=window[_0x2ccf0b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2ccf0b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2ccf0b([0x6e,0x6f,0x77])]())[_0x2ccf0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2ccf0b([0x2e]),'');let _0x346179=_0x2ccf0b([0x4e]);for(let _0x28cced=0x0;_0x28cced<_0x5e8b8d[_0x2ccf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28cced+=0x2){let _0x417d97=window[_0x2ccf0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e8b8d[_0x2ccf0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28cced,_0x28cced+0x2));_0x417d97>=_0x599df5[_0x2ccf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x417d97-=_0x599df5[_0x2ccf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x346179+=_0x599df5[_0x417d97];}return _0x346179;}function _0x437d0f(){const _0x4c5319=_0x5089ce[_0x2ccf0b([0x73,0x70,0x6c,0x69,0x74])](_0x2ccf0b([0x2e]));if(0x3!=_0x4c5319[_0x2ccf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5e5e78(_0x4c5319[0x1]);function _0x5e5e78(_0x5347f4){const _0x24fe82=_0x4a3ace(_0x5347f4);return _0x24fe82&&_0x852118()?_0x24fe82:null;function _0x852118(){const _0xb7033e=_0x24fe82[_0x2ccf0b([0x6a,0x74,0x69])],_0x2eaf24=window[_0x2ccf0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb7033e[_0x2ccf0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb7033e[_0x2ccf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xffcd78={..._0x24fe82,[_0x2ccf0b([0x6a,0x74,0x69])]:_0xb7033e[_0x2ccf0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xb7033e[_0x2ccf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xffcd78[_0x2ccf0b([0x76,0x63])],_0x24d7a7(_0xffcd78)==_0x2eaf24;}}}async function _0x43f44a(){let _0xac1590=!0x0;try{const _0x242cef=_0x5089ce[_0x2ccf0b([0x73,0x70,0x6c,0x69,0x74])](_0x2ccf0b([0x2e])),[_0x5f3f39,_0x1aefb2,_0x3602f8]=_0x242cef;return _0x5a22de(_0x5f3f39),await _0x4fc81b(_0x5f3f39,_0x1aefb2,_0x3602f8),_0xac1590;}catch{return!0x1;}function _0x5a22de(_0x2a1346){const _0x4f151f=_0x4a3ace(_0x2a1346);_0x4f151f&&_0x4f151f[_0x2ccf0b([0x61,0x6c,0x67])]==_0x2ccf0b([0x45,0x53,0x32,0x35,0x36])||(_0xac1590=!0x1);}async function _0x4fc81b(_0x56434d,_0x4261e9,_0x51983){const _0x127b4c=window[_0x2ccf0b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2ccf0b([0x66,0x72,0x6f,0x6d])](_0x3bc7fa(_0x51983),_0x32394e=>_0x32394e[_0x2ccf0b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1def49=new window[(_0x2ccf0b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2ccf0b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x56434d+_0x2ccf0b([0x2e])+_0x4261e9),_0x4c2bc9=window[_0x2ccf0b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2ccf0b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4c2bc9)return;const _0x485af4=await _0x4c2bc9[_0x2ccf0b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2ccf0b([0x6a,0x77,0x6b]),_0x56f146,{[_0x2ccf0b([0x6e,0x61,0x6d,0x65])]:_0x2ccf0b([0x45,0x43,0x44,0x53,0x41]),[_0x2ccf0b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2ccf0b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2ccf0b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4c2bc9[_0x2ccf0b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2ccf0b([0x6e,0x61,0x6d,0x65])]:_0x2ccf0b([0x45,0x43,0x44,0x53,0x41]),[_0x2ccf0b([0x68,0x61,0x73,0x68])]:{[_0x2ccf0b([0x6e,0x61,0x6d,0x65])]:_0x2ccf0b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x485af4,_0x127b4c,_0x1def49)||(_0xac1590=!0x1);}}function _0x4a3ace(_0xa99327){return _0xa99327[_0x2ccf0b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2ccf0b([0x65,0x79]))?JSON[_0x2ccf0b([0x70,0x61,0x72,0x73,0x65])](_0x3bc7fa(_0xa99327)):null;}function _0x3bc7fa(_0x234269){return window[_0x2ccf0b([0x61,0x74,0x6f,0x62])](_0x234269[_0x2ccf0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2ccf0b([0x2b]))[_0x2ccf0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2ccf0b([0x2f])));}function _0x24d7a7(_0x47fde1){let _0x583c86=0x1505;function _0x3bf84a(_0x4bb27f){for(let _0x439553=0x0;_0x439553<_0x4bb27f[_0x2ccf0b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x439553++){const _0x51eafa=_0x4bb27f[_0x2ccf0b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x439553);_0x583c86=(_0x583c86<<0x5)+_0x583c86+_0x51eafa,_0x583c86&=_0x583c86;}}function _0x352d71(_0x4a56c9){Array[_0x2ccf0b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a56c9)?_0x4a56c9[_0x2ccf0b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x352d71):_0x4a56c9&&typeof _0x4a56c9==_0x2ccf0b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2ccf0b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a56c9)[_0x2ccf0b([0x73,0x6f,0x72,0x74])]()[_0x2ccf0b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3e2dc4,_0x344dce])=>{_0x3bf84a(_0x3e2dc4),_0x352d71(_0x344dce);}):_0x3bf84a(window[_0x2ccf0b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a56c9));}return _0x352d71(_0x47fde1),_0x583c86>>>0x0;}function _0x5d27b3(_0x3ce729){return _0x3ce729[_0x2ccf0b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2ccf0b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2ccf0b([0x30]));}function _0x335990(_0x8ccfaa){return _0x8ccfaa[_0x2ccf0b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2ccf0b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2ccf0b([0x6a,0x6f,0x69,0x6e])]('');}function _0x2553ca(){}function _0x2ccf0b(_0x9a517a){return _0x9a517a['map'](_0x3b2a85=>String['fromCharCode'](_0x3b2a85))['join']('');}_0x1ecc98(await _0x4187f5());}(this);}['_createButton'](_0x32e839,_0x427807,_0x37de06=!0x1){const _0x54a34e=new _0x32e839(this['editor']['locale']);return _0x54a34e['set']({'withText':_0x37de06,'isToggleable':!0x1}),_0x54a34e['bind']('isEnabled')['to'](_0x427807,'isEnabled'),this['listenTo'](_0x54a34e,'execute',()=>_0x427807['execute']()),_0x54a34e;}['_registerKeybindings'](){const _0x500597=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':_0x55f5a9(_0x500597,'Source\x20Editing\x20Enhanced')});const _0x8e570e=_0x5f37cd['env']['isMac']||_0x5f37cd['env']['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':_0x55f5a9(_0x500597,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':_0x55f5a9(_0x500597,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':_0x55f5a9(_0x500597,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':_0x55f5a9(_0x500597,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':_0x55f5a9(_0x500597,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':_0x55f5a9(_0x500597,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':_0x55f5a9(_0x500597,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x8e570e?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':_0x55f5a9(_0x500597,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':_0x55f5a9(_0x500597,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':_0x55f5a9(_0x500597,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':_0x55f5a9(_0x500597,'Select\x20line'),'keystroke':_0x8e570e?'Ctrl!+L':'Alt+L'},{'label':_0x55f5a9(_0x500597,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x8e570e?'Alt+Shift+M':'Ctrl+M'},{'label':_0x55f5a9(_0x500597,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':_0x55f5a9(_0x500597,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':_0x55f5a9(_0x500597,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':_0x55f5a9(_0x500597,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':_0x55f5a9(_0x500597,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x8e570e?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class _0x3b1bdc extends _0x5f37cd['Command']{constructor(_0x256cd0){super(_0x256cd0),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0xdaf445,_0x1144b6){const _0x69babd=this['editor'],_0x14aefa=_0x1144b6?.['rootName']??_0x2f0033(_0x69babd);_0x69babd['data']['set']({[_0x14aefa]:_0xdaf445},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class SourceEditingEnhanced extends _0x5f37cd['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[SourceEditingEnhancedUI];}constructor(_0x35efe6){super(_0x35efe6),_0x35efe6['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new _0x3b1bdc(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xbbbbc6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1644eb;for(const _0x20f2a5 in _0xbbbbc6){const _0x15d73f=_0x20f2a5,_0x4052d5=_0xbbbbc6[_0x15d73f];if('sourceEditingEnhancedLicenseKeyValid'==_0x4052d5||'sourceEditingEnhancedLicenseKeyInvalid'==_0x4052d5||'sourceEditingEnhancedLicenseKeyExpired'==_0x4052d5||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x4052d5||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x4052d5||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x4052d5||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x4052d5){delete _0xbbbbc6[_0x15d73f],_0x1644eb=_0x4052d5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x1644eb&&_0xbbbbc6['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x1644eb&&_0xbbbbc6['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x1644eb&&_0xbbbbc6['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x1644eb&&_0xbbbbc6['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x1644eb&&_0xbbbbc6['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x1644eb&&_0xbbbbc6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x3cfe21=this['editor'],_0x14ff3b=_0x3cfe21['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x14ff3b&&_0x3cfe21['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x5f37cd['CKEditorError']('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x14ff3b&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x5cbd43=>_0x3cfe21['plugins']['has'](_0x5cbd43))&&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.'),_0x3cfe21['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 _0x5f37cd['Command']{['execute'](_0x4dc94a){const {model:_0x47f533}=this['editor'];let _0x39d270;switch(typeof _0x4dc94a){case'string':_0x39d270=_0x4dc94a;break;case'function':_0x39d270=_0x4dc94a();}'string'==typeof _0x39d270&&_0x47f533['change'](()=>{const _0x2feddd=this['editor']['data']['htmlProcessor']['toView'](_0x39d270),_0x282199=_0x47f533['document']['selection']['getFirstPosition']()['root'],_0x4ab83b=this['editor']['data']['toModel'](_0x2feddd,_0x282199);_0x47f533['insertContent'](_0x4ab83b);});}}class TemplateEditing extends _0x5f37cd['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x37e535}=this;_0x37e535['commands']['add']('insertTemplate',new TemplateCommand(_0x37e535)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x45dac6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x386c79;for(const _0x2d2c22 in _0x45dac6){const _0x426191=_0x2d2c22,_0x398e01=_0x45dac6[_0x426191];if('templateLicenseKeyValid'==_0x398e01||'templateLicenseKeyInvalid'==_0x398e01||'templateLicenseKeyExpired'==_0x398e01||'templateLicenseKeyDomainLimit'==_0x398e01||'templateLicenseKeyNotAllowed'==_0x398e01||'templateLicenseKeyEvaluationLimit'==_0x398e01||'templateLicenseKeyUsageLimit'==_0x398e01){delete _0x45dac6[_0x426191],_0x386c79=_0x398e01,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x386c79&&_0x45dac6['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x386c79&&_0x45dac6['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x386c79&&_0x45dac6['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x386c79&&_0x45dac6['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x386c79&&_0x45dac6['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x386c79&&_0x45dac6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TemplateListView extends _0x5f37cd['ListView']{['filter'](_0x457d1f){if(!_0x457d1f)return this['_resetFiltering']();const _0x35d0b4=new Map(),_0x38c892=this['items']['map'](_0x101ae1=>{const _0x5a1506=_0x101ae1['buttonView']['isMatching'](_0x457d1f);return _0x101ae1['isVisible']=!!_0x5a1506,_0x101ae1['buttonView']['highlightText'](_0x5a1506?_0x457d1f:null),_0x5a1506&&_0x35d0b4['set'](_0x101ae1,_0x5a1506),_0x101ae1;})['sort'](_0x3eb60d)['sort'](function(_0x13c931){return function(_0x4e0080,_0x306c83){const _0x125d7a=_0x13c931['get'](_0x4e0080),_0xc231e=_0x13c931['get'](_0x306c83);return _0x125d7a&&!_0xc231e?-0x1:_0xc231e&&!_0x125d7a?0x1:_0x125d7a||_0xc231e?_0x125d7a['title']&&!_0xc231e['title']?-0x1:!_0x125d7a['title']&&_0xc231e['title']?0x1:0x0:0x0;};}(_0x35d0b4));return this['items']['clear'](),this['items']['addMany'](_0x38c892),{'resultsCount':_0x35d0b4['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x324eeb=this['items']['map'](_0x2546c3=>_0x2546c3)['sort'](_0x3eb60d);return _0x324eeb['forEach'](_0x577756=>{_0x577756['isVisible']=!0x0,_0x577756['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x324eeb),{'resultsCount':_0x324eeb['length'],'totalItemsCount':_0x324eeb['length']};}}function _0x3eb60d(_0x52bedb,_0x39815d){return _0x52bedb['originalIndex']-_0x39815d['originalIndex'];}class TemplateListItemView extends _0x5f37cd['ListItemView']{['originalIndex'];['buttonView'];constructor(_0x2c2ee8,_0x51a1ca){super(_0x2c2ee8),this['originalIndex']=_0x51a1ca,this['buttonView']=null;}}class TemplateListButtonView extends _0x5f37cd['ButtonView']{['templateDefinition'];['textPartView'];constructor(_0x421254,_0x4c63e6){super(_0x421254),this['templateDefinition']=_0x4c63e6,this['textPartView']=null;const {icon:_0x2d0821=_0x5f37cd['IconTemplateGeneric']}=_0x4c63e6;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x2d0821}),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'](_0x49756f){const {title:_0x423d51,description:_0x222121}=this['templateDefinition'],_0x20913f=!!_0x423d51['match'](_0x49756f),_0x1f35c5=!(!_0x222121||!_0x222121['match'](_0x49756f));return _0x20913f||_0x1f35c5?{'title':_0x20913f,'description':_0x1f35c5}:null;}['highlightText'](_0x2db286){this['textPartView']['highlightText'](_0x2db286);}}class TextPartView extends _0x5f37cd['View']{constructor(_0x4f7ab5,_0x1c640c,_0x2585cb){super(_0x4f7ab5),this['title']=_0x1c640c['title'],this['description']=_0x1c640c['description'],this['titleView']=new _0x5f37cd['HighlightedTextView'](),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x2585cb}});const _0xec766e=[this['titleView']];this['description']&&(this['descriptionView']=new _0x5f37cd['HighlightedTextView'](),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0xec766e['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0xec766e});}['highlightText'](_0x3f12fe){this['titleView']['highlightText'](_0x3f12fe),this['description']&&this['descriptionView']['highlightText'](_0x3f12fe);}}function _0xfa4e77(_0x2b6824,_0x47d854,..._0x51743b){const t=_0x2b6824['t'];switch(_0x47d854){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x51743b);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',..._0x51743b);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x47d854;}}class TemplateUI extends _0x5f37cd['Plugin']{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3bf8fc}=this,_0x4b54f7=_0x3bf8fc['config']['get']('template.definitions')||[];_0x3bf8fc['ui']['componentFactory']['add']('insertTemplate',_0x359bb6=>{const _0x53eba7=_0x5f37cd['createDropdown'](_0x359bb6),_0x38c3ec=this['_createTemplateListView'](_0x359bb6,_0x4b54f7),_0x33c800=new _0x5f37cd['SearchTextView'](_0x359bb6,{'filteredView':_0x38c3ec,'queryView':{'label':_0xfa4e77(_0x359bb6,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x5cde04=>_0xfa4e77(_0x359bb6,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x5cde04),'secondary':_0xfa4e77(_0x359bb6,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':_0xfa4e77(_0x359bb6,'No\x20templates\x20available.')}}}}),_0x4584d0=_0x3bf8fc['commands']['get']('insertTemplate');return _0x33c800['on']('search',(_0x53b93e,_0x4193c7)=>{_0x4193c7['query']&&_0x4193c7['query']['length']&&_0x3bf8fc['ui']['ariaLiveAnnouncer']['announce'](_0xfa4e77(_0x359bb6,'%0\x20templates\x20found',_0x4193c7['resultsCount']));}),_0x53eba7['bind']('isEnabled')['to'](_0x4584d0),_0x53eba7['panelView']['children']['add'](_0x33c800),_0x53eba7['buttonView']['set']({'label':_0xfa4e77(_0x359bb6,'Insert\x20template'),'icon':_0x5f37cd['IconTemplate'],'tooltip':!0x0}),_0x53eba7['on']('change:isOpen',(_0x5db64a,_0x5421bf,_0x1740e0)=>{_0x1740e0||_0x33c800['reset']();}),_0x53eba7;}),_0x3bf8fc['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x141527=>{const _0x4bf24f=_0x3bf8fc['commands']['get']('insertTemplate'),_0x2312f7=new _0x5f37cd['MenuBarMenuView'](_0x141527);_0x2312f7['buttonView']['set']({'label':_0xfa4e77(_0x141527,'Template'),'icon':_0x5f37cd['IconTemplate']});const _0x2032a6=new _0x5f37cd['MenuBarMenuListView'](_0x141527);if(!_0x4b54f7||!_0x4b54f7['length']){const _0x3f03b5=new _0x5f37cd['MenuBarMenuListItemView'](_0x141527,_0x2312f7),_0x4cc408=new _0x5f37cd['MenuBarMenuListItemButtonView'](_0x141527);_0x4cc408['set']({'label':_0xfa4e77(_0x141527,'No\x20templates\x20available.')}),_0x4cc408['delegate']('execute')['to'](_0x2312f7),_0x4cc408['on']('execute',()=>{_0x3bf8fc['editing']['view']['focus']();}),_0x3f03b5['children']['add'](_0x4cc408),_0x2032a6['items']['add'](_0x3f03b5);}for(const _0x5d90c0 of _0x4b54f7){const _0x14863c=new _0x5f37cd['MenuBarMenuListItemView'](_0x141527,_0x2312f7),_0x31fce3=new _0x5f37cd['MenuBarMenuListItemButtonView'](_0x141527);_0x31fce3['set']({'class':'ck-template-button','label':_0x5d90c0['title'],'icon':_0x5d90c0['icon']||_0x5f37cd['IconTemplateGeneric']}),_0x31fce3['delegate']('execute')['to'](_0x2312f7),_0x31fce3['on']('execute',()=>{_0x3bf8fc['execute']('insertTemplate',_0x5d90c0['data']),_0x3bf8fc['editing']['view']['focus']();}),_0x14863c['children']['add'](_0x31fce3),_0x2032a6['items']['add'](_0x14863c);}return _0x2312f7['panelView']['children']['add'](_0x2032a6),_0x2312f7['bind']('isEnabled')['to'](_0x4bf24f,'isEnabled'),_0x2312f7;});}['afterInit'](){!async function(_0x4d71ae){const _0x1ebbed=_0x3b410f([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]),_0x38c3f9=0x6b0f5e6f,_0x419c2d=0x6b08d5bf^_0x38c3f9,_0x9ecdff=window[_0x3b410f([0x44,0x61,0x74,0x65])][_0x3b410f([0x6e,0x6f,0x77])](),_0xe477c8=_0x4d71ae[_0x3b410f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x26771f=new window[(_0x3b410f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe7ec3b=>{_0xe477c8[_0x3b410f([0x6f,0x6e,0x63,0x65])](_0x3b410f([0x72,0x65,0x61,0x64,0x79]),_0xe7ec3b);}),_0x70e08d={[_0x3b410f([0x6b,0x74,0x79])]:_0x3b410f([0x45,0x43]),[_0x3b410f([0x75,0x73,0x65])]:_0x3b410f([0x73,0x69,0x67]),[_0x3b410f([0x63,0x72,0x76])]:_0x3b410f([0x50,0x2d,0x32,0x35,0x36]),[_0x3b410f([0x78])]:_0x3b410f([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]),[_0x3b410f([0x79])]:_0x3b410f([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]),[_0x3b410f([0x61,0x6c,0x67])]:_0x3b410f([0x45,0x53,0x32,0x35,0x36])},_0x1753f1=_0xe477c8[_0x3b410f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3b410f([0x67,0x65,0x74])](_0x3b410f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xbcf455(){let _0x471211,_0x552730=null,_0x58c6d3=null;try{if(_0x1753f1==_0x3b410f([0x47,0x50,0x4c]))return _0x3b410f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x471211=_0x54b1b3(),!_0x471211)return _0x3b410f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x471211[_0x3b410f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x58c6d3=_0x5178ef(_0x471211[_0x3b410f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x471211[_0x3b410f([0x6a,0x74,0x69])])),await _0x5901bb()?_0x2512aa()?_0x7d795()?_0x3b410f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5cfd62()?(_0x471211[_0x3b410f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3b410f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x552730=_0x3ddb12(_0x3b410f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x589e3e()):_0x3b410f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3b410f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3b410f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3b410f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7d795(){const _0x4e4b79=[_0x3b410f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3b410f([0x74,0x72,0x69,0x61,0x6c])][_0x3b410f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x471211[_0x3b410f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x9ecdff/0x3e8:0xe10*_0x419c2d;return _0x471211[_0x3b410f([0x65,0x78,0x70])]<_0x4e4b79;}function _0x2512aa(){const _0x5829d5=_0x471211[_0x3b410f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5829d5&&(!!_0x5829d5[_0x3b410f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b410f([0x2a]))||(!!_0x5829d5[_0x3b410f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b410f([0x54,0x50,0x4c]))||(!!_0x5829d5[_0x3b410f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b410f([0x50,0x50]))||(!(!_0x5829d5[_0x3b410f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b410f([0x44,0x52,0x55,0x50]))||!_0x3fd160())||!(!_0x5829d5[_0x3b410f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b410f([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x2759a2())))));}function _0x5cfd62(){const _0x5037ca=_0x471211[_0x3b410f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5037ca||0x0==_0x5037ca[_0x3b410f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x148796}=new URL(window[_0x3b410f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5037ca[_0x3b410f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x148796))return!0x0;const _0x3c951b=_0x148796[_0x3b410f([0x73,0x70,0x6c,0x69,0x74])](_0x3b410f([0x2e]));return _0x5037ca[_0x3b410f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x249708=>_0x249708[_0x3b410f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b410f([0x2a])))[_0x3b410f([0x6d,0x61,0x70])](_0x4fc086=>_0x4fc086[_0x3b410f([0x73,0x70,0x6c,0x69,0x74])](_0x3b410f([0x2e])))[_0x3b410f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e3e03=>_0x1e3e03[_0x3b410f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3c951b[_0x3b410f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b410f([0x6d,0x61,0x70])](_0x31f459=>Array(_0x3c951b[_0x3b410f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x31f459[_0x3b410f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3b410f([0x66,0x69,0x6c,0x6c])](_0x31f459[0x0]===_0x3b410f([0x2a])?_0x3b410f([0x2a]):'')[_0x3b410f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x31f459))[_0x3b410f([0x73,0x6f,0x6d,0x65])](_0x2d7e48=>_0x3c951b[_0x3b410f([0x65,0x76,0x65,0x72,0x79])]((_0x43bf87,_0x91ac1)=>_0x2d7e48[_0x91ac1]===_0x43bf87||_0x2d7e48[_0x91ac1]===_0x3b410f([0x2a])));}function _0x589e3e(){return _0x552730&&_0x58c6d3?new window[(_0x3b410f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x469bb6,_0x5571e4)=>{_0x552730[_0x3b410f([0x74,0x68,0x65,0x6e])](_0x469bb6,_0x5571e4),_0x58c6d3[_0x3b410f([0x74,0x68,0x65,0x6e])](_0x276d11=>{_0x276d11!=_0x3b410f([0x56,0x61,0x6c,0x69,0x64])&&_0x469bb6(_0x276d11);},_0x5571e4);}):_0x552730||_0x58c6d3||_0x3b410f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5178ef(_0x170a6b,_0x2909d0){return new window[(_0x3b410f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50f025=>{if(_0x10d1eb())return _0x50f025(_0x3b410f([0x56,0x61,0x6c,0x69,0x64]));_0x3bed24(),_0xe477c8[_0x3b410f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3b410f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e2eef=!0x1;const _0x3d2a36=_0x5f37cd['uid']();function _0x26d7d4(_0x44fa62){return!!_0x44fa62&&(typeof _0x44fa62===_0x3b410f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x44fa62===_0x3b410f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x44fa62[_0x3b410f([0x74,0x68,0x65,0x6e])]===_0x3b410f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x44fa62[_0x3b410f([0x63,0x61,0x74,0x63,0x68])]===_0x3b410f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x110735(_0x99518){_0xe74c7b(_0x99518)[_0x3b410f([0x74,0x68,0x65,0x6e])](_0x27a861=>{if(!_0x27a861||_0x27a861[_0x3b410f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3b410f([0x6f,0x6b]))return _0x3b410f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3e2443(_0x19740e(_0x3d2a36+_0x2909d0))!=_0x27a861[_0x3b410f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3b410f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3b410f([0x56,0x61,0x6c,0x69,0x64]);})[_0x3b410f([0x74,0x68,0x65,0x6e])](_0x16e5da=>(_0x2cff77(),_0x16e5da),()=>{const _0x28ff66=_0x1e15b7();return null==_0x28ff66?(_0x2cff77(),_0x3b410f([0x56,0x61,0x6c,0x69,0x64])):_0x3b410f(_0x9ecdff-_0x28ff66>(0x4f03da6f^_0x38c3f9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3b410f([0x74,0x68,0x65,0x6e])](_0x50f025)[_0x3b410f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x50f025(_0x3b410f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b1fc8=0x6b39b0ef^_0x38c3f9;function _0x2cff77(){const _0x7e91d7=_0x3b410f([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e2443(_0x19740e(_0x170a6b)),_0x2d4e0c=_0x71d3ad(_0x3e2443(window[_0x3b410f([0x4d,0x61,0x74,0x68])][_0x3b410f([0x63,0x65,0x69,0x6c])](_0x9ecdff/_0x2b1fc8)));window[_0x3b410f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b410f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7e91d7,_0x2d4e0c);}function _0x1e15b7(){const _0x1b8b90=_0x3b410f([0x6c,0x6c,0x63,0x74,0x2d])+_0x3e2443(_0x19740e(_0x170a6b)),_0x5d1644=window[_0x3b410f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3b410f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b8b90);return _0x5d1644?window[_0x3b410f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x71d3ad(_0x5d1644),0x10)*_0x2b1fc8:null;}function _0xe74c7b(_0xe2e88a){return new window[(_0x3b410f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19ee39,_0x4d65e0)=>{_0xe2e88a[_0x3b410f([0x74,0x68,0x65,0x6e])](_0x19ee39,_0x4d65e0),window[_0x3b410f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4d65e0,0x6b0e8aaf^_0x38c3f9);});}}_0xe477c8[_0x3b410f([0x6f,0x6e])](_0x3b410f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f6424,_0x4eb6ec)=>{if(_0x4eb6ec[0x0]!=_0x170a6b)return _0x50f025(_0x3b410f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4eb6ec[0x1]={..._0x4eb6ec[0x1],[_0x3b410f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d2a36};},{[_0x3b410f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b410f([0x68,0x69,0x67,0x68])}),_0xe477c8[_0x3b410f([0x6f,0x6e])](_0x3b410f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x31909f=>{_0x26d7d4(_0x31909f[_0x3b410f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e2eef=!0x0,_0x110735(_0x31909f[_0x3b410f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3b410f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3b410f([0x6c,0x6f,0x77])}),_0x26771f[_0x3b410f([0x74,0x68,0x65,0x6e])](()=>{_0x4e2eef||_0x50f025(_0x3b410f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x10d1eb(){return _0xe477c8[_0x3b410f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b410f([0x76,0x69,0x65,0x77])][_0x3b410f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3b410f([0x61,0x75,0x74,0x6f]);}function _0x3bed24(){_0xe477c8[_0x3b410f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3b410f([0x76,0x69,0x65,0x77])][_0x3b410f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3b410f([0x61,0x75,0x74,0x6f]);}}function _0x3ddb12(_0x33f87b){const _0x4e9701=[new window[(_0x3b410f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bde1a=>setTimeout(_0x3bde1a,0x6b0660a3^_0x38c3f9)),_0x26771f[_0x3b410f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3b410f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x125673=>{let _0x2bfe81=0x0;_0xe477c8[_0x3b410f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b410f([0x6f,0x6e])](_0x3b410f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x569694,_0x5ba42b)=>{_0x5ba42b[0x0][_0x3b410f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2bfe81++,_0x2bfe81==(0x6b0f5b87^_0x38c3f9)&&(_0x125673(),_0x569694[_0x3b410f([0x6f,0x66,0x66])]());});}))];return window[_0x3b410f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3b410f([0x72,0x61,0x63,0x65])](_0x4e9701)[_0x3b410f([0x74,0x68,0x65,0x6e])](()=>_0x33f87b);}async function _0xa23fe3(){await _0x26771f,_0xe477c8[_0x3b410f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b410f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3fde97,_0xe477c8[_0x3b410f([0x6d,0x6f,0x64,0x65,0x6c])][_0x3b410f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3fde97,_0xe477c8[_0x3b410f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3b410f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3fd160(){return window[_0x3b410f([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x2759a2(){return window[_0x3b410f([0x67,0x6c,0x6f,0x62])]&&window[_0x3b410f([0x67,0x6c,0x6f,0x62])][_0x3b410f([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x41a5a1(_0x46bf7a){const _0x4cd1f1=_0x52137e();_0xe477c8[_0x4cd1f1]=_0x3b410f([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x46bf7a,_0x46bf7a!=_0x3b410f([0x56,0x61,0x6c,0x69,0x64])&&_0xa23fe3();}function _0x52137e(){const _0x145557=window[_0x3b410f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3b410f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3b410f([0x6e,0x6f,0x77])]())[_0x3b410f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3b410f([0x2e]),'');let _0x500f89=_0x3b410f([0x67]);for(let _0x4ca1cc=0x0;_0x4ca1cc<_0x145557[_0x3b410f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ca1cc+=0x2){let _0x4ad9ef=window[_0x3b410f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x145557[_0x3b410f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ca1cc,_0x4ca1cc+0x2));_0x4ad9ef>=_0x1ebbed[_0x3b410f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ad9ef-=_0x1ebbed[_0x3b410f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x500f89+=_0x1ebbed[_0x4ad9ef];}return _0x500f89;}function _0x54b1b3(){const _0x38710c=_0x1753f1[_0x3b410f([0x73,0x70,0x6c,0x69,0x74])](_0x3b410f([0x2e]));if(0x3!=_0x38710c[_0x3b410f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4cb27e(_0x38710c[0x1]);function _0x4cb27e(_0x8f4465){const _0x4a1ab5=_0x375a8c(_0x8f4465);return _0x4a1ab5&&_0x4db894()?_0x4a1ab5:null;function _0x4db894(){const _0x27e51b=_0x4a1ab5[_0x3b410f([0x6a,0x74,0x69])],_0x145ea6=window[_0x3b410f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x27e51b[_0x3b410f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27e51b[_0x3b410f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xac892b={..._0x4a1ab5,[_0x3b410f([0x6a,0x74,0x69])]:_0x27e51b[_0x3b410f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x27e51b[_0x3b410f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xac892b[_0x3b410f([0x76,0x63])],_0x19740e(_0xac892b)==_0x145ea6;}}}async function _0x5901bb(){let _0x1fe729=!0x0;try{const _0xb11a95=_0x1753f1[_0x3b410f([0x73,0x70,0x6c,0x69,0x74])](_0x3b410f([0x2e])),[_0x3cf5fb,_0x5cad7d,_0x13fc57]=_0xb11a95;return _0x134332(_0x3cf5fb),await _0x58f6dd(_0x3cf5fb,_0x5cad7d,_0x13fc57),_0x1fe729;}catch{return!0x1;}function _0x134332(_0x83d7c0){const _0x13c3f5=_0x375a8c(_0x83d7c0);_0x13c3f5&&_0x13c3f5[_0x3b410f([0x61,0x6c,0x67])]==_0x3b410f([0x45,0x53,0x32,0x35,0x36])||(_0x1fe729=!0x1);}async function _0x58f6dd(_0x1f0cb3,_0x4569f2,_0x498002){const _0x1307b0=window[_0x3b410f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3b410f([0x66,0x72,0x6f,0x6d])](_0x583949(_0x498002),_0x5bd4d1=>_0x5bd4d1[_0x3b410f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x596302=new window[(_0x3b410f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3b410f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1f0cb3+_0x3b410f([0x2e])+_0x4569f2),_0x5e411=window[_0x3b410f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3b410f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5e411)return;const _0x1857f0=await _0x5e411[_0x3b410f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3b410f([0x6a,0x77,0x6b]),_0x70e08d,{[_0x3b410f([0x6e,0x61,0x6d,0x65])]:_0x3b410f([0x45,0x43,0x44,0x53,0x41]),[_0x3b410f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3b410f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3b410f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5e411[_0x3b410f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3b410f([0x6e,0x61,0x6d,0x65])]:_0x3b410f([0x45,0x43,0x44,0x53,0x41]),[_0x3b410f([0x68,0x61,0x73,0x68])]:{[_0x3b410f([0x6e,0x61,0x6d,0x65])]:_0x3b410f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1857f0,_0x1307b0,_0x596302)||(_0x1fe729=!0x1);}}function _0x375a8c(_0x5e3fc0){return _0x5e3fc0[_0x3b410f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3b410f([0x65,0x79]))?JSON[_0x3b410f([0x70,0x61,0x72,0x73,0x65])](_0x583949(_0x5e3fc0)):null;}function _0x583949(_0x13479a){return window[_0x3b410f([0x61,0x74,0x6f,0x62])](_0x13479a[_0x3b410f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3b410f([0x2b]))[_0x3b410f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3b410f([0x2f])));}function _0x19740e(_0x31825a){let _0x48c72a=0x1505;function _0x25b906(_0x47eeca){for(let _0x1a7f5a=0x0;_0x1a7f5a<_0x47eeca[_0x3b410f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a7f5a++){const _0x42c648=_0x47eeca[_0x3b410f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1a7f5a);_0x48c72a=(_0x48c72a<<0x5)+_0x48c72a+_0x42c648,_0x48c72a&=_0x48c72a;}}function _0x21bf06(_0xe778e4){Array[_0x3b410f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xe778e4)?_0xe778e4[_0x3b410f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x21bf06):_0xe778e4&&typeof _0xe778e4==_0x3b410f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3b410f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xe778e4)[_0x3b410f([0x73,0x6f,0x72,0x74])]()[_0x3b410f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x563582,_0x19f39f])=>{_0x25b906(_0x563582),_0x21bf06(_0x19f39f);}):_0x25b906(window[_0x3b410f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xe778e4));}return _0x21bf06(_0x31825a),_0x48c72a>>>0x0;}function _0x3e2443(_0x497e72){return _0x497e72[_0x3b410f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3b410f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3b410f([0x30]));}function _0x71d3ad(_0x30e638){return _0x30e638[_0x3b410f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3b410f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3b410f([0x6a,0x6f,0x69,0x6e])]('');}function _0x3fde97(){}function _0x3b410f(_0x47e3c4){return _0x47e3c4['map'](_0x27d7f0=>String['fromCharCode'](_0x27d7f0))['join']('');}_0x41a5a1(await _0xbcf455());}(this);}['_createTemplateListView'](_0x355a78,_0x58e789){const {editor:_0x14f2ac}=this,_0x1d59dd=new TemplateListView(_0x355a78);return _0x1d59dd['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x1d59dd['items']['addMany'](_0x58e789['map']((_0x2c8823,_0x377411)=>{const _0x5b75fc=new TemplateListItemView(_0x355a78,_0x377411),_0x567173=new TemplateListButtonView(_0x355a78,_0x2c8823);return _0x5b75fc['buttonView']=_0x567173,_0x5b75fc['children']['add'](_0x567173),_0x5b75fc['buttonView']['on']('execute',_0x5e6728=>{_0x14f2ac['execute']('insertTemplate',_0x5e6728['source']['templateDefinition']['data']),_0x14f2ac['editing']['view']['focus']();}),_0x5b75fc;})),_0x1d59dd;}}class Template extends _0x5f37cd['Plugin']{static get['requires'](){return[TemplateEditing,TemplateUI];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _0x3e1eef(_0x2c77ed,_0x2b5ddc,_0x45d90c){const t=_0x2c77ed['t'],_0x5ce132=_0x2c77ed['t'];switch(_0x2b5ddc){case'local':return{'text':_0x5ce132('Insert'===_0x45d90c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5ce132('From\x20computer')};case'url':return{'text':'Insert'===_0x45d90c?_0x5ce132('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5ce132('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x45d90c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x45d90c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x45d90c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x45d90c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x45d90c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2b5ddc;}}class _0x360936 extends _0x5f37cd['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 _0x393e35=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x33ec5d;for(const _0x12d72f in _0x393e35){const _0x35732c=_0x12d72f,_0x822586=_0x393e35[_0x35732c];if('uploadcareLicenseKeyValid'==_0x822586||'uploadcareLicenseKeyInvalid'==_0x822586||'uploadcareLicenseKeyExpired'==_0x822586||'uploadcareLicenseKeyDomainLimit'==_0x822586||'uploadcareLicenseKeyNotAllowed'==_0x822586||'uploadcareLicenseKeyEvaluationLimit'==_0x822586||'uploadcareLicenseKeyUsageLimit'==_0x822586){delete _0x393e35[_0x35732c],_0x33ec5d=_0x822586,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x33ec5d&&_0x393e35['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x33ec5d&&_0x393e35['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x33ec5d&&_0x393e35['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x33ec5d&&_0x393e35['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x33ec5d&&_0x393e35['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x33ec5d&&_0x393e35['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x42cc2d}=this,_0x4024c9=_0x42cc2d['commands']['get']('uploadcare');if(!_0x4024c9)return;const _0x3d7d5b=this['_normalizeConfigSourceList'](_0x42cc2d['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x332f90,_0x589ed9)=>{const _0x398d3d=this['_getIntegrationKey'](_0x589ed9['type']);return _0x332f90[_0x398d3d]||(_0x332f90[_0x398d3d]=[]),_0x332f90[_0x398d3d]['push'](_0x589ed9),_0x332f90;},{});_0x42cc2d['plugins']['has']('ImageInsertUI')&&_0x42cc2d['commands']['get']('uploadcare')&&Object['entries'](_0x3d7d5b)['forEach'](([_0x2ddad9,_0x5a3311])=>{_0x42cc2d['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x2ddad9,'observable':()=>_0x4024c9,'buttonViewCreator':()=>this['_createToolbarButton'](_0x5a3311),'formViewCreator':()=>this['_createDropdownButtons'](_0x5a3311),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x5a3311),'override':'assetManager'!==_0x2ddad9});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x1a5d18){const {locale:_0x17e8ab}=this['editor'];return _0x1a5d18['map'](_0x439f98=>{const _0x25568b=_0x3e1eef(_0x17e8ab,_0x439f98,'Insert');switch(_0x439f98){case'local':return{'icon':_0x5f37cd['IconUploadcareImageUpload'],'type':'local',..._0x25568b};case'url':return{'icon':_0x5f37cd['IconUploadcareLink'],'type':'url',..._0x25568b};case'dropbox':return{'icon':_0x5f37cd['IconDropbox'],'type':'dropbox',..._0x25568b};case'facebook':return{'icon':_0x5f37cd['IconFacebook'],'type':'facebook',..._0x25568b};case'gdrive':return{'icon':_0x5f37cd['IconGoogleDrive'],'type':'gdrive',..._0x25568b};case'gphotos':return{'icon':_0x5f37cd['IconGooglePhotos'],'type':'gphotos',..._0x25568b};case'onedrive':return{'icon':_0x5f37cd['IconOneDrive'],'type':'onedrive',..._0x25568b};}});}['_getIntegrationKey'](_0x38670b){switch(_0x38670b){case'local':return'upload';case'url':return'url';default:return'assetManager';}}['_createButton'](_0x88a36f,_0x285b71){const _0x1e98d8=this['editor'],_0x1bee5b=new _0x88a36f(_0x1e98d8['locale']),_0x47aa0b=_0x1e98d8['commands']['get']('uploadcare');return _0x1bee5b['bind']('isEnabled')['to'](_0x47aa0b),_0x1bee5b['on']('execute',()=>{_0x47aa0b['execute'](_0x285b71);}),_0x1bee5b;}['_createToolbarButton'](_0x3be3c3){const {locale:_0x3668b7}=this['editor'],_0x1ae6f8=this['editor']['plugins']['get']('ImageInsertUI'),_0x4ee592=_0x3be3c3[0x0],_0x58e89e=this['_createButton'](_0x5f37cd['ButtonView'],_0x4ee592['type']);return _0x58e89e['icon']=_0x4ee592['icon'],_0x58e89e['bind']('label')['to'](_0x1ae6f8,'isImageSelected',_0x4f5567=>_0x3e1eef(_0x3668b7,_0x4ee592['type'],_0x4f5567?'Replace':'Insert')['text']),_0x58e89e['tooltip']=!0x0,_0x58e89e;}['_createDropdownButtons'](_0x56cb0c){const {locale:_0x266665}=this['editor'],_0x28d0c5=this['editor']['plugins']['get']('ImageInsertUI');return _0x56cb0c['map'](_0x3a3236=>{const _0x10568b=this['_createButton'](_0x5f37cd['ButtonView'],_0x3a3236['type']);return _0x10568b['withText']=!0x0,_0x10568b['icon']=_0x3a3236['icon'],_0x10568b['bind']('label')['to'](_0x28d0c5,'isImageSelected',_0x4f6d4a=>_0x3e1eef(_0x266665,_0x3a3236['type'],_0x4f6d4a?'Replace':'Insert')['text']),_0x10568b;});}['_createMenuBarButtons'](_0x475bed){return _0x475bed['map'](_0x3d00db=>{const _0x5a8d11=this['_createButton'](_0x5f37cd['MenuBarMenuListItemButtonView'],_0x3d00db['type']);return _0x5a8d11['icon']=_0x3d00db['icon'],_0x5a8d11['label']=_0x3d00db['shortText'],_0x5a8d11;});}}class _0x4bbe39 extends _0x5f37cd['View']{['focusTracker'];['focusCycler'];constructor(_0x31397e){super(_0x31397e),this['focusTracker']=new _0x5f37cd['FocusTracker'](),this['focusCycler']=new _0x5f37cd['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 _0x44ffb6 extends _0x4bbe39{constructor(_0x1acb2d,_0x2c2b3a){super(_0x1acb2d),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-'+_0x2c2b3a}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function _0xc0b56a(_0x1b98cb,_0x23c29c){const _0xef39d5=_0x1b98cb['replace'](/\/$/,'');return{'imageFallbackUrl':_0x1b98cb,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x50320a=>_0x50320a<_0x23c29c)['map'](_0x4ab446=>_0xef39d5+'/-/resize/'+_0x4ab446+'x/\x20'+_0x4ab446+'w'),_0x1b98cb+'\x20'+_0x23c29c+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0x23c29c+'px)\x20100vw,\x20'+_0x23c29c+'px','type':'image/webp'}]};}function _0x27a03f(_0x3da893,_0x2d8d0c,_0x3ae542){const _0x53e663=_0x3da893['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x53e663?parseInt(_0x53e663[0x1],0xa):_0x2d8d0c,'height':_0x53e663?parseInt(_0x53e663[0x2],0xa):_0x3ae542};}function _0x11793b(_0x209894,_0x3f5a19){const _0xa2e020=new(_0x5f37cd['DomEmitterMixin']())(),_0x1f858b=_0x209894['plugins']['get']('ImageUtils'),_0x11b1b6=_0x209894['editing']['mapper']['toViewElement'](_0x3f5a19),_0x256cb6=_0x1f858b['findViewImgElement'](_0x11b1b6),_0x4c28e4=_0x209894['editing']['view']['domConverter']['viewToDom'](_0x256cb6),_0x460e1b=_0x3f5a19['getAttribute']('width'),_0x55ac3d=_0x3f5a19['getAttribute']('height'),_0x11e460='image-processing';_0x209894['editing']['view']['change'](_0x1d01bd=>{_0x1d01bd['addClass'](_0x11e460,_0x11b1b6),_0x1d01bd['setStyle']('aspect-ratio',_0x460e1b+'/'+_0x55ac3d,_0x256cb6);}),_0xa2e020['listenTo'](_0x4c28e4,'load',()=>{_0xa2e020['stopListening'](_0x4c28e4,'load'),_0x209894['editing']['view']['change'](_0x1a7302=>{_0x1a7302['removeClass'](_0x11e460,_0x11b1b6),_0x1a7302['removeStyle']('aspect-ratio',_0x256cb6);});});}function _0x36426a(_0x4be592){if(Array['isArray'](_0x4be592)){const _0x2a3ebf=_0x4be592['map'](_0x36426a);return _0x30cd51=>_0x2a3ebf['some'](_0x2edb07=>_0x2edb07(_0x30cd51));}if('origin'==_0x4be592){const _0x476658=_0x5f37cd['global']['window']['location']['origin'];return _0x457c43=>new URL(_0x457c43,_0x5f37cd['global']['document']['baseURI'])['origin']==_0x476658;}return'function'==typeof _0x4be592?_0x4be592:_0x4be592 instanceof RegExp?_0x180d26=>!(!_0x180d26['match'](_0x4be592)&&!_0x180d26['replace'](/^https?:\/\//,'')['match'](_0x4be592)):()=>!0x1;}function _0x2afc13(_0x5c5322,_0x3fd0f9){return _0x5f37cd['getAncestors'](_0x5c5322['target'])['includes'](_0x3fd0f9);}class UploadcareController extends/* #__PURE__ -- @preserve */
_0x5f37cd['ObservableMixin'](){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x2d8748,_0xaed26e,_0x165417){super(),this['_editor']=_0x2d8748,this['_editing']=_0xaed26e,this['_dialog']=_0x2d8748['plugins']['get'](_0x5f37cd['Dialog']),this['_api']=_0xaed26e['ctxElement']['getAPI'](),this['_type']=_0x165417,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:_0xcbd085,model:_0x3d404d}=this['_editor'],_0x471e8d=_0x3d404d['document']['selection']['getSelectedElement'](),_0x245e36=_0x471e8d&&(_0x471e8d['is']('element','imageBlock')||_0x471e8d['is']('element','imageInline'));this['_formView']=new _0x44ffb6(_0xcbd085,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x5f37cd['IconUploadcareImageUpload'],'title':_0x3e1eef(_0xcbd085,this['_type'],_0x245e36?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x5f37cd['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4b1712=>!_0x2afc13(_0x4b1712,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0xb772ea}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5d39e6=>{const _0x587faf=_0xb772ea['length'];for(const _0x5c2d42 of _0xb772ea){const _0x22e5ca=_0x5c2d42===_0xb772ea[_0x587faf-0x1],{cdnUrl:_0x1fcd71,fileInfo:_0x3852b5}=_0x5c2d42;if(!_0x1fcd71||!_0x3852b5)continue;const {width:_0x2fbef3,height:_0xc7059d}=_0x3852b5['imageInfo'],_0x1b3979=_0x27a03f(_0x1fcd71,_0x2fbef3,_0xc7059d),_0x3e0757=_0xc0b56a(_0x1fcd71,_0x1b3979['width']),_0x51fdc3={'id':_0x3852b5['uuid'],'type':'image','attributes':{'imageDimension':_0x1b3979,..._0x3e0757}};this['_insertAsset'](_0x51fdc3,_0x22e5ca,_0x5d39e6);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x3fc422=>{'idle'===_0x3fc422['detail']['status']&&!_0x3fc422['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}['_insertAsset'](_0x1c20cf,_0x3de309,_0x45f218){const _0x58fffb=this['_editor']['model']['document']['selection'],_0x1c2800=_0x58fffb['getSelectedElement'](),_0x156e98=!(!_0x1c2800||!_0x1c2800['is']('element','imageInline'));_0x45f218['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x1c20cf,_0x156e98),_0x3de309||_0x45f218['setSelection'](_0x58fffb['getLastPosition']());}['_insertImage'](_0x5d4626,_0x4047ff){const _0x127810=this['_editor'],{imageDimension:_0x4a7b52,imageFallbackUrl:_0x458082,imageSources:_0x141c93}=_0x5d4626['attributes'];_0x127810['execute']('insertImage',{'imageType':_0x4047ff?'imageInline':null,'source':{'uploadcareImageId':_0x5d4626['id'],'src':_0x458082,'sources':_0x141c93,..._0x4a7b52}});}}class _0x2aec1f extends _0x5f37cd['Command']{['_editing'];['_controller']=null;static get['requires'](){return[_0x5f37cd['Dialog'],UploadcareEditing];}constructor(_0x5b1b77){super(_0x5b1b77),this['_editing']=_0x5b1b77['plugins']['get'](UploadcareEditing);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3a4140){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new UploadcareController(this['editor'],this['_editing'],_0x3a4140);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}function _0x595dcc(_0x35f914){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x35f914);}const _0x5acc1e=/\W|_/g;function _0xdb0740(_0x32b1d0){return _0x32b1d0['split'](_0x5acc1e)['map']((_0x3e535e,_0x465ee5)=>_0x3e535e['charAt'](0x0)[_0x465ee5>0x0?'toUpperCase':'toLowerCase']()+_0x3e535e['slice'](0x1))['join']('');}function _0x406a31(_0xa0c766,{ignoreKeys:_0x1340ad}={'ignoreKeys':[]}){return Array['isArray'](_0xa0c766)?_0xa0c766['map'](_0x17c884=>tP(_0x17c884,{'ignoreKeys':_0x1340ad})):_0xa0c766;}function tP(_0x19e295,{ignoreKeys:_0x1ad101}={'ignoreKeys':[]}){if(Array['isArray'](_0x19e295))return _0x406a31(_0x19e295,{'ignoreKeys':_0x1ad101});if(!_0x595dcc(_0x19e295))return _0x19e295;const _0x3040ab={};for(const _0x15e514 of Object['keys'](_0x19e295)){let _0x302d1b=_0x19e295[_0x15e514];_0x1ad101['includes'](_0x15e514)?_0x3040ab[_0x15e514]=_0x302d1b:(_0x595dcc(_0x302d1b)?_0x302d1b=tP(_0x302d1b,{'ignoreKeys':_0x1ad101}):Array['isArray'](_0x302d1b)&&(_0x302d1b=_0x406a31(_0x302d1b,{'ignoreKeys':_0x1ad101})),_0x3040ab[_0xdb0740(_0x15e514)]=_0x302d1b);}return _0x3040ab;}const _0x47a8e0={'factor':0x2,'time':0x64};function _0x2dc7cf(_0x7a31dd,_0x1e5bd7=_0x47a8e0){let _0x476a78=0x0;return function _0x9019a7(_0x685a2){const _0x3b9b2e=Math['round'](_0x1e5bd7['time']*_0x1e5bd7['factor']**_0x476a78);return _0x685a2({'attempt':_0x476a78,'retry':_0x11c72f=>(_0x438428=>new Promise(_0x56dada=>setTimeout(_0x56dada,_0x438428)))(_0x11c72f??_0x3b9b2e)['then'](()=>(_0x476a78+=0x1,_0x9019a7(_0x685a2)))});}(_0x7a31dd);}class _0xa575d4 extends Error{}class NetworkError extends _0xa575d4{['originalProgressEvent'];constructor(_0x3e73c6){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x3e73c6;}}const _0x508b23=(_0x29987b,_0x46545e)=>{_0x29987b&&(_0x29987b['aborted']?Promise['resolve']()['then'](_0x46545e):_0x29987b['addEventListener']('abort',()=>_0x46545e(),{'once':!0x0}));};class _0x1a29af extends _0xa575d4{['isCancel']=!0x0;constructor(_0x2f2029='Request\x20canceled'){super(_0x2f2029),this['name']='CancelError',Object['setPrototypeOf'](this,_0x1a29af['prototype']);}}const _0x18649d=({check:_0x3d3c40,interval:_0x45be7e=0x1f4,timeout:_0x32ac2b,signal:_0x1be640})=>new Promise((_0x364db4,_0x143b1e)=>{let _0x2fb141,_0x4a8fcc;_0x508b23(_0x1be640,()=>{_0x2fb141&&clearTimeout(_0x2fb141),_0x143b1e(new _0x1a29af('Poll\x20cancelled'));}),_0x32ac2b&&(_0x4a8fcc=setTimeout(()=>{_0x2fb141&&clearTimeout(_0x2fb141),_0x143b1e(new _0x1a29af('Timed\x20out'));},_0x32ac2b));const _0x9cd987=()=>{try{Promise['resolve'](_0x3d3c40(_0x1be640))['then'](_0x585cb8=>{_0x585cb8?(_0x4a8fcc&&clearTimeout(_0x4a8fcc),_0x364db4(_0x585cb8)):_0x2fb141=setTimeout(_0x9cd987,_0x45be7e);})['catch'](_0x1471b4=>{_0x4a8fcc&&clearTimeout(_0x4a8fcc),_0x143b1e(_0x1471b4);});}catch(_0x14ee16){_0x4a8fcc&&clearTimeout(_0x4a8fcc),_0x143b1e(_0x14ee16);}};_0x2fb141=setTimeout(_0x9cd987,0x0);}),_0x6a8c0d='https://ucarecdn.com',_0x4cf227='https://upload.uploadcare.com',_0x326563=0x1,_0xa02f36=0x3,_0x40be9b=0x1900000,_0x2f23da=0x500000,_0x11453b=0x4,_0xe335f4='79ae88bd931ea68464d9',_0xc74187='application/octet-stream',_0x4cce7d=({method:_0x2a5b79,url:_0x316c83,data:_0x4b4520,headers:_0xe1cf84={},signal:_0x28a27e,onProgress:_0x1657b3})=>new Promise((_0x324ecb,_0x338852)=>{const _0x420217=new XMLHttpRequest(),_0x31fb89=_0x2a5b79?.['toUpperCase']()||'GET';let _0x315435=!0x1;_0x420217['open'](_0x31fb89,_0x316c83,!0x0),_0xe1cf84&&Object['entries'](_0xe1cf84)['forEach'](_0x1b3bfc=>{const [_0x283deb,_0x1846ec]=_0x1b3bfc;void 0x0!==_0x1846ec&&!Array['isArray'](_0x1846ec)&&_0x420217['setRequestHeader'](_0x283deb,_0x1846ec);}),_0x420217['responseType']='text',_0x508b23(_0x28a27e,()=>{_0x315435=!0x0,_0x420217['abort'](),_0x338852(new _0x1a29af());}),_0x420217['onload']=()=>{if(0xc8!=_0x420217['status'])_0x338852(new Error('Error\x20'+_0x420217['status']+':\x20'+_0x420217['statusText']));else{const _0x2ec17e={'method':_0x31fb89,'url':_0x316c83,'data':_0x4b4520,'headers':_0xe1cf84||void 0x0,'signal':_0x28a27e,'onProgress':_0x1657b3},_0x363157=_0x420217['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x13c4e1={};_0x363157['forEach'](function(_0x10fa25){const _0x5851a8=_0x10fa25['split'](':\x20'),_0x23d6f5=_0x5851a8['shift'](),_0xe52bbb=_0x5851a8['join'](':\x20');_0x23d6f5&&void 0x0!==_0x23d6f5&&(_0x13c4e1[_0x23d6f5]=_0xe52bbb);});const _0x10b83f=_0x420217['response'],_0x295f71=_0x420217['status'];_0x324ecb({'request':_0x2ec17e,'data':_0x10b83f,'headers':_0x13c4e1,'status':_0x295f71});}},_0x420217['onerror']=_0x5a0712=>{_0x315435||_0x338852(new NetworkError(_0x5a0712));},_0x1657b3&&'function'==typeof _0x1657b3&&(_0x420217['upload']['onprogress']=_0x5e65a0=>{_0x5e65a0['lengthComputable']?_0x1657b3({'isComputable':!0x0,'value':_0x5e65a0['loaded']/_0x5e65a0['total']}):_0x1657b3({'isComputable':!0x1});}),_0x4b4520?_0x420217['send'](_0x4b4520):_0x420217['send']();}),_0x53b03b=function(_0x4cd696,..._0x2ea4f6){return _0x4cd696;},_0x22b61c=_0x464e29=>'undefined'!=typeof Blob&&_0x464e29 instanceof Blob,_0x177090=_0x4f0229=>'undefined'!=typeof File&&_0x4f0229 instanceof File,_0x58493c=_0x3dc75c=>!!_0x3dc75c&&'object'==typeof _0x3dc75c&&!Array['isArray'](_0x3dc75c)&&'uri'in _0x3dc75c&&'string'==typeof _0x3dc75c['uri'],_0x1fb0fd=_0x23268f=>_0x22b61c(_0x23268f)||_0x177090(_0x23268f)||_0x58493c(_0x23268f);function _0x5763db(_0x5f4bf0,_0x475d28,_0x3bdec9){if(Array['isArray'](_0x3bdec9)){for(const _0x5af840 of _0x3bdec9)_0x5763db(_0x5f4bf0,_0x475d28+'[]',_0x5af840);}else{if((_0xf061cc=>!!_0xf061cc&&'object'==typeof _0xf061cc&&'data'in _0xf061cc&&_0x1fb0fd(_0xf061cc['data']))(_0x3bdec9)){const {name:_0x58a97a,contentType:_0x4b9798}=_0x3bdec9,_0x20eea4=_0x53b03b(_0x3bdec9['data'],_0x58a97a,_0x4b9798??_0xc74187),_0x13ed48=(({name:_0x31328f})=>_0x31328f?[_0x31328f]:[])({'name':_0x58a97a});_0x5f4bf0['push']([_0x475d28,_0x20eea4,..._0x13ed48]);}else{if((_0x49a38d=>!!_0x49a38d&&'object'==typeof _0x49a38d&&!Array['isArray'](_0x49a38d))(_0x3bdec9)){for(const [_0x562ba0,_0x476c2c]of Object['entries'](_0x3bdec9))void 0x0!==_0x476c2c&&_0x5f4bf0['push']([_0x475d28+'['+_0x562ba0+']',String(_0x476c2c)]);}else(_0xc6f788=>'string'==typeof _0xc6f788||'number'==typeof _0xc6f788||void 0x0===_0xc6f788)(_0x3bdec9)&&_0x3bdec9&&_0x5f4bf0['push']([_0x475d28,_0x3bdec9['toString']()]);}}}function _0x471d98(_0x8f5637){const _0x4bd5f0=new FormData(),_0x523511=function(_0x480e70){const _0x3445c2=[];for(const [_0xd41369,_0x20fb3a]of Object['entries'](_0x480e70))_0x5763db(_0x3445c2,_0xd41369,_0x20fb3a);return _0x3445c2;}(_0x8f5637);for(const _0x585238 of _0x523511){const [_0x2a1d6e,_0xd94f29,..._0x1c7435]=_0x585238;_0x4bd5f0['append'](_0x2a1d6e,_0xd94f29,..._0x1c7435);}return _0x4bd5f0;}class _0x2b86de extends _0xa575d4{['code'];['request'];['response'];['headers'];constructor(_0x29008b,_0x2bd8a1,_0x51af8e,_0x102f76,_0x1106ef){super(),this['name']='UploadError',this['message']=_0x29008b,this['code']=_0x2bd8a1,this['request']=_0x51af8e,this['response']=_0x102f76,this['headers']=_0x1106ef,Object['setPrototypeOf'](this,_0x2b86de['prototype']);}}const _0x14dd48=(_0x3e9709,_0x2bf024,_0x2d1e9c)=>{const _0xdd33be=new URL(_0x3e9709);return _0xdd33be['pathname']=(_0xdd33be['pathname']+_0x2bf024)['replace']('//','/'),_0x2d1e9c&&(_0xdd33be['search']=(_0x2f409e=>{const _0x3f4d17=new URLSearchParams();for(const [_0x596342,_0x4c0744]of Object['entries'](_0x2f409e))_0x4c0744&&'object'==typeof _0x4c0744&&!Array['isArray'](_0x4c0744)?Object['entries'](_0x4c0744)['filter'](_0x2aaf19=>_0x2aaf19[0x1]??!0x1)['forEach'](_0x4d3c13=>_0x3f4d17['set'](_0x596342+'['+_0x4d3c13[0x0]+']',String(_0x4d3c13[0x1]))):Array['isArray'](_0x4c0744)?_0x4c0744['forEach'](_0x186fdd=>{_0x3f4d17['append'](_0x596342+'[]',_0x186fdd);}):'string'==typeof _0x4c0744&&_0x4c0744?_0x3f4d17['set'](_0x596342,_0x4c0744):'number'==typeof _0x4c0744&&_0x3f4d17['set'](_0x596342,_0x4c0744['toString']());return _0x3f4d17['toString']();})(_0x2d1e9c)),_0xdd33be['toString']();};function _0x2251c1(_0x18b3cc){return function({libraryName:_0x1af6d9,libraryVersion:_0x1703b5,userAgent:_0x39727f,publicKey:_0x113774='',integration:_0x51e792=''}){const _0x18e29e='JavaScript';return'string'==typeof _0x39727f?_0x39727f:'function'==typeof _0x39727f?_0x39727f({'publicKey':_0x113774,'libraryName':_0x1af6d9,'libraryVersion':_0x1703b5,'languageName':_0x18e29e,'integration':_0x51e792}):[_0x1af6d9,_0x1703b5,_0x113774]['filter'](Boolean)['join']('/')+'\x20('+[_0x18e29e,_0x51e792]['filter'](Boolean)['join'](';\x20')+')';}({'libraryName':'UploadcareUploadClient','libraryVersion':'6.14.3',..._0x18b3cc});}function _0x154658(_0x3a8ef2,_0x97be85){const {retryThrottledRequestMaxTimes:_0x496480,retryNetworkErrorMaxTimes:_0x309793}=_0x97be85;return _0x2dc7cf(({attempt:_0x26a959,retry:_0x4d7cd2})=>_0x3a8ef2()['catch'](_0x121fc5=>{if('response'in _0x121fc5&&'RequestThrottledError'===_0x121fc5?.['code']&&_0x26a959<_0x496480)return _0x4d7cd2(function(_0x40577d){const {headers:_0x49ddc7}=_0x40577d||{};if(!_0x49ddc7||'string'!=typeof _0x49ddc7['retry-after'])return 0x3a98;const _0xc22df3=parseInt(_0x49ddc7['retry-after'],0xa);return Number['isFinite'](_0xc22df3)?0x3e8*_0xc22df3:0x3a98;}(_0x121fc5));if(_0x121fc5 instanceof NetworkError&&_0x26a959<_0x309793)return _0x4d7cd2(0x3e8*(_0x26a959+0x1));throw _0x121fc5;}));}const _0x4f3ffe=_0x48d324=>{let _0xd1d226='';return(_0x22b61c(_0x48d324)||_0x177090(_0x48d324)||_0x58493c(_0x48d324))&&(_0xd1d226=_0x48d324['type']),_0xd1d226||_0xc74187;},_0x387027=_0x22a087=>{let _0x1ff8a6='';return _0x177090(_0x22a087)&&_0x22a087['name']?_0x1ff8a6=_0x22a087['name']:_0x22b61c(_0x22a087)?_0x1ff8a6='':_0x58493c(_0x22a087)&&_0x22a087['name']&&(_0x1ff8a6=_0x22a087['name']),_0x1ff8a6||'original';};function _0x478573(_0x4f3994){return void 0x0===_0x4f3994||'auto'===_0x4f3994?'auto':_0x4f3994?'1':'0';}var _0x12cb32,_0x2e32e9;!function(_0x8885ef){_0x8885ef['Token']='token',_0x8885ef['FileInfo']='file_info';}(_0x12cb32||(_0x12cb32={})),function(_0xe73db){_0xe73db['Unknown']='unknown',_0xe73db['Waiting']='waiting',_0xe73db['Progress']='progress',_0xe73db['Error']='error',_0xe73db['Success']='success';}(_0x2e32e9||(_0x2e32e9={}));function _0x3ea92e(_0x57150d,{publicKey:_0x4ea6bf,baseURL:_0x35f6f6=_0x4cf227,signal:_0x5d155a,integration:_0x48813f,userAgent:_0x19f0d1,retryThrottledRequestMaxTimes:_0x10eeb2=_0x326563,retryNetworkErrorMaxTimes:_0x282311=_0xa02f36}={}){return _0x154658(()=>_0x4cce7d({'method':'GET','headers':_0x4ea6bf?{'X-UC-User-Agent':_0x2251c1({'publicKey':_0x4ea6bf,'integration':_0x48813f,'userAgent':_0x19f0d1})}:void 0x0,'url':_0x14dd48(_0x35f6f6,'/from_url/status/',{'jsonerrors':0x1,'token':_0x57150d}),'signal':_0x5d155a})['then'](({data:_0x291816,headers:_0xb1d880,request:_0x2f9fb0})=>{const _0x1e0c33=tP(JSON['parse'](_0x291816));if('error'in _0x1e0c33&&!(_0xc6e43=>'status'in _0xc6e43&&_0xc6e43['status']===_0x2e32e9['Error'])(_0x1e0c33))throw new _0x2b86de(_0x1e0c33['error']['content'],_0x1e0c33['error']['errorCode'],_0x2f9fb0,_0x1e0c33,_0xb1d880);return _0x1e0c33;}),{'retryNetworkErrorMaxTimes':_0x282311,'retryThrottledRequestMaxTimes':_0x10eeb2});}function _0x104ebb(_0x352100,{publicKey:_0x7c33f0,baseURL:_0x33f5c6=_0x4cf227,signal:_0x54eaf8,source:_0x1a63e9,integration:_0xbf71c5,userAgent:_0xe6209c,retryThrottledRequestMaxTimes:_0x4765a5=_0x326563,retryNetworkErrorMaxTimes:_0x3d7444=_0xa02f36}){return _0x154658(()=>_0x4cce7d({'method':'GET','headers':{'X-UC-User-Agent':_0x2251c1({'publicKey':_0x7c33f0,'integration':_0xbf71c5,'userAgent':_0xe6209c})},'url':_0x14dd48(_0x33f5c6,'/info/',{'jsonerrors':0x1,'pub_key':_0x7c33f0,'file_id':_0x352100,'source':_0x1a63e9}),'signal':_0x54eaf8})['then'](({data:_0x2fcd3d,headers:_0x197b4b,request:_0x375a6c})=>{const _0x31d9da=tP(JSON['parse'](_0x2fcd3d));if('error'in _0x31d9da)throw new _0x2b86de(_0x31d9da['error']['content'],_0x31d9da['error']['errorCode'],_0x375a6c,_0x31d9da,_0x197b4b);return _0x31d9da;}),{'retryThrottledRequestMaxTimes':_0x4765a5,'retryNetworkErrorMaxTimes':_0x3d7444});}function _0x13cd17(_0x35ce9f,{publicKey:_0x2b100e,baseURL:_0x498790,source:_0x105c2f,integration:_0x52a20a,userAgent:_0x509c47,retryThrottledRequestMaxTimes:_0x287aa3,retryNetworkErrorMaxTimes:_0x511e0c,signal:_0x221f5f,onProgress:_0x24f849}){return _0x18649d({'check':_0x1cabcd=>_0x104ebb(_0x35ce9f,{'publicKey':_0x2b100e,'baseURL':_0x498790,'signal':_0x1cabcd,'source':_0x105c2f,'integration':_0x52a20a,'userAgent':_0x509c47,'retryThrottledRequestMaxTimes':_0x287aa3,'retryNetworkErrorMaxTimes':_0x511e0c})['then'](_0xdd75e2=>_0xdd75e2['isReady']?_0xdd75e2:(_0x24f849&&_0x24f849({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x221f5f});}class _0x516594{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x5482ef,{baseCDN:_0x44d07a=_0x6a8c0d,fileName:_0x16ff19}={}){const {uuid:_0x16e7bf,s3Bucket:_0x4f9f27}=_0x5482ef,_0x4399da=_0x14dd48(_0x44d07a,_0x16e7bf+'/'),_0x13b8bb=_0x4f9f27?_0x14dd48('https://'+_0x4f9f27+'.s3.amazonaws.com/',_0x16e7bf+'/'+_0x5482ef['filename']):null;this['uuid']=_0x16e7bf,this['name']=_0x16ff19||_0x5482ef['filename'],this['size']=_0x5482ef['size'],this['isStored']=_0x5482ef['isStored'],this['isImage']=_0x5482ef['isImage'],this['mimeType']=_0x5482ef['mimeType'],this['cdnUrl']=_0x4399da,this['originalFilename']=_0x5482ef['originalFilename'],this['imageInfo']=_0x5482ef['imageInfo'],this['videoInfo']=_0x5482ef['videoInfo'],this['contentInfo']=_0x5482ef['contentInfo'],this['metadata']=_0x5482ef['metadata']||null,this['s3Bucket']=_0x4f9f27||null,this['s3Url']=_0x13b8bb,function(_0x3db92d){return'defaultEffects'in _0x3db92d;}(_0x5482ef)&&(this['defaultEffects']=_0x5482ef['defaultEffects']);}}const _0x3700d6=(_0x279017,{publicKey:_0x3860ba,fileName:_0x45492c,baseURL:_0x1b811d,secureSignature:_0x176dd0,secureExpire:_0x37258b,store:_0x506702,contentType:_0x41b62a,signal:_0x281508,onProgress:_0x4ea667,source:_0x1a0226,integration:_0x3a8c9f,userAgent:_0x461cc2,retryThrottledRequestMaxTimes:_0x3f8121,retryNetworkErrorMaxTimes:_0x49a2dc,baseCDN:_0x123ab9,metadata:_0x3e2a9f})=>function(_0x177f6f,{publicKey:_0x4af9df,fileName:_0x4d341b,contentType:_0x43ac2c,baseURL:_0x503ba4=_0x4cf227,secureSignature:_0x3f038d,secureExpire:_0x5be7e4,store:_0xbe15bf,signal:_0x266b4b,onProgress:_0x19925f,source:_0x595f5d='local',integration:_0x3b273d,userAgent:_0x9b0ebd,retryThrottledRequestMaxTimes:_0x264e9b=_0x326563,retryNetworkErrorMaxTimes:_0x48840a=_0xa02f36,metadata:_0x148914}){return _0x154658(()=>_0x4cce7d({'method':'POST','url':_0x14dd48(_0x503ba4,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x2251c1({'publicKey':_0x4af9df,'integration':_0x3b273d,'userAgent':_0x9b0ebd})},'data':_0x471d98({'file':{'data':_0x177f6f,'name':_0x4d341b||_0x387027(_0x177f6f),'contentType':_0x43ac2c||_0x4f3ffe(_0x177f6f)},'UPLOADCARE_PUB_KEY':_0x4af9df,'UPLOADCARE_STORE':_0x478573(_0xbe15bf),'signature':_0x3f038d,'expire':_0x5be7e4,'source':_0x595f5d,'metadata':_0x148914}),'signal':_0x266b4b,'onProgress':_0x19925f})['then'](({data:_0x1bd5b0,headers:_0x3cfa6c,request:_0xdf06ff})=>{const _0x3a0e21=tP(JSON['parse'](_0x1bd5b0));if('error'in _0x3a0e21)throw new _0x2b86de(_0x3a0e21['error']['content'],_0x3a0e21['error']['errorCode'],_0xdf06ff,_0x3a0e21,_0x3cfa6c);return _0x3a0e21;}),{'retryNetworkErrorMaxTimes':_0x48840a,'retryThrottledRequestMaxTimes':_0x264e9b});}(_0x279017,{'publicKey':_0x3860ba,'fileName':_0x45492c,'contentType':_0x41b62a,'baseURL':_0x1b811d,'secureSignature':_0x176dd0,'secureExpire':_0x37258b,'store':_0x506702,'signal':_0x281508,'onProgress':_0x4ea667,'source':_0x1a0226,'integration':_0x3a8c9f,'userAgent':_0x461cc2,'retryThrottledRequestMaxTimes':_0x3f8121,'retryNetworkErrorMaxTimes':_0x49a2dc,'metadata':_0x3e2a9f})['then'](({file:_0x5e8937})=>_0x13cd17(_0x5e8937,{'publicKey':_0x3860ba,'baseURL':_0x1b811d,'source':_0x1a0226,'integration':_0x3a8c9f,'userAgent':_0x461cc2,'retryThrottledRequestMaxTimes':_0x3f8121,'retryNetworkErrorMaxTimes':_0x49a2dc,'onProgress':_0x4ea667,'signal':_0x281508}))['then'](_0x570e21=>new _0x516594(_0x570e21,{'baseCDN':_0x123ab9})),_0x2833e4=(_0x251eb6,{signal:_0x248a6c}={})=>{let _0x361f5a=null,_0x572f19=null;const _0x23e04a=_0x251eb6['map'](()=>new AbortController());return _0x508b23(_0x248a6c,()=>{_0x23e04a['forEach'](_0x2776db=>_0x2776db['abort']());}),Promise['all'](_0x251eb6['map']((_0x2fff67,_0x3d7613)=>{const _0x4c15d1=(_0x98c5d7=>()=>{_0x572f19=_0x98c5d7,_0x23e04a['forEach']((_0x509421,_0x2163a0)=>_0x2163a0!==_0x98c5d7&&_0x509421['abort']());})(_0x3d7613);return Promise['resolve']()['then'](()=>_0x2fff67({'stopRace':_0x4c15d1,'signal':_0x23e04a[_0x3d7613]['signal']}))['then'](_0xa15660=>(_0x4c15d1(),_0xa15660))['catch'](_0x5509c5=>(_0x361f5a=_0x5509c5,null));}))['then'](_0xc05dd2=>{if(null===_0x572f19)throw _0x361f5a;return _0xc05dd2[_0x572f19];});};var _0x4a0be4=window['WebSocket'];class Events{['events']=Object['create']({});['emit'](_0x2f511b,_0x53651d){this['events'][_0x2f511b]?.['forEach'](_0x58a057=>_0x58a057(_0x53651d));}['on'](_0x35f24,_0x345cfe){this['events'][_0x35f24]=this['events'][_0x35f24]||[],this['events'][_0x35f24]['push'](_0x345cfe);}['off'](_0x4b27bc,_0x3af4fa){this['events'][_0x4b27bc]=_0x3af4fa?this['events'][_0x4b27bc]['filter'](_0x58ae75=>_0x58ae75!==_0x3af4fa):[];}}class _0x3be5a2{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events();['disconnectTimeoutId']=null;constructor(_0x4654f6,_0x4e75e8=0x7530){this['key']=_0x4654f6,this['disconnectTime']=_0x4e75e8;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x6b6a30='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new _0x4a0be4(_0x6b6a30),this['ws']['addEventListener']('error',_0x2b4c1c=>{this['emmitter']['emit']('error',new Error(_0x2b4c1c['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x3f45fe=>this['send'](_0x3f45fe['event'],_0x3f45fe['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x275cb1=>{const _0x5d8cb5=JSON['parse'](_0x275cb1['data']['toString']());switch(_0x5d8cb5['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'](_0x5d8cb5['channel'],((_0x3be7c8,_0x4833c3)=>'success'===_0x3be7c8?{'status':_0x2e32e9['Success'],..._0x4833c3}:'progress'===_0x3be7c8?{'status':_0x2e32e9['Progress'],..._0x4833c3}:{'status':_0x2e32e9['Error'],..._0x4833c3})(_0x5d8cb5['event'],JSON['parse'](_0x5d8cb5['data'])));}});}}['disconnect'](){const _0x2f7828=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x2f7828();},this['disconnectTime']):_0x2f7828();}['send'](_0xa16c03,_0x2aadf1){const _0x2942e1=JSON['stringify']({'event':_0xa16c03,'data':_0x2aadf1});this['ws']?.['send'](_0x2942e1);}['subscribe'](_0x2ee105,_0x5a7855){this['subscribers']+=0x1,this['connect']();const _0x1bdc33='task-status-'+_0x2ee105,_0x1b8862={'event':'pusher:subscribe','data':{'channel':_0x1bdc33}};this['emmitter']['on'](_0x1bdc33,_0x5a7855),this['isConnected']?this['send'](_0x1b8862['event'],_0x1b8862['data']):this['queue']['push'](_0x1b8862);}['unsubscribe'](_0x1aa04e){this['subscribers']-=0x1;const _0x4da4a1='task-status-'+_0x1aa04e,_0x343ce9={'event':'pusher:unsubscribe','data':{'channel':_0x4da4a1}};this['emmitter']['off'](_0x4da4a1),this['isConnected']?this['send'](_0x343ce9['event'],_0x343ce9['data']):this['queue']=this['queue']['filter'](_0x4afdde=>_0x4afdde['data']['channel']!==_0x4da4a1),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x3671b3){return this['emmitter']['on']('error',_0x3671b3),()=>this['emmitter']['off']('error',_0x3671b3);}}let _0x3a9ef6=null;const _0x12d77b=_0x4f4f3=>{if(!_0x3a9ef6){const _0x215528='undefined'==typeof window?0x0:0x7530;_0x3a9ef6=new _0x3be5a2(_0x4f4f3,_0x215528);}return _0x3a9ef6;},_0x2d1a13=(_0x285e36,{publicKey:_0x4c837d,fileName:_0x8b457c,baseURL:_0x7d4941,baseCDN:_0x3bcf6a,checkForUrlDuplicates:_0x4afcad,saveUrlForRecurrentUploads:_0x36533,secureSignature:_0x580cd7,secureExpire:_0x47b1b9,store:_0x2fc3f0,signal:_0x787842,onProgress:_0x576492,source:_0x531354,integration:_0x4a2162,userAgent:_0x46c435,retryThrottledRequestMaxTimes:_0x2fc4de,pusherKey:_0x1bff84=_0xe335f4,metadata:_0x49ddd0})=>{return Promise['resolve']((_0xff84e9=_0x1bff84,void _0x12d77b(_0xff84e9)['connect']()))['then'](()=>function(_0x306300,{publicKey:_0x449027,baseURL:_0x1a6a2a=_0x4cf227,store:_0x3eb960,fileName:_0x3e454b,checkForUrlDuplicates:_0x879773,saveUrlForRecurrentUploads:_0x215dde,secureSignature:_0x50bc83,secureExpire:_0x3509c5,source:_0x1d03da='url',signal:_0x6d7596,integration:_0xfc83dd,userAgent:_0x41673b,retryThrottledRequestMaxTimes:_0x43d2b6=_0x326563,retryNetworkErrorMaxTimes:_0x57daf5=_0xa02f36,metadata:_0x50e7e4}){return _0x154658(()=>_0x4cce7d({'method':'POST','headers':{'X-UC-User-Agent':_0x2251c1({'publicKey':_0x449027,'integration':_0xfc83dd,'userAgent':_0x41673b})},'url':_0x14dd48(_0x1a6a2a,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x449027,'source_url':_0x306300,'store':_0x478573(_0x3eb960),'filename':_0x3e454b,'check_URL_duplicates':_0x879773?0x1:void 0x0,'save_URL_duplicates':_0x215dde?0x1:void 0x0,'signature':_0x50bc83,'expire':_0x3509c5,'source':_0x1d03da,'metadata':_0x50e7e4}),'signal':_0x6d7596})['then'](({data:_0x46cdd,headers:_0x9f55c3,request:_0x498651})=>{const _0xe5ae1a=tP(JSON['parse'](_0x46cdd));if('error'in _0xe5ae1a)throw new _0x2b86de(_0xe5ae1a['error']['content'],_0xe5ae1a['error']['errorCode'],_0x498651,_0xe5ae1a,_0x9f55c3);return _0xe5ae1a;}),{'retryNetworkErrorMaxTimes':_0x57daf5,'retryThrottledRequestMaxTimes':_0x43d2b6});}(_0x285e36,{'publicKey':_0x4c837d,'fileName':_0x8b457c,'baseURL':_0x7d4941,'checkForUrlDuplicates':_0x4afcad,'saveUrlForRecurrentUploads':_0x36533,'secureSignature':_0x580cd7,'secureExpire':_0x47b1b9,'store':_0x2fc3f0,'signal':_0x787842,'source':_0x531354,'integration':_0x4a2162,'userAgent':_0x46c435,'retryThrottledRequestMaxTimes':_0x2fc4de,'metadata':_0x49ddd0}))['catch'](_0x1d6b4e=>{const _0xe9d5da=_0x12d77b(_0x1bff84);return _0xe9d5da?.['disconnect'](),Promise['reject'](_0x1d6b4e);})['then'](_0x3dcbd7=>_0x3dcbd7['type']===_0x12cb32['FileInfo']?_0x3dcbd7:_0x2833e4([({signal:_0x1dc4c5})=>function({token:_0x2fa82c,publicKey:_0x24ab86,baseURL:_0x3e7cac,integration:_0x3f340f,userAgent:_0x5b6322,retryThrottledRequestMaxTimes:_0x382033,retryNetworkErrorMaxTimes:_0x549149,onProgress:_0x32657a,signal:_0x552c68}){return _0x18649d({'check':_0x3c93f=>_0x3ea92e(_0x2fa82c,{'publicKey':_0x24ab86,'baseURL':_0x3e7cac,'integration':_0x3f340f,'userAgent':_0x5b6322,'retryThrottledRequestMaxTimes':_0x382033,'retryNetworkErrorMaxTimes':_0x549149,'signal':_0x3c93f})['then'](_0x519142=>{switch(_0x519142['status']){case _0x2e32e9['Error']:return new _0x2b86de(_0x519142['error'],_0x519142['errorCode']);case _0x2e32e9['Waiting']:return!0x1;case _0x2e32e9['Unknown']:return new _0x2b86de('Token\x20\x22'+_0x2fa82c+'\x22\x20was\x20not\x20found.');case _0x2e32e9['Progress']:return _0x32657a&&('unknown'===_0x519142['total']?_0x32657a({'isComputable':!0x1}):_0x32657a({'isComputable':!0x0,'value':_0x519142['done']/_0x519142['total']})),!0x1;case _0x2e32e9['Success']:return _0x32657a&&_0x32657a({'isComputable':!0x0,'value':_0x519142['done']/_0x519142['total']}),_0x519142;default:throw new Error('Unknown\x20status');}}),'signal':_0x552c68});}({'token':_0x3dcbd7['token'],'publicKey':_0x4c837d,'baseURL':_0x7d4941,'integration':_0x4a2162,'userAgent':_0x46c435,'retryThrottledRequestMaxTimes':_0x2fc4de,'onProgress':_0x576492,'signal':_0x1dc4c5}),({signal:_0x4cd60a})=>(({token:_0x12b074,pusherKey:_0xa52543,signal:_0x229300,onProgress:_0x2ae7dd})=>new Promise((_0x61e1ab,_0x1b59bd)=>{const _0x1a89cb=_0x12d77b(_0xa52543),_0x1e79c6=_0x1a89cb['onError'](_0x1b59bd),_0x4b8fa1=()=>{_0x1e79c6(),_0x1a89cb['unsubscribe'](_0x12b074);};_0x508b23(_0x229300,()=>{_0x4b8fa1(),_0x1b59bd(new _0x1a29af('pusher\x20cancelled'));}),_0x1a89cb['subscribe'](_0x12b074,_0x3d1bd7=>{switch(_0x3d1bd7['status']){case _0x2e32e9['Progress']:_0x2ae7dd&&('unknown'===_0x3d1bd7['total']?_0x2ae7dd({'isComputable':!0x1}):_0x2ae7dd({'isComputable':!0x0,'value':_0x3d1bd7['done']/_0x3d1bd7['total']}));break;case _0x2e32e9['Success']:_0x4b8fa1(),_0x2ae7dd&&_0x2ae7dd({'isComputable':!0x0,'value':_0x3d1bd7['done']/_0x3d1bd7['total']}),_0x61e1ab(_0x3d1bd7);break;case _0x2e32e9['Error']:_0x4b8fa1(),_0x1b59bd(new _0x2b86de(_0x3d1bd7['msg'],_0x3d1bd7['error_code']));}});}))({'token':_0x3dcbd7['token'],'pusherKey':_0x1bff84,'signal':_0x4cd60a,'onProgress':_0x576492})],{'signal':_0x787842}))['then'](_0x4a4ea8=>{if(_0x4a4ea8 instanceof _0x2b86de)throw _0x4a4ea8;return _0x4a4ea8;})['then'](_0xbfba6b=>_0x13cd17(_0xbfba6b['uuid'],{'publicKey':_0x4c837d,'baseURL':_0x7d4941,'integration':_0x4a2162,'userAgent':_0x46c435,'retryThrottledRequestMaxTimes':_0x2fc4de,'onProgress':_0x576492,'signal':_0x787842}))['then'](_0x9f6ed=>new _0x516594(_0x9f6ed,{'baseCDN':_0x3bcf6a}));var _0xff84e9;},_0x1d190a=new WeakMap(),_0x19c4be=async _0x1519de=>{if(_0x177090(_0x1519de)||_0x22b61c(_0x1519de))return _0x1519de['size'];if(_0x58493c(_0x1519de))return(await(async _0x326b79=>{if(_0x1d190a['has'](_0x326b79))return _0x1d190a['get'](_0x326b79);const _0x4699a7=await fetch(_0x326b79['uri'])['then'](_0x1f1e91=>_0x1f1e91['blob']());return _0x1d190a['set'](_0x326b79,_0x4699a7),_0x4699a7;})(_0x1519de))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},_0x5ab93a=async(_0x12d534,_0x344c1f,_0x1cdb12)=>_0xc1825c=>((_0x491320,_0x3ec2f2,_0x11a338,_0x2faea4)=>{const _0x3892c5=_0x2faea4*_0x3ec2f2,_0xec3aa6=Math['min'](_0x3892c5+_0x2faea4,_0x11a338);return _0x491320['slice'](_0x3892c5,_0xec3aa6);})(_0x12d534,_0xc1825c,_0x344c1f,_0x1cdb12),_0x443080=(_0x2b2d04,_0x3c4a70,{publicKey:_0xda4f3e,contentType:_0x18f0fa,onProgress:_0x3d1643,signal:_0x576683,integration:_0x4eeca8,retryThrottledRequestMaxTimes:_0x386db6,retryNetworkErrorMaxTimes:_0x41cd6c})=>function(_0x30a919,_0x5b24cf,{contentType:_0x3c34e3,signal:_0x37beb5,onProgress:_0x33eba2,retryThrottledRequestMaxTimes:_0x344bb9=_0x326563,retryNetworkErrorMaxTimes:_0x2c3023=_0xa02f36}){return _0x154658(()=>_0x4cce7d({'method':'PUT','url':_0x5b24cf,'data':_0x30a919,'onProgress':_0x33eba2,'signal':_0x37beb5,'headers':{'Content-Type':_0x3c34e3||_0xc74187}})['then'](_0x9423a1=>(_0x33eba2&&_0x33eba2({'isComputable':!0x0,'value':0x1}),_0x9423a1))['then'](({status:_0x9932e7})=>({'code':_0x9932e7})),{'retryThrottledRequestMaxTimes':_0x344bb9,'retryNetworkErrorMaxTimes':_0x2c3023});}(_0x2b2d04,_0x3c4a70,{'contentType':_0x18f0fa,'onProgress':_0x3d1643,'signal':_0x576683,'retryThrottledRequestMaxTimes':_0x386db6,'retryNetworkErrorMaxTimes':_0x41cd6c}),_0x4e5e37=async(_0x598977,{publicKey:_0xbcc223,fileName:_0x15ccf7,fileSize:_0xe1c0e6,baseURL:_0x327c39,secureSignature:_0x43cc37,secureExpire:_0x5b1a6a,store:_0x29a2e6,signal:_0x6018ac,onProgress:_0x200ed8,source:_0x1c844b,integration:_0xc2c3cf,userAgent:_0x21e8a1,retryThrottledRequestMaxTimes:_0x45f1,retryNetworkErrorMaxTimes:_0x1ddb1d,contentType:_0x308c8c,multipartChunkSize:_0x4a6e17=_0x2f23da,maxConcurrentRequests:_0x568806=_0x11453b,baseCDN:_0xec1816,metadata:_0x53135c})=>{const _0x226388=_0xe1c0e6??await _0x19c4be(_0x598977);let _0x2a1927;const _0xe13dd4=(_0x9949f4,_0x218b70)=>{if(!_0x200ed8)return;_0x2a1927||(_0x2a1927=Array(_0x9949f4)['fill'](0x0));const _0x58a96e=_0x16a65d=>_0x16a65d['reduce']((_0x4d81be,_0x370769)=>_0x4d81be+_0x370769,0x0);return _0x5e81a6=>{_0x5e81a6['isComputable']&&(_0x2a1927[_0x218b70]=_0x5e81a6['value'],_0x200ed8({'isComputable':!0x0,'value':_0x58a96e(_0x2a1927)/_0x9949f4}));};};return _0x308c8c||=_0x4f3ffe(_0x598977),function(_0x154134,{publicKey:_0x55c4c6,contentType:_0xf173d3,fileName:_0x3f5ff9,multipartChunkSize:_0x14bdfc=_0x2f23da,baseURL:_0xd4f7bd='',secureSignature:_0x937bb7,secureExpire:_0xcebe1c,store:_0x2512b7,signal:_0x54694d,source:_0x4d0a67='local',integration:_0x3f8880,userAgent:_0x54728c,retryThrottledRequestMaxTimes:_0x573904=_0x326563,retryNetworkErrorMaxTimes:_0x396ab1=_0xa02f36,metadata:_0x33bed0}){return _0x154658(()=>_0x4cce7d({'method':'POST','url':_0x14dd48(_0xd4f7bd,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x2251c1({'publicKey':_0x55c4c6,'integration':_0x3f8880,'userAgent':_0x54728c})},'data':_0x471d98({'filename':_0x3f5ff9,'size':_0x154134,'content_type':_0xf173d3||_0xc74187,'part_size':_0x14bdfc,'UPLOADCARE_STORE':_0x478573(_0x2512b7),'UPLOADCARE_PUB_KEY':_0x55c4c6,'signature':_0x937bb7,'expire':_0xcebe1c,'source':_0x4d0a67,'metadata':_0x33bed0}),'signal':_0x54694d})['then'](({data:_0x4665bd,headers:_0x283f39,request:_0x2c56ea})=>{const _0x2171c7=tP(JSON['parse'](_0x4665bd));if('error'in _0x2171c7)throw new _0x2b86de(_0x2171c7['error']['content'],_0x2171c7['error']['errorCode'],_0x2c56ea,_0x2171c7,_0x283f39);return _0x2171c7['parts']=Object['keys'](_0x2171c7['parts'])['map'](_0x2ab3b9=>_0x2171c7['parts'][Number(_0x2ab3b9)]),_0x2171c7;}),{'retryThrottledRequestMaxTimes':_0x573904,'retryNetworkErrorMaxTimes':_0x396ab1});}(_0x226388,{'publicKey':_0xbcc223,'contentType':_0x308c8c,'fileName':_0x15ccf7||_0x387027(_0x598977),'baseURL':_0x327c39,'secureSignature':_0x43cc37,'secureExpire':_0x5b1a6a,'store':_0x29a2e6,'signal':_0x6018ac,'source':_0x1c844b,'integration':_0xc2c3cf,'userAgent':_0x21e8a1,'retryThrottledRequestMaxTimes':_0x45f1,'retryNetworkErrorMaxTimes':_0x1ddb1d,'metadata':_0x53135c,'multipartChunkSize':_0x4a6e17})['then'](async({uuid:_0xbaab93,parts:_0x1a3169})=>{const _0x1c1abc=await _0x5ab93a(_0x598977,_0x226388,_0x4a6e17);return Promise['all']([_0xbaab93,(_0x4a62ae=_0x568806,_0x5d1694=_0x1a3169['map']((_0x5bef7c,_0xe97a59)=>()=>_0x443080(_0x1c1abc(_0xe97a59),_0x5bef7c,{'publicKey':_0xbcc223,'contentType':_0x308c8c,'onProgress':_0xe13dd4(_0x1a3169['length'],_0xe97a59),'signal':_0x6018ac,'integration':_0xc2c3cf,'retryThrottledRequestMaxTimes':_0x45f1,'retryNetworkErrorMaxTimes':_0x1ddb1d})),new Promise((_0x284edc,_0x2f232c)=>{const _0x53c0ba=[];let _0x31bb26=!0x1,_0x1acfa6=_0x5d1694['length'];const _0x5968e1=[..._0x5d1694],_0x2c1b7c=()=>{const _0x48c2ae=_0x5d1694['length']-_0x5968e1['length'],_0x1a1346=_0x5968e1['shift']();_0x1a1346&&_0x1a1346()['then'](_0xfed21=>{_0x31bb26||(_0x53c0ba[_0x48c2ae]=_0xfed21,_0x1acfa6-=0x1,_0x1acfa6?_0x2c1b7c():_0x284edc(_0x53c0ba));})['catch'](_0x455a9c=>{_0x31bb26=!0x0,_0x2f232c(_0x455a9c);});};for(let _0x558718=0x0;_0x558718<_0x4a62ae;_0x558718++)_0x2c1b7c();}))]);var _0x4a62ae,_0x5d1694;})['then'](([_0x5e4613])=>function(_0x44b6b2,{publicKey:_0x146788,baseURL:_0x123ce8=_0x4cf227,source:_0x37732c='local',signal:_0x38ed8b,integration:_0xef2af3,userAgent:_0xc9b918,retryThrottledRequestMaxTimes:_0x4303e5=_0x326563,retryNetworkErrorMaxTimes:_0x116c97=_0xa02f36}){return _0x154658(()=>_0x4cce7d({'method':'POST','url':_0x14dd48(_0x123ce8,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x2251c1({'publicKey':_0x146788,'integration':_0xef2af3,'userAgent':_0xc9b918})},'data':_0x471d98({'uuid':_0x44b6b2,'UPLOADCARE_PUB_KEY':_0x146788,'source':_0x37732c}),'signal':_0x38ed8b})['then'](({data:_0x469ea4,headers:_0x5790b2,request:_0x288c09})=>{const _0x242b7e=tP(JSON['parse'](_0x469ea4));if('error'in _0x242b7e)throw new _0x2b86de(_0x242b7e['error']['content'],_0x242b7e['error']['errorCode'],_0x288c09,_0x242b7e,_0x5790b2);return _0x242b7e;}),{'retryThrottledRequestMaxTimes':_0x4303e5,'retryNetworkErrorMaxTimes':_0x116c97});}(_0x5e4613,{'publicKey':_0xbcc223,'baseURL':_0x327c39,'source':_0x1c844b,'integration':_0xc2c3cf,'userAgent':_0x21e8a1,'retryThrottledRequestMaxTimes':_0x45f1,'retryNetworkErrorMaxTimes':_0x1ddb1d}))['then'](_0x18d484=>_0x18d484['isReady']?_0x18d484:_0x13cd17(_0x18d484['uuid'],{'publicKey':_0xbcc223,'baseURL':_0x327c39,'source':_0x1c844b,'integration':_0xc2c3cf,'userAgent':_0x21e8a1,'retryThrottledRequestMaxTimes':_0x45f1,'retryNetworkErrorMaxTimes':_0x1ddb1d,'onProgress':_0x200ed8,'signal':_0x6018ac}))['then'](_0x7f7328=>new _0x516594(_0x7f7328,{'baseCDN':_0xec1816}));};async function _0x28583c(_0x1a0d43,{publicKey:_0x212ca3,fileName:_0x19503b,baseURL:_0x4ae3e4=_0x4cf227,secureSignature:_0x154dc1,secureExpire:_0x8fa6c9,store:_0x37c9dc,signal:_0x26544a,onProgress:_0x54d453,source:_0x536ed3,integration:_0x408086,userAgent:_0x564184,retryThrottledRequestMaxTimes:_0x54a481,retryNetworkErrorMaxTimes:_0x41d864,contentType:_0x17b23c,multipartMinFileSize:_0x2f5cf9,multipartChunkSize:_0x42569a,maxConcurrentRequests:_0x286b5e,baseCDN:_0x46851c=_0x6a8c0d,checkForUrlDuplicates:_0x3bb345,saveUrlForRecurrentUploads:_0x50d6cf,pusherKey:_0x249816,metadata:_0x57d458}){if(_0x1fb0fd(_0x1a0d43)){const _0x3b0ef6=await _0x19c4be(_0x1a0d43);return((_0x52e127,_0xaba0bd=_0x40be9b)=>_0x52e127>=_0xaba0bd)(_0x3b0ef6,_0x2f5cf9)?_0x4e5e37(_0x1a0d43,{'publicKey':_0x212ca3,'contentType':_0x17b23c,'multipartChunkSize':_0x42569a,'fileSize':_0x3b0ef6,'fileName':_0x19503b,'baseURL':_0x4ae3e4,'secureSignature':_0x154dc1,'secureExpire':_0x8fa6c9,'store':_0x37c9dc,'signal':_0x26544a,'onProgress':_0x54d453,'source':_0x536ed3,'integration':_0x408086,'userAgent':_0x564184,'maxConcurrentRequests':_0x286b5e,'retryThrottledRequestMaxTimes':_0x54a481,'retryNetworkErrorMaxTimes':_0x41d864,'baseCDN':_0x46851c,'metadata':_0x57d458}):_0x3700d6(_0x1a0d43,{'publicKey':_0x212ca3,'fileName':_0x19503b,'contentType':_0x17b23c,'baseURL':_0x4ae3e4,'secureSignature':_0x154dc1,'secureExpire':_0x8fa6c9,'store':_0x37c9dc,'signal':_0x26544a,'onProgress':_0x54d453,'source':_0x536ed3,'integration':_0x408086,'userAgent':_0x564184,'retryThrottledRequestMaxTimes':_0x54a481,'retryNetworkErrorMaxTimes':_0x41d864,'baseCDN':_0x46851c,'metadata':_0x57d458});}if((_0x1aadd1=>{const _0xcd010a=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!_0x1fb0fd(_0x1aadd1)&&_0xcd010a['test'](_0x1aadd1);})(_0x1a0d43))return _0x2d1a13(_0x1a0d43,{'publicKey':_0x212ca3,'fileName':_0x19503b,'baseURL':_0x4ae3e4,'baseCDN':_0x46851c,'checkForUrlDuplicates':_0x3bb345,'saveUrlForRecurrentUploads':_0x50d6cf,'secureSignature':_0x154dc1,'secureExpire':_0x8fa6c9,'store':_0x37c9dc,'signal':_0x26544a,'onProgress':_0x54d453,'source':_0x536ed3,'integration':_0x408086,'userAgent':_0x564184,'retryThrottledRequestMaxTimes':_0x54a481,'pusherKey':_0x249816,'metadata':_0x57d458});if((_0x1d306b=>{const _0x4f06fb=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!_0x1fb0fd(_0x1d306b)&&_0x4f06fb['test'](_0x1d306b);})(_0x1a0d43))return((_0x5e00a2,{publicKey:_0x5590d1,fileName:_0x4753dc,baseURL:_0x1c3153,signal:_0x3ca321,onProgress:_0x46c209,source:_0x12de73,integration:_0x9444e4,userAgent:_0x5a9531,retryThrottledRequestMaxTimes:_0x4bd187,retryNetworkErrorMaxTimes:_0x162038,baseCDN:_0x3df863})=>_0x104ebb(_0x5e00a2,{'publicKey':_0x5590d1,'baseURL':_0x1c3153,'signal':_0x3ca321,'source':_0x12de73,'integration':_0x9444e4,'userAgent':_0x5a9531,'retryThrottledRequestMaxTimes':_0x4bd187,'retryNetworkErrorMaxTimes':_0x162038})['then'](_0x2fbca0=>new _0x516594(_0x2fbca0,{'baseCDN':_0x3df863,'fileName':_0x4753dc}))['then'](_0x19d940=>(_0x46c209&&_0x46c209({'isComputable':!0x0,'value':0x1}),_0x19d940)))(_0x1a0d43,{'publicKey':_0x212ca3,'fileName':_0x19503b,'baseURL':_0x4ae3e4,'signal':_0x26544a,'onProgress':_0x54d453,'source':_0x536ed3,'integration':_0x408086,'userAgent':_0x564184,'retryThrottledRequestMaxTimes':_0x54a481,'retryNetworkErrorMaxTimes':_0x41d864,'baseCDN':_0x46851c});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x1a0d43+'\x22\x20is\x20not\x20supported');}class UploadUtils{static['upload']({file:_0x565d50,..._0x125683}){return _0x28583c(_0x565d50,_0x125683);}static['getInfo'](_0x1e1c7e,_0x34ceb9){return _0x104ebb(_0x1e1c7e,_0x34ceb9);}}class UploadcareUploadAdapter extends _0x5f37cd['Plugin']{static get['requires'](){return[_0x5f37cd['ImageUploadEditing'],_0x5f37cd['ImageUploadProgress'],_0x5f37cd['FileRepository'],UploadcareEditing];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x6dcbbc=this['editor'];if(!!!_0x6dcbbc['config']['get']('uploadcare'))return;_0x6dcbbc['plugins']['get'](_0x5f37cd['FileRepository'])['createUploadAdapter']=_0x5da316=>new Adapter(_0x5da316,_0x6dcbbc),_0x6dcbbc['plugins']['get'](_0x5f37cd['ImageUploadEditing'])['on']('uploadComplete',(_0x106a5a,{imageElement:_0x2db1eb,data:_0x22e639})=>{_0x6dcbbc['model']['change'](_0x589b76=>{_0x589b76['setAttribute']('uploadcareImageId',_0x22e639['uploadcareImageId'],_0x2db1eb);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x4ba2fe,_0x2cc06f){this['loader']=_0x4ba2fe,this['editor']=_0x2cc06f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x2c2237=await this['loader']['file'];return UploadUtils['upload']({'file':_0x2c2237,'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':_0x3f2c15=>{_0x3f2c15&&_0x3f2c15['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3f2c15['value']);}})['then'](async _0x2f691c=>{const {imageFallbackUrl:_0x2176fa,imageSources:_0x14b82f}=_0xc0b56a(_0x2f691c['cdnUrl'],_0x2f691c['imageInfo']['width']);return{'uploadcareImageId':_0x2f691c['uuid'],'default':_0x2176fa,'sources':_0x14b82f};})['catch'](()=>{const _0x37d6ba=t('Cannot\x20upload\x20file:')+('\x20'+_0x2c2237['name']+'.');return Promise['reject'](_0x37d6ba);});}['abort'](){this['controller']['abort']();}}class UploadcareEditing extends _0x5f37cd['Plugin']{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return[_0x5f37cd['PictureEditing'],UploadcareUploadAdapter,_0x5f37cd['Dialog']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x952b7c){super(_0x952b7c),this['ucContextId']=_0x5f37cd['uid']();}['init'](){const _0x54bc2e=this['editor'];_0x54bc2e['commands']['add']('uploadcare',new _0x2aec1f(_0x54bc2e));}['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 _0x4920b6=_0x5f37cd['global']['document']['querySelector']('input[uploadcare-file-input]');_0x4920b6&&_0x4920b6['remove']();}),async function(_0x2e4c3d){const _0x3cab61=_0x471ab1([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]),_0x2b65c7=0x535f8c3a,_0x34facc=0x535807ea^_0x2b65c7,_0x785ffc=window[_0x471ab1([0x44,0x61,0x74,0x65])][_0x471ab1([0x6e,0x6f,0x77])](),_0x4cb08e=_0x2e4c3d[_0x471ab1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x45247a=new window[(_0x471ab1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x467087=>{_0x4cb08e[_0x471ab1([0x6f,0x6e,0x63,0x65])](_0x471ab1([0x72,0x65,0x61,0x64,0x79]),_0x467087);}),_0x1bf2f3={[_0x471ab1([0x6b,0x74,0x79])]:_0x471ab1([0x45,0x43]),[_0x471ab1([0x75,0x73,0x65])]:_0x471ab1([0x73,0x69,0x67]),[_0x471ab1([0x63,0x72,0x76])]:_0x471ab1([0x50,0x2d,0x32,0x35,0x36]),[_0x471ab1([0x78])]:_0x471ab1([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]),[_0x471ab1([0x79])]:_0x471ab1([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]),[_0x471ab1([0x61,0x6c,0x67])]:_0x471ab1([0x45,0x53,0x32,0x35,0x36])},_0xee3500=_0x4cb08e[_0x471ab1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x471ab1([0x67,0x65,0x74])](_0x471ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x179137(){let _0x523519,_0x3d7349=null,_0x1833bc=null;try{if(_0xee3500==_0x471ab1([0x47,0x50,0x4c]))return _0x471ab1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x523519=_0x1685c0(),!_0x523519)return _0x471ab1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x523519[_0x471ab1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1833bc=_0x5038b5(_0x523519[_0x471ab1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x523519[_0x471ab1([0x6a,0x74,0x69])])),await _0x3136a4()?_0x278049()?_0xd522d9()?_0x471ab1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4ed4f9()?(_0x523519[_0x471ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x471ab1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d7349=_0x1c369c(_0x471ab1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xf5c4cf()):_0x471ab1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x471ab1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x471ab1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x471ab1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xd522d9(){const _0x59481d=[_0x471ab1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x471ab1([0x74,0x72,0x69,0x61,0x6c])][_0x471ab1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x523519[_0x471ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x785ffc/0x3e8:0xe10*_0x34facc;return _0x523519[_0x471ab1([0x65,0x78,0x70])]<_0x59481d;}function _0x278049(){const _0x3849cd=_0x523519[_0x471ab1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3849cd&&(!!_0x3849cd[_0x471ab1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x471ab1([0x2a]))||!!_0x3849cd[_0x471ab1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x471ab1([0x55,0x50,0x4c,0x43])));}function _0x4ed4f9(){const _0x2a1f17=_0x523519[_0x471ab1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a1f17||0x0==_0x2a1f17[_0x471ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x33ca7a}=new URL(window[_0x471ab1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2a1f17[_0x471ab1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33ca7a))return!0x0;const _0x50ab95=_0x33ca7a[_0x471ab1([0x73,0x70,0x6c,0x69,0x74])](_0x471ab1([0x2e]));return _0x2a1f17[_0x471ab1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3851f7=>_0x3851f7[_0x471ab1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x471ab1([0x2a])))[_0x471ab1([0x6d,0x61,0x70])](_0x21ffcd=>_0x21ffcd[_0x471ab1([0x73,0x70,0x6c,0x69,0x74])](_0x471ab1([0x2e])))[_0x471ab1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f1b83=>_0x4f1b83[_0x471ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x50ab95[_0x471ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x471ab1([0x6d,0x61,0x70])](_0xcb642c=>Array(_0x50ab95[_0x471ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xcb642c[_0x471ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x471ab1([0x66,0x69,0x6c,0x6c])](_0xcb642c[0x0]===_0x471ab1([0x2a])?_0x471ab1([0x2a]):'')[_0x471ab1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xcb642c))[_0x471ab1([0x73,0x6f,0x6d,0x65])](_0xa37619=>_0x50ab95[_0x471ab1([0x65,0x76,0x65,0x72,0x79])]((_0x59f67b,_0x10c37d)=>_0xa37619[_0x10c37d]===_0x59f67b||_0xa37619[_0x10c37d]===_0x471ab1([0x2a])));}function _0xf5c4cf(){return _0x3d7349&&_0x1833bc?new window[(_0x471ab1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd1b0ca,_0x5318be)=>{_0x3d7349[_0x471ab1([0x74,0x68,0x65,0x6e])](_0xd1b0ca,_0x5318be),_0x1833bc[_0x471ab1([0x74,0x68,0x65,0x6e])](_0x15bab9=>{_0x15bab9!=_0x471ab1([0x56,0x61,0x6c,0x69,0x64])&&_0xd1b0ca(_0x15bab9);},_0x5318be);}):_0x3d7349||_0x1833bc||_0x471ab1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5038b5(_0x58559b,_0x1892d3){return new window[(_0x471ab1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ef1b2=>{if(_0x2ed8e9())return _0x5ef1b2(_0x471ab1([0x56,0x61,0x6c,0x69,0x64]));_0x231559(),_0x4cb08e[_0x471ab1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x471ab1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4fce67=!0x1;const _0x521657=_0x5f37cd['uid']();function _0x4e0bcd(_0x407d0c){return!!_0x407d0c&&(typeof _0x407d0c===_0x471ab1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x407d0c===_0x471ab1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x407d0c[_0x471ab1([0x74,0x68,0x65,0x6e])]===_0x471ab1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x407d0c[_0x471ab1([0x63,0x61,0x74,0x63,0x68])]===_0x471ab1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1334f7(_0x24b960){_0x220551(_0x24b960)[_0x471ab1([0x74,0x68,0x65,0x6e])](_0x4bd2e7=>{if(!_0x4bd2e7||_0x4bd2e7[_0x471ab1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x471ab1([0x6f,0x6b]))return _0x471ab1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x364416(_0x3b3712(_0x521657+_0x1892d3))!=_0x4bd2e7[_0x471ab1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x471ab1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x471ab1([0x56,0x61,0x6c,0x69,0x64]);})[_0x471ab1([0x74,0x68,0x65,0x6e])](_0x1267e1=>(_0x855ad5(),_0x1267e1),()=>{const _0x411df9=_0x8ef0c8();return null==_0x411df9?(_0x855ad5(),_0x471ab1([0x56,0x61,0x6c,0x69,0x64])):_0x471ab1(_0x785ffc-_0x411df9>(0x7753083a^_0x2b65c7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x471ab1([0x74,0x68,0x65,0x6e])](_0x5ef1b2)[_0x471ab1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5ef1b2(_0x471ab1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b4460=0x536962ba^_0x2b65c7;function _0x855ad5(){const _0x2d3ce7=_0x471ab1([0x6c,0x6c,0x63,0x74,0x2d])+_0x364416(_0x3b3712(_0x58559b)),_0x28871d=_0x1f68d7(_0x364416(window[_0x471ab1([0x4d,0x61,0x74,0x68])][_0x471ab1([0x63,0x65,0x69,0x6c])](_0x785ffc/_0x1b4460)));window[_0x471ab1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x471ab1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d3ce7,_0x28871d);}function _0x8ef0c8(){const _0x44b608=_0x471ab1([0x6c,0x6c,0x63,0x74,0x2d])+_0x364416(_0x3b3712(_0x58559b)),_0x590b12=window[_0x471ab1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x471ab1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x44b608);return _0x590b12?window[_0x471ab1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f68d7(_0x590b12),0x10)*_0x1b4460:null;}function _0x220551(_0x179ce1){return new window[(_0x471ab1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c8705,_0x1fd6b0)=>{_0x179ce1[_0x471ab1([0x74,0x68,0x65,0x6e])](_0x4c8705,_0x1fd6b0),window[_0x471ab1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1fd6b0,0x535e58fa^_0x2b65c7);});}}_0x4cb08e[_0x471ab1([0x6f,0x6e])](_0x471ab1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a6b82,_0x3a6596)=>{if(_0x3a6596[0x0]!=_0x58559b)return _0x5ef1b2(_0x471ab1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3a6596[0x1]={..._0x3a6596[0x1],[_0x471ab1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x521657};},{[_0x471ab1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x471ab1([0x68,0x69,0x67,0x68])}),_0x4cb08e[_0x471ab1([0x6f,0x6e])](_0x471ab1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x54ea29=>{_0x4e0bcd(_0x54ea29[_0x471ab1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4fce67=!0x0,_0x1334f7(_0x54ea29[_0x471ab1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x471ab1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x471ab1([0x6c,0x6f,0x77])}),_0x45247a[_0x471ab1([0x74,0x68,0x65,0x6e])](()=>{_0x4fce67||_0x5ef1b2(_0x471ab1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2ed8e9(){return _0x4cb08e[_0x471ab1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x471ab1([0x76,0x69,0x65,0x77])][_0x471ab1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x471ab1([0x61,0x75,0x74,0x6f]);}function _0x231559(){_0x4cb08e[_0x471ab1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x471ab1([0x76,0x69,0x65,0x77])][_0x471ab1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x471ab1([0x61,0x75,0x74,0x6f]);}}function _0x1c369c(_0x148c3a){const _0x338459=[new window[(_0x471ab1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1013bc=>setTimeout(_0x1013bc,0x5356b2f6^_0x2b65c7)),_0x45247a[_0x471ab1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x471ab1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3db03e=>{let _0x55942e=0x0;_0x4cb08e[_0x471ab1([0x6d,0x6f,0x64,0x65,0x6c])][_0x471ab1([0x6f,0x6e])](_0x471ab1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5978d6,_0x43aa9d)=>{_0x43aa9d[0x0][_0x471ab1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x55942e++,_0x55942e==(0x535f89d2^_0x2b65c7)&&(_0x3db03e(),_0x5978d6[_0x471ab1([0x6f,0x66,0x66])]());});}))];return window[_0x471ab1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x471ab1([0x72,0x61,0x63,0x65])](_0x338459)[_0x471ab1([0x74,0x68,0x65,0x6e])](()=>_0x148c3a);}async function _0x315088(){await _0x45247a,_0x4cb08e[_0x471ab1([0x6d,0x6f,0x64,0x65,0x6c])][_0x471ab1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x334038,_0x4cb08e[_0x471ab1([0x6d,0x6f,0x64,0x65,0x6c])][_0x471ab1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x334038,_0x4cb08e[_0x471ab1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x471ab1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1c52d3(_0x3f602b){const _0x43bc38=_0x98dffa();_0x4cb08e[_0x43bc38]=_0x471ab1([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f602b,_0x3f602b!=_0x471ab1([0x56,0x61,0x6c,0x69,0x64])&&_0x315088();}function _0x98dffa(){const _0x33f18f=window[_0x471ab1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x471ab1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x471ab1([0x6e,0x6f,0x77])]())[_0x471ab1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x471ab1([0x2e]),'');let _0x16ff81=_0x471ab1([0x68]);for(let _0x58b8ea=0x0;_0x58b8ea<_0x33f18f[_0x471ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58b8ea+=0x2){let _0x985d0b=window[_0x471ab1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33f18f[_0x471ab1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58b8ea,_0x58b8ea+0x2));_0x985d0b>=_0x3cab61[_0x471ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x985d0b-=_0x3cab61[_0x471ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x16ff81+=_0x3cab61[_0x985d0b];}return _0x16ff81;}function _0x1685c0(){const _0x11ee7e=_0xee3500[_0x471ab1([0x73,0x70,0x6c,0x69,0x74])](_0x471ab1([0x2e]));if(0x3!=_0x11ee7e[_0x471ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x13e7de(_0x11ee7e[0x1]);function _0x13e7de(_0x41d753){const _0x374622=_0x27f764(_0x41d753);return _0x374622&&_0x2d060f()?_0x374622:null;function _0x2d060f(){const _0x5919a6=_0x374622[_0x471ab1([0x6a,0x74,0x69])],_0x487611=window[_0x471ab1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5919a6[_0x471ab1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5919a6[_0x471ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2605f7={..._0x374622,[_0x471ab1([0x6a,0x74,0x69])]:_0x5919a6[_0x471ab1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5919a6[_0x471ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2605f7[_0x471ab1([0x76,0x63])],_0x3b3712(_0x2605f7)==_0x487611;}}}async function _0x3136a4(){let _0x34b5e9=!0x0;try{const _0x1d226f=_0xee3500[_0x471ab1([0x73,0x70,0x6c,0x69,0x74])](_0x471ab1([0x2e])),[_0x50853f,_0xe8024d,_0x57482d]=_0x1d226f;return _0x586dd5(_0x50853f),await _0x1df504(_0x50853f,_0xe8024d,_0x57482d),_0x34b5e9;}catch{return!0x1;}function _0x586dd5(_0x4a3391){const _0x3552e5=_0x27f764(_0x4a3391);_0x3552e5&&_0x3552e5[_0x471ab1([0x61,0x6c,0x67])]==_0x471ab1([0x45,0x53,0x32,0x35,0x36])||(_0x34b5e9=!0x1);}async function _0x1df504(_0x25fe07,_0x1e3c72,_0x2b71ee){const _0x5b4257=window[_0x471ab1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x471ab1([0x66,0x72,0x6f,0x6d])](_0x52ae24(_0x2b71ee),_0x58bc7e=>_0x58bc7e[_0x471ab1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x58aa18=new window[(_0x471ab1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x471ab1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x25fe07+_0x471ab1([0x2e])+_0x1e3c72),_0x196c89=window[_0x471ab1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x471ab1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x196c89)return;const _0x406bed=await _0x196c89[_0x471ab1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x471ab1([0x6a,0x77,0x6b]),_0x1bf2f3,{[_0x471ab1([0x6e,0x61,0x6d,0x65])]:_0x471ab1([0x45,0x43,0x44,0x53,0x41]),[_0x471ab1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x471ab1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x471ab1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x196c89[_0x471ab1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x471ab1([0x6e,0x61,0x6d,0x65])]:_0x471ab1([0x45,0x43,0x44,0x53,0x41]),[_0x471ab1([0x68,0x61,0x73,0x68])]:{[_0x471ab1([0x6e,0x61,0x6d,0x65])]:_0x471ab1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x406bed,_0x5b4257,_0x58aa18)||(_0x34b5e9=!0x1);}}function _0x27f764(_0x14ab73){return _0x14ab73[_0x471ab1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x471ab1([0x65,0x79]))?JSON[_0x471ab1([0x70,0x61,0x72,0x73,0x65])](_0x52ae24(_0x14ab73)):null;}function _0x52ae24(_0x47c359){return window[_0x471ab1([0x61,0x74,0x6f,0x62])](_0x47c359[_0x471ab1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x471ab1([0x2b]))[_0x471ab1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x471ab1([0x2f])));}function _0x3b3712(_0x5cea22){let _0x1b70c0=0x1505;function _0x2da2d8(_0x26c46d){for(let _0x5ba496=0x0;_0x5ba496<_0x26c46d[_0x471ab1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ba496++){const _0x31d805=_0x26c46d[_0x471ab1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5ba496);_0x1b70c0=(_0x1b70c0<<0x5)+_0x1b70c0+_0x31d805,_0x1b70c0&=_0x1b70c0;}}function _0x11419f(_0x4df412){Array[_0x471ab1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4df412)?_0x4df412[_0x471ab1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x11419f):_0x4df412&&typeof _0x4df412==_0x471ab1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x471ab1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4df412)[_0x471ab1([0x73,0x6f,0x72,0x74])]()[_0x471ab1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x40d5aa,_0x1c34a3])=>{_0x2da2d8(_0x40d5aa),_0x11419f(_0x1c34a3);}):_0x2da2d8(window[_0x471ab1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4df412));}return _0x11419f(_0x5cea22),_0x1b70c0>>>0x0;}function _0x364416(_0x21b793){return _0x21b793[_0x471ab1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x471ab1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x471ab1([0x30]));}function _0x1f68d7(_0x18bdf2){return _0x18bdf2[_0x471ab1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x471ab1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x471ab1([0x6a,0x6f,0x69,0x6e])]('');}function _0x334038(){}function _0x471ab1(_0x544ccd){return _0x544ccd['map'](_0x367a81=>String['fromCharCode'](_0x367a81))['join']('');}_0x1c52d3(await _0x179137());}(this);}['_initSchema'](){const _0x189606=this['editor']['model']['schema'];_0x189606['isRegistered']('imageBlock')&&_0x189606['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x189606['isRegistered']('imageInline')&&_0x189606['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0xa26da6=this['editor'];_0xa26da6['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0xa26da6['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x4375d1=>_0x4375d1['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2a4276=_0xa26da6['commands']['get']('replaceImageSource');_0x2a4276&&this['listenTo'](_0x2a4276,'cleanupImage',(_0x4c3fcf,[_0x28a70b,_0x4ac57d])=>{_0x28a70b['removeAttribute']('uploadcareImageId',_0x4ac57d);});}['_initConfig'](){const _0x2f3d6e=this['editor']['config']['get']('uploadcare.uploader')||{},_0x5d41f9=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x5f37cd['createElement'](_0x5f37cd['global']['document'],'uc-config',{..._0x2f3d6e,'pubkey':_0x5d41f9,'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']=_0x26e1dd=>{if('closeMax'==_0x26e1dd)return'#uc-icon-arrow-down';},_0x5f37cd['global']['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x5f37cd['createElement'](_0x5f37cd['global']['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x5f37cd['global']['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5d2178=this['editor']['commands']['get']('insertImage');_0x5d2178&&this['listenTo'](_0x5d2178,'execute',()=>{const _0x2a234e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2a234e&&_0x2a234e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{_0x11793b(this['editor'],_0x2a234e);});});const _0x3dfc04=this['editor']['commands']['get']('uploadcareImageReplace');_0x3dfc04&&this['listenTo'](_0x3dfc04,'execute',()=>{const _0x73c31e=this['editor']['model']['document']['selection']['getSelectedElement']();_0x73c31e&&_0x73c31e['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{_0x11793b(this['editor'],_0x73c31e);});});}}var _0x4696ab=Object['defineProperty'],_0x41148f=Object['getOwnPropertyDescriptor'],_0xd3c8c8=(_0x335d4e,_0x524294)=>{for(var t in _0x524294)_0x4696ab(_0x335d4e,t,{'get':_0x524294[t],'enumerable':!0x0});},_0x1a398d=(_0x301a70,_0x222027,t,_0x2d42f1)=>{for(var _0xc43a9b,_0x3e8bdd=_0x2d42f1>0x1?void 0x0:_0x2d42f1?_0x41148f(_0x222027,t):_0x222027,_0x2f501f=_0x301a70['length']-0x1;_0x2f501f>=0x0;_0x2f501f--)(_0xc43a9b=_0x301a70[_0x2f501f])&&(_0x3e8bdd=(_0x2d42f1?_0xc43a9b(_0x222027,t,_0x3e8bdd):_0xc43a9b(_0x3e8bdd))||_0x3e8bdd);return _0x2d42f1&&_0x3e8bdd&&_0x4696ab(_0x222027,t,_0x3e8bdd),_0x3e8bdd;},_0x222593=[],_0x38baee=0x0;function _0x1217db(_0x248e9c,_0x3cf571,t){let _0x5af4e3=new Set(_0x3cf571)['add'](void 0x0);return _0x248e9c['listen']((_0x20607d,_0x40f370,_0x1687b1)=>{_0x5af4e3['has'](_0x1687b1)&&t(_0x20607d,_0x40f370,_0x1687b1);});}function _0x35b3e6(_0x2dad44,_0x41db3a,t){let _0x367bc6=_0x1217db(_0x2dad44,_0x41db3a,t);return t(_0x2dad44['value']),_0x367bc6;}var _0x36ab40=(_0x3e55c7={})=>{let _0x17d427=(_0x3f151f=>{let _0x3339b3=[],t={'get':()=>(t['lc']||t['listen'](()=>{})(),t['value']),'lc':0x0,'listen':_0x12fcb2=>(t['lc']=_0x3339b3['push'](_0x12fcb2),()=>{for(let _0x46a604=_0x38baee+0x4;_0x46a604<_0x222593['length'];)_0x222593[_0x46a604]===_0x12fcb2?_0x222593['splice'](_0x46a604,0x4):_0x46a604+=0x4;let _0x4385e5=_0x3339b3['indexOf'](_0x12fcb2);~_0x4385e5&&(_0x3339b3['splice'](_0x4385e5,0x1),--t['lc']||t['off']());}),'notify'(_0x2a6d10,_0x3a8821){let _0x825f0e=!_0x222593['length'];for(let _0x12d849 of _0x3339b3)_0x222593['push'](_0x12d849,t['value'],_0x2a6d10,_0x3a8821);if(_0x825f0e){for(_0x38baee=0x0;_0x38baee<_0x222593['length'];_0x38baee+=0x4)_0x222593[_0x38baee](_0x222593[_0x38baee+0x1],_0x222593[_0x38baee+0x2],_0x222593[_0x38baee+0x3]);_0x222593['length']=0x0;}},'off'(){},'set'(_0x283e5e){let _0xfdcbf9=t['value'];_0xfdcbf9!==_0x283e5e&&(t['value']=_0x283e5e,t['notify'](_0xfdcbf9));},'subscribe'(_0x5ef91e){let _0x308744=t['listen'](_0x5ef91e);return _0x5ef91e(t['value']),_0x308744;},'value':_0x3f151f};return t;})(_0x3e55c7);return _0x17d427['setKey']=function(t,_0x5f05c6){let _0x10aa8f=_0x17d427['value'];typeof _0x5f05c6>'u'&&t in _0x17d427['value']?(_0x17d427['value']={..._0x17d427['value']},delete _0x17d427['value'][t],_0x17d427['notify'](_0x10aa8f,t)):_0x17d427['value'][t]!==_0x5f05c6&&(_0x17d427['value']={..._0x17d427['value'],[t]:_0x5f05c6},_0x17d427['notify'](_0x10aa8f,t));},_0x17d427;},tM=class _0x5aecf8{static{this['qt']=new Map();}constructor(_0x22c04b,t){this['J']=_0x22c04b,this['ae']=t;}get['id'](){return this['J'];}['pub'](_0x582463,t){_0x582463 in this['ae']['get']()||console['warn']('PubSub#pub:\x20Key\x20\x22'+String(_0x582463)+'\x22\x20not\x20found'),this['ae']['setKey'](_0x582463,t);}['sub'](_0x42a463,t,_0x1d5a35=!0x0){return(_0x1d5a35?_0x35b3e6:_0x1217db)(this['ae'],[_0x42a463],_0x94955d=>{t(_0x94955d[_0x42a463]);});}['read'](_0x45c868){return _0x45c868 in this['ae']['get']()||console['warn']('PubSub#read:\x20Key\x20\x22'+String(_0x45c868)+'\x22\x20not\x20found'),this['ae']['get']()[_0x45c868];}['add'](_0x1a3d6f,t,_0xecac3a=!0x1){(!(_0x1a3d6f in this['ae']['get']())||_0xecac3a)&&this['ae']['setKey'](_0x1a3d6f,t);}['has'](_0x4023ba){return _0x4023ba in this['ae']['get']();}get['store'](){return this['ae']['get']();}static['registerCtx'](_0x3ba3bb,t){if(_0x5aecf8['qt']['has'](t))throw new Error('PubSub:\x20Context\x20with\x20id\x20\x22'+t+'\x22\x20already\x20exists');let _0x42e544=_0x36ab40(_0x3ba3bb);return _0x5aecf8['qt']['set'](t,_0x42e544),new _0x5aecf8(t,_0x42e544);}static['deleteCtx'](_0x12ea42){_0x5aecf8['qt']['delete'](_0x12ea42);}static['getCtx'](_0x220e37){let t=_0x5aecf8['qt']['get'](_0x220e37);return t?new _0x5aecf8(_0x220e37,t):null;}static['hasCtx'](_0x17d634){return _0x5aecf8['qt']['has'](_0x17d634);}},_0x538bef=globalThis,_0x28754a=_0x538bef['ShadowRoot']&&(void 0x0===_0x538bef['ShadyCSS']||_0x538bef['ShadyCSS']['nativeShadow'])&&'adoptedStyleSheets'in Document['prototype']&&'replace'in CSSStyleSheet['prototype'],_0x50c658=Symbol(),_0x2e298b=new WeakMap(),_0x4c2124=class{constructor(_0x1e829d,t,_0x40b7f3){if(this['Cc']=!0x0,_0x40b7f3!==_0x50c658)throw Error('CSSResult\x20is\x20not\x20constructable.\x20Use\x20`unsafeCSS`\x20or\x20`css`\x20instead.');this['cssText']=_0x1e829d,this['t']=t;}get['styleSheet'](){let _0x56445d=this['o'],t=this['t'];if(_0x28754a&&void 0x0===_0x56445d){let _0x28fe86=void 0x0!==t&&0x1===t['length'];_0x28fe86&&(_0x56445d=_0x2e298b['get'](t)),void 0x0===_0x56445d&&((this['o']=_0x56445d=new CSSStyleSheet())['replaceSync'](this['cssText']),_0x28fe86&&_0x2e298b['set'](t,_0x56445d));}return _0x56445d;}['toString'](){return this['cssText'];}},_0x3e3f1f=_0x28754a?_0x45f21c=>_0x45f21c:_0x2646f9=>_0x2646f9 instanceof CSSStyleSheet?(_0x1dae70=>{let t='';for(let _0x5d0c78 of _0x1dae70['cssRules'])t+=_0x5d0c78['cssText'];return(_0x43e244=>new _0x4c2124('string'==typeof _0x43e244?_0x43e244:_0x43e244+'',void 0x0,_0x50c658))(t);})(_0x2646f9):_0x2646f9,{is:_0x463f5b,defineProperty:_0x367e7f,getOwnPropertyDescriptor:_0x508a5f,getOwnPropertyNames:_0x164c7a,getOwnPropertySymbols:_0x103c20,getPrototypeOf:_0x200f3d}=Object,_0x480ded=globalThis,_0x14db7c=_0x480ded['trustedTypes'],_0x2bf088=_0x14db7c?_0x14db7c['emptyScript']:'',_0x32f90d=_0x480ded['reactiveElementPolyfillSupport'],_0x2e0fbc=(_0xed3344,_0x1e1f37)=>_0xed3344,_0xdc788f={'toAttribute'(_0x35b258,_0x5bc343){switch(_0x5bc343){case Boolean:_0x35b258=_0x35b258?_0x2bf088:null;break;case Object:case Array:_0x35b258=null==_0x35b258?_0x35b258:JSON['stringify'](_0x35b258);}return _0x35b258;},'fromAttribute'(_0x56c805,_0x1c9fb7){let t=_0x56c805;switch(_0x1c9fb7){case Boolean:t=null!==_0x56c805;break;case Number:t=null===_0x56c805?null:Number(_0x56c805);break;case Object:case Array:try{t=JSON['parse'](_0x56c805);}catch{t=null;}}return t;}},_0x4cb288=(_0x54233a,_0x2fbf8b)=>!_0x463f5b(_0x54233a,_0x2fbf8b),_0x2b0881={'attribute':!0x0,'type':String,'converter':_0xdc788f,'reflect':!0x1,'useDefault':!0x1,'hasChanged':_0x4cb288};Symbol['metadata']??=Symbol('metadata'),_0x480ded['litPropertyMetadata']??=new WeakMap();var _0x2c0e11=class extends HTMLElement{static['addInitializer'](_0x2ff13b){this['Br'](),(this['l']??=[])['push'](_0x2ff13b);}static get['observedAttributes'](){return this['finalize'](),this['Li']&&[...this['Li']['keys']()];}static['createProperty'](_0x63baa6,t=_0x2b0881){if(t['state']&&(t['attribute']=!0x1),this['Br'](),this['prototype']['hasOwnProperty'](_0x63baa6)&&((t=Object['create'](t))['wrapped']=!0x0),this['elementProperties']['set'](_0x63baa6,t),!t['noAccessor']){let _0x2083e5=Symbol(),_0x31e2b2=this['getPropertyDescriptor'](_0x63baa6,_0x2083e5,t);void 0x0!==_0x31e2b2&&_0x367e7f(this['prototype'],_0x63baa6,_0x31e2b2);}}static['getPropertyDescriptor'](_0x274879,t,_0x49f212){let {get:_0x58eb36,set:_0x3db9fa}=_0x508a5f(this['prototype'],_0x274879)??{'get'(){return this[t];},'set'(_0x5b84dc){this[t]=_0x5b84dc;}};return{'get':_0x58eb36,'set'(_0x482700){let _0x9e1c93=_0x58eb36?.['call'](this);_0x3db9fa?.['call'](this,_0x482700),this['requestUpdate'](_0x274879,_0x9e1c93,_0x49f212);},'configurable':!0x0,'enumerable':!0x0};}static['getPropertyOptions'](_0x24fb74){return this['elementProperties']['get'](_0x24fb74)??_0x2b0881;}static['Br'](){if(this['hasOwnProperty'](_0x2e0fbc('elementProperties')))return;let _0x34136d=_0x200f3d(this);_0x34136d['finalize'](),void 0x0!==_0x34136d['l']&&(this['l']=[..._0x34136d['l']]),this['elementProperties']=new Map(_0x34136d['elementProperties']);}static['finalize'](){if(this['hasOwnProperty'](_0x2e0fbc('finalized')))return;if(this['finalized']=!0x0,this['Br'](),this['hasOwnProperty'](_0x2e0fbc('properties'))){let t=this['properties'],_0x356cf0=[..._0x164c7a(t),..._0x103c20(t)];for(let _0x508c57 of _0x356cf0)this['createProperty'](_0x508c57,t[_0x508c57]);}let _0xa2161b=this[Symbol['metadata']];if(null!==_0xa2161b){let t=litPropertyMetadata['get'](_0xa2161b);if(void 0x0!==t){for(let [_0x55e880,_0x45cea3]of t)this['elementProperties']['set'](_0x55e880,_0x45cea3);}}this['Li']=new Map();for(let [t,_0x29acde]of this['elementProperties']){let _0x3a1527=this['zr'](t,_0x29acde);void 0x0!==_0x3a1527&&this['Li']['set'](_0x3a1527,t);}this['elementStyles']=this['finalizeStyles'](this['styles']);}static['finalizeStyles'](_0xd0e8e9){let t=[];if(Array['isArray'](_0xd0e8e9)){let _0x105700=new Set(_0xd0e8e9['flat'](0x1/0x0)['reverse']());for(let _0x3b2177 of _0x105700)t['unshift'](_0x3e3f1f(_0x3b2177));}else void 0x0!==_0xd0e8e9&&t['push'](_0x3e3f1f(_0xd0e8e9));return t;}static['zr'](_0x40e980,t){let _0x125d5d=t['attribute'];return!0x1===_0x125d5d?void 0x0:'string'==typeof _0x125d5d?_0x125d5d:'string'==typeof _0x40e980?_0x40e980['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(_0x483074=>this['enableUpdating']=_0x483074),this['Fe']=new Map(),this['Ac'](),this['requestUpdate'](),this['constructor']['l']?.['forEach'](_0x18ee06=>_0x18ee06(this));}['addController'](_0x4edfce){(this['Wt']??=new Set())['add'](_0x4edfce),void 0x0!==this['renderRoot']&&this['isConnected']&&_0x4edfce['hostConnected']?.();}['removeController'](_0x5fb93a){this['Wt']?.['delete'](_0x5fb93a);}['Ac'](){let _0x185d3d=new Map(),t=this['constructor']['elementProperties'];for(let _0x50a70d of t['keys']())this['hasOwnProperty'](_0x50a70d)&&(_0x185d3d['set'](_0x50a70d,this[_0x50a70d]),delete this[_0x50a70d]);_0x185d3d['size']>0x0&&(this['Ri']=_0x185d3d);}['createRenderRoot'](){let _0x2b5c44=this['shadowRoot']??this['attachShadow'](this['constructor']['shadowRootOptions']);return((_0x515295,_0x5e8cf3)=>{if(_0x28754a)_0x515295['adoptedStyleSheets']=_0x5e8cf3['map'](t=>t instanceof CSSStyleSheet?t:t['styleSheet']);else for(let t of _0x5e8cf3){let _0x3f9b06=document['createElement']('style'),_0x56a12c=_0x538bef['litNonce'];void 0x0!==_0x56a12c&&_0x3f9b06['setAttribute']('nonce',_0x56a12c),_0x3f9b06['textContent']=t['cssText'],_0x515295['appendChild'](_0x3f9b06);}})(_0x2b5c44,this['constructor']['elementStyles']),_0x2b5c44;}['connectedCallback'](){this['renderRoot']??=this['createRenderRoot'](),this['enableUpdating'](!0x0),this['Wt']?.['forEach'](_0x1de889=>_0x1de889['hostConnected']?.());}['enableUpdating'](_0x336d6d){}['disconnectedCallback'](){this['Wt']?.['forEach'](_0x1a48c1=>_0x1a48c1['hostDisconnected']?.());}['attributeChangedCallback'](_0x32763d,t,_0x459e40){this['Kr'](_0x32763d,_0x459e40);}['kc'](_0x570762,t){let _0x1cc761=this['constructor']['elementProperties']['get'](_0x570762),_0x29dad1=this['constructor']['zr'](_0x570762,_0x1cc761);if(void 0x0!==_0x29dad1&&!0x0===_0x1cc761['reflect']){let _0x21cd0d=(void 0x0!==_0x1cc761['converter']?.['toAttribute']?_0x1cc761['converter']:_0xdc788f)['toAttribute'](t,_0x1cc761['type']);this['vt']=_0x570762,null==_0x21cd0d?this['removeAttribute'](_0x29dad1):this['setAttribute'](_0x29dad1,_0x21cd0d),this['vt']=null;}}['Kr'](_0x2dd055,t){let _0x435b35=this['constructor'],_0x922da4=_0x435b35['Li']['get'](_0x2dd055);if(void 0x0!==_0x922da4&&this['vt']!==_0x922da4){let _0x1d6164=_0x435b35['getPropertyOptions'](_0x922da4),_0x5b81ea='function'==typeof _0x1d6164['converter']?{'fromAttribute':_0x1d6164['converter']}:void 0x0!==_0x1d6164['converter']?.['fromAttribute']?_0x1d6164['converter']:_0xdc788f;this['vt']=_0x922da4;let _0x564dd0=_0x5b81ea['fromAttribute'](t,_0x1d6164['type']);this[_0x922da4]=_0x564dd0??this['jr']?.['get'](_0x922da4)??_0x564dd0,this['vt']=null;}}['requestUpdate'](_0x4ea316,t,_0x364dfe,_0x4897c4=!0x1,_0x1eb3cc){if(void 0x0!==_0x4ea316){let _0x5e8a22=this['constructor'];if(!0x1===_0x4897c4&&(_0x1eb3cc=this[_0x4ea316]),_0x364dfe??=_0x5e8a22['getPropertyOptions'](_0x4ea316),!((_0x364dfe['hasChanged']??_0x4cb288)(_0x1eb3cc,t)||_0x364dfe['useDefault']&&_0x364dfe['reflect']&&_0x1eb3cc===this['jr']?.['get'](_0x4ea316)&&!this['hasAttribute'](_0x5e8a22['zr'](_0x4ea316,_0x364dfe))))return;this['C'](_0x4ea316,t,_0x364dfe);}!0x1===this['isUpdatePending']&&(this['Hr']=this['Mc']());}['C'](_0x1b7c51,t,{useDefault:_0x340cd3,reflect:_0x18d0ae,wrapped:_0x579fc3},_0x7c9c70){_0x340cd3&&!(this['jr']??=new Map())['has'](_0x1b7c51)&&(this['jr']['set'](_0x1b7c51,_0x7c9c70??t??this[_0x1b7c51]),!0x0!==_0x579fc3||void 0x0!==_0x7c9c70)||(this['Fe']['has'](_0x1b7c51)||(this['hasUpdated']||_0x340cd3||(t=void 0x0),this['Fe']['set'](_0x1b7c51,t)),!0x0===_0x18d0ae&&this['vt']!==_0x1b7c51&&(this['Gs']??=new Set())['add'](_0x1b7c51));}async['Mc'](){this['isUpdatePending']=!0x0;try{await this['Hr'];}catch(_0x3f9361){Promise['reject'](_0x3f9361);}let _0x322f06=this['scheduleUpdate']();return null!=_0x322f06&&await _0x322f06,!this['isUpdatePending'];}['scheduleUpdate'](){return this['performUpdate']();}['performUpdate'](){if(!this['isUpdatePending'])return;if(!this['hasUpdated']){if(this['renderRoot']??=this['createRenderRoot'](),this['Ri']){for(let [_0x4a03ed,_0x436d90]of this['Ri'])this[_0x4a03ed]=_0x436d90;this['Ri']=void 0x0;}let _0x4af3af=this['constructor']['elementProperties'];if(_0x4af3af['size']>0x0)for(let [_0x1b2f1f,_0x45b6b2]of _0x4af3af){let {wrapped:_0x407348}=_0x45b6b2,_0x44c5a4=this[_0x1b2f1f];!0x0!==_0x407348||this['Fe']['has'](_0x1b2f1f)||void 0x0===_0x44c5a4||this['C'](_0x1b2f1f,void 0x0,_0x45b6b2,_0x44c5a4);}}let _0x36fe35=!0x1,t=this['Fe'];try{_0x36fe35=this['shouldUpdate'](t),_0x36fe35?(this['willUpdate'](t),this['Wt']?.['forEach'](_0xae7d20=>_0xae7d20['hostUpdate']?.()),this['update'](t)):this['Gr']();}catch(_0x47c8aa){throw _0x36fe35=!0x1,this['Gr'](),_0x47c8aa;}_0x36fe35&&this['Oc'](t);}['willUpdate'](_0xf4109d){}['Oc'](_0x2e07d1){this['Wt']?.['forEach'](t=>t['hostUpdated']?.()),this['hasUpdated']||(this['hasUpdated']=!0x0,this['firstUpdated'](_0x2e07d1)),this['updated'](_0x2e07d1);}['Gr'](){this['Fe']=new Map(),this['isUpdatePending']=!0x1;}get['updateComplete'](){return this['getUpdateComplete']();}['getUpdateComplete'](){return this['Hr'];}['shouldUpdate'](_0x45818d){return!0x0;}['update'](_0x5e3edb){this['Gs']&&=this['Gs']['forEach'](t=>this['kc'](t,this[t])),this['Gr']();}['updated'](_0x3c64f8){}['firstUpdated'](_0x4d2329){}};_0x2c0e11['elementStyles']=[],_0x2c0e11['shadowRootOptions']={'mode':'open'},_0x2c0e11[_0x2e0fbc('elementProperties')]=new Map(),_0x2c0e11[_0x2e0fbc('finalized')]=new Map(),_0x32f90d?.({'ReactiveElement':_0x2c0e11}),(_0x480ded['reactiveElementVersions']??=[])['push']('2.1.2');var _0x3f5147,_0x37836d=globalThis,_0x20c2cc=_0x381d64=>_0x381d64,_0x1dbbad=_0x37836d['trustedTypes'],_0x53b717=_0x1dbbad?_0x1dbbad['createPolicy']('lit-html',{'createHTML':_0x810052=>_0x810052}):void 0x0,_0x5df487='$lit$',_0x510dc7='lit$'+Math['random']()['toFixed'](0x9)['slice'](0x2)+'$',_0x4bc420='?'+_0x510dc7,_0x293e92='<'+_0x4bc420+'>',_0x4fb677=document,_0x30225c=()=>_0x4fb677['createComment'](''),_0xc8009b=_0x7c92db=>null===_0x7c92db||'object'!=typeof _0x7c92db&&'function'!=typeof _0x7c92db,_0x182504=Array['isArray'],_0x2f41a2='[\x20\x0c\x0d]',_0x55008a=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_0x4f9da4=/-->/g,_0x43667f=/>/g,_0x2e2068=RegExp('>|'+_0x2f41a2+'(?:([^\x5cs\x22\x27>=/]+)('+_0x2f41a2+'*='+_0x2f41a2+'*(?:[^\x20\x0c\x0d\x22\x27`<>=]|(\x22|\x27)|))|$)','g'),_0x6a2d8c=/'/g,_0x3abafa=/"/g,_0x3bc0c0=/^(?:script|style|textarea|title)$/i,_0x3e6b89=(_0x3f5147=0x1,(_0x1140b9,...t)=>({'Ne':_0x3f5147,'strings':_0x1140b9,'values':t})),_0x3cd570=Symbol['for']('lit-noChange'),_0x1d383d=Symbol['for']('lit-nothing'),_0x40a8cf=new WeakMap(),_0x1f37ec=_0x4fb677['createTreeWalker'](_0x4fb677,0x81);function _0x4b1956(_0x5f2216,_0x444fd3){if(!_0x182504(_0x5f2216)||!_0x5f2216['hasOwnProperty']('raw'))throw Error('invalid\x20template\x20strings\x20array');return void 0x0!==_0x53b717?_0x53b717['createHTML'](_0x444fd3):_0x444fd3;}var _0x4dba07=class _0x2da9ae{constructor({strings:_0x195923,Ne:t},_0x451c16){let _0x1ef069;this['parts']=[];let _0x2da7c0=0x0,_0x10b0fb=0x0,_0x457087=_0x195923['length']-0x1,_0xf08dab=this['parts'],[_0x42d1f0,_0x4f1bc5]=((_0x361279,_0x3a72a5)=>{let _0xb3125f,t=_0x361279['length']-0x1,_0x4105d8=[],_0x460afd=0x2===_0x3a72a5?'<svg>':0x3===_0x3a72a5?'<math>':'',_0x56eef4=_0x55008a;for(let _0x358b58=0x0;_0x358b58<t;_0x358b58++){let _0x2bcb45,_0xb5cb61,_0x4da3f1=_0x361279[_0x358b58],_0x20e09d=-0x1,_0x3ecd8a=0x0;for(;_0x3ecd8a<_0x4da3f1['length']&&(_0x56eef4['lastIndex']=_0x3ecd8a,_0xb5cb61=_0x56eef4['exec'](_0x4da3f1),null!==_0xb5cb61);)_0x3ecd8a=_0x56eef4['lastIndex'],_0x56eef4===_0x55008a?'!--'===_0xb5cb61[0x1]?_0x56eef4=_0x4f9da4:void 0x0!==_0xb5cb61[0x1]?_0x56eef4=_0x43667f:void 0x0!==_0xb5cb61[0x2]?(_0x3bc0c0['test'](_0xb5cb61[0x2])&&(_0xb3125f=RegExp('</'+_0xb5cb61[0x2],'g')),_0x56eef4=_0x2e2068):void 0x0!==_0xb5cb61[0x3]&&(_0x56eef4=_0x2e2068):_0x56eef4===_0x2e2068?'>'===_0xb5cb61[0x0]?(_0x56eef4=_0xb3125f??_0x55008a,_0x20e09d=-0x1):void 0x0===_0xb5cb61[0x1]?_0x20e09d=-0x2:(_0x20e09d=_0x56eef4['lastIndex']-_0xb5cb61[0x2]['length'],_0x2bcb45=_0xb5cb61[0x1],_0x56eef4=void 0x0===_0xb5cb61[0x3]?_0x2e2068:'\x22'===_0xb5cb61[0x3]?_0x3abafa:_0x6a2d8c):_0x56eef4===_0x3abafa||_0x56eef4===_0x6a2d8c?_0x56eef4=_0x2e2068:_0x56eef4===_0x4f9da4||_0x56eef4===_0x43667f?_0x56eef4=_0x55008a:(_0x56eef4=_0x2e2068,_0xb3125f=void 0x0);let _0x409fcc=_0x56eef4===_0x2e2068&&_0x361279[_0x358b58+0x1]['startsWith']('/>')?'\x20':'';_0x460afd+=_0x56eef4===_0x55008a?_0x4da3f1+_0x293e92:_0x20e09d>=0x0?(_0x4105d8['push'](_0x2bcb45),_0x4da3f1['slice'](0x0,_0x20e09d)+_0x5df487+_0x4da3f1['slice'](_0x20e09d)+_0x510dc7+_0x409fcc):_0x4da3f1+_0x510dc7+(-0x2===_0x20e09d?_0x358b58:_0x409fcc);}return[_0x4b1956(_0x361279,_0x460afd+(_0x361279[t]||'<?>')+(0x2===_0x3a72a5?'</svg>':0x3===_0x3a72a5?'</math>':'')),_0x4105d8];})(_0x195923,t);if(this['el']=_0x2da9ae['createElement'](_0x42d1f0,_0x451c16),_0x1f37ec['currentNode']=this['el']['content'],0x2===t||0x3===t){let _0x3ea146=this['el']['content']['firstChild'];_0x3ea146['replaceWith'](..._0x3ea146['childNodes']);}for(;null!==(_0x1ef069=_0x1f37ec['nextNode']())&&_0xf08dab['length']<_0x457087;){if(0x1===_0x1ef069['nodeType']){if(_0x1ef069['hasAttributes']()){for(let _0x528c2b of _0x1ef069['getAttributeNames']())if(_0x528c2b['endsWith'](_0x5df487)){let _0x2dbf0e=_0x4f1bc5[_0x10b0fb++],_0x449915=_0x1ef069['getAttribute'](_0x528c2b)['split'](_0x510dc7),_0xbe034f=/([.?@])?(.*)/['exec'](_0x2dbf0e);_0xf08dab['push']({'type':0x1,'index':_0x2da7c0,'name':_0xbe034f[0x2],'strings':_0x449915,'ctor':'.'===_0xbe034f[0x1]?tN:'?'===_0xbe034f[0x1]?_0x43499d:'@'===_0xbe034f[0x1]?_0x20d4fa:_0x2fc406}),_0x1ef069['removeAttribute'](_0x528c2b);}else _0x528c2b['startsWith'](_0x510dc7)&&(_0xf08dab['push']({'type':0x6,'index':_0x2da7c0}),_0x1ef069['removeAttribute'](_0x528c2b));}if(_0x3bc0c0['test'](_0x1ef069['tagName'])){let _0x558483=_0x1ef069['textContent']['split'](_0x510dc7),_0x1cae99=_0x558483['length']-0x1;if(_0x1cae99>0x0){_0x1ef069['textContent']=_0x1dbbad?_0x1dbbad['emptyScript']:'';for(let _0xb2992c=0x0;_0xb2992c<_0x1cae99;_0xb2992c++)_0x1ef069['append'](_0x558483[_0xb2992c],_0x30225c()),_0x1f37ec['nextNode'](),_0xf08dab['push']({'type':0x2,'index':++_0x2da7c0});_0x1ef069['append'](_0x558483[_0x1cae99],_0x30225c());}}}else{if(0x8===_0x1ef069['nodeType']){if(_0x1ef069['data']===_0x4bc420)_0xf08dab['push']({'type':0x2,'index':_0x2da7c0});else{let _0x41bfdd=-0x1;for(;-0x1!==(_0x41bfdd=_0x1ef069['data']['indexOf'](_0x510dc7,_0x41bfdd+0x1));)_0xf08dab['push']({'type':0x7,'index':_0x2da7c0}),_0x41bfdd+=_0x510dc7['length']-0x1;}}}_0x2da7c0++;}}static['createElement'](_0x39583e,t){let _0x359a97=_0x4fb677['createElement']('template');return _0x359a97['innerHTML']=_0x39583e,_0x359a97;}};function _0x2d97ce(_0x4e3662,_0xf403f6,t=_0x4e3662,_0x1b5093){if(_0xf403f6===_0x3cd570)return _0xf403f6;let _0x3c6f9f=void 0x0!==_0x1b5093?t['Ic']?.[_0x1b5093]:t['Pc'],_0x9f2c9d=_0xc8009b(_0xf403f6)?void 0x0:_0xf403f6['qr'];return _0x3c6f9f?.['constructor']!==_0x9f2c9d&&(_0x3c6f9f?.['qs']?.(!0x1),void 0x0===_0x9f2c9d?_0x3c6f9f=void 0x0:(_0x3c6f9f=new _0x9f2c9d(_0x4e3662),_0x3c6f9f['Wr'](_0x4e3662,t,_0x1b5093)),void 0x0!==_0x1b5093?(t['Ic']??=[])[_0x1b5093]=_0x3c6f9f:t['Pc']=_0x3c6f9f),void 0x0!==_0x3c6f9f&&(_0xf403f6=_0x2d97ce(_0x4e3662,_0x3c6f9f['Lc'](_0x4e3662,_0xf403f6['values']),_0x3c6f9f,_0x1b5093)),_0xf403f6;}var _0x21904d=class{constructor(_0x2ea58a,t){this['Ws']=[],this['le']=void 0x0,this['Zs']=_0x2ea58a,this['f']=t;}get['parentNode'](){return this['f']['parentNode'];}get['W'](){return this['f']['W'];}['u'](_0x43859c){let {el:{content:t},parts:_0x28877c}=this['Zs'],_0x5661a1=(_0x43859c?.['creationScope']??_0x4fb677)['importNode'](t,!0x0);_0x1f37ec['currentNode']=_0x5661a1;let _0x36eb24=_0x1f37ec['nextNode'](),_0x4d1e8c=0x0,_0x32d634=0x0,_0x26e0dd=_0x28877c[0x0];for(;void 0x0!==_0x26e0dd;){if(_0x4d1e8c===_0x26e0dd['index']){let _0x5d58f1;0x2===_0x26e0dd['type']?_0x5d58f1=new _0x2049b2(_0x36eb24,_0x36eb24['nextSibling'],this,_0x43859c):0x1===_0x26e0dd['type']?_0x5d58f1=new _0x26e0dd['ctor'](_0x36eb24,_0x26e0dd['name'],_0x26e0dd['strings'],this,_0x43859c):0x6===_0x26e0dd['type']&&(_0x5d58f1=new _0x22e5b1(_0x36eb24,this,_0x43859c)),this['Ws']['push'](_0x5d58f1),_0x26e0dd=_0x28877c[++_0x32d634];}_0x4d1e8c!==_0x26e0dd?.['index']&&(_0x36eb24=_0x1f37ec['nextNode'](),_0x4d1e8c++);}return _0x1f37ec['currentNode']=_0x4fb677,_0x5661a1;}['p'](_0x37fec3){let t=0x0;for(let _0x1a9da4 of this['Ws'])void 0x0!==_0x1a9da4&&(void 0x0!==_0x1a9da4['strings']?(_0x1a9da4['ce'](_0x37fec3,_0x1a9da4,t),t+=_0x1a9da4['strings']['length']-0x2):_0x1a9da4['ce'](_0x37fec3[t])),t++;}},_0x2049b2=class _0x3b4061{get['W'](){return this['f']?.['W']??this['Ys'];}constructor(_0x16517f,t,_0x3e0512,_0x1765a2){this['type']=0x2,this['r']=_0x1d383d,this['le']=void 0x0,this['ve']=_0x16517f,this['yt']=t,this['f']=_0x3e0512,this['options']=_0x1765a2,this['Ys']=_0x1765a2?.['isConnected']??!0x0;}get['parentNode'](){let _0x523606=this['ve']['parentNode'],t=this['f'];return void 0x0!==t&&0xb===_0x523606?.['nodeType']&&(_0x523606=t['parentNode']),_0x523606;}get['startNode'](){return this['ve'];}get['endNode'](){return this['yt'];}['ce'](_0x5cebd1,t=this){_0x5cebd1=_0x2d97ce(this,_0x5cebd1,t),_0xc8009b(_0x5cebd1)?_0x5cebd1===_0x1d383d||null==_0x5cebd1||''===_0x5cebd1?(this['r']!==_0x1d383d&&this['bt'](),this['r']=_0x1d383d):_0x5cebd1!==this['r']&&_0x5cebd1!==_0x3cd570&&this['Xs'](_0x5cebd1):void 0x0!==_0x5cebd1['Ne']?this['$'](_0x5cebd1):void 0x0!==_0x5cebd1['nodeType']?this['T'](_0x5cebd1):(_0x415513=>_0x182504(_0x415513)||'function'==typeof _0x415513?.[Symbol['iterator']])(_0x5cebd1)?this['k'](_0x5cebd1):this['Xs'](_0x5cebd1);}['O'](_0x57d744){return this['ve']['parentNode']['insertBefore'](_0x57d744,this['yt']);}['T'](_0x40bf06){this['r']!==_0x40bf06&&(this['bt'](),this['r']=this['O'](_0x40bf06));}['Xs'](_0x1b4278){this['r']!==_0x1d383d&&_0xc8009b(this['r'])?this['ve']['nextSibling']['data']=_0x1b4278:this['T'](_0x4fb677['createTextNode'](_0x1b4278)),this['r']=_0x1b4278;}['$'](_0x49c324){let {values:t,Ne:_0x577722}=_0x49c324,_0x22efe0='number'==typeof _0x577722?this['Rc'](_0x49c324):(void 0x0===_0x577722['el']&&(_0x577722['el']=_0x4dba07['createElement'](_0x4b1956(_0x577722['h'],_0x577722['h'][0x0]),this['options'])),_0x577722);if(this['r']?.['Zs']===_0x22efe0)this['r']['p'](t);else{let _0x4afded=new _0x21904d(_0x22efe0,this),_0x259c3d=_0x4afded['u'](this['options']);_0x4afded['p'](t),this['T'](_0x259c3d),this['r']=_0x4afded;}}['Rc'](_0x12bd31){let t=_0x40a8cf['get'](_0x12bd31['strings']);return void 0x0===t&&_0x40a8cf['set'](_0x12bd31['strings'],t=new _0x4dba07(_0x12bd31)),t;}['k'](_0x551054){_0x182504(this['r'])||(this['r']=[],this['bt']());let _0x136ea2,t=this['r'],_0x1f92f4=0x0;for(let _0x30d269 of _0x551054)_0x1f92f4===t['length']?t['push'](_0x136ea2=new _0x3b4061(this['O'](_0x30225c()),this['O'](_0x30225c()),this,this['options'])):_0x136ea2=t[_0x1f92f4],_0x136ea2['ce'](_0x30d269),_0x1f92f4++;_0x1f92f4<t['length']&&(this['bt'](_0x136ea2&&_0x136ea2['yt']['nextSibling'],_0x1f92f4),t['length']=_0x1f92f4);}['bt'](_0xa06d0e=this['ve']['nextSibling'],t){for(this['Ui']?.(!0x1,!0x0,t);_0xa06d0e!==this['yt'];){let _0x24397f=_0x20c2cc(_0xa06d0e)['nextSibling'];_0x20c2cc(_0xa06d0e)['remove'](),_0xa06d0e=_0x24397f;}}['setConnected'](_0xc3a1ad){void 0x0===this['f']&&(this['Ys']=_0xc3a1ad,this['Ui']?.(_0xc3a1ad));}},_0x2fc406=class{get['tagName'](){return this['element']['tagName'];}get['W'](){return this['f']['W'];}constructor(_0x198285,t,_0x5021b6,_0x28cb76,_0x2b1924){this['type']=0x1,this['r']=_0x1d383d,this['le']=void 0x0,this['element']=_0x198285,this['name']=t,this['f']=_0x28cb76,this['options']=_0x2b1924,_0x5021b6['length']>0x2||''!==_0x5021b6[0x0]||''!==_0x5021b6[0x1]?(this['r']=Array(_0x5021b6['length']-0x1)['fill'](new String()),this['strings']=_0x5021b6):this['r']=_0x1d383d;}['ce'](_0x47b72f,t=this,_0x119c2e,_0x4468b9){let _0x4a1efb=this['strings'],_0x27e883=!0x1;if(void 0x0===_0x4a1efb)_0x47b72f=_0x2d97ce(this,_0x47b72f,t,0x0),_0x27e883=!_0xc8009b(_0x47b72f)||_0x47b72f!==this['r']&&_0x47b72f!==_0x3cd570,_0x27e883&&(this['r']=_0x47b72f);else{let _0x17b17c,_0x50493a,_0x13d5f4=_0x47b72f;for(_0x47b72f=_0x4a1efb[0x0],_0x17b17c=0x0;_0x17b17c<_0x4a1efb['length']-0x1;_0x17b17c++)_0x50493a=_0x2d97ce(this,_0x13d5f4[_0x119c2e+_0x17b17c],t,_0x17b17c),_0x50493a===_0x3cd570&&(_0x50493a=this['r'][_0x17b17c]),_0x27e883||=!_0xc8009b(_0x50493a)||_0x50493a!==this['r'][_0x17b17c],_0x50493a===_0x1d383d?_0x47b72f=_0x1d383d:_0x47b72f!==_0x1d383d&&(_0x47b72f+=(_0x50493a??'')+_0x4a1efb[_0x17b17c+0x1]),this['r'][_0x17b17c]=_0x50493a;}_0x27e883&&!_0x4468b9&&this['j'](_0x47b72f);}['j'](_0x14659b){_0x14659b===_0x1d383d?this['element']['removeAttribute'](this['name']):this['element']['setAttribute'](this['name'],_0x14659b??'');}},tN=class extends _0x2fc406{constructor(){super(...arguments),this['type']=0x3;}['j'](_0xa13698){this['element'][this['name']]=_0xa13698===_0x1d383d?void 0x0:_0xa13698;}},_0x43499d=class extends _0x2fc406{constructor(){super(...arguments),this['type']=0x4;}['j'](_0x3fff90){this['element']['toggleAttribute'](this['name'],!!_0x3fff90&&_0x3fff90!==_0x1d383d);}},_0x20d4fa=class extends _0x2fc406{constructor(_0x5f5278,t,_0x59d3b1,_0x8ce7c3,_0x21291a){super(_0x5f5278,t,_0x59d3b1,_0x8ce7c3,_0x21291a),this['type']=0x5;}['ce'](_0xba091b,t=this){if((_0xba091b=_0x2d97ce(this,_0xba091b,t,0x0)??_0x1d383d)===_0x3cd570)return;let _0x998704=this['r'],_0xb8902c=_0xba091b===_0x1d383d&&_0x998704!==_0x1d383d||_0xba091b['capture']!==_0x998704['capture']||_0xba091b['once']!==_0x998704['once']||_0xba091b['passive']!==_0x998704['passive'],_0x4f3c22=_0xba091b!==_0x1d383d&&(_0x998704===_0x1d383d||_0xb8902c);_0xb8902c&&this['element']['removeEventListener'](this['name'],this,_0x998704),_0x4f3c22&&this['element']['addEventListener'](this['name'],this,_0xba091b),this['r']=_0xba091b;}['handleEvent'](_0x1fe15f){'function'==typeof this['r']?this['r']['call'](this['options']?.['host']??this['element'],_0x1fe15f):this['r']['handleEvent'](_0x1fe15f);}},_0x22e5b1=class{constructor(_0x1bce7d,t,_0x43c6ce){this['element']=_0x1bce7d,this['type']=0x6,this['le']=void 0x0,this['f']=t,this['options']=_0x43c6ce;}get['W'](){return this['f']['W'];}['ce'](_0x2d6fe0){_0x2d97ce(this,_0x2d6fe0);}},_0x271c3f={'I':_0x2049b2},_0x2ae220=_0x37836d['litHtmlPolyfillSupport'];_0x2ae220?.(_0x4dba07,_0x2049b2),(_0x37836d['litHtmlVersions']??=[])['push']('3.3.2');var _0x2ff748=globalThis,_0x4214c8=class extends _0x2c0e11{constructor(){super(...arguments),this['renderOptions']={'host':this},this['Zr']=void 0x0;}['createRenderRoot'](){let _0x23e909=super['createRenderRoot']();return this['renderOptions']['renderBefore']??=_0x23e909['firstChild'],_0x23e909;}['update'](_0x15d47d){let t=this['render']();this['hasUpdated']||(this['renderOptions']['isConnected']=this['isConnected']),super['update'](_0x15d47d),this['Zr']=((_0x1cf8b6,_0x5155af,t)=>{let _0x5eab6f=t?.['renderBefore']??_0x5155af,_0x18f84a=_0x5eab6f['Uc'];if(void 0x0===_0x18f84a){let _0x54a4a5=t?.['renderBefore']??null;_0x5eab6f['Uc']=_0x18f84a=new _0x2049b2(_0x5155af['insertBefore'](_0x30225c(),_0x54a4a5),_0x54a4a5,void 0x0,t??{});}return _0x18f84a['ce'](_0x1cf8b6),_0x18f84a;})(t,this['renderRoot'],this['renderOptions']);}['connectedCallback'](){super['connectedCallback'](),this['Zr']?.['setConnected'](!0x0);}['disconnectedCallback'](){super['disconnectedCallback'](),this['Zr']?.['setConnected'](!0x1);}['render'](){return _0x3cd570;}};_0x4214c8['jp']=!0x0,_0x4214c8['finalized']=!0x0,_0x2ff748['litElementHydrateSupport']?.({'LitElement':_0x4214c8});var _0x1ca9dc=_0x2ff748['litElementPolyfillSupport'];_0x1ca9dc?.({'LitElement':_0x4214c8}),(_0x2ff748['litElementVersions']??=[])['push']('4.2.2');var _0xb7095a=/\\([0-9a-fA-F]{1,6} ?)/g;function _0x16c3d6(_0x279972){return class _0x40c68d extends _0x279972{constructor(){super(...arguments),this['Qs']=null,this['Yr']=null;}['getCssData'](_0x39f942,_0x19a225=!0x1){let _0x3bd2eb=this['Qs']??Object['create'](null);if(!Object['keys'](_0x3bd2eb)['includes'](_0x39f942)||!_0x3bd2eb[_0x39f942]){this['Yr']||(this['Yr']=window['getComputedStyle'](this));let _0x253095=this['Yr']['getPropertyValue'](_0x39f942)['trim']();try{_0x3bd2eb[_0x39f942]=function(_0x12a1a3){let _0x84a889=_0x12a1a3;(function(_0x21bdc7){return!(_0x21bdc7['length']<0x2||'\x22'!==_0x21bdc7[0x0]&&'\x27'!==_0x21bdc7[0x0]||'\x22'!==_0x21bdc7[_0x21bdc7['length']-0x1]&&'\x27'!==_0x21bdc7[_0x21bdc7['length']-0x1]);}(_0x12a1a3)&&(_0x84a889=function(_0x4791e6){let _0x33364d=_0x4791e6;return('\x22'===_0x33364d[0x0]||'\x27'===_0x33364d[0x0])&&(_0x33364d=_0x33364d['slice'](0x1)),('\x22'===_0x33364d[_0x33364d['length']-0x1]||'\x27'===_0x33364d[_0x33364d['length']-0x1])&&(_0x33364d=_0x33364d['slice'](0x0,-0x1)),_0x33364d;}(_0x84a889),_0x84a889=_0x84a889['replace'](_0xb7095a,(t,_0x13f216)=>String['fromCodePoint'](parseInt(_0x13f216['trim'](),0x10))),_0x84a889=_0x84a889['replaceAll']('\x5c\x20','\x5cn'),_0x84a889=function(_0x327918){let _0x21f980='',t='';for(let _0x316cd5=0x0;_0x316cd5<_0x327918['length'];_0x316cd5++){let _0x1a1e8a=_0x327918[_0x316cd5+0x1];'\x5c'===_0x327918[_0x316cd5]&&'\x22'===_0x1a1e8a?(_0x21f980+='\x5c\x22',_0x316cd5++):'\x22'===_0x327918[_0x316cd5]&&'\x5c'!==t?_0x21f980+='\x5c\x22':_0x21f980+=_0x327918[_0x316cd5],t=_0x327918[_0x316cd5]??'';}return _0x21f980;}(_0x84a889),_0x84a889='\x22'+_0x84a889+'\x22'));try{return JSON['parse'](_0x84a889);}catch{return;}}(_0x253095);}catch(_0x13eb11){_0x19a225||console['warn']('CSS\x20Data\x20error:\x20'+_0x39f942,_0x13eb11),_0x3bd2eb[_0x39f942]=null;}}return this['Qs']=_0x3bd2eb,_0x3bd2eb[_0x39f942];}};}function _0xc97dcb(_0x3cb868){return class _0x5e0cbd extends _0x3cb868{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 _0x712a5e=Array['from'](this['childNodes']),_0x137381=_0x712a5e['length']?_0x712a5e:this['_e']??[];for(let _0x1fec82 of _0x137381){let _0x465e84=this['Js'](_0x1fec82),_0x55c13b=this['Ve'][_0x465e84]??[];_0x1fec82 instanceof Element&&(_0x1fec82['removeAttribute']('slot'),_0x1fec82['removeAttribute']('content-for')),_0x55c13b['push'](_0x1fec82),this['Ve'][_0x465e84]=_0x55c13b;}this['_e']=null;}['Js'](_0x33cd8f){return _0x33cd8f instanceof Comment&&_0x33cd8f['nextSibling']instanceof Element?this['Js'](_0x33cd8f['nextSibling']):'contentFor'in _0x33cd8f?_0x33cd8f['contentFor']||'':_0x33cd8f instanceof Element&&_0x33cd8f['hasAttribute']('content-for')&&_0x33cd8f['getAttribute']('content-for')||'';}['Dc'](_0x40cb46){return!_0x40cb46['textContent']||!_0x40cb46['textContent']['trim']();}['Fc'](_0x1d4b41){let _0x45f845=this['Ve'][_0x1d4b41];return!_0x45f845||_0x45f845['every'](_0x127062=>_0x127062 instanceof Comment||_0x127062 instanceof Text&&this['Dc'](_0x127062));}['update'](_0x38b797){!this['hasUpdated']&&this['willYield']&&this['$c'](),super['update'](_0x38b797);}['yield'](_0x58d33e,_0x3d89e5){if(''===_0x58d33e&&!this['Ve'][_0x58d33e]&&!this['$i']&&this['_e']?.['length']){let _0x457af0=[];for(let _0x1cabaf of this['_e'])_0x1cabaf instanceof Element&&(_0x1cabaf['removeAttribute']('slot'),_0x1cabaf['removeAttribute']('content-for')),_0x457af0['push'](_0x1cabaf);this['Ve'][_0x58d33e]=_0x457af0,this['$i']=!0x0,this['_e']=null;}let _0x475d2f=this['Ve'][_0x58d33e];return _0x3e6b89` ${_0x475d2f} ${this['Fc'](_0x58d33e)?_0x3d89e5:void 0x0} `;}};}function _0x40723d(_0x3b124e){return class _0x59dcd1 extends _0x3b124e{static['reg'](_0x49c057){let _0x2566a8=this,_0x2010e2=window['customElements']['get'](_0x49c057);_0x2010e2?_0x2010e2!==_0x2566a8&&console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0x49c057+'\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'](_0x49c057,_0x2566a8);}};}var _0x5e8dad=class extends Event{constructor(_0x3d8af2,t,_0x7eb5c4,_0x23b414){super('context-request',{'bubbles':!0x0,'composed':!0x0}),this['context']=_0x3d8af2,this['contextTarget']=t,this['callback']=_0x7eb5c4,this['subscribe']=_0x23b414??!0x1;}},_0x216140=class{constructor(_0x5dd2f5,t,_0x2802a3,_0x5727c1){if(this['subscribe']=!0x1,this['provided']=!0x1,this['value']=void 0x0,this['t']=(_0x4b79d3,_0x16c185)=>{this['unsubscribe']&&(this['unsubscribe']!==_0x16c185&&(this['provided']=!0x1,this['unsubscribe']()),this['subscribe']||this['unsubscribe']()),this['value']=_0x4b79d3,this['host']['requestUpdate'](),this['provided']&&!this['subscribe']||(this['provided']=!0x0,this['callback']&&this['callback'](_0x4b79d3,_0x16c185)),this['unsubscribe']=_0x16c185;},this['host']=_0x5dd2f5,void 0x0!==t['context']){let _0x16507e=t;this['context']=_0x16507e['context'],this['callback']=_0x16507e['callback'],this['subscribe']=_0x16507e['subscribe']??!0x1;}else this['context']=t,this['callback']=_0x2802a3,this['subscribe']=_0x5727c1??!0x1;this['host']['addController'](this);}['hostConnected'](){this['dispatchRequest']();}['hostDisconnected'](){this['unsubscribe']&&(this['unsubscribe'](),this['unsubscribe']=void 0x0);}['dispatchRequest'](){this['host']['dispatchEvent'](new _0x5e8dad(this['context'],this['host'],this['t'],this['subscribe']));}},_0x44dd15=class{get['value'](){return this['o'];}set['value'](_0x4e9244){this['setValue'](_0x4e9244);}['setValue'](_0x476998,t=!0x1){let _0x578990=t||!Object['is'](_0x476998,this['o']);this['o']=_0x476998,_0x578990&&this['updateObservers']();}constructor(_0x1995d9){this['subscriptions']=new Map(),this['updateObservers']=()=>{for(let [t,{disposer:_0x1cc192}]of this['subscriptions'])t(this['o'],_0x1cc192);},void 0x0!==_0x1995d9&&(this['value']=_0x1995d9);}['addCallback'](_0x4dacdf,t,_0x4f113c){if(!_0x4f113c)return void _0x4dacdf(this['value']);this['subscriptions']['has'](_0x4dacdf)||this['subscriptions']['set'](_0x4dacdf,{'disposer':()=>{this['subscriptions']['delete'](_0x4dacdf);},'consumerHost':t});let {disposer:_0x49ae02}=this['subscriptions']['get'](_0x4dacdf);_0x4dacdf(this['value'],_0x49ae02);}['clearCallbacks'](){this['subscriptions']['clear']();}},_0x3a72ca=class extends Event{constructor(_0x30cb4a,t){super('context-provider',{'bubbles':!0x0,'composed':!0x0}),this['context']=_0x30cb4a,this['contextTarget']=t;}},_0x21bbee=class extends _0x44dd15{constructor(_0x2fc919,t,_0x51791b){super(void 0x0!==t['context']?t['initialValue']:_0x51791b),this['onContextRequest']=_0x544f9c=>{if(_0x544f9c['context']!==this['context'])return;let _0x5a95a2=_0x544f9c['contextTarget']??_0x544f9c['composedPath']()[0x0];_0x5a95a2!==this['host']&&(_0x544f9c['stopPropagation'](),this['addCallback'](_0x544f9c['callback'],_0x5a95a2,_0x544f9c['subscribe']));},this['onProviderRequest']=_0x53c86b=>{if(_0x53c86b['context']!==this['context']||(_0x53c86b['contextTarget']??_0x53c86b['composedPath']()[0x0])===this['host'])return;let _0x3a6612=new Set();for(let [_0x1b5932,{consumerHost:_0x5bfec8}]of this['subscriptions'])_0x3a6612['has'](_0x1b5932)||(_0x3a6612['add'](_0x1b5932),_0x5bfec8['dispatchEvent'](new _0x5e8dad(this['context'],_0x5bfec8,_0x1b5932,!0x0)));_0x53c86b['stopPropagation']();},this['host']=_0x2fc919,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 _0x3a72ca(this['context'],this['host']));}},_0x2f2646={'attribute':!0x0,'type':String,'converter':_0xdc788f,'reflect':!0x1,'hasChanged':_0x4cb288},_0x8d7378=(_0x15d49e=_0x2f2646,_0x4a111c,t)=>{let {kind:_0x13418a,metadata:_0x2535eb}=t,_0x50cc22=globalThis['litPropertyMetadata']['get'](_0x2535eb);if(void 0x0===_0x50cc22&&globalThis['litPropertyMetadata']['set'](_0x2535eb,_0x50cc22=new Map()),'setter'===_0x13418a&&((_0x15d49e=Object['create'](_0x15d49e))['wrapped']=!0x0),_0x50cc22['set'](t['name'],_0x15d49e),'accessor'===_0x13418a){let {name:_0x434d04}=t;return{'set'(_0x483e6d){let _0x12f10d=_0x4a111c['get']['call'](this);_0x4a111c['set']['call'](this,_0x483e6d),this['requestUpdate'](_0x434d04,_0x12f10d,_0x15d49e,!0x0,_0x483e6d);},'init'(_0x223e68){return void 0x0!==_0x223e68&&this['C'](_0x434d04,void 0x0,_0x15d49e,_0x223e68),_0x223e68;}};}if('setter'===_0x13418a){let {name:_0x310be0}=t;return function(_0x49cba7){let _0x769e75=this[_0x310be0];_0x4a111c['call'](this,_0x49cba7),this['requestUpdate'](_0x310be0,_0x769e75,_0x15d49e,!0x0,_0x49cba7);};}throw Error('Unsupported\x20decorator\x20location:\x20'+_0x13418a);};function _0x53be06(_0x5582e6){return(_0x438784,t)=>'object'==typeof t?_0x8d7378(_0x5582e6,_0x438784,t):((_0x189b9c,_0x25e510,_0x42789b)=>{let _0x51d42e=_0x25e510['hasOwnProperty'](_0x42789b);return _0x25e510['constructor']['createProperty'](_0x42789b,_0x189b9c),_0x51d42e?Object['getOwnPropertyDescriptor'](_0x25e510,_0x42789b):void 0x0;})(_0x5582e6,_0x438784,t);}function _0x671a39(_0x51d7f2){return _0x53be06({..._0x51d7f2,'state':!0x0,'attribute':!0x1});}function _0x31123d(_0x25e035,_0x100891){let t,_0x2b3b16=(..._0x2001fb)=>{t&&clearTimeout(t),t=setTimeout(()=>_0x25e035(..._0x2001fb),_0x100891);};return _0x2b3b16['cancel']=()=>{t&&clearTimeout(t);},_0x2b3b16;}var _0x1f638c='ctx-name-context';function _0x27cc41(){return function(_0xee4f18){class _0x3b285f extends _0xee4f18{constructor(..._0x4ea189){super(..._0x4ea189),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 _0x216140(this,{'context':_0x1f638c,'callback':_0x3e8f3f=>{_0x3e8f3f?(this['rn']=_0x3e8f3f,this['tn']()):console['error']('SymbioteMixin:\x20Received\x20invalid\x20ctx-name\x20from\x20context');},'subscribe':!0x0});}static set['template'](_0x25808d){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'](_0x4c2844){let _0x30a74a=_0x4c2844??void 0x0;this['Di']!==_0x30a74a&&(this['Di']=_0x30a74a,this['tn']());}['shouldUpdate'](_0x3316d1){return!!this['ke']&&super['shouldUpdate'](_0x3316d1);}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'](_0x56164d){super['willUpdate'](_0x56164d),this['ctxName']=this['Ae'],this['ctxName']&&(this['Qr']?this['Qr']['setValue'](this['ctxName']):this['Qr']=new _0x21bbee(this,{'context':_0x1f638c,'initialValue':this['ctxName']}));}['sn'](){if(this['ee']&&0x0!==this['wt']['size']){for(let [_0x359d16,{value:_0x38d576,rewrite:_0x295a99}]of this['wt'])this['ee']['add'](_0x359d16,_0x38d576,_0x295a99);this['wt']['clear']();}}['nn'](){return!this['ee']&&this['Ae']&&this['eo'](),this['ee']&&this['sn'](),this['ee'];}['Ni'](){let _0x52584e=this['nn']();if(!_0x52584e)throw new Error('SymbioteMixin:\x20Shared\x20context\x20is\x20not\x20initialized.');return _0x52584e;}['eo'](){let _0x1f8c09=this['init$'],_0x24c479=this['Ae'];if(_0x24c479){if(!this['ee']){this['ee']=tM['getCtx'](_0x24c479)??tM['registerCtx'](_0x1f8c09,_0x24c479);for(let [_0x224c76,_0x218911]of Object['entries'](this['init$']))this['ee']['add'](_0x224c76,_0x218911,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':(_0x3bab5b,_0x24e1a0)=>{if('string'==typeof _0x24e1a0)return this['ee']?.['read'](_0x24e1a0);},'set':(_0x24cfc1,_0x2e8893,_0xf5328d)=>('string'!=typeof _0x2e8893||this['ee']?.['pub'](_0x2e8893,_0xf5328d),!0x0)});}['sub'](_0x367ae2,_0x50011e,_0x245ede=!0x0){let _0x7e9a5e=this['Ni']()['sub'](_0x367ae2,_0x50011e,_0x245ede);if(!_0x7e9a5e||'function'!=typeof _0x7e9a5e)return()=>{};let _0x433820=_0x7e9a5e['bind'](_0x7e9a5e),_0x4275e5=!0x1,_0x3f7eda=()=>{_0x4275e5||(_0x4275e5=!0x0,_0x433820(),this['Yt']['delete'](_0x3f7eda));};return this['Yt']['add'](_0x3f7eda),_0x3f7eda;}['pub'](_0x153ff8,_0x158ffb){this['Ni']()['pub'](_0x153ff8,_0x158ffb);}['set$'](_0x3fe108){for(let [_0xd692c,_0x322113]of Object['entries'](_0x3fe108))this['pub'](_0xd692c,_0x322113);}get['sharedCtx'](){return this['Ni']();}['has'](_0xe3eb8f){return this['ee']?.['has'](_0xe3eb8f)??!0x1;}['add'](_0x395b0b,_0x285287,_0x4dc347=!0x1){let _0x2b103a=this['nn']();if(_0x2b103a)this['wt']['delete'](_0x395b0b),_0x2b103a['add'](_0x395b0b,_0x285287,_0x4dc347);else{if(!_0x4dc347&&this['wt']['has'](_0x395b0b))return;this['wt']['set'](_0x395b0b,{'value':_0x285287,'rewrite':_0x4dc347});}}['add$'](_0x3e728d,_0xe4227b=!0x1){for(let [_0x1c75b0,_0x2cacb0]of Object['entries'](_0x3e728d))this['add'](_0x1c75b0,_0x2cacb0,_0xe4227b);}['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 _0x54bbf5=this['init$'];if(Object['keys'](_0x54bbf5)['length']>0x0){let _0xb5117b=this['Ni']();for(let [_0x1f2b8c,_0x30a4fd]of Object['entries'](_0x54bbf5))void 0x0===_0xb5117b['read'](_0x1f2b8c)&&_0xb5117b['pub'](_0x1f2b8c,_0x30a4fd),this['sub'](_0x1f2b8c,_0x31123d(async()=>{this['isConnected']&&(await this['updateComplete'],this['requestUpdate']());},0x0),!0x1);}this['initCallback'](),this['ke']=!0x0,this['requestUpdate']();}['firstUpdated'](_0x5e6224){super['firstUpdated'](_0x5e6224);}['disconnectedCallback'](){this['Vc'](),super['disconnectedCallback'](),this['Zt']&&(this['Xr']=!0x0);}['Vc'](){if(0x0!==this['Yt']['size']){for(let _0x956806 of[...this['Yt']])_0x956806();this['Yt']['clear']();}}['initCallback'](){}}return _0x1a398d([_0x53be06({'type':String,'attribute':'ctx-name','noAccessor':!0x0})],_0x3b285f['prototype'],'en',0x1),_0x1a398d([_0x671a39()],_0x3b285f['prototype'],'rn',0x2),_0x1a398d([_0x671a39()],_0x3b285f['prototype'],'ctxName',0x2),_0x1a398d([_0x671a39()],_0x3b285f['prototype'],'ke',0x2),_0x3b285f;};}var _0x370f89=class extends _0x40723d(_0x27cc41()(_0x16c3d6(_0xc97dcb(_0x4214c8)))){},_0x14c4f7=class _0x47a417{static['generateFastUid'](){return'uid-'+Date['now']()['toString'](0x24)+'-'+Math['random']()['toString'](0x24)['slice'](0x2,0xb);}static['generateRandomUUID'](){let _0x31912e=globalThis['crypto'];return _0x31912e&&'function'==typeof _0x31912e['randomUUID']?_0x31912e['randomUUID']():_0x47a417['generateFastUid']();}},_0x168c9a=['UploaderBlock','ActivityBlock','Block','SolutionBlock'];function _0xa8e1eb(_0x4e862f){for(let _0x24daf9 in _0x4e862f){if(_0x168c9a['includes'](_0x24daf9))continue;let t=[..._0x24daf9]['reduce']((_0x37e46f,_0x3dd72d)=>(_0x3dd72d['toUpperCase']()===_0x3dd72d&&(_0x3dd72d='-'+_0x3dd72d['toLowerCase']()),_0x37e46f+=_0x3dd72d),'');t['startsWith']('-')&&(t=t['replace']('-','')),t['startsWith']('uc-')||(t='uc-'+t),_0x4e862f[_0x24daf9]['reg']&&_0x4e862f[_0x24daf9]['reg'](t);}}var _0x1948cb='UC',_0xce868a={'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'},_0x38265d=new Map(),_0x374db2=new Map(),_0x5c39a2=(_0x1449f1,_0x4e2736)=>{_0x38265d['has'](_0x1449f1)&&console['log']('Locale\x20'+_0x1449f1+'\x20is\x20already\x20defined.\x20Overwriting...');let t={..._0xce868a,..._0x4e2736};return _0x38265d['set'](_0x1449f1,t),t;},_0x7a7e13=(_0x416ec6,_0x1f401d)=>{'function'==typeof _0x1f401d?((_0x548448,_0x4223ae)=>{_0x374db2['set'](_0x548448,_0x4223ae);})(_0x416ec6,_0x1f401d):_0x5c39a2(_0x416ec6,_0x1f401d);};_0x7a7e13('en',_0xce868a);var _0x56b626=_0x3c289c=>'*cfg/'+_0x3c289c,_0x1824ee=_0x3a92f2=>_0x3a92f2?_0x3a92f2['split'](',')['map'](_0x1ea88c=>_0x1ea88c['trim']())['filter'](Boolean):[],_0x5b13a9=_0x2c7197=>_0x2c7197['join'](','),_0x49c439=_0x58b5d8=>{if('string'!=typeof _0x58b5d8||!_0x58b5d8)return'';let _0x129b37=_0x58b5d8['trim']();return _0x129b37['startsWith']('-/')?_0x129b37=_0x129b37['slice'](0x2):_0x129b37['startsWith']('/')&&(_0x129b37=_0x129b37['slice'](0x1)),_0x129b37['endsWith']('/')&&(_0x129b37=_0x129b37['slice'](0x0,_0x129b37['length']-0x1)),_0x129b37;},_0x614e22=(..._0x4af65e)=>_0x4af65e['filter'](_0x4496a0=>'string'==typeof _0x4496a0&&!!_0x4496a0)['map'](_0x2e5c0e=>_0x49c439(_0x2e5c0e))['join']('/-/'),_0xea2dc3=(..._0x57323c)=>{let _0x5e6cec=_0x614e22(..._0x57323c);return _0x5e6cec?'-/'+_0x5e6cec+'/':'';};function _0x46af49(_0x22fc2d){let _0x3e16cc=new URL(_0x22fc2d),t=_0x3e16cc['pathname']+_0x3e16cc['search']+_0x3e16cc['hash'],_0x339f1b=t['lastIndexOf']('http'),_0x496f25=t['lastIndexOf']('/'),_0xfd721a='';return _0x339f1b>=0x0?_0xfd721a=t['slice'](_0x339f1b):_0x496f25>=0x0&&(_0xfd721a=t['slice'](_0x496f25+0x1)),_0xfd721a;}function _0x2d0d56(_0x28a1b6){let _0x2199e6=new URL(_0x28a1b6),{pathname:t}=_0x2199e6,_0x232292=t['indexOf']('/'),_0x210873=t['indexOf']('/',_0x232292+0x1);return t['substring'](_0x232292+0x1,_0x210873);}function _0x429da1(_0xdc970e){let _0x2d008e=_0x3f4c48(_0xdc970e),t=new URL(_0x2d008e),_0x3da9bf=t['pathname']['indexOf']('/-/');return-0x1===_0x3da9bf?'':t['pathname']['substring'](_0x3da9bf)['slice'](0x1);}function _0x46f059(_0x4110d7){return _0x429da1(_0x4110d7)['split']('/-/')['filter'](Boolean)['map'](t=>_0x49c439(t));}function _0x3f4c48(_0x4fec0d){let _0x1c62cf=new URL(_0x4fec0d),t=_0x46af49(_0x4fec0d),_0x1fd2ab=_0x441f48(t)?_0x1c9097(t)['pathname']:t;return _0x1c62cf['pathname']=_0x1c62cf['pathname']['replace'](_0x1fd2ab,''),_0x1c62cf['search']='',_0x1c62cf['hash']='',_0x1c62cf['toString']();}function _0x441f48(_0x2fc99a){return _0x2fc99a['startsWith']('http');}function _0x1c9097(_0x371137){let _0x5f0cac=new URL(_0x371137);return{'pathname':''+_0x5f0cac['origin']+(_0x5f0cac['pathname']??''),'search':_0x5f0cac['search']??'','hash':_0x5f0cac['hash']??''};}var _0x17e287=(_0x496f20,_0x33df8c,t)=>{let _0x323780=new URL(_0x3f4c48(_0x496f20)),_0xe111c3=t??_0x46af49(_0x496f20),_0x2e9be0=_0x33df8c??'';if(_0x323780['pathname']['startsWith']('//')&&(_0x323780['pathname']=_0x323780['pathname']['replace']('//','/')),_0xe111c3&&_0x441f48(_0xe111c3)){let _0x2e8fbe=_0x1c9097(_0xe111c3);_0x323780['pathname']=''+_0x323780['pathname']+_0x2e9be0+(_0x2e8fbe['pathname']||''),_0x323780['search']=_0x2e8fbe['search'],_0x323780['hash']=_0x2e8fbe['hash'];}else _0x323780['pathname']=''+_0x323780['pathname']+_0x2e9be0+(_0xe111c3||'');return _0x323780['toString']();},_0x55a5e5=(_0x835563,_0x2d3c0f)=>{let t=new URL(_0x835563);return t['pathname']=_0x2d3c0f+'/',t['toString']();},_0x4e8b4f=(_0xe26ed7,_0x217b33=',')=>_0xe26ed7['trim']()['split'](_0x217b33)['map'](t=>t['trim']())['filter'](t=>t['length']>0x0),_0x1a16ce=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}),_0x484a09=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function _0xa9d701(_0x525aaf){return _0x614e22(..._0x484a09['filter'](_0x43103d=>typeof _0x525aaf[_0x43103d]<'u'&&null!==_0x525aaf[_0x43103d])['map'](_0x5a2a07=>function(_0x862eb5,_0x394479){if('number'==typeof _0x394479){let t=_0x394479;return _0x1a16ce[_0x862eb5]!==t?_0x862eb5+'/'+t:'';}if('boolean'==typeof _0x394479){let t=_0x394479;return _0x1a16ce[_0x862eb5]!==t?''+_0x862eb5:'';}if('filter'===_0x862eb5&&_0x394479){let {name:t,amount:_0x4e297f}=_0x394479;return _0x1a16ce['filter']===_0x4e297f?'':_0x862eb5+'/'+t+'/'+_0x4e297f;}if('crop'===_0x862eb5&&_0x394479){let {dimensions:t,coords:_0x25264e}=_0x394479;return _0x862eb5+'/'+t['join']('x')+'/'+_0x25264e['join'](',');}return'';}(_0x5a2a07,_0x525aaf[_0x5a2a07]))['filter'](_0x542271=>!!_0x542271));}var tL=_0x614e22('format/auto','progressive/yes'),_0x4cf9c2=([_0x2a303e])=>typeof _0x2a303e<'u'?Number(_0x2a303e):void 0x0,_0x5ab496=()=>!0x0,_0x5a2c32=Object['freeze']({'enhance':_0x4cf9c2,'brightness':_0x4cf9c2,'exposure':_0x4cf9c2,'gamma':_0x4cf9c2,'contrast':_0x4cf9c2,'saturation':_0x4cf9c2,'vibrance':_0x4cf9c2,'warmth':_0x4cf9c2,'filter':([_0x2b4a1f,_0xadb9b])=>({'name':_0x2b4a1f,'amount':typeof _0xadb9b<'u'?Number(_0xadb9b):0x64}),'mirror':_0x5ab496,'flip':_0x5ab496,'rotate':_0x4cf9c2,'crop':_0x43107a=>{let [_0x5da3ac,t]=_0x43107a,{dimensions:_0x18d496,coords:_0xb02394}=(([_0x5a682c,_0x16bf6e])=>{if(!/\d+x\d+/['test'](_0x5a682c)||!/\d+,\d+/['test'](_0x16bf6e))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':_0x4e8b4f(_0x5a682c,'x')['map'](Number),'coords':_0x4e8b4f(_0x16bf6e)['map'](Number)};})([_0x5da3ac,t]);return{'dimensions':_0x18d496,'coords':_0xb02394};}});function _0x30d615(_0x109152){let _0x9b3621={};for(let t of _0x109152){let [_0x12aa98,..._0xf3bf62]=t['split']('/');if(!_0x12aa98||!_0x484a09['includes'](_0x12aa98))continue;let _0x4963b6=_0x12aa98,_0x530e0b=_0x5a2c32[_0x4963b6];try{let _0x53e12d=_0x530e0b(_0xf3bf62);_0x9b3621[_0x4963b6]=_0x53e12d;}catch(_0x2c8676){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+t+'\x22.\x20It\x20will\x20be\x20ignored.',_0x2c8676 instanceof Error?'Error\x20message:\x20\x22'+_0x2c8676['message']+'\x22':_0x2c8676,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x20'));}}return _0x9b3621;}var _0x53a627=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),_0x14a716=Object['freeze']([_0x53a627['CROP'],_0x53a627['TUNING'],_0x53a627['FILTERS']]),_0x352436=Object['freeze'](['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance']),_0x4fe0c3=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']),_0x5b1383=Object['freeze'](['rotate','mirror','flip']),_0x155dc7=_0x1a16ce,_0x2057a8=Object['freeze']({'brightness':{'zero':_0x155dc7['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':_0x155dc7['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':_0x155dc7['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':_0x155dc7['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':_0x155dc7['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':_0x155dc7['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':_0x155dc7['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':_0x155dc7['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':_0x155dc7['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),_0x7ff31e='https://ucarecdn.com',_0x545e22={'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':_0x7ff31e,'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':_0x5b13a9(_0x14a716),'cloudImageEditorMaskHref':null,'testMode':!0x1,'qualityInsights':!0x0,'pasteScope':'local','plugins':[]},_0xcb9653=Object['freeze'](_0x545e22),_0x2d55a4=(_0x1452fb,_0x16d5c4)=>(...t)=>{let _0x58c94a=_0x1452fb();if(!_0x58c94a['read'](_0x56b626('debug')))return;let _0x1e4f27=t;'function'==typeof t?.[0x0]&&(_0x1e4f27=(0x0,t[0x0])());let _0x389f50=[_0x58c94a['id'],_0x16d5c4]['filter'](Boolean);console['log']('['+_0x389f50['join']('][')+']',..._0x1e4f27);},_0x14b350=class{constructor(_0x22b1cb){this['to']=new Set(),this['Be']=null,this['w']=_0x2d55a4(()=>this['i']['ctx'],this['constructor']['name']),this['i']=_0x22b1cb,this['e']=_0x22b1cb['ctx'];}['addSub'](_0x51cf46){this['to']['add'](_0x51cf46);}get['ze'](){if(!this['Be']){let _0x422c4f={};this['Be']=new Proxy(_0x422c4f,{'set':()=>{throw new Error('SharedInstance\x20cfg\x20proxy\x20is\x20read-only');},'get':(t,_0x46c0f5)=>{if('string'!=typeof _0x46c0f5)return;let _0x257587=_0x56b626(_0x46c0f5);return this['i']['ctx']['has'](_0x257587)?this['i']['ctx']['read'](_0x257587):_0xcb9653[_0x46c0f5];}});}return this['Be'];}['destroy'](){for(let _0x19e3dd of this['to'])try{_0x19e3dd();}catch{}this['to']['clear']();}},_0x1ab24b={'modalManager':'*modalManager','pluginManager':'*pluginManager','telemetryManager':'*telemetryManager','localeManager':'*localeManager','a11y':'*a11y','clipboard':'*clipboard','blocksRegistry':'*blocksRegistry','eventEmitter':'*eventEmitter','uploadCollection':'*uploadCollection','secureUploadsManager':'*secureUploadsManager','api':'*publicApi','validationManager':'*validationManager'},_0x3ad200=(_0x5324b2,_0xbbc103,t=!0x0)=>{let _0x5c6d79=_0x5324b2['has'](_0xbbc103),_0x4ba7bf=_0x5c6d79?_0x5324b2['read'](_0xbbc103):null;if(_0x5c6d79&&_0x4ba7bf||!t)return _0x4ba7bf;throw new Error('Unexpected\x20error:\x20shared\x20instance\x20for\x20key\x20\x22'+String(_0xbbc103)+'\x22\x20is\x20not\x20available');},_0x424406=_0x4fc51e=>({get 'ctx'(){return _0x4fc51e();},get 'modalManager'(){return _0x3ad200(_0x4fc51e(),'*modalManager',!0x1);},get 'pluginManager'(){return _0x3ad200(_0x4fc51e(),'*pluginManager');},get 'telemetryManager'(){return _0x3ad200(_0x4fc51e(),'*telemetryManager');},get 'localeManager'(){return _0x3ad200(_0x4fc51e(),'*localeManager');},get 'a11y'(){return _0x3ad200(_0x4fc51e(),'*a11y');},get 'blocksRegistry'(){return _0x3ad200(_0x4fc51e(),'*blocksRegistry');},get 'eventEmitter'(){return _0x3ad200(_0x4fc51e(),'*eventEmitter');},get 'uploadCollection'(){return _0x3ad200(_0x4fc51e(),'*uploadCollection');},get 'secureUploadsManager'(){return _0x3ad200(_0x4fc51e(),'*secureUploadsManager',!0x1);},get 'api'(){return _0x3ad200(_0x4fc51e(),'*publicApi');},get 'validationManager'(){return _0x3ad200(_0x4fc51e(),'*validationManager');},'when'(_0xb73ac9,t){let _0x296ce6,_0x556c35=_0x1ab24b[_0xb73ac9],_0x2c47fc=_0x4fc51e(),_0x459579=_0x2c47fc['has'](_0x556c35)?_0x2c47fc['read'](_0x556c35):void 0x0;return _0x459579?(t(_0x459579),()=>{}):(_0x296ce6=_0x2c47fc['sub'](_0x556c35,_0x19cd46=>{_0x19cd46&&(t(_0x19cd46),_0x296ce6?.());}),_0x296ce6);},'wait'(_0x2b2b60){return new Promise(t=>{let _0x436cb7;_0x436cb7=this['when'](_0x2b2b60,_0x28b257=>{t(_0x28b257),_0x436cb7?.();});});}}),_0x6eceb3=Object['freeze']({'ADD':'modal:add','DELETE':'modal:delete','OPEN':'modal:open','CLOSE':'modal:close','CLOSE_ALL':'modal:closeAll','DESTROY':'modal:destroy'}),_0x1b3ce6=class extends _0x14b350{constructor(){super(...arguments),this['He']=new Map(),this['ue']=new Set(),this['c']=new Map();}['registerModal'](t,_0x55fcad){this['He']['set'](t,_0x55fcad),this['q'](_0x6eceb3['ADD'],{'id':t,'modal':_0x55fcad});}['deleteModal'](t){let _0xcf2838=this['He']['get'](t);return!!_0xcf2838&&(this['He']['delete'](t),this['ue']['delete'](t),this['q'](_0x6eceb3['DELETE'],{'id':t,'modal':_0xcf2838}),!0x0);}['open'](t){let _0x2395c8=this['He']['get'](t);return _0x2395c8?(this['ue']['add'](t),this['q'](_0x6eceb3['OPEN'],{'modal':_0x2395c8,'id':t}),!0x0):(this['w']('Modal\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found'),!0x1);}['close'](t){let _0x491eac=this['He']['get'](t);return _0x491eac&&this['ue']['has'](t)?(this['ue']['delete'](t),this['q'](_0x6eceb3['CLOSE'],{'id':t,'modal':_0x491eac}),!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'](_0x6eceb3['CLOSE_ALL'],{}),t;}['subscribe'](t,_0x5acc8f){return this['c']['has'](t)||this['c']['set'](t,new Set()),this['c']['get'](t)?.['add'](_0x5acc8f),()=>this['unsubscribe'](t,_0x5acc8f);}['unsubscribe'](t,_0x74c188){this['c']['has'](t)&&this['c']['get'](t)?.['delete'](_0x74c188);}['q'](t,_0x257f25){if(this['c']['has'](t)){for(let _0x746922 of this['c']['get'](t)??new Set())try{_0x746922(_0x257f25);}catch(_0x2e43a9){this['i']['telemetryManager']['sendEventError'](_0x2e43a9,'modal\x20subscriber'),this['w']('Error\x20in\x20modal\x20subscriber:',_0x2e43a9);}}}['destroy'](){super['destroy'](),this['closeAll'](),this['He']['clear'](),this['c']['clear'](),this['q'](_0x6eceb3['DESTROY'],{});}},_0x337f7f=_0x3d828c=>_0x3d828c['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0x41134a=>_0x41134a['toLowerCase']())['join']('-');function _0xbfd71b(_0x5333e9){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x5333e9);}var _0x4c8dc7=/\W|_/g;function _0x4ce17d(_0x4d917e){return _0x4d917e['split'](_0x4c8dc7)['map']((_0x15ee5f,t)=>_0x15ee5f['charAt'](0x0)[t>0x0?'toUpperCase':'toLowerCase']()+_0x15ee5f['slice'](0x1))['join']('');}function _0x166b12(_0x3998b5,{ignoreKeys:_0xf07d60}={'ignoreKeys':[]}){return Array['isArray'](_0x3998b5)?_0x3998b5['map'](t=>_0x4e129c(t,{'ignoreKeys':_0xf07d60})):_0x3998b5;}function _0x4e129c(_0x345ef4,{ignoreKeys:_0xe07c82}={'ignoreKeys':[]}){if(Array['isArray'](_0x345ef4))return _0x166b12(_0x345ef4,{'ignoreKeys':_0xe07c82});if(!_0xbfd71b(_0x345ef4))return _0x345ef4;let t={};for(let _0x5d417a of Object['keys'](_0x345ef4)){let _0x16c65f=_0x345ef4[_0x5d417a];_0xe07c82['includes'](_0x5d417a)?t[_0x5d417a]=_0x16c65f:(_0xbfd71b(_0x16c65f)?_0x16c65f=_0x4e129c(_0x16c65f,{'ignoreKeys':_0xe07c82}):Array['isArray'](_0x16c65f)&&(_0x16c65f=_0x166b12(_0x16c65f,{'ignoreKeys':_0xe07c82})),t[_0x4ce17d(_0x5d417a)]=_0x16c65f);}return t;}function _0x4e3267({libraryName:_0x438c5a,libraryVersion:_0x480eb5,userAgent:t,publicKey:_0x205bd5='',integration:_0x1791cb=''}){let _0xc4821='JavaScript';return'string'==typeof t?t:'function'==typeof t?t({'publicKey':_0x205bd5,'libraryName':_0x438c5a,'libraryVersion':_0x480eb5,'languageName':_0xc4821,'integration':_0x1791cb}):[_0x438c5a,_0x480eb5,_0x205bd5]['filter'](Boolean)['join']('/')+'\x20('+[_0xc4821,_0x1791cb]['filter'](Boolean)['join'](';\x20')+')';}var _0xafc5a8={'factor':0x2,'time':0x64};function _0x2ab2f7(_0x2ad127,_0x20d399=_0xafc5a8){let t=0x0;return function _0x527578(_0x34e144){let _0x98083c=Math['round'](_0x20d399['time']*_0x20d399['factor']**t);return _0x34e144({'attempt':t,'retry':_0x2d0bf3=>(_0x30ce9f=>new Promise(_0xd8ce3a=>setTimeout(_0xd8ce3a,_0x30ce9f)))(_0x2d0bf3??_0x98083c)['then'](()=>(t+=0x1,_0x527578(_0x34e144)))});}(_0x2ad127);}var _0x3c3417=class extends Error{},_0x11a8e0=class _0x4e75d5 extends _0x3c3417{['originalProgressEvent'];constructor(_0x2940c9){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,_0x4e75d5['prototype']),this['originalProgressEvent']=_0x2940c9;}},_0x371073=(_0x262abf,_0x1a43d5)=>{_0x262abf&&(_0x262abf['aborted']?Promise['resolve']()['then'](_0x1a43d5):_0x262abf['addEventListener']('abort',()=>_0x1a43d5(),{'once':!0x0}));},_0x32fa83=class _0x316e54 extends _0x3c3417{['isCancel']=!0x0;constructor(_0x46dfc4='Request\x20canceled'){super(_0x46dfc4),this['name']='CancelError',Object['setPrototypeOf'](this,_0x316e54['prototype']);}},_0xe2106f=({check:_0x37d2f3,interval:_0x297cb9=0x1f4,timeout:t,signal:_0x4ec50c})=>new Promise((_0x425979,_0x5f98ea)=>{let _0x195736,_0x91c2aa;_0x371073(_0x4ec50c,()=>{_0x195736&&clearTimeout(_0x195736),_0x5f98ea(new _0x32fa83('Poll\x20cancelled'));}),t&&(_0x91c2aa=setTimeout(()=>{_0x195736&&clearTimeout(_0x195736),_0x5f98ea(new _0x32fa83('Timed\x20out'));},t));let _0x4cfea2=()=>{try{Promise['resolve'](_0x37d2f3(_0x4ec50c))['then'](_0x23cbd6=>{_0x23cbd6?(_0x91c2aa&&clearTimeout(_0x91c2aa),_0x425979(_0x23cbd6)):_0x195736=setTimeout(_0x4cfea2,_0x297cb9);})['catch'](_0x451396=>{_0x91c2aa&&clearTimeout(_0x91c2aa),_0x5f98ea(_0x451396);});}catch(_0x304627){_0x91c2aa&&clearTimeout(_0x91c2aa),_0x5f98ea(_0x304627);}};_0x195736=setTimeout(_0x4cfea2,0x0);}),_0x5c18ab='https://ucarecdn.com',_0x4b1295='https://upload.uploadcare.com',_0xaf0fc2=0x1,_0x429f8d=0x3,_0x497323=0x1900000,_0x4eb72d=0x500000,_0xe668c2=0x4,_0x28093a='79ae88bd931ea68464d9',_0x2b42f5='application/octet-stream',_0xb678c=({method:_0x1513af,url:_0x5b60ce,data:t,headers:_0x53879e={},signal:_0x8456b2,onProgress:_0x58cc3a})=>new Promise((_0x17e599,_0x4bf89d)=>{let _0x51f89e=new XMLHttpRequest(),_0x534fa6=_0x1513af?.['toUpperCase']()||'GET',_0x53ff3e=!0x1;_0x51f89e['open'](_0x534fa6,_0x5b60ce,!0x0),_0x53879e&&Object['entries'](_0x53879e)['forEach'](_0x1c2086=>{let [_0x13031f,_0x95b5b1]=_0x1c2086;typeof _0x95b5b1<'u'&&!Array['isArray'](_0x95b5b1)&&_0x51f89e['setRequestHeader'](_0x13031f,_0x95b5b1);}),_0x51f89e['responseType']='text',_0x371073(_0x8456b2,()=>{_0x53ff3e=!0x0,_0x51f89e['abort'](),_0x4bf89d(new _0x32fa83());}),_0x51f89e['onload']=()=>{if(0xc8!=_0x51f89e['status'])_0x4bf89d(new Error('Error\x20'+_0x51f89e['status']+':\x20'+_0x51f89e['statusText']));else{let _0x21b568={'method':_0x534fa6,'url':_0x5b60ce,'data':t,'headers':_0x53879e||void 0x0,'signal':_0x8456b2,'onProgress':_0x58cc3a},_0xefadf1=_0x51f89e['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x415a8f={};_0xefadf1['forEach'](function(_0x2926a5){let _0x148de3=_0x2926a5['split'](':\x20'),_0x223858=_0x148de3['shift'](),_0x2625f3=_0x148de3['join'](':\x20');_0x223858&&typeof _0x223858<'u'&&(_0x415a8f[_0x223858]=_0x2625f3);});let _0x32f057=_0x51f89e['response'],_0xc08332=_0x51f89e['status'];_0x17e599({'request':_0x21b568,'data':_0x32f057,'headers':_0x415a8f,'status':_0xc08332});}},_0x51f89e['onerror']=_0x3592c0=>{_0x53ff3e||_0x4bf89d(new _0x11a8e0(_0x3592c0));},_0x58cc3a&&'function'==typeof _0x58cc3a&&(_0x51f89e['upload']['onprogress']=_0x3b78ec=>{_0x3b78ec['lengthComputable']?_0x58cc3a({'isComputable':!0x0,'value':_0x3b78ec['loaded']/_0x3b78ec['total']}):_0x58cc3a({'isComputable':!0x1});}),t?_0x51f89e['send'](t):_0x51f89e['send']();}),_0x12bbda=function(_0x39b344,..._0x4332f5){return _0x39b344;},_0x55ff0c=_0x33fdc7=>typeof Blob<'u'&&_0x33fdc7 instanceof Blob,_0x470193=_0x50e472=>typeof File<'u'&&_0x50e472 instanceof File,_0x275b05=_0x4712a4=>!!_0x4712a4&&'object'==typeof _0x4712a4&&!Array['isArray'](_0x4712a4)&&'uri'in _0x4712a4&&'string'==typeof _0x4712a4['uri'],_0x3edd96=_0x3bf43f=>_0x55ff0c(_0x3bf43f)||_0x470193(_0x3bf43f)||_0x275b05(_0x3bf43f);function _0xf4be4d(_0x836632,_0x2eb4f8,t){if(Array['isArray'](t)){for(let _0x3cc90b of t)_0xf4be4d(_0x836632,_0x2eb4f8+'[]',_0x3cc90b);}else{if((_0x48c63c=>!!_0x48c63c&&'object'==typeof _0x48c63c&&'data'in _0x48c63c&&_0x3edd96(_0x48c63c['data']))(t)){let {name:_0x5d0ff8,contentType:_0x24c484}=t,_0x786090=_0x12bbda(t['data'],_0x5d0ff8,_0x24c484??_0x2b42f5),_0x59f6f5=(({name:_0x55af19})=>_0x55af19?[_0x55af19]:[])({'name':_0x5d0ff8});_0x836632['push']([_0x2eb4f8,_0x786090,..._0x59f6f5]);}else{if((_0xb75a4=>!!_0xb75a4&&'object'==typeof _0xb75a4&&!Array['isArray'](_0xb75a4))(t)){for(let [_0x2ce7df,_0x17934f]of Object['entries'](t))typeof _0x17934f<'u'&&_0x836632['push']([_0x2eb4f8+'['+_0x2ce7df+']',String(_0x17934f)]);}else(_0x353ff3=>'string'==typeof _0x353ff3||'number'==typeof _0x353ff3||typeof _0x353ff3>'u')(t)&&t&&_0x836632['push']([_0x2eb4f8,t['toString']()]);}}}function _0x300b5f(_0x45e3cb){let _0x12c0e2=new FormData(),t=function(_0x532e49){let _0x18196e=[];for(let [t,_0x12949c]of Object['entries'](_0x532e49))_0xf4be4d(_0x18196e,t,_0x12949c);return _0x18196e;}(_0x45e3cb);for(let _0x53a422 of t){let [_0x4ba484,_0x453671,..._0x42ee94]=_0x53a422;_0x12c0e2['append'](_0x4ba484,_0x453671,..._0x42ee94);}return _0x12c0e2;}var _0x5dc2e5=class _0x4071b9 extends _0x3c3417{['code'];['request'];['response'];['headers'];constructor(_0x34ad8a,t,_0xa3496c,_0x19541e,_0x450f41){super(),this['name']='UploadError',this['message']=_0x34ad8a,this['code']=t,this['request']=_0xa3496c,this['response']=_0x19541e,this['headers']=_0x450f41,Object['setPrototypeOf'](this,_0x4071b9['prototype']);}},t$=(_0x324c4e,_0x12a81f,t)=>{let _0x3c5e71=new URL(_0x324c4e);return _0x3c5e71['pathname']=(_0x3c5e71['pathname']+_0x12a81f)['replace']('//','/'),t&&(_0x3c5e71['search']=(_0x10afeb=>{let _0x2313ad=new URLSearchParams();for(let [t,_0x183433]of Object['entries'](_0x10afeb))_0x183433&&'object'==typeof _0x183433&&!Array['isArray'](_0x183433)?Object['entries'](_0x183433)['filter'](_0x4623c6=>_0x4623c6[0x1]??!0x1)['forEach'](_0x4f1b06=>_0x2313ad['set'](t+'['+_0x4f1b06[0x0]+']',String(_0x4f1b06[0x1]))):Array['isArray'](_0x183433)?_0x183433['forEach'](_0x43c0bd=>{_0x2313ad['append'](t+'[]',_0x43c0bd);}):'string'==typeof _0x183433&&_0x183433?_0x2313ad['set'](t,_0x183433):'number'==typeof _0x183433&&_0x2313ad['set'](t,_0x183433['toString']());return _0x2313ad['toString']();})(t)),_0x3c5e71['toString']();};function _0x21ddf3(_0x2f1e54){return _0x4e3267({'libraryName':'UploadcareUploadClient','libraryVersion':'6.18.4',..._0x2f1e54});}function _0x9e15be(_0x497f29,_0x426231){let {retryThrottledRequestMaxTimes:t,retryNetworkErrorMaxTimes:_0x5bf42e}=_0x426231;return _0x2ab2f7(({attempt:_0x5e75c7,retry:_0x5b2f3b})=>_0x497f29()['catch'](_0x329e9a=>{if('response'in _0x329e9a&&'RequestThrottledError'===_0x329e9a?.['code']&&_0x5e75c7<t)return _0x5b2f3b(function(_0x3edec2){let {headers:_0x2eb7bb}=_0x3edec2||{};if(!_0x2eb7bb||'string'!=typeof _0x2eb7bb['retry-after'])return 0x3a98;let t=parseInt(_0x2eb7bb['retry-after'],0xa);return Number['isFinite'](t)?0x3e8*t:0x3a98;}(_0x329e9a));if(_0x329e9a instanceof _0x11a8e0&&_0x5e75c7<_0x5bf42e)return _0x5b2f3b(0x3e8*(_0x5e75c7+0x1));throw _0x329e9a;}));}var _0x59d1c7,_0x5592a4,_0x463d12=_0x2f7355=>{let _0x115b12='';return(_0x55ff0c(_0x2f7355)||_0x470193(_0x2f7355)||_0x275b05(_0x2f7355))&&(_0x115b12=_0x2f7355['type']),_0x115b12||_0x2b42f5;},_0x4b0c1e=_0x5a46a2=>{let _0x1765ea='';return _0x470193(_0x5a46a2)&&_0x5a46a2['name']?_0x1765ea=_0x5a46a2['name']:_0x55ff0c(_0x5a46a2)?_0x1765ea='':_0x275b05(_0x5a46a2)&&_0x5a46a2['name']&&(_0x1765ea=_0x5a46a2['name']),_0x1765ea||'original';};function _0x557b7c(_0x105a88){return typeof _0x105a88>'u'||'auto'===_0x105a88?'auto':_0x105a88?'1':'0';}!function(_0x427672){_0x427672['Token']='token',_0x427672['FileInfo']='file_info';}(_0x59d1c7||(_0x59d1c7={})),function(_0x2cc21e){_0x2cc21e['Unknown']='unknown',_0x2cc21e['Waiting']='waiting',_0x2cc21e['Progress']='progress',_0x2cc21e['Error']='error',_0x2cc21e['Success']='success';}(_0x5592a4||(_0x5592a4={}));function _0x158192(_0x17bcc9,{publicKey:_0x1bb769,baseURL:t=_0x4b1295,signal:_0x59fefb,integration:_0x4ecf54,userAgent:_0x3c0846,retryThrottledRequestMaxTimes:_0x126eb4=_0xaf0fc2,retryNetworkErrorMaxTimes:_0x37bf39=_0x429f8d}={}){return _0x9e15be(()=>_0xb678c({'method':'GET','headers':_0x1bb769?{'X-UC-User-Agent':_0x21ddf3({'publicKey':_0x1bb769,'integration':_0x4ecf54,'userAgent':_0x3c0846})}:void 0x0,'url':t$(t,'/from_url/status/',{'jsonerrors':0x1,'token':_0x17bcc9}),'signal':_0x59fefb})['then'](({data:_0x39f525,headers:_0xeb006e,request:_0x2e567f})=>{let _0x3dc8e3=_0x4e129c(JSON['parse'](_0x39f525));if('error'in _0x3dc8e3&&!(_0x4e93d2=>'status'in _0x4e93d2&&_0x4e93d2['status']===_0x5592a4['Error'])(_0x3dc8e3))throw new _0x5dc2e5(_0x3dc8e3['error']['content'],_0x3dc8e3['error']['errorCode'],_0x2e567f,_0x3dc8e3,_0xeb006e);return _0x3dc8e3;}),{'retryNetworkErrorMaxTimes':_0x37bf39,'retryThrottledRequestMaxTimes':_0x126eb4});}function _0x1bb7f9(_0xa9457b,{publicKey:_0x41b52e,baseURL:t=_0x4b1295,signal:_0x4e2bfb,source:_0x4f904e,integration:_0x26a698,userAgent:_0x46f74e,retryThrottledRequestMaxTimes:_0x3aa559=_0xaf0fc2,retryNetworkErrorMaxTimes:_0xe9dfaf=_0x429f8d}){return _0x9e15be(()=>_0xb678c({'method':'GET','headers':{'X-UC-User-Agent':_0x21ddf3({'publicKey':_0x41b52e,'integration':_0x26a698,'userAgent':_0x46f74e})},'url':t$(t,'/info/',{'jsonerrors':0x1,'pub_key':_0x41b52e,'file_id':_0xa9457b,'source':_0x4f904e}),'signal':_0x4e2bfb})['then'](({data:_0x4d4dd9,headers:_0x2eee31,request:_0x207a0e})=>{let _0x39535e=_0x4e129c(JSON['parse'](_0x4d4dd9));if('error'in _0x39535e)throw new _0x5dc2e5(_0x39535e['error']['content'],_0x39535e['error']['errorCode'],_0x207a0e,_0x39535e,_0x2eee31);return _0x39535e;}),{'retryThrottledRequestMaxTimes':_0x3aa559,'retryNetworkErrorMaxTimes':_0xe9dfaf});}function _0x3bd9f6(_0x154f93,{publicKey:_0x339366,baseURL:t,source:_0x1ef1f8,integration:_0x6b12c4,userAgent:_0x244d16,retryThrottledRequestMaxTimes:_0x58a89e,retryNetworkErrorMaxTimes:_0x2a862c,signal:_0x2a10ea,onProgress:_0x4661c1}){return _0xe2106f({'check':_0x3c6d1=>_0x1bb7f9(_0x154f93,{'publicKey':_0x339366,'baseURL':t,'signal':_0x3c6d1,'source':_0x1ef1f8,'integration':_0x6b12c4,'userAgent':_0x244d16,'retryThrottledRequestMaxTimes':_0x58a89e,'retryNetworkErrorMaxTimes':_0x2a862c})['then'](_0x403ba3=>_0x403ba3['isReady']?_0x403ba3:(_0x4661c1&&_0x4661c1({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x2a10ea});}var _0xc3111c=class{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x3b4978,{baseCDN:t=_0x5c18ab,fileName:_0x2aee44}={}){let {uuid:_0x33bd92,s3Bucket:_0x2ef740}=_0x3b4978,_0x5ccfd3=t$(t,_0x33bd92+'/'),_0x11f3d5=_0x2ef740?t$('https://'+_0x2ef740+'.s3.amazonaws.com/',_0x33bd92+'/'+_0x3b4978['filename']):null;this['uuid']=_0x33bd92,this['name']=_0x2aee44||_0x3b4978['filename'],this['size']=_0x3b4978['size'],this['isStored']=_0x3b4978['isStored'],this['isImage']=_0x3b4978['isImage'],this['mimeType']=_0x3b4978['mimeType'],this['cdnUrl']=_0x5ccfd3,this['originalFilename']=_0x3b4978['originalFilename'],this['imageInfo']=_0x3b4978['imageInfo'],this['videoInfo']=_0x3b4978['videoInfo'],this['contentInfo']=_0x3b4978['contentInfo'],this['metadata']=_0x3b4978['metadata']||null,this['s3Bucket']=_0x2ef740||null,this['s3Url']=_0x11f3d5,function(_0x1353c9){return'defaultEffects'in _0x1353c9;}(_0x3b4978)&&(this['defaultEffects']=_0x3b4978['defaultEffects']);}},_0x411e73=(_0x2099e4,{publicKey:_0x20a001,fileName:t,baseURL:_0x4014fd,secureSignature:_0x3e96c5,secureExpire:_0x5b8f63,store:_0x2b2b83,contentType:_0x7a4640,signal:_0x3706b6,onProgress:_0x537947,source:_0x312ae2,integration:_0x17a6cd,userAgent:_0x256d57,retryThrottledRequestMaxTimes:_0x1ae061,retryNetworkErrorMaxTimes:_0x48fa11,baseCDN:_0x3943bd,metadata:_0x1d02db})=>function(_0x1bf688,{publicKey:_0x402e0c,fileName:t,contentType:_0x2e1cb5,baseURL:_0x58e88e=_0x4b1295,secureSignature:_0x33f236,secureExpire:_0x1f10c2,store:_0x13c1f4,signal:_0x3d1c32,onProgress:_0x18ed73,source:_0x479299='local',integration:_0x46a1b8,userAgent:_0x2c87cf,retryThrottledRequestMaxTimes:_0x2882b1=_0xaf0fc2,retryNetworkErrorMaxTimes:_0x4bbf65=_0x429f8d,metadata:_0x34d26a}){return _0x9e15be(()=>_0xb678c({'method':'POST','url':t$(_0x58e88e,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x21ddf3({'publicKey':_0x402e0c,'integration':_0x46a1b8,'userAgent':_0x2c87cf})},'data':_0x300b5f({'file':{'data':_0x1bf688,'name':t||_0x4b0c1e(_0x1bf688),'contentType':_0x2e1cb5||_0x463d12(_0x1bf688)},'UPLOADCARE_PUB_KEY':_0x402e0c,'UPLOADCARE_STORE':_0x557b7c(_0x13c1f4),'signature':_0x33f236,'expire':_0x1f10c2,'source':_0x479299,'metadata':_0x34d26a}),'signal':_0x3d1c32,'onProgress':_0x18ed73})['then'](({data:_0xf83036,headers:_0x1b83f3,request:_0x12a566})=>{let _0xa82d19=_0x4e129c(JSON['parse'](_0xf83036));if('error'in _0xa82d19)throw new _0x5dc2e5(_0xa82d19['error']['content'],_0xa82d19['error']['errorCode'],_0x12a566,_0xa82d19,_0x1b83f3);return _0xa82d19;}),{'retryNetworkErrorMaxTimes':_0x4bbf65,'retryThrottledRequestMaxTimes':_0x2882b1});}(_0x2099e4,{'publicKey':_0x20a001,'fileName':t,'contentType':_0x7a4640,'baseURL':_0x4014fd,'secureSignature':_0x3e96c5,'secureExpire':_0x5b8f63,'store':_0x2b2b83,'signal':_0x3706b6,'onProgress':_0x537947,'source':_0x312ae2,'integration':_0x17a6cd,'userAgent':_0x256d57,'retryThrottledRequestMaxTimes':_0x1ae061,'retryNetworkErrorMaxTimes':_0x48fa11,'metadata':_0x1d02db})['then'](({file:_0x21799a})=>_0x3bd9f6(_0x21799a,{'publicKey':_0x20a001,'baseURL':_0x4014fd,'source':_0x312ae2,'integration':_0x17a6cd,'userAgent':_0x256d57,'retryThrottledRequestMaxTimes':_0x1ae061,'retryNetworkErrorMaxTimes':_0x48fa11,'onProgress':_0x537947,'signal':_0x3706b6}))['then'](_0x14d0f6=>new _0xc3111c(_0x14d0f6,{'baseCDN':_0x3943bd})),_0x4e4030=(_0x3b95b9,{signal:_0x5d1391}={})=>{let t=null,_0x521873=null,_0x19c85c=_0x3b95b9['map'](()=>new AbortController());return _0x371073(_0x5d1391,()=>{_0x19c85c['forEach'](_0x19fcfa=>_0x19fcfa['abort']());}),Promise['all'](_0x3b95b9['map']((_0x5cdfaa,_0x33457f)=>{let _0x5bf248=(_0x2d0032=>()=>{_0x521873=_0x2d0032,_0x19c85c['forEach']((_0x513d09,_0x3300f7)=>_0x3300f7!==_0x2d0032&&_0x513d09['abort']());})(_0x33457f);return Promise['resolve']()['then'](()=>_0x5cdfaa({'stopRace':_0x5bf248,'signal':_0x19c85c[_0x33457f]['signal']}))['then'](_0x5093cb=>(_0x5bf248(),_0x5093cb))['catch'](_0x2e36b9=>(t=_0x2e36b9,null));}))['then'](_0x201e15=>{if(null===_0x521873)throw t;return _0x201e15[_0x521873];});},_0x10f62d=window['WebSocket'],_0x511ddb=class{['events']=Object['create']({});['emit'](_0xc5987a,t){this['events'][_0xc5987a]?.['forEach'](_0x44e107=>_0x44e107(t));}['on'](_0x3ebaf2,t){this['events'][_0x3ebaf2]=this['events'][_0x3ebaf2]||[],this['events'][_0x3ebaf2]['push'](t);}['off'](_0x59a2c2,t){this['events'][_0x59a2c2]=t?this['events'][_0x59a2c2]['filter'](_0x2dc51c=>_0x2dc51c!==t):[];}},_0x3048e3=class{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new _0x511ddb();['disconnectTimeoutId']=null;constructor(_0x3215e4,t=0x7530){this['key']=_0x3215e4,this['disconnectTime']=t;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){let _0x5ba452='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new _0x10f62d(_0x5ba452),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 _0x59533a=JSON['parse'](t['data']['toString']());switch(_0x59533a['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'](_0x59533a['channel'],((_0x4eb728,_0x2968bf)=>'success'===_0x4eb728?{'status':_0x5592a4['Success'],..._0x2968bf}:'progress'===_0x4eb728?{'status':_0x5592a4['Progress'],..._0x2968bf}:{'status':_0x5592a4['Error'],..._0x2968bf})(_0x59533a['event'],JSON['parse'](_0x59533a['data'])));}});}}['disconnect'](){let _0x1a4543=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x1a4543();},this['disconnectTime']):_0x1a4543();}['send'](_0x32a386,t){let _0x45f01c=JSON['stringify']({'event':_0x32a386,'data':t});this['ws']?.['send'](_0x45f01c);}['subscribe'](_0x53bfd4,t){this['subscribers']+=0x1,this['connect']();let _0x585663='task-status-'+_0x53bfd4,_0x54553c={'event':'pusher:subscribe','data':{'channel':_0x585663}};this['emmitter']['on'](_0x585663,t),this['isConnected']?this['send'](_0x54553c['event'],_0x54553c['data']):this['queue']['push'](_0x54553c);}['unsubscribe'](_0x46d709){this['subscribers']-=0x1;let t='task-status-'+_0x46d709,_0x538056={'event':'pusher:unsubscribe','data':{'channel':t}};this['emmitter']['off'](t),this['isConnected']?this['send'](_0x538056['event'],_0x538056['data']):this['queue']=this['queue']['filter'](_0x2c3e77=>_0x2c3e77['data']['channel']!==t),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x43b19c){return this['emmitter']['on']('error',_0x43b19c),()=>this['emmitter']['off']('error',_0x43b19c);}},_0x57de64=null,_0x2a94cb=_0x2e0a5d=>{if(!_0x57de64){let _0x3c9b7b=typeof window>'u'?0x0:0x7530;_0x57de64=new _0x3048e3(_0x2e0a5d,_0x3c9b7b);}return _0x57de64;},_0x3e0004=(_0x508895,{publicKey:_0x1aac4a,fileName:t,baseURL:_0x1c0180,baseCDN:_0x7d1730,checkForUrlDuplicates:_0x385a8c,saveUrlForRecurrentUploads:_0x2123c7,secureSignature:_0x52a855,secureExpire:_0x5b7f26,store:_0x11969b,signal:_0x970f1a,onProgress:_0x3226fa,source:_0x3f7ee1,integration:_0xaf2fd6,userAgent:_0x1b8759,retryThrottledRequestMaxTimes:_0x411594,pusherKey:_0x192ff5=_0x28093a,metadata:_0x125270})=>Promise['resolve']((_0x58351d=>{_0x2a94cb(_0x58351d)['connect']();})(_0x192ff5))['then'](()=>function(_0x1a4a63,{publicKey:_0x1a45ce,baseURL:t=_0x4b1295,store:_0x2d294d,fileName:_0x2deb2d,checkForUrlDuplicates:_0x79a1ff,saveUrlForRecurrentUploads:_0x5a0206,secureSignature:_0x210a71,secureExpire:_0x992509,source:_0x563a4f='url',signal:_0x2331e7,integration:_0x24e39f,userAgent:_0x544736,retryThrottledRequestMaxTimes:_0x17c38b=_0xaf0fc2,retryNetworkErrorMaxTimes:_0x24192f=_0x429f8d,metadata:_0x9cffa3}){return _0x9e15be(()=>_0xb678c({'method':'POST','headers':{'X-UC-User-Agent':_0x21ddf3({'publicKey':_0x1a45ce,'integration':_0x24e39f,'userAgent':_0x544736})},'url':t$(t,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x1a45ce,'source_url':_0x1a4a63,'store':_0x557b7c(_0x2d294d),'filename':_0x2deb2d,'check_URL_duplicates':_0x79a1ff?0x1:void 0x0,'save_URL_duplicates':_0x5a0206?0x1:void 0x0,'signature':_0x210a71,'expire':_0x992509,'source':_0x563a4f,'metadata':_0x9cffa3}),'signal':_0x2331e7})['then'](({data:_0x3cc5af,headers:_0x427fcb,request:_0x1c6ca8})=>{let _0x210739=_0x4e129c(JSON['parse'](_0x3cc5af));if('error'in _0x210739)throw new _0x5dc2e5(_0x210739['error']['content'],_0x210739['error']['errorCode'],_0x1c6ca8,_0x210739,_0x427fcb);return _0x210739;}),{'retryNetworkErrorMaxTimes':_0x24192f,'retryThrottledRequestMaxTimes':_0x17c38b});}(_0x508895,{'publicKey':_0x1aac4a,'fileName':t,'baseURL':_0x1c0180,'checkForUrlDuplicates':_0x385a8c,'saveUrlForRecurrentUploads':_0x2123c7,'secureSignature':_0x52a855,'secureExpire':_0x5b7f26,'store':_0x11969b,'signal':_0x970f1a,'source':_0x3f7ee1,'integration':_0xaf2fd6,'userAgent':_0x1b8759,'retryThrottledRequestMaxTimes':_0x411594,'metadata':_0x125270}))['catch'](_0x4d93f5=>(_0x2a94cb(_0x192ff5)?.['disconnect'](),Promise['reject'](_0x4d93f5)))['then'](_0x180d33=>_0x180d33['type']===_0x59d1c7['FileInfo']?_0x180d33:_0x4e4030([({signal:_0x519f89})=>function({token:_0xd9ec0f,publicKey:_0x25b127,baseURL:t,integration:_0x17ef45,userAgent:_0x5575f8,retryThrottledRequestMaxTimes:_0x2025b5,retryNetworkErrorMaxTimes:_0x3fbf23,onProgress:_0x39000e,signal:_0x217322}){return _0xe2106f({'check':_0x3477fd=>_0x158192(_0xd9ec0f,{'publicKey':_0x25b127,'baseURL':t,'integration':_0x17ef45,'userAgent':_0x5575f8,'retryThrottledRequestMaxTimes':_0x2025b5,'retryNetworkErrorMaxTimes':_0x3fbf23,'signal':_0x3477fd})['then'](_0x270390=>{switch(_0x270390['status']){case _0x5592a4['Error']:return new _0x5dc2e5(_0x270390['error'],_0x270390['errorCode']);case _0x5592a4['Waiting']:return!0x1;case _0x5592a4['Unknown']:return new _0x5dc2e5('Token\x20\x22'+_0xd9ec0f+'\x22\x20was\x20not\x20found.');case _0x5592a4['Progress']:return _0x39000e&&('unknown'===_0x270390['total']?_0x39000e({'isComputable':!0x1}):_0x39000e({'isComputable':!0x0,'value':_0x270390['done']/_0x270390['total']})),!0x1;case _0x5592a4['Success']:return _0x39000e&&_0x39000e({'isComputable':!0x0,'value':_0x270390['done']/_0x270390['total']}),_0x270390;default:throw new Error('Unknown\x20status');}}),'signal':_0x217322});}({'token':_0x180d33['token'],'publicKey':_0x1aac4a,'baseURL':_0x1c0180,'integration':_0xaf2fd6,'userAgent':_0x1b8759,'retryThrottledRequestMaxTimes':_0x411594,'onProgress':_0x3226fa,'signal':_0x519f89}),({signal:_0x114268})=>(({token:_0x73413d,pusherKey:_0x3fbcc4,signal:t,onProgress:_0xe9f73b})=>new Promise((_0x31d6e4,_0x2f847c)=>{let _0x580352=_0x2a94cb(_0x3fbcc4),_0x1c9aba=_0x580352['onError'](_0x2f847c),_0x1e0f1a=()=>{_0x1c9aba(),_0x580352['unsubscribe'](_0x73413d);};_0x371073(t,()=>{_0x1e0f1a(),_0x2f847c(new _0x32fa83('pusher\x20cancelled'));}),_0x580352['subscribe'](_0x73413d,_0x2e0666=>{switch(_0x2e0666['status']){case _0x5592a4['Progress']:_0xe9f73b&&('unknown'===_0x2e0666['total']?_0xe9f73b({'isComputable':!0x1}):_0xe9f73b({'isComputable':!0x0,'value':_0x2e0666['done']/_0x2e0666['total']}));break;case _0x5592a4['Success']:_0x1e0f1a(),_0xe9f73b&&_0xe9f73b({'isComputable':!0x0,'value':_0x2e0666['done']/_0x2e0666['total']}),_0x31d6e4(_0x2e0666);break;case _0x5592a4['Error']:_0x1e0f1a(),_0x2f847c(new _0x5dc2e5(_0x2e0666['msg'],_0x2e0666['error_code']));}});}))({'token':_0x180d33['token'],'pusherKey':_0x192ff5,'signal':_0x114268,'onProgress':_0x3226fa})],{'signal':_0x970f1a}))['then'](_0x4a8431=>{if(_0x4a8431 instanceof _0x5dc2e5)throw _0x4a8431;return _0x4a8431;})['then'](_0x3129f2=>_0x3bd9f6(_0x3129f2['uuid'],{'publicKey':_0x1aac4a,'baseURL':_0x1c0180,'integration':_0xaf2fd6,'userAgent':_0x1b8759,'retryThrottledRequestMaxTimes':_0x411594,'onProgress':_0x3226fa,'signal':_0x970f1a}))['then'](_0x525bf1=>new _0xc3111c(_0x525bf1,{'baseCDN':_0x7d1730})),_0x4d2e26=new WeakMap(),_0x11d8dd=async _0xd78195=>{if(_0x470193(_0xd78195)||_0x55ff0c(_0xd78195))return _0xd78195['size'];if(_0x275b05(_0xd78195))return(await(async _0x2f6b82=>{if(_0x4d2e26['has'](_0x2f6b82))return _0x4d2e26['get'](_0x2f6b82);let _0x149f00=await fetch(_0x2f6b82['uri'])['then'](t=>t['blob']());return _0x4d2e26['set'](_0x2f6b82,_0x149f00),_0x149f00;})(_0xd78195))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},_0x2f2b1f=_0x3db2d9=>{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!_0x3edd96(_0x3db2d9)&&t['test'](_0x3db2d9);},_0x5c4aec=_0x878b07=>{let t=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!_0x3edd96(_0x878b07)&&t['test'](_0x878b07);},_0x27e5fc=(_0x354e84,_0x380a77)=>new Promise((t,_0x4000c6)=>{let _0x1dcc7a=[],_0x4a2e20=!0x1,_0x3da74b=_0x380a77['length'],_0x407e7f=[..._0x380a77],_0xae44f4=()=>{let _0x161812=_0x380a77['length']-_0x407e7f['length'],_0x5aaf74=_0x407e7f['shift']();_0x5aaf74&&_0x5aaf74()['then'](_0xc3d40b=>{_0x4a2e20||(_0x1dcc7a[_0x161812]=_0xc3d40b,_0x3da74b-=0x1,_0x3da74b?_0xae44f4():t(_0x1dcc7a));})['catch'](_0x1be660=>{_0x4a2e20=!0x0,_0x4000c6(_0x1be660);});};for(let _0x2dab29=0x0;_0x2dab29<_0x354e84;_0x2dab29++)_0xae44f4();}),_0x57265a=async(_0x4acffe,_0x40582f,t)=>_0x429022=>((_0x51a416,_0x338e94,t,_0x3d27cd)=>{let _0x4c3ea1=_0x3d27cd*_0x338e94,_0x4e46ac=Math['min'](_0x4c3ea1+_0x3d27cd,t);return _0x51a416['slice'](_0x4c3ea1,_0x4e46ac);})(_0x4acffe,_0x429022,_0x40582f,t),_0x9f014c=(_0x377e39,_0x3954db,{publicKey:t,contentType:_0x53e610,onProgress:_0x186b31,signal:_0x18408e,integration:_0x2b2f58,retryThrottledRequestMaxTimes:_0x2321cd,retryNetworkErrorMaxTimes:_0x37caa5})=>function(_0x52ae09,_0x8cfc81,{contentType:t,signal:_0x32e133,onProgress:_0x26fb6f,retryThrottledRequestMaxTimes:_0x3e82c2=_0xaf0fc2,retryNetworkErrorMaxTimes:_0x406a62=_0x429f8d}){return _0x9e15be(()=>_0xb678c({'method':'PUT','url':_0x8cfc81,'data':_0x52ae09,'onProgress':_0x26fb6f,'signal':_0x32e133,'headers':{'Content-Type':t||_0x2b42f5}})['then'](_0x5d738b=>(_0x26fb6f&&_0x26fb6f({'isComputable':!0x0,'value':0x1}),_0x5d738b))['then'](({status:_0x296366})=>({'code':_0x296366})),{'retryThrottledRequestMaxTimes':_0x3e82c2,'retryNetworkErrorMaxTimes':_0x406a62});}(_0x377e39,_0x3954db,{'contentType':_0x53e610,'onProgress':_0x186b31,'signal':_0x18408e,'retryThrottledRequestMaxTimes':_0x2321cd,'retryNetworkErrorMaxTimes':_0x37caa5}),_0x3d59c1=async(_0x1ce382,{publicKey:_0x5b3456,fileName:t,fileSize:_0x3929b7,baseURL:_0x3a10fb,secureSignature:_0x56c2bc,secureExpire:_0x3e61fc,store:_0x10f787,signal:_0x25aa53,onProgress:_0x17c1f0,source:_0x15d792,integration:_0x27d9dd,userAgent:_0x678d7e,retryThrottledRequestMaxTimes:_0x4f1b11,retryNetworkErrorMaxTimes:_0xf7f189,contentType:_0x30c56a,multipartChunkSize:_0x555856=_0x4eb72d,maxConcurrentRequests:_0x332aac=_0xe668c2,baseCDN:_0x328c0d,metadata:_0x2c8b3c})=>{let _0x150424,_0xc4624d=_0x3929b7??await _0x11d8dd(_0x1ce382),_0x1aba02=(_0x2152b4,_0x52f347)=>{if(!_0x17c1f0)return;_0x150424||(_0x150424=Array(_0x2152b4)['fill'](0x0));let _0x3d2583=_0x1f249b=>_0x1f249b['reduce']((_0x40f5f5,_0x484235)=>_0x40f5f5+_0x484235,0x0);return _0x207d50=>{_0x207d50['isComputable']&&(_0x150424[_0x52f347]=_0x207d50['value'],_0x17c1f0({'isComputable':!0x0,'value':_0x3d2583(_0x150424)/_0x2152b4}));};};return _0x30c56a||=_0x463d12(_0x1ce382),function(_0x4cd9c2,{publicKey:_0x3d251e,contentType:t,fileName:_0x4e4d09,multipartChunkSize:_0x1fcfd8=_0x4eb72d,baseURL:_0x13f512='',secureSignature:_0x99ca1a,secureExpire:_0x48fc51,store:_0x4e7dc5,signal:_0x11bb0d,source:_0x387223='local',integration:_0x214618,userAgent:_0x4d1418,retryThrottledRequestMaxTimes:_0x56924b=_0xaf0fc2,retryNetworkErrorMaxTimes:_0x2ed057=_0x429f8d,metadata:_0x3b81ef}){return _0x9e15be(()=>_0xb678c({'method':'POST','url':t$(_0x13f512,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x21ddf3({'publicKey':_0x3d251e,'integration':_0x214618,'userAgent':_0x4d1418})},'data':_0x300b5f({'filename':_0x4e4d09,'size':_0x4cd9c2,'content_type':t||_0x2b42f5,'part_size':_0x1fcfd8,'UPLOADCARE_STORE':_0x557b7c(_0x4e7dc5),'UPLOADCARE_PUB_KEY':_0x3d251e,'signature':_0x99ca1a,'expire':_0x48fc51,'source':_0x387223,'metadata':_0x3b81ef}),'signal':_0x11bb0d})['then'](({data:_0x4bf6a5,headers:_0x304762,request:_0x3df7ad})=>{let _0x193331=_0x4e129c(JSON['parse'](_0x4bf6a5));if('error'in _0x193331)throw new _0x5dc2e5(_0x193331['error']['content'],_0x193331['error']['errorCode'],_0x3df7ad,_0x193331,_0x304762);return _0x193331['parts']=Object['keys'](_0x193331['parts'])['map'](_0x35e16c=>_0x193331['parts'][Number(_0x35e16c)]),_0x193331;}),{'retryThrottledRequestMaxTimes':_0x56924b,'retryNetworkErrorMaxTimes':_0x2ed057});}(_0xc4624d,{'publicKey':_0x5b3456,'contentType':_0x30c56a,'fileName':t||_0x4b0c1e(_0x1ce382),'baseURL':_0x3a10fb,'secureSignature':_0x56c2bc,'secureExpire':_0x3e61fc,'store':_0x10f787,'signal':_0x25aa53,'source':_0x15d792,'integration':_0x27d9dd,'userAgent':_0x678d7e,'retryThrottledRequestMaxTimes':_0x4f1b11,'retryNetworkErrorMaxTimes':_0xf7f189,'metadata':_0x2c8b3c,'multipartChunkSize':_0x555856})['then'](async({uuid:_0x410a62,parts:_0x528d22})=>{let _0x473006=await _0x57265a(_0x1ce382,_0xc4624d,_0x555856);return Promise['all']([_0x410a62,_0x27e5fc(_0x332aac,_0x528d22['map']((_0xbd0ad4,_0x432c01)=>()=>_0x9f014c(_0x473006(_0x432c01),_0xbd0ad4,{'publicKey':_0x5b3456,'contentType':_0x30c56a,'onProgress':_0x1aba02(_0x528d22['length'],_0x432c01),'signal':_0x25aa53,'integration':_0x27d9dd,'retryThrottledRequestMaxTimes':_0x4f1b11,'retryNetworkErrorMaxTimes':_0xf7f189})))]);})['then'](([_0x19e471])=>function(_0x882b28,{publicKey:_0xeea52f,baseURL:t=_0x4b1295,source:_0x1cddbb='local',signal:_0x44ad12,integration:_0xa4da6a,userAgent:_0x5488ce,retryThrottledRequestMaxTimes:_0x4a8703=_0xaf0fc2,retryNetworkErrorMaxTimes:_0x43f762=_0x429f8d}){return _0x9e15be(()=>_0xb678c({'method':'POST','url':t$(t,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x21ddf3({'publicKey':_0xeea52f,'integration':_0xa4da6a,'userAgent':_0x5488ce})},'data':_0x300b5f({'uuid':_0x882b28,'UPLOADCARE_PUB_KEY':_0xeea52f,'source':_0x1cddbb}),'signal':_0x44ad12})['then'](({data:_0x5e5bc8,headers:_0x122686,request:_0x3d0a9c})=>{let _0x5b723f=_0x4e129c(JSON['parse'](_0x5e5bc8));if('error'in _0x5b723f)throw new _0x5dc2e5(_0x5b723f['error']['content'],_0x5b723f['error']['errorCode'],_0x3d0a9c,_0x5b723f,_0x122686);return _0x5b723f;}),{'retryThrottledRequestMaxTimes':_0x4a8703,'retryNetworkErrorMaxTimes':_0x43f762});}(_0x19e471,{'publicKey':_0x5b3456,'baseURL':_0x3a10fb,'source':_0x15d792,'integration':_0x27d9dd,'userAgent':_0x678d7e,'retryThrottledRequestMaxTimes':_0x4f1b11,'retryNetworkErrorMaxTimes':_0xf7f189}))['then'](_0x20a61a=>_0x20a61a['isReady']?_0x20a61a:_0x3bd9f6(_0x20a61a['uuid'],{'publicKey':_0x5b3456,'baseURL':_0x3a10fb,'source':_0x15d792,'integration':_0x27d9dd,'userAgent':_0x678d7e,'retryThrottledRequestMaxTimes':_0x4f1b11,'retryNetworkErrorMaxTimes':_0xf7f189,'onProgress':_0x17c1f0,'signal':_0x25aa53}))['then'](_0x2395b7=>new _0xc3111c(_0x2395b7,{'baseCDN':_0x328c0d}));};async function _0xe2d8b0(_0x560129,{publicKey:_0xffbd4d,fileName:t,baseURL:_0x2c3c3a=_0x4b1295,secureSignature:_0x2b0ede,secureExpire:_0x5afe75,store:_0x3dcc18,signal:_0x2248b1,onProgress:_0x47d071,source:_0x2e52bd,integration:_0x1268bc,userAgent:_0x127144,retryThrottledRequestMaxTimes:_0x4b6759,retryNetworkErrorMaxTimes:_0x1720d4,contentType:_0x3b3509,multipartMinFileSize:_0x266ba1,multipartChunkSize:_0x425a5e,maxConcurrentRequests:_0x519cbb,baseCDN:_0x1fae24=_0x5c18ab,checkForUrlDuplicates:_0x1cac76,saveUrlForRecurrentUploads:_0x297135,pusherKey:_0x5adf4f,metadata:_0x3b30fd}){if(_0x3edd96(_0x560129)){let _0x4f86f9=await _0x11d8dd(_0x560129);return((_0xdb6fb1,_0x5d7ca3=_0x497323)=>_0xdb6fb1>=_0x5d7ca3)(_0x4f86f9,_0x266ba1)?_0x3d59c1(_0x560129,{'publicKey':_0xffbd4d,'contentType':_0x3b3509,'multipartChunkSize':_0x425a5e,'fileSize':_0x4f86f9,'fileName':t,'baseURL':_0x2c3c3a,'secureSignature':_0x2b0ede,'secureExpire':_0x5afe75,'store':_0x3dcc18,'signal':_0x2248b1,'onProgress':_0x47d071,'source':_0x2e52bd,'integration':_0x1268bc,'userAgent':_0x127144,'maxConcurrentRequests':_0x519cbb,'retryThrottledRequestMaxTimes':_0x4b6759,'retryNetworkErrorMaxTimes':_0x1720d4,'baseCDN':_0x1fae24,'metadata':_0x3b30fd}):_0x411e73(_0x560129,{'publicKey':_0xffbd4d,'fileName':t,'contentType':_0x3b3509,'baseURL':_0x2c3c3a,'secureSignature':_0x2b0ede,'secureExpire':_0x5afe75,'store':_0x3dcc18,'signal':_0x2248b1,'onProgress':_0x47d071,'source':_0x2e52bd,'integration':_0x1268bc,'userAgent':_0x127144,'retryThrottledRequestMaxTimes':_0x4b6759,'retryNetworkErrorMaxTimes':_0x1720d4,'baseCDN':_0x1fae24,'metadata':_0x3b30fd});}if(_0x5c4aec(_0x560129))return _0x3e0004(_0x560129,{'publicKey':_0xffbd4d,'fileName':t,'baseURL':_0x2c3c3a,'baseCDN':_0x1fae24,'checkForUrlDuplicates':_0x1cac76,'saveUrlForRecurrentUploads':_0x297135,'secureSignature':_0x2b0ede,'secureExpire':_0x5afe75,'store':_0x3dcc18,'signal':_0x2248b1,'onProgress':_0x47d071,'source':_0x2e52bd,'integration':_0x1268bc,'userAgent':_0x127144,'retryThrottledRequestMaxTimes':_0x4b6759,'pusherKey':_0x5adf4f,'metadata':_0x3b30fd});if(_0x2f2b1f(_0x560129))return((_0x2a8298,{publicKey:_0x3a2fce,fileName:t,baseURL:_0x2d037a,signal:_0x124e6e,onProgress:_0x13fab4,source:_0x45d2f8,integration:_0x5c9d1e,userAgent:_0x3743f9,retryThrottledRequestMaxTimes:_0x44ad3c,retryNetworkErrorMaxTimes:_0xdc8acb,baseCDN:_0x5e2734})=>_0x1bb7f9(_0x2a8298,{'publicKey':_0x3a2fce,'baseURL':_0x2d037a,'signal':_0x124e6e,'source':_0x45d2f8,'integration':_0x5c9d1e,'userAgent':_0x3743f9,'retryThrottledRequestMaxTimes':_0x44ad3c,'retryNetworkErrorMaxTimes':_0xdc8acb})['then'](_0x34781a=>new _0xc3111c(_0x34781a,{'baseCDN':_0x5e2734,'fileName':t}))['then'](_0x1f214a=>(_0x13fab4&&_0x13fab4({'isComputable':!0x0,'value':0x1}),_0x1f214a)))(_0x560129,{'publicKey':_0xffbd4d,'fileName':t,'baseURL':_0x2c3c3a,'signal':_0x2248b1,'onProgress':_0x47d071,'source':_0x2e52bd,'integration':_0x1268bc,'userAgent':_0x127144,'retryThrottledRequestMaxTimes':_0x4b6759,'retryNetworkErrorMaxTimes':_0x1720d4,'baseCDN':_0x1fae24});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x560129+'\x22\x20is\x20not\x20supported');}var _0x439d8a=class{['uuid'];['filesCount'];['totalSize'];['isStored'];['isImage'];['cdnUrl'];['files'];['createdAt'];['storedAt']=null;constructor(_0x27bd4d,{baseCDN:t=_0x5c18ab}={}){this['uuid']=_0x27bd4d['id'],this['filesCount']=_0x27bd4d['filesCount'];let _0xf1bff5=_0x27bd4d['files']['filter'](Boolean);this['totalSize']=Object['values'](_0xf1bff5)['reduce']((_0x8182fc,_0x997d8b)=>_0x8182fc+_0x997d8b['size'],0x0),this['isStored']=!!_0x27bd4d['datetimeStored'],this['isImage']=!!Object['values'](_0xf1bff5)['filter'](_0x18c841=>_0x18c841['isImage'])['length'],this['cdnUrl']=((_0x18c30e,_0x490804)=>{try{let t=new URL(_0x18c30e),_0x441e01=new URL(_0x490804);return t['protocol']=_0x441e01['protocol'],t['hostname']=_0x441e01['hostname'],t['port']=_0x441e01['port'],t['toString']();}catch{return _0x18c30e;}})(_0x27bd4d['cdnUrl'],t),this['files']=_0xf1bff5['map'](_0x21f489=>new _0xc3111c(_0x21f489,{'baseCDN':t})),this['createdAt']=_0x27bd4d['datetimeCreated'],this['storedAt']=_0x27bd4d['datetimeStored'];}};function _0x5123ed(_0x4fada7,{publicKey:_0x300679,fileName:t,baseURL:_0x4705de=_0x4b1295,secureSignature:_0xb4716d,secureExpire:_0x5563b2,store:_0x19db3f,signal:_0xe73ab7,onProgress:_0x2fd397,source:_0x402c0c,integration:_0x23b2bc,userAgent:_0x5608a0,retryThrottledRequestMaxTimes:_0x122cd1,retryNetworkErrorMaxTimes:_0x40e671,contentType:_0x1e17ce,multipartChunkSize:_0x10e2a9=_0x4eb72d,baseCDN:_0x5e9eef=_0x5c18ab,checkForUrlDuplicates:_0x245ea6,saveUrlForRecurrentUploads:_0xccca5a,jsonpCallback:_0x19149e}){if(!(_0xa1df16=>{for(let _0x4361b6 of _0xa1df16)if(!_0x3edd96(_0x4361b6))return!0x1;return!0x0;})(_0x4fada7)&&!(_0x5ccffe=>{for(let _0x262757 of _0x5ccffe)if(!_0x5c4aec(_0x262757))return!0x1;return!0x0;})(_0x4fada7)&&!(_0x5edd3a=>{for(let _0x5eead8 of _0x5edd3a)if(!_0x2f2b1f(_0x5eead8))return!0x1;return!0x0;})(_0x4fada7))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0x4fada7+'\x22\x20is\x20not\x20supported');let _0x23271b,_0x3727f2=!0x0,_0x57c326=_0x4fada7['length'],_0x157675=(_0x41332e,_0x194c4e)=>{if(!_0x2fd397)return;_0x23271b||(_0x23271b=Array(_0x41332e)['fill'](0x0));let _0x4ad259=_0x4f5b96=>_0x4f5b96['reduce']((_0x45873f,_0x4aa579)=>_0x45873f+_0x4aa579)/_0x41332e;return _0x1354f7=>{if(!_0x1354f7['isComputable']||!_0x3727f2)return _0x3727f2=!0x1,void _0x2fd397({'isComputable':!0x1});_0x23271b[_0x194c4e]=_0x1354f7['value'],_0x2fd397({'isComputable':!0x0,'value':_0x4ad259(_0x23271b)});};};return Promise['all'](_0x4fada7['map']((_0x3ab6ee,_0x8044d7)=>_0x3edd96(_0x3ab6ee)||_0x5c4aec(_0x3ab6ee)?_0xe2d8b0(_0x3ab6ee,{'publicKey':_0x300679,'fileName':t,'baseURL':_0x4705de,'secureSignature':_0xb4716d,'secureExpire':_0x5563b2,'store':_0x19db3f,'signal':_0xe73ab7,'onProgress':_0x157675(_0x57c326,_0x8044d7),'source':_0x402c0c,'integration':_0x23b2bc,'userAgent':_0x5608a0,'retryThrottledRequestMaxTimes':_0x122cd1,'retryNetworkErrorMaxTimes':_0x40e671,'contentType':_0x1e17ce,'multipartChunkSize':_0x10e2a9,'baseCDN':_0x5e9eef,'checkForUrlDuplicates':_0x245ea6,'saveUrlForRecurrentUploads':_0xccca5a})['then'](_0xca3ac2=>_0xca3ac2['uuid']):_0x3ab6ee))['then'](_0x33c6fc=>function(_0x4fd05f,{publicKey:_0x554c5e,baseURL:t=_0x4b1295,jsonpCallback:_0x1f3569,secureSignature:_0x39e7be,secureExpire:_0x173584,signal:_0x23b91e,source:_0x5774b9,integration:_0x1a19bc,userAgent:_0x4a5afb,retryThrottledRequestMaxTimes:_0x58b259=_0xaf0fc2,retryNetworkErrorMaxTimes:_0xe50c10=_0x429f8d}){return _0x9e15be(()=>_0xb678c({'method':'POST','headers':{'X-UC-User-Agent':_0x21ddf3({'publicKey':_0x554c5e,'integration':_0x1a19bc,'userAgent':_0x4a5afb})},'url':t$(t,'/group/',{'jsonerrors':0x1}),'data':_0x300b5f({'files':_0x4fd05f,'callback':_0x1f3569,'pub_key':_0x554c5e,'signature':_0x39e7be,'expire':_0x173584,'source':_0x5774b9}),'signal':_0x23b91e})['then'](({data:_0x5cbc92,headers:_0xf3dbda,request:_0x4a1516})=>{let _0x120ada=_0x4e129c(JSON['parse'](_0x5cbc92));if('error'in _0x120ada)throw new _0x5dc2e5(_0x120ada['error']['content'],_0x120ada['error']['errorCode'],_0x4a1516,_0x120ada,_0xf3dbda);return _0x120ada;}),{'retryNetworkErrorMaxTimes':_0xe50c10,'retryThrottledRequestMaxTimes':_0x58b259});}(_0x33c6fc,{'publicKey':_0x300679,'baseURL':_0x4705de,'jsonpCallback':_0x19149e,'secureSignature':_0xb4716d,'secureExpire':_0x5563b2,'signal':_0xe73ab7,'source':_0x402c0c,'integration':_0x23b2bc,'userAgent':_0x5608a0,'retryThrottledRequestMaxTimes':_0x122cd1,'retryNetworkErrorMaxTimes':_0x40e671})['then'](_0xe152a8=>new _0x439d8a(_0xe152a8,{'baseCDN':_0x5e9eef}))['then'](_0x33953d=>(_0x2fd397&&_0x2fd397({'isComputable':!0x0,'value':0x1}),_0x33953d)));}var _0x2481fb=class{['Vi']=0x1;['io']=[];['_i']=0x0;['ro']=new Map();['oo']=new Map();constructor(_0x11ed45){this['Vi']=_0x11ed45;}['run'](){let _0x176aae=this['Vi']-this['_i'];for(let t=0x0;t<_0x176aae;t++){let _0x484dd2=this['io']['shift']();if(!_0x484dd2)return;let _0x278c6b=this['ro']['get'](_0x484dd2),_0x562b7a=this['oo']['get'](_0x484dd2);if(!_0x278c6b||!_0x562b7a)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_i']+=0x1,_0x484dd2()['finally'](()=>{this['ro']['delete'](_0x484dd2),this['oo']['delete'](_0x484dd2),this['_i']-=0x1,this['run']();})['then'](_0x719a1=>_0x278c6b(_0x719a1))['catch'](_0x4d473e=>_0x562b7a(_0x4d473e));}}['add'](_0x35dabb,{autoRun:t}={'autoRun':!0x0}){return new Promise((_0x2426ae,_0x9790a6)=>{this['ro']['set'](_0x35dabb,_0x2426ae),this['oo']['set'](_0x35dabb,_0x9790a6),this['io']['push'](_0x35dabb),t&&this['run']();});}get['pending'](){return this['io']['length'];}get['running'](){return this['_i'];}set['concurrency'](_0x344b61){this['Vi']=_0x344b61,this['run']();}get['concurrency'](){return this['Vi'];}},_0x523f5d=_0x34a50f=>({'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x34a50f['modalManager']?.['close'](_0x34a50f['$']['*currentActivity']),_0x34a50f['pub']('*currentActivity',null);}}),_0x8e3f47=_0x38065e=>({..._0x523f5d(_0x38065e),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new _0x2481fb(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set()}),_0x483bfa=Object['freeze']({'START_FROM':'start-from','CAMERA':'camera','UPLOAD_LIST':'upload-list','URL':'url','CLOUD_IMG_EDIT':'cloud-image-edit','EXTERNAL':'external'}),_0x5784f6=class extends _0x14b350{constructor(t){super(t),this['scopes']=new Set(),this['listener']=this['_c']['bind'](this),window['addEventListener']('paste',this['listener']);}['openUploadList'](){this['i']['api']['setCurrentActivity'](_0x483bfa['UPLOAD_LIST']),this['i']['api']['setModalState'](!0x0);}async['_c'](t){if(t['clipboardData']){for(let _0x4b5306 of this['scopes'])if(_0x4b5306['isConnected'])switch(this['ze']['pasteScope']){case'global':await this['handlePaste'](t);break;case'local':if(!_0x4b5306['contains'](t['target']))continue;await this['handlePaste'](t);break;default:continue;}}}async['handlePaste'](t){if(!t['clipboardData'])return;let _0xe6fee9=Array['from'](t['clipboardData']['items']),_0x57b8b8=_0xe6fee9['map'](_0x24118b=>_0x24118b['getAsFile']())['filter'](_0x268568=>null!==_0x268568),_0x4f2353=_0xe6fee9['filter'](_0xe66b75=>'string'===_0xe66b75['kind']&&'text/plain'===_0xe66b75['type'])['map'](_0x41b57f=>new Promise(_0x308116=>{_0x41b57f['getAsString'](_0x34e3e0=>{_0x308116(_0x34e3e0);});}));_0x57b8b8['length']>0x0&&(_0x57b8b8['forEach'](_0x391104=>{this['i']['api']['addFileFromObject'](_0x391104,{'source':'clipboard'});}),this['openUploadList']()),_0x4f2353['length']>0x0&&((await Promise['all'](_0x4f2353))['forEach'](_0x5ee375=>{this['i']['api']['addFileFromUrl'](_0x5ee375,{'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']();}},_0x1f1b16={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function _0x191efd(_0x6761fb,_0x5ec6c8){_0x5ec6c8['tabIndex']=0x0,_0x5ec6c8['focus'](),_0x6761fb['tabIndex']=-0x1;}function _0x56d913(_0x14bb84){let _0x451c0d=_0x14bb84['role']||_0x14bb84['type']||_0x14bb84['tagName'];if(!_0x451c0d)return null;let t=_0x1f1b16[_0x451c0d['toLowerCase']()];if(!t)return null;for(let _0x4d6173 of t){let _0xb85161=_0x14bb84['closest']('[role='+_0x4d6173+']');if(_0xb85161)return _0xb85161;}}function _0x404528(_0x5093b5,_0x50326f){return'toolbar'===_0x50326f['role']?function(_0x45bf30){return[..._0x45bf30['querySelectorAll']('*')]['filter'](t=>'button'===t['role']||'button'===t['type']||'checkbox'===t['role']||'checkbox'===t['type']);}(_0x50326f):_0x50326f['querySelectorAll']('[role='+_0x5093b5['role']+']');}function _0x362a2d(_0x1d5bc6){return _0x27336c=>{let t=!0x1,_0x3ba661=0x0,_0x173660='';function _0x56f3a6(_0xe9da7e){let _0x303fc8=_0x56d913(_0xe9da7e['target']);if(!_0x303fc8)return void _0x36f5d3();let _0x816d17=_0x404528(_0xe9da7e['target'],_0x303fc8),_0x5999d7=function(_0x34e665,_0x25eef8){return Array['from'](_0x34e665)['filter'](t=>{let _0x280e2f=t['parentElement'];for(;_0x280e2f&&_0x280e2f!==_0x25eef8;){if('true'===_0x280e2f['getAttribute']('aria-hidden'))return!0x1;_0x280e2f=_0x280e2f['parentElement'];}return!0x0;});}(_0x816d17,_0x303fc8),_0x2d5be1=Array['from'](_0x5999d7)['indexOf'](_0xe9da7e['target']),_0x38fbb0='ArrowDown',_0x4ca266='ArrowUp';if(function(_0x21fa4f){let _0x2435a4=_0x21fa4f['getAttribute']('aria-orientation');if('vertical'===_0x2435a4)return!0x1;if('horizontal'===_0x2435a4)return!0x0;let t=_0x21fa4f['role'];return'menubar'===t||'tablist'===t||'toolbar'===t;}(_0x303fc8)&&('rtl'===_0x27336c['document']['dir']?(_0x38fbb0='ArrowLeft',_0x4ca266='ArrowRight'):(_0x38fbb0='ArrowRight',_0x4ca266='ArrowLeft')),_0xe9da7e['key']===_0x38fbb0)_0xe9da7e['preventDefault'](),_0x191efd(_0xe9da7e['target'],_0x5999d7[_0x2d5be1+0x1]||_0x5999d7[0x0]);else{if(_0xe9da7e['key']===_0x4ca266)_0xe9da7e['preventDefault'](),_0x191efd(_0xe9da7e['target'],_0x5999d7[_0x2d5be1-0x1]||_0x5999d7[_0x5999d7['length']-0x1]);else{if('Home'===_0xe9da7e['key'])_0xe9da7e['preventDefault'](),_0x191efd(_0xe9da7e['target'],_0x5999d7[0x0]);else{if('End'===_0xe9da7e['key'])_0xe9da7e['preventDefault'](),_0x191efd(_0xe9da7e['target'],_0x5999d7[_0x5999d7['length']-0x1]);else{if(0x1===_0xe9da7e['key']['length']&&'tablist'!==_0x303fc8['role']){_0xe9da7e['timeStamp']-_0x3ba661<=0x12c?_0x173660+=_0xe9da7e['key']['toLowerCase']():_0x173660=_0xe9da7e['key']['toLowerCase'](),_0x3ba661=_0xe9da7e['timeStamp'];let _0x21f497=Array['from'](_0x816d17)['find'](_0x4e991a=>_0x4e991a['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0x173660));_0x21f497&&(_0xe9da7e['preventDefault'](),_0x191efd(_0xe9da7e['target'],_0x21f497));}}}}}}function _0x36f5d3(){t=!0x1,_0x27336c['removeEventListener']('keydown',_0x56f3a6);}function _0xc2da80(_0x3ad6e2){let _0x455882=_0x56d913(_0x3ad6e2['target']);if(_0x455882){t||(t=!0x0,_0x27336c['addEventListener']('keydown',_0x56f3a6));let _0x2b84f6=_0x404528(_0x3ad6e2['target'],_0x455882);for(let _0x54ca82 of _0x2b84f6)_0x54ca82!==_0x3ad6e2['target']&&_0x54ca82['setAttribute']('tabindex',-0x1);}else t&&_0x36f5d3();}function _0x5a2828(_0x8c9ce0){(!_0x8c9ce0['relatedTarget']||_0x8c9ce0['relatedTarget']===_0x27336c['document'])&&_0x36f5d3();}function _0x4c8763(_0x26f594){let _0x464ef7=_0x56d913(_0x26f594['target']);if(_0x464ef7){let _0x11bea4=_0x404528(_0x26f594['target'],_0x464ef7);for(let _0x287020 of _0x11bea4)_0x287020!==_0x26f594['target']&&_0x287020['setAttribute']('tabindex',-0x1);_0x26f594['target']['setAttribute']('tabindex',0x0);}}return _0x27336c['addEventListener']('click',_0x4c8763),_0x27336c['addEventListener']('focusin',_0xc2da80),_0x27336c['addEventListener']('focusout',_0x5a2828),()=>{_0x36f5d3(),_0x27336c['removeEventListener']('click',_0x4c8763),_0x27336c['removeEventListener']('focusin',_0xc2da80),_0x27336c['removeEventListener']('focusout',_0x5a2828);};};}function _0x3b2e2b(){return _0x58bf0b=>{let _0x5bd47d=[];function _0x55385f(){let _0x2cc5d3=_0x5bd47d['pop']();if(!_0x2cc5d3)return void _0x58bf0b['document']['activeElement']['blur']();let _0xbc8408=_0x2cc5d3['deref']();_0xbc8408&&_0xbc8408['isConnected']?_0xbc8408['focus']():_0x55385f();}let _0x2a330b,_0x5e53b9=0x0;function _0x4010c0(_0x571078){clearInterval(_0x2a330b);let _0x311222=_0x571078['getAttribute']('aria-controls');_0x2a330b=setInterval(()=>{if(_0x5e53b9++>0x32)return void clearInterval(_0x2a330b);let _0x2f075c=_0x58bf0b['document']['getElementById'](_0x311222);if(_0x2f075c){let _0x53006a=_0x2f075c['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x53006a&&(clearInterval(_0x2a330b),_0x2f075c['dispatchEvent'](new _0x58bf0b['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0x477d3a){let _0x2520f9=_0x58bf0b['document']['activeElement'];_0x2520f9&&_0x2520f9!==_0x58bf0b['document']['body']&&_0x5bd47d['push'](new WeakRef(_0x2520f9)),_0x477d3a['focus']({'focusVisible':!0x0});}(_0x53006a));}},0x32);}function _0x1beb0c(_0xec0aa){_0xec0aa['target']['getAttribute']('aria-controls')&&'Enter'===_0xec0aa['key']&&_0x4010c0(_0xec0aa['target']),'Escape'===_0xec0aa['key']&&_0x55385f();}return _0x58bf0b['addEventListener']('keydown',_0x1beb0c),()=>{_0x58bf0b['removeEventListener']('keydown',_0x1beb0c);};};}function _0x5642d0(_0x88fb90){let _0x30b6e2,_0x5584ab,t=_0x88fb90['split']('\x20');function _0x5712c6(_0x5e489e){('Enter'===_0x5e489e['key']||'\x20'===_0x5e489e['key'])&&('BUTTON'===_0x5e489e['target']['tagName']||'A'===_0x5e489e['target']['tagName'])&&(_0x1ae230(),_0x5e489e['target']['classList']['add'](...t),_0x30b6e2=_0x5e489e['target'],_0x5584ab=_0x5e489e['target']);}function _0x1ae230(){_0x30b6e2&&(_0x30b6e2['classList']['remove'](...t),_0x30b6e2=0x0,setTimeout(()=>{_0x5584ab=0x0;},0x0));}function _0x1821a6(_0x253443){0x0===_0x253443['clientX']&&0x0===_0x253443['clientY']&&_0x30b6e2!==_0x253443['target']&&(_0x1ae230(),_0x5584ab!==_0x253443['target']&&(_0x253443['target']['classList']['add'](...t),_0x30b6e2=_0x253443['target']));}return _0xc1a446=>(_0xc1a446['addEventListener']('click',_0x1821a6),_0xc1a446['addEventListener']('keydown',_0x5712c6),_0xc1a446['addEventListener']('keyup',_0x1ae230),()=>{_0xc1a446['removeEventListener']('click',_0x1821a6),_0xc1a446['removeEventListener']('keydown',_0x5712c6),_0xc1a446['removeEventListener']('keyup',_0x1ae230);});}var _0x3c79c6=class{constructor(){this['te']=new Map(),this['so']=[];}['addEventListener'](_0xef9a58,t){let _0x1137b0=_0x52e182=>{let _0x283ccd=_0x52e182['target'];_0x283ccd instanceof Node&&this['so']['some'](_0x158e1e=>_0x158e1e===_0x283ccd||_0x158e1e['contains'](_0x283ccd))&&t(_0x52e182);};this['te']['set'](t,_0x1137b0),window['addEventListener'](_0xef9a58,_0x1137b0);}['removeEventListener'](_0x661416,t){let _0x119e32=this['te']['get'](t);_0x119e32&&window['removeEventListener'](_0x661416,_0x119e32),this['te']['delete'](t);}get['CustomEvent'](){return window['CustomEvent'];}get['document'](){return window['document'];}get['navigator'](){return window['navigator'];}['registerScope'](_0x1d3416){this['so']['push'](_0x1d3416);}['destroy'](){this['so']=[];for(let _0x6c1a61 of this['te']['values']())window['removeEventListener']('keydown',_0x6c1a61),window['removeEventListener']('keyup',_0x6c1a61);this['te']['clear']();}},_0x5b8d24=class{constructor(){this['Bi']=new _0x3c79c6(),this['an']=function(_0x442007,_0x401196){let t=_0x401196['map'](_0xa05eb1=>_0xa05eb1(_0x442007));return()=>{t['forEach'](_0x515ce0=>_0x515ce0());};}(this['Bi'],[_0x362a2d(),_0x5642d0('is-pressed'),_0x3b2e2b(),_0x426e47=>{let _0xdd3d91,t;function _0x35c43b(_0x2e8824){if('true'===_0x2e8824['target']['getAttribute']('aria-hidden')){_0xdd3d91=_0x2e8824['target'],_0xdd3d91['setAttribute']('aria-hidden','false'),t=_0xdd3d91['hidden'],t&&(_0xdd3d91['hidden']=!0x1);let _0x19d69a=_0x2e8824['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x19d69a&&(_0x19d69a['tabIndex']=0x0);}}function _0x2475b5(_0x1f26bc){_0xdd3d91&&_0xdd3d91['contains'](_0x1f26bc['target'])&&(!_0x1f26bc['relatedTarget']||!_0xdd3d91['contains'](_0x1f26bc['relatedTarget']))&&(_0x1f26bc['target']['tabIndex']=-0x1,_0xdd3d91['setAttribute']('aria-hidden','true'),t&&(_0xdd3d91['hidden']=!0x0),_0xdd3d91=null);}return _0x426e47['addEventListener']('keyuxJump',_0x35c43b),_0x426e47['addEventListener']('focusout',_0x2475b5),()=>{_0x426e47['removeEventListener']('keyuxJump',_0x35c43b),_0x426e47['removeEventListener']('focusout',_0x2475b5);};}]);}['registerBlock'](_0x4b141e){this['Bi']['registerScope'](_0x4b141e);}['destroy'](){this['an']?.(),this['Bi']['destroy']();}},_0x181c65=_0x1f4016=>'*l10n/'+_0x1f4016,_0x36df6b=class extends _0x14b350{constructor(t){super(t),this['Tt']='';for(let [_0x240daf,_0x844579]of Object['entries'](_0xce868a)){let _0x2587ce=!this['e']['has'](_0x181c65(_0x240daf))||!this['e']['read'](_0x181c65(_0x240daf));this['e']['add'](_0x181c65(_0x240daf),_0x844579,_0x2587ce);}let _0x36aff5=t['pluginManager'];_0x36aff5?.['onPluginsChange']&&this['addSub'](_0x36aff5['onPluginsChange'](()=>{this['Tt']&&this['ln'](this['Tt']);})),this['addSub'](this['e']['sub'](_0x56b626('localeName'),async _0xa03f2e=>{if(!_0xa03f2e)return;this['Tt']=_0xa03f2e;let _0x5d2500=await(async _0x905e05=>{let _0x468b05=_0x38265d['get'](_0x905e05);if(!_0x468b05){let t=_0x374db2['get'](_0x905e05);if(!t)throw new Error('Locale\x20'+_0x905e05+'\x20is\x20not\x20defined');let _0x3e75ab=await t();_0x468b05=_0x5c39a2(_0x905e05,_0x3e75ab);}return _0x468b05;})(_0xa03f2e);'en'!==_0xa03f2e&&this['Tt']!==_0xa03f2e||(this['ln'](_0xa03f2e),this['cn'](_0xa03f2e,_0x5d2500));})),this['addSub'](this['e']['sub'](_0x56b626('localeDefinitionOverride'),_0x71aef0=>{if(!_0x71aef0)return;let _0x55a4c4=_0x71aef0[this['Tt']];_0x55a4c4&&this['cn'](this['Tt'],_0x55a4c4);}));}['cn'](t,_0x2219b7){let _0x3b1521=this['ze']['localeDefinitionOverride']?.[t];for(let [_0x4a4421,_0x44b87a]of Object['entries'](_0x2219b7)){let _0x2280d2=_0x3b1521?.[_0x4a4421];this['e']['add'](_0x181c65(_0x4a4421),_0x2280d2??_0x44b87a,!0x0);}}['ln'](t){let _0x4b1702=this['i']['pluginManager'];if(!_0x4b1702)return;let _0x5958bd=_0x4b1702['snapshot']();for(let _0x363cd4 of _0x5958bd['l10n']){let {pluginId:_0xd69eac,..._0x258395}=_0x363cd4,_0x7385fc=_0x258395[t];if(_0x7385fc){for(let [_0x4add4c,_0x18be62]of Object['entries'](_0x7385fc))void 0x0!==_0x18be62&&this['e']['add'](_0x181c65(_0x4add4c),_0x18be62,!0x0);}}}},_0x1104dc=()=>{let _0x19e037=navigator['userAgent'];return/Macintosh|Windows/['test'](_0x19e037)&&/Version\/[\d.]+.*Safari/['test'](_0x19e037)&&!/Chrome|Chromium|Edg|OPR/['test'](_0x19e037);},_0x252bc0={'safariDesktop':_0x1104dc()},_0x3f99c7={'htmlMediaCapture':'capture'in document['createElement']('input')},_0x22aece='image/*',_0x2dce63='video/*',_0x5b61c0=_0x252bc0['safariDesktop']?[_0x22aece]:[_0x22aece,...['image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs']],_0x443495=_0x58b206=>_0x58b206?_0x58b206['filter'](_0xbcde61=>'string'==typeof _0xbcde61)['flatMap'](_0x2b3b23=>_0x4e8b4f(_0x2b3b23)):[],tD=(_0x4380cc,_0x3164dc)=>_0x3164dc['some'](t=>{if(t['endsWith']('*')){let _0x2c35fb=t['replace']('*','');return _0x4380cc['startsWith'](_0x2c35fb);}return _0x4380cc===t;}),_0x1fbbd4=_0x3da737=>{let _0x5870c9=_0x3da737?.['type'];return!!_0x5870c9&&tD(_0x5870c9,_0x5b61c0);},_0x23851d=class{constructor(_0x669c,t){this['e']=_0x669c,this['zc']=t,this['Xt']=new Set(),this['un']=this['e']['sub']('*lazyPlugins',_0x2d7a10=>{this['Bc'](_0x2d7a10??[]);});}['Bc'](_0x436941){for(let _0x5a15ae of this['Xt'])_0x5a15ae();if(this['Xt']['clear'](),0x0===_0x436941['length'])return;let t=new Set([_0x56b626('plugins')]);for(let _0x5b9073 of _0x436941)for(let _0xbf43e7 of _0x5b9073['configDeps'])t['add'](_0x56b626(_0xbf43e7));let _0x39d681=()=>this['dn'](_0x436941);for(let _0x98acd5 of t)this['Xt']['add'](this['e']['sub'](_0x98acd5,_0x39d681,!0x1));this['dn'](_0x436941);}['dn'](_0x243bfa){this['ao']?.['abort']();let t=new AbortController();this['ao']=t;let _0x3f0087=_0x3260ea=>this['e']['read'](_0x56b626(_0x3260ea)),_0x4c2a0d=_0x3f0087('plugins'),_0x2536fe=(async({entries:_0x544678,signal:_0x4ba0ed})=>(await Promise['all'](_0x544678['map'](async _0x52f049=>{if(_0x52f049['isEnabled']())try{let _0x5b2631=await _0x52f049['load']();return _0x4ba0ed['aborted']||!_0x52f049['isEnabled']()?void 0x0:_0x5b2631??void 0x0;}catch(_0x59dc05){return void(_0x4ba0ed['aborted']||console['warn']('Failed\x20to\x20load\x20lazy\x20plugin',_0x59dc05));}})))['filter'](_0x1b2bf3=>void 0x0!==_0x1b2bf3))({'entries':_0x243bfa['map'](_0x280eec=>({'isEnabled':()=>_0x280eec['isEnabled'](_0x3f0087),'load':_0x280eec['load']})),'signal':t['signal']})['then'](_0xeb53fc=>{if(!t['signal']['aborted'])return[..._0x4c2a0d,..._0xeb53fc];});this['zc'](_0x2536fe);}['destroy'](){this['un']();for(let _0x35a6f3 of this['Xt'])_0x35a6f3();this['Xt']['clear'](),this['ao']?.['abort']();}},_0x23ce26=class{constructor(){this['Ke']=new Map();}['register'](_0x28aa59,t){if(this['Ke']['has'](t['name']))return void console['warn']('[CustomConfig]\x20Config\x20option\x20\x22'+t['name']+'\x22\x20is\x20already\x20registered');let _0x1cf3e7={'attribute':!0x0,...t,'pluginId':_0x28aa59};this['Ke']['set'](t['name'],_0x1cf3e7);}['unregister'](_0x2fa71c){this['Ke']['delete'](_0x2fa71c);}['unregisterByPlugin'](_0x45a57b){for(let [t,_0x8b6db1]of this['Ke'])_0x8b6db1['pluginId']===_0x45a57b&&this['Ke']['delete'](t);}['get'](_0x23e1c6){return this['Ke']['get'](_0x23e1c6);}['getAll'](){return new Map(this['Ke']);}},_0x27e57c=class{constructor(){this['Me']=[],this['de']=[],this['zi']=[],this['Hi']=[],this['Ki']=[],this['Et']=[],this['config']=new _0x23ce26();}['xt'](_0x1737aa,t){return{...t,'pluginId':_0x1737aa};}['addSource'](_0x5b490e,t){let _0x2736dc=this['Me']['find'](_0x37a51f=>_0x37a51f['id']===t['id']);_0x2736dc?console['warn']('[Plugin\x20\x22'+_0x5b490e+'\x22]\x20Source\x20with\x20id\x20\x22'+t['id']+'\x22\x20is\x20already\x20registered\x20by\x20plugin\x20\x22'+_0x2736dc['pluginId']+'\x22.\x20Skipping.'):this['Me']['push'](this['xt'](_0x5b490e,t));}['addActivity'](_0xe68e47,t){let _0x2a2f13=this['de']['find'](_0x1c684e=>_0x1c684e['id']===t['id']);_0x2a2f13?console['warn']('[Plugin\x20\x22'+_0xe68e47+'\x22]\x20Activity\x20with\x20id\x20\x22'+t['id']+'\x22\x20is\x20already\x20registered\x20by\x20plugin\x20\x22'+_0x2a2f13['pluginId']+'\x22.\x20Skipping.'):this['de']['push'](this['xt'](_0xe68e47,t));}['addFileAction'](_0x12b4b9,t){this['zi']['push'](this['xt'](_0x12b4b9,t));}['addFileHook'](_0x47c77a,t){this['Hi']['push'](this['xt'](_0x47c77a,{'timeout':0x7530,...t}));}['addIcon'](_0x28c000,t){this['Ki']['push'](this['xt'](_0x28c000,t));}['addL10n'](_0x78e23d,t){this['Et']['push'](this['xt'](_0x78e23d,t));}['addConfig'](_0x21e8ea,t){this['config']['register'](_0x21e8ea,t);}['purge'](_0x2cbbf7){this['Me']=this['Me']['filter'](t=>t['pluginId']!==_0x2cbbf7),this['de']=this['de']['filter'](t=>t['pluginId']!==_0x2cbbf7),this['zi']=this['zi']['filter'](t=>t['pluginId']!==_0x2cbbf7),this['Hi']=this['Hi']['filter'](t=>t['pluginId']!==_0x2cbbf7),this['Ki']=this['Ki']['filter'](t=>t['pluginId']!==_0x2cbbf7),this['Et']=this['Et']['filter'](t=>t['pluginId']!==_0x2cbbf7),this['config']['unregisterByPlugin'](_0x2cbbf7);}['snapshot'](){return{'sources':[...this['Me']],'activities':[...this['de']],'fileActions':[...this['zi']],'fileHooks':[...this['Hi']],'icons':[...this['Ki']],'l10n':[...this['Et']]};}},_0x29d5ec=class extends _0x14b350{constructor(t){super(t),this['je']=new Map(),this['c']=new Set(),this['lo']=Promise['resolve'](),this['registry']=new _0x27e57c(),this['pn']=new _0x23851d(this['e'],_0x4e799f=>{this['lo']=this['lo']['then'](()=>_0x4e799f)['then'](_0xd5debf=>{if(_0xd5debf)return this['Hc'](_0xd5debf);});});}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 _0x1439b4=new Set(this['je']['keys']()),_0x145bf1=new Set();for(let _0x219b68 of t)if(_0x219b68['id']){if(_0x145bf1['has'](_0x219b68['id']))console['warn']('[PluginManager]\x20Plugin\x20\x22'+_0x219b68['id']+'\x22\x20is\x20already\x20in\x20the\x20list,\x20skipping\x20duplicate');else{if(_0x145bf1['add'](_0x219b68['id']),!this['je']['has'](_0x219b68['id']))try{await this['Kc'](_0x219b68);}catch(_0x2d2a61){this['registry']['purge'](_0x219b68['id']),this['co'](),console['error']('[PluginManager]\x20Plugin\x20\x22'+_0x219b68['id']+'\x22\x20setup()\x20threw\x20an\x20error',_0x2d2a61);}_0x1439b4['delete'](_0x219b68['id']);}}else console['warn']('[PluginManager]\x20A\x20plugin\x20is\x20missing\x20the\x20required\x20\x22id\x22\x20field,\x20skipping');for(let _0x4c14d3 of _0x1439b4)this['uo'](_0x4c14d3);}async['Kc'](t){this['je']['has'](t['id'])&&this['uo'](t['id']);let _0x3fad20,_0x20dd37=[],_0x38fd0c=function(_0x19f2f0,_0x3768e1,t,_0x19bac5,_0x3e0d3a){return{'registry':{'registerSource':_0x569704=>_0x19f2f0['addSource'](_0x19bac5,_0x569704),'registerActivity':_0x2cd060=>_0x19f2f0['addActivity'](_0x19bac5,_0x2cd060),'registerFileAction':_0x559ef4=>_0x19f2f0['addFileAction'](_0x19bac5,_0x559ef4),'registerFileHook':_0xf1f95c=>_0x19f2f0['addFileHook'](_0x19bac5,_0xf1f95c),'registerIcon':_0x18e01c=>_0x19f2f0['addIcon'](_0x19bac5,_0x18e01c),'registerL10n':_0x200cfd=>_0x19f2f0['addL10n'](_0x19bac5,_0x200cfd),'registerConfig':_0x58a8ee=>{_0x19f2f0['addConfig'](_0x19bac5,_0x58a8ee);let _0x23a2dd=_0x56b626(_0x58a8ee['name']);_0x3768e1['has'](_0x23a2dd)||_0x3768e1['add'](_0x23a2dd,_0x58a8ee['defaultValue']);}},'config':{'get':_0x585321=>{let _0x5ccbac=_0x56b626(_0x585321);return _0x3768e1['read'](_0x5ccbac);},'subscribe':(_0xe89b0b,_0x38cad9)=>{let _0x1adec7=_0x56b626(_0xe89b0b),_0x581493=_0x3768e1['sub'](_0x1adec7,_0x42ace4=>{_0x38cad9(_0x42ace4);});return _0x3e0d3a['push'](_0x581493),_0x581493;}},'activity':{'getParams':()=>_0x3768e1['read']('*currentActivityParams'),'subscribeToParams':_0xfd8551=>{let _0x325ff0=_0x3768e1['sub']('*currentActivityParams',_0x183df8=>{_0xfd8551(_0x183df8);});return _0x3e0d3a['push'](_0x325ff0),_0x325ff0;}},'files':{'update':(_0x4e0622,_0x4703e0)=>{let _0x23ffc5=t['uploadCollection']?.['read'](_0x4e0622);_0x23ffc5&&(void 0x0!==_0x4703e0['file']&&(_0x23ffc5['setValue']('file',_0x4703e0['file']),_0x23ffc5['setValue']('fileSize',_0x4703e0['file']['size'])),void 0x0!==_0x4703e0['cdnUrl']&&_0x23ffc5['setValue']('cdnUrl',_0x4703e0['cdnUrl']),void 0x0!==_0x4703e0['cdnUrlModifiers']&&_0x23ffc5['setValue']('cdnUrlModifiers',_0x4703e0['cdnUrlModifiers']),void 0x0!==_0x4703e0['mimeType']&&_0x23ffc5['setValue']('mimeType',_0x4703e0['mimeType']));}}};}(this['registry'],this['e'],this['i'],t['id'],_0x20dd37),_0x16bf7f=this['i']['api'];try{_0x3fad20=await t['setup']({'pluginApi':_0x38fd0c,'uploaderApi':_0x16bf7f})??void 0x0;}catch(_0x50f8ea){for(let _0x3cc80b of _0x20dd37)try{_0x3cc80b();}catch(_0x5607fc){this['w']('Failed\x20to\x20unsubscribe\x20config\x20listener',_0x5607fc);}throw _0x50f8ea;}this['je']['set'](t['id'],{'plugin':t,'dispose':_0x3fad20,'configSubscriptions':_0x20dd37}),this['co']();}['uo'](t){let _0x19deab=this['je']['get'](t);if(_0x19deab){this['registry']['purge'](t);for(let _0x3e8e12 of _0x19deab['configSubscriptions'])try{_0x3e8e12();}catch(_0x3daaa1){this['w']('Failed\x20to\x20unsubscribe\x20config\x20listener',_0x3daaa1);}_0x19deab['dispose']?.(),this['je']['delete'](t),this['co']();}}['snapshot'](){return this['registry']['snapshot']();}async['runOnAddHooks'](t){let _0x53a38e=t['getValue']('file');if(!_0x53a38e)return;let _0x5db9ca=this['registry']['snapshot']()['fileHooks']['filter'](_0xb1e21d=>'onAdd'===_0xb1e21d['type']);if(0x0===_0x5db9ca['length'])return;let _0xf81bd7=_0x53a38e,_0x33b007=new AbortController();for(let _0x5e84e4 of _0x5db9ca){if(_0x33b007['signal']['aborted'])break;try{let _0x3f76cc=_0x5e84e4['handler']({'file':_0xf81bd7,'signal':_0x33b007['signal']}),_0x19ca6f=new Promise((_0x5470ee,_0x2a96b4)=>setTimeout(()=>_0x2a96b4(new Error('onAdd\x20hook\x20timed\x20out')),_0x5e84e4['timeout']));({file:_0xf81bd7}=await Promise['race']([_0x3f76cc,_0x19ca6f]));}catch(_0x186d23){console['warn']('File\x20hook\x20\x22onAdd\x22\x20from\x20plugin\x20\x22'+_0x5e84e4['pluginId']+'\x22\x20failed',_0x186d23);}}_0xf81bd7!==_0x53a38e&&(t['setValue']('file',_0xf81bd7),t['setValue']('fileSize',_0xf81bd7['size']),t['setValue']('mimeType',_0xf81bd7['type']||null),t['setValue']('isImage',_0x1fbbd4(_0xf81bd7)),_0xf81bd7 instanceof File&&t['setValue']('fileName',_0xf81bd7['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 _0x1312cd(_0x4f47e0){return Array['isArray'](_0x4f47e0)?_0x4f47e0['map'](_0x6374d9=>'object'==typeof _0x6374d9&&null!==_0x6374d9?_0x1312cd(_0x6374d9):_0x6374d9):'object'!=typeof _0x4f47e0||null===_0x4f47e0?_0x4f47e0:Object['fromEntries'](Object['entries'](_0x4f47e0)['map'](([_0x6a4b1e,t])=>{let _0x146312=function(_0x3b8c4a){return _0x3b8c4a['replace'](/[A-Z]/g,_0x49f19e=>'_'+_0x49f19e['toLowerCase']())['replace'](/__/g,'_');}(_0x6a4b1e);return'object'==typeof t&&null!==t?[_0x146312,_0x1312cd(t)]:[_0x146312,t];}));}function _0x4504c9(_0x602d35){return{'ok':!0x1,'error':_0x602d35};}var _0x445390=class{constructor(_0x14dbe3='https://tlm.uploadcare.com/api/'){this['baseUrl']=_0x14dbe3;}async['base'](_0x4984b5,t={}){let _0x2f88ef=''+this['baseUrl']+_0x4984b5;try{let _0x1e9c2f=await fetch(_0x2f88ef,t);if(!_0x1e9c2f['ok'])return _0x4504c9(new Error('Got\x20non-200\x20response\x20from\x20\x22'+_0x2f88ef+'\x22.\x20Status:\x20'+_0x1e9c2f['status']['toString']()));try{return function(_0x2c2544){return{'ok':!0x0,'value':_0x2c2544};}(await _0x1e9c2f['json']());}catch(_0x10748e){return _0x4504c9(new Error('Error\x20parsing\x20JSON\x20from\x20\x22'+_0x2f88ef+'\x22.\x20Error:\x20'+_0x10748e));}}catch(_0x28ab6a){return _0x4504c9(new Error('Error\x20fetching\x20data\x20from\x20\x22'+_0x2f88ef+'\x22.\x20Error:\x20'+_0x28ab6a));}}async['post'](_0x30e23a,t,_0x454689={}){return await this['base'](_0x30e23a,{..._0x454689,'method':'POST','body':JSON['stringify'](_0x1312cd(t)),'headers':{'Content-Type':'application/json',..._0x454689['headers']||{}}});}async['get'](_0x2b2fc0,t={}){return await this['base'](_0x2b2fc0,{'method':'GET',...t});}},_0x185174=class extends _0x445390{constructor(){super();}async['sendEvent'](_0x305fb8,t){let _0x5a3efe=await(async _0x3ee2d2=>(async(_0x1fba51,_0x2a274e)=>({'success':!0x0,'data':_0x2a274e}))(0x0,_0x3ee2d2))(_0x305fb8);if(!_0x5a3efe['success'])throw console['error']('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid',_0x5a3efe['error']),new Error('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid');return this['post']('v1/events',_0x305fb8,t);}},_0x37ee07=Object['freeze']({'INIT_SOLUTION':'init-solution','CHANGE_CONFIG':'change-config','ACTION_EVENT':'action-event','ERROR_EVENT':'error-event'}),_0x28b9b1=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'}),_0x20bca4=class extends _0x14b350{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,_0xe15ac){let _0x31c684=this['te']['get'](t);return _0x31c684||(_0x31c684=new Set(),this['te']['set'](t,_0x31c684)),_0x31c684['add'](_0xe15ac),()=>this['te']['get'](t)?.['delete'](_0xe15ac);}['hn'](t,_0x4c6d79){for(let _0x2907d1 of this['ji'])_0x2907d1['dispatchEvent'](new CustomEvent(t,{'detail':_0x4c6d79}));let _0x3789a3=this['te']['get'](t);if(_0x3789a3){for(let _0x844b6d of _0x3789a3)_0x844b6d(_0x4c6d79);}this['w']?.(()=>{let _0x85e53b=_0x4c6d79&&'object'==typeof _0x4c6d79?{..._0x4c6d79}:_0x4c6d79;return['event\x20\x22'+t+'\x22',_0x85e53b];});}['emit'](t,_0x180913,_0x53577c={}){let {debounce:_0x28b9a5}=_0x53577c;if('number'!=typeof _0x28b9a5&&!_0x28b9a5)return void this['hn'](t,'function'==typeof _0x180913?_0x180913():_0x180913);this['Qt']['has'](t)&&window['clearTimeout'](this['Qt']['get'](t));let _0x49c5ba='number'==typeof _0x28b9a5?_0x28b9a5:0x14,_0x531c42=window['setTimeout'](()=>{try{let _0x4a4930='function'==typeof _0x180913?_0x180913():_0x180913;this['hn'](t,_0x4a4930),this['Qt']['delete'](t);}catch(_0x15edc2){this['w']?.(()=>'Error\x20while\x20getting\x20payload\x20for\x20event\x20\x22'+t+'\x22',_0x15edc2);}},_0x49c5ba);this['Qt']['set'](t,_0x531c42);}['destroy'](){for(let t of this['Qt']['values']())window['clearTimeout'](t);this['ji']['clear'](),this['te']['clear']();}},_0x332218='blocks',_0x37e118='1.29.0',_0x9706b4=class extends _0x14b350{constructor(t){super(t),this['jc']=_0x14c4f7['generateRandomUUID'](),this['Ct']=structuredClone(_0xcb9653),this['po']=!0x1,this['ho']=null,this['Oe']=!0x1,this['mn']=new _0x185174(),this['St']=new _0x2481fb(0xa),this['addSub'](this['e']['sub'](_0x56b626('qualityInsights'),_0x3fdb1d=>{this['Oe']=!!_0x3fdb1d;}));for(let _0x4c9a95 of Object['keys'](this['Ct']))this['addSub'](this['e']['sub'](_0x56b626(_0x4c9a95),_0x35eb18=>{this['Oe']&&(this['po']&&this['Ct'][_0x4c9a95]!==_0x35eb18&&this['sendEvent']({'eventType':_0x37ee07['CHANGE_CONFIG']}),this['Gc'](_0x4c9a95,_0x35eb18));}));}['qc'](t){t===_0x37ee07['INIT_SOLUTION']&&!this['po']&&(this['po']=!0x0);}['Gc'](t,_0x38600f){this['Ct'][t]!==_0x38600f&&(this['Ct'][t]=_0x38600f);}['Wc'](t){let _0x471292=t['payload']?{...t['payload']}:{};_0x471292['activity']&&(_0x471292['activity']=void 0x0);let _0x430bd5={...t};return(t['eventType']===_0x37ee07['INIT_SOLUTION']||t['eventType']===_0x37ee07['CHANGE_CONFIG'])&&(_0x430bd5['config']=this['Ct']),{..._0x430bd5,'appVersion':_0x37e118,'appName':_0x332218,'sessionId':this['jc'],'component':this['Zc'],'activity':this['Yc'],'projectPubkey':this['Ct']['pubkey'],'userAgent':navigator['userAgent'],'eventType':_0x430bd5['eventType']??'','eventTimestamp':this['Xc'],'payload':{'location':this['Qc'],..._0x471292}};}['Jc'](t){return!(!t||![_0x28b9b1['CHANGE'],_0x28b9b1['COMMON_UPLOAD_PROGRESS'],_0x28b9b1['FILE_ADDED'],_0x28b9b1['FILE_REMOVED'],_0x28b9b1['FILE_UPLOAD_START'],_0x28b9b1['FILE_UPLOAD_PROGRESS'],_0x28b9b1['FILE_UPLOAD_SUCCESS'],_0x28b9b1['FILE_UPLOAD_FAILED']]['includes'](t));}['sendEvent'](t){if(!this['Oe'])return;let _0x1f205b=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'],_0x1f205b))&&this['St']['add'](async()=>{this['ho']=_0x1f205b,await this['mn']['sendEvent'](_0x1f205b);});}['sendEventError'](t,_0x12bcb2='unknown'){this['sendEvent']({'eventType':_0x37ee07['ERROR_EVENT'],'payload':{'metadata':{'event':'error','text':'Error\x20in\x20'+_0x12bcb2,'error':t['message']}}});}['sendEventCloudImageEditor'](t,_0x3d295f,_0x35f433={}){this['sendEvent']({'eventType':_0x37ee07['ACTION_EVENT'],'payload':{'metadata':{'tabId':_0x3d295f,'node':t['currentTarget']?.['tagName'],'event':t['type'],..._0x35f433}}});}['gn'](t,_0xef3648){if(JSON['stringify'](t)===JSON['stringify'](_0xef3648))return!0x0;if('object'!=typeof t||'object'!=typeof _0xef3648||null==t||null==_0xef3648)return!0x1;let _0x62f750=Object['keys'](t),_0x2983be=Object['keys'](_0xef3648);if(_0x62f750['length']!==_0x2983be['length'])return!0x1;for(let _0x2e9490 of _0x62f750)if(!Object['hasOwn'](_0xef3648,_0x2e9490)||!this['gn'](t[_0x2e9490],_0xef3648[_0x2e9490]))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'];}},_0x3e84e4=_0x46298f=>_0x46298f,_0xdb229='plural:';function _0x3f3a02(_0x5c1fcf,_0x1fd1b2={},t={}){let {openToken:_0x193977='{{',closeToken:_0x2d61a8='}}',transform:_0x41178a=_0x3e84e4}=t;for(let _0x4d4c94 in _0x1fd1b2){let _0x446c06=_0x1fd1b2[_0x4d4c94],_0x1da011=_0x446c06?.['toString'](),_0x555479='string'==typeof _0x1da011?_0x41178a(_0x1da011):String(_0x1da011);_0x5c1fcf=_0x5c1fcf['replaceAll'](_0x193977+_0x4d4c94+_0x2d61a8,_0x555479);}return _0x5c1fcf;}var _0x4da615='--uploadcare-blocks-window-height',_0x49ca55=class _0x23a8d2{static{this['clientsRegistry']=new Set();}static{this['flush']=_0x31123d(()=>{document['documentElement']['style']['setProperty'](_0x4da615,window['innerHeight']+'px');},0x64);}static['registerClient'](_0x3538b7){0x0===_0x23a8d2['clientsRegistry']['size']&&_0x23a8d2['attachTracker'](),_0x23a8d2['clientsRegistry']['add'](_0x3538b7);}static['unregisterClient'](_0x8f2408){_0x23a8d2['clientsRegistry']['delete'](_0x8f2408),0x0===_0x23a8d2['clientsRegistry']['size']&&_0x23a8d2['detachTracker']();}static['attachTracker'](){window['addEventListener']('resize',_0x23a8d2['flush'],{'passive':!0x0,'capture':!0x0}),_0x23a8d2['flush']();}static['detachTracker'](){window['removeEventListener']('resize',_0x23a8d2['flush'],{'capture':!0x0}),document['documentElement']['style']['removeProperty'](_0x4da615);}},_0x436315=(_0x3bd86a,_0x33c323)=>new Intl['PluralRules'](_0x3bd86a)['select'](_0x33c323),_0x559b0b=_0x471e13=>{let _0x220554=(_0x18d6f3=>(_0x34f8af,t)=>{let _0x1ec2c3=_0x18d6f3(),_0x5f3f19=_0x1ec2c3('locale-id')||'en';return _0x1ec2c3(_0x34f8af+'__'+_0x436315(_0x5f3f19,t));})(()=>t),t=(_0x318f2a,_0x2b65b0={})=>{if(!_0x318f2a)return'';let _0xb26d2b=_0x471e13()['read'](_0x181c65(_0x318f2a))||_0x318f2a,_0x21cad3=function(_0x553ae2){let _0x545379=[],t=_0x553ae2['indexOf']('{{');for(;-0x1!==t;){let _0x8af102=_0x553ae2['indexOf']('}}',t);if(-0x1===_0x8af102)break;let _0xd27e67=_0x553ae2['substring'](t+0x2,_0x8af102);if(_0xd27e67['startsWith'](_0xdb229)){let _0x4caabd=_0x553ae2['substring'](t+0x2,_0x8af102)['replace'](_0xdb229,''),_0x2a2de8=_0x4caabd['substring'](0x0,_0x4caabd['indexOf']('(')),_0x40c965=_0x4caabd['substring'](_0x4caabd['indexOf']('(')+0x1,_0x4caabd['indexOf'](')'));_0x545379['push']({'variable':_0xd27e67,'pluralKey':_0x2a2de8,'countVariable':_0x40c965});}t=_0x553ae2['indexOf']('{{',_0x8af102);}return _0x545379;}(_0xb26d2b);for(let _0xd06004 of _0x21cad3)_0x2b65b0[_0xd06004['variable']]=_0x220554(_0xd06004['pluralKey'],Number(_0x2b65b0[_0xd06004['countVariable']]));return _0x3f3a02(_0xb26d2b,_0x2b65b0);};return t;},_0x2b0ebd=class{constructor(_0x482536){this['Ge']=new Set(),this['Gi']=new Map(),this['vn']=!0x1,this['qe']=_0x482536,this['qe']['addController'](this);}['hostDisconnected'](){this['qi']?.(),this['qi']=void 0x0,this['Ge']['clear'](),this['Gi']['clear']();}['hostUpdated'](){if(!this['qi']&&this['qe']['has'](_0x56b626('testMode'))){let _0x779205=this['qe']['subConfigValue']('testMode',t=>{this['vn']=!!t,this['yn']();});this['qi']=_0x779205;}this['eu'](),this['yn']();}['eu'](){let _0x33b482=this['qe'],t=_0x33b482['renderRoot']??_0x33b482;if(!t)return;let _0x69147e=this['qe'],_0x57e650=_0x69147e['tagName']?.['toLowerCase'](),_0x23ddc8=Array['from'](t['querySelectorAll']('[data-testid]'))['filter'](_0x19a2c0=>!(_0x54ee0e=>_0x54ee0e['tagName']?.['includes']('-')??!0x1)(_0x19a2c0));for(let _0x5b69e9 of _0x23ddc8)if(!(_0x57e650&&_0x5b69e9['closest'](_0x57e650)!==_0x69147e||this['Ge']['has'](_0x5b69e9))){let _0x56a103=_0x5b69e9['getAttribute']('data-testid');if(!_0x56a103)continue;this['Ge']['add'](_0x5b69e9),this['Gi']['set'](_0x5b69e9,_0x56a103);}for(let _0x547099 of Array['from'](this['Ge']))(!_0x547099['isConnected']||_0x57e650&&_0x547099['closest'](_0x57e650)!==_0x69147e)&&(this['Ge']['delete'](_0x547099),this['Gi']['delete'](_0x547099));}['yn'](){if(!this['Ge']['size'])return;let _0x15bd5e=this['qe']['testId']||'';for(let t of this['Ge']){let _0xd8139f=this['Gi']['get'](t);_0xd8139f&&(this['vn']?t['setAttribute']('data-testid',_0x15bd5e+'--'+_0xd8139f):t['removeAttribute']('data-testid'));}}},_0x1dcdd9=_0x40723d(_0x27cc41()(_0x16c3d6(_0xc97dcb(_0x4214c8)))),_0x361fd7=class extends _0x1dcdd9{constructor(){super(),this['init$']={},this['l10n']=_0x559b0b(()=>this['sharedCtx']),this['debugPrint']=_0x2d55a4(()=>this['sharedCtx'],this['constructor']['name']),this['i']=_0x424406(()=>this['sharedCtx']),new _0x2b0ebd(this);}static{this['styleAttrs']=[];}['emit'](t,_0x111f5b,_0x17b310){let _0x61a98d=this['has']('*eventEmitter')?this['$']['*eventEmitter']:void 0x0;if(!_0x61a98d)return;_0x61a98d['emit'](t,_0x111f5b,_0x17b310);let _0x2926ee='function'==typeof _0x111f5b?_0x111f5b():_0x111f5b;this['telemetryManager']['sendEvent']({'eventType':t,'payload':_0x2926ee??void 0x0});}['hasBlockInCtx'](t){for(let _0x5a48ee of this['blocksRegistry'])if(t(_0x5a48ee))return!0x0;return!0x1;}['connectedCallback'](){this['constructor']['styleAttrs']['forEach'](_0x2d0e98=>{this['setAttribute'](_0x2d0e98,'');}),super['connectedCallback'](),_0x49ca55['registerClient'](this);}['initCallback'](){this['Z']('*blocksRegistry',()=>new Set()),this['Z']('*pluginManager',t=>new _0x29d5ec(t)),this['Z']('*eventEmitter',t=>new _0x20bca4(t)),this['Z']('*localeManager',t=>new _0x36df6b(t)),this['Z']('*modalManager',t=>new _0x1b3ce6(t)),this['Z']('*a11y',()=>new _0x5b8d24()),this['Z']('*clipboard',t=>new _0x5784f6(t)),this['Z']('*telemetryManager',t=>new _0x9706b4(t)),this['sub'](_0x181c65('locale-id'),t=>{let _0x1a38cf=(_0xfc9a6f=>{let _0x5052d3=new Intl['Locale'](_0xfc9a6f),t='ltr',_0x4a8a85=_0x5052d3['getTextInfo']?.()['direction'];return _0x4a8a85?t=_0x4a8a85:_0x5052d3['textInfo']?.['direction']&&(t=_0x5052d3['textInfo']['direction']),t;})(t);this['style']['direction']='ltr'===_0x1a38cf?'':_0x1a38cf,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'](),_0x49ca55['unregisterClient'](this);let t=this['blocksRegistry'];t?.['delete'](this),0x0===t?.['size']&&setTimeout(()=>{this['isConnected']||t?.['size']>0x0||this['destroyCtxCallback']();},0x0);}['destroyCtxCallback'](){this['tu'](),tM['deleteCtx'](this['ctxName']);}['bn'](){let t='*sharedContextInstances';if(!this['has'](t)||!this['$'][t]){let _0x3e822a=new Map();this['add'](t,_0x3e822a,!0x0);}return this['$'][t];}['Z'](t,_0x2d4ba2){let _0x1b28a2=this['bn']();if(!(_0x1b28a2['has'](t)||this['has'](t)&&this['$'][t])){let _0x44d22f=_0x2d4ba2(this['i']);return this['add'](t,_0x44d22f,!0x0),void _0x1b28a2['set'](t,_0x44d22f);}}['tu'](){let t=this['bn']();for(let [_0x5c4965,_0x31d6ea]of t['entries']())_0x31d6ea?.['destroy']?.(),this['pub'](_0x5c4965,null);t['clear']();}['ie'](t,_0x525246=!0x0){if(this['has'](t)&&this['$'][t])return this['$'][t];if(!_0x525246)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':_0x2d0d56(t),'cdnUrlModifiers':_0x429da1(t),'fileName':_0x46af49(t)});}catch(_0x20164f){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0x20164f),this['telemetryManager']['sendEventError'](_0x20164f,'secureDeliveryProxyUrlResolver.\x20Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.'),t;}return this['cfg']['secureDeliveryProxy']?_0x3f3a02(this['cfg']['secureDeliveryProxy'],{'previewUrl':t},{'transform':_0x228730=>window['encodeURIComponent'](_0x228730)}):t;}get['cfg'](){if(!this['Be']){let t={};this['Be']=new Proxy(t,{'set':(_0x4fefd5,_0x3fb28c,_0x430c40)=>{if('string'!=typeof _0x3fb28c||!(_0x3fb28c in _0xcb9653))return!0x1;let _0x5ea23d=_0x3fb28c,_0x5e8dcf=_0x56b626(_0x5ea23d);return this['has'](_0x5e8dcf)||this['add'](_0x5e8dcf,_0xcb9653[_0x5ea23d]),this['$'][_0x5e8dcf]=_0x430c40,!0x0;},'get':(_0x5c6c9f,_0x495389)=>{let _0x2954bc=_0x56b626(_0x495389);return this['has'](_0x2954bc)||this['add'](_0x2954bc,_0xcb9653[_0x495389]),this['$'][_0x2954bc];}});}return this['Be'];}['subConfigValue'](t,_0x410d2e){let _0x1db859=_0x56b626(t);return this['has'](_0x1db859)||this['add'](_0x1db859,_0xcb9653[t]),this['sub'](_0x1db859,_0x410d2e);}},_0x217273=0x1,_0x261183=0x2,_0x40c0cb=_0x1448e7=>(..._0x6c47be)=>({'qr':_0x1448e7,'values':_0x6c47be}),_0x42554d=class{constructor(_0x1b9ac5){}get['W'](){return this['f']['W'];}['Wr'](_0x562eed,t,_0x3e4dbf){this['Wi']=_0x562eed,this['f']=t,this['iu']=_0x3e4dbf;}['Lc'](_0x34eec4,t){return this['update'](_0x34eec4,t);}['update'](_0x1eaa8e,t){return this['render'](...t);}},_0x2de477=class extends _0x42554d{constructor(_0x4cacc8){if(super(_0x4cacc8),this['it']=_0x1d383d,_0x4cacc8['type']!==_0x261183)throw Error(this['constructor']['directiveName']+'()\x20can\x20only\x20be\x20used\x20in\x20child\x20bindings');}['render'](_0x30d5f9){if(_0x30d5f9===_0x1d383d||null==_0x30d5f9)return this['wn']=void 0x0,this['it']=_0x30d5f9;if(_0x30d5f9===_0x3cd570)return _0x30d5f9;if('string'!=typeof _0x30d5f9)throw Error(this['constructor']['directiveName']+'()\x20called\x20with\x20a\x20non-string\x20value');if(_0x30d5f9===this['it'])return this['wn'];this['it']=_0x30d5f9;let t=[_0x30d5f9];return t['raw']=t,this['wn']={'Ne':this['constructor']['resultType'],'strings':t,'values':[]};}};_0x2de477['directiveName']='unsafeHTML',_0x2de477['resultType']=0x1;var _0x4a88a1=class extends _0x2de477{};_0x4a88a1['directiveName']='unsafeSVG',_0x4a88a1['resultType']=0x2;var _0x48c811=_0x40c0cb(_0x4a88a1),_0x4cb532=class extends _0x361fd7{constructor(){super(...arguments),this['init$']=(_0x32406e=>({..._0x8e3f47(_0x32406e),'*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 _0x3e6b89`${_0x48c811('<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>')}`;}},_0x330854=_0x5de4a3=>'number'!=typeof _0x5de4a3?0x0:Math['floor'](_0x5de4a3/0x3e8),_0x1f0aff=class extends _0x14b350{constructor(){super(...arguments),this['We']=null;}async['getSecureToken'](){let {secureSignature:t,secureExpire:_0x955aa5,secureUploadsSignatureResolver:_0x39af09,secureUploadsExpireThreshold:_0x616f5a}=this['ze'];if((t||_0x955aa5)&&_0x39af09&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0x39af09){if(!this['We']||((_0x124184,{threshold:_0x5ec4ed})=>{let {secureExpire:t}=_0x124184,_0x3ea875=_0x330854(Date['now']()),_0x172680=Number(t);return _0x3ea875+_0x330854(_0x5ec4ed)>=_0x172680;})(this['We'],{'threshold':_0x616f5a})){this['We']?this['w']('Secure\x20signature\x20is\x20expired.\x20Resolving\x20a\x20new\x20one...'):this['w']('Secure\x20signature\x20is\x20not\x20set\x20yet.');try{let _0x73663e=await _0x39af09();_0x73663e?_0x73663e['secureSignature']&&_0x73663e['secureExpire']?(this['w']('Secure\x20signature\x20resolved:',_0x73663e),this['w']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0x73663e['secureExpire']))['toISOString']()),this['We']=_0x73663e):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0x73663e):(this['w']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['We']=null);}catch(_0x2e0d9f){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0x2e0d9f),this['i']['telemetryManager']['sendEventError'](_0x2e0d9f,'secureUploadsSignatureResolver.\x20Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.');}}return this['We'];}return t&&_0x955aa5?(this['w']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':t,'secureExpire':_0x955aa5}),{'secureSignature':t,'secureExpire':_0x955aa5}):null;}['destroy'](){super['destroy'](),this['We']=null;}},_0x47af74=(_0x55cc1b,_0x5023e8)=>{if(_0x55cc1b['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x5023e8['l10n']('some-files-were-not-uploaded')};},_0x40e920=(_0x41f606,_0x5ce23c)=>{let t=_0x41f606['totalCount'],_0x2f8f1c=_0x5ce23c['cfg']['multiple']?_0x5ce23c['cfg']['multipleMin']:0x0,_0x2f68f1=_0x5ce23c['cfg']['multiple']?_0x5ce23c['cfg']['multipleMax']:0x1;return _0x2f8f1c&&t<_0x2f8f1c?{'type':'TOO_FEW_FILES','message':_0x5ce23c['l10n']('files-count-limit-error-too-few',{'min':_0x2f8f1c,'max':_0x2f68f1,'total':t}),'payload':{'total':t,'min':_0x2f8f1c,'max':_0x2f68f1}}:_0x2f68f1&&t>_0x2f68f1?{'type':'TOO_MANY_FILES','message':_0x5ce23c['l10n']('files-count-limit-error-too-many',{'min':_0x2f8f1c,'max':_0x2f68f1,'total':t}),'payload':{'total':t,'min':_0x2f8f1c,'max':_0x2f68f1}}:void 0x0;},_0x493f6e=(_0x2ebf44,_0x3528ed)=>{let t=_0x3528ed['cfg']['imgOnly'],_0x54a8a4=_0x3528ed['cfg']['accept'],_0x34b3df=_0x443495([...t?_0x5b61c0:[],_0x54a8a4]);if(!_0x34b3df['length'])return;let _0x4f7ceb=_0x2ebf44['mimeType'],_0x385146=_0x2ebf44['name'];if(!_0x4f7ceb||!_0x385146)return;let _0x361ebc=tD(_0x4f7ceb,_0x34b3df),_0x1c76b8=((_0x5d3e64,_0x9d1223)=>_0x9d1223['some'](t=>!!t['startsWith']('.')&&_0x5d3e64['toLowerCase']()['endsWith'](t['toLowerCase']())))(_0x385146,_0x34b3df);return _0x361ebc||_0x1c76b8?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0x3528ed['l10n']('file-type-not-allowed'),'payload':{'entry':_0x2ebf44}};},_0x520c2b=(_0x7bb16c,_0x5356e5)=>{let t=_0x5356e5['cfg']['imgOnly'],_0xa28c52=_0x7bb16c['isImage'];if(t&&!_0xa28c52&&(_0x7bb16c['fileInfo']||!_0x7bb16c['externalUrl'])&&(_0x7bb16c['fileInfo']||_0x7bb16c['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0x5356e5['l10n']('images-only-accepted'),'payload':{'entry':_0x7bb16c}};},_0x334647=0x3e8,_0x215e31=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),_0x7b9885=_0x555b40=>Math['ceil'](0x64*_0x555b40)/0x64,_0x59da2b=(_0x341847,_0x3e9d03=_0x215e31['AUTO'])=>{let t=_0x3e9d03===_0x215e31['AUTO'];if(_0x3e9d03===_0x215e31['BYTE']||t&&_0x341847<0x3e8)return _0x341847+'\x20'+('one'===_0x436315('en-US',_0x341847)?'byte':'bytes');return _0x3e9d03===_0x215e31['KB']||t&&_0x341847<_0x334647**0x2?_0x7b9885(_0x341847/0x3e8)+'\x20KB':_0x3e9d03===_0x215e31['MB']||t&&_0x341847<_0x334647**0x3?_0x7b9885(_0x341847/_0x334647**0x2)+'\x20MB':_0x3e9d03===_0x215e31['GB']||t&&_0x341847<_0x334647**0x4?_0x7b9885(_0x341847/_0x334647**0x3)+'\x20GB':_0x3e9d03===_0x215e31['TB']||t&&_0x341847<_0x334647**0x5?_0x7b9885(_0x341847/_0x334647**0x4)+'\x20TB':_0x7b9885(_0x341847/_0x334647**0x5)+'\x20PB';},_0x503af0=(_0x84b82b,_0x1fffec)=>{let t=_0x1fffec['cfg']['maxLocalFileSizeBytes'],_0x57bb09=_0x84b82b['size'];if(t&&_0x57bb09&&_0x57bb09>t)return{'type':'FILE_SIZE_EXCEEDED','message':_0x1fffec['l10n']('files-max-size-limit-error',{'maxFileSize':_0x59da2b(t)}),'payload':{'entry':_0x84b82b}};},_0x3b2c45=(_0x3507ca,_0x3a91d1)=>{let {internalId:t}=_0x3507ca;if(!_0x3a91d1['v']['hasItem'](t))return;let _0x5ba581=_0x3a91d1['v']['read'](t)?.['getValue']('uploadError');if(!_0x5ba581)return;if(_0x5ba581 instanceof _0x5dc2e5)return{'type':'UPLOAD_ERROR','message':_0x5ba581['message'],'payload':{'entry':_0x3507ca,'error':_0x5ba581}};if(_0x5ba581 instanceof _0x11a8e0)return{'type':'NETWORK_ERROR','message':_0x5ba581['message'],'payload':{'entry':_0x3507ca,'error':_0x5ba581}};let _0x4bd4aa=_0x5ba581 instanceof Error?_0x5ba581:new Error('Unknown\x20error',{'cause':_0x5ba581});return{'type':'UNKNOWN_ERROR','message':_0x4bd4aa['message'],'payload':{'entry':_0x3507ca,'error':_0x4bd4aa}};},_0x2e3c04='File\x20validator\x20execution\x20has\x20failed',_0x24d70f='File\x20validator\x20execution\x20has\x20timed\x20out',_0xfe7b5f='Collection\x20validator\x20execution\x20has\x20failed',_0x5fc00a='Missing\x20message.\x20We\x20recommend\x20adding\x20message:\x20value.',_0x5730c6=_0x245325=>'function'==typeof _0x245325?{'runOn':'change','validator':_0x245325}:_0x245325,_0x486db4=class extends _0x14b350{constructor(t){super(t),this['ru']=[_0x520c2b,_0x493f6e,_0x503af0,_0x3b2c45],this['ou']=[_0x40e920,_0x47af74],this['St']=new _0x2481fb(0x14),this['Tn']=_0x31123d(()=>{this['St']['run']();},0x1f4),this['Ie']=!0x1,this['At']=new Map();let _0x3d6214=_0x31123d(()=>{this['runFileValidators']('change'),this['runCollectionValidators']();},0x0);this['addSub'](this['e']['sub'](_0x56b626('maxLocalFileSizeBytes'),_0x3d6214)),this['addSub'](this['e']['sub'](_0x56b626('multipleMin'),_0x3d6214)),this['addSub'](this['e']['sub'](_0x56b626('multipleMax'),_0x3d6214)),this['addSub'](this['e']['sub'](_0x56b626('multiple'),_0x3d6214)),this['addSub'](this['e']['sub'](_0x56b626('imgOnly'),_0x3d6214)),this['addSub'](this['e']['sub'](_0x56b626('accept'),_0x3d6214)),this['addSub'](this['e']['sub'](_0x56b626('validationConcurrency'),_0xda6d6c=>{this['St']['concurrency']=_0xda6d6c;}));}get['v'](){return this['i']['uploadCollection'];}['runFileValidators'](t,_0x38f0ac){if(this['Ie'])return;let _0x3ba888=_0x38f0ac??this['v']['items']();for(let _0x35dbd5 of _0x3ba888){let _0x462d49=this['v']['read'](_0x35dbd5);_0x462d49&&this['su'](_0x462d49,t);}}['runCollectionValidators'](){if(this['Ie'])return;let t=this['i']['api'],_0xefd199=t['getOutputCollectionState'](),_0x8ed8c2=[],_0x280c22=this['ze']['collectionValidators'];for(let _0x45e8a8 of[...this['ou'],..._0x280c22])try{let _0x4b5e1=_0x45e8a8(_0xefd199,t);if(!_0x4b5e1)continue;_0x4b5e1&&(_0x8ed8c2['push'](this['En'](_0x4b5e1)),_0x4b5e1['message']||console['warn'](_0x5fc00a));}catch(_0x407794){console['warn'](_0xfe7b5f,_0x407794);}this['e']['pub']('*collectionErrors',_0x8ed8c2),_0x8ed8c2['length']>0x0&&this['i']['eventEmitter']['emit'](_0x28b9b1['COMMON_UPLOAD_FAILED'],()=>t['getOutputCollectionState'](),{'debounce':!0x0});}['cleanupValidationForEntry'](t){let _0x365380=this['At']['get'](t['uid']);_0x365380&&(_0x365380['abortController']?.['abort'](),this['At']['delete'](t['uid']));}async['su'](t,_0x1fde19){if(this['Ie'])return;let _0x5d2f35=this['i']['api'],_0x2a1279=this['xn'](t),_0x22f662=_0x2a1279['promise']??Promise['resolve'](),_0x5048e1=((async()=>{if(this['Ie']||(await _0x22f662,this['Ie']))return;let _0x121f0f=this['nu'](t,_0x1fde19);if(0x0===_0x121f0f['length']||!this['v']['hasItem'](t['uid']))return;t['setMultipleValues']({'isQueuedForValidation':!0x0,'isValidationPending':!0x0});let _0x5ddca8=_0x5d2f35['getOutputItem'](t['uid']),_0x53c5df=new AbortController();_0x2a1279['abortController']=_0x53c5df;let _0x2f553d=this['ze']['validationTimeout'],_0x5b1440=this['Cn'](),_0x2cc934=new Set(_0x121f0f['map'](_0x5ba548=>_0x5ba548['validator'])),_0x2fb58d=[];for(let _0x34f841 of _0x5b1440)if(!_0x2cc934['has'](_0x34f841['validator'])){let _0xfee855=_0x2a1279['lastErrorThrownByValidator']['get'](_0x34f841['validator']);_0xfee855&&_0x2fb58d['push'](_0xfee855);}let _0x4b6062=_0x121f0f['map'](_0x3adbe2=>async()=>{if(this['Ie'])return;let _0x4522d6=setTimeout(()=>{_0x2a1279['skippedValidators']['add'](_0x3adbe2['validator']),_0x53c5df['abort'](),console['warn'](_0x24d70f);},_0x2f553d);try{let _0x28cf2c=await _0x3adbe2['validator'](_0x5ddca8,_0x5d2f35,{'signal':_0x53c5df['signal']});if(!_0x28cf2c||_0x53c5df['signal']['aborted'])return void _0x2a1279['lastErrorThrownByValidator']['set'](_0x3adbe2['validator'],void 0x0);let _0x5147bb=this['En'](_0x28cf2c);_0x2a1279['lastErrorThrownByValidator']['set'](_0x3adbe2['validator'],_0x5147bb),_0x2fb58d['push'](_0x5147bb),_0x28cf2c['message']||console['warn'](_0x5fc00a);}catch(_0xa87e13){_0x53c5df['signal']['aborted']||(_0x2a1279['skippedValidators']['add'](_0x3adbe2['validator']),console['warn'](_0x2e3c04,_0xa87e13),this['i']['telemetryManager']['sendEventError'](_0xa87e13,'file\x20validator.\x20'+_0x2e3c04));}finally{clearTimeout(_0x4522d6),'change'!==_0x3adbe2['runOn']&&_0x2a1279['skippedValidators']['add'](_0x3adbe2['validator']);}});this['Tn'](),await this['St']['add'](async()=>{this['Ie']||(t['setValue']('isQueuedForValidation',!0x1),await Promise['all'](_0x4b6062['map'](_0x294f9b=>_0x294f9b()))['catch'](()=>{}));},{'autoRun':!0x1}),_0x53c5df['signal']['aborted']?t['setMultipleValues']({'isQueuedForValidation':!0x1,'isValidationPending':!0x1}):t['setMultipleValues']({'isValidationPending':!0x1,'isQueuedForValidation':!0x1,'errors':_0x2fb58d});})());_0x2a1279['promise']=_0x5048e1;try{await _0x5048e1;}finally{_0x2a1279['promise']===_0x5048e1&&(_0x2a1279['promise']=void 0x0);}}['En'](t){return{...t,'type':t['type']??'CUSTOM_ERROR'};}['xn'](t){let _0x1c8212=this['At']['get'](t['uid']);if(_0x1c8212)return _0x1c8212;let _0x2d3185={'abortController':void 0x0,'skippedValidators':new WeakSet(),'promise':void 0x0,'lastErrorThrownByValidator':new WeakMap()};return this['At']['set'](t['uid'],_0x2d3185),_0x2d3185;}['Cn'](){let t=this['ze']['fileValidators'];return[...this['ru'],...t]['map'](_0x5730c6);}['nu'](t,_0x118ef4){let _0x75bb69=this['xn'](t);return this['Cn']()['filter'](_0x500d07=>!_0x75bb69['skippedValidators']['has'](_0x500d07['validator']))['filter'](_0x1b1679=>_0x1b1679['runOn']===_0x118ef4);}['destroy'](){this['Ie']=!0x0,this['Tn']['cancel']();for(let t of this['At']['values']())t['abortController']?.['abort'](),t['promise']=void 0x0;this['At']['clear']();}},_0x3212f1='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',_0x207bd5=class{constructor(_0x3710b8){this['J']=_0x14c4f7['generateFastUid'](),this['Y']=tM['registerCtx'](_0x3710b8,this['J']);}get['uid'](){return this['J'];}['setValue'](_0x92941c,t){this['Y']['has'](_0x92941c)?this['Y']['read'](_0x92941c)!==t&&this['Y']['pub'](_0x92941c,t):console['warn'](''+_0x3212f1+String(_0x92941c));}['setMultipleValues'](_0xafb4b8){for(let [t,_0x39f2b3]of Object['entries'](_0xafb4b8))this['setValue'](t,_0x39f2b3);}['getValue'](_0x4c89e5){return this['Y']['has'](_0x4c89e5)||console['warn'](''+_0x3212f1+String(_0x4c89e5)),this['Y']['read'](_0x4c89e5);}['subscribe'](_0x4b1883,t){return this['Y']['sub'](_0x4b1883,t);}['destroy'](){tM['deleteCtx'](this['J']);}},tQ=class _0x32d3cb{constructor(_0x3386cc){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']=_0x3386cc['initialValue'],this['J']=_0x14c4f7['generateFastUid'](),this['Y']=tM['registerCtx']({},this['J']),this['Sn']=_0x3386cc['watchList']||[];let t=Object['create'](null);this['An']=(_0x16cecb,_0x5a2c5a)=>{this['Jt']&&window['clearTimeout'](this['Jt']),t[_0x16cecb]||(t[_0x16cecb]=new Set()),t[_0x16cecb]['add'](_0x5a2c5a),this['Jt']=window['setTimeout'](()=>{0x0!==Object['keys'](t)['length']&&(this['Zi']['forEach'](_0x2f5ab1=>{_0x2f5ab1({...t});}),t=Object['create'](null));}),this['Mn']();},_0x3386cc['handler']&&this['observeCollection'](_0x3386cc['handler']);}static{this['au']=0x2710;}['q'](){this['ei']&&window['clearTimeout'](this['ei']),this['ei']=window['setTimeout'](()=>{let _0x18e288=new Set(this['mo']),t=new Set(this['fo']);this['mo']['clear'](),this['fo']['clear']();for(let _0x4aff21 of this['Yi'])_0x4aff21?.([...this['ye']],_0x18e288,t);this['Mn']();});}['Mn'](){0x0!==this['kt']['size']&&(this['ti']&&window['clearTimeout'](this['ti']),this['ti']=window['setTimeout'](()=>{let _0x2692bb=[...this['kt']];this['kt']['clear']();for(let t of _0x2692bb)t['destroy']();},_0x32d3cb['au']));}['observeCollection'](_0x4d1562){return this['Yi']['add'](_0x4d1562),this['ye']['size']>0x0&&this['q'](),()=>{this['unobserveCollection'](_0x4d1562);};}['unobserveCollection'](_0x199f2f){this['Yi']['delete'](_0x199f2f);}['add'](_0x348025){let t=new _0x207bd5(this['kn']);for(let [_0x4529cc,_0x9b668c]of Object['entries'](_0x348025))t['setValue'](_0x4529cc,_0x9b668c);return this['ye']['add'](t['uid']),this['q'](),this['Y']['add'](t['uid'],t),this['mo']['add'](t),this['Sn']['forEach'](_0x4a4c0a=>{this['Pe'][t['uid']]||(this['Pe'][t['uid']]=[]),this['Pe'][t['uid']]?.['push'](t['subscribe'](_0x4a4c0a,()=>{this['An'](_0x4a4c0a,t['uid']);}));}),t['uid'];}['hasItem'](_0x30b053){return this['ye']['has'](_0x30b053);}['read'](_0x58c4aa){return this['Y']['read'](_0x58c4aa)??null;}['readProp'](_0x295c8d,t){let _0x350893=this['read'](_0x295c8d);if(!_0x350893)throw new Error('TypedCollection#readProp:\x20Item\x20with\x20id\x20'+_0x295c8d+'\x20not\x20found');return _0x350893['getValue'](t);}['publishProp'](_0x1d64f2,t,_0x56686c){let _0x23528a=this['read'](_0x1d64f2);if(!_0x23528a)throw new Error('TypedCollection#publishProp:\x20Item\x20with\x20id\x20'+_0x1d64f2+'\x20not\x20found');_0x23528a['setValue'](t,_0x56686c);}['remove'](_0x5a657c){let t=this['read'](_0x5a657c);t&&(this['fo']['add'](t),this['kt']['add'](t)),this['ye']['delete'](_0x5a657c),this['q'](),this['Y']['pub'](_0x5a657c,void 0x0),this['Pe'][_0x5a657c]?.['forEach'](_0xb85ba2=>{_0xb85ba2();}),delete this['Pe'][_0x5a657c];}['clearAll'](){this['ye']['forEach'](_0x2f645a=>{this['remove'](_0x2f645a);});}['observeProperties'](_0x15faf8){return this['Zi']['add'](_0x15faf8),()=>{this['unobserveProperties'](_0x15faf8);};}['unobserveProperties'](_0x46f4ee){this['Zi']['delete'](_0x46f4ee);}['findItems'](_0x343dde){let t=[];return this['ye']['forEach'](_0x48dd57=>{let _0x4fd247=this['read'](_0x48dd57);_0x4fd247&&_0x343dde(_0x4fd247)&&t['push'](_0x48dd57);}),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 _0x1bbaad of this['kt'])_0x1bbaad['destroy']();this['kt']['clear'](),tM['deleteCtx'](this['J']),this['Zi']=new Set(),this['Yi']=new Set();for(let _0x3136e8 of Object['keys'](this['Pe']))this['Pe'][_0x3136e8]?.['forEach'](t=>{t();}),delete this['Pe'][_0x3136e8];}},_0xe192c7=Object['freeze']({'PHOTO':'photo','VIDEO':'video'}),_0x163d7e=Object['freeze']({'IDLE':'idle','SHOT':'shot','PLAY':'play','PAUSE':'pause','RESUME':'resume','STOP':'stop','RETAKE':'retake','ACCEPT':'accept'}),_0x3b2e90=(_0xbbd3ad,_0x5c6155,{timeout:t=0x3e8,onTimeout:_0x457e8a}={})=>new Promise(_0xa04c98=>{let _0x3c564c,_0x17b9b8=setTimeout(()=>{cancelAnimationFrame(_0x3c564c),_0x457e8a?.();},t),_0x4dc30d=()=>{for(let _0x205d2b of _0xbbd3ad)if(_0x5c6155(_0x205d2b))return clearTimeout(_0x17b9b8),void _0xa04c98(_0x205d2b);_0x3c564c=requestAnimationFrame(_0x4dc30d);};_0x4dc30d();});function _0x532cef(_0x1360fc,_0x382b26){for(let t in _0x382b26)t['includes']('-')?_0x1360fc['style']['setProperty'](t,String(_0x382b26[t])):_0x1360fc['style'][t]=String(_0x382b26[t]);}var _0x3d4f7c=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'),_0x574275=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'}),_0x3de61c=Object['freeze']({'MOBILE_VIDEO_CAMERA':'mobile-video-camera','MOBILE_PHOTO_CAMERA':'mobile-photo-camera'}),_0x335033=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url',..._0x3de61c,..._0x574275}),_0x387766={[_0x574275['DROPBOX_CHOOSER']]:_0x574275['DROPBOX']},_0x3ec4eb=_0x1e59ca=>_0x387766[_0x1e59ca]??_0x1e59ca,_0x5732e6=_0x58ddb6=>_0x58ddb6['uploadCollection']['items']()['map'](_0x24499e=>_0x58ddb6['api']['getOutputItem'](_0x24499e));function _0x56aead(_0x5785ab){let _0x247e4e=new Map();return(..._0x2d7572)=>{let _0x5c3e0d=JSON['stringify'](_0x2d7572);if(_0x247e4e['has'](_0x5c3e0d))return _0x247e4e['get'](_0x5c3e0d);let _0x4bf44d=_0x5785ab(..._0x2d7572);return _0x247e4e['set'](_0x5c3e0d,_0x4bf44d),_0x4bf44d;};}var _0x5c1edd=new Set();function _0x2c3099(_0x37cdc6){_0x5c1edd['has'](_0x37cdc6)||(_0x5c1edd['add'](_0x37cdc6),console['warn'](_0x37cdc6));}function _0x3e5356(_0x119b91){let _0x5e767b={},t=_0x119b91['ctx'],_0x4510d0={'progress':()=>t['read']('*commonProgress'),'errors':()=>t['read']('*collectionErrors'),'group':()=>t['read']('*groupInfo'),'totalCount':()=>_0x119b91['uploadCollection']['size'],'failedCount':()=>_0x5e767b['failedEntries']['length'],'successCount':()=>_0x5e767b['successEntries']['length'],'uploadingCount':()=>_0x5e767b['uploadingEntries']['length'],'status':()=>_0x5e767b['isFailed']?'failed':_0x5e767b['isUploading']?'uploading':_0x5e767b['isSuccess']?'success':'idle','isSuccess':()=>_0x5e767b['allEntries']['length']>0x0&&0x0===_0x5e767b['errors']['length']&&_0x5e767b['successEntries']['length']===_0x5e767b['allEntries']['length'],'isUploading':()=>_0x5e767b['allEntries']['some'](_0x5ac29e=>'uploading'===_0x5ac29e['status']),'isFailed':()=>_0x5e767b['errors']['length']>0x0||_0x5e767b['failedEntries']['length']>0x0,'allEntries':()=>_0x5732e6(_0x119b91),'successEntries':()=>_0x5e767b['allEntries']['filter'](_0x583834=>'success'===_0x583834['status']),'failedEntries':()=>_0x5e767b['allEntries']['filter'](_0x4c3b19=>'failed'===_0x4c3b19['status']),'uploadingEntries':()=>_0x5e767b['allEntries']['filter'](_0x570623=>'uploading'===_0x570623['status']),'idleEntries':()=>_0x5e767b['allEntries']['filter'](_0x41ee3a=>'idle'===_0x41ee3a['status'])},_0x128e03=function(_0xef44ce){let _0x34e909=!0x1;return setTimeout(()=>{_0x34e909=!0x0;},0x0),_0x401289=>(..._0xb95495)=>(_0x34e909&&_0x2c3099(_0xef44ce),_0x401289(..._0xb95495));}('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 [_0x2aa494,_0x3f2be1]of Object['entries'](_0x4510d0)){let _0x577937=_0x2aa494,_0x5d6831=_0x56aead(_0x128e03(_0x3f2be1));Object['defineProperty'](_0x5e767b,_0x577937,{'get':_0x5d6831,'enumerable':!0x0});}return _0x5e767b;}var _0x1d535b=class extends _0x14b350{constructor(){super(...arguments),this['Et']=_0x559b0b(()=>this['e']),this['addFileFromUrl']=(t,{silent:_0x46ea6a,fileName:_0x207e28,source:_0x454834}={})=>{let _0x5d779c=this['v']['add']({'externalUrl':t,'fileName':_0x207e28??null,'silent':_0x46ea6a??!0x1,'source':_0x454834??_0x335033['API']});return this['getOutputItem'](_0x5d779c);},this['addFileFromUuid']=(t,{silent:_0x48efb1,fileName:_0x44d29a,source:_0x2d4283}={})=>{let _0x441472=this['v']['add']({'uuid':t,'fileName':_0x44d29a??null,'silent':_0x48efb1??!0x1,'source':_0x2d4283??_0x335033['API']});return this['getOutputItem'](_0x441472);},this['addFileFromCdnUrl']=(t,{silent:_0x43f24c,fileName:_0x478ad4,source:_0x2cec15}={})=>{let _0x20b111=(({url:_0x3989e8,cdnBase:_0x9c5e3e})=>{let t=new URL(_0x9c5e3e),_0x41c316=new URL(_0x7ff31e),_0x2fcf43=new URL(_0x3989e8);if(t['host']!==_0x2fcf43['host']&&_0x41c316['host']!==_0x2fcf43['host'])return null;let _0x3f63ad=_0x3d4f7c['exec'](_0x2fcf43['pathname']);if(!_0x3f63ad)return null;let [,_0x1ade4d,_0x1b3229,_0x12d61f]=_0x3f63ad;return _0x1ade4d?{'uuid':_0x1ade4d,'cdnUrlModifiers':_0x1b3229||'','filename':_0x12d61f||null}:null;})({'url':t,'cdnBase':this['cfg']['cdnCname']});if(!_0x20b111)throw new Error('Invalid\x20CDN\x20URL');let _0x5a3b98=this['v']['add']({'uuid':_0x20b111['uuid'],'cdnUrl':t,'cdnUrlModifiers':_0x20b111['cdnUrlModifiers'],'fileName':_0x478ad4??_0x20b111['filename']??null,'silent':_0x43f24c??!0x1,'source':_0x2cec15??_0x335033['API']});return this['getOutputItem'](_0x5a3b98);},this['addFileFromObject']=(t,{silent:_0x18442b,fileName:_0x31cc21,source:_0x56070e,fullPath:_0x45a328}={})=>{let _0x31ab68=this['v']['add']({'file':t,'isImage':_0x1fbbd4(t),'mimeType':t['type']||null,'fileName':_0x31cc21??t['name'],'fileSize':t['size'],'silent':_0x18442b??!0x1,'source':_0x56070e??_0x335033['API'],'fullPath':_0x45a328??null});return this['getOutputItem'](_0x31ab68);},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'](_0x3ff8c3=>{let _0x247ac6=this['v']['read'](_0x3ff8c3);return!!_0x247ac6&&!(_0x247ac6['getValue']('isRemoved')||_0x247ac6['getValue']('isUploading')||_0x247ac6['getValue']('fileInfo')||0x0!==_0x247ac6['getValue']('errors')['length']||_0x247ac6['getValue']('isValidationPending')||_0x247ac6['getValue']('isQueuedForValidation'));});0x0!==t['length']&&(this['e']['pub']('*uploadTrigger',new Set(t)),this['i']['eventEmitter']['emit'](_0x28b9b1['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));},this['openSystemDialog']=(t={})=>{let _0x187837=_0x5b13a9(_0x443495([this['cfg']['accept']??'',...this['cfg']['imgOnly']?_0x5b61c0:[]])),_0x25ac2c='uploadcare-file-input',_0x6de7b=document['createElement']('input');if(_0x6de7b['setAttribute'](_0x25ac2c,''),_0x532cef(_0x6de7b,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden','position':'absolute','top':0x0,'left':0x0}),_0x6de7b['type']='file',_0x6de7b['multiple']=this['cfg']['multiple'],t['captureCamera']){_0x6de7b['capture']=this['cfg']['cameraCapture'];let {isPhotoEnabled:_0x856c7f,isVideoRecordingEnabled:_0x4105e8}=(_0x1fb85f=>({'isVideoRecordingEnabled':_0x1824ee(_0x1fb85f['cameraModes'])['includes'](_0xe192c7['VIDEO']),'isPhotoEnabled':_0x1824ee(_0x1fb85f['cameraModes'])['includes'](_0xe192c7['PHOTO'])}))(this['cfg']);t['modeCamera']===_0xe192c7['PHOTO']&&_0x856c7f?_0x6de7b['accept']=_0x22aece:t['modeCamera']===_0xe192c7['VIDEO']&&_0x4105e8?_0x6de7b['accept']=_0x2dce63:_0x6de7b['accept']=[_0x22aece,_0x4105e8&&_0x2dce63]['filter'](Boolean)['join'](',');}else _0x6de7b['accept']=_0x187837;_0x6de7b['addEventListener']('change',()=>{_0x6de7b['files']&&([..._0x6de7b['files']]['forEach'](_0x5b9ed4=>{this['addFileFromObject'](_0x5b9ed4,{'source':t['captureCamera']?_0x335033['CAMERA']:_0x335033['LOCAL']});}),this['e']['pub']('*currentActivity',_0x483bfa['UPLOAD_LIST']),this['i']['modalManager']?.['open'](_0x483bfa['UPLOAD_LIST']),_0x6de7b['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0x25ac2c+']')['forEach'](_0x536573=>{_0x536573['remove']();}),document['body']['appendChild'](_0x6de7b),_0x6de7b['dispatchEvent'](new MouseEvent('click'));},this['initFlow']=(t=!0x1)=>{if(this['v']['size']>0x0&&!t)this['e']['pub']('*currentActivity',_0x483bfa['UPLOAD_LIST']),this['i']['modalManager']?.['open'](_0x483bfa['UPLOAD_LIST']);else{if(0x1===this['On']?.['length']){let _0x5b3a96=this['On'][0x0];this['go']()['then'](()=>{let _0x498779=this['i']['pluginManager']['snapshot']()['sources'],_0x4f2705=_0x498779['find'](_0x4ff104=>_0x4ff104['id']===_0x5b3a96);if(_0x4f2705){let _0x2611eb=_0x4f2705['expand']?.()??[_0x5b3a96];return void(0x1===_0x2611eb['length']?(_0x498779['find'](_0x187b3e=>_0x187b3e['id']===_0x2611eb[0x0])??_0x4f2705)['onSelect']():(this['e']['pub']('*currentActivity',_0x483bfa['START_FROM']),this['i']['modalManager']?.['open'](_0x483bfa['START_FROM'])));}this['e']['read']('*currentActivity')&&this['i']['modalManager']?.['open'](this['e']['read']('*currentActivity'));});}else this['e']['pub']('*currentActivity',_0x483bfa['START_FROM']),this['i']['modalManager']?.['open'](_0x483bfa['START_FROM']);}},this['doneFlow']=()=>{let t=((_0x2fe2fa,_0x612393)=>{for(let t of _0x2fe2fa)if(_0x612393(t))return t;})(this['i']['blocksRegistry'],_0x56d0f8=>'doneActivity'in _0x56d0f8);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,..._0x238b8d)=>{this['go']()['then'](()=>{this['e']['pub']('*currentActivityParams',_0x238b8d[0x0]??{}),this['e']['pub']('*currentActivity',t),_0x3b2e90(this['i']['blocksRegistry'],_0x49bfd6=>_0x49bfd6['activityType']===t,{'onTimeout':()=>console['warn']('Activity\x20type\x20\x22'+t+'\x22\x20not\x20found\x20in\x20the\x20context'),'timeout':0x64});});},this['on']=(t,_0x5ee464)=>this['i']['eventEmitter']['on'](t,_0x5ee464),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 _0x14411e=this['e']['read']('*currentActivity');if(_0x14411e)return _0x3b2e90(this['i']['blocksRegistry'],_0x4f26e3=>_0x4f26e3['activityType']===_0x14411e,{'onTimeout':()=>console['warn']('Activity\x20block\x20\x22'+_0x14411e+'\x22\x20not\x20found\x20in\x20the\x20context')})['then'](()=>{this['i']['modalManager']?.['open'](_0x14411e);});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 _0x5c4e6e=tM['getCtx'](t);if(!_0x5c4e6e)throw new Error('UploaderPublicApi#getOutputItem:\x20Entry\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found\x20in\x20the\x20upload\x20collection');let _0x553d87=_0x5c4e6e['store'],_0x2344a9=_0x553d87['fileInfo'],_0x3aeac3=_0x553d87['isRemoved']?'removed':_0x553d87['errors']['length']>0x0?'failed':_0x553d87['fileInfo']?'success':_0x553d87['isUploading']?'uploading':'idle';return{'uuid':_0x2344a9?.['uuid']??_0x553d87['uuid']??null,'internalId':t,'name':_0x2344a9?.['originalFilename']??_0x553d87['fileName'],'size':_0x2344a9?.['size']??_0x553d87['fileSize'],'isImage':_0x2344a9?.['isImage']??_0x553d87['isImage'],'mimeType':_0x2344a9?.['mimeType']??_0x553d87['mimeType'],'file':_0x553d87['file'],'externalUrl':_0x553d87['externalUrl'],'cdnUrlModifiers':_0x553d87['cdnUrlModifiers'],'cdnUrl':_0x553d87['cdnUrl']??_0x2344a9?.['cdnUrl']??null,'fullPath':_0x553d87['fullPath'],'uploadProgress':_0x553d87['uploadProgress'],'fileInfo':_0x2344a9??null,'metadata':_0x553d87['metadata']??_0x2344a9?.['metadata']??null,'isSuccess':'success'===_0x3aeac3,'isUploading':'uploading'===_0x3aeac3,'isFailed':'failed'===_0x3aeac3,'isRemoved':'removed'===_0x3aeac3,'isValidationPending':_0x553d87['isValidationPending'],'errors':_0x553d87['errors'],'status':_0x3aeac3,'source':_0x553d87?.['source']};}['getOutputCollectionState'](){return _0x3e5356(this['i']);}async['go'](){return(await this['i']['wait']('pluginManager'))['pluginsReady']();}get['On'](){let t=[];return this['cfg']['sourceList']&&(t=_0x4e8b4f(this['cfg']['sourceList'])),t;}},_0x388745={'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},_0x4a6a81=33.333333333333336;function _0x3950d0(_0xb40e43,_0x33830c){for(let [t,_0x60f8c1]of Object['entries'](_0x33830c))_0xb40e43['setAttributeNS'](null,t,_0x60f8c1['toString']());}function _0x203589(_0x4f05b2,_0x1cf622={}){let t=document['createElementNS']('http://www.w3.org/2000/svg',_0x4f05b2);return _0x3950d0(t,_0x1cf622),t;}function _0x28c242(_0x245f62,_0x4eaa89,t){let {x:_0x4d86bf,y:_0x14a952,width:_0x26c441,height:_0x53a153}=_0x245f62,_0xb26994=_0x4eaa89['includes']('w')?0x0:0x1,_0x450c0f=_0x4eaa89['includes']('n')?0x0:0x1,_0x226935=0x0===_0xb26994?-0x1:0x1,_0x4570fd=0x0===_0x450c0f?-0x1:0x1,_0x36973f=[_0x4d86bf+_0xb26994*_0x26c441+1.5*_0x226935,_0x14a952+_0x450c0f*_0x53a153+1.5*_0x4570fd-0x18*t*_0x4570fd],_0x306c6e=[_0x4d86bf+_0xb26994*_0x26c441+1.5*_0x226935,_0x14a952+_0x450c0f*_0x53a153+1.5*_0x4570fd],_0x1b28f7=[_0x4d86bf+_0xb26994*_0x26c441-0x18*t*_0x226935+1.5*_0x226935,_0x14a952+_0x450c0f*_0x53a153+1.5*_0x4570fd];return{'d':'M\x20'+_0x36973f[0x0]+'\x20'+_0x36973f[0x1]+'\x20L\x20'+_0x306c6e[0x0]+'\x20'+_0x306c6e[0x1]+'\x20L\x20'+_0x1b28f7[0x0]+'\x20'+_0x1b28f7[0x1],'center':[_0x306c6e[0x0],_0x306c6e[0x1]]};}function _0x456038(_0x298f8f,_0x19747e,t){let _0x37197c,_0x3ae09e,{x:_0x5d231b,y:_0x111b6a,width:_0x5bb56d,height:_0x466abd}=_0x298f8f,_0x5bf5ff='n'===_0x19747e||'s'===_0x19747e,_0xdbc2ee=_0x5bf5ff?0.5:'w'===_0x19747e?0x0:0x1,_0x41f4d5='w'===_0x19747e||'e'===_0x19747e?0.5:'n'===_0x19747e?0x0:0x1,_0x974680='w'===_0x19747e?-0x1:'e'===_0x19747e?0x1:0x0,_0x5c1148='n'===_0x19747e?-0x1:'s'===_0x19747e?0x1:0x0;return _0x5bf5ff?(_0x37197c=[_0x5d231b+_0xdbc2ee*_0x5bb56d-0x22*t/0x2,_0x111b6a+_0x41f4d5*_0x466abd+1.5*_0x5c1148],_0x3ae09e=[_0x5d231b+_0xdbc2ee*_0x5bb56d+0x22*t/0x2,_0x111b6a+_0x41f4d5*_0x466abd+1.5*_0x5c1148]):(_0x37197c=[_0x5d231b+_0xdbc2ee*_0x5bb56d+1.5*_0x974680,_0x111b6a+_0x41f4d5*_0x466abd-0x22*t/0x2],_0x3ae09e=[_0x5d231b+_0xdbc2ee*_0x5bb56d+1.5*_0x974680,_0x111b6a+_0x41f4d5*_0x466abd+0x22*t/0x2]),{'d':'M\x20'+_0x37197c[0x0]+'\x20'+_0x37197c[0x1]+'\x20L\x20'+_0x3ae09e[0x0]+'\x20'+_0x3ae09e[0x1],'center':[(_0x37197c[0x0]+_0x3ae09e[0x0])/0x2,(_0x37197c[0x1]+_0x3ae09e[0x1])/0x2]};}function _0x2d3e70(_0x196361,_0x46be41){let {x:t}=_0x196361,{y:_0x284959}=_0x196361;return _0x196361['x']<_0x46be41['x']?t=_0x46be41['x']:_0x196361['x']+_0x196361['width']>_0x46be41['x']+_0x46be41['width']&&(t=_0x46be41['x']+_0x46be41['width']-_0x196361['width']),_0x196361['y']<_0x46be41['y']?_0x284959=_0x46be41['y']:_0x196361['y']+_0x196361['height']>_0x46be41['y']+_0x46be41['height']&&(_0x284959=_0x46be41['y']+_0x46be41['height']-_0x196361['height']),{..._0x196361,'x':t,'y':_0x284959};}function _0xeec4a9({direction:_0x541b72,..._0x4bf7e0}){switch(_0x541b72){case'n':return function({rect:_0x4aa7ed,delta:_0x2be1b4,aspectRatio:t,imageBox:_0x192867}){let [,_0xca815e]=_0x2be1b4,{y:_0x41e31c,width:_0x302a6c,height:_0x35d52a}=_0x4aa7ed;_0x41e31c+=_0xca815e,_0x35d52a-=_0xca815e,t&&(_0x302a6c=_0x35d52a*t);let _0x4361e7=_0x4aa7ed['x']+_0x4aa7ed['width']/0x2-_0x302a6c/0x2;return _0x41e31c<=_0x192867['y']&&(_0x41e31c=_0x192867['y'],_0x35d52a=_0x4aa7ed['y']+_0x4aa7ed['height']-_0x41e31c,t&&(_0x302a6c=_0x35d52a*t,_0x4361e7=_0x4aa7ed['x']+_0x4aa7ed['width']/0x2-_0x302a6c/0x2)),_0x4361e7<=_0x192867['x']&&(_0x4361e7=_0x192867['x'],_0x41e31c=_0x4aa7ed['y']+_0x4aa7ed['height']-_0x35d52a),_0x4361e7+_0x302a6c>=_0x192867['x']+_0x192867['width']&&(_0x4361e7=Math['max'](_0x192867['x'],_0x192867['x']+_0x192867['width']-_0x302a6c),_0x302a6c=_0x192867['x']+_0x192867['width']-_0x4361e7,t&&(_0x35d52a=_0x302a6c/t),_0x41e31c=_0x4aa7ed['y']+_0x4aa7ed['height']-_0x35d52a),_0x35d52a<0x1&&(_0x35d52a=0x1,t&&(_0x302a6c=_0x35d52a*t,_0x4361e7=_0x4aa7ed['x']+_0x4aa7ed['width']/0x2-_0x302a6c/0x2),_0x41e31c=_0x4aa7ed['y']+_0x4aa7ed['height']-_0x35d52a),_0x302a6c<0x1&&(_0x302a6c=0x1,t&&(_0x35d52a=_0x302a6c/t,_0x4361e7=_0x4aa7ed['x']+_0x4aa7ed['width']/0x2-_0x302a6c/0x2),_0x41e31c=_0x4aa7ed['y']+_0x4aa7ed['height']-_0x35d52a),{'x':_0x4361e7,'y':_0x41e31c,'width':_0x302a6c,'height':_0x35d52a};}(_0x4bf7e0);case'w':return function({rect:_0x244b1c,delta:_0x5f9d6e,aspectRatio:t,imageBox:_0x551b92}){let [_0x4c5b70]=_0x5f9d6e,{x:_0x3a35b5,width:_0x22ed5e,height:_0xbf204b}=_0x244b1c;_0x3a35b5+=_0x4c5b70,_0x22ed5e-=_0x4c5b70,t&&(_0xbf204b=_0x22ed5e/t);let _0x59d3d5=_0x244b1c['y']+_0x244b1c['height']/0x2-_0xbf204b/0x2;return _0x3a35b5<=_0x551b92['x']&&(_0x3a35b5=_0x551b92['x'],_0x22ed5e=_0x244b1c['x']+_0x244b1c['width']-_0x3a35b5,t&&(_0xbf204b=_0x22ed5e/t,_0x59d3d5=_0x244b1c['y']+_0x244b1c['height']/0x2-_0xbf204b/0x2)),_0x59d3d5<=_0x551b92['y']&&(_0x59d3d5=_0x551b92['y'],_0x3a35b5=_0x244b1c['x']+_0x244b1c['width']-_0x22ed5e),_0x59d3d5+_0xbf204b>=_0x551b92['y']+_0x551b92['height']&&(_0x59d3d5=Math['max'](_0x551b92['y'],_0x551b92['y']+_0x551b92['height']-_0xbf204b),_0xbf204b=_0x551b92['y']+_0x551b92['height']-_0x59d3d5,t&&(_0x22ed5e=_0xbf204b*t),_0x3a35b5=_0x244b1c['x']+_0x244b1c['width']-_0x22ed5e),_0xbf204b<0x1&&(_0xbf204b=0x1,t&&(_0x22ed5e=_0xbf204b*t),_0x59d3d5=_0x244b1c['y']+_0x244b1c['height']/0x2-_0xbf204b/0x2,_0x3a35b5=_0x244b1c['x']+_0x244b1c['width']-_0x22ed5e),_0x22ed5e<0x1&&(_0x22ed5e=0x1,t&&(_0xbf204b=_0x22ed5e/t),_0x59d3d5=_0x244b1c['y']+_0x244b1c['height']/0x2-_0xbf204b/0x2,_0x3a35b5=_0x244b1c['x']+_0x244b1c['width']-_0x22ed5e),{'x':_0x3a35b5,'y':_0x59d3d5,'width':_0x22ed5e,'height':_0xbf204b};}(_0x4bf7e0);case's':return function({rect:_0x4d75dc,delta:_0x297d05,aspectRatio:t,imageBox:_0x224e1f}){let [,_0x595958]=_0x297d05,{y:_0x254936,width:_0xd7e134,height:_0x6cbcae}=_0x4d75dc;_0x6cbcae+=_0x595958,t&&(_0xd7e134=_0x6cbcae*t);let _0x134507=_0x4d75dc['x']+_0x4d75dc['width']/0x2-_0xd7e134/0x2;return _0x254936+_0x6cbcae>=_0x224e1f['y']+_0x224e1f['height']&&(_0x6cbcae=_0x224e1f['y']+_0x224e1f['height']-_0x254936,t&&(_0xd7e134=_0x6cbcae*t),_0x134507=_0x4d75dc['x']+_0x4d75dc['width']/0x2-_0xd7e134/0x2),_0x134507<=_0x224e1f['x']&&(_0x134507=_0x224e1f['x'],_0x254936=_0x4d75dc['y']),_0x134507+_0xd7e134>=_0x224e1f['x']+_0x224e1f['width']&&(_0x134507=Math['max'](_0x224e1f['x'],_0x224e1f['x']+_0x224e1f['width']-_0xd7e134),_0xd7e134=_0x224e1f['x']+_0x224e1f['width']-_0x134507,t&&(_0x6cbcae=_0xd7e134/t),_0x254936=_0x4d75dc['y']),_0x6cbcae<0x1&&(_0x6cbcae=0x1,t&&(_0xd7e134=_0x6cbcae*t),_0x134507=_0x4d75dc['x']+_0x4d75dc['width']/0x2-_0xd7e134/0x2),_0xd7e134<0x1&&(_0xd7e134=0x1,t&&(_0x6cbcae=_0xd7e134/t),_0x134507=_0x4d75dc['x']+_0x4d75dc['width']/0x2-_0xd7e134/0x2),{'x':_0x134507,'y':_0x254936,'width':_0xd7e134,'height':_0x6cbcae};}(_0x4bf7e0);case'e':return function({rect:_0x2a75fb,delta:_0x2f43a5,aspectRatio:t,imageBox:_0x78075b}){let [_0xaca84f]=_0x2f43a5,{x:_0x392678,width:_0x265391,height:_0x39a343}=_0x2a75fb;_0x265391+=_0xaca84f,t&&(_0x39a343=_0x265391/t);let _0x47ed84=_0x2a75fb['y']+_0x2a75fb['height']/0x2-_0x39a343/0x2;return _0x392678+_0x265391>=_0x78075b['x']+_0x78075b['width']&&(_0x265391=_0x78075b['x']+_0x78075b['width']-_0x392678,t&&(_0x39a343=_0x265391/t),_0x47ed84=_0x2a75fb['y']+_0x2a75fb['height']/0x2-_0x39a343/0x2),_0x47ed84<=_0x78075b['y']&&(_0x47ed84=_0x78075b['y'],_0x392678=_0x2a75fb['x']),_0x47ed84+_0x39a343>=_0x78075b['y']+_0x78075b['height']&&(_0x47ed84=Math['max'](_0x78075b['y'],_0x78075b['y']+_0x78075b['height']-_0x39a343),_0x39a343=_0x78075b['y']+_0x78075b['height']-_0x47ed84,t&&(_0x265391=_0x39a343*t),_0x392678=_0x2a75fb['x']),_0x39a343<0x1&&(_0x39a343=0x1,t&&(_0x265391=_0x39a343*t),_0x47ed84=_0x2a75fb['y']+_0x2a75fb['height']/0x2-_0x39a343/0x2),_0x265391<0x1&&(_0x265391=0x1,t&&(_0x39a343=_0x265391/t),_0x47ed84=_0x2a75fb['y']+_0x2a75fb['height']/0x2-_0x39a343/0x2),{'x':_0x392678,'y':_0x47ed84,'width':_0x265391,'height':_0x39a343};}(_0x4bf7e0);case'nw':return function({rect:_0x114489,delta:_0x211963,aspectRatio:t,imageBox:_0x5537c0}){let [_0x1221f7,_0x7d878c]=_0x211963,{x:_0x5d4513,y:_0x3c01ec,width:_0x48a122,height:_0x92b163}=_0x114489;return _0x5d4513+_0x1221f7<_0x5537c0['x']&&(_0x1221f7=_0x5537c0['x']-_0x5d4513),_0x3c01ec+_0x7d878c<_0x5537c0['y']&&(_0x7d878c=_0x5537c0['y']-_0x3c01ec),_0x5d4513+=_0x1221f7,_0x48a122-=_0x1221f7,_0x3c01ec+=_0x7d878c,_0x92b163-=_0x7d878c,t&&Math['abs'](_0x48a122/_0x92b163)>t?(_0x7d878c=_0x48a122/t-_0x92b163,_0x92b163+=_0x7d878c,_0x3c01ec-=_0x7d878c,_0x3c01ec<=_0x5537c0['y']&&(_0x92b163-=_0x5537c0['y']-_0x3c01ec,_0x48a122=_0x92b163*t,_0x5d4513=_0x114489['x']+_0x114489['width']-_0x48a122,_0x3c01ec=_0x5537c0['y'])):t&&(_0x1221f7=_0x92b163*t-_0x48a122,_0x48a122+=_0x1221f7,_0x5d4513-=_0x1221f7,_0x5d4513<=_0x5537c0['x']&&(_0x48a122-=_0x5537c0['x']-_0x5d4513,_0x92b163=_0x48a122/t,_0x5d4513=_0x5537c0['x'],_0x3c01ec=_0x114489['y']+_0x114489['height']-_0x92b163)),_0x92b163<0x1&&(_0x92b163=0x1,t&&(_0x48a122=_0x92b163*t),_0x5d4513=_0x114489['x']+_0x114489['width']-_0x48a122,_0x3c01ec=_0x114489['y']+_0x114489['height']-_0x92b163),_0x48a122<0x1&&(_0x48a122=0x1,t&&(_0x92b163=_0x48a122/t),_0x5d4513=_0x114489['x']+_0x114489['width']-_0x48a122,_0x3c01ec=_0x114489['y']+_0x114489['height']-_0x92b163),{'x':_0x5d4513,'y':_0x3c01ec,'width':_0x48a122,'height':_0x92b163};}(_0x4bf7e0);case'ne':return function({rect:_0xa5d484,delta:_0x5198f7,aspectRatio:t,imageBox:_0x438f30}){let [_0x204f5f,_0x5ce4d6]=_0x5198f7,{x:_0x3d4d2c,y:_0x23eb85,width:_0x3842ae,height:_0x270f0e}=_0xa5d484;return _0x3d4d2c+_0x3842ae+_0x204f5f>_0x438f30['x']+_0x438f30['width']&&(_0x204f5f=_0x438f30['x']+_0x438f30['width']-_0x3d4d2c-_0x3842ae),_0x23eb85+_0x5ce4d6<_0x438f30['y']&&(_0x5ce4d6=_0x438f30['y']-_0x23eb85),_0x3842ae+=_0x204f5f,_0x23eb85+=_0x5ce4d6,_0x270f0e-=_0x5ce4d6,t&&Math['abs'](_0x3842ae/_0x270f0e)>t?(_0x5ce4d6=_0x3842ae/t-_0x270f0e,_0x270f0e+=_0x5ce4d6,_0x23eb85-=_0x5ce4d6,_0x23eb85<=_0x438f30['y']&&(_0x270f0e-=_0x438f30['y']-_0x23eb85,_0x3842ae=_0x270f0e*t,_0x3d4d2c=_0xa5d484['x'],_0x23eb85=_0x438f30['y'])):t&&(_0x204f5f=_0x270f0e*t-_0x3842ae,_0x3842ae+=_0x204f5f,_0x3d4d2c+_0x3842ae>=_0x438f30['x']+_0x438f30['width']&&(_0x3842ae=_0x438f30['x']+_0x438f30['width']-_0x3d4d2c,_0x270f0e=_0x3842ae/t,_0x3d4d2c=_0x438f30['x']+_0x438f30['width']-_0x3842ae,_0x23eb85=_0xa5d484['y']+_0xa5d484['height']-_0x270f0e)),_0x270f0e<0x1&&(_0x270f0e=0x1,t&&(_0x3842ae=_0x270f0e*t),_0x23eb85=_0xa5d484['y']+_0xa5d484['height']-_0x270f0e),_0x3842ae<0x1&&(_0x3842ae=0x1,t&&(_0x270f0e=_0x3842ae/t),_0x23eb85=_0xa5d484['y']+_0xa5d484['height']-_0x270f0e),{'x':_0x3d4d2c,'y':_0x23eb85,'width':_0x3842ae,'height':_0x270f0e};}(_0x4bf7e0);case'sw':return function({rect:_0x19aa61,delta:_0xd4a367,aspectRatio:t,imageBox:_0x35a7b9}){let [_0x4c5f18,_0x494d98]=_0xd4a367,{x:_0x5ddd08,y:_0x2afa09,width:_0x4f35d9,height:_0x59a3ac}=_0x19aa61;return _0x5ddd08+_0x4c5f18<_0x35a7b9['x']&&(_0x4c5f18=_0x35a7b9['x']-_0x5ddd08),_0x2afa09+_0x59a3ac+_0x494d98>_0x35a7b9['y']+_0x35a7b9['height']&&(_0x494d98=_0x35a7b9['y']+_0x35a7b9['height']-_0x2afa09-_0x59a3ac),_0x5ddd08+=_0x4c5f18,_0x4f35d9-=_0x4c5f18,_0x59a3ac+=_0x494d98,t&&Math['abs'](_0x4f35d9/_0x59a3ac)>t?(_0x494d98=_0x4f35d9/t-_0x59a3ac,_0x59a3ac+=_0x494d98,_0x2afa09+_0x59a3ac>=_0x35a7b9['y']+_0x35a7b9['height']&&(_0x59a3ac=_0x35a7b9['y']+_0x35a7b9['height']-_0x2afa09,_0x4f35d9=_0x59a3ac*t,_0x5ddd08=_0x19aa61['x']+_0x19aa61['width']-_0x4f35d9,_0x2afa09=_0x35a7b9['y']+_0x35a7b9['height']-_0x59a3ac)):t&&(_0x4c5f18=_0x59a3ac*t-_0x4f35d9,_0x4f35d9+=_0x4c5f18,_0x5ddd08-=_0x4c5f18,_0x5ddd08<=_0x35a7b9['x']&&(_0x4f35d9-=_0x35a7b9['x']-_0x5ddd08,_0x59a3ac=_0x4f35d9/t,_0x5ddd08=_0x35a7b9['x'],_0x2afa09=_0x19aa61['y'])),_0x59a3ac<0x1&&(_0x59a3ac=0x1,t&&(_0x4f35d9=_0x59a3ac*t),_0x5ddd08=_0x19aa61['x']+_0x19aa61['width']-_0x4f35d9),_0x4f35d9<0x1&&(_0x4f35d9=0x1,t&&(_0x59a3ac=_0x4f35d9/t),_0x5ddd08=_0x19aa61['x']+_0x19aa61['width']-_0x4f35d9),{'x':_0x5ddd08,'y':_0x2afa09,'width':_0x4f35d9,'height':_0x59a3ac};}(_0x4bf7e0);case'se':return function({rect:_0x51f38d,delta:_0x58d01d,aspectRatio:t,imageBox:_0x9cdaf2}){let [_0x124348,_0x4221e7]=_0x58d01d,{x:_0x2f5de8,y:_0x318a41,width:_0x114b36,height:_0x3add2b}=_0x51f38d;return _0x2f5de8+_0x114b36+_0x124348>_0x9cdaf2['x']+_0x9cdaf2['width']&&(_0x124348=_0x9cdaf2['x']+_0x9cdaf2['width']-_0x2f5de8-_0x114b36),_0x318a41+_0x3add2b+_0x4221e7>_0x9cdaf2['y']+_0x9cdaf2['height']&&(_0x4221e7=_0x9cdaf2['y']+_0x9cdaf2['height']-_0x318a41-_0x3add2b),_0x114b36+=_0x124348,_0x3add2b+=_0x4221e7,t&&Math['abs'](_0x114b36/_0x3add2b)>t?(_0x4221e7=_0x114b36/t-_0x3add2b,_0x3add2b+=_0x4221e7,_0x318a41+_0x3add2b>=_0x9cdaf2['y']+_0x9cdaf2['height']&&(_0x3add2b=_0x9cdaf2['y']+_0x9cdaf2['height']-_0x318a41,_0x114b36=_0x3add2b*t,_0x2f5de8=_0x51f38d['x'],_0x318a41=_0x9cdaf2['y']+_0x9cdaf2['height']-_0x3add2b)):t&&(_0x124348=_0x3add2b*t-_0x114b36,_0x114b36+=_0x124348,_0x2f5de8+_0x114b36>=_0x9cdaf2['x']+_0x9cdaf2['width']&&(_0x114b36=_0x9cdaf2['x']+_0x9cdaf2['width']-_0x2f5de8,_0x3add2b=_0x114b36/t,_0x2f5de8=_0x9cdaf2['x']+_0x9cdaf2['width']-_0x114b36,_0x318a41=_0x51f38d['y'])),_0x3add2b<0x1&&(_0x3add2b=0x1,t&&(_0x114b36=_0x3add2b*t)),_0x114b36<0x1&&(_0x114b36=0x1,t&&(_0x3add2b=_0x114b36/t)),{'x':_0x2f5de8,'y':_0x318a41,'width':_0x114b36,'height':_0x3add2b};}(_0x4bf7e0);default:return _0x4bf7e0['rect'];}}function _0xc2dc74({width:_0x49af63,height:_0xc1257d},t){let _0x3ea1bf=t/0x5a%0x2!=0x0;return{'width':_0x3ea1bf?_0xc1257d:_0x49af63,'height':_0x3ea1bf?_0x49af63:_0xc1257d};}function _0x36fa1b(_0x46c4a5,_0x1984e2,t){let _0x694f04,_0x5ce903;_0x46c4a5/_0x1984e2>t?(_0x694f04=Math['round'](_0x1984e2*t),_0x5ce903=_0x1984e2):(_0x694f04=_0x46c4a5,_0x5ce903=Math['round'](_0x46c4a5/t));let _0x4e0f15=Math['round']((_0x46c4a5-_0x694f04)/0x2),_0x5009c4=Math['round']((_0x1984e2-_0x5ce903)/0x2);return _0x4e0f15+_0x694f04>_0x46c4a5&&(_0x694f04=_0x46c4a5-_0x4e0f15),_0x5009c4+_0x5ce903>_0x1984e2&&(_0x5ce903=_0x1984e2-_0x5009c4),{'x':_0x4e0f15,'y':_0x5009c4,'width':_0x694f04,'height':_0x5ce903};}function _0x34c00f(_0x26b6c2){return{'x':Math['round'](_0x26b6c2['x']),'y':Math['round'](_0x26b6c2['y']),'width':Math['round'](_0x26b6c2['width']),'height':Math['round'](_0x26b6c2['height'])};}function _0x3b3b0e(_0x29b3b8,_0x1ad46f,t){return Math['min'](Math['max'](_0x29b3b8,_0x1ad46f),t);}var _0x14e481=['free'],_0x4d1e84=_0x3816d6=>{let _0x32b65c=_0x4e8b4f(_0x3816d6);if(!_0x32b65c||0x0===_0x32b65c['length'])return[];let t=[];for(let _0x3537c2 of _0x32b65c){let _0x24bd37=_0x3537c2['trim']();if(!_0x24bd37)continue;let _0x1b6132=_0x24bd37['indexOf'](':');if(-0x1===_0x1b6132&&!_0x14e481['includes'](_0x24bd37)){console['warn']('Invalid\x20crop\x20preset:\x20'+_0x24bd37);continue;}let _0x448392=Number(_0x24bd37['slice'](0x0,_0x1b6132)),_0x3a1980=Number(_0x24bd37['slice'](_0x1b6132+0x1));!(!Number['isFinite'](_0x448392)||!Number['isFinite'](_0x3a1980)||_0x448392<=0x0||_0x3a1980<=0x0)||_0x14e481['includes'](_0x24bd37)?t['push']({'id':_0x14c4f7['generateFastUid'](),'type':'aspect-ratio','width':_0x14e481['includes'](_0x24bd37)?0x0:_0x448392,'height':_0x14e481['includes'](_0x24bd37)?0x0:_0x3a1980,'hasFreeform':_0x14e481['includes'](_0x24bd37)}):console['warn']('Invalid\x20crop\x20preset:\x20'+_0x24bd37);}return t;};function _0x44e41c(_0xa8daec){return _0x4e3267({..._0xa8daec,'libraryName':_0x332218,'libraryVersion':_0x37e118});}var _0x35c7e9,_0x4d06b2='active',_0x5adc68='___ACTIVITY_IS_ACTIVE___',_0x5dadd1=class _0x4d3d19 extends(_0x35c7e9=_0x361fd7,_0x35c7e9){constructor(){super(...arguments),this['historyTracked']=!0x1,this['activityType']=null,this['init$']=_0x523f5d(this),this['lu']=_0x31123d(this['cu']['bind'](this),0xa);}['In'](){let t=_0x4d3d19['ii']['get'](this);this[_0x5adc68]=!0x1,this['removeAttribute'](_0x4d06b2),t?.['deactivateCallback']?.();}['uu'](){let t=_0x4d3d19['ii']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[_0x5adc68]=!0x0,this['setAttribute'](_0x4d06b2,''),t?.['activateCallback']?.(),this['lu'](),this['emit'](_0x28b9b1['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[_0x5adc68]?this['In']():this['activityType']===t&&!this[_0x5adc68]&&this['uu']();}catch(_0x112027){this['telemetryManager']['sendEventError'](_0x112027,'activity\x20\x22'+this['activityType']+'\x22'),console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x112027);let _0x262cc1=this['$']['*history'][this['$']['*history']['length']-0x1];this['$']['*currentActivity']=_0x262cc1??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']&&_0x4d3d19['ii']['has'](this);}static{this['ii']=new Map();}get['isActivityActive'](){return!!this[_0x5adc68];}get['couldOpenActivity'](){return!0x0;}['registerActivity'](t,_0xd107c8={}){let {onActivate:_0x15af02,onDeactivate:_0x4b2d62}=_0xd107c8;_0x4d3d19['ii']['set'](this,{'activateCallback':_0x15af02,'deactivateCallback':_0x4b2d62});}['du'](){this['isActivityActive']&&this['In'](),_0x4d3d19['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 _0x2fd225=t['pop']();for(;_0x2fd225===this['activityType'];)_0x2fd225=t['pop']();let _0x284b6d=!!_0x2fd225;_0x2fd225&&(_0x284b6d=[...this['blocksRegistry']]['find'](_0x49de39=>_0x49de39['activityType']===_0x2fd225)?.['couldOpenActivity']??!0x1),_0x2fd225=_0x284b6d?_0x2fd225:null,this['$']['*currentActivity']=_0x2fd225??null,_0x2fd225&&this['modalManager']?.['open'](_0x2fd225),this['$']['*history']=t,_0x2fd225||this['modalManager']?.['closeAll']();}}};_0x5dadd1['activities']=_0x483bfa;var _0x281aa6=class _0x19d625 extends _0x5dadd1{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x1,this['Xi']=!0x1,this['init$']=_0x8e3f47(this),this['bo']=_0x31123d(async()=>{if(this['getOutputData']()['length']!==this['uploadCollection']['size'])return;let _0x51fcf5=this['api']['getOutputCollectionState']();this['$']['*collectionState']=_0x51fcf5,this['emit'](_0x28b9b1['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['cfg']['groupOutput']&&_0x51fcf5['totalCount']>0x0&&'success'===_0x51fcf5['status']&&this['gu'](_0x51fcf5);},0x12c),this['fu']=(t,_0x415518,_0x82e2c4)=>{if(this['isConnected']){(_0x415518['size']||_0x82e2c4['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators']('add',[..._0x415518]['map'](_0x8fd619=>_0x8fd619['uid']));for(let _0x11b81b of _0x415518)_0x11b81b['getValue']('silent')||this['emit'](_0x28b9b1['FILE_ADDED'],this['api']['getOutputItem'](_0x11b81b['uid'])),this['i']['wait']('pluginManager')['then'](_0x4970a5=>_0x4970a5['runOnAddHooks'](_0x11b81b));this['validationManager']['runCollectionValidators']();for(let _0x5958b4 of _0x82e2c4){this['$']['*uploadTrigger']['delete'](_0x5958b4['uid']),this['validationManager']['cleanupValidationForEntry'](_0x5958b4),_0x5958b4['getValue']('abortController')?.['abort'](),_0x5958b4['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0});let _0xdb30e4=_0x5958b4?.['getValue']('thumbUrl');_0xdb30e4&&URL['revokeObjectURL'](_0xdb30e4),this['emit'](_0x28b9b1['FILE_REMOVED'],this['api']['getOutputItem'](_0x5958b4['uid']));}this['$']['*uploadList']=t['map'](_0x42a27a=>({'uid':_0x42a27a})),this['Un'](),this['bo']();}},this['mu']=t=>{if(!this['isConnected'])return;this['bo']();let _0x331631=this['uploadCollection'],_0x55a224=[...new Set(Object['entries'](t)['filter'](([_0x372140])=>['file','uploadError','fileInfo','cdnUrl','cdnUrlModifiers']['includes'](_0x372140))['flatMap'](([,_0x6711ed])=>[..._0x6711ed]))];if(_0x55a224['length']>0x0&&setTimeout(()=>{if(!this['isConnected'])return;let _0x3652ce=_0x55a224['filter'](_0x4da416=>t['fileInfo']?.['has'](_0x4da416)&&!!tM['getCtx'](_0x4da416)?.['store']['fileInfo']);_0x3652ce['length']>0x0&&this['validationManager']['runFileValidators']('upload',_0x3652ce),this['validationManager']['runFileValidators']('change',_0x55a224);}),t['uploadProgress']){for(let _0x166409 of t['uploadProgress']){let _0x552205=tM['getCtx'](_0x166409);if(!_0x552205)continue;let {isUploading:_0x492dee,silent:_0x1a4fe2}=_0x552205['store'];_0x492dee&&!_0x1a4fe2&&this['emit'](_0x28b9b1['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0x166409));}this['Un']();}if(t['isUploading'])for(let _0x14cc3c of t['isUploading']){let _0x4d159b=tM['getCtx'](_0x14cc3c);if(!_0x4d159b)continue;let {isUploading:_0x8265de,silent:_0x508667}=_0x4d159b['store'];_0x8265de&&!_0x508667&&this['emit'](_0x28b9b1['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0x14cc3c));}if(t['fileInfo']){for(let _0x4014d2 of t['fileInfo']){let _0x32b60b=tM['getCtx'](_0x4014d2);if(!_0x32b60b)continue;let {fileInfo:_0x84ad88,silent:_0x5e041c}=_0x32b60b['store'];_0x84ad88&&!_0x5e041c&&this['emit'](_0x28b9b1['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0x4014d2));}this['cfg']['cropPreset']&&this['vu']();}if(t['errors']){this['validationManager']['runCollectionValidators']();for(let _0x494826 of t['errors']){let _0x39d06f=tM['getCtx'](_0x494826);if(!_0x39d06f)continue;let {errors:_0x526c01}=_0x39d06f['store'];_0x526c01['length']>0x0&&(this['emit'](_0x28b9b1['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0x494826)),this['emit'](_0x28b9b1['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}let _0x17231d=_0x331631['findItems'](_0x177bcf=>!!_0x177bcf['getValue']('fileInfo')),_0x4d9c07=_0x331631['findItems'](_0x2f0de5=>_0x2f0de5['getValue']('errors')['length']>0x0);_0x331631['size']>0x0&&0x0===_0x4d9c07['length']&&_0x331631['size']===_0x17231d['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](_0x28b9b1['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}t['cdnUrl']&&([...t['cdnUrl']]['filter'](_0x469524=>!!this['uploadCollection']['read'](_0x469524)?.['getValue']('cdnUrl'))['forEach'](_0x3499c0=>{this['emit'](_0x28b9b1['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x3499c0));}),this['$']['*groupInfo']=null);},this['Un']=()=>{let t=0x0,_0x271384=[...this['$']['*uploadTrigger']]['filter'](_0x4d384f=>!!this['uploadCollection']['read'](_0x4d384f));_0x271384['forEach'](_0x4fe733=>{let _0x75408=this['uploadCollection']['readProp'](_0x4fe733,'uploadProgress');'number'==typeof _0x75408&&(t+=_0x75408);});let _0x261786=_0x271384['length']?Math['round'](t/_0x271384['length']):0x0;this['$']['*commonProgress']!==_0x261786&&(this['$']['*commonProgress']=_0x261786,this['emit'](_0x28b9b1['COMMON_UPLOAD_PROGRESS'],this['api']['getOutputCollectionState']()));};}get['pu'](){return this['hasBlockInCtx'](t=>t instanceof _0x19d625&&(t['Xi']&&t['isConnected']&&t!==this));}['initCallback'](){super['initCallback'](),this['Z']('*uploadCollection',()=>new tQ({'initialValue':_0x388745,'watchList':['file','uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading','isValidationPending']})),this['Z']('*secureUploadsManager',t=>new _0x1f0aff(t)),this['Z']('*validationManager',t=>new _0x486db4(t)),this['Z']('*publicApi',t=>new _0x1d535b(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 _0x27a8ca=await this['getUploadClientOptions'](),_0x5b45bd=t['allEntries']['map'](_0x3312f1=>_0x3312f1['uuid']+(_0x3312f1['cdnUrlModifiers']?'/'+_0x3312f1['cdnUrlModifiers']:'')),_0x16f5bf=new AbortController(),_0x4d8462=await _0x5123ed(_0x5b45bd,{..._0x27a8ca,'signal':_0x16f5bf['signal']});if(this['$']['*collectionState']!==t)return void _0x16f5bf['abort']();this['$']['*groupInfo']=_0x4d8462;let _0x5ee071=this['api']['getOutputCollectionState']();this['emit'](_0x28b9b1['GROUP_CREATED'],_0x5ee071),this['emit'](_0x28b9b1['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0x5ee071;}['vu'](){let t=_0x4d1e84(this['cfg']['cropPreset']);if(!t)return;let [_0x5dd2d9]=t,_0x2e0d20=this['uploadCollection']['findItems'](_0x53b5a9=>!!_0x53b5a9['getValue']('fileInfo')&&_0x53b5a9['getValue']('isImage')&&!_0x53b5a9['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x35dfa5=>this['uploadCollection']['read'](_0x35dfa5))['filter'](Boolean);for(let _0x2f1469 of _0x2e0d20){let _0x462bcf=_0x2f1469['getValue']('fileInfo');if(!_0x462bcf||!_0x462bcf['imageInfo']){console['warn']('Failed\x20to\x20get\x20image\x20info\x20for\x20entry',_0x2f1469['uid']);continue;}let {width:_0x557de,height:_0x565a68}=_0x462bcf['imageInfo'],_0x46bd6e=_0x36fa1b(_0x557de,_0x565a68,'number'==typeof _0x5dd2d9?.['width']&&'number'==typeof _0x5dd2d9?.['height']&&_0x5dd2d9['width']>0x0&&_0x5dd2d9['height']>0x0?_0x5dd2d9['width']/_0x5dd2d9['height']:0x1),_0x56312f=_0xea2dc3('crop/'+_0x46bd6e['width']+'x'+_0x46bd6e['height']+'/'+_0x46bd6e['x']+','+_0x46bd6e['y'],'preview'),_0x4a95fb=_0x2f1469['getValue']('cdnUrl');_0x4a95fb?_0x2f1469['setMultipleValues']({'cdnUrlModifiers':_0x56312f,'cdnUrl':_0x17e287(_0x4a95fb,_0x56312f)}):console['warn']('Failed\x20to\x20get\x20cdnUrl\x20for\x20entry',_0x2f1469['uid']);}}async['getMetadataFor'](t){let _0x1cabc7=this['cfg']['metadata']||void 0x0;if('function'==typeof _0x1cabc7){let _0xe68421=this['api']['getOutputItem'](t);return await _0x1cabc7(_0xe68421);}return _0x1cabc7;}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':_0x44e41c,'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 _0x5732e6(this['i']);}};_0x281aa6['extSrcList']=Object['freeze']({..._0x574275}),_0x281aa6['sourceTypes']=Object['freeze']({..._0x335033});var _0x9eb847=class extends _0x361fd7{constructor(){super(...arguments),this['name']='',this['Qi']='',this['ri']=null,this['$n']=null;}['initCallback'](){super['initCallback'](),this['setAttribute']('aria-hidden','true'),this['subConfigValue']('iconHrefResolver',_0x32bdc9=>{this['$n']=_0x32bdc9,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 _0x397a24=this['i']['pluginManager']?.['snapshot']()['icons']['find'](_0x1b1f7e=>_0x1b1f7e['name']===this['name']);if(_0x397a24)return this['ri']=_0x397a24['svg'],void(this['Qi']='');this['ri']=null;let _0x3810e7='#uc-icon-'+this['name'],_0xeac55a=this['$n']?.(this['name']);this['Qi']=_0xeac55a??_0x3810e7;}['render'](){return this['ri']?_0x3e6b89`${this['yield']('',_0x3e6b89`${_0x48c811(this['ri'])}`)}`:_0x3e6b89` ${this['yield']('',_0x3e6b89`<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']();}};_0x1a398d([_0x53be06({'type':String})],_0x9eb847['prototype'],'name',0x2),_0x1a398d([_0x671a39()],_0x9eb847['prototype'],'Qi',0x2),_0x1a398d([_0x671a39()],_0x9eb847['prototype'],'ri',0x2);var _0x436a3d='--uc-img-',_0x4fe3a4='unresolved',_0xece668=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),_0x29d834=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),_0x424b00=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}}),_0x764755=class extends _0x16c3d6(_0x40723d(_0x4214c8)){constructor(){super(),this['Mt']={},this['c']=new Map(),this['Ot']=null,this['Ji']=null;for(let t in _0x424b00){let _0x49624f=_0x424b00[t];this['Mt'][_0x436a3d+t]=_0x49624f?.['default']||'';}}['createRenderRoot'](){return this;}['$$'](t){return this['Mt'][_0x436a3d+t];}['set$$'](t){for(let _0x584782 in t){let _0x92399c=_0x436a3d+_0x584782,_0x524fad=t[_0x584782];this['Mt'][_0x92399c]=_0x524fad,this['q'](_0x92399c,_0x524fad);}}['sub$$'](t,_0x5af719){let _0x2d708a=_0x436a3d+t;this['c']['has'](_0x2d708a)||this['c']['set'](_0x2d708a,new Set()),this['c']['get'](_0x2d708a)?.['add'](_0x5af719);let _0x7b8c3=this['Mt'][_0x2d708a];null!==_0x7b8c3&&''!==_0x7b8c3&&_0x5af719(_0x7b8c3);}['q'](t,_0x201ae4){this['c']['has'](t)&&this['c']['get'](t)?.['forEach'](_0x4b8fd7=>{null===_0x201ae4||''===_0x201ae4||_0x4b8fd7(_0x201ae4);});}['analyticsParams'](){return'-/@clib/'+_0x332218+'/'+_0x37e118+'/uc-img/';}['initAttributes'](t){Array['from'](this['attributes'])['forEach'](_0xe3f703=>{let _0x238d41=_0xe3f703;_0x424b00[_0x238d41['name']]||t['setAttribute'](_0x238d41['name'],_0x238d41['value']);});}['initIntersection'](t,_0x1f6559){this['Ot']=new IntersectionObserver(_0x3d71ff=>{_0x3d71ff['forEach'](_0xba2576=>{_0xba2576['isIntersecting']&&(_0x1f6559(),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 _0x424b00){let _0x6ab4d4=_0x436a3d+t,_0x3603e5=this['getCssData'](_0x6ab4d4,!0x0);null!=_0x3603e5&&(this['Mt'][_0x6ab4d4]=_0x3603e5);}}['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'](_0x424b00);}['attributeChangedCallback'](t,_0x33b958,_0x12a236){window['setTimeout'](()=>{let _0x2fb06d=_0x436a3d+t;this['Mt'][_0x2fb06d]=_0x12a236,this['q'](_0x2fb06d,_0x12a236);});}},_0x5d048e=class extends _0x764755{constructor(){super(...arguments),this['be']=new Image(),this['pe']=new Image();}['Dn'](t){return!t['includes']('//')&&!_0xece668&&(t=new URL(t,document['baseURI'])['href']),t;}['er'](t){if(!t)return;let _0x5c13b4=t,_0x579dd4=_0x5c13b4['match'](/\d+/)?.[0x0],_0x5447bc=_0x5c13b4['match'](/[a-zA-Z]+/)?.[0x0];if(!_0x579dd4||!_0x5447bc)return;let _0x591e62=parseInt(_0x579dd4,0xa);return Number(_0x591e62)>0x1388&&this['Fn']?0x1388+_0x5447bc:Number(_0x591e62)>0xbb8&&!this['Fn']?0xbb8+_0x5447bc:t;}['bu'](t,_0x40fe32){let _0x4c630a={'format':this['To']('format'),'quality':this['To']('quality'),'resize':this['er'](t),'blur':_0x40fe32,'cdn-operations':this['To']('cdn-operations')??void 0x0,'analytics':this['analyticsParams']()};return _0xea2dc3(...(_0x1cd609=>Object['entries'](_0x1cd609)['filter'](([_0x2e274f,t])=>void 0x0!==t&&''!==t)['map'](([_0x987e7f,t])=>'cdn-operations'===_0x987e7f||'analytics'===_0x987e7f?t:_0x987e7f+'/'+t))(_0x4c630a));}['To'](t){let _0x21b810=this['$$'](t);if(null==_0x21b810||'string'==typeof _0x21b810||'number'==typeof _0x21b810||'boolean'==typeof _0x21b810)return _0x21b810;}['re'](t='',_0x2e487f=''){let _0x5409ff=this['$$']('src');if(_0x5409ff['startsWith']('data:')||_0x5409ff['startsWith']('blob:'))return _0x5409ff;if(_0xece668&&_0x5409ff&&!_0x5409ff['includes']('//'))return this['oi'](_0x5409ff);let _0x3a4d59=this['bu'](t,_0x2e487f),_0x5f6faa=this['$$']('cdn-cname'),_0x20ffab=_0x5f6faa;if(_0x5409ff['startsWith'](String(_0x5f6faa)))return _0x17e287(_0x5409ff,_0x3a4d59);let _0x4923d2=this['$$']('uuid');if(_0x20ffab&&_0x4923d2)return this['oi'](_0x17e287(_0x55a5e5(_0x20ffab,_0x4923d2),_0x3a4d59));if(_0x4923d2)return this['oi'](_0x17e287(_0x55a5e5(_0x20ffab,_0x4923d2),_0x3a4d59));let _0x4c8a61=this['$$']('proxy-cname');if(_0x4c8a61)return this['oi'](_0x17e287(_0x4c8a61,_0x3a4d59,this['Dn'](_0x5409ff)));let _0x563157=this['$$']('pubkey');return _0x563157?this['oi'](_0x17e287('https://'+_0x563157+'.ucr.io/',_0x3a4d59,this['Dn'](_0x5409ff))):void 0x0;}['oi'](t){let _0x4c412a=this['$$']('secure-delivery-proxy');return _0x4c412a?_0x3f3a02(_0x4c412a,{'previewUrl':t},{'transform':_0x260e90=>window['encodeURIComponent'](_0x260e90)}):t;}['It'](t,_0x35d098=0x1,_0x2bae77=!0x0){let _0xbfa26a=t['getBoundingClientRect'](),_0x2879a8=_0x35d098*Math['round'](_0xbfa26a['width']),_0x2162e2=_0x2bae77?'':_0x35d098*Math['round'](_0xbfa26a['height']);return _0x2879a8||_0x2162e2?(_0x2879a8||'')+'x'+(_0x2162e2||''):null;}['wu'](t){let _0x1247da=_0x4ba6da=>{_0x4ba6da['stopPropagation']();let _0x197e61=new Event(_0x4ba6da['type'],_0x4ba6da);this['dispatchEvent'](_0x197e61);},_0x28bb80=['load','error'];for(let _0x39d262 of _0x28bb80)t['addEventListener'](_0x39d262,_0x1247da);}get['img'](){return this['we']||(this['Eo']({'elNode':this['be']}),this['appendChild'](this['be'])),this['be'];}get['tr'](){return this['we']?{'type':_0x29d834['PREVIEW'],'img':this['pe']}:{'type':_0x29d834['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(_0xfe9a48=>[...new Set(_0xfe9a48)])(_0x4e8b4f(t)['map'](_0x349bcb=>parseInt(_0x349bcb,0xa)));return null;}get['Fn'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['_n'](t){let _0x472dab=new Set();_0x472dab['add']('url(\x22'+this['re'](this['It'](t))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0x472dab['add']('url(\x22'+this['re'](this['It'](t,0x2))+'\x22)\x202x'),this['$$']('ultra-res-support')&&_0x472dab['add']('url(\x22'+this['re'](this['It'](t,0x3))+'\x22)\x203x');let _0x4444d3='image-set('+[..._0x472dab]['join'](',\x20')+')';t['style']['setProperty']('background-image',_0x4444d3),t['style']['setProperty']('background-image','-webkit-'+_0x4444d3);}['Bn'](){let t=new Set();return this['Vn']?this['Vn']['forEach'](_0x1b0273=>{t['add'](this['re'](_0x1b0273+'x')+'\x20'+this['er'](_0x1b0273+'w')),this['$$']('hi-res-support')&&t['add'](this['re'](0x2*_0x1b0273+'x')+'\x20'+this['er'](0x2*_0x1b0273+'w')),this['$$']('ultra-res-support')&&t['add'](this['re'](0x3*_0x1b0273+'x')+'\x20'+this['er'](0x3*_0x1b0273+'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'](_0x5197db=>{this['$$']('intersection')?this['initIntersection'](_0x5197db,()=>{this['_n'](_0x5197db);}):this['_n'](_0x5197db);});}['Eu']({elNode:t,src:_0x2bd9ac,srcset:_0x256be0}){_0x2bd9ac&&(t['src']=_0x2bd9ac),_0x256be0&&(t['srcset']=_0x256be0);}['Eo']({elNode:t}){this['wu'](t),this['initAttributes'](t);}['xo']({src:t,srcset:_0x4390a1,elNode:_0x2859c6}){return new Promise((_0x1129b4,_0x527ea8)=>{this['Eo']({'elNode':_0x2859c6}),_0x2859c6['setAttribute'](_0x4fe3a4,''),_0x2859c6['addEventListener']('load',()=>{_0x2859c6['removeAttribute'](_0x4fe3a4),_0x1129b4(_0x2859c6);}),_0x2859c6['addEventListener']('error',()=>{_0x527ea8(!0x1);}),this['Eu']({'elNode':_0x2859c6,'src':t,'srcset':_0x4390a1});});}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:_0x3c54be}=_0x271c3f,_0x55b688=_0x169b57=>_0x169b57,_0x1cae4a=()=>document['createComment'](''),_0x455083=(_0x527173,_0x12f9ca,t)=>{let _0x2bcf74=_0x527173['ve']['parentNode'],_0x19fd36=void 0x0===_0x12f9ca?_0x527173['yt']:_0x12f9ca['ve'];if(void 0x0===t){let _0x2e627b=_0x2bcf74['insertBefore'](_0x1cae4a(),_0x19fd36),_0x23f002=_0x2bcf74['insertBefore'](_0x1cae4a(),_0x19fd36);t=new _0x3c54be(_0x2e627b,_0x23f002,_0x527173,_0x527173['options']);}else{let _0x138e9e=t['yt']['nextSibling'],_0x254cfe=t['f'],_0x3ce427=_0x254cfe!==_0x527173;if(_0x3ce427){let _0x296563;t['Cu']?.(_0x527173),t['f']=_0x527173,void 0x0!==t['Ui']&&(_0x296563=_0x527173['W'])!==_0x254cfe['W']&&t['Ui'](_0x296563);}if(_0x138e9e!==_0x19fd36||_0x3ce427){let _0x954bc2=t['ve'];for(;_0x954bc2!==_0x138e9e;){let _0x4a2753=_0x55b688(_0x954bc2)['nextSibling'];_0x55b688(_0x2bcf74)['insertBefore'](_0x954bc2,_0x19fd36),_0x954bc2=_0x4a2753;}}}return t;},_0x30dfb8=(_0x4b4168,_0x1c5371,t=_0x4b4168)=>(_0x4b4168['ce'](_0x1c5371,t),_0x4b4168),_0x4baf82={},_0x45ea80=_0xd5feda=>{_0xd5feda['bt'](),_0xd5feda['ve']['remove']();},_0x5f4899=(_0x46fb3d,_0x33e5f1)=>{let t=_0x46fb3d['le'];if(void 0x0===t)return!0x1;for(let _0x5aedfa of t)_0x5aedfa['qs']?.(_0x33e5f1,!0x1),_0x5f4899(_0x5aedfa,_0x33e5f1);return!0x0;},_0x1c4612=_0x3d6cf0=>{let _0x3933c3,t;do{if(void 0x0===(_0x3933c3=_0x3d6cf0['f']))break;t=_0x3933c3['le'],t['delete'](_0x3d6cf0),_0x3d6cf0=_0x3933c3;}while(0x0===t?.['size']);},tV=_0x4ce152=>{for(let _0x152646;_0x152646=_0x4ce152['f'];_0x4ce152=_0x152646){let t=_0x152646['le'];if(void 0x0===t)_0x152646['le']=t=new Set();else{if(t['has'](_0x4ce152))break;}t['add'](_0x4ce152),_0x2b8d7f(_0x152646);}};function _0x2e6798(_0x4d0619){void 0x0!==this['le']?(_0x1c4612(this),this['f']=_0x4d0619,tV(this)):this['f']=_0x4d0619;}function _0x4d815d(_0xa2ba15,_0x559597=!0x1,t=0x0){let _0x1f0c38=this['r'],_0x1cd964=this['le'];if(void 0x0!==_0x1cd964&&0x0!==_0x1cd964['size']){if(_0x559597){if(Array['isArray'](_0x1f0c38)){for(let _0x3c42c8=t;_0x3c42c8<_0x1f0c38['length'];_0x3c42c8++)_0x5f4899(_0x1f0c38[_0x3c42c8],!0x1),_0x1c4612(_0x1f0c38[_0x3c42c8]);}else null!=_0x1f0c38&&(_0x5f4899(_0x1f0c38,!0x1),_0x1c4612(_0x1f0c38));}else _0x5f4899(this,_0xa2ba15);}}var _0x2b8d7f=_0x4715ff=>{_0x4715ff['type']==_0x261183&&(_0x4715ff['Ui']??=_0x4d815d,_0x4715ff['Cu']??=_0x2e6798);},_0x5d51f5=class extends _0x42554d{constructor(){super(...arguments),this['le']=void 0x0;}['Wr'](_0x4aa7e6,t,_0x320d60){super['Wr'](_0x4aa7e6,t,_0x320d60),tV(this),this['isConnected']=_0x4aa7e6['W'];}['qs'](_0x201d14,t=!0x0){_0x201d14!==this['isConnected']&&(this['isConnected']=_0x201d14,_0x201d14?this['reconnected']?.():this['disconnected']?.()),t&&(_0x5f4899(this,_0x201d14),_0x1c4612(this));}['setValue'](_0x19566c){if((_0x4113b8=>void 0x0===_0x4113b8['strings'])(this['Wi']))this['Wi']['ce'](_0x19566c,this);else{let t=[...this['Wi']['r']];t[this['iu']]=_0x19566c,this['Wi']['ce'](t,this,0x0);}}['disconnected'](){}['reconnected'](){}},_0x4a195b=()=>new _0x53807f(),_0x53807f=class{},_0x5b469c=new WeakMap(),_0x1efdb7=_0x40c0cb(class extends _0x5d51f5{['render'](_0x4078d4){return _0x1d383d;}['update'](_0x535e83,[_0x33a43e]){let t=_0x33a43e!==this['G'];return t&&void 0x0!==this['G']&&this['rt'](void 0x0),(t||this['lt']!==this['ct'])&&(this['G']=_0x33a43e,this['ht']=_0x535e83['options']?.['host'],this['rt'](this['ct']=_0x535e83['element'])),_0x1d383d;}['rt'](_0x19a37a){if(this['isConnected']||(_0x19a37a=void 0x0),'function'==typeof this['G']){let _0x41f5e1=this['ht']??globalThis,t=_0x5b469c['get'](_0x41f5e1);void 0x0===t&&(t=new WeakMap(),_0x5b469c['set'](_0x41f5e1,t)),void 0x0!==t['get'](this['G'])&&this['G']['call'](this['ht'],void 0x0),t['set'](this['G'],_0x19a37a),void 0x0!==_0x19a37a&&this['G']['call'](this['ht'],_0x19a37a);}else this['G']['value']=_0x19a37a;}get['lt'](){return'function'==typeof this['G']?_0x5b469c['get'](this['ht']??globalThis)?.['get'](this['G']):this['G']?.['value'];}['disconnected'](){this['lt']===this['ct']&&this['rt'](void 0x0);}['reconnected'](){this['rt'](this['ct']);}}),_0x131814=null,_0x2d2fcc=class extends _0x361fd7{constructor(){super(...arguments),this['dialogEl']=_0x4a195b(),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 _0x1e08b1=t['target'];_0x1e08b1===this['dialogEl']['value']&&_0x1e08b1===this['Co']&&this['closeDialog']();},this['si']=({id:t})=>{t===this['id']?(_0x131814=t,this['show'](),this['emit'](_0x28b9b1['MODAL_OPEN'],{'modalId':t},{'debounce':!0x0})):this['hide']();},this['ni']=({id:t})=>{t===this['id']&&(this['hide'](),this['emit'](_0x28b9b1['MODAL_CLOSE'],{'modalId':t,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0}));},this['Kn']=t=>{this['hide'](),_0x131814===this['id']&&this['emit'](_0x28b9b1['MODAL_CLOSE'],{'modalId':_0x131814,'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'](_0x6eceb3['OPEN'],this['si']),this['modalManager']?.['subscribe'](_0x6eceb3['CLOSE'],this['ni']),this['modalManager']?.['subscribe'](_0x6eceb3['CLOSE_ALL'],this['Kn']);}['disconnectedCallback'](){super['disconnectedCallback'](),document['body']['style']['overflow']='',this['Co']=void 0x0,this['modalManager']?.['unsubscribe'](_0x6eceb3['OPEN'],this['si']),this['modalManager']?.['unsubscribe'](_0x6eceb3['CLOSE'],this['ni']),this['modalManager']?.['unsubscribe'](_0x6eceb3['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 _0x3e6b89`<dialog ${_0x1efdb7(this['Mu'])}>${this['yield']('')}</dialog>`;}};_0x1a398d([_0x53be06({'type':Boolean,'noAccessor':!0x0})],_0x2d2fcc['prototype'],'strokes',0x2),_0x1a398d([_0x53be06({'type':Boolean,'attribute':'block-body-scrolling','noAccessor':!0x0})],_0x2d2fcc['prototype'],'blockBodyScrolling',0x2);var _0x3b7a21=class extends _0x281aa6{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,_0x532cef(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 _0x1bf8ab=document['createElement']('div');this['appendChild'](_0x1bf8ab),this['ir']=_0x1bf8ab;}if(!this['z']){let _0x2ad1d6=this['Gn']();this['appendChild'](_0x2ad1d6),this['z']=_0x2ad1d6;}if(this['ir']['innerHTML']='','uploading'===t['status']||'idle'===t['status'])return this['z']['value']='',void this['z']['setCustomValidity']('');if('failed'===t['status']){let _0x5898a2=t['errors'][0x0]?.['message'];return this['z']['value']='',void this['z']['setCustomValidity'](_0x5898a2??'');}let _0x21ddbb=t['group']?t['group']:null;if(_0x21ddbb)return this['z']['value']=_0x21ddbb['cdnUrl']??'',void this['z']['setCustomValidity']('');let _0x27ae8a=t['allEntries']['map'](_0x40648f=>_0x40648f['cdnUrl'])['filter'](_0x592ce5=>'string'==typeof _0x592ce5);if(!this['cfg']['multiple']&&0x1===_0x27ae8a['length']&&_0x27ae8a[0x0])return this['z']['value']=_0x27ae8a[0x0],void this['z']['setCustomValidity']('');this['z']['remove'](),this['z']=null;let _0xb48bd3=new DocumentFragment();for(let _0x1fa430 of _0x27ae8a){let _0x5c8e11=document['createElement']('input');_0x5c8e11['type']='hidden',_0x5c8e11['name']=this['jn']+'[]',_0x5c8e11['value']=_0x1fa430,_0xb48bd3['appendChild'](_0x5c8e11);}this['ir']['replaceChildren'](_0xb48bd3);},!0x1);}};_0x1a398d([_0x53be06({'type':String,'noAccessor':!0x0,'attribute':'name'})],_0x3b7a21['prototype'],'nameAttrValue',0x2);var _0xd5ac4b=class extends _0x361fd7{constructor(){super(...arguments),this['hasFileName']=!0x1,this['value']=0x0,this['visible']=!0x0,this['oe']=0x0,this['rr']=_0x4a195b(),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 _0x1d15ec=this['So'](this['value']);if(this['visible']){let _0x4ccf3d=Math['max'](this['oe'],_0x1d15ec);_0x4ccf3d!==this['oe']&&(this['oe']=_0x4ccf3d,this['Ao']());}else this['oe']=_0x1d15ec;}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 _0x3e6b89`<div ${_0x1efdb7(this['rr'])} class="uc-fake-progress"></div><div class="uc-progress"></div>`;}};_0x1a398d([_0x53be06({'type':Boolean,'noAccessor':!0x0})],_0xd5ac4b['prototype'],'hasFileName',0x2),_0x1a398d([_0x53be06({'type':Number})],_0xd5ac4b['prototype'],'value',0x2),_0x1a398d([_0x53be06({'type':Boolean,'reflect':!0x0})],_0xd5ac4b['prototype'],'visible',0x2);var _0x20b9b9=class extends _0x281aa6{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'](_0x5b4e48=>this['uploadCollection']['read'](_0x5b4e48)?.['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 _0x3e6b89`<uc-progress-bar .value=${this['Pt']} .visible=${this['he']}></uc-progress-bar>`;}};_0x1a398d([_0x671a39()],_0x20b9b9['prototype'],'he',0x2),_0x1a398d([_0x671a39()],_0x20b9b9['prototype'],'Pt',0x2);var _0x16f2a5=class extends _0x361fd7{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 _0x55d12d=t['currentTarget'];_0x55d12d&&(this['value']=_0x55d12d['value'],this['dispatchEvent'](new Event('change')));};}['render'](){return _0x3e6b89`<select @change=${this['Ou']} .value=${this['value']} ?disabled=${this['disabled']}>${this['options']['map'](t=>_0x3e6b89`<option value=${t['value']}>${t['text']}</option>`)}</select>`;}};_0x1a398d([_0x53be06({'type':String,'attribute':!0x1})],_0x16f2a5['prototype'],'value',0x2),_0x1a398d([_0x53be06({'type':Boolean,'reflect':!0x0})],_0x16f2a5['prototype'],'disabled',0x2),_0x1a398d([_0x53be06({'type':Array,'attribute':!0x1})],_0x16f2a5['prototype'],'options',0x2);var _0x574cd4=class extends _0x281aa6{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:_0x5a9314,icon:_0x24a5f9,id:_0x110d50}=t;this['Oo']=_0x5a9314,this['Mo']=_0x24a5f9??_0x110d50??'default';}['activate'](){this['source']&&this['source']['onClick']();}['render'](){return _0x3e6b89`<button type="button" @click=${this['activate']}><uc-icon name=${this['Mo']}></uc-icon><div class="uc-txt">${this['l10n'](this['Oo'])}</div></button>`;}};_0x1a398d([_0x53be06({'attribute':!0x1})],_0x574cd4['prototype'],'source',0x2),_0x1a398d([_0x671a39()],_0x574cd4['prototype'],'Mo',0x2),_0x1a398d([_0x671a39()],_0x574cd4['prototype'],'Oo',0x2);var _0x34a887=class extends _0x281aa6{constructor(){super(...arguments),this['Wn']=[],this['Me']=[],this['wrap']=!0x1;}['initCallback'](){super['initCallback'](),this['subConfigValue']('sourceList',_0x31e59f=>{this['Wn']=_0x4e8b4f(_0x31e59f),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 _0x3ea8ad=this['i']['pluginManager']?.['snapshot']()['sources']??[],_0x17a0a4=new Map(_0x3ea8ad['map'](_0x36bf8a=>[_0x36bf8a['id'],_0x36bf8a])),_0x1ca363=[];this['Wn']['forEach'](_0x57bf36=>{let _0x189c30=this['Pu'](_0x57bf36,_0x17a0a4);if(0x1!==_0x189c30['length']||_0x189c30[0x0]!==_0x57bf36){for(let _0x4ba6c5 of _0x189c30){let _0x3f1501=_0x17a0a4['get'](_0x4ba6c5);_0x3f1501&&_0x1ca363['push'](this['Yn'](_0x3f1501));}return;}let _0x15e6c=_0x17a0a4['get'](_0x57bf36);_0x15e6c&&_0x1ca363['push'](this['Yn'](_0x15e6c));}),this['Me']=_0x1ca363;}['Pu'](t,_0x2d9697){let _0x23f4ff=_0x2d9697['get'](t);return _0x23f4ff?.['expand']?_0x23f4ff['expand']():[t];}['Yn'](t){return{'id':t['id'],'label':t['label'],'icon':t['icon'],'onClick':()=>t['onSelect']()};}['render'](){return _0x3e6b89`${this['Me']['map'](t=>_0x3e6b89`<uc-source-btn role="listitem" .source=${t} data-source-id=${t['id']}></uc-source-btn>`)}`;}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback']();}};_0x1a398d([_0x671a39()],_0x34a887['prototype'],'Me',0x2),_0x1a398d([_0x53be06({'type':Boolean,'attribute':'wrap','noAccessor':!0x0})],_0x34a887['prototype'],'wrap',0x2);var _0x16b5fb='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function _0x30ab43(_0x5d7602){let _0x272d30=new Image();return{'promise':new Promise((_0x3f50d5,_0x5ebbc8)=>{_0x272d30['src']=_0x5d7602,_0x272d30['onload']=()=>_0x3f50d5(),_0x272d30['onerror']=_0x4b84b9=>_0x5ebbc8(_0x4b84b9);}),'image':_0x272d30,'cancel':()=>{0x0===_0x272d30['naturalWidth']&&(_0x272d30['src']=_0x16b5fb);}};}function _0x5396de(_0x25aa68){let _0x1ebfaa=[];for(let _0x5f3eca of _0x25aa68){let _0x16230e=_0x30ab43(_0x5f3eca);_0x1ebfaa['push'](_0x16230e);}let t=_0x1ebfaa['map'](_0x3f30f5=>_0x3f30f5['image']);return{'promise':Promise['allSettled'](_0x1ebfaa['map'](_0x35941e=>_0x35941e['promise'])),'images':t,'cancel':()=>{_0x1ebfaa['forEach'](_0x105914=>{_0x105914['cancel']();});}};}function _0x4c711e(_0x247000,_0x1a68c0=0x28){if('image/svg+xml'===_0x247000['type'])return URL['createObjectURL'](_0x247000);let t=document['createElement']('canvas'),_0x35bd72=t['getContext']('2d');if(!_0x35bd72)return Promise['reject'](new Error('Canvas\x20context\x20not\x20supported'));let _0x5848f8=new Image(),_0x1ab7a6=new Promise((_0x198883,_0xc7b9bb)=>{_0x5848f8['onload']=()=>{let _0x414112=_0x5848f8['height']/_0x5848f8['width'];_0x414112>0x1?(t['width']=_0x1a68c0,t['height']=_0x1a68c0*_0x414112):(t['height']=_0x1a68c0,t['width']=_0x1a68c0/_0x414112),_0x35bd72['fillStyle']='rgb(240,\x20240,\x20240)',_0x35bd72['fillRect'](0x0,0x0,t['width'],t['height']),_0x35bd72['drawImage'](_0x5848f8,0x0,0x0,t['width'],t['height']),t['toBlob'](_0x2165f1=>{if(!_0x2165f1)return void _0xc7b9bb();let _0x4d8396=URL['createObjectURL'](_0x2165f1);_0x198883(_0x4d8396);});},_0x5848f8['onerror']=_0xbc03ee=>{_0xc7b9bb(_0xbc03ee);};});return _0x5848f8['src']=URL['createObjectURL'](_0x247000),_0x1ab7a6;}var _0x41462e=class extends _0x281aa6{constructor(){super(...arguments),this['or']=new Set(),this['entry']=null;}['withEntry'](t){return(..._0x334bdb)=>{let _0x214407=this['entry'];if(_0x214407)return t(_0x214407,..._0x334bdb);console['warn']('No\x20entry\x20found');};}['subEntry'](t,_0x5cba45){this['withEntry']((_0x40eb26,_0x189e2e,_0x20e04f)=>{let _0x21fc92=_0x40eb26['subscribe'](_0x189e2e,_0xf6827b=>{this['isConnected']&&_0x20e04f(_0xf6827b);});this['or']['add'](_0x21fc92);})(t,_0x5cba45);}['reset'](){for(let t of this['or'])t();this['or']=new Set(),this['entry']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['or']=new Set();}};function _0x2e7a15(_0x197204='hsl(209,\x2021%,\x2065%)',_0x471815=0x20,t=0x20){return function(_0x180bf0){let _0x1b9f63=new Blob([_0x180bf0],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x1b9f63);}('<svg\x20width=\x22'+_0x471815+'\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'+_0x197204+'\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 _0x332054=class extends _0x41462e{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,_0x6d2ea6=!0x1)=>{let _0x5e3184=t['getValue']('fileInfo'),_0x17fe56=t['getValue']('isImage'),_0x4d6beb=t['getValue']('uuid'),_0x15a259=t['getValue']('thumbUrl'),_0x5dab12=this['Ru'](_0x6d2ea6);if(_0x5e3184&&_0x17fe56&&_0x4d6beb){let _0x18e456=await this['proxyUrl'](_0x17e287(_0x55a5e5(this['cfg']['cdnCname'],_0x4d6beb),_0xea2dc3(t['getValue']('cdnUrlModifiers'),'stretch/off','scale_crop/'+_0x5dab12+'x'+_0x5dab12+'/center')));if(_0x15a259===_0x18e456)return;let {promise:_0x14445c}=_0x30ab43(_0x18e456);return void _0x14445c['then'](()=>{t['setValue']('thumbUrl',_0x18e456),_0x15a259?.['startsWith']('blob:')&&URL['revokeObjectURL'](_0x15a259);})['catch'](async()=>{if(!_0x15a259?.['startsWith']('blob:'))try{let _0xe8d4b3=t['getValue']('file');if(!_0xe8d4b3)return;let _0x27e4aa=await _0x4c711e(_0xe8d4b3,_0x5dab12);t['setValue']('thumbUrl',_0x27e4aa);}catch(_0x200500){this['telemetryManager']['sendEventError'](_0x200500,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');let _0x265325=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',_0x2e7a15(_0x265325));}});}if(t['getValue']('thumbUrl'))return;let _0xd2e569=t['getValue']('file');if(_0xd2e569?.['type']['includes']('image'))try{let _0xfe36c6=await _0x4c711e(_0xd2e569,_0x5dab12);t['setValue']('thumbUrl',_0xfe36c6);}catch(_0x18dd4a){this['telemetryManager']['sendEventError'](_0x18dd4a,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');let _0x1cb722=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',_0x2e7a15(_0x1cb722));}else{let _0x18bc13=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',_0x2e7a15(_0x18bc13));}}),this['nr']=_0x31123d(this['Jn']['bind'](this),0x64);}['Ru'](t=!0x1){t&&(this['sr']=this['getBoundingClientRect']());let _0x5d8d0a=Math['max'](parseInt(String(this?.['sr']?.['height']||0x0),0xa),parseInt(String(this?.['sr']?.['width']||0x0),0xa),this['cfg']['thumbSize']);return window['devicePixelRatio']>0x1&&(_0x5d8d0a*=window['devicePixelRatio']),Math['min'](_0x5d8d0a,0xbb8);}['Uu'](t,_0x12cf0b){return new Promise((_0x483db1,_0x53f0b5)=>{let _0x1517af=new Image();_0x1517af['decoding']='async';let _0x202581=()=>{_0x1517af&&(_0x1517af['onload']=null,_0x1517af['onerror']=null,_0x1517af['src']=_0x16b5fb,_0x12cf0b?.['removeEventListener']('abort',_0x329296),_0x1517af=null);},_0x329296=()=>{_0x202581(),_0x53f0b5(new DOMException('Aborted','AbortError'));};if(_0x12cf0b){if(_0x12cf0b['aborted'])return void _0x329296();_0x12cf0b['addEventListener']('abort',_0x329296,{'once':!0x0});}let _0x10aba9=()=>{_0x202581(),_0x483db1();},_0x3fec57=_0x47a45d=>{_0x202581(),_0x53f0b5(_0x47a45d);};if('function'==typeof _0x1517af['decode'])return _0x1517af['src']=t,void _0x1517af['decode']()['then'](_0x10aba9)['catch'](_0x3fec57);_0x1517af['onload']=_0x10aba9,_0x1517af['onerror']=_0x3fec57,_0x1517af['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 _0x31339e=new AbortController(),_0x3489ad={'controller':_0x31339e,'cancel':()=>{_0x31339e['abort'](),void 0x0!==_0x3489ad['rafId']&&window['cancelAnimationFrame'](_0x3489ad['rafId']);}};this['Io']=_0x3489ad,this['Uu'](t,_0x31339e['signal'])['then'](()=>{_0x31339e['signal']['aborted']||(_0x3489ad['rafId']=window['requestAnimationFrame'](()=>{_0x31339e['signal']['aborted']||(this['Le']=t);}));})['catch'](_0x3161cf=>{_0x31339e['signal']['aborted']||_0x3161cf instanceof DOMException&&'AbortError'===_0x3161cf['name']||console['warn']('[Thumb]\x20Failed\x20to\x20decode\x20thumbnail\x20image',_0x3161cf);});}['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 [_0x55e25c]=t;_0x55e25c&&(this['Qn']=_0x55e25c['isIntersecting'],_0x55e25c['isIntersecting']&&(this['sr']=_0x55e25c['boundingClientRect'],this['ar'](),this['s']?.['disconnect']()),0x0===_0x55e25c['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 _0x255b99=this['uploadCollection']?.['read'](t);if(!_0x255b99||_0x255b99===this['entry'])return;this['reset'](),this['entry']=_0x255b99;let _0x56d865=()=>{this['ar']();};this['subEntry']('fileInfo',_0x32bc30=>{_0x32bc30?.['isImage']&&_0x56d865();}),this['subEntry']('thumbUrl',_0x58d71c=>{this['$u'](_0x58d71c??void 0x0);}),this['subEntry']('cdnUrlModifiers',_0x56d865),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 _0x3e6b89`<div class="uc-thumb"><img class="uc-thumb__img" src=${this['Le']||_0x16b5fb} 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>`;}};_0x1a398d([_0x53be06({'type':String})],_0x332054['prototype'],'badgeIcon',0x2),_0x1a398d([_0x53be06({'attribute':!0x1})],_0x332054['prototype'],'uid',0x2),_0x1a398d([_0x671a39()],_0x332054['prototype'],'Le',0x2);var _0x140261=class extends _0x281aa6{constructor(){super(...arguments),this['ta']=null;}static{this['styleAttrs']=['uc-wgt-common'];}static{this['EventType']=_0x28b9b1;}['initCallback'](){super['initCallback'](),this['ta']=this['eventEmitter']['bindTarget'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['ta']?.();}},_0x860ea8=(_0x314bfe,_0x55f966)=>{let _0x108965,t=!0x1,_0x5f496c=0x0,_0x35734a=(..._0x28e696)=>{t?(_0x108965&&clearTimeout(_0x108965),_0x108965=setTimeout(()=>{Date['now']()-_0x5f496c>=_0x55f966&&(_0x314bfe(..._0x28e696),_0x5f496c=Date['now']());},Math['max'](_0x55f966-(Date['now']()-_0x5f496c),0x0))):(_0x314bfe(..._0x28e696),_0x5f496c=Date['now'](),t=!0x0);};return Object['defineProperty'](_0x35734a,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{_0x108965&&clearTimeout(_0x108965);}}),_0x35734a;},_0x196934=(_0xa56b44,_0xc70cfb,t)=>{let _0x2bea05=new Map();for(let _0x2ee3df=_0xc70cfb;_0x2ee3df<=t;_0x2ee3df++)_0x2bea05['set'](_0xa56b44[_0x2ee3df],_0x2ee3df);return _0x2bea05;},_0x4da738=_0x40c0cb(class extends _0x42554d{constructor(_0x3364ab){if(super(_0x3364ab),_0x3364ab['type']!==_0x261183)throw Error('repeat()\x20can\x20only\x20be\x20used\x20in\x20text\x20expressions');}['dt'](_0x3b9e69,_0x351d3a,t){let _0x40da79;void 0x0===t?t=_0x351d3a:void 0x0!==_0x351d3a&&(_0x40da79=_0x351d3a);let _0x7821e0=[],_0x58b8f9=[],_0x519895=0x0;for(let _0x2a8cef of _0x3b9e69)_0x7821e0[_0x519895]=_0x40da79?_0x40da79(_0x2a8cef,_0x519895):_0x519895,_0x58b8f9[_0x519895]=t(_0x2a8cef,_0x519895),_0x519895++;return{'values':_0x58b8f9,'keys':_0x7821e0};}['render'](_0x166184,_0x456207,t){return this['dt'](_0x166184,_0x456207,t)['values'];}['update'](_0x44d479,[_0x5154d8,t,_0x35dff1]){let _0xc4cae7=(_0x3fb210=>_0x3fb210['r'])(_0x44d479),{values:_0x4e1425,keys:_0x368b9a}=this['dt'](_0x5154d8,t,_0x35dff1);if(!Array['isArray'](_0xc4cae7))return this['ut']=_0x368b9a,_0x4e1425;let _0x3e2755,_0x5aec8d,_0x4e5ea6=this['ut']??=[],_0x2476da=[],_0x30d172=0x0,_0x1de2d3=_0xc4cae7['length']-0x1,_0x415718=0x0,_0x2d36c3=_0x4e1425['length']-0x1;for(;_0x30d172<=_0x1de2d3&&_0x415718<=_0x2d36c3;)if(null===_0xc4cae7[_0x30d172])_0x30d172++;else{if(null===_0xc4cae7[_0x1de2d3])_0x1de2d3--;else{if(_0x4e5ea6[_0x30d172]===_0x368b9a[_0x415718])_0x2476da[_0x415718]=_0x30dfb8(_0xc4cae7[_0x30d172],_0x4e1425[_0x415718]),_0x30d172++,_0x415718++;else{if(_0x4e5ea6[_0x1de2d3]===_0x368b9a[_0x2d36c3])_0x2476da[_0x2d36c3]=_0x30dfb8(_0xc4cae7[_0x1de2d3],_0x4e1425[_0x2d36c3]),_0x1de2d3--,_0x2d36c3--;else{if(_0x4e5ea6[_0x30d172]===_0x368b9a[_0x2d36c3])_0x2476da[_0x2d36c3]=_0x30dfb8(_0xc4cae7[_0x30d172],_0x4e1425[_0x2d36c3]),_0x455083(_0x44d479,_0x2476da[_0x2d36c3+0x1],_0xc4cae7[_0x30d172]),_0x30d172++,_0x2d36c3--;else{if(_0x4e5ea6[_0x1de2d3]===_0x368b9a[_0x415718])_0x2476da[_0x415718]=_0x30dfb8(_0xc4cae7[_0x1de2d3],_0x4e1425[_0x415718]),_0x455083(_0x44d479,_0xc4cae7[_0x30d172],_0xc4cae7[_0x1de2d3]),_0x1de2d3--,_0x415718++;else{if(void 0x0===_0x3e2755&&(_0x3e2755=_0x196934(_0x368b9a,_0x415718,_0x2d36c3),_0x5aec8d=_0x196934(_0x4e5ea6,_0x30d172,_0x1de2d3)),_0x3e2755['has'](_0x4e5ea6[_0x30d172])){if(_0x3e2755['has'](_0x4e5ea6[_0x1de2d3])){let _0x34c6df=_0x5aec8d['get'](_0x368b9a[_0x415718]),_0x94a2bd=void 0x0!==_0x34c6df?_0xc4cae7[_0x34c6df]:null;if(null===_0x94a2bd){let _0x496362=_0x455083(_0x44d479,_0xc4cae7[_0x30d172]);_0x30dfb8(_0x496362,_0x4e1425[_0x415718]),_0x2476da[_0x415718]=_0x496362;}else _0x2476da[_0x415718]=_0x30dfb8(_0x94a2bd,_0x4e1425[_0x415718]),_0x455083(_0x44d479,_0xc4cae7[_0x30d172],_0x94a2bd),_0xc4cae7[_0x34c6df]=null;_0x415718++;}else _0x45ea80(_0xc4cae7[_0x1de2d3]),_0x1de2d3--;}else _0x45ea80(_0xc4cae7[_0x30d172]),_0x30d172++;}}}}}}for(;_0x415718<=_0x2d36c3;){let _0xd32bc1=_0x455083(_0x44d479,_0x2476da[_0x2d36c3+0x1]);_0x30dfb8(_0xd32bc1,_0x4e1425[_0x415718]),_0x2476da[_0x415718++]=_0xd32bc1;}for(;_0x30d172<=_0x1de2d3;){let _0x4d1c5c=_0xc4cae7[_0x30d172++];null!==_0x4d1c5c&&_0x45ea80(_0x4d1c5c);}return this['ut']=_0x368b9a,((_0x440550,_0x31690e=_0x4baf82)=>{_0x440550['r']=_0x31690e;})(_0x44d479,_0x2476da),_0x3cd570;}}),_0x1bba7e=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')}),_0x189cc0=class _0x522f18 extends _0x41462e{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']=_0x31123d(()=>this['da'](),0x64),this['Vu']=this['withEntry'](_0x860ea8((t,_0x33cbe7)=>{let _0x55d475=t['getValue']('errors')?.[0x0]?.['message']??'',_0x428ed9=t['getValue']('source'),_0x16a1da=t['getValue']('externalUrl'),_0x390323=_0x33cbe7===_0x1bba7e['FINISHED'],_0x4303b2=_0x33cbe7===_0x1bba7e['UPLOADING'],_0xbebfa6=_0x33cbe7===_0x1bba7e['QUEUED_UPLOADING'],_0x4d8ba6=_0x33cbe7===_0x1bba7e['QUEUED_VALIDATION'],_0x3847fd=_0x33cbe7===_0x1bba7e['VALIDATION'],_0x128fad=t['getValue']('fileName'),_0x3da366='';_0x55d475?_0x3da366='':!_0x390323&&_0x16a1da&&_0x428ed9&&Object['values'](_0x574275)['includes'](_0x428ed9)&&(_0x3da366=this['l10n']('waiting-for',{'source':this['l10n']('src-type-'+_0x3ec4eb(_0x428ed9))})),this['Uo']=_0x3da366,this['Ro']=_0x55d475,this['ra']=_0x4303b2||_0xbebfa6||_0x4d8ba6||_0x3847fd,this['oe']=_0x4d8ba6||_0x3847fd?0x0:t['getValue']('uploadProgress'),this['la']=_0x128fad?this['l10n']('a11y-file-item-status',{'fileName':_0x128fad,'status':this['l10n'](_0x33cbe7?.['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 _0x2b86f7=this['cfg']['multiple']?this['cfg']['multipleMax']:0x1;if(!(_0x2b86f7&&this['uploadCollection']['size']>_0x2b86f7)){t['setMultipleValues']({'isUploading':!0x0,'errors':[],'isQueuedForUploading':!0x0}),this['S']();try{let _0x5a8609=new AbortController();t['setValue']('abortController',_0x5a8609);let _0x3c2a7b=async()=>{t['setValue']('isQueuedForUploading',!0x1);let _0x1b7bb5=t['getValue']('file');if(_0x1b7bb5 instanceof File||_0x1b7bb5 instanceof Blob){let _0x3f1e2d=(this['i']['pluginManager']?.['snapshot']()['fileHooks']??[])['filter'](_0x86763a=>'beforeUpload'===_0x86763a['type']);for(let _0xe0bac of _0x3f1e2d)try{let _0x14177f=_0xe0bac['handler']({'file':_0x1b7bb5,'signal':_0x5a8609['signal']}),_0x3c8358=new Promise((_0x54c6ea,_0x12d899)=>setTimeout(()=>_0x12d899(new Error('beforeUpload\x20hook\x20timed\x20out')),_0xe0bac['timeout'])),{file:_0x1dae55}=await Promise['race']([_0x14177f,_0x3c8358]);_0x1dae55!==_0x1b7bb5&&(_0x1b7bb5=_0x1dae55,t['setValue']('mimeType',_0x1b7bb5['type']||null),t['setValue']('isImage',_0x1fbbd4(_0x1b7bb5)),t['setValue']('fileSize',_0x1b7bb5['size']),_0x1b7bb5 instanceof File&&t['setValue']('fileName',_0x1b7bb5['name']));}catch(_0x1c3069){console['warn']('File\x20hook\x20\x22beforeUpload\x22\x20from\x20plugin\x20\x22'+_0xe0bac['pluginId']+'\x22\x20failed',_0x1c3069);}}let _0x108af4=_0x1b7bb5||t['getValue']('externalUrl')||t['getValue']('uuid');if(!_0x108af4)throw new Error('No\x20file\x20input');let _0xfcfb9b={...await this['getUploadClientOptions'](),'fileName':t['getValue']('fileName')??void 0x0,'source':t['getValue']('source')??void 0x0,'onProgress':_0x43ce09=>{if(_0x43ce09['isComputable']){let _0x1899ed=0x64*_0x43ce09['value'];t['setValue']('uploadProgress',_0x1899ed);}},'signal':_0x5a8609['signal'],'metadata':await this['getMetadataFor'](t['uid'])};return this['debugPrint']('upload\x20options',_0x108af4,_0xfcfb9b),_0xe2d8b0(_0x108af4,_0xfcfb9b);},_0x3ec8e9=await this['$']['*uploadQueue']['add'](_0x3c2a7b);t['setMultipleValues']({'fileInfo':_0x3ec8e9,'isQueuedForUploading':!0x1,'isUploading':!0x1,'fileName':_0x3ec8e9['originalFilename'],'fileSize':_0x3ec8e9['size'],'isImage':_0x3ec8e9['isImage']??!0x1,'mimeType':_0x3ec8e9['contentInfo']?.['mime']?.['mime']??_0x3ec8e9['mimeType'],'uuid':_0x3ec8e9['uuid'],'cdnUrl':t['getValue']('cdnUrl')??_0x3ec8e9['cdnUrl'],'cdnUrlModifiers':t['getValue']('cdnUrlModifiers')??'','uploadProgress':0x64,'source':t['getValue']('source')??null}),t===this['entry']&&this['S']();}catch(_0x2d7dd1){let _0xc5484b=_0x2d7dd1 instanceof _0x32fa83&&_0x2d7dd1['isCancel'];_0xc5484b?t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0}):_0x2d7dd1 instanceof _0x3c3417?t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':_0x2d7dd1}):(console['error']('Unknown\x20upload\x20error',_0x2d7dd1),t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':new Error('Something\x20went\x20wrong',{'cause':_0x2d7dd1})})),t===this['entry']&&this['S'](),this['isConnected']&&!_0xc5484b&&this['telemetryManager']['sendEventError'](_0x2d7dd1,'file\x20upload.\x20Failed\x20to\x20upload\x20file');}}});}['da'](){let t=this['entry'];if(!t)return;let _0x1a9265=_0x1bba7e['IDLE'];t['getValue']('errors')['length']>0x0?_0x1a9265=_0x1bba7e['FAILED']:t['getValue']('isQueuedForUploading')?_0x1a9265=_0x1bba7e['QUEUED_UPLOADING']:t['getValue']('isQueuedForValidation')?_0x1a9265=_0x1bba7e['QUEUED_VALIDATION']:t['getValue']('isValidationPending')?_0x1a9265=_0x1bba7e['VALIDATION']:t['getValue']('isUploading')?_0x1a9265=_0x1bba7e['UPLOADING']:t['getValue']('fileInfo')&&(_0x1a9265=_0x1bba7e['FINISHED']),this['Nu'](t,_0x1a9265);}['Nu'](t,_0x2d234b){_0x2d234b===_0x1bba7e['FAILED']?this['$o']='badge-error':_0x2d234b===_0x1bba7e['FINISHED']&&(this['$o']='badge-success'),_0x2d234b===_0x1bba7e['UPLOADING']&&(this['aa']=!0x1,this['removeAttribute']('focused')),this['sa']=_0x2d234b===_0x1bba7e['FAILED'],this['na']=_0x2d234b===_0x1bba7e['UPLOADING'],this['oa']=_0x2d234b===_0x1bba7e['FINISHED'],this['Vu'](_0x2d234b);}['reset'](){super['reset'](),this['S']['cancel']();}['ai'](t){let [_0x43e071]=t;_0x43e071&&_0x43e071['isIntersecting']&&!this['ca']&&(this['ia']=!0x1,this['ca']=!0x0);}['pa'](t){this['reset']();let _0x1780de=this['uploadCollection']?.['read'](t);this['entry']=_0x1780de,_0x1780de?(this['subEntry']('isQueuedForValidation',()=>{this['S']();}),this['subEntry']('isValidationPending',()=>{this['S']();}),this['subEntry']('uploadProgress',()=>{this['S']();}),this['subEntry']('isQueuedForUploading',()=>{this['S']();}),this['subEntry']('fileName',_0x527296=>{this['Lo']=_0x527296||_0x1780de['getValue']('externalUrl')||this['l10n']('file-no-name'),this['S']();}),this['subEntry']('externalUrl',_0x5305bf=>{this['Lo']=_0x1780de['getValue']('fileName')||_0x5305bf||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 _0x49e66d=t['snapshot']()['fileActions'],_0x598d51=this['api']['getOutputItem'](this['uid']);this['cr']=_0x598d51?_0x49e66d['filter'](_0x5ac13f=>{try{return _0x5ac13f['shouldRender'](_0x598d51);}catch(_0xcb1dd6){return console['error']('Error\x20in\x20plugin\x20file\x20action\x20shouldRender\x20('+_0x5ac13f['id']+'):',_0xcb1dd6),!0x1;}}):[];}['_u'](t){if(!this['uid'])return;let _0x102181=this['api']['getOutputItem'](this['uid']);if(_0x102181){this['telemetryManager']['sendEvent']({'payload':{'metadata':{'event':t['id'],'node':this['tagName'],'pluginId':t['pluginId']}}});try{t['onClick'](_0x102181);}catch(_0x2ea64c){console['error']('Error\x20in\x20plugin\x20file\x20action\x20onClick\x20('+t['id']+'):',_0x2ea64c);}}}['initCallback'](){super['initCallback'](),this['pa'](this['uid']),this['subConfigValue']('filesViewMode',_0x27167a=>{this['ha'](this['cfg']['gridShowFileNames']),this['setAttribute']('mode',_0x27167a);}),this['subConfigValue']('gridShowFileNames',_0x331dd2=>{this['ha'](_0x331dd2);}),this['onclick']=()=>{_0x522f18['activeInstances']['forEach'](_0x541b41=>{_0x541b41===this?_0x541b41['setAttribute']('focused',''):_0x541b41['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0x50f03f=>{this['entry']&&!_0x50f03f['has'](this['entry']['uid'])||setTimeout(()=>this['isConnected']&&this['ua']());});let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['Ze']())),this['Ze'](),_0x522f18['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'](),_0x522f18['activeInstances']['delete'](this),this['reset']();}static{this['activeInstances']=new Set();}['shouldUpdate'](t){return!this['ia']&&super['shouldUpdate'](t);}['render'](){return _0x3e6b89`<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=>_0x3e6b89`<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>`;}};_0x1a398d([_0x671a39()],_0x189cc0['prototype'],'ia',0x2),_0x1a398d([_0x53be06({'attribute':!0x1})],_0x189cc0['prototype'],'uid',0x2),_0x1a398d([_0x671a39()],_0x189cc0['prototype'],'Lo',0x2),_0x1a398d([_0x671a39()],_0x189cc0['prototype'],'Ro',0x2),_0x1a398d([_0x671a39()],_0x189cc0['prototype'],'Uo',0x2),_0x1a398d([_0x671a39()],_0x189cc0['prototype'],'oe',0x2),_0x1a398d([_0x671a39()],_0x189cc0['prototype'],'ra',0x2),_0x1a398d([_0x671a39()],_0x189cc0['prototype'],'$o',0x2),_0x1a398d([_0x671a39()],_0x189cc0['prototype'],'oa',0x2),_0x1a398d([_0x671a39()],_0x189cc0['prototype'],'sa',0x2),_0x1a398d([_0x671a39()],_0x189cc0['prototype'],'na',0x2),_0x1a398d([_0x671a39()],_0x189cc0['prototype'],'aa',0x2),_0x1a398d([_0x671a39()],_0x189cc0['prototype'],'lr',0x2),_0x1a398d([_0x671a39()],_0x189cc0['prototype'],'la',0x2),_0x1a398d([_0x671a39()],_0x189cc0['prototype'],'cr',0x2);var _0x26e4f0=_0x189cc0;function _0x52d48c(_0x1e7dba){return new Promise(_0x980ef3=>{'function'!=typeof window['FileReader']&&_0x980ef3(!0x1);try{let t=new FileReader();t['onerror']=()=>{_0x980ef3(!0x0);};let _0x54fa02=_0x45f12f=>{'loadend'!==_0x45f12f['type']&&t['abort'](),_0x980ef3(!0x1);};t['onloadend']=_0x54fa02,t['onprogress']=_0x54fa02,t['readAsDataURL'](_0x1e7dba);}catch{_0x980ef3(!0x1);}});}function _0xb5d053(_0x3aa8f2,_0x1a6f62){return new Promise(t=>{let _0x58f123=0x0,_0xf13be0=[],_0xb31c0=_0x14ef45=>{if(!_0x14ef45)return console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),void t(null);_0x14ef45['isFile']?(_0x58f123++,_0x14ef45['file'](_0x40e166=>{_0x58f123--;let _0x575a06=new File([_0x40e166],_0x40e166['name'],{'type':_0x40e166['type']||_0x1a6f62});_0xf13be0['push']({'type':'file','file':_0x575a06,'fullPath':_0x14ef45['fullPath']}),0x0===_0x58f123&&t(_0xf13be0);})):_0x14ef45['isDirectory']&&_0x33232b(_0x14ef45['createReader']());},_0x33232b=_0x5524de=>{_0x58f123++,_0x5524de['readEntries'](_0x1f4ad7=>{_0x58f123--;for(let _0x572ff5 of _0x1f4ad7)_0xb31c0(_0x572ff5);0x0===_0x58f123&&t(_0xf13be0);});};_0xb31c0(_0x3aa8f2);});}var _0x2410ad=Object['freeze']({'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3}),_0xbe367a=['focus'],_0x29f244=new Map();function _0x67b314(_0x346d83){let _0x1735c5=0x0,t=document['body'],_0x1558b5=new Set(),_0x209693=_0x2410ad['INACTIVE'],_0x2866b4=_0x569250=>{_0x346d83['shouldIgnore']()&&_0x569250!==_0x2410ad['INACTIVE']||(_0x209693!==_0x569250&&_0x1558b5['forEach'](_0x46e90d=>{_0x46e90d(_0x569250);}),_0x209693=_0x569250);},_0x15d860=()=>_0x1735c5>0x0;var _0x2e33e3;_0x2e33e3=_0x3d426e=>_0x346d83['onChange'](_0x3d426e),_0x1558b5['add'](_0x2e33e3);let _0x38455c=()=>{_0x1735c5=0x0,_0x2866b4(_0x2410ad['INACTIVE']);},_0x43ba39=()=>{_0x1735c5+=0x1,_0x209693===_0x2410ad['INACTIVE']&&_0x2866b4(_0x2410ad['ACTIVE']);},_0x212687=()=>{_0x1735c5-=0x1,_0x15d860()||_0x2866b4(_0x2410ad['INACTIVE']);},_0x2ae332=_0x27074e=>{_0x27074e['preventDefault'](),_0x1735c5=0x0,_0x2866b4(_0x2410ad['INACTIVE']);},_0x18e899=_0x20d75c=>{if(_0x346d83['shouldIgnore']())return;_0x15d860()||(_0x1735c5+=0x1);let _0xc51346=[_0x20d75c['x'],_0x20d75c['y']],_0x2e216b=_0x346d83['element']['getBoundingClientRect'](),_0x16eda4=Math['floor'](function(_0x3d0563,_0x2f2511){let t=Math['max'](Math['min'](_0x3d0563[0x0],_0x2f2511['x']+_0x2f2511['width']),_0x2f2511['x']),_0x3fcca7=Math['max'](Math['min'](_0x3d0563[0x1],_0x2f2511['y']+_0x2f2511['height']),_0x2f2511['y']);return Math['sqrt']((_0x3d0563[0x0]-t)*(_0x3d0563[0x0]-t)+(_0x3d0563[0x1]-_0x3fcca7)*(_0x3d0563[0x1]-_0x3fcca7));}(_0xc51346,_0x2e216b)),_0x2c881b=_0x16eda4<0x64,_0x4e941a=_0x20d75c['composedPath']()['includes'](_0x346d83['element']);_0x29f244['set'](_0x346d83['element'],_0x16eda4);let _0x1c8e4f=Math['min'](..._0x29f244['values']())===_0x16eda4;_0x4e941a&&_0x1c8e4f?(_0x20d75c['preventDefault'](),_0x2866b4(_0x2410ad['OVER'])):_0x2866b4(_0x2c881b&&_0x1c8e4f?_0x2410ad['NEAR']:_0x2410ad['ACTIVE']);},_0x411627=async _0x397464=>{if(_0x346d83['shouldIgnore']())return;_0x397464['preventDefault']();let {dataTransfer:_0x122ab3}=_0x397464;if(!_0x122ab3)return;let _0x19801d=await function(_0x15f6b7){let _0x1e405f=[],t=[];for(let _0x536330=0x0;_0x536330<_0x15f6b7['items']['length'];_0x536330++){let _0x434a00=_0x15f6b7['items'][_0x536330];if(_0x434a00){if('file'===_0x434a00['kind']){let _0x104a6d=_0x434a00['type'],_0x33e915=_0x434a00;if('function'==typeof _0x33e915['webkitGetAsEntry']||'function'==typeof _0x33e915['getAsEntry']){let _0x469c55='function'==typeof _0x33e915['webkitGetAsEntry']?_0x33e915['webkitGetAsEntry']():_0x33e915['getAsEntry']?.();_0x469c55&&t['push'](_0xb5d053(_0x469c55,_0x104a6d)['then'](_0x22f500=>{_0x22f500&&_0x1e405f['push'](..._0x22f500);}));continue;}let _0x5e017c=_0x434a00['getAsFile']();_0x5e017c&&t['push'](_0x52d48c(_0x5e017c)['then'](_0x21ee47=>{_0x21ee47||_0x1e405f['push']({'type':'file','file':_0x5e017c});}));}else'string'===_0x434a00['kind']&&/^text\/uri-list/['test'](_0x434a00['type'])&&t['push'](new Promise(_0x3f17ae=>{_0x434a00['getAsString'](_0x6c116=>{_0x1e405f['push']({'type':'url','url':_0x6c116}),_0x3f17ae();});}));}}return Promise['all'](t)['then'](()=>_0x1e405f);}(_0x122ab3);_0x346d83['onItems'](_0x19801d),_0x2866b4(_0x2410ad['INACTIVE']);};return t['addEventListener']('drop',_0x2ae332),t['addEventListener']('dragleave',_0x212687),t['addEventListener']('dragenter',_0x43ba39),t['addEventListener']('dragover',_0x18e899),_0x346d83['element']['addEventListener']('drop',_0x411627),_0xbe367a['forEach'](_0x203732=>{window['addEventListener'](_0x203732,_0x38455c);}),()=>{_0x29f244['delete'](_0x346d83['element']),t['removeEventListener']('drop',_0x2ae332),t['removeEventListener']('dragleave',_0x212687),t['removeEventListener']('dragenter',_0x43ba39),t['removeEventListener']('dragover',_0x18e899),_0x346d83['element']['removeEventListener']('drop',_0x411627),_0xbe367a['forEach'](_0x300b5e=>{window['removeEventListener'](_0x300b5e,_0x38455c);});};}var _0x5b5b2e=new Set(),_0x265531=class extends _0x281aa6{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']=_0x4a195b(),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'](),_0x5d65eb=t['width']>0x0&&t['height']>0x0,_0x7896cc=t['top']>=0x0&&t['left']>=0x0&&t['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&t['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0x15e402=window['getComputedStyle'](this),_0x3121ef='hidden'!==_0x15e402['visibility']&&'none'!==_0x15e402['display'];return _0x5d65eb&&_0x3121ef&&_0x7896cc;}['initCallback'](){super['initCallback'](),_0x5b5b2e['add'](this),this['No'](),this['Vo'](),this['wa'](),this['Ta'](_0x2410ad['INACTIVE']),this['va']=_0x67b314({'element':this,'shouldIgnore':()=>this['Ea'](),'onChange':t=>{this['Ta'](t);},'onItems':t=>{t['length']&&(t['forEach'](_0x1eb6fc=>{'url'===_0x1eb6fc['type']?this['api']['addFileFromUrl'](_0x1eb6fc['url'],{'source':_0x335033['DROP_AREA']}):'file'===_0x1eb6fc['type']&&this['api']['addFileFromObject'](_0x1eb6fc['file'],{'source':_0x335033['DROP_AREA'],'fullPath':_0x1eb6fc['fullPath']});}),this['uploadCollection']['size']&&(this['set$']({'*currentActivity':_0x5dadd1['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](_0x5dadd1['activities']['UPLOAD_LIST'])));}}),this['updateComplete']['then'](()=>this['Bu']()),this['subConfigValue']('sourceList',t=>{let _0x1e1c63=_0x4e8b4f(t);this['ba']=_0x1e1c63['includes'](_0x335033['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=_0x5b5b2e;return 0x0!==t['size']&&[...t]['filter'](_0x56f7d3=>_0x56f7d3!==this)['filter'](_0x316e9d=>_0x316e9d['isActive']())['length']>0x0;}['zu'](){let t=this['cfg']['multiple'],_0x324ab3=this['cfg']['multipleMax'],_0xab8e44=this['uploadCollection']['size'];return!(t&&_0x324ab3&&_0xab8e44>=_0x324ab3||!t&&_0xab8e44>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 _0x5b0a3e=Object['entries'](_0x2410ad)['find'](([,_0x16e837])=>_0x16e837===t)?.[0x0]['toLowerCase']();_0x5b0a3e&&this['setAttribute']('drag-state',_0x5b0a3e);}['Bu'](){if(this['Fo'])return;let t=this['ya']['value'];t&&(this['Fo']=_0x67b314({'element':t,'onChange':_0x65f540=>{let _0x4db1bf=Object['entries'](_0x2410ad)['find'](([,_0x25eb14])=>_0x25eb14===_0x65f540)?.[0x0]['toLowerCase']();_0x4db1bf&&t['setAttribute']('drag-state',_0x4db1bf);},'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'](),_0x5b5b2e['delete'](this),this['va']?.(),this['Fo']?.(),this['Rt']&&(this['removeEventListener']('keydown',this['Lt']),this['removeEventListener']('click',this['Lt']),this['Rt']=!0x1);}['render'](){return _0x3e6b89` ${this['yield']('',_0x3e6b89`<div data-default-slot hidden></div><div ${_0x1efdb7(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>`)} `;}};_0x1a398d([_0x53be06({'type':Boolean,'noAccessor':!0x0})],_0x265531['prototype'],'single',0x2),_0x1a398d([_0x53be06({'type':Boolean,'noAccessor':!0x0})],_0x265531['prototype'],'ghost',0x2),_0x1a398d([_0x53be06({'type':Boolean,'reflect':!0x0})],_0x265531['prototype'],'disabled',0x2),_0x1a398d([_0x53be06({'type':Boolean,'reflect':!0x0})],_0x265531['prototype'],'clickable',0x2),_0x1a398d([_0x53be06({'type':Boolean,'attribute':'with-icon','reflect':!0x0})],_0x265531['prototype'],'withIcon',0x2),_0x1a398d([_0x53be06({'type':Boolean,'reflect':!0x0})],_0x265531['prototype'],'fullscreen',0x2),_0x1a398d([_0x53be06({'type':Boolean,'reflect':!0x0})],_0x265531['prototype'],'initflow',0x2),_0x1a398d([_0x53be06({'type':String})],_0x265531['prototype'],'text',0x2),_0x1a398d([_0x671a39()],_0x265531['prototype'],'Oe',0x2),_0x1a398d([_0x671a39()],_0x265531['prototype'],'fa',0x2),_0x1a398d([_0x671a39()],_0x265531['prototype'],'Do',0x2);var _0x11a861=class extends _0x281aa6{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['historyTracked']=!0x0,this['activityType']=_0x5dadd1['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':_0x37ee07['ACTION_EVENT'],'payload':{'metadata':{'event':'add-more','node':this['tagName']}}}),this['api']['initFlow'](!0x0);},this['Ho']=()=>{this['emit'](_0x28b9b1['UPLOAD_CLICK']),this['api']['uploadAll'](),this['Te']();},this['Ko']=()=>{this['emit'](_0x28b9b1['DONE_CLICK'],this['api']['getOutputCollectionState']()),this['api']['doneFlow']();},this['Ee']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x37ee07['ACTION_EVENT'],'payload':{'metadata':{'event':'clear-all','node':this['tagName']}}}),this['uploadCollection']['clearAll']();},this['Te']=_0x860ea8(()=>{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'](),_0x58fc4e={'total':t['totalCount'],'succeed':t['successCount'],'uploading':t['uploadingCount'],'failed':t['failedCount'],'validatingBeforeUploading':t['idleEntries']['filter'](_0x234f29=>_0x234f29['isValidationPending'])['length']},_0x46bf7b=!t['errors']['some'](_0x110ae6=>'TOO_MANY_FILES'===_0x110ae6['type']||'TOO_FEW_FILES'===_0x110ae6['type']),_0x3dfe22=t['errors']['some'](_0x4f366d=>'TOO_MANY_FILES'===_0x4f366d['type']),_0x3ac2a0=t['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0x114dca=t['allEntries']['some'](_0x5291f8=>_0x5291f8['isValidationPending']),_0x5b59f5=0x0===_0x58fc4e['failed']&&0x0===t['errors']['length']&&!_0x114dca,_0x1ccbed=!0x1,_0x16cf4d=!0x1,_0xcb3d86=!0x1;if(_0x58fc4e['total']-_0x58fc4e['succeed']-_0x58fc4e['uploading']-_0x58fc4e['failed']>0x0&&_0x46bf7b&&_0x5b59f5&&this['cfg']['confirmUpload'])_0x1ccbed=!0x0;else{_0x16cf4d=!0x0;let _0xe5c1ff=!this['cfg']['groupOutput']||!!t['group'];_0xcb3d86=_0x58fc4e['total']===_0x58fc4e['succeed']&&_0x46bf7b&&_0x5b59f5&&_0xe5c1ff;}this['xa']=_0x16cf4d,this['Ca']=_0xcb3d86,this['Sa']=_0x1ccbed,this['Bo']=0x0===_0x58fc4e['total']||!_0x3dfe22&&!_0x3ac2a0,this['_o']=!_0x3ac2a0||this['cfg']['multiple'],this['Aa']=_0x58fc4e['total']>0x0,this['zo']=_0x58fc4e;}['Ku'](t){let _0x4a9abf=_0x193810=>{let _0x50ea53=t[_0x193810];return'uploading'===_0x193810&&(_0x50ea53+=t['validatingBeforeUploading']),this['l10n']('header-'+_0x193810,{'count':_0x50ea53});};return t['uploading']>0x0||t['validatingBeforeUploading']>0x0?_0x4a9abf('uploading'):t['failed']>0x0?_0x4a9abf('failed'):t['succeed']>0x0?_0x4a9abf('succeed'):_0x4a9abf('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 _0x1e5bfd=t['filter'](_0x3ee679=>'SOME_FILES_HAS_ERRORS'!==_0x3ee679['type'])[0x0];this['ur']=_0x1e5bfd?_0x1e5bfd['message']:null;});}['disconnectedCallback'](){super['disconnectedCallback'](),this['has']('*uploadCollection')&&(this['uploadCollection']['unobserveProperties'](this['Te']),this['uploadCollection']['unobserveCollection'](this['Te']));}['render'](){return _0x3e6b89`<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',_0x3e6b89`<span>${this['l10n']('no-files')}</span>`)}</div><div class="uc-files"><div class="uc-files-wrapper">${_0x4da738(this['$']['*uploadList']??[],({uid:t})=>t,({uid:t})=>_0x3e6b89`<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>`;}};_0x1a398d([_0x671a39()],_0x11a861['prototype'],'xa',0x2),_0x1a398d([_0x671a39()],_0x11a861['prototype'],'Ca',0x2),_0x1a398d([_0x671a39()],_0x11a861['prototype'],'Sa',0x2),_0x1a398d([_0x671a39()],_0x11a861['prototype'],'_o',0x2),_0x1a398d([_0x671a39()],_0x11a861['prototype'],'Bo',0x2),_0x1a398d([_0x671a39()],_0x11a861['prototype'],'ur',0x2),_0x1a398d([_0x671a39()],_0x11a861['prototype'],'Aa',0x2),_0x1a398d([_0x671a39()],_0x11a861['prototype'],'zo',0x2);var _0x5c465a=[{'test':_0x23dc18=>!!_0x23dc18['accept']&&!!_0x23dc18['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':_0x71fcf=>null!==_0x71fcf['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':_0x703223=>null!==_0x703223['defaultCameraMode'],'message':'The\x20`defaultCameraMode`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'}],_0x33e643=_0x31123d(_0x54323e=>{for(let {test:_0x50b75a,message:t}of _0x5c465a)_0x50b75a(_0x54323e)&&_0x2c3099(t);},0x0),_0x5b330f=async _0x113df3=>{let _0x2775fd=await(async _0x570327=>{let _0x4e0333=new TextEncoder()['encode'](_0x570327),t=await window['crypto']['subtle']['digest']('SHA-256',_0x4e0333),_0x332973=Array['from'](new Uint8Array(t))['map'](_0x55cecd=>_0x55cecd['toString'](0x10)['padStart'](0x2,'0'))['join']('');return BigInt('0x'+_0x332973);})(_0x113df3);return(_0x3f188f=>{if(_0x3f188f<=0x0n)return'0';let _0x1b1e69='';for(;_0x3f188f>0x0n;)_0x1b1e69='0123456789abcdefghijklmnopqrstuvwxyz'[Number(_0x3f188f%0x24n)]+_0x1b1e69,_0x3f188f/=0x24n;return _0x1b1e69;})(_0x2775fd)['slice'](0x0,0xa);},_0x36c9a6=async(_0x358489,_0x1cac68)=>((_0xdc943c,_0x2b24f7)=>{let t=new URL(_0x2b24f7);return t['hostname']=_0xdc943c+'.'+t['hostname'],t['toString']()['replace'](/\/$/,'');})(await _0x5b330f(_0x358489),_0x1cac68),_0x37bc5a=_0x517f5f=>_0x517f5f instanceof Promise||!(!_0x517f5f||'object'!=typeof _0x517f5f||!('then'in _0x517f5f)||'function'!=typeof _0x517f5f['then']),_0x24fd1f=[{'key':'cameraModes','deps':['enableVideoRecording'],'fn':({cameraModes:_0x2b7552,enableVideoRecording:_0x22b38c})=>{let t=_0x22b38c();if(null===t)return _0x2b7552();let _0x2e1159=_0x1824ee(_0x2b7552());return t&&!_0x2e1159['includes']('video')?_0x2e1159=_0x2e1159['concat']('video'):t||(_0x2e1159=_0x2e1159['filter'](_0x15d074=>'video'!==_0x15d074)),_0x5b13a9(_0x2e1159);}},{'key':'cameraModes','deps':['defaultCameraMode'],'fn':({cameraModes:_0x1517a5,defaultCameraMode:_0x5716e6})=>{let t=_0x5716e6();if(null===t)return _0x1517a5();let _0x49077f=_0x1824ee(_0x1517a5());return _0x49077f=_0x49077f['sort']((_0x486191,_0x8ffd53)=>_0x486191===t?-0x1:_0x8ffd53===t?0x1:0x0),_0x5b13a9(_0x49077f);}},{'key':'cdnCname','deps':['pubkey','cdnCnamePrefixed'],'fn':({pubkey:_0x23ef67,cdnCname:_0x4c8590,cdnCnamePrefixed:t})=>{let _0x1b11e8=_0x23ef67(),_0x9460e7=_0x4c8590(),_0x6ea590=t();return _0x1b11e8&&(_0x9460e7===_0x7ff31e||((_0x568b34,_0x54e8c3)=>{try{let t=new URL(_0x568b34),_0xef857c=new URL(_0x54e8c3);return t['hostname']['endsWith'](_0xef857c['hostname']);}catch{return!0x1;}})(_0x9460e7,_0x6ea590))?_0x36c9a6(_0x1b11e8,_0x6ea590):_0x9460e7;}}],_0x5b91d3=_0xfbd4a8=>String(_0xfbd4a8),_0x1024d0=_0x63da6f=>{let _0xef8884=Number(_0x63da6f);if(Number['isNaN'](_0xef8884))throw new Error('Invalid\x20number:\x20\x22'+_0x63da6f+'\x22');return _0xef8884;},_0x1e7bed=_0x5340be=>{if(typeof _0x5340be>'u'||null===_0x5340be)return!0x1;if('boolean'==typeof _0x5340be)return _0x5340be;if('true'===_0x5340be||''===_0x5340be)return!0x0;if('false'===_0x5340be)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0x5340be+'\x22');},_0xb7f9cd=_0x335b00=>{if('object'==typeof _0x335b00)return _0x335b00;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},_0x3a693c=_0x177439=>{if('function'==typeof _0x177439)return _0x177439;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},_0x2ea559=_0x46d0b4=>{if(Array['isArray'](_0x46d0b4))return _0x46d0b4;throw new Error('Must\x20be\x20an\x20array.');},_0x7e108b={'pubkey':_0x5b91d3,'multiple':_0x1e7bed,'multipleMin':_0x1024d0,'multipleMax':_0x1024d0,'confirmUpload':_0x1e7bed,'imgOnly':_0x1e7bed,'accept':_0x5b91d3,'externalSourcesPreferredTypes':_0x5b91d3,'externalSourcesEmbedCss':_0x5b91d3,'store':_0x2b8dca=>'auto'===_0x2b8dca?_0x2b8dca:_0x1e7bed(_0x2b8dca),'cameraMirror':_0x1e7bed,'cameraCapture':_0x172bc3=>{let _0x3c572f=_0x5b91d3(_0x172bc3);if('user'!==_0x3c572f&&'environment'!==_0x3c572f&&''!==_0x3c572f)throw new Error('Invalid\x20value:\x20\x22'+_0x3c572f+'\x22');return _0x3c572f;},'sourceList':_0x5b91d3,'topLevelOrigin':_0x5b91d3,'maxLocalFileSizeBytes':_0x1024d0,'thumbSize':_0x1024d0,'showEmptyList':_0x1e7bed,'useLocalImageEditor':_0x1e7bed,'useCloudImageEditor':_0x1e7bed,'cloudImageEditorTabs':_0x5b91d3,'removeCopyright':_0x1e7bed,'cropPreset':_0x5b91d3,'imageShrink':_0x5b91d3,'modalScrollLock':_0x1e7bed,'modalBackdropStrokes':_0x1e7bed,'sourceListWrap':_0x1e7bed,'remoteTabSessionKey':_0x5b91d3,'cdnCname':_0x5b91d3,'cdnCnamePrefixed':_0x5b91d3,'baseUrl':_0x5b91d3,'socialBaseUrl':_0x5b91d3,'secureSignature':_0x5b91d3,'secureExpire':_0x5b91d3,'secureDeliveryProxy':_0x5b91d3,'retryThrottledRequestMaxTimes':_0x1024d0,'retryNetworkErrorMaxTimes':_0x1024d0,'multipartMinFileSize':_0x1024d0,'multipartChunkSize':_0x1024d0,'maxConcurrentRequests':_0x1024d0,'multipartMaxConcurrentRequests':_0x1024d0,'multipartMaxAttempts':_0x1024d0,'checkForUrlDuplicates':_0x1e7bed,'saveUrlForRecurrentUploads':_0x1e7bed,'groupOutput':_0x1e7bed,'userAgentIntegration':_0x5b91d3,'debug':_0x1e7bed,'localeName':_0x5b91d3,'metadata':_0x5ebb58=>{if('object'==typeof _0x5ebb58&&!Array['isArray'](_0x5ebb58)||'function'==typeof _0x5ebb58)return _0x5ebb58;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},'secureUploadsExpireThreshold':_0x1024d0,'localeDefinitionOverride':_0x265010=>_0xb7f9cd(_0x265010),'secureUploadsSignatureResolver':_0x55c300=>_0x3a693c(_0x55c300),'secureDeliveryProxyUrlResolver':_0x459303=>_0x3a693c(_0x459303),'iconHrefResolver':_0x2347a8=>_0x3a693c(_0x2347a8),'plugins':_0x2129d0=>_0x2ea559(_0x2129d0),'fileValidators':_0x2ea559,'collectionValidators':_0x2ea559,'validationTimeout':_0x1024d0,'validationConcurrency':_0x1024d0,'cameraModes':_0x59e770=>{let _0x901ec1=_0x5b91d3(_0x59e770),t=_0x1824ee(_0x901ec1);if(t['some'](_0x1cbff2=>!Object['values'](_0xe192c7)['includes'](_0x1cbff2)))throw new Error('Invalid\x20value:\x20\x22'+JSON['stringify'](t)+'\x22');return _0x901ec1;},'defaultCameraMode':_0x378697=>{let _0x1e4c41=_0x5b91d3(_0x378697);if(!Object['values'](_0xe192c7)['includes'](_0x1e4c41))throw new Error('Invalid\x20value:\x20\x22'+_0x1e4c41+'\x22');return _0x1e4c41;},'enableAudioRecording':_0x1e7bed,'enableVideoRecording':_0x1e7bed,'mediaRecorderOptions':_0xb7f9cd,'maxVideoRecordingDuration':_0x1024d0,'filesViewMode':_0x471ea4=>{let _0x350bef=_0x5b91d3(_0x471ea4);if(['grid','list']['includes'](_0x350bef))return _0x350bef;throw new Error('Invalid\x20value:\x20\x22'+_0x350bef+'\x22');},'gridShowFileNames':_0x1e7bed,'cloudImageEditorAutoOpen':_0x1e7bed,'cloudImageEditorMaskHref':_0x5b91d3,'testMode':_0x1e7bed,'qualityInsights':_0x1e7bed,'pasteScope':_0x185a17=>{let _0x1bf345=_0x5b91d3(_0x185a17);if('local'===_0x1bf345||'global'===_0x1bf345)return _0x1bf345;if(!0x1===_0x1e7bed(_0x185a17))return!0x1;throw new Error('Invalid\x20value:\x20\x22'+_0x1bf345+'\x22');}},_0x24a235=[...new Set(['debug',...Object['keys'](_0xcb9653)])],tU=['metadata','plugins','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorderOptions'],_0x2cc478=_0x4966b2=>tU['includes'](_0x4966b2),_0x3c424c=_0x24a235['filter'](_0x4887bc=>!_0x2cc478(_0x4887bc)),_0xceac51={...Object['fromEntries'](_0x3c424c['map'](_0x142373=>[_0x337f7f(_0x142373),_0x142373])),...Object['fromEntries'](_0x3c424c['map'](_0x1c6276=>[_0x1c6276['toLowerCase'](),_0x1c6276]))},_0x38658e=_0x2f37bd=>'__'+_0x2f37bd,_0x5270f5=class extends _0x361fd7{constructor(){super(...arguments),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](_0xcb9653)['map'](([t,_0x131a29])=>[_0x56b626(t),_0x131a29]))},this['Gu']=new Map(),this['ci']={},this['Ma']=new Set(),this['Ut']=new Map();}['jo'](t){return this['Ma']['has'](t);}['Go'](t){let _0x4b7aaf=this['i']['pluginManager'];if(_0x4b7aaf)return _0x4b7aaf['configRegistry']['get'](t);}['Oa'](t){return[...new Set([_0x337f7f(t),t['toLowerCase']()])];}['qu'](t,_0x5bd923){if(_0x2cc478(t)||this['jo'](t)&&!0x1===this['Go'](t)?.['attribute'])return;let _0x5096ff=this['Oa'](t);for(let _0x346ef8 of _0x5096ff)typeof _0x5bd923>'u'||null===_0x5bd923?this['removeAttribute'](_0x346ef8):this['getAttribute'](_0x346ef8)!==_0x5bd923['toString']()&&this['setAttribute'](_0x346ef8,_0x5bd923['toString']());}['Wu'](t,_0x527d28){let _0x6a0925=_0x56b626(t);if(this['$'][_0x6a0925]!==_0x527d28){if(typeof _0x527d28>'u'||null===_0x527d28){let _0x1b0cfb=_0xcb9653[t];this['$'][_0x6a0925]=void 0x0!==_0x1b0cfb?_0x1b0cfb:_0x527d28;}else this['$'][_0x6a0925]=_0x527d28;}}['Ye'](t,_0x3524bd){let _0x1f66cb;if(this['jo'](t)){let _0x26f268=this['Go'](t);try{_0x1f66cb=_0x26f268?.['normalize']?.(_0x3524bd)??_0x3524bd;}catch(_0x2bb06e){return void console['warn']('[uc-config]\x20normalize()\x20for\x20\x22'+t+'\x22\x20threw\x20an\x20error,\x20keeping\x20previous\x20value',_0x2bb06e);}}else _0x1f66cb=((_0xa6ba1c,_0x85ff02)=>{if(!(typeof _0x85ff02>'u'||null===_0x85ff02))try{return _0x7e108b[_0xa6ba1c](_0x85ff02);}catch(_0x5908b1){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0xa6ba1c+'\x22.',_0x5908b1),_0xcb9653[_0xa6ba1c];}})(t,_0x3524bd);let _0x183f9d=this,_0x476abd=_0x38658e(t);_0x183f9d[_0x476abd]!==_0x1f66cb&&(this['Zu'](t,_0x183f9d[_0x476abd],_0x1f66cb),_0x183f9d[_0x476abd]=_0x1f66cb,this['qu'](t,_0x1f66cb),this['Wu'](t,_0x1f66cb),this['debugPrint']('\x22'+t+'\x22',_0x1f66cb),this['jo'](t)||_0x33e643(this['cfg']));}['pr'](t){return this[_0x38658e(t)]??this['$'][_0x56b626(t)];}['Zu'](t,_0x38cbd,_0x553a0f){this['cfg']['debug']&&_0x553a0f!==_0x38cbd&&'object'==typeof _0x553a0f&&'object'==typeof _0x38cbd&&JSON['stringify'](_0x553a0f)===JSON['stringify'](_0x38cbd)&&(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:',_0x38cbd),console['warn']('[uc-config]\x20\x22'+t+'\x22\x20new\x20value:',_0x553a0f));}['Ia'](t){let _0x1528de=t['configRegistry']['getAll']();this['ci']={},this['Ma']=new Set(_0x1528de['keys']());for(let [_0x3ce2e9,_0x682178]of this['Ut'])_0x1528de['has'](_0x3ce2e9)||(_0x682178(),this['Ut']['delete'](_0x3ce2e9));for(let [_0xc40d79,_0x4c7772]of _0x1528de){let _0x199b3e=_0x56b626(_0xc40d79);if(_0x4c7772['attribute']){let _0x14513e=this['Oa'](_0xc40d79);for(let _0x55c859 of _0x14513e)this['ci'][_0x55c859]=_0xc40d79;}this['sharedCtx']['has'](_0x199b3e)||this['sharedCtx']['add'](_0x199b3e,_0x4c7772['defaultValue']);let _0x249be7=Object['getOwnPropertyDescriptor'](this,_0xc40d79);if((!_0x249be7||!_0x249be7['set']||!_0x249be7['get'])&&Object['defineProperty'](this,_0xc40d79,{'set':_0x159db8=>{this['Ye'](_0xc40d79,_0x159db8);},'get':()=>this['pr'](_0xc40d79),'enumerable':!0x0,'configurable':!0x0}),!this['Ut']['has'](_0xc40d79)){let _0x47483f=this['sub'](_0x199b3e,_0x51c05b=>{this['Ye'](_0xc40d79,_0x51c05b);},!0x1);this['Ut']['set'](_0xc40d79,_0x47483f);}}}['Yu'](){this['i']['when']('pluginManager',t=>{this['Ia'](t),this['dr']=t['onPluginsChange'](()=>{this['Ia'](t);});});}['Xu'](){this['li']=new MutationObserver(t=>{for(let _0x443ba9 of t)if('attributes'===_0x443ba9['type']&&_0x443ba9['attributeName']){let _0x478087=_0x443ba9['attributeName'],_0x4b05b2=_0x443ba9['oldValue'],_0x171c2e=this['getAttribute'](_0x478087);if(_0x4b05b2===_0x171c2e||_0x478087 in _0xceac51)continue;if(_0x478087 in this['ci']){let _0xd3a4fb=this['ci'][_0x478087],_0x246ace=this['Go'](_0xd3a4fb);this['attributeChangedCallback'](_0x478087,_0x4b05b2??'',_0x171c2e??_0x246ace?.['defaultValue']??'');}}}),this['li']['observe'](this,{'attributes':!0x0,'attributeOldValue':!0x0});}['initCallback'](){super['initCallback']();let t=this;this['Yu'](),this['Xu']();for(let _0x597bbf of _0x3c424c)this['sub'](_0x56b626(_0x597bbf),_0x2bf8f7=>{this['Ye'](_0x597bbf,_0x2bf8f7);},!0x1);for(let _0x1cc0a2 of _0x24a235){let _0x34d3c1=t[_0x1cc0a2]??this['$'][_0x56b626(_0x1cc0a2)];_0x34d3c1!==_0xcb9653[_0x1cc0a2]&&this['Ye'](_0x1cc0a2,_0x34d3c1);let _0x811df4=Object['getOwnPropertyDescriptor'](this,_0x1cc0a2);(!_0x811df4||!_0x811df4['set']||!_0x811df4['get'])&&Object['defineProperty'](this,_0x1cc0a2,{'set':_0x33d49f=>{this['Ye'](_0x1cc0a2,_0x33d49f);},'get':()=>this['pr'](_0x1cc0a2)});}let _0x67fe88=_0x21ad57=>{(({key:_0x3b0577,setValue:_0x36764f,getValue:t,computationControllers:_0xf4e056})=>{for(let _0x2df0bf of _0x24fd1f){if(!_0x2df0bf['deps']['includes'](_0x3b0577))continue;let _0x34874b={[_0x2df0bf['key']]:()=>t(_0x2df0bf['key'])};for(let _0xe687c9 of _0x2df0bf['deps'])_0x34874b[_0xe687c9]=()=>t(_0xe687c9);let _0x298d3d,_0x3d1aef=new AbortController();_0xf4e056['get'](_0x2df0bf['fn'])?.['abort'](),_0xf4e056['set'](_0x2df0bf['fn'],_0x3d1aef);try{_0x298d3d=_0x2df0bf['fn'](_0x34874b,{'signal':_0x3d1aef['signal']});}catch(_0x4476db){return _0xf4e056['get'](_0x2df0bf['fn'])===_0x3d1aef&&_0xf4e056['delete'](_0x2df0bf['fn']),void console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x2df0bf['key']+'\x22',_0x4476db);}_0x37bc5a(_0x298d3d)?_0x298d3d['then'](_0x371900=>{_0x3d1aef['signal']['aborted']||_0x36764f(_0x2df0bf['key'],_0x371900);})['catch'](_0x109d40=>{_0x3d1aef['signal']['aborted']||console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x2df0bf['key']+'\x22',_0x109d40);})['finally'](()=>{_0xf4e056['get'](_0x2df0bf['fn'])===_0x3d1aef&&_0xf4e056['delete'](_0x2df0bf['fn']);}):_0x36764f(_0x2df0bf['key'],_0x298d3d);}})({'key':_0x21ad57,'setValue':this['Ye']['bind'](this),'getValue':this['pr']['bind'](this),'computationControllers':this['Gu']});};for(let _0x5ffa7b of _0x24a235)this['sub'](_0x56b626(_0x5ffa7b),()=>_0x67fe88(_0x5ffa7b));}['attributeChangedCallback'](t,_0x3c4ad9,_0x2069b4){if(super['attributeChangedCallback'](t,_0x3c4ad9,_0x2069b4),_0x3c4ad9===_0x2069b4)return;let _0x222c36=_0xceac51[t];_0x222c36?this[_0x222c36]=_0x2069b4:this['i']['when']('pluginManager',_0x228356=>{let _0x161c6a=this['getAttribute'](t);if(_0x161c6a&&_0x161c6a!==_0x2069b4)return;let _0x1d3b1c=this['ci'][t],_0xb9bf29=_0x1d3b1c?_0x228356['configRegistry']['get'](_0x1d3b1c):void 0x0;if(_0x1d3b1c&&_0xb9bf29){let _0x2ff1f7=_0xb9bf29['fromAttribute']?_0xb9bf29['fromAttribute'](_0x2069b4):_0x2069b4;if(this['pr'](_0x1d3b1c)===_0x2ff1f7)return;this['Ye'](_0x1d3b1c,_0x2ff1f7);}});}['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'](_0xceac51)];}};for(let _0x2d3e52 of _0x24a235)_0x5270f5['prototype'][_0x2d3e52]=void 0x0;var _0x1db43b=class extends _0x281aa6{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 _0x3e6b89`<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>`;}};_0x1a398d([_0x53be06({'attribute':'dropzone','type':Boolean})],_0x1db43b['prototype'],'dropzone',0x2),_0x1a398d([_0x671a39()],_0x1db43b['prototype'],'ui',0x2);var _0x26ec5c=class extends _0x5dadd1{constructor(){super(...arguments),this['Wo']=_0x4a195b();}['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 _0x33d18e=this['$']['*currentActivityParams'];try{this['qo']=this['registration']['render'](t,_0x33d18e)??void 0x0;}catch(_0x8a35bc){console['error']('[Plugin\x20\x22'+this['registration']['pluginId']+'\x22]\x20Activity\x20render()\x20threw\x20an\x20error',_0x8a35bc);}}['hr'](){let t=this['Wo']['value'];if(t){try{this['qo']?.();}catch(_0x3da067){console['error']('[Plugin\x20\x22'+this['registration']?.['pluginId']+'\x22]\x20Activity\x20dispose\x20threw\x20an\x20error',_0x3da067);}this['qo']=void 0x0,t['replaceChildren']();}}['disconnectedCallback'](){this['hr'](),super['disconnectedCallback']();}['render'](){return _0x3e6b89`<div style="display: contents;" ${_0x1efdb7(this['Wo'])}></div>`;}};_0x1a398d([_0x53be06({'attribute':!0x1})],_0x26ec5c['prototype'],'registration',0x2);var _0x3542b5=class extends _0x361fd7{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']?_0x3e6b89`${_0x4da738(this['de'],t=>t['id'],t=>_0x3e6b89`<uc-plugin-activity-host .registration=${t}></uc-plugin-activity-host>`)}`:_0x3e6b89`${_0x4da738(this['de'],t=>t['id'],t=>_0x3e6b89`<uc-modal id=${t['id']} strokes block-body-scrolling><uc-plugin-activity-host .registration=${t}></uc-plugin-activity-host></uc-modal>`)}`;}};function _0x41d517(_0xcd2de4,_0x16964d,t){return _0xcd2de4?_0x16964d(_0xcd2de4):t?.(_0xcd2de4);}function _0x10ce65(..._0x11c3df){return _0x11c3df['reduce']((_0x1f93a1,t)=>{if('string'==typeof t)return _0x1f93a1[t]=!0x0,_0x1f93a1;for(let _0x372c3a of Object['keys'](t))_0x1f93a1[_0x372c3a]=t[_0x372c3a];return _0x1f93a1;},{});}function _0x4a2ed9(..._0x2988c3){let _0x18b5f1=_0x10ce65(..._0x2988c3);return Object['keys'](_0x18b5f1)['reduce']((t,_0x2dacbb)=>(_0x18b5f1[_0x2dacbb]&&t['push'](_0x2dacbb),t),[])['join']('\x20');}_0x1a398d([_0x53be06({'type':String})],_0x3542b5['prototype'],'mode',0x2),_0x1a398d([_0x671a39()],_0x3542b5['prototype'],'de',0x2);var _0x1989a0=_0x20ec1a=>_0x14a716['includes'](_0x20ec1a);function _0x53aad4(_0x5b9305){return{'*originalUrl':null,'*loadingOperations':new Map(),'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*currentAspectRatio':null,'*tabList':_0x14a716,'*tabId':_0x53a627['CROP'],'*on.retryNetwork':()=>{let _0x25ef47=_0x5b9305['querySelectorAll']('img');for(let t of _0x25ef47){let _0x1e9d32=t['src'];t['src']=_0x16b5fb,t['src']=_0x1e9d32;}_0x5b9305['$']['*networkProblems']=!0x1;},'*on.apply':_0x1ffa30=>{if(!_0x1ffa30)return;let t=_0x5b9305['$']['*originalUrl'];if(!t)return void console['warn']('Original\x20URL\x20is\x20null,\x20cannot\x20apply\x20transformations');let _0x30b0a3=_0xea2dc3(_0xa9d701(_0x1ffa30),'preview'),_0x5eadd6={'originalUrl':t,'cdnUrlModifiers':_0x30b0a3,'cdnUrl':_0x17e287(t,_0x30b0a3),'transformations':_0x1ffa30};_0x5b9305['dispatchEvent'](new CustomEvent('apply',{'detail':_0x5eadd6,'bubbles':!0x0,'composed':!0x0})),_0x5b9305['remove']();},'*on.cancel':()=>{_0x5b9305['remove'](),_0x5b9305['dispatchEvent'](new CustomEvent('cancel',{'bubbles':!0x0,'composed':!0x0}));}};}var _0x226e5c={'transition':'uc-transition','visible':'uc-visible','hidden':'uc-hidden'},_0x3b030c=class extends _0x361fd7{constructor(){super(...arguments),this['he']=!0x1,this['Ua']=_0x226e5c,this['$a']=_0x226e5c['visible'],this['Da']=_0x226e5c['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']??_0x226e5c['visible'],this['Da']=t['hidden']??_0x226e5c['hidden'];}get['styles'](){return this['Ua'];}['Na'](){this['style']['visibility']=this['he']?'inherit':'hidden',function(_0x304a82,..._0x21b061){let t=_0x10ce65(..._0x21b061);for(let _0xf02839 of Object['keys'](t))_0x304a82['classList']['toggle'](_0xf02839,!!t[_0xf02839]);}(this,{[_0x226e5c['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'](_0x226e5c['transition']),this['Na'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1),this['Ju']();},0x0);}};_0x1a398d([_0x53be06({'type':Boolean})],_0x3b030c['prototype'],'visible',0x1),_0x1a398d([_0x53be06({'attribute':!0x1})],_0x3b030c['prototype'],'styles',0x1);var _0x5ef0ff=class extends _0x361fd7{constructor(){super(...arguments),this['active']=!0x1,this['Xe']=_0x4a195b(),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:_0x311732}=this['getBoundingClientRect']();t['removeEventListener']('transitionend',this['Xo']),t['style']['transition']='transform\x201s',t['style']['opacity']='1',t['style']['transform']='translateX('+_0x311732+'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 _0x3e6b89`<div class="uc-inner"><div class="uc-line" ${_0x1efdb7(this['Xe'])}></div></div>`;}};_0x1a398d([_0x53be06({'type':Boolean,'reflect':!0x0})],_0x5ef0ff['prototype'],'active',0x2);var _0x4f4e35=_0x40c0cb(class extends _0x42554d{constructor(_0x596255){if(super(_0x596255),_0x596255['type']!==_0x217273||'class'!==_0x596255['name']||_0x596255['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'](_0x1ce24c){return'\x20'+Object['keys'](_0x1ce24c)['filter'](_0x5edece=>_0x1ce24c[_0x5edece])['join']('\x20')+'\x20';}['update'](_0xc40a3f,[_0x2e96fe]){if(void 0x0===this['st']){this['st']=new Set(),void 0x0!==_0xc40a3f['strings']&&(this['nt']=new Set(_0xc40a3f['strings']['join']('\x20')['split'](/\s/)['filter'](_0x3f9561=>''!==_0x3f9561)));for(let _0xdb9b92 in _0x2e96fe)_0x2e96fe[_0xdb9b92]&&!this['nt']?.['has'](_0xdb9b92)&&this['st']['add'](_0xdb9b92);return this['render'](_0x2e96fe);}let t=_0xc40a3f['element']['classList'];for(let _0x3c7025 of this['st'])_0x3c7025 in _0x2e96fe||(t['remove'](_0x3c7025),this['st']['delete'](_0x3c7025));for(let _0x59405f in _0x2e96fe){let _0x36d592=!!_0x2e96fe[_0x59405f];_0x36d592===this['st']['has'](_0x59405f)||this['nt']?.['has'](_0x59405f)||(_0x36d592?(t['add'](_0x59405f),this['st']['add'](_0x59405f)):(t['remove'](_0x59405f),this['st']['delete'](_0x59405f)));}return _0x3cd570;}}),_0x5c11fc=_0x343f09=>_0x343f09??_0x1d383d,_0x548b1e=class extends _0x361fd7{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 _0x3e6b89`<button type="button" role=${_0x5c11fc(this['ariaRole']||void 0x0)} aria-controls=${_0x5c11fc(this['ariaControls']||void 0x0)} aria-label=${_0x5c11fc(this['l10n'](this['titleProp']))} title=${_0x5c11fc(this['l10n'](this['titleProp']))} ><uc-icon class=${_0x4f4e35(this['td'])} name=${_0x5c11fc(this['icon']||void 0x0)} ?hidden=${this['Jo']} ></uc-icon><div class="uc-text">${this['text']}</div></button>`;}};function _0x20de6b(_0x11b11d,_0x531003,t){let _0x2b1795=window['devicePixelRatio'],_0x36aaf1=Math['min'](Math['ceil'](_0x531003*_0x2b1795),0xbb8),_0x320397=_0x2b1795>=0x2?'lightest':'normal';return _0x17e287(_0x11b11d,_0xea2dc3(tL,_0xa9d701(t),'quality/'+_0x320397,'stretch/off/-/resize/'+_0x36aaf1+'x','@clib/'+_0x332218+'/'+_0x37e118+'/uc-cloud-image-editor/'));}_0x1a398d([_0x53be06({'type':String})],_0x548b1e['prototype'],'text',0x2),_0x1a398d([_0x53be06({'type':String})],_0x548b1e['prototype'],'icon',0x2),_0x1a398d([_0x53be06({'type':Boolean,'reflect':!0x0})],_0x548b1e['prototype'],'reverse',0x2),_0x1a398d([_0x53be06({'type':String,'reflect':!0x0})],_0x548b1e['prototype'],'theme',0x2),_0x1a398d([_0x53be06({'attribute':'aria-role'})],_0x548b1e['prototype'],'ariaRole',0x2),_0x1a398d([_0x53be06({'attribute':'aria-controls'})],_0x548b1e['prototype'],'ariaControls',0x2),_0x1a398d([_0x53be06({'attribute':'title-prop'})],_0x548b1e['prototype'],'titleProp',0x2),_0x1a398d([_0x53be06({'type':Boolean,'noAccessor':!0x0})],_0x548b1e['prototype'],'active',0x2);var _0x1008f9=class extends _0x361fd7{constructor(){super(...arguments),this['za']='uc-backdrop-mask-'+_0x14c4f7['generateFastUid'](),this['mr']=!0x1,this['fi']=!0x1,this['ja']=_0x4a195b(),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 _0x14206b=this['Re'];if(!_0x14206b)return;let {x:_0x4a584d,y:_0x38046b}=_0x14206b['getBoundingClientRect'](),_0xb6d606=t['x']-_0x4a584d,_0x334810=t['y']-_0x38046b,_0x5a0888=_0xb6d606-this['fr'][0x0],_0x47ba97=_0x334810-this['fr'][0x1],{direction:_0x2da129}=this['ts'],_0x396dde=this['pd'](_0x2da129,[_0x5a0888,_0x47ba97]);_0x396dde&&(this['$']['*cropBox']=_0x396dde);},this['Ya']=t=>{if(!this['xe'])return;let _0x1e9288=Object['values'](this['xe'])['find'](_0x667f42=>{if(!_0x667f42||this['os'](_0x667f42['direction']))return!0x1;let _0x327b76=_0x667f42['interactionNode']['getBoundingClientRect']();return function(_0x1990d7,[_0x23cf5f,t]){return _0x1990d7['x']<=_0x23cf5f&&_0x23cf5f<=_0x1990d7['x']+_0x1990d7['width']&&_0x1990d7['y']<=t&&t<=_0x1990d7['y']+_0x1990d7['height'];}({'x':_0x327b76['x'],'y':_0x327b76['y'],'width':_0x327b76['width'],'height':_0x327b76['height']},[t['x'],t['y']]);});this['Ha']=_0x1e9288,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',_0x4a2ed9({'uc-guides--hidden':this['mr'],'uc-guides--visible':!this['mr']&&this['fi'],'uc-guides--semi-hidden':!this['mr']&&!this['fi']}));}['os'](t){let _0x3241a2=this['$']['*imageBox'];if(!_0x3241a2)return!0x1;if(''===t&&_0x3241a2['height']<=0x1&&_0x3241a2['width']<=0x1)return!0x0;let _0x3f4a63=_0x3241a2['height']<=0x1&&(t['includes']('n')||t['includes']('s')),_0x40dfc0=_0x3241a2['width']<=0x1&&(t['includes']('e')||t['includes']('w'));return _0x3f4a63||_0x40dfc0;}['od'](){let t=this['$']['*cropBox'];if(!t)return;let {x:_0x1d81dd,y:_0x2a5557,width:_0x35d21c,height:_0x47345e}=t,_0x42dc0f=this['Re'];if(!_0x42dc0f)return;let _0x49b7cf=_0x203589('mask',{'id':this['za']}),_0x35374c=_0x203589('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0x249357=_0x203589('rect',{'x':_0x1d81dd,'y':_0x2a5557,'width':_0x35d21c,'height':_0x47345e,'fill':'black'});_0x49b7cf['appendChild'](_0x35374c),_0x49b7cf['appendChild'](_0x249357);let _0x194b9d=_0x203589('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#'+this['za']+')'});_0x42dc0f['appendChild'](_0x194b9d),_0x42dc0f['appendChild'](_0x49b7cf),this['di']=_0x49b7cf,this['es']=_0x249357;}['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:_0x2dd3ea,y:_0x5838d2,width:_0x22442d,height:_0x4ae459}=t;this['es']&&_0x3950d0(this['es'],{'x':_0x2dd3ea,'y':_0x5838d2,'width':_0x22442d,'height':_0x4ae459});}['ad'](){let t=this['$']['*cropBox'];if(t&&this['pi']&&this['xe']){for(let _0x184ce3 of Object['values'](this['xe'])){if(!_0x184ce3)continue;let {direction:_0x618fb4,pathNode:_0xa3549f,interactionNode:_0x155270,groupNode:_0x6db880}=_0x184ce3,_0x33b9f8=''===_0x618fb4,_0x15d81b=0x2===_0x618fb4['length'],{x:_0x3b6a39,y:_0xec6c11,width:_0x3ce27f,height:_0x5b4987}=t;if(_0x33b9f8)_0x3950d0(_0x155270,{'x':_0x3b6a39,'y':_0xec6c11,'width':_0x3ce27f,'height':_0x5b4987});else{let _0x2d401c=_0x3b3b0e(Math['min'](_0x3ce27f,_0x5b4987)/0x52/0x2,0x0,0x1),_0x428b4f=_0x15d81b?_0x28c242(t,_0x618fb4,_0x2d401c):_0x456038(t,_0x618fb4,_0x2d401c),_0x39c04e=_0x428b4f['center'];if(!_0x39c04e)continue;let _0x3dc01c=Math['max'](0x18*_0x3b3b0e(Math['min'](_0x3ce27f,_0x5b4987)/0x18/0x3,0x0,0x1),0x6);_0x3950d0(_0x155270,{'x':_0x39c04e[0x0]-_0x3dc01c,'y':_0x39c04e[0x1]-_0x3dc01c,'width':0x2*_0x3dc01c,'height':0x2*_0x3dc01c}),_0x3950d0(_0xa3549f,{'d':_0x428b4f['d']});}let _0x3e9dae=this['os'](_0x618fb4);_0x6db880['setAttribute']('class',_0x4a2ed9('uc-thumb',{'uc-thumb--hidden':_0x3e9dae,'uc-thumb--visible':!_0x3e9dae}));}_0x3950d0(this['pi'],{'x':t['x']-0.5,'y':t['y']-0.5,'width':t['width']+0x1,'height':t['height']+0x1});}}['Ga'](t,_0x4841e8){let _0x1dadfe=_0x203589('g');_0x1dadfe['classList']['add']('uc-thumb'),_0x1dadfe['setAttribute']('with-effects','');let _0x332064=_0x203589('rect',{'fill':'transparent'}),_0x466560=_0x203589('path',{'stroke':'currentColor','fill':'none','stroke-width':0x3});_0x1dadfe['appendChild'](_0x466560),_0x1dadfe['appendChild'](_0x332064),t[_0x4841e8]={'direction':_0x4841e8,'pathNode':_0x466560,'interactionNode':_0x332064,'groupNode':_0x1dadfe},''===_0x4841e8&&(_0x1dadfe['style']['cursor']='move'),_0x332064['addEventListener']('pointerdown',this['ld']['bind'](this,_0x4841e8));}['cd'](){let t={};for(let _0x1e2191=0x0;_0x1e2191<0x3;_0x1e2191++)for(let _0xde53bb=0x0;_0xde53bb<0x3;_0xde53bb++){let _0x3b6b76=''+['n','','s'][_0x1e2191]+['w','','e'][_0xde53bb];''!==_0x3b6b76&&this['Ga'](t,_0x3b6b76);}return this['Ga'](t,''),t;}['ud'](){let t=_0x203589('svg'),_0x15e823=_0x203589('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.5});t['appendChild'](_0x15e823);for(let _0x378406=0x1;_0x378406<=0x2;_0x378406++){let _0x44cf8b=_0x203589('line',{'x1':_0x4a6a81*_0x378406+'%','y1':'0%','x2':_0x4a6a81*_0x378406+'%','y2':'100%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});t['appendChild'](_0x44cf8b);}for(let _0x3bdb11=0x1;_0x3bdb11<=0x2;_0x3bdb11++){let _0x550311=_0x203589('line',{'x1':'0%','y1':_0x4a6a81*_0x3bdb11+'%','x2':'100%','y2':_0x4a6a81*_0x3bdb11+'%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});t['appendChild'](_0x550311);}return t['classList']['add']('uc-guides','uc-guides--semi-hidden'),t;}['dd'](){let t=this['Re'];if(!t)return;let _0x3d16a7=document['createDocumentFragment'](),_0x439a05=this['ud']();_0x3d16a7['appendChild'](_0x439a05);let _0x269e3c=this['cd']();for(let {groupNode:_0x961b50}of Object['values'](_0x269e3c))_0x3d16a7['appendChild'](_0x961b50);t['appendChild'](_0x3d16a7),this['xe']=_0x269e3c,this['pi']=_0x439a05,this['rs']();}['ld'](t,_0x249b91){if(!this['xe'])return;let _0x2b03dc=this['xe'][t];if(!_0x2b03dc||this['os'](t))return;let _0x56919d=this['$']['*cropBox'],_0x395efe=this['Re'];if(!_0x395efe)return;let {x:_0x3ec797,y:_0x4510a4}=_0x395efe['getBoundingClientRect'](),_0x4191d7=_0x249b91['x']-_0x3ec797,_0xda246=_0x249b91['y']-_0x4510a4;this['vi']=!0x0,this['ts']=_0x2b03dc,this['fr']=[_0x4191d7,_0xda246],this['Ka']={..._0x56919d};}['pd'](t,_0x1255c2){let [_0x7358e8,_0x550a2d]=_0x1255c2,_0x5d644b=this['$']['*imageBox'],_0x63db04=this['Ka']??this['$']['*cropBox'],_0x4f9e23=this['$']['*currentAspectRatio'],_0x51549a=_0x4f9e23?_0x4f9e23['width']/_0x4f9e23['height']:void 0x0;if(_0x63db04=''===t?function({rect:_0x40b704,delta:[_0x468aab,t],imageBox:_0x164260}){return _0x2d3e70({..._0x40b704,'x':_0x40b704['x']+_0x468aab,'y':_0x40b704['y']+t},_0x164260);}({'rect':_0x63db04,'delta':[_0x7358e8,_0x550a2d],'imageBox':_0x5d644b}):_0xeec4a9({'rect':_0x63db04,'delta':[_0x7358e8,_0x550a2d],'direction':t,'aspectRatio':_0x51549a,'imageBox':_0x5d644b}),Object['values'](_0x63db04)['every'](_0x37c813=>Number['isFinite'](_0x37c813)&&_0x37c813>=0x0))return _0x2d3e70(_0x34c00f(_0x63db04),_0x5d644b);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0x63db04});}['Wa'](){let t=this['Ha'],_0x376c28=this['Re'];_0x376c28&&(_0x376c28['style']['cursor']=t?function(_0x50016c){return''===_0x50016c?'move':['e','w']['includes'](_0x50016c)?'ew-resize':['n','s']['includes'](_0x50016c)?'ns-resize':['nw','se']['includes'](_0x50016c)?'nwse-resize':'nesw-resize';}(t['direction']):'initial');}['Xa'](t){if(this['hi'])return void this['hi']['setAttribute']('href',t);let _0x1306c8=this['Re'];if(!_0x1306c8)return void(this['gi']=t);this['gi']=null;let _0x1bcfac=document['createDocumentFragment'](),_0x20a5a2=_0x203589('image',{'href':t});_0x20a5a2['setAttribute']('class','uc-cloud-mask'),_0x1bcfac['appendChild'](_0x20a5a2),_0x1306c8['appendChild'](_0x1bcfac),this['hi']=_0x20a5a2;}['hd'](){let t=this['$']['*cropBox'];if(!t||!this['hi'])return;let {x:_0x50d84c,y:_0x1acbfe,width:_0x3d2a74,height:_0x50df36}=t;_0x3950d0(this['hi'],{'x':_0x50d84c,'y':_0x1acbfe,'height':_0x50df36,'width':_0x3d2a74});}['ss'](){this['mi']&&(this['nd'](),this['ad'](),this['hd']());}['toggleThumbs'](t){if(this['xe'])for(let _0x27cf9a of Object['values'](this['xe'])){if(!_0x27cf9a)continue;let {groupNode:_0x21ecfe}=_0x27cf9a;_0x21ecfe['setAttribute']('class',_0x4a2ed9('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 _0x41b94e=this['gi'];this['gi']=null,this['Xa'](_0x41b94e);}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 _0x3e6b89`<svg class="uc-svg" xmlns="http://www.w3.org/2000/svg" ${_0x1efdb7(this['ja'])}></svg>`;}};_0x1a398d([_0x671a39()],_0x1008f9['prototype'],'fi',0x2);var _0x42e3e3=class extends _0x361fd7{constructor(){super(),this['ctxOwner']=!0x0,this['Qe']={'width':0x0,'height':0x0},this['e']=null,this['_']=!0x1,this['se']=null,this['Ja']=_0x4a195b(),this['as']=_0x4a195b(),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']=_0x31123d(this['tl']['bind'](this),0x12c),this['ns']=_0x860ea8(()=>{!this['isConnected']||!this['_']||(this['ls'](),this['il'](),this['rl'](),this['cs'](),this['us']());},0x64);}['firstUpdated'](t){super['firstUpdated'](t),this['ls']();}['il'](){let _0x276ee7=function(_0xec41af,_0x308c69){let t={};for(let _0x3ee231 of _0x308c69){let _0x45899f=_0xec41af[_0x3ee231];(Object['hasOwn'](_0xec41af,_0x3ee231)||void 0x0!==_0x45899f)&&(t[_0x3ee231]=_0x45899f);}return t;}(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0x3b279a={...this['$']['*operations'],..._0x276ee7};this['$']['*operations']=_0x3b279a;}['ls'](){let t=this['Ja']['value'];if(!t)return;let _0x2643c9=t['getContext']('2d'),_0x48e7b4=this['offsetWidth'],_0x3f2dfc=this['offsetHeight'],_0x3b5b52=window['devicePixelRatio'];t['style']['width']=_0x48e7b4+'px',t['style']['height']=_0x3f2dfc+'px',t['width']=_0x48e7b4*_0x3b5b52,t['height']=_0x3f2dfc*_0x3b5b52,_0x2643c9?.['scale'](_0x3b5b52,_0x3b5b52),this['fe']=t,this['e']=_0x2643c9;}['rl'](){if(!this['_']||!this['se'])return;let _0x22fadd,t=this['se'],_0x18f0dc=this['$']['*padding'],_0x3954a6=this['$']['*operations'],{rotate:_0x16c9ef}=_0x3954a6,_0x290437=this['offsetWidth'],_0x5244c6=this['offsetHeight'],_0x226314=_0xc2dc74({'width':t['naturalWidth'],'height':t['naturalHeight']},_0x16c9ef);if(_0x226314['width']>_0x290437-0x2*_0x18f0dc||_0x226314['height']>_0x5244c6-0x2*_0x18f0dc){let _0x1968f1=_0x226314['width']/_0x226314['height'];if(_0x1968f1>_0x290437/_0x5244c6){let _0x50e2b0=_0x290437-0x2*_0x18f0dc,_0x3c2f5f=_0x50e2b0/_0x1968f1;_0x22fadd={'x':0x0+_0x18f0dc,'y':_0x18f0dc+(_0x5244c6-0x2*_0x18f0dc)/0x2-_0x3c2f5f/0x2,'width':_0x50e2b0,'height':_0x3c2f5f};}else{let _0x4ef745=_0x5244c6-0x2*_0x18f0dc,_0x2e74a3=_0x4ef745*_0x1968f1;_0x22fadd={'x':_0x18f0dc+(_0x290437-0x2*_0x18f0dc)/0x2-_0x2e74a3/0x2,'y':0x0+_0x18f0dc,'width':_0x2e74a3,'height':_0x4ef745};}}else{let {width:_0x422e4b,height:_0x3de07c}=_0x226314;_0x22fadd={'x':_0x18f0dc+(_0x290437-0x2*_0x18f0dc)/0x2-_0x422e4b/0x2,'y':_0x18f0dc+(_0x5244c6-0x2*_0x18f0dc)/0x2-_0x3de07c/0x2,'width':_0x422e4b,'height':_0x3de07c};}this['$']['*imageBox']=_0x34c00f(_0x22fadd);}['cs'](){let t=this['$']['*cropBox'],_0x4f0731=this['$']['*imageBox'],_0x1651aa=this['$']['*operations'],{rotate:_0x1af37c}=_0x1651aa,_0xe52166=this['$']['*editorTransformations']['crop'],{width:_0x322387,x:_0x4c1dec,y:_0x4dda7f}=_0x4f0731;if(_0xe52166){let {dimensions:[_0x462253,_0xe7cca3],coords:[_0xddfdb5,_0x5c14f4]}=_0xe52166,{width:_0x22c31c}=_0xc2dc74(this['Qe'],_0x1af37c),_0x2b4af2=_0x322387/_0x22c31c;t=_0x2d3e70(_0x34c00f({'x':_0x4c1dec+_0xddfdb5*_0x2b4af2,'y':_0x4dda7f+_0x5c14f4*_0x2b4af2,'width':_0x462253*_0x2b4af2,'height':_0xe7cca3*_0x2b4af2}),_0x4f0731);}let _0x221821=this['$']['*currentAspectRatio'],_0x2a7b68=_0x221821?_0x221821['width']/_0x221821['height']:void 0x0;if(!function(_0xc989a5,_0x151a85){return _0xc989a5['x']>=_0x151a85['x']&&_0xc989a5['y']>=_0x151a85['y']&&_0xc989a5['x']+_0xc989a5['width']<=_0x151a85['x']+_0x151a85['width']&&_0xc989a5['y']+_0xc989a5['height']<=_0x151a85['y']+_0x151a85['height'];}(t,_0x4f0731)||_0x2a7b68&&!function(_0x1044fb,_0x31a7ca){return Math['abs'](_0x1044fb['width']/_0x1044fb['height']-_0x31a7ca)<0.1;}(t,_0x2a7b68)){let _0x45385b=_0x4f0731['width']/_0x4f0731['height'],_0x25251a=_0x4f0731['width'],_0x1a3344=_0x4f0731['height'];_0x2a7b68&&(_0x45385b>_0x2a7b68?_0x25251a=Math['min'](_0x4f0731['height']*_0x2a7b68,_0x4f0731['width']):_0x1a3344=Math['min'](_0x4f0731['width']/_0x2a7b68,_0x4f0731['height'])),t={'x':_0x4f0731['x']+_0x4f0731['width']/0x2-_0x25251a/0x2,'y':_0x4f0731['y']+_0x4f0731['height']/0x2-_0x1a3344/0x2,'width':_0x25251a,'height':_0x1a3344};}this['$']['*cropBox']=_0x2d3e70(_0x34c00f(t),_0x4f0731);}['md'](){let t=this['e'];if(!t)return;let _0x77eded=this['se'];if(!_0x77eded)return;let _0x1a059d=this['$']['*imageBox'],_0x26f2b7=this['$']['*operations'],{mirror:_0xf4ee42,flip:_0x5ec6f9,rotate:_0x2819ef}=_0x26f2b7,_0x3d3402=_0xc2dc74({'width':_0x1a059d['width'],'height':_0x1a059d['height']},_0x2819ef);t['save'](),t['translate'](_0x1a059d['x']+_0x1a059d['width']/0x2,_0x1a059d['y']+_0x1a059d['height']/0x2),t['rotate'](_0x2819ef*Math['PI']*-0x1/0xb4),t['scale'](_0xf4ee42?-0x1:0x1,_0x5ec6f9?-0x1:0x1),t['drawImage'](_0x77eded,-_0x3d3402['width']/0x2,-_0x3d3402['height']/0x2,_0x3d3402['width'],_0x3d3402['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']=_0x4a2ed9({'uc-active_from_viewer':t,'uc-active_from_editor':!t,'uc-inactive_to_editor':!0x1});}));}['ol'](){let t=this['$']['*cropBox'],_0x2b465c=this['$']['*imageBox'],_0xf525c=this['$']['*operations'],{rotate:_0x9bda63}=_0xf525c,{width:_0x5f3a04,height:_0x5c9b40}=_0x2b465c,{width:_0x1e47ba,height:_0x5d34fa}=_0xc2dc74(this['Qe'],_0x9bda63),{width:_0x36435b,height:_0x53a0f0}=t,_0x3fecd5=_0x5f3a04/_0x1e47ba,_0x5e6c51=_0x5c9b40/_0x5d34fa;return[_0x3b3b0e(Math['round'](_0x36435b/_0x3fecd5),0x1,_0x1e47ba),_0x3b3b0e(Math['round'](_0x53a0f0/_0x5e6c51),0x1,_0x5d34fa)];}['yd'](){let t=this['$']['*cropBox'],_0x3ab4d5=this['$']['*imageBox'],_0x21586e=this['$']['*operations'],{rotate:_0x1ed4cd}=_0x21586e,{width:_0x552293,height:_0x3bfeb3,x:_0x47b595,y:_0x313fd2}=_0x3ab4d5,{width:_0x17e80b,height:_0x3943ed}=_0xc2dc74(this['Qe'],_0x1ed4cd),{x:_0x20d709,y:_0x4043ba}=t,_0x58c5ab=_0x552293/_0x17e80b,_0x5cb8d2=_0x3bfeb3/_0x3943ed,_0x365623=this['ol'](),_0x39b9f0={'dimensions':_0x365623,'coords':[_0x3b3b0e(Math['round']((_0x20d709-_0x47b595)/_0x58c5ab),0x0,_0x17e80b-_0x365623[0x0]),_0x3b3b0e(Math['round']((_0x4043ba-_0x313fd2)/_0x5cb8d2),0x0,_0x3943ed-_0x365623[0x1])]};if(function(_0x34d6f7){return!_0x34d6f7||[({dimensions:t,coords:_0x4adefd})=>[...t,..._0x4adefd]['every'](_0xb937e7=>Number['isInteger'](_0xb937e7)&&Number['isFinite'](_0xb937e7)),({dimensions:t,coords:_0x2fa18b})=>t['every'](_0x15bf18=>_0x15bf18>0x0)&&_0x2fa18b['every'](_0x30e086=>_0x30e086>=0x0)]['every'](t=>t(_0x34d6f7));}(_0x39b9f0))return _0x365623[0x0]!==_0x17e80b||_0x365623[0x1]!==_0x3943ed?_0x39b9f0:void 0x0;console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0x39b9f0});}['tl'](){if(!this['isConnected']||!this['Qe'])return;let t=this['$']['*operations'],{rotate:_0x123b69,mirror:_0xea3677,flip:_0x439151}=t,_0x16ee78=this['yd'](),_0x2bf063={...this['$']['*editorTransformations'],'crop':_0x16ee78,'rotate':_0x123b69,'mirror':_0xea3677,'flip':_0x439151};this['$']['*editorTransformations']=_0x2bf063;}['setValue'](t,_0x473438){this['$']['*operations']={...this['$']['*operations'],[t]:_0x473438},this['_']&&(this['rl'](),this['cs'](),this['us']());}['getValue'](t){return this['$']['*operations'][t];}async['activate'](t,{fromViewer:_0x4ced18}={}){if(!this['_']){this['_']=!0x0,await this['updateComplete'],this['ls'](),this['Qe']=t,this['removeEventListener']('transitionend',this['sl']);try{let _0x1ddb04=this['$']['*originalUrl'],_0x280e0e=this['$']['*editorTransformations'];this['se']=await this['bd'](_0x1ddb04,_0x280e0e),this['il'](),this['ns'](),this['gd']({'fromViewer':_0x4ced18});}catch(_0x5f4b35){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0x5f4b35}),this['telemetryManager']['sendEventError'](_0x5f4b35,'cloud\x20editor\x20image.\x20Failed\x20to\x20activate\x20cropper');}this['s']=new ResizeObserver(_0x177f61=>{let [_0x4f4c2a]=_0x177f61;_0x4f4c2a&&_0x4f4c2a['contentRect']['width']>0x0&&_0x4f4c2a['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']=_0x4a2ed9({'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'](),_0x310807=this['$']['*cropBox'],_0x1d015e=Math['min'](this['offsetWidth'],t[0x0])/_0x310807['width'],_0x128bc7=Math['min'](this['offsetHeight'],t[0x1])/_0x310807['height'],_0x2e22fd=Math['min'](_0x1d015e,_0x128bc7),_0x1ed1be=_0x310807['x']+_0x310807['width']/0x2,_0xe62587=_0x310807['y']+_0x310807['height']/0x2;this['style']['transform']='scale('+_0x2e22fd+')\x20translate('+(this['offsetWidth']/0x2-_0x1ed1be)/_0x2e22fd+'px,\x20'+(this['offsetHeight']/0x2-_0xe62587)/_0x2e22fd+'px)',this['style']['transformOrigin']=_0x1ed1be+'px\x20'+_0xe62587+'px';}['vd'](){let t=this['$']['*cropBox'],_0x44f2b2=t['x']+t['width']/0x2,_0xc3c7f0=t['y']+t['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x44f2b2+'px\x20'+_0xc3c7f0+'px';}['sl'](){this['_']||(this['se']=null);}async['bd'](t,_0xacec59){let _0x3703d0=this['offsetWidth'];_0xacec59={..._0xacec59,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};let _0x44ce8d=await this['proxyUrl'](_0x20de6b(t,_0x3703d0,_0xacec59)),{promise:_0x50c3ce,cancel:_0x200f41,image:_0x4e4a7d}=_0x30ab43(_0x44ce8d),_0x12d8e8=this['$t'](_0x44ce8d);return _0x4e4a7d['addEventListener']('load',_0x12d8e8,{'once':!0x0}),_0x4e4a7d['addEventListener']('error',_0x12d8e8,{'once':!0x0}),this['b']?.(),this['b']=_0x200f41,_0x50c3ce['then'](()=>_0x4e4a7d)['catch'](_0x232da6=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0x232da6}),this['$']['*networkProblems']=!0x0,_0x4e4a7d));}['$t'](t){let _0x498644='crop',_0x4fc65f=this['$']['*loadingOperations'],_0x4e929b=_0x4fc65f['get'](_0x498644);return _0x4e929b||(_0x4e929b=new Map(),_0x4fc65f['set'](_0x498644,_0x4e929b)),_0x4e929b['get'](t)||(_0x4e929b['set'](t,!0x0),this['$']['*loadingOperations']=_0x4fc65f),()=>{let _0x4cbe72=_0x4fc65f['get'](_0x498644);_0x4cbe72?.['has'](t)&&(_0x4cbe72['delete'](t),this['$']['*loadingOperations']=_0x4fc65f);};}['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 _0x3e6b89`<canvas class="uc-canvas" ${_0x1efdb7(this['Ja'])}></canvas><uc-crop-frame ${_0x1efdb7(this['as'])}></uc-crop-frame>`;}};function _0x3a4c16(_0x3f8bcd,_0x74e4e8,t){let _0x31a519=t-0x1,_0x4bb171=new Array(t);for(let _0x3fb1a4=_0x31a519;_0x3fb1a4>=0x0;_0x3fb1a4-=0x1)_0x4bb171[_0x3fb1a4]=Math['ceil']((_0x3fb1a4*_0x74e4e8+(_0x31a519-_0x3fb1a4)*_0x3f8bcd)/_0x31a519);return _0x4bb171;}function _0x45111c(_0x932ebd,_0x5010e3){let t=_0x2057a8[_0x932ebd]['keypointsNumber'],{range:_0x40f63e,zero:_0xa1fd53}=_0x2057a8[_0x932ebd];return[...new Set([..._0x3a4c16(_0x40f63e[0x0],_0xa1fd53,t+0x1),..._0x3a4c16(_0xa1fd53,_0x40f63e[0x1],t+0x1),_0xa1fd53,_0x5010e3])]['sort']((_0x5d886a,_0x19af7a)=>_0x5d886a-_0x19af7a);}_0x1a398d([_0x671a39()],_0x42e3e3['prototype'],'se',0x2);var _0x12efa2=class extends _0x361fd7{constructor(){super(),this['_']=!0x1,this['ds']=!0x0,this['n']='initial',this['nl']={},this['Ue']=[],this['al']=0x0,this['cl']=_0x4a195b(),this['gr']=_0x4a195b(),this['classList']['add']('uc-inactive_to_cropper'),this['ll']=_0x31123d(async(t,_0x415a63,_0x174789)=>{let _0x3a0121=()=>!this['ul'](t,_0x415a63)||this['Pt']!==_0x174789||!!this['Ue']['find'](_0x2370eb=>_0x2370eb['value']===_0x174789);if(_0x3a0121())return;let _0x35851d=await this['dl'](t,_0x174789),_0xf5504d=new Image();_0xf5504d['src']=_0x35851d['src'];let _0x1e59c3=this['$t'](_0x35851d['src']);_0xf5504d['addEventListener']('load',_0x1e59c3,{'once':!0x0}),_0xf5504d['addEventListener']('error',_0x1e59c3,{'once':!0x0}),_0x35851d['image']=_0xf5504d,_0xf5504d['classList']['add']('uc-fader-image'),_0xf5504d['addEventListener']('load',()=>{if(_0x3a0121())return;let _0x240ed4=this['Ue'],_0x50a1dc=_0x240ed4['findIndex'](_0x320f01=>_0x320f01['value']>_0x174789);-0x1===_0x50a1dc&&(_0x50a1dc=_0x240ed4['length']);let _0x1f6a8f=_0x240ed4[_0x50a1dc]?.['image'],_0x288c62=this['gr']['value'];!_0x288c62||_0x1f6a8f&&!_0x288c62['contains'](_0x1f6a8f)||(_0x240ed4['splice'](_0x50a1dc,0x0,_0x35851d),_0x1f6a8f?_0x288c62['insertBefore'](_0xf5504d,_0x1f6a8f):_0x288c62['appendChild'](_0xf5504d),this['fs'](t,_0x174789));},{'once':!0x0}),_0xf5504d['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});},0x258);}['$t'](t){let _0x1a7568=this['n'],_0x29e849=this['$']['*loadingOperations'];_0x29e849['has'](_0x1a7568)||_0x29e849['set'](_0x1a7568,new Map());let _0x335445=_0x29e849['get'](_0x1a7568);return _0x335445&&!_0x335445['get'](t)&&(_0x335445['set'](t,!0x0),this['$']['*loadingOperations']=_0x29e849),()=>{let _0x4beb7c=_0x29e849['get'](_0x1a7568);_0x4beb7c?.['has'](t)&&(_0x4beb7c['delete'](t),this['$']['*loadingOperations']=_0x29e849);};}['pl'](){window['cancelAnimationFrame'](this['al']),this['al']=window['requestAnimationFrame'](()=>{for(let t of this['Ue']){let {image:_0x3b31d5}=t;_0x3b31d5&&(_0x3b31d5['style']['opacity']=t['opacity']['toString'](),_0x3b31d5['style']['zIndex']=t['zIndex']['toString']());}});}['Je']({url:t=this['Dt'],filter:_0x35d653=this['m']??void 0x0,operation:_0x512d37,value:_0x555e37}={}){if(!t)throw new Error('URL\x20is\x20not\x20defined');let _0x390f3f={...this['nl']};_0x512d37&&('filter'===_0x512d37?_0x35d653&&'number'==typeof _0x555e37&&(_0x390f3f['filter']={'name':_0x35d653,'amount':_0x555e37}):'number'==typeof _0x555e37&&(_0x390f3f[_0x512d37]=_0x555e37));let _0x283433=this['offsetWidth'];return this['proxyUrl'](_0x20de6b(t,_0x283433,_0x390f3f));}async['dl'](t,_0x4a38f2){return{'src':await this['Je']({'operation':t,'value':_0x4a38f2}),'image':void 0x0,'opacity':0x0,'zIndex':0x0,'value':_0x4a38f2};}['ul'](t,_0x40af6e){return this['n']===t&&this['m']===_0x40af6e;}['set'](t){let _0x23d8d3='string'==typeof t?parseInt(t,0xa):t;!function(_0x4cc145){return'string'==typeof _0x4cc145&&_0x4cc145 in _0x2057a8;}(this['n'])||!Number['isFinite'](_0x23d8d3)||(this['fs'](this['n'],_0x23d8d3),this['ll'](this['n'],this['m'],_0x23d8d3));}['fs'](t,_0x559e7f){this['n']=t,this['Pt']=_0x559e7f;let {zero:_0x174052}=_0x2057a8[t],_0x59284a=this['Ue']['map'](_0x3514ec=>_0x3514ec['value']),_0x2cc26e=function(_0x25a988,_0xb4f30d,t){let _0x42ad8d=function(_0x16e9a8){let _0x5c60e4=[];for(let t=0x0;t<_0x16e9a8['length']-0x1;t+=0x1){let _0x116180=_0x16e9a8[t],_0x3cc5d7=_0x16e9a8[t+0x1];'number'==typeof _0x116180&&'number'==typeof _0x3cc5d7&&_0x5c60e4['push']([_0x116180,_0x3cc5d7]);}return _0x5c60e4;}(_0x25a988)['find'](([_0x18ef82,_0x486afe])=>_0x18ef82<=_0xb4f30d&&_0xb4f30d<=_0x486afe);if(!_0x42ad8d)return _0x25a988['map'](()=>0x0);let [_0x1a5769,_0x31d76d]=_0x42ad8d;return _0x25a988['map'](_0xe3e23a=>{let _0x132424=Math['abs'](_0x1a5769-_0x31d76d)||0x1,_0xd01f1c=Math['abs'](_0xb4f30d-_0x1a5769)/_0x132424;return _0x1a5769===_0xe3e23a?_0xb4f30d>t?0x1:0x1-_0xd01f1c:_0x31d76d===_0xe3e23a?_0xb4f30d>=t?_0xd01f1c:0x1:0x0;});}(_0x59284a,_0x559e7f,_0x174052),_0x41ce52=function(_0x116dcf,_0x2c26e8){return _0x116dcf['map']((t,_0x58f13d)=>t<_0x2c26e8?_0x116dcf['length']-_0x58f13d:_0x58f13d);}(_0x59284a,_0x174052);this['Ue']['forEach']((_0x5cebef,_0x557c)=>{let _0x237230=_0x2cc26e[_0x557c],_0x106208=_0x41ce52[_0x557c];'number'==typeof _0x237230&&(_0x5cebef['opacity']=_0x237230),'number'==typeof _0x106208&&(_0x5cebef['zIndex']=_0x106208);}),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 _0x1f8aaa=this['Ue']['map'](_0x532ce7=>_0x532ce7['src']),{images:_0x3a7286,promise:_0x4a46e4,cancel:_0x122310}=_0x5396de(_0x1f8aaa);_0x3a7286['forEach'](_0x2fa866=>{let _0x3eb6bd=this['$t'](_0x2fa866['src']);_0x2fa866['addEventListener']('load',_0x3eb6bd),_0x2fa866['addEventListener']('error',_0x3eb6bd);}),this['ps']=()=>{_0x122310(),this['ps']=void 0x0;};let _0x127964=this['n'],_0x15ef5d=this['m'];if(await _0x4a46e4,this['_']&&this['ul'](_0x127964,_0x15ef5d)){let _0x4048e2=this['gr']['value'];if(!_0x4048e2)return;_0x4048e2['replaceChildren'](),this['Ue']['forEach']((_0x145465,_0x11b042)=>{let _0x55dafb=_0x3a7286[_0x11b042];_0x55dafb&&(_0x55dafb['classList']['add']('uc-fader-image'),_0x145465['image']=_0x55dafb,_0x4048e2['appendChild'](_0x55dafb));}),this['pl']();}}async['setTransformations'](t){if(this['nl']=t,this['a']){let _0x57211f=await this['Je'](),_0x284d00=this['$t'](_0x57211f);this['a']['src']=_0x57211f,this['a']['addEventListener']('load',_0x284d00,{'once':!0x0}),this['a']['addEventListener']('error',_0x284d00,{'once':!0x0}),this['a']['style']['opacity']='1',this['a']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:t,filter:_0x14299e,operation:_0x4879c4,value:_0x58fa0f}){if(!_0x4879c4||'number'!=typeof _0x58fa0f)return;this['hs']?.();let _0x1e3bbf=_0x45111c(_0x4879c4,_0x58fa0f),_0x46a6d4=await Promise['all'](_0x1e3bbf['map'](_0x35ce28=>this['Je']({'url':t,'filter':_0x14299e,'operation':_0x4879c4,'value':_0x35ce28}))),{cancel:_0x1886c5}=_0x5396de(_0x46a6d4);this['hs']=_0x1886c5;}['Ed'](t){let _0x59a0fe=this['a']||this['hl']();if(this['fl'](_0x59a0fe),this['a']=_0x59a0fe,_0x59a0fe['src']===t)return _0x59a0fe['style']['opacity']='1',_0x59a0fe['style']['transform']='scale(1)',void(this['className']=_0x4a2ed9({'uc-active_from_viewer':this['yi'],'uc-active_from_cropper':!this['yi'],'uc-inactive_to_cropper':!0x1}));_0x59a0fe['style']['opacity']='0';let _0x58840b=this['$t'](t);_0x59a0fe['addEventListener']('error',_0x58840b,{'once':!0x0}),_0x59a0fe['src']=t,_0x59a0fe['addEventListener']('load',()=>{_0x58840b(),_0x59a0fe&&(_0x59a0fe['style']['opacity']='1',_0x59a0fe['style']['transform']='scale(1)',this['className']=_0x4a2ed9({'uc-active_from_viewer':this['yi'],'uc-active_from_cropper':!this['yi'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0x59a0fe['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async['activate']({url:t,operation:_0x3c63ce,value:_0x54d65b,filter:_0x369c50,fromViewer:_0x450efb}){if(this['_']=!0x0,this['ds']=!0x1,await this['updateComplete'],this['Dt']=t,this['n']=_0x3c63ce??'initial',this['Pt']=_0x54d65b,this['m']=_0x369c50,this['yi']=_0x450efb,'number'!=typeof _0x54d65b&&!_0x369c50){let _0x292400=await this['Je']({'operation':_0x3c63ce,'value':_0x54d65b});return this['Ed'](_0x292400),void this['ms']();}!_0x3c63ce||'number'!=typeof _0x54d65b||(this['Ue']=await Promise['all'](_0x45111c(_0x3c63ce,_0x54d65b)['map'](_0x510108=>this['dl'](_0x3c63ce,_0x510108))),this['fs'](_0x3c63ce,_0x54d65b),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']=_0x4a2ed9({'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 _0x4aceef=this['cl']['value'];_0x4aceef&&(_0x4aceef['contains'](t)||_0x4aceef['appendChild'](t));}['ms'](){this['gr']['value']?.['replaceChildren']();}['render'](){return _0x3e6b89`<div class="uc-fader-preview-host" ${_0x1efdb7(this['cl'])}></div><div class="uc-fader-layers-host" ${_0x1efdb7(this['gr'])}></div>`;}},_0xb9e2eb='important',_0x2f8c39='\x20!'+_0xb9e2eb,_0x63b557=_0x40c0cb(class extends _0x42554d{constructor(_0x4964c9){if(super(_0x4964c9),_0x4964c9['type']!==_0x217273||'style'!==_0x4964c9['name']||_0x4964c9['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'](_0x440bad){return Object['keys'](_0x440bad)['reduce']((_0x3ec176,t)=>{let _0x1e0921=_0x440bad[t];return null==_0x1e0921?_0x3ec176:_0x3ec176+((t=t['includes']('-')?t:t['replace'](/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,'-$&')['toLowerCase']())+':'+_0x1e0921+';');},'');}['update'](_0x2f7150,[_0x55068b]){let {style:t}=_0x2f7150['element'];if(void 0x0===this['ft'])return this['ft']=new Set(Object['keys'](_0x55068b)),this['render'](_0x55068b);for(let _0x3189c7 of this['ft'])null==_0x55068b[_0x3189c7]&&(this['ft']['delete'](_0x3189c7),_0x3189c7['includes']('-')?t['removeProperty'](_0x3189c7):t[_0x3189c7]=null);for(let _0x5c9e9e in _0x55068b){let _0x9261c5=_0x55068b[_0x5c9e9e];if(null!=_0x9261c5){this['ft']['add'](_0x5c9e9e);let _0x794b43='string'==typeof _0x9261c5&&_0x9261c5['endsWith'](_0x2f8c39);_0x5c9e9e['includes']('-')||_0x794b43?t['setProperty'](_0x5c9e9e,_0x794b43?_0x9261c5['slice'](0x0,-0xb):_0x9261c5,_0x794b43?_0xb9e2eb:''):t[_0x5c9e9e]=_0x9261c5;}}return _0x3cd570;}}),_0x473245=class extends _0x361fd7{constructor(){super(),this['gs']=0x0,this['vr']=_0x4a195b(),this['gl']=_0x4a195b(),this['vl']=_0x4a195b(),this['disabled']=!0x1,this['min']=0x0,this['max']=0x64,this['defaultValue']=0x0,this['zero']=0x0,this['$e']=0x0,this['Cd']=t=>{t['stopPropagation']();let _0x199069=this['yl'](t);null!==_0x199069&&(this['vs'](_0x199069),this['xd']('slider-input',_0x199069));},this['Sd']=t=>{t['stopPropagation']();let _0x4ed8cb=this['yl'](t);null!==_0x4ed8cb&&this['vs'](_0x4ed8cb);},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,_0x4398c7){this['dispatchEvent'](new CustomEvent(t,{'detail':{'value':_0x4398c7},'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 _0x29d1ad=this['vr']['value'];_0x29d1ad?.['addEventListener']('focus',this['bl']),_0x29d1ad?.['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 _0x28b8e6=this['max']-this['min'];if(0x0===_0x28b8e6)return;let {width:_0x2062cc}=this['getBoundingClientRect'](),_0x1e18f4=0x64/_0x28b8e6*(t-this['min'])*(_0x2062cc-this['gs'])/0x64;window['requestAnimationFrame'](()=>{let _0x11ba41=this['gl']['value'];_0x11ba41&&(_0x11ba41['style']['transform']='translateX('+_0x1e18f4+'px)');});}['El'](t){if(!this['bi'])return;let _0x43a9a9=this['max']-this['min'];if(0x0===_0x43a9a9)return;this['bi']['style']['opacity']=t===this['zero']?'0':'1';let {width:_0x2447ee}=this['getBoundingClientRect'](),_0x3c9275=0x64/_0x43a9a9*(this['zero']-this['min'])*(_0x2447ee-this['gs'])/0x64;window['requestAnimationFrame'](()=>{this['bi']&&(this['bi']['style']['transform']='translateX('+_0x3c9275+'px)');});}['ys'](){let _0x4f43ed=this['vl']['value'];if(!_0x4f43ed)return;let {width:_0x3d008d}=_0x4f43ed['getBoundingClientRect'](),_0x574165=Math['ceil'](_0x3d008d/0x2),_0x1b3805=Math['ceil'](_0x574165/0xf)-0x2;if(this['ml']===_0x1b3805)return;let _0x4ca581=document['createDocumentFragment'](),_0x48e35a=document['createElement']('div'),_0x2afbe9=document['createElement']('div');_0x48e35a['className']='uc-minor-step',_0x2afbe9['className']='uc-border-step',_0x4ca581['appendChild'](_0x2afbe9);for(let _0x7e11da=0x0;_0x7e11da<_0x1b3805;_0x7e11da+=0x1)_0x4ca581['appendChild'](_0x48e35a['cloneNode']());_0x4ca581['appendChild'](_0x2afbe9['cloneNode']());for(let _0x1c244c=0x0;_0x1c244c<_0x1b3805;_0x1c244c+=0x1)_0x4ca581['appendChild'](_0x48e35a['cloneNode']());_0x4ca581['appendChild'](_0x2afbe9['cloneNode']());let _0x19359e=document['createElement']('div');_0x19359e['className']='uc-zero-dot',_0x4ca581['appendChild'](_0x19359e),this['bi']=_0x19359e,_0x4f43ed['innerHTML']='',_0x4f43ed['appendChild'](_0x4ca581),this['ml']=_0x1b3805;}['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 _0x3bb7ec=this['vr']['value'];_0x3bb7ec&&(_0x3bb7ec['value']=String(t));}['yl'](t){let _0x4d3c62=t['currentTarget'];if(!_0x4d3c62)return null;let _0x247506=Number['parseInt'](_0x4d3c62['value'],0xa);return Number['isFinite'](_0x247506)?_0x247506:null;}['render'](){return _0x3e6b89`<div class="uc-steps" ${_0x1efdb7(this['vl'])}></div><div class="uc-thumb" ${_0x1efdb7(this['gl'])}></div><input class="uc-input" type="range" ${_0x1efdb7(this['vr'])} .min=${String(this['min'])} .max=${String(this['max'])} .value=${String(this['$e'])} ?disabled=${this['disabled']} @input=${this['Cd']} @change=${this['Sd']} />`;}};_0x1a398d([_0x53be06({'type':Boolean,'reflect':!0x0})],_0x473245['prototype'],'disabled',0x2),_0x1a398d([_0x53be06({'type':Number})],_0x473245['prototype'],'min',0x2),_0x1a398d([_0x53be06({'type':Number})],_0x473245['prototype'],'max',0x2),_0x1a398d([_0x53be06({'type':Number,'attribute':!0x1})],_0x473245['prototype'],'defaultValue',0x2),_0x1a398d([_0x53be06({'type':Number})],_0x473245['prototype'],'zero',0x2),_0x1a398d([_0x671a39()],_0x473245['prototype'],'$e',0x2);var _0x33b459='original',_0x26a0c9=class extends _0x361fd7{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:_0x2734f5}=t['detail'];this['$']['*faderEl']?.['set'](_0x2734f5),this['state']={...this['state'],'value':_0x2734f5};};}['setOperation'](t,_0x4059a9){this['state']={...this['state'],'operation':t,'filter':_0x4059a9},this['Ad']();let _0xa2f777=this['$']['*faderEl'],_0x39bc85=this['state']['originalUrl']||this['$']['*originalUrl'];_0xa2f777&&_0x39bc85&&_0xa2f777['activate']({'url':_0x39bc85,'operation':this['state']['operation'],'value':this['state']['filter']===_0x33b459?void 0x0:this['state']['value'],'filter':this['state']['filter']===_0x33b459?void 0x0:this['state']['filter'],'fromViewer':!0x1});}['Ad'](){let t=this['state']['operation'],{range:_0x1e5f3c,zero:_0x8119a2}=_0x2057a8[t],[_0x555a40,_0xdddd31]=_0x1e5f3c;this['state']={...this['state'],'min':_0x555a40,'max':_0xdddd31,'zero':_0x8119a2};let _0x40a90c=this['$']['*editorTransformations'][t];if('filter'===t){let _0x5223bc=Number(_0xdddd31),_0x230a2f=_0x40a90c;if(_0x230a2f){let {name:_0x2694e2,amount:_0x1d1d47}=_0x230a2f;_0x5223bc=_0x2694e2===this['state']['filter']?_0x1d1d47:_0xdddd31;}return void(this['state']={...this['state'],'value':_0x5223bc,'defaultValue':_0x5223bc});}let _0x294d12=typeof _0x40a90c<'u'?_0x40a90c:_0x8119a2;this['state']={...this['state'],'value':_0x294d12,'defaultValue':_0x294d12};}['apply'](){let _0x166a78={...this['$']['*editorTransformations']};'filter'===this['state']['operation']?this['state']['filter']&&this['state']['filter']!==_0x33b459?_0x166a78['filter']={'name':this['state']['filter'],'amount':this['state']['value']}:delete _0x166a78['filter']:_0x166a78[this['state']['operation']]=this['state']['value'],this['$']['*editorTransformations']=_0x166a78;}['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 _0x5442f5=(this['state']['filter']??this['state']['operation'])+'\x20'+this['state']['value'];this['$']['*operationTooltip']=_0x5442f5;}}['render'](){return _0x3e6b89`<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 _0x38063c(_0x3d77cd){if(!_0x3d77cd)return null;let _0x5dde3b=_0x3d77cd['match'](/^([A-Za-z]+)\s+(\d+)$/);if(!_0x5dde3b)return null;let [,t,_0x2064b6]=_0x5dde3b;return!t||typeof _0x2064b6>'u'?null:{'filter':t,'value':Number(_0x2064b6)};}_0x1a398d([_0x671a39()],_0x26a0c9['prototype'],'state',0x2);var _0xe2b13a=class extends _0x361fd7{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 [_0x2bbe3a,_0x430105]of Object['entries'](t))this['classList']['toggle'](_0x2bbe3a,_0x430105);}['onClick'](t){}['connectedCallback'](){super['connectedCallback'](),this['xl']();}['updated'](t){super['updated'](t),t['has']('active')&&this['xl']();}['render'](){let t=this['onClick'],_0x91461=this['title'];return _0x3e6b89`<button role="option" type="button" aria-label=${_0x5c11fc(this['titleProp'])} title=${_0x5c11fc(this['titleProp'])} @click=${t} ><uc-icon name=${this['icon']}></uc-icon><div class="uc-title" ?hidden=${!_0x91461}>${_0x91461}</div></button>`;}};_0x1a398d([_0x671a39()],_0xe2b13a['prototype'],'active',0x2),_0x1a398d([_0x671a39()],_0xe2b13a['prototype'],'title',0x2),_0x1a398d([_0x671a39()],_0xe2b13a['prototype'],'icon',0x2),_0x1a398d([_0x671a39()],_0xe2b13a['prototype'],'titleProp',0x2);var _0x245607=class extends _0xe2b13a{['initCallback'](){super['initCallback'](),this['icon']='arrow-dropdown',this['sub']('*currentAspectRatio',_0x169e48=>{let t=this['kd'](_0x169e48);this['title']=t,this['titleProp']=t;});}['onClick'](){this['$']['*showListAspectRatio']=!0x0;}['kd'](_0x287a31){return _0x287a31?_0x287a31['hasFreeform']?this['l10n']('freeform-crop'):this['l10n']('crop-to-shape',{'value':_0x287a31['width']+':'+_0x287a31['height']}):'';}['render'](){let _0x3f8d82=this['onClick'],t=this['title'];return _0x3e6b89`<button role="option" type="button" class=${_0x4f4e35(this['buttonClasses'])} aria-label=${_0x5c11fc(this['titleProp'])} title=${_0x5c11fc(this['titleProp'])} @click=${_0x3f8d82} ><div class="uc-title" ?hidden=${!t}>${t}</div><uc-icon name=${this['icon']}></uc-icon></button>`;}},_0x44767e=class extends _0xe2b13a{constructor(){super(...arguments),this['X']=null;}get['aspectRatio'](){return this['X'];}set['aspectRatio'](t){if(this['X']===t)return;let _0x38a7ad=this['X'];this['X']=t,this['requestUpdate']('aspectRatio',_0x38a7ad),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 _0x2753e7=!!t['hasFreeform'];this['toggleAttribute']('uc-aspect-ratio-freeform',_0x2753e7),(((()=>{let _0x5e1ae4=_0x2753e7?this['l10n']('custom'):t['width']+':'+t['height'];this['title']=_0x5e1ae4;})()),((()=>{let _0xdae602=this['l10n']('a11y-cloud-editor-apply-aspect-ratio',{'name':_0x2753e7?this['l10n']('custom')['toLowerCase']():this['l10n']('crop-to-shape',{'value':t['width']+':'+t['height']})['toLowerCase'](),'value':''});this['titleProp']=_0xdae602;})()),_0x2753e7||this['requestUpdate']());}['Md'](){let t=this['X'];if(!t||t['hasFreeform'])return _0x3e6b89`<uc-icon name=${this['icon']}></uc-icon>`;let {width:_0x5791c0,height:_0x39b888}=(_0x2af5ff=>{let _0x37d810=0xc,t=0xc;return _0x2af5ff['width']/_0x2af5ff['height']>=0x1?(_0x37d810=0xc,t=Math['round'](0xc*_0x2af5ff['height']/_0x2af5ff['width'])):(t=0xc,_0x37d810=Math['round'](0xc*_0x2af5ff['width']/_0x2af5ff['height'])),{'width':_0x37d810,'height':t};})(t);return _0x3e6b89`<uc-icon><svg viewBox="0 0 ${0x10} ${0x10}" aria-hidden="true" focusable="false" ><rect x=${(0x10-_0x5791c0)/0x2} y=${(0x10-_0x39b888)/0x2} width=${_0x5791c0} height=${_0x39b888} rx="2" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linejoin="round" ></rect></svg></uc-icon>`;}['render'](){let t=this['onClick'],_0x21f988=this['title'];return _0x3e6b89`<button role="option" type="button" class=${_0x4f4e35(this['buttonClasses'])} aria-label=${_0x5c11fc(this['titleProp'])} title=${_0x5c11fc(this['titleProp'])} @click=${t} >${this['Md']()}<div class="uc-title" ?hidden=${!_0x21f988}>${_0x21f988}</div></button>`;}};_0x1a398d([_0x53be06({'attribute':!0x1})],_0x44767e['prototype'],'aspectRatio',0x1);var _0x17006a=class extends _0xe2b13a{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 _0x6acc65=this['$']['*cropperEl'],_0x6e66f4=_0x6acc65['getValue'](this['operation']),_0x327589=function(_0x26ff93,_0x58f7e5){if('rotate'===_0x26ff93)return function(_0x23b935){let _0x1788a0=_0x23b935+0x5a;return _0x1788a0=_0x1788a0>=0x168?0x0:_0x1788a0,_0x1788a0;}('number'==typeof _0x58f7e5?_0x58f7e5:0x0);if('mirror'===_0x26ff93||'flip'===_0x26ff93)return!_0x58f7e5;throw new Error('Unsupported\x20operation:\x20'+_0x26ff93);}(this['operation'],_0x6e66f4);this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':this['operation'],'next':_0x327589,'prev':_0x6e66f4}),_0x6acc65['setValue'](this['operation'],_0x327589);}};_0x1a398d([_0x53be06({'type':String})],_0x17006a['prototype'],'operation',0x2);var _0x54b1fe=class extends _0xe2b13a{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 _0x42fd64=t??'';if(this['m']===_0x42fd64)return;let _0x5aa1dd=this['m'];this['m']=_0x42fd64,this['n']='filter',this['isOriginal']=_0x42fd64===_0x33b459,this['icon']=this['isOriginal']?'original':'slider',this['Sl']=this['isOriginal']?0x28:0x14,this['requestUpdate']('filter',_0x5aa1dd),this['isConnected']&&this['Al'](_0x42fd64);}['onClick'](t){if(this['active'])this['isOriginal']||(this['$']['*sliderEl']['setOperation'](this['n'],this['m']),this['$']['*showSlider']=!0x0);else{let _0x14e45f=this['$']['*sliderEl'];_0x14e45f['setOperation'](this['n'],this['m']),_0x14e45f['apply']();}this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':_0x38063c(this['$']['*operationTooltip'])}),this['$']['*currentFilter']=this['m'];}['Od'](){let t=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0x380366=Number['isFinite'](t)&&t>0x0?t:this['Sl']||0x20,_0x43367a=window['devicePixelRatio'],_0x3a1d34=Math['ceil'](_0x43367a*_0x380366),_0x13744b=_0x43367a>=0x2?'lightest':'normal',_0x57c41b={...this['$']['*editorTransformations']};return _0x57c41b[this['n']]=this['m']!==_0x33b459?{'name':this['m'],'amount':0x64}:void 0x0,_0x17e287(this['wi'],_0xea2dc3(tL,_0xa9d701(_0x57c41b),'quality/'+_0x13744b,'scale_crop/'+_0x3a1d34+'x'+_0x3a1d34+'/center','@clib/'+_0x332218+'/'+_0x37e118+'/uc-cloud-image-editor/'));}async['ai'](t,_0x220b14){t[0x0]?.['isIntersecting']?await this['Ts'](_0x220b14):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',_0x11c805=>{this['wi']=_0x11c805??'',!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',_0x3e5422=>{this['active']=!(!_0x3e5422||_0x3e5422!==this['m']);}),this['sub']('*networkProblems',async _0x202cf7=>{_0x202cf7||(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 _0x217e0c=this['l10n']('a11y-cloud-editor-apply-filter',{'name':t['toLowerCase']()});this['titleProp']=_0x217e0c;}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 _0x2d0026=++this['br'],_0xe5e4fc='';try{_0xe5e4fc=await this['proxyUrl'](this['Od']());}catch(_0x477534){return this['$']['*networkProblems']=!0x0,void console['error']('Failed\x20to\x20resolve\x20preview\x20URL',{'error':_0x477534});}this['Nt']=!0x1,this['b']?.();let {promise:_0x3f6618,cancel:_0x17de69}=_0x30ab43(_0xe5e4fc);this['b']=()=>{_0x17de69(),this['br']===_0x2d0026&&(this['b']=void 0x0);};try{if(await _0x3f6618,this['br']!==_0x2d0026||!this['isConnected'])return;this['a']=_0xe5e4fc,this['Nt']=!0x0,this['wr'](),(t??this['s'])?.['unobserve'](this);}catch(_0x4413f3){this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0x4413f3}),this['et']();}finally{this['br']===_0x2d0026&&(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'](),_0x57734c=t['width']>0x0&&t['height']>0x0,_0x2c38d8=window['innerWidth']||document['documentElement']['clientWidth'],_0x271869=window['innerHeight']||document['documentElement']['clientHeight'];_0x57734c&&t['bottom']>0x0&&t['right']>0x0&&t['top']<_0x271869&&t['left']<_0x2c38d8?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'],_0x48dd3b={'opacity':this['Id']?'1':'0'};this['a']&&(_0x48dd3b['backgroundImage']='url('+this['a']+')');let _0xc4ee3f={'opacity':this['active']||this['isOriginal']?'1':'0'};return _0x3e6b89`<button role="option" type="button" class=${_0x4f4e35(this['buttonClasses'])} aria-label=${_0x5c11fc(this['titleProp'])} title=${_0x5c11fc(this['titleProp'])} @click=${t} ><div class="uc-preview" ?data-loaded=${this['Nt']} style=${_0x63b557(_0x48dd3b)}></div><uc-icon class=${_0x4f4e35({'uc-original-icon':this['isOriginal']})} name=${this['icon']} style=${_0x63b557(_0xc4ee3f)} ></uc-icon></button>`;}};_0x1a398d([_0x671a39()],_0x54b1fe['prototype'],'a',0x2),_0x1a398d([_0x671a39()],_0x54b1fe['prototype'],'Nt',0x2),_0x1a398d([_0x671a39()],_0x54b1fe['prototype'],'isOriginal',0x2),_0x1a398d([_0x671a39()],_0x54b1fe['prototype'],'Sl',0x2),_0x1a398d([_0x53be06({'type':String})],_0x54b1fe['prototype'],'filter',0x1);var _0x584e3f=class extends _0xe2b13a{constructor(){super(...arguments),this['n']='';}get['operation'](){return this['n'];}set['operation'](t){let _0x1bb8ee=t??'';if(this['n']===_0x1bb8ee)return;let _0x2d237e=this['n'];this['n']=_0x1bb8ee,this['requestUpdate']('operation',_0x2d237e),this['isConnected']&&_0x1bb8ee&&this['kl'](_0x1bb8ee);}['kl'](t){this['icon']=t,(((()=>{let _0x3fc810=this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](t)['toLowerCase']()});this['titleProp']=_0x3fc810;})()),((()=>{let _0x253ded=this['l10n'](t);this['title']=_0x253ded;})()));}['initCallback'](){super['initCallback'](),this['n']&&this['kl'](this['n']),this['sub']('*editorTransformations',t=>{if(!this['n'])return;let {zero:_0x1dd1e1}=_0x2057a8[this['n']],_0x53a59e=t[this['n']],_0x5d8160=typeof _0x53a59e<'u'&&_0x53a59e!==_0x1dd1e1;this['active']=_0x5d8160;});}['onClick'](t){this['$']['*sliderEl']?.['setOperation'](this['n']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['n'],this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':_0x38063c(this['$']['*operationTooltip'])});}};_0x1a398d([_0x53be06({'type':String})],_0x584e3f['prototype'],'operation',0x1);var _0x2a0fb0=()=>{},_0x312da1=class extends _0x361fd7{constructor(){super(...arguments),this['hiddenScrollbar']=!0x1,this['Ml']=t=>{t['preventDefault']();let {deltaY:_0x182680,deltaX:_0x347358}=t;Math['abs'](_0x347358)>0x1?this['scrollLeft']+=_0x347358:this['scrollLeft']+=_0x182680;};}['connectedCallback'](){super['connectedCallback'](),this['addEventListener']('wheel',this['Ml'],{'passive':!0x1}),this['addEventListener']('scroll',_0x2a0fb0,{'passive':!0x0});}['disconnectedCallback'](){this['removeEventListener']('wheel',this['Ml']),this['removeEventListener']('scroll',_0x2a0fb0),super['disconnectedCallback']();}};_0x1a398d([_0x53be06({'type':Boolean,'noAccessor':!0x0,'attribute':'hidden-scrollbar'})],_0x312da1['prototype'],'hiddenScrollbar',0x2);var _0x97e00a=class extends _0x361fd7{constructor(){super(...arguments),this['Ti']=!0x1,this['showMainToolbar']=!0x0,this['showSubToolbar']=!0x1,this['Ol']=!0x0,this['tabList']=[..._0x14a716],this['activeTab']=_0x53a627['CROP'],this['Tr']=!0x0,this['Es']=!0x1,this['Il']=null,this['Pl']=0x0,this['Ll']=0x0,this['Er']=_0x4a195b(),this['Rl']=_0x4a195b(),this['tabToggleRefs']={[_0x53a627['CROP']]:_0x4a195b(),[_0x53a627['TUNING']]:_0x4a195b(),[_0x53a627['FILTERS']]:_0x4a195b()},this['Ul']=()=>{this['tt']();},this['Ei']=[],this['xr']=_0x31123d(t=>{this['Ti']=t;},0x1f4),this['Cr']=_0x31123d(()=>{let t=this['$']['*editorTransformations'],_0x6a62a=this['$']['*currentOperation'],_0x58b511='',_0x23592c=!0x1;if(this['$']['*tabId']===_0x53a627['FILTERS']){if(_0x23592c=!0x0,this['$']['*currentFilter']&&t?.['filter']?.['name']===this['$']['*currentFilter']){let _0x58a024=t?.['filter']?.['amount']||0x64;_0x58b511=this['$']['*currentFilter']+'\x20'+_0x58a024;}else _0x58b511=this['l10n'](_0x33b459);}else{if(this['showSubToolbar']&&this['$']['*tabId']===_0x53a627['TUNING']&&_0x6a62a){_0x23592c=!0x0;let _0x3dd5c6=t?.[_0x6a62a]||_0x2057a8[_0x6a62a]['zero'];_0x58b511=this['l10n'](_0x6a62a)+'\x20'+_0x3dd5c6;}}_0x23592c&&(this['$']['*operationTooltip']=_0x58b511),this['Es']=_0x23592c;},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':_0x33b459,'*currentOperation':null,'*operationTooltip':null},this['Ee']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'cancel'}),this['b']?.();let _0x128aad=this['$']['*on.cancel'];_0x128aad?.();},this['As']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'apply'});let _0x2e2db1=this['$']['*on.apply'];_0x2e2db1?.(this['$']['*editorTransformations']);},this['jd']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'apply-slider','operation':_0x38063c(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 _0x2ad540=t['currentTarget']?.['getAttribute']('data-id');_0x2ad540&&(this['telemetryManager']['sendEventCloudImageEditor'](t,_0x2ad540),this['xs'](_0x2ad540,{'fromViewer':!0x1}));};}['$l'](){this['$']['*showSlider']=!0x1,this['$']['*tabId']===_0x53a627['CROP']&&(this['$']['*showListAspectRatio']=!0x1),this['$']['*tabId']===_0x53a627['TUNING']&&(this['Es']=!0x1);}['xs'](t,{fromViewer:_0x5298ac=!0x1,force:_0x214ccf=!0x1}={}){this['$']['*tabId']!==t&&(this['$']['*tabId']=t),this['Dl'](t,{'fromViewer':_0x5298ac,'force':_0x214ccf});}['Dl'](t,{fromViewer:_0x5f5638,force:_0x3ebf99=!0x1}){if(!_0x3ebf99&&this['activeTab']===t)return void this['tt']();this['activeTab']=t;let _0x131a91=this['$']['*faderEl'],_0x4c527d=this['$']['*cropperEl'];t===_0x53a627['CROP']?(_0x131a91?.['deactivate'](),this['$']['*imageSize']&&_0x4c527d?.['activate'](this['$']['*imageSize'],{'fromViewer':_0x5f5638})):(_0x131a91?.['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0x5f5638}),_0x4c527d?.['deactivate']());for(let _0x1592c4 of _0x14a716){let _0x38b557=_0x1592c4===t,_0x5aa13d=this['tabToggleRefs'][_0x1592c4]?.['value'];_0x5aa13d&&(_0x5aa13d['active']=_0x38b557),_0x38b557&&this['tt']();}}['tt'](){let _0x2f34da=this['tabToggleRefs'][this['activeTab']]?.['value'],_0x125e1a=this['Rl']['value'];if(!_0x2f34da||!_0x125e1a)return;let _0x2a3a8f=_0x2f34da['offsetLeft'],_0x166ffa=_0x2f34da['offsetWidth']||Number(getComputedStyle(_0x2f34da)['width']['replace']('px',''));(this['Pl']!==_0x2a3a8f||this['Ll']!==_0x166ffa)&&(this['Pl']=_0x2a3a8f,this['Ll']=_0x166ffa,_0x125e1a['style']['transform']='translateX('+_0x2a3a8f+'px)',_0x125e1a['style']['width']=_0x166ffa+'px');}get['Cs'](){return this['Ei']['length']>=0x3;}['$d'](t){switch(t){case _0x53a627['CROP']:return this['Dd']();case _0x53a627['FILTERS']:return this['Fd']();case _0x53a627['TUNING']:return this['Nd']();default:return[];}}['Dd'](){let t=[];if(this['Cs'])t['push'](()=>this['Vd']());else{for(let _0x47ceb5 of this['Ei'])t['push'](()=>this['Fl'](_0x47ceb5));}for(let _0xe2a54c of _0x5b1383)t['push'](()=>this['_d'](_0xe2a54c));return this['Ss'](t);}['Fd'](){let _0x30405f=[_0x33b459,..._0x4fe0c3]['map'](_0x3ef7c6=>()=>this['Bd'](_0x3ef7c6));return this['Ss'](_0x30405f);}['Nd'](){let t=_0x352436['map'](_0x89a154=>()=>this['zd'](_0x89a154));return this['Ss'](t);}['Ss'](t){return t['length']?t['map'](_0x152cb7=>_0x152cb7()):[];}['Vd'](){return _0x3e6b89`<uc-editor-freeform-button-control></uc-editor-freeform-button-control>`;}['Fl'](t){return _0x3e6b89`<uc-editor-aspect-ratio-button-control .aspectRatio=${t}></uc-editor-aspect-ratio-button-control>`;}['_d'](t){return _0x3e6b89`<uc-editor-crop-button-control .operation=${t}></uc-editor-crop-button-control>`;}['Bd'](t){return _0x3e6b89`<uc-editor-filter-control .filter=${t}></uc-editor-filter-control>`;}['zd'](t){return _0x3e6b89`<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'],_0x53ca15=await this['proxyUrl'](_0x20de6b(this['$']['*originalUrl'],t,this['$']['*editorTransformations']));this['b']?.();let {cancel:_0x354075}=_0x5396de([_0x53ca15]);this['b']=()=>{_0x354075(),this['b']=void 0x0;};}}['initCallback'](){super['initCallback']();let t=this['$']['*cropPresetList']??[];this['Ei']=[...t],this['sub']('*cropPresetList',_0x569c77=>{this['Ei']=[..._0x569c77??[]];}),this['sub']('*imageSize',_0x5165e8=>{_0x5165e8&&setTimeout(()=>{this['xs'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0x16aa0a=>{let _0x754789=_0x16aa0a?.['filter']?.['name'];this['$']['*currentFilter']!==_0x754789&&(this['$']['*currentFilter']=_0x754789??'');}),this['sub']('*currentFilter',()=>{this['Cr']();}),this['sub']('*currentOperation',()=>{this['Cr']();}),this['sub']('*tabId',_0x4c1e34=>{this['Dl'](_0x4c1e34,{'fromViewer':!0x1,'force':!0x0}),this['Cr']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']?.['deactivate']();}),this['sub']('*editorTransformations',_0x222e46=>{this['Kd'](),this['$']['*faderEl']?.['setTransformations'](_0x222e46);}),this['sub']('*loadingOperations',_0x4944d4=>{let _0x4e5195=!0x1;for(let [,_0x2d954b]of _0x4944d4['entries']()){if(_0x4e5195)break;for(let [,_0x153a98]of _0x2d954b['entries']())if(_0x153a98){_0x4e5195=!0x0;break;}}this['xr'](_0x4e5195);}),this['sub']('*showSlider',_0x5a7448=>{_0x5a7448?(this['showSubToolbar']=!0x0,this['showMainToolbar']=!0x1,this['Tr']=!0x0):this['$']['*showListAspectRatio']||(this['showSubToolbar']=!0x1,this['showMainToolbar']=!0x0);}),this['sub']('*showListAspectRatio',_0x140502=>{_0x140502?(this['showSubToolbar']=!0x0,this['showMainToolbar']=!0x1,this['Tr']=!0x1):this['$']['*showSlider']||(this['showSubToolbar']=!0x1,this['showMainToolbar']=!0x0);}),this['sub']('*tabList',_0x2199f5=>{if(this['tabList']=_0x2199f5,this['Ol']=_0x2199f5['length']>0x1,!_0x2199f5['includes'](this['$']['*tabId'])&&_0x2199f5['length']>0x0){let [_0x4c6216]=_0x2199f5;return void(_0x4c6216&&this['xs'](_0x4c6216,{'fromViewer':!0x1}));}this['tt']();}),this['sub']('*operationTooltip',_0x39574d=>{this['Il']=_0x39574d;}),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 _0x5d1456=this['tabList']['includes'](t),_0x24e125=this['activeTab']===t,_0x1213b9=this['tabList']['indexOf'](t),_0x49fda2=_0x1213b9>=0x0?_0x63b557({'gridColumn':''+(_0x1213b9+0x1)}):_0x1d383d;return _0x3e6b89`<uc-presence-toggle class="uc-tab-toggle" .visible=${_0x5d1456} .styles=${this['Rd']}><uc-btn-ui theme="tab" data-id=${t} icon=${t} role="tab" aria-controls=${'tab_'+t} aria-selected=${_0x24e125?'true':'false'} title-prop=${'a11y-editor-tab-'+t} .active=${_0x24e125} style=${_0x49fda2} @click=${this['qd']} ${_0x1efdb7(this['tabToggleRefs'][t])} ></uc-btn-ui></uc-presence-toggle>`;}['Zd'](t){let _0x4a809b=this['$d'](t);return _0x3e6b89`<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">${_0x4a809b['length']?_0x4a809b:_0x1d383d}</div></div></uc-editor-scroller></div>`;}['render'](){let t=['uc-info-tooltip',this['Es']?'uc-info-tooltip_visible':'uc-info-tooltip_hidden']['join']('\x20'),_0x99193c=this['Cs'];return _0x3e6b89`<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">${_0x14a716['map'](_0x518bbb=>_0x41d517(this['activeTab']===_0x518bbb,()=>this['Zd'](_0x518bbb)))}</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" ${_0x1efdb7(this['Rl'])} ></div>${_0x14a716['map'](_0x237e4b=>this['Wd'](_0x237e4b))}</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 ${_0x1efdb7(this['Er'])}></uc-editor-slider></div><div class="uc-list-aspect-ratio-container" ?hidden=${this['Tr']||!_0x99193c}>${_0x99193c?_0x3e6b89`<div class="uc-list-aspect-ratio">${this['Hd']()}</div>`:_0x1d383d}</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>`;}};_0x1a398d([_0x671a39()],_0x97e00a['prototype'],'Ti',0x2),_0x1a398d([_0x671a39()],_0x97e00a['prototype'],'showMainToolbar',0x2),_0x1a398d([_0x671a39()],_0x97e00a['prototype'],'showSubToolbar',0x2),_0x1a398d([_0x671a39()],_0x97e00a['prototype'],'Ol',0x2),_0x1a398d([_0x671a39()],_0x97e00a['prototype'],'tabList',0x2),_0x1a398d([_0x671a39()],_0x97e00a['prototype'],'activeTab',0x2),_0x1a398d([_0x671a39()],_0x97e00a['prototype'],'Tr',0x2),_0x1a398d([_0x671a39()],_0x97e00a['prototype'],'Es',0x2),_0x1a398d([_0x671a39()],_0x97e00a['prototype'],'Il',0x2),_0x1a398d([_0x671a39()],_0x97e00a['prototype'],'Ei',0x2);var _0x456d8a=_0x5b13a9([..._0x14a716]),_0x4a5002=class extends _0x361fd7{constructor(){super(...arguments),this['ctxOwner']=!0x0,this['Yd']='',this['Je']=_0x16b5fb,this['Xd']='',this['Ti']=!0x1,this['uuid']=null,this['cdnUrl']=null,this['cropPreset']='',this['tabs']=_0x456d8a,this['Nl']=!0x1,this['ke']=!0x1,this['ks']=null,this['xi']=null,this['xr']=_0x31123d(t=>{this['Ti']=t;},0x12c),this['Ar']=_0x4a195b(),this['Vl']=_0x4a195b(),this['_l']=_0x4a195b(),this['Bl']=_0x4a195b(),this['zl']=()=>{this['xr'](!0x1),this['Je']!==_0x16b5fb&&(this['$']['*networkProblems']=!0x1);},this['Hl']=()=>{this['xr'](!0x1),this['$']['*networkProblems']=!0x0;},this['Qd']=()=>{let t=this['$']['*on.retryNetwork'];t?.();},this['init$']={...this['init$'],..._0x53aad4(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 _0x41c5bd=this['Vl']['value'];_0x41c5bd&&(this['$']['*cropperEl']=_0x41c5bd);let _0x4c69e8=this['Bl']['value'];_0x4c69e8&&(this['$']['*imgContainerEl']=_0x4c69e8);let _0x524a23=this['Ar']['value'];_0x524a23&&(this['$']['*imgEl']=_0x524a23);}['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 _0x4a2ed9('uc-image',{'uc-image_hidden_to_cropper':t===_0x53a627['CROP'],'uc-image_hidden_effects':t!==_0x53a627['CROP']});}['Gl'](){if(this['xi'])return this['xi'];return this['xi']=new Promise((_0x11c6c5,_0x52509f)=>{let _0x5cc682=()=>{window['clearTimeout'](_0x489fc8),_0x5699e6['disconnect'](),this['xi']=null;},_0x4d1329=()=>{_0x5cc682(),window['setTimeout'](()=>_0x11c6c5(),0x0);},_0x5cfe40=()=>{let _0x38ae79=new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size');_0x5cc682(),this['isConnected']&&console['error'](_0x38ae79['message']),_0x52509f(_0x38ae79);},_0x5699e6=new ResizeObserver(_0x3a5711=>{let [_0x56f51f]=_0x3a5711;_0x56f51f&&_0x56f51f['contentRect']['width']>0x0&&_0x56f51f['contentRect']['height']>0x0&&_0x4d1329();}),_0x489fc8=window['setTimeout'](()=>{_0x5cfe40();},0xbb8);((()=>{let {width:_0x55caa7,height:_0x37790c}=this['getBoundingClientRect']();return _0x55caa7>0x0&&_0x37790c>0x0;})())?_0x4d1329():_0x5699e6['observe'](this);}),this['xi'];}['firstUpdated'](t){super['firstUpdated'](t),this['Sr'](),this['ep'](),this['initEditor']();let _0x59fcbb=!(!this['uuid']&&!this['cdnUrl']),_0x1e69e3=t['has']('uuid')||t['has']('cdnUrl');_0x59fcbb&&!_0x1e69e3&&this['updateImage']();}['disconnectedCallback'](){this['tp'](),super['disconnectedCallback']();}['render'](){let t=this['Xd']??'',_0x374a71=this['Yd']??'',_0x33f0a8=this['Je']||_0x16b5fb,_0x13f262=this['Ti'],_0x18266f=this['Nl'];return _0x3e6b89` ${_0x48c811('<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=${_0x18266f}><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" ${_0x1efdb7(this['Bl'])}><img src=${_0x33f0a8} class=${this['ip']} ${_0x1efdb7(this['Ar'])} />${_0x41d517(this['ke'],()=>_0x3e6b89`<uc-editor-image-cropper ${_0x1efdb7(this['Vl'])}></uc-editor-image-cropper>`)}<uc-editor-image-fader ${_0x1efdb7(this['_l'])}></uc-editor-image-fader></div><div class="uc-info_pan">${_0x374a71}</div></div><div class="uc-toolbar"><uc-line-loader-ui .active=${_0x13f262}></uc-line-loader-ui><div class="uc-toolbar_content uc-toolbar_content__editor">${_0x41d517(this['ke'],()=>_0x3e6b89`<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']||_0x456d8a;this['$']['*tabList']=(_0x3a9a5c=>{if(!_0x3a9a5c)return _0x14a716;let _0x220250=_0x1824ee(_0x3a9a5c)['filter'](_0x1989a0);return 0x0===_0x220250['length']?_0x14a716:_0x220250;})(t);}['jl'](){let t=_0x4d1e84(this['cropPreset']??''),_0x2a0c8d=null;if(this['cdnUrl']){let _0x2026a7=_0x30d615(_0x46f059(this['cdnUrl']));if(Array['isArray'](_0x2026a7?.['crop']?.['dimensions'])){let [_0x5c1f7c,_0x3f1492]=_0x2026a7['crop']['dimensions'];_0x2a0c8d=((_0x279047,_0x206fe6,t,_0x3b006e=0.1)=>{let _0x392e74=_0x279047/_0x206fe6,_0x421e42=null,_0x5c6802=0x1/0x0;for(let _0xaa0d29 of t){let [_0x4da71d,_0x30acb6]=[_0xaa0d29['width'],_0xaa0d29['height']],_0x3e2c26=_0x4da71d/_0x30acb6,_0x4e1c36=Math['abs'](_0x392e74-_0x3e2c26);_0x4e1c36<_0x5c6802&&(_0x5c6802=_0x4e1c36,_0x421e42=_0xaa0d29);}if(_0x421e42){let [_0x1594a0,_0x2d52f3]=[_0x421e42['width'],_0x421e42['height']],_0x521d98=_0x1594a0/_0x2d52f3;if(Math['abs'](_0x392e74-_0x521d98)/_0x521d98>_0x3b006e)return null;}return _0x421e42;})(_0x5c1f7c,_0x3f1492,t,0.1);}}this['$']['*cropPresetList']=t,this['$']['*currentAspectRatio']=_0x2a0c8d??t?.[0x0]??null;}async['updateImage'](){if(this['isConnected']){try{await this['Gl']();}catch{return;}if(this['isConnected']){if(this['cdnUrl']){let t=this['cdnUrl'],_0x38202e=_0x2d0d56(t),_0x242064=_0x55a5e5(t,_0x38202e);if(_0x242064===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x242064;let _0x21fb74=_0x30d615(_0x46f059(t));this['$']['*editorTransformations']=_0x21fb74;}else{if(!this['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{let t=_0x55a5e5(this['cfg']['cdnCname'],this['uuid']);if(t===this['$']['*originalUrl'])return;this['$']['*originalUrl']=t,Object['keys'](this['$']['*editorTransformations'])['length']>0x0&&(this['$']['*editorTransformations']={});}}this['$']['*tabId']===_0x53a627['CROP']?this['$']['*cropperEl']?.['deactivate']({'reset':!0x0}):this['$']['*faderEl']?.['deactivate']();try{let t=this['$']['*originalUrl'],_0x4741c7=await this['proxyUrl'](_0x17e287(t,_0xea2dc3('json'))),_0x1cb7bc=await fetch(_0x4741c7)['then'](_0x5472eb=>_0x5472eb['json']()),{width:_0x139b20,height:_0x2cceba}=_0x1cb7bc;this['$']['*imageSize']={'width':_0x139b20,'height':_0x2cceba},this['$']['*tabId']===_0x53a627['CROP']?this['$']['*cropperEl']?.['activate'](this['$']['*imageSize']):this['$']['*faderEl']?.['activate']({'url':t});}catch(_0x9f57c3){_0x9f57c3&&(this['telemetryManager']['sendEventError'](_0x9f57c3,'cloud\x20editor\x20image.\x20Failed\x20to\x20load\x20image\x20info'),console['error']('Failed\x20to\x20load\x20image\x20info',_0x9f57c3));}this['Jd']();}}}async['initEditor'](){try{await this['Gl']();}catch{return;}this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',t=>{let _0x1f673c=!!t;this['Nl']=_0x1f673c;}),this['sub']('*editorTransformations',t=>{if(0x0===Object['keys'](t)['length'])return;let _0x5c3f24=this['$']['*originalUrl'],_0x442277=_0xea2dc3(_0xa9d701(t),'preview'),_0x4d56cf={'originalUrl':_0x5c3f24,'cdnUrlModifiers':_0x442277,'cdnUrl':_0x17e287(_0x5c3f24,_0x442277),'transformations':t};this['dispatchEvent'](new CustomEvent('change',{'detail':_0x4d56cf,'bubbles':!0x0,'composed':!0x0}));},!0x1);}};_0x1a398d([_0x671a39()],_0x4a5002['prototype'],'Yd',0x2),_0x1a398d([_0x671a39()],_0x4a5002['prototype'],'Je',0x2),_0x1a398d([_0x671a39()],_0x4a5002['prototype'],'Xd',0x2),_0x1a398d([_0x671a39()],_0x4a5002['prototype'],'Ti',0x2),_0x1a398d([_0x53be06({'type':String,'reflect':!0x0})],_0x4a5002['prototype'],'uuid',0x2),_0x1a398d([_0x53be06({'type':String,'attribute':'cdn-url','reflect':!0x0})],_0x4a5002['prototype'],'cdnUrl',0x2),_0x1a398d([_0x53be06({'type':String,'attribute':'crop-preset','reflect':!0x0})],_0x4a5002['prototype'],'cropPreset',0x2),_0x1a398d([_0x53be06({'type':String,'reflect':!0x0})],_0x4a5002['prototype'],'tabs',0x2),_0x1a398d([_0x671a39()],_0x4a5002['prototype'],'Nl',0x2),_0x1a398d([_0x671a39()],_0x4a5002['prototype'],'ke',0x2);var _0x34fa60={};_0xd3c8c8(_0x34fa60,{'CloudImageEditorActivity':()=>_0x90caa0});var _0x307112=class extends _0x4a5002{static{this['styleAttrs']=[...super['styleAttrs'],'uc-wgt-common'];}constructor(){super(),this['init$']={...this['init$'],'*solution':this['tagName']};}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x37ee07['INIT_SOLUTION']}),this['a11y']?.['registerBlock'](this);}},_0x90caa0=class extends _0x281aa6{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 _0x540bd6=t['detail'];this['Ci']['setMultipleValues']({'cdnUrl':_0x540bd6['cdnUrl'],'cdnUrlModifiers':_0x540bd6['cdnUrlModifiers']}),this['modalManager']?.['close'](_0x5dadd1['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['Ee'](t){let _0x3ea595=t instanceof CustomEvent?t['detail']:void 0x0;this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x3ea595),this['modalManager']?.['close'](_0x5dadd1['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['handleChange'](t){this['debugPrint']('editor\x20event\x20\x22change\x22',t['detail']);}['rp'](){let {internalId:t}=this['activityParams'],_0x4485fc=this['uploadCollection']['read'](t);if(!_0x4485fc)throw new Error('Entry\x20with\x20internalId\x20\x22'+t+'\x22\x20not\x20found');this['Ci']=_0x4485fc;let _0x45f9f4=this['Ci']['getValue']('cdnUrl');if(!_0x45f9f4)throw new Error('Entry\x20with\x20internalId\x20\x22'+t+'\x22\x20hasn\x27t\x20uploaded\x20yet');this['Q']=this['sp'](_0x45f9f4);}['op'](){this['Ci']=void 0x0,this['Q']=null;}['render'](){if(!this['Q'])return _0x1d383d;let {cdnUrl:t,cropPreset:_0x1a3435,tabs:_0x122e36}=this['Q'];return _0x3e6b89`<uc-cloud-image-editor cdn-url=${t} crop-preset=${_0x5c11fc(_0x1a3435)} tabs=${_0x5c11fc(_0x122e36)} @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']};}};_0x1a398d([_0x671a39()],_0x90caa0['prototype'],'Q',0x2);var _0x4199de=class extends _0x281aa6{constructor(){super(...arguments),this['Dt']='',this['bs']=t=>{this['Dt']=t['target']?.['value']??'';},this['Ho']=t=>{t['preventDefault'](),this['telemetryManager']['sendEvent']({'eventType':_0x37ee07['ACTION_EVENT'],'payload':{'metadata':{'event':'upload-from-url','node':this['tagName']}}});let _0x5d06dc=this['Dt']['trim']();_0x5d06dc&&(this['api']['addFileFromUrl'](_0x5d06dc,{'source':_0x335033['URL']}),this['$']['*currentActivity']=_0x5dadd1['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](_0x5dadd1['activities']['UPLOAD_LIST']));};}['render'](){return _0x3e6b89`<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>`;}};_0x1a398d([_0x671a39()],_0x4199de['prototype'],'Dt',0x2);var _0x822299=()=>{let _0x3a0259=globalThis['top']??globalThis['parent']??globalThis['self'];try{return _0x3a0259['location']['origin'];}catch(_0x41cd7f){return console['warn']('Unable\x20to\x20access\x20top-level\x20window\x20location:',_0x41cd7f),globalThis['location']['origin'];}},_0x3cc927=_0x4e7774=>_0x4e7774['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&'),_0x18992e=(_0x4ead7b,_0x5a00e7='i')=>{let t=_0x4ead7b['split']('*')['map'](_0x3cc927);return new RegExp('^'+t['join']('.+')+'$',_0x5a00e7);},_0x85d988=['--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'],_0x253352=(_0x58fdf9,_0x2fc908)=>window['getComputedStyle'](_0x58fdf9)['getPropertyValue'](_0x2fc908)['trim'](),_0x29814e=_0x550d9c=>{let _0x385be2={};for(let t of _0x85d988){let _0x554f02=_0x253352(_0x550d9c,t);_0x554f02&&(_0x385be2[t]=_0x554f02);}return _0x385be2;},tB=['selected-files-change','toolbar-state-change'],_0x3072e6=class{constructor(_0x53d4b5,t){this['kr']=new Map(),this['Wl']=_0x495feb=>{if(_0x495feb['source']!==this['Ms'])return;let t=_0x495feb['data'];if(!(_0x355947=>{if(!_0x355947||'object'!=typeof _0x355947||!('type'in _0x355947))return!0x1;let _0x2051b3=_0x355947['type'];return!('string'!=typeof _0x2051b3||!tB['includes'](_0x2051b3));})(t))return;let _0x48ddfd=this['kr']['get'](t['type']);if(_0x48ddfd){for(let _0x168bde of _0x48ddfd)_0x168bde(t);}},this['Ms']=_0x53d4b5,this['ql']=t,window['addEventListener']('message',this['Wl']);}['on'](_0x108be4,t){let _0x574fe2=this['kr']['get'](_0x108be4)??new Set();this['kr']['has'](_0x108be4)||this['kr']['set'](_0x108be4,_0x574fe2),_0x574fe2['add'](t);}['send'](_0x3186d5){let t=this['ql']();this['Ms']['postMessage'](_0x3186d5,t);}['destroy'](){window['removeEventListener']('message',this['Wl']);}},_0x415ba7={[_0x574275['GDRIVE']]:'ngdrive'},_0x1390cc=class extends _0x281aa6{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['Vt']=_0x4a195b(),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 _0x54a6c9=this['ap'](t),{filename:_0x2cc170}=t,{externalSourceType:_0x28e8bf}=this['activityParams'];this['api']['addFileFromUrl'](_0x54a6c9,{'fileName':_0x2cc170,'source':_0x28e8bf});}this['$']['*currentActivity']=_0x5dadd1['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](_0x5dadd1['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:_0x365a2e}=this['Mr'];return this['l10n']('selected-count',{'count':t,'total':_0x365a2e});}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',_0x135cce=>{this['Or']=_0x135cce;}),this['subConfigValue']('localeName',()=>{this['Ql']();}),this['subConfigValue']('externalSourcesEmbedCss',_0x170770=>{this['Jl'](_0x170770);});}['ap'](t){if(t['alternatives']){let _0xb823bd=_0x4e8b4f(this['cfg']['externalSourcesPreferredTypes']);for(let _0x44f425 of _0xb823bd){let _0x277800=_0x18992e(_0x44f425);for(let [_0x403828,_0x79b749]of Object['entries'](t['alternatives']))if(_0x277800['test'](_0x403828))return _0x79b749;}}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':_0x29814e(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:_0x3440e2,socialBaseUrl:_0x2e14a5,multiple:_0x290449}=this['cfg'],{externalSourceType:_0x374883}=this['activityParams'],_0x18e94d=_0x415ba7[_0x374883]??_0x374883,_0x3b7b35={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':t,'images_only':'false','session_key':_0x3440e2,'wait_for_theme':!0x0,'multiple':_0x290449['toString'](),'origin':this['cfg']['topLevelOrigin']||_0x822299(),'debug':this['cfg']['debug']},_0x4bb36d=new URL('/window4/'+_0x18e94d,_0x2e14a5);return _0x4bb36d['search']=function(_0x4498b0){let _0x35faf4=[];for(let [t,_0x5d7a9b]of Object['entries'](_0x4498b0))null==_0x5d7a9b||'string'==typeof _0x5d7a9b&&0x0===_0x5d7a9b['length']||_0x35faf4['push'](t+'='+encodeURIComponent(_0x5d7a9b));return _0x35faf4['join']('&');}(_0x3b7b35),_0x4bb36d['toString']();}['up'](t,_0x4980cc){this['Mr']={'selectedCount':t,'total':_0x4980cc};}['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 _0x3072e6(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 _0x3e6b89`<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 ${_0x1efdb7(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>`;}};_0x1a398d([_0x671a39()],_0x1390cc['prototype'],'Os',0x2),_0x1a398d([_0x671a39()],_0x1390cc['prototype'],'Is',0x2),_0x1a398d([_0x671a39()],_0x1390cc['prototype'],'Ps',0x2),_0x1a398d([_0x671a39()],_0x1390cc['prototype'],'Ls',0x2),_0x1a398d([_0x671a39()],_0x1390cc['prototype'],'Rs',0x2),_0x1a398d([_0x671a39()],_0x1390cc['prototype'],'Or',0x2),_0x1a398d([_0x671a39()],_0x1390cc['prototype'],'Us',0x2),_0x1a398d([_0x671a39()],_0x1390cc['prototype'],'$s',0x2),_0x1a398d([_0x671a39()],_0x1390cc['prototype'],'Zl',0x2);var _0x268e8a={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},_0xb275b1=['camera','microphone'];function _0x3a2b93(_0x4ff2e2){return Math['floor'](_0x4ff2e2/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0x4ff2e2%0x3c)['toString']()['padStart'](0x2,'0');}var _0x5992cd='image/jpeg',_0x2bbed2='video/webm',_0x1fbdb9=class extends _0x281aa6{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']=_0x4a195b(),this['Xe']=_0x4a195b(),this['K']=_0x4a195b(),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':_0x37ee07['ACTION_EVENT'],'payload':{'metadata':{'event':'start-camera','node':this['tagName'],'tabId':this['g']}}}),this['g']===_0xe192c7['PHOTO']&&this['bp'](),this['g']===_0xe192c7['VIDEO']){if('recording'===this['me']?.['state'])return void this['pc']();this['wp']();}},this['Tp']=t=>{let _0x5f08ed=t['target'];_0x5f08ed&&(this['Lr']=_0x5f08ed['value'],this['jt']());},this['Ep']=t=>{let _0x385b4a=t['target'];_0x385b4a&&(this['Pr']=_0x385b4a['value'],this['jt']());},this['xp']=()=>{this['jt']();},this['Cp']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x37ee07['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':_0x37ee07['ACTION_EVENT'],'payload':{'metadata':{'event':'retake-camera','node':this['tagName'],'tabId':this['g']}}}),this['Ip']();},this['Pp']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x37ee07['ACTION_EVENT'],'payload':{'metadata':{'event':'accept-camera','node':this['tagName'],'tabId':this['g']}}}),this['Lp']();},this['hc']=t=>{let _0x5603fe=t['currentTarget']?.['getAttribute']('data-id');_0x5603fe&&this['fc'](_0x5603fe);},this['mc']=()=>{let t=Math['floor']((performance['now']()-this['sc']+this['nc'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){let _0x2c7c34=this['cfg']['maxVideoRecordingDuration']-t;if(_0x2c7c34<=0x0){let _0x214ec2=this['Mi']['value'];return _0x214ec2&&(_0x214ec2['textContent']=_0x3a2b93(_0x2c7c34)),void this['pc']();}let _0x1983de=this['Mi']['value'];_0x1983de&&(_0x1983de['textContent']=_0x3a2b93(_0x2c7c34));}else{let _0x5a6a36=this['Mi']['value'];_0x5a6a36&&(_0x5a6a36['textContent']=_0x3a2b93(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 _0x52498a=t['currentTime'],_0x3c317c=t['duration']||0x1,_0x2e06fd=this['Xe']['value'];_0x2e06fd&&(_0x2e06fd['style']['transform']='scaleX('+_0x52498a/_0x3c317c+')');let _0x486ee1=this['Mi']['value'];_0x486ee1&&(_0x486ee1['textContent']=_0x3a2b93(_0x52498a)),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'](_0x2bbed2)?this['Ai']['mimeType']=_0x2bbed2:this['Ai']['mimeType']='video/mp4',this['ge']&&(this['me']=new MediaRecorder(this['ge'],this['Ai']),this['me']['start'](),this['me']['addEventListener']('dataavailable',_0x34b6b0=>{this['Si']['push'](_0x34b6b0['data']);}),this['Rp'](),this['classList']['add']('uc-recording'),this['Oi'](_0x163d7e['PLAY']));}catch(_0x4555c6){console['error']('Failed\x20to\x20start\x20recording',_0x4555c6),this['telemetryManager']['sendEventError'](_0x4555c6,'camera\x20recording.\x20Failed\x20to\x20start\x20recording');}},this['pc']=()=>{this['me']?.['addEventListener']('stop',()=>{this['Up'](),this['gc'](),this['Oi'](_0x163d7e['STOP']);}),this['me']?.['stop'](),this['classList']['remove']('uc-recording'),this['telemetryManager']['sendEvent']({'eventType':_0x37ee07['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']}),_0xcb45bf=URL['createObjectURL'](t),_0x4447d9=this['K']['value'];if(!_0x4447d9)return;_0x4447d9['muted']=!0x1,_0x4447d9['volume']=0x1,this['Ii'](null),_0x4447d9['src']=_0xcb45bf,this['$p'](_0x4447d9);}catch(_0x2f2530){console['error']('Failed\x20to\x20preview\x20video',_0x2f2530),this['telemetryManager']['sendEventError'](_0x2f2530,'camera\x20previewing.\x20Failed\x20to\x20preview\x20video');}},this['Ip']=()=>{if(this['Oi'](_0x163d7e['RETAKE']),this['g']===_0xe192c7['VIDEO']){this['Ii'](this['ge']);let t=this['K']['value'];t&&(t['muted']=!0x0);}this['K']['value']?.['play']?.();},this['Lp']=()=>{if(this['Oi'](_0x163d7e['ACCEPT']),this['g']===_0xe192c7['PHOTO'])return void this['fe']?.['toBlob'](_0x15c7d8=>{if(!_0x15c7d8)return;let _0x17dca9=this['vc']('camera','jpeg',_0x5992cd,_0x15c7d8);this['yc'](_0x17dca9);},_0x5992cd);let t=new Blob(this['Si'],{'type':this['me']?.['mimeType']}),_0x1c9aef=this['Dp'](this['me']?.['mimeType']),_0x164172=this['vc']('video',_0x1c9aef,'video/'+_0x1c9aef,t);this['yc'](_0x164172),this['Si']=[];},this['Fp']=t=>{t===_0x163d7e['SHOT']&&(this['gt']=!0x0,this['at']=!0x0,this['Ce']=!0x0,this['Ht']=!0x1,this['ot']=!0x0),(t===_0x163d7e['RETAKE']||t===_0x163d7e['ACCEPT'])&&(this['gt']=!this['Se']['includes'](_0xe192c7['VIDEO']),this['Ce']=!this['Se']['includes'](_0xe192c7['PHOTO']),this['at']=!0x1,this['Ht']=!0x0,this['ot']=this['_t']['length']<=0x1);},this['Np']=t=>{t===_0x163d7e['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===_0x163d7e['STOP']&&(this['zt']=!0x1,this['at']=!0x0,this['mt']=!0x0,this['Ht']=!0x1),(t===_0x163d7e['RETAKE']||t===_0x163d7e['ACCEPT'])&&(this['zt']=!0x0,this['gt']=!this['Se']['includes'](_0xe192c7['VIDEO']),this['Ce']=!this['Se']['includes'](_0xe192c7['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']===_0xe192c7['PHOTO']&&('shot'===t||'retake'===t||'accept'===t)&&this['Fp'](t),this['g']===_0xe192c7['VIDEO']&&('play'===t||'stop'===t||'retake'===t||'accept'===t||'pause'===t||'resume'===t)&&this['Np'](t);},this['fc']=t=>{t===_0xe192c7['PHOTO']&&(this['Kt']='camera-full',this['pt']=!0x0,this['mt']=!0x0),t===_0xe192c7['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':_0x37ee07['ACTION_EVENT'],'payload':{'metadata':{'event':'camera-tab-switch','node':this['tagName'],'tabId':t}}}),this['g']=t;},this['vc']=(t,_0x56ae44,_0x324c58,_0x49c72a)=>{let _0x2e2572=Date['now']();return new File([_0x49c72a],t+'-'+_0x2e2572+'.'+_0x56ae44,{'lastModified':_0x2e2572,'type':_0x324c58});},this['yc']=t=>{this['api']['addFileFromObject'](t,{'source':_0x335033['CAMERA']}),this['set$']({'*currentActivity':_0x5dadd1['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](_0x5dadd1['activities']['UPLOAD_LIST']);},this['Pi']=_0x31123d(t=>{this['classList']['toggle']('uc-initialized','granted'===t);let _0x2cb3ca=this['g']===_0xe192c7['VIDEO']&&this['cfg']['enableAudioRecording'],_0x43a150=this['g']===_0xe192c7['PHOTO']?'camera-full':'video-camera-full';'granted'===t?(this['$r']=!0x1,this['at']=!0x1,this['Ce']=!this['Se']['includes'](_0xe192c7['PHOTO']),this['gt']=!this['Se']['includes'](_0xe192c7['VIDEO']),this['Dr']=!0x0,this['zt']=!0x0,this['Kt']=_0x43a150,this['mt']=!_0x2cb3ca,this['pt']=!_0x2cb3ca):'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'](_0xe192c7['PHOTO']),this['gt']=!this['Se']['includes'](_0xe192c7['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'](),_0x199afc=this['ge']?.['getVideoTracks']();return t['forEach'](_0x3391e5=>{_0x3391e5['stop']();}),_0x199afc['forEach'](_0x512f00=>{_0x512f00['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':{..._0x268e8a},'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(_0x519419){this['Pi']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0x519419),this['telemetryManager']['sendEventError'](_0x519419,'camera\x20capturing.\x20Failed\x20to\x20capture\x20camera');}},this['bc']=()=>{this['jt']();},this['_p']=async()=>{try{this['Nr']();for(let t of _0xb275b1){let _0x3cf9e0=await navigator['permissions']['query']({'name':t});this['mp'][t]=_0x3cf9e0,_0x3cf9e0['addEventListener']('change',this['bc']),this['Rr']['push'](()=>{_0x3cf9e0['removeEventListener']('change',this['bc']);});}this['Ir']=()=>{this['Nr']();};}catch(_0x4722fa){this['Nr'](),console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x4722fa),this['telemetryManager']['sendEventError'](_0x4722fa,'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(_0x310c08){this['telemetryManager']['sendEventError'](_0x310c08,'camera\x20devices.\x20Failed\x20to\x20get\x20user\x20media'),console['log']('Failed\x20to\x20get\x20user\x20media',_0x310c08);}},this['zs']=async()=>{try{let t=await navigator['mediaDevices']['enumerateDevices']();this['_t']=t['filter'](_0x32e014=>'videoinput'===_0x32e014['kind'])['map']((_0x143d2d,_0x3087ac)=>({'text':_0x143d2d['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0x3087ac+0x1),'value':_0x143d2d['deviceId']})),this['Bt']=this['cfg']['enableAudioRecording']?t['filter'](_0x18a8eb=>'audioinput'===_0x18a8eb['kind'])['map'](_0x20f217=>({'text':_0x20f217['label']['trim'](),'value':_0x20f217['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(_0x2eb574){this['telemetryManager']['sendEventError'](_0x2eb574,'camera\x20devices.\x20Failed\x20to\x20get\x20devices'),console['log']('Failed\x20to\x20get\x20devices',_0x2eb574);}},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'](_0xe192c7['VIDEO']),this['Ce']=!t['includes'](_0xe192c7['PHOTO']);let _0x1cc8a5=t[0x0];_0x1cc8a5&&(!this['g']||!t['includes'](this['g']))&&this['fc'](_0x1cc8a5);};}['$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 _0x3d399b=this['Ur']??null;t['srcObject']!==_0x3d399b&&(t['srcObject']=_0x3d399b);}['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 _0x2523f6={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===t)return'webm';if(t){let _0x59eaf5=t['split']('/');if('video'===_0x59eaf5?.[0x0]){let _0x35b93e=_0x59eaf5['slice'](0x1)['join']('/')?.['split'](';')[0x0];if(_0x35b93e&&_0x2523f6[_0x35b93e])return _0x2523f6[_0x35b93e];}}return'avi';}get['Se'](){return _0x4e8b4f(this['cfg']['cameraModes'])['filter'](t=>t===_0xe192c7['PHOTO']||t===_0xe192c7['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 _0x488acc=_0x1824ee(t);this['wc'](_0x488acc['filter'](_0x1cd8a3=>_0x1cd8a3===_0xe192c7['PHOTO']||_0x1cd8a3===_0xe192c7['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 _0x3e6b89`<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=${_0x63b557({'transform':this['ac']})} ?hidden=${this['$r']} ${_0x1efdb7(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=${_0x4f4e35({'uc-switch':!0x0,'uc-mini-btn':!0x0,'uc-active':this['g']===_0xe192c7['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=${_0x4f4e35({'uc-switch':!0x0,'uc-mini-btn':!0x0,'uc-active':this['g']===_0xe192c7['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 ${_0x1efdb7(this['Mi'])}> 00:00 </span><span ${_0x1efdb7(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>`;}};_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'ac',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'$r',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'Dr',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'vp',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'cc',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'ot',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'Fs',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'zt',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'at',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'Ht',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'uc',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'pt',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'Ns',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'mt',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'Ce',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'gt',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'Kt',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'ki',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'dc',0x2),_0x1a398d([_0x671a39()],_0x1fbdb9['prototype'],'Fr',0x2);var _0x4dc7da={'id':'camera','setup':async({pluginApi:_0x4943f8,uploaderApi:_0x2581ac})=>{_0xa8e1eb({'CameraSource':_0x1fbdb9}),_0x4943f8['registry']['registerSource']({'id':'camera','label':'src-type-camera','icon':'camera','expand':()=>{if(!_0x3f99c7['htmlMediaCapture'])return['camera'];let t=_0x1824ee(_0x4943f8['config']['get']('cameraModes'));return t['length']?t['map'](_0x219be6=>'mobile-'+_0x219be6+'-camera'):['mobile-photo-camera'];},'onSelect':()=>{_0x2581ac['setCurrentActivity'](_0x483bfa['CAMERA']),_0x2581ac['setModalState'](!0x0);}}),_0x4943f8['registry']['registerSource']({'id':'mobile-photo-camera','label':'src-type-mobile-photo-camera','icon':'camera','onSelect':()=>{_0x2581ac['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'photo'});}}),_0x4943f8['registry']['registerSource']({'id':'mobile-video-camera','label':'src-type-mobile-video-camera','icon':'camera','onSelect':()=>{_0x2581ac['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'video'});}}),_0x4943f8['registry']['registerActivity']({'id':_0x483bfa['CAMERA'],'render':t=>{let _0x125eca=document['createElement']('uc-camera-source');return t['append'](_0x125eca),()=>{t['replaceChildren']();};}});}},_0x16fe6f={};_0xd3c8c8(_0x16fe6f,{'BtnUi':()=>_0x548b1e,'CloudImageEditor':()=>_0x307112,'CloudImageEditorBlock':()=>_0x4a5002,'Config':()=>_0x5270f5,'CropFrame':()=>_0x1008f9,'EditorAspectRatioButtonControl':()=>_0x44767e,'EditorCropButtonControl':()=>_0x17006a,'EditorFilterControl':()=>_0x54b1fe,'EditorFreeformButtonControl':()=>_0x245607,'EditorImageCropper':()=>_0x42e3e3,'EditorImageFader':()=>_0x12efa2,'EditorOperationControl':()=>_0x584e3f,'EditorScroller':()=>_0x312da1,'EditorSlider':()=>_0x26a0c9,'EditorToolbar':()=>_0x97e00a,'Icon':()=>_0x9eb847,'LineLoaderUi':()=>_0x5ef0ff,'PresenceToggle':()=>_0x3b030c,'SliderUi':()=>_0x473245,'defineComponents':()=>_0xa8e1eb});var _0x1213d9,_0x80fe45={'id':'cloud-image-editor','setup':async({pluginApi:_0x521a6e,uploaderApi:_0x22fbf7})=>(_0xa8e1eb({..._0x16fe6f,..._0x34fa60}),_0x521a6e['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>'}),_0x521a6e['registry']['registerFileAction']({'id':'edit-file','icon':'edit-file','label':'file-item-edit-button','shouldRender':_0x516950=>!(!_0x516950['isImage']||!_0x516950['cdnUrl']),'onClick':_0x597a6f=>{_0x22fbf7['setCurrentActivity']?.(_0x483bfa['CLOUD_IMG_EDIT'],{'internalId':_0x597a6f['internalId']}),_0x22fbf7['setModalState']?.(!0x0);}}),_0x521a6e['registry']['registerActivity']({'id':_0x483bfa['CLOUD_IMG_EDIT'],'render':_0x2631ca=>{let _0x589380=document['createElement']('uc-cloud-image-editor-activity');return _0x2631ca['append'](_0x589380),()=>{_0x2631ca['replaceChildren']();};}}),_0x22fbf7['on'](_0x28b9b1['FILE_UPLOAD_SUCCESS'],_0x27ec84=>{if(!_0x27ec84['isImage'])return;let _0x32f394=_0x521a6e['config']['get']('cropPreset'),_0x39651b=_0x521a6e['config']['get']('useCloudImageEditor'),_0x48ef4f=_0x521a6e['config']['get']('cloudImageEditorAutoOpen'),_0xa52703=_0x22fbf7['v']['size'];_0x39651b&&0x1===_0xa52703&&(_0x32f394||_0x48ef4f)&&(_0x22fbf7['setCurrentActivity']?.(_0x483bfa['CLOUD_IMG_EDIT'],{'internalId':_0x27ec84['internalId']}),_0x22fbf7['setModalState']?.(!0x0));}))},_0x34b6bc={'id':'external-sources','setup':async({pluginApi:_0x3dbc3d,uploaderApi:_0x5b017e})=>{_0xa8e1eb({'ExternalSource':_0x1390cc}),_0x3dbc3d['registry']['registerActivity']({'id':_0x483bfa['EXTERNAL'],'render':t=>{let _0xb4d398=document['createElement']('uc-external-source');return t['append'](_0xb4d398),()=>{t['replaceChildren']();};}});for(let t of Object['values'](_0x574275))_0x3dbc3d['registry']['registerSource']({'id':t,'label':'src-type-'+t,'icon':t,'onSelect':()=>{_0x5b017e['setCurrentActivity'](_0x483bfa['EXTERNAL'],{'externalSourceType':t}),_0x5b017e['setModalState'](!0x0);}});}},_0x83f782=()=>{let _0x311bf6=[];return{'stack':_0x311bf6,'promiseReadJpegChunks':t=>new Promise((_0x170fbe,_0x3824ad)=>{let _0x2e69be=0x2,_0x5a2836=(_0x266e61,_0x4aa130)=>{let _0x16cd8f=new FileReader();_0x16cd8f['addEventListener']('load',()=>{_0x4aa130(new DataView(_0x16cd8f['result']));}),_0x16cd8f['addEventListener']('error',_0x317454=>{_0x3824ad('Reader\x20error:\x20'+_0x317454);}),_0x16cd8f['readAsArrayBuffer'](_0x266e61);},_0x3cf482=()=>_0x5a2836(t['slice'](_0x2e69be,_0x2e69be+0x80),_0x1e948e=>{let _0x300bd4,_0x272883,_0x384e9a;for(_0x300bd4=_0x272883=0x0,_0x384e9a=_0x1e948e['byteLength'];_0x384e9a>=0x0?_0x272883<_0x384e9a:_0x272883>_0x384e9a;_0x300bd4=_0x384e9a>=0x0?++_0x272883:--_0x272883)if(0xff===_0x1e948e['getUint8'](_0x300bd4)){_0x2e69be+=_0x300bd4;break;}_0x35bffe();}),_0x35bffe=()=>{let _0x2d0806=_0x2e69be;return _0x5a2836(t['slice'](_0x2e69be,_0x2e69be+=0x4),_0x94f4e9=>{if(0x4!==_0x94f4e9['byteLength']||0xff!==_0x94f4e9['getUint8'](0x0))return void _0x3824ad('Corrupted');let _0x4e8b82=_0x94f4e9['getUint8'](0x1);if(0xda===_0x4e8b82)return void _0x170fbe(!0x0);let _0x3aab0b=_0x94f4e9['getUint16'](0x2)-0x2;return _0x5a2836(t['slice'](_0x2e69be,_0x2e69be+=_0x3aab0b),_0x4a89b4=>{_0x4a89b4['byteLength']===_0x3aab0b?(_0x311bf6['push']({'startPos':_0x2d0806,'length':_0x3aab0b,'marker':_0x4e8b82,'view':_0x4a89b4}),_0x3cf482()):_0x3824ad('Corrupted');});});};FileReader&&DataView||_0x3824ad('Not\x20Support'),_0x5a2836(t['slice'](0x0,0x2),_0x3f1f6f=>{0xffd8!==_0x3f1f6f['getUint16'](0x0)&&_0x3824ad('Not\x20jpeg'),_0x3cf482();});})};},_0x355d85=async _0x1b2726=>{let _0x1e8ec2=[],{promiseReadJpegChunks:t,stack:_0x4dc26f}=_0x83f782();return await t(_0x1b2726),_0x4dc26f['forEach'](({marker:_0x319d62,view:_0x15ffce})=>{0xe2===_0x319d62&&0x4943435f===_0x15ffce['getUint32'](0x0)&&0x50524f46===_0x15ffce['getUint32'](0x4)&&0x494c4500===_0x15ffce['getUint32'](0x8)&&_0x1e8ec2['push'](_0x15ffce);}),_0x1e8ec2;},_0x5e5efe=async(_0x43a995,_0xb30d26,t)=>{{let _0xfa0b99=[],_0x4710ef=[],{promiseReadJpegChunks:_0x5c7d9b,stack:_0x319325}=_0x83f782();await _0x5c7d9b(_0x43a995),_0x319325['forEach'](_0x587d11=>{if(_0x587d11['marker']===_0xb30d26)return _0xfa0b99['push'](_0x587d11['startPos']),_0x4710ef['push'](_0x587d11['length']);});let _0x26565d=[_0x43a995['slice'](0x0,0x2)];for(let _0x28e9f5 of t){let _0x46d2e7=new DataView(new ArrayBuffer(0x4));_0x46d2e7['setUint16'](0x0,0xff00+_0xb30d26),_0x46d2e7['setUint16'](0x2,_0x28e9f5['byteLength']+0x2),_0x26565d['push'](_0x46d2e7['buffer']),_0x26565d['push'](_0x28e9f5);}let _0x5ead5d=0x2;for(let _0xd7dad3=0x0;_0xd7dad3<_0xfa0b99['length'];_0xd7dad3++)_0xfa0b99[_0xd7dad3]>_0x5ead5d&&_0x26565d['push'](_0x43a995['slice'](_0x5ead5d,_0xfa0b99[_0xd7dad3])),_0x5ead5d=_0xfa0b99[_0xd7dad3]+_0x4710ef[_0xd7dad3]+0x4;return _0x26565d['push'](_0x43a995['slice'](_0x5ead5d,_0x43a995['size'])),new Blob(_0x26565d,{'type':_0x43a995['type']});}},_0x30393a=(_0xf651e4,_0x59fb6c)=>_0x5e5efe(_0xf651e4,0xe2,_0x59fb6c['map'](t=>t['buffer'])),_0x1a3829=()=>{let _0x31b3cb=document['createElement']('canvas'),_0x3352ab=_0x31b3cb['getContext']('2d');return{'canvas':_0x31b3cb,'ctx':_0x3352ab};},_0x5aceca=async _0x343570=>{let _0x50cd2d=null,{promiseReadJpegChunks:t,stack:_0x4cf0d5}=_0x83f782();return await t(_0x343570),_0x4cf0d5['forEach'](({marker:_0x9280f2,view:_0x2a759d})=>{!_0x50cd2d&&0xe1===_0x9280f2&&_0x2a759d['byteLength']>=0xe&&0x45786966===_0x2a759d['getUint32'](0x0)&&0x0===_0x2a759d['getUint16'](0x4)&&(_0x50cd2d=_0x2a759d);}),_0x50cd2d;},_0x4a95a7=_0xb1f001=>((_0xb14d2f,_0x17566b)=>new Promise((t,_0x3f2236)=>{_0x17566b&&(_0xb14d2f['src']=_0x17566b),_0xb14d2f['complete']?t(_0xb14d2f):(_0xb14d2f['addEventListener']('load',()=>{t(_0xb14d2f);}),_0xb14d2f['addEventListener']('error',()=>{_0x3f2236(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}))(new Image(),_0xb1f001),_0x12c311=[0x1,0x3],_0x1ef9a9=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],_0x529c7b={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},_0x4e7fad=(_0x5877db,_0x2e1902)=>{let t={};return(..._0x578799)=>{let _0x3113e0=_0x2e1902(_0x578799,t);return _0x3113e0 in t?t[_0x3113e0]:t[_0x3113e0]=_0x5877db(..._0x578799);};},_0x343920=(_0x5c1063,_0x31f89e)=>{let [t]=_0x5c1063,_0x5c739f=Object['keys'](_0x31f89e)['map'](_0x42ce46=>parseInt(_0x42ce46,0xa))['sort']((_0x895490,_0x214a51)=>_0x895490-_0x214a51);for(let _0x8ca9b8=0x0;_0x8ca9b8<_0x5c739f['length'];_0x8ca9b8++){let _0x3cc39e=_0x5c739f[_0x8ca9b8],_0x1451d2=!!_0x31f89e[_0x3cc39e];if(_0x3cc39e>t&&_0x1451d2||_0x3cc39e<t&&!_0x1451d2)return _0x3cc39e;}return t;},_0x18ef2f=0x37,_0xeb8ec1=0x6e,_0x27f4ab=0xa5,_0x42cc4b=0xff,_0x400de7='rgba('+_0x18ef2f+',\x20'+_0xeb8ec1+',\x20'+_0x27f4ab+',\x20'+_0x42cc4b/0xff+')',_0x1f717d=(_0x47be8f,_0xddfa6f)=>{try{let t=[_0x47be8f-0x1,_0xddfa6f-0x1,0x1,0x1],{canvas:_0x1f6287,ctx:_0x39458d}=_0x1a3829();_0x1f6287['width']=0x1,_0x1f6287['height']=0x1;let {canvas:_0x5a02d2,ctx:_0x298337}=_0x1a3829();_0x5a02d2['width']=_0x47be8f,_0x5a02d2['height']=_0xddfa6f,_0x298337&&(_0x298337['fillStyle']=_0x400de7,_0x298337['fillRect'](...t),_0x39458d['drawImage'](_0x5a02d2,_0x47be8f-0x1,_0xddfa6f-0x1,0x1,0x1,0x0,0x0,0x1,0x1));let _0x5e3176=_0x39458d&&_0x39458d['getImageData'](0x0,0x0,0x1,0x1)['data'],_0x485f1f=!0x1;return _0x5e3176&&(_0x485f1f=_0x5e3176[0x0]===_0x18ef2f&&_0x5e3176[0x1]===_0xeb8ec1&&_0x5e3176[0x2]===_0x27f4ab&&_0x5e3176[0x3]===_0x42cc4b),_0x5a02d2['width']=_0x5a02d2['height']=0x1,_0x485f1f;}catch{return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0x47be8f+'x'+_0xddfa6f+'.'),!0x1;}};function _0x14b969(_0x2bdbb7){return(..._0x1c7226)=>new Promise(t=>{setTimeout(()=>{let _0x5b76f5=_0x2bdbb7(..._0x1c7226);t(_0x5b76f5);},0x0);});}var _0x20dfcf=_0x14b969(_0x4e7fad(_0x1f717d,_0x343920)),_0xf61c1d=_0x14b969(_0x4e7fad(_0x1f717d,_0x343920)),_0x31669b=async(_0x1b0ee0,_0x4ef431)=>{let t=_0x529c7b['squareSide']['find'](_0x1211d8=>_0x1211d8*_0x1211d8>=_0x1b0ee0*_0x4ef431),_0x59b56a=_0x529c7b['dimension']['find'](_0x1d5e6f=>_0x1d5e6f>=_0x1b0ee0&&_0x1d5e6f>=_0x4ef431);if(!t||!_0x59b56a)throw new Error('Not\x20supported');let [_0x2e0303,_0x462321]=await Promise['all']([_0x20dfcf(t,t),_0xf61c1d(_0x59b56a,0x1)]);if(_0x2e0303&&_0x462321)return!0x0;throw new Error('Not\x20supported');},_0x1b1057=async(_0x3d53a2,_0x46f444,t)=>{try{let {ctx:_0x1fb399,canvas:_0x4ac49a}=_0x1a3829();return _0x4ac49a['width']=_0x46f444,_0x4ac49a['height']=t,_0x1fb399['imageSmoothingQuality']='high',_0x1fb399['drawImage'](_0x3d53a2,0x0,0x0,_0x46f444,t),_0x3d53a2 instanceof HTMLImageElement&&(_0x3d53a2['src']='//:0'),_0x3d53a2 instanceof HTMLCanvasElement&&(_0x3d53a2['width']=_0x3d53a2['height']=0x1),_0x4ac49a;}catch(_0x7d3d3f){throw new Error('Canvas\x20resize\x20error',{'cause':_0x7d3d3f});}},_0x1db41b=({img:_0x5e0d41,sourceW:_0x405ebb,targetW:t,targetH:_0x15e80e,step:_0x2b1525})=>{let _0x43c7eb=function({sourceW:_0x59aee9,targetW:_0x235834,targetH:t,step:_0x185f2e}){let _0x152df1=[],_0x491c6c=_0x235834,_0x382dd2=t;do{_0x152df1['push']([_0x491c6c,_0x382dd2]),_0x491c6c=Math['round'](_0x491c6c/_0x185f2e),_0x382dd2=Math['round'](_0x382dd2/_0x185f2e);}while(_0x491c6c<_0x59aee9*_0x185f2e);return _0x152df1['reverse']();}({'sourceW':_0x405ebb,'targetW':t,'targetH':_0x15e80e,'step':_0x2b1525});return _0x43c7eb['reduce']((_0x494b63,[_0x1e45ae,_0x27f9b4],_0x4fd3df)=>_0x494b63['then'](_0x1fd0b9=>_0x31669b(_0x1e45ae,_0x27f9b4)['then'](()=>_0x1b1057(_0x1fd0b9,_0x1e45ae,_0x27f9b4))['catch'](()=>{if(_0x4fd3df===_0x43c7eb['length']-0x1)throw new Error('Not\x20supported');return _0x1fd0b9;})),Promise['resolve'](_0x5e0d41));},_0x290b8d=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0x32e09e=0.71,_0x2a27ed=(_0x716e39,_0x1c21b5)=>{if(_0x716e39['width']*_0x32e09e*_0x716e39['height']*_0x32e09e<_0x1c21b5['size'])throw new Error('Not\x20required');let t=_0x716e39['width'],_0x26bf99=_0x716e39['height'],_0xd4d77a=t/_0x26bf99,_0x4fb8fa=Math['floor'](Math['sqrt'](_0x1c21b5['size']*_0xd4d77a)),_0x239aa8=Math['floor'](_0x1c21b5['size']/Math['sqrt'](_0x1c21b5['size']*_0xd4d77a));return _0x31669b(_0x4fb8fa,_0x239aa8)['then'](()=>{let {ctx:_0x2c7db8}=_0x1a3829();return!('imageSmoothingQuality'in _0x2c7db8)||/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform'])||_0x290b8d?_0x1db41b({'img':_0x716e39,'sourceW':t,'targetW':_0x4fb8fa,'targetH':_0x239aa8,'step':_0x32e09e}):(({img:_0x72405a,targetW:_0x45e856,targetH:t})=>_0x1b1057(_0x72405a,_0x45e856,t))({'img':_0x716e39,'targetW':_0x4fb8fa,'targetH':_0x239aa8});})['catch'](()=>Promise['reject']('Not\x20supported'));},_0x3a3055=async(_0x370ff3,_0x3a759d)=>{try{if(await(async _0x425933=>{let _0x208e5b=!0x1,{promiseReadJpegChunks:t,stack:_0xa7ee7a}=_0x83f782();return await t(_0x425933)['then'](()=>(_0xa7ee7a['forEach'](({marker:_0x9111a4,view:_0x12cc89})=>{if(!_0x208e5b&&_0x1ef9a9['indexOf'](_0x9111a4)>=0x0){let _0xb9d89c=_0x12cc89['getUint8'](0x5);_0x12c311['indexOf'](_0xb9d89c)<0x0&&(_0x208e5b=!0x0);}}),_0x208e5b))['catch'](()=>_0x208e5b);})(_0x370ff3))throw new Error('Should\x20skipped');let _0x3a7ea9=await Promise['allSettled']([_0x5aceca(_0x370ff3),new Promise(_0x58af96=>{if(void 0x0!==_0x1213d9)_0x58af96(_0x1213d9);else{let _0x3c270a=new Image();_0x3c270a['addEventListener']('load',()=>{_0x1213d9=_0x3c270a['naturalWidth']<_0x3c270a['naturalHeight'],_0x3c270a['src']='//:0',_0x58af96(_0x1213d9);}),_0x3c270a['src']='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=';}}),_0x355d85(_0x370ff3)]),_0x22d097=!_0x3a7ea9['some'](_0x1d128d=>'rejected'===_0x1d128d['status']),[_0x178036,_0x344ddc,_0x1676f0]=_0x3a7ea9,_0x5009cf=await(async _0x4d69ee=>{try{return await _0x30393a(_0x4d69ee,[]);}catch(_0x258867){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0x258867);}})(_0x370ff3)['catch'](()=>_0x370ff3),_0x5172ed=await _0x4a95a7(URL['createObjectURL'](_0x5009cf));URL['revokeObjectURL'](_0x5172ed['src']);let _0x4a2570=await _0x2a27ed(_0x5172ed,_0x3a759d),_0x436ec5='image/jpeg',_0x5be364=_0x3a759d?.['quality']||0.8;!_0x22d097&&(_0x1076fe=>{let {ctx:t,canvas:_0x151847}=_0x1a3829();_0x151847['width']=_0x151847['height']=0x32,t['drawImage'](_0x1076fe,0x0,0x0,0x32,0x32);let _0x242c2e=t['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x151847['width']=_0x151847['height']=0x1;for(let _0x30a565=0x3;_0x30a565<_0x242c2e['length'];_0x30a565+=0x4)if(_0x242c2e[_0x30a565]<0xfe)return!0x0;return!0x1;})(_0x4a2570)&&(_0x436ec5='image/png',_0x5be364=void 0x0);let _0x51ae1f=await((_0x3150a4,_0xa6d483,t)=>new Promise((_0x57b719,_0x40aad1)=>{_0x3150a4['toBlob'](_0x40ebb3=>{_0x40ebb3?_0x57b719(_0x40ebb3):_0x40aad1('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0xa6d483,t),_0x3150a4['width']=_0x3150a4['height']=0x1;}))(_0x4a2570,_0x436ec5,_0x5be364);if(_0x22d097&&'fulfilled'===_0x178036['status']&&_0x178036['value']){let _0xf4d9b7=_0x178036['value'],_0x3c2f8f='fulfilled'===_0x344ddc['status']&&_0x344ddc['value'];_0x51ae1f=await(async(_0x48c14c,_0x403b06,t)=>(t&&((_0x5c3c52,_0x5d754b)=>{((_0x3f1a23,_0x894396)=>{let t,_0x3d46a6,_0xa3178c,_0x26eb7b;if(_0x3f1a23&&!(_0x3f1a23['byteLength']<0xe)&&0x45786966===_0x3f1a23['getUint32'](0x0)&&0x0===_0x3f1a23['getUint16'](0x4)){if(0x4949===_0x3f1a23['getUint16'](0x6))_0x3d46a6=!0x0;else{if(0x4d4d!==_0x3f1a23['getUint16'](0x6))return;_0x3d46a6=!0x1;}if(0x2a===_0x3f1a23['getUint16'](0x8,_0x3d46a6))for(_0xa3178c=0x8+_0x3f1a23['getUint32'](0xa,_0x3d46a6),t=0x0,_0x26eb7b=_0x3f1a23['getUint16'](_0xa3178c-0x2,_0x3d46a6);_0x26eb7b>=0x0?t<_0x26eb7b:t>_0x26eb7b;_0x26eb7b>=0x0?++t:--t){if(_0x3f1a23['byteLength']<_0xa3178c+0xa)return;0x112===_0x3f1a23['getUint16'](_0xa3178c,_0x3d46a6)&&_0x894396(_0xa3178c+0x8,_0x3d46a6),_0xa3178c+=0xc;}}})(_0x5c3c52,(t,_0x125be0)=>_0x5c3c52['setUint16'](t,_0x5d754b,_0x125be0));})(_0x403b06,0x1),_0x5e5efe(_0x48c14c,0xe1,[_0x403b06['buffer']])))(_0x51ae1f,_0xf4d9b7,_0x3c2f8f);}return _0x22d097&&'fulfilled'===_0x1676f0['status']&&_0x1676f0['value']['length']>0x0&&(_0x51ae1f=await _0x30393a(_0x51ae1f,_0x1676f0['value'])),_0x51ae1f;}catch(_0x350c6f){let _0x1ef6d7;throw _0x350c6f instanceof Error&&(_0x1ef6d7=_0x350c6f['message']),'string'==typeof _0x350c6f&&(_0x1ef6d7=_0x350c6f),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0x1ef6d7?'Message:\x20\x22'+_0x1ef6d7+'\x22.':''),{'cause':_0x350c6f});}},_0x39af8d=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,_0x2aac6e={'id':'image-shrink','setup'({pluginApi:_0x4ea73d}){_0x4ea73d['registry']['registerFileHook']({'type':'beforeUpload','handler':async({file:_0x14ae71})=>{let t=_0x4ea73d['config']['get']('imageShrink');if(!t)return{'file':_0x14ae71};let _0x5bfebe=(_0x47d056=>{if('string'!=typeof _0x47d056)return!0x1;let _0x16f69c=_0x39af8d['exec'](_0x47d056['toLocaleLowerCase']())??[];if(0x0===_0x16f69c['length'])return!0x1;let t=Number(_0x16f69c[0x1])*Number(_0x16f69c[0x2]),_0x520469=0x10000000;return t>_0x520469?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](268.435456)+'MP.\x20You\x20have\x20set\x20'+_0x16f69c[0x1]+'x'+_0x16f69c[0x2]+'\x20('+Math['ceil'](t/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x16f69c[0x3]?Number(_0x16f69c[0x3])/0x64:void 0x0,'size':t};})(t);if(!_0x5bfebe)return console['warn']('[ImageShrinkPlugin]\x20Image\x20shrink\x20settings\x20are\x20invalid,\x20skipping\x20shrinking'),{'file':_0x14ae71};try{return{'file':await _0x3a3055(_0x14ae71,_0x5bfebe)};}catch{return{'file':_0x14ae71};}}});}},_0x850227={'id':'instagram','setup'({pluginApi:_0x2f521f}){_0x2f521f['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':()=>{}});}},_0x31a16c={'id':_0x335033['LOCAL'],'setup':({pluginApi:_0x46e15e,uploaderApi:_0x59d3aa})=>{_0x46e15e['registry']['registerSource']({'id':_0x335033['LOCAL'],'label':'src-type-local','icon':'local','onSelect':()=>{_0x59d3aa['openSystemDialog']();}});}},_0x18ad7e={'id':'url-source','setup':async({pluginApi:_0x136bf0,uploaderApi:_0x3ab255})=>{_0xa8e1eb({'UrlSource':_0x4199de}),_0x136bf0['registry']['registerActivity']({'id':_0x483bfa['URL'],'render':t=>{let _0x3f328d=document['createElement']('uc-url-source');return t['append'](_0x3f328d),()=>{t['replaceChildren']();};}}),_0x136bf0['registry']['registerSource']({'id':'url','label':'src-type-from-url','icon':'url','onSelect':()=>{_0x3ab255['setCurrentActivity'](_0x483bfa['URL']),_0x3ab255['setModalState'](!0x0);}});}},_0x4ba82f=[{'configDeps':['useCloudImageEditor'],'isEnabled':_0x1448fb=>!!_0x1448fb('useCloudImageEditor'),'load':()=>_0x80fe45},{'configDeps':['imageShrink'],'isEnabled':_0xabfb3=>!!_0xabfb3('imageShrink'),'load':()=>_0x2aac6e},{'configDeps':['sourceList'],'isEnabled':_0x561564=>_0x1824ee(_0x561564('sourceList'))['includes'](_0x335033['LOCAL']),'load':()=>_0x31a16c},{'configDeps':['sourceList'],'isEnabled':_0x2cccda=>_0x1824ee(_0x2cccda('sourceList'))['includes'](_0x335033['CAMERA']),'load':()=>_0x4dc7da},{'configDeps':['sourceList'],'isEnabled':_0x1c6518=>_0x1824ee(_0x1c6518('sourceList'))['includes']('instagram'),'load':()=>_0x850227},{'configDeps':['sourceList'],'isEnabled':_0x436dc7=>Object['values'](_0x574275)['some'](_0x57a785=>_0x1824ee(_0x436dc7('sourceList'))['includes'](_0x57a785)),'load':()=>_0x34b6bc},{'configDeps':['sourceList'],'isEnabled':_0x142698=>_0x1824ee(_0x142698('sourceList'))['includes'](_0x335033['URL']),'load':()=>_0x18ad7e}],_0x4a4293=class extends _0x4cb532{constructor(){super(),this['headless']=!0x1,this['init$']={...this['init$']};}static{this['lazyPlugins']=_0x4ba82f;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x37ee07['INIT_SOLUTION']});}['render'](){return _0x3e6b89` ${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>`;}};_0x1a398d([_0x53be06({'type':Boolean})],_0x4a4293['prototype'],'headless',0x2);var _0x26e5f5=class extends _0x4cb532{constructor(){super(),this['Tc']=!0x1,this['Ee']=()=>{if(this['Ec']){let t=this['$']['*historyBack'];return void t?.();}this['xc']&&(this['$']['*currentActivity']=_0x5dadd1['activities']['UPLOAD_LIST']);},this['init$']={...this['init$']};}static{this['lazyPlugins']=_0x4ba82f;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-inline'];}get['Ec'](){let t=this['$']['*history'];return!(!t||t['length']<=0x1)&&t[t['length']-0x1]!==_0x5dadd1['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')||_0x5dadd1['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x37ee07['INIT_SOLUTION']});let t=this['Hs']();this['sub']('*currentActivity',_0xdbb4c2=>{_0xdbb4c2||(this['$']['*currentActivity']=t);}),this['sub']('*uploadList',_0x52bf1d=>{Array['isArray'](_0x52bf1d)&&_0x52bf1d['length']>0x0&&this['$']['*currentActivity']===t&&(this['$']['*currentActivity']=_0x5dadd1['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['Tc']=this['Ec']||this['xc'];});}['render'](){return _0x3e6b89` ${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>`;}};_0x1a398d([_0x671a39()],_0x26e5f5['prototype'],'Tc',0x2);var _0x51531c='active',_0xc37ba9=class extends _0x4cb532{constructor(){super(),this['Ks']=!0x1,this['Vr']=!0x1,this['_r']='',this['js']='',this['ui']='choose-file',this['si']=t=>{t['id']===_0x5dadd1['activities']['CLOUD_IMG_EDIT']&&(this['_r']=_0x51531c),this['$']['*currentActivity']===_0x5dadd1['activities']['UPLOAD_LIST']&&(this['_r']=_0x51531c,this['Vr']=!0x0);let _0x823dab=this['$']['*uploadList'];(!_0x823dab||_0x823dab['length']<=0x0)&&(this['js']=_0x51531c);},this['ni']=t=>{t['id']===this['$']['*currentActivity']&&(this['$']['*currentActivity']=_0x5dadd1['activities']['UPLOAD_LIST'],this['Vr']=!0x1),t['id']===_0x5dadd1['activities']['CLOUD_IMG_EDIT']&&(this['$']['*currentActivity']=_0x5dadd1['activities']['UPLOAD_LIST']);},this['init$']={...this['init$']};}static{this['lazyPlugins']=_0x4ba82f;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-minimal'];}['Hs'](){return this['getCssData']('--cfg-init-activity')||_0x5dadd1['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x37ee07['INIT_SOLUTION']});let t=this['Hs']();this['sub']('*currentActivity',_0x2bca29=>{_0x2bca29===_0x5dadd1['activities']['UPLOAD_LIST']&&this['modalManager']?.['closeAll'](),_0x2bca29||(this['$']['*currentActivity']=t);}),this['sub']('*uploadList',_0x295af3=>{Array['isArray'](_0x295af3)&&_0x295af3['length']>0x0?(this['$']['*currentActivity']=_0x5dadd1['activities']['UPLOAD_LIST'],this['js']=''):(this['_r']='',this['Vr']=!0x1,this['$']['*currentActivity']=t);}),this['subConfigValue']('confirmUpload',_0x3391f2=>{!0x1!==_0x3391f2&&(this['cfg']['confirmUpload']=!0x1);}),this['subConfigValue']('filesViewMode',_0x5dbb21=>{this['setAttribute']('mode',_0x5dbb21),this['subConfigValue']('multiple',_0x106969=>{'grid'===_0x5dbb21?(_0x106969?this['style']['removeProperty']('--uc-grid-col'):this['style']['setProperty']('--uc-grid-col','1'),this['Ks']=!_0x106969):(this['style']['removeProperty']('--uc-grid-col'),this['Ks']=!0x1);});}),this['subConfigValue']('multiple',_0x2b25a0=>{this['ui']=_0x2b25a0?'choose-files':'choose-file';}),this['modalManager']?.['subscribe'](_0x6eceb3['OPEN'],this['si']),this['modalManager']?.['subscribe'](_0x6eceb3['CLOSE'],this['ni']);}['disconnectedCallback'](){super['disconnectedCallback'](),this['modalManager']?.['unsubscribe'](_0x6eceb3['OPEN'],this['si']),this['modalManager']?.['unsubscribe'](_0x6eceb3['CLOSE'],this['ni']);}['render'](){return _0x3e6b89` ${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>`;}};_0x1a398d([_0x671a39()],_0xc37ba9['prototype'],'Ks',0x2),_0x1a398d([_0x671a39()],_0xc37ba9['prototype'],'Vr',0x2),_0x1a398d([_0x671a39()],_0xc37ba9['prototype'],'_r',0x2),_0x1a398d([_0x671a39()],_0xc37ba9['prototype'],'js',0x2),_0x1a398d([_0x671a39()],_0xc37ba9['prototype'],'ui',0x2);var _0x39df65=Object['freeze']({'__proto__':null,'ActivityBlock':_0x5dadd1,'ActivityHeader':class extends _0x5dadd1{},'BaseComponent':_0x370f89,'Block':_0x361fd7,'BtnUi':_0x548b1e,'CameraSource':_0x1fbdb9,'CloudImageEditor':_0x307112,'CloudImageEditorActivity':_0x90caa0,'CloudImageEditorBlock':_0x4a5002,'Config':_0x5270f5,'Copyright':class extends _0x361fd7{['initCallback'](){super['initCallback'](),this['subConfigValue']('removeCopyright',_0x44b40e=>{this['toggleAttribute']('hidden',!!_0x44b40e);});}['render'](){return _0x3e6b89`<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':_0x1008f9,'Data':tM,'DropArea':_0x265531,'EditorAspectRatioButtonControl':_0x44767e,'EditorCropButtonControl':_0x17006a,'EditorFilterControl':_0x54b1fe,'EditorFreeformButtonControl':_0x245607,'EditorImageCropper':_0x42e3e3,'EditorImageFader':_0x12efa2,'EditorOperationControl':_0x584e3f,'EditorScroller':_0x312da1,'EditorSlider':_0x26a0c9,'EditorToolbar':_0x97e00a,'ExternalSource':_0x1390cc,'ExternalUploadSource':_0x574275,'FileItem':_0x26e4f0,'FileUploaderInline':_0x26e5f5,'FileUploaderMinimal':_0xc37ba9,'FileUploaderRegular':_0x4a4293,'FormInput':_0x3b7a21,'Icon':_0x9eb847,'Img':class extends _0x5d048e{['connectedCallback'](){super['connectedCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0x25b9f0=>{!this['$$']('is-background-for')&&!this['$$']('is-preview-blur')&&(this['img']['loading']=_0x25b9f0?'lazy':'eager');});}},'LineLoaderUi':_0x5ef0ff,'Modal':_0x2d2fcc,'ModalEvents':_0x6eceb3,'PACKAGE_NAME':_0x332218,'PACKAGE_VERSION':_0x37e118,'PluginActivityHost':_0x26ec5c,'PluginActivityRenderer':_0x3542b5,'PresenceToggle':_0x3b030c,'ProgressBar':_0xd5ac4b,'ProgressBarCommon':_0x20b9b9,'Select':_0x16f2a5,'SimpleBtn':_0x1db43b,'SliderUi':_0x473245,'SolutionBlock':_0x4cb532,'SourceBtn':_0x574cd4,'SourceList':_0x34a887,'Spinner':class extends _0x361fd7{['render'](){return _0x3e6b89`<div class="uc-spinner"></div>`;}},'StartFrom':class extends _0x5dadd1{constructor(){super(...arguments),this['historyTracked']=!0x0,this['activityType']=_0x5dadd1['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'');}['render'](){return _0x3e6b89`<div class="uc-content">${this['yield']('')}</div>`;}},'Thumb':_0x332054,'UID':_0x14c4f7,'UploadCtxProvider':_0x140261,'UploadList':_0x11a861,'UploadSource':_0x335033,'UploaderBlock':_0x281aa6,'UrlSource':_0x4199de,'defineComponents':_0xa8e1eb,'defineLocale':_0x7a7e13,'loadFileUploaderFrom':function(_0x2e9424,_0x46db64=!0x1){return new Promise((t,_0x32ddc9)=>{if('object'!=typeof document)return void t(null);if('object'==typeof window&&window[_0x1948cb])return void t(window[_0x1948cb]);let _0xf99989=document['createElement']('script');_0xf99989['async']=!0x0,_0xf99989['src']=_0x2e9424,_0xf99989['onerror']=()=>{_0x32ddc9();},_0xf99989['onload']=()=>{let _0x73e0ea=window[_0x1948cb];_0x46db64&&_0xa8e1eb(_0x73e0ea),t(_0x73e0ea);},document['head']['appendChild'](_0xf99989);});},'toKebabCase':_0x337f7f});class _0x3412b7 extends _0x5f37cd['Plugin']{static get['requires'](){return[UploadcareEditing,_0x360936];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf74525){super(_0xf74525),_0xf74525['config']['define']('uploadcare.uploader.sourceList',['local','url']),_0xa8e1eb(_0x39df65),this['_defineLocale']();}['_defineLocale'](){const _0x5bb306=this['editor']['config']['get']('uploadcare.locale'),_0x4d62cd=this['editor']['locale']['contentLanguage'];_0x5bb306&&_0x7a7e13(_0x4d62cd,_0x5bb306);}}class UploadcareImageEditFormLoadingView extends _0x5f37cd['View']{constructor(_0x385729){super(_0x385729);const t=_0x385729['t'],_0x1a0a6f=this['bindTemplate'],_0x3b96ab=new _0x5f37cd['SpinnerView']();_0x3b96ab['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':[_0x3b96ab,{'text':_0x1a0a6f['to']('imageUploadProgress',_0x4f09ae=>t('Loading\x20image...')+'\x20('+(_0x4f09ae||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 _0x5f37cd['View']{constructor(_0x1e66e8){super(_0x1e66e8);const t=_0x1e66e8['t'];this['set']('errorType',null);const _0x4335f2=new _0x5f37cd['ButtonView'](_0x1e66e8);_0x4335f2['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4335f2['withText']=!0x0,_0x4335f2['class']='ck-button-action',_0x4335f2['on']('execute',()=>{this['fire']('retry');}),_0x4335f2['bind']('isVisible')['to'](this,'errorType',_0x3998a0=>'NotFound'!==_0x3998a0);const _0xb121aa=new _0x5f37cd['IconView']();_0xb121aa['content']=_0x5f37cd['IconError'],_0xb121aa['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x2cb3ae=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':[_0xb121aa,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x2cb3ae['to']('errorType',_0x46af3e=>t('NotFound'!==_0x46af3e?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4335f2]},{'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 _0x5f37cd['View']{constructor(_0x2d8963,_0x21ca2e){super(_0x2d8963);const _0x182541=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x21ca2e,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x182541['to']('imageSrc')}});}}class UploadcareImageEditFormView extends _0x4bbe39{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x16ba92,_0x434dae,_0x3ab1b0){super(_0x16ba92),this['_items']=this['createCollection'](),this['_loadingView']=new UploadcareImageEditFormLoadingView(_0x16ba92),this['_errorView']=new UploadcareImageEditFormErrorView(_0x16ba92),this['_editingView']=new UploadcareImageEditFormEditingView(_0x16ba92,_0x3ab1b0),this['_focusableView']=new _0x5f37cd['View'](_0x16ba92),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x434dae),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'],_0x449a32=>{this['_addUploadcareImageEditorListeners'](_0x449a32);});}),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'](_0x13a9b4,_0x35defb){const _0x5f4650='uc-cloud-image-editor',_0x27cd2a=_0x13a9b4['querySelector'](_0x5f4650);if(_0x27cd2a)return _0x35defb(_0x27cd2a);const _0x1de1d9=new MutationObserver(_0x2c9565=>{const _0xf8cb02=_0x2c9565['filter'](_0x140ca1=>_0x140ca1['target']===_0x13a9b4&&_0x140ca1['addedNodes']['length']>0x0&&_0x140ca1['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x5f4650);_0xf8cb02['length']&&(_0x1de1d9['disconnect'](),_0x35defb(_0xf8cb02[0x0]['addedNodes'][0x0]));});_0x1de1d9['observe'](_0x13a9b4,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2120d1){_0x2120d1['addEventListener']('apply',_0x37d55f=>{this['fire']('apply',{'imageSrc':_0x37d55f['detail']['cdnUrl']});}),_0x2120d1['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
_0x5f37cd['ObservableMixin'](){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x40e9c1,_0x33bb19,_0x24c590){super(),this['_editor']=_0x40e9c1,this['_dialog']=_0x33bb19,this['_imageElement']=_0x24c590,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 _0x78bad2=this['_imageElement'],_0x5728c7=_0x78bad2['getAttribute']('uploadcareImageId'),_0x1623b6=_0x78bad2['getAttribute']('src');if(_0x5728c7)await this['_loadImageInfo'](_0x5728c7,_0x1623b6);else{if(this['_imageCache']['has'](_0x1623b6)){const _0x20a233=this['_imageCache']['get'](_0x1623b6);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x20a233['url'],this['imageDimension']=_0x20a233['dimension'],this['imageId']=_0x20a233['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3285ac}=this['_editor'],t=_0x3285ac['t'],_0x46869e=new UploadcareImageEditFormView(_0x3285ac,this['imageStatus'],this['_attributes']);_0x46869e['bind']('status')['to'](this,'imageStatus'),_0x46869e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x46869e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x46869e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x46869e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5f37cd['IconUploadcareImageEdit'],'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x46869e,'position':_0x5f37cd['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x46869e['focus']();},'onHide':()=>{_0x46869e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x57e5eb=>!_0x2afc13(_0x57e5eb,_0x46869e['element'])}});}['_loadImageInfo'](_0xbe55e2,_0x4869ff){return UploadUtils['getInfo'](_0xbe55e2,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x4be9c5=>{const {width:_0x57f6ba,height:_0x1383f1}=_0x4be9c5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4869ff,this['imageDimension']={'width':_0x57f6ba,'height':_0x1383f1},this['imageId']=_0xbe55e2;})['catch'](_0x42c894=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x42c894['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x29ca96,_0x2caeab){return this['_getImageAsFile'](_0x29ca96)['then'](_0x251df3=>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':_0x2caeab['signal'],'file':_0x251df3,'onProgress':_0x5e9e20=>{_0x5e9e20&&_0x5e9e20['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5e9e20['value']));}}))['then'](_0x346c30=>{const {width:_0x1516fb,height:_0x1a8317}=_0x346c30['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x346c30['cdnUrl'],this['imageDimension']={'width':_0x1516fb,'height':_0x1a8317},this['imageId']=_0x346c30['uuid'],this['imageUploadProgress']=null;const _0x292204=_0x29ca96['getAttribute']('src');this['_imageCache']['set'](_0x292204,{'id':_0x346c30['uuid'],'url':_0x346c30['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x121869=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x121869['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3e083a,_0x3423f6){_0x3e083a['on']('apply',(_0x520c0f,_0x131c4e)=>{this['_replaceImage'](_0x3423f6,_0x131c4e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3e083a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3e083a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x196d99,_0x1aab02,_0x4bc8a3){const _0x85347=this['_editor'],{width:_0x573fde,height:_0x1610b0}=_0x27a03f(_0x1aab02,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x207ef4,imageSources:_0xeab634}=_0xc0b56a(_0x1aab02,_0x573fde);_0x85347['model']['change'](_0x46f5da=>{if('$graveyard'===_0x196d99['root']['rootName']){_0x85347['execute']('insertImage',{'imageType':_0x196d99['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x196d99['getAttributes']()),'uploadcareImageId':_0x4bc8a3,'src':_0x207ef4,'sources':_0xeab634,'width':_0x573fde,'height':_0x1610b0}});const _0x56fb58=_0x196d99['getChildren']();_0x196d99=_0x85347['model']['document']['selection']['getSelectedElement']();for(const _0x536cbf of _0x56fb58)_0x46f5da['append'](_0x46f5da['cloneElement'](_0x536cbf),_0x196d99);}else _0x46f5da['setSelection'](_0x196d99,'on'),_0x85347['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x196d99['getAttributes']()),'uploadcareImageId':_0x4bc8a3,'src':_0x207ef4,'sources':_0xeab634,'width':_0x573fde,'height':_0x1610b0},_0x196d99);_0x46f5da['setSelection'](_0x196d99,'on');});}async['_getImageAsFile'](_0x5f1b90){const _0x23aca1=_0x5f37cd['global']['window'],_0x56254c=_0x5f37cd['global']['document']['location']['href'],_0x685b38=new _0x23aca1['URL'](_0x5f1b90['getAttribute']('src'),_0x56254c);if('data:'===_0x685b38['protocol']){const _0x17838d=_0x685b38['href']['split'](','),_0x572d6d=_0x17838d[0x0]['match'](/:(.*?);/)[0x1],_0x5440dd=_0x572d6d['split']('/')[0x1],_0x3de3e5=_0x23aca1['atob'](_0x17838d[_0x17838d['length']-0x1]);let _0x1b7047=_0x3de3e5['length'];const _0x2f7ff2=new _0x23aca1['Uint8Array'](_0x1b7047);for(;_0x1b7047--;)_0x2f7ff2[_0x1b7047]=_0x3de3e5['charCodeAt'](_0x1b7047);return new _0x23aca1['File']([_0x2f7ff2],'image.'+_0x5440dd,{'type':_0x572d6d});}const _0x145b28=_0x685b38['href']['split']('/'),_0x26291c=_0x145b28[_0x145b28['length']-0x1],_0x1c4cb3=_0x26291c['split']('.')[0x1];return _0x23aca1['fetch'](_0x685b38['href'])['then'](_0x3e2406=>_0x3e2406['clone']()['blob']())['then'](_0x3c651c=>new _0x23aca1['File']([_0x3c651c],_0x26291c,{'type':'image/'+_0x1c4cb3}));}}class UploadcareImageEditCommand extends _0x5f37cd['Command']{['imageEditController'];static get['requires'](){return[_0x5f37cd['Dialog']];}['_isEditable'];constructor(_0x177757){super(_0x177757),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x2477c8){const _0x2fb74b=_0x36426a(_0x2477c8);return _0x1de884=>!(!_0x1de884||!_0x1de884['is']('element','imageBlock')&&!_0x1de884['is']('element','imageInline'))&&(!!_0x1de884['hasAttribute']('uploadcareImageId')||!!_0x1de884['hasAttribute']('src')&&_0x2fb74b(_0x1de884['getAttribute']('src')));}(_0x177757['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0xd0ad09=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0xd0ad09);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x3357ba=this['editor']['model']['document']['selection']['getSelectedElement']();_0x3357ba&&(_0x3357ba['is']('element','imageBlock')||_0x3357ba['is']('element','imageInline'))&&(this['imageEditController']=new UploadcareImageEditController(this['editor'],this['editor']['plugins']['get'](_0x5f37cd['Dialog']),_0x3357ba),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class _0x2e9c01 extends _0x5f37cd['Command']{['refresh'](){const _0x643a55=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x643a55&&(_0x643a55['is']('element','imageBlock')||_0x643a55['is']('element','imageInline')));}['execute'](_0x1ffc0b){const _0x50d6f2=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x37fa86=>{_0x37fa86['setAttributes'](_0x1ffc0b,_0x50d6f2),_0x37fa86['removeAttribute']('srcset',_0x50d6f2),_0x37fa86['removeAttribute']('sizes',_0x50d6f2);});}}class UploadcareImageEditEditing extends _0x5f37cd['Plugin']{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[UploadcareEditing,_0x5f37cd['Notification'],_0x5f37cd['ImageUtils'],_0x5f37cd['ImageEditing']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1580b9}=this;_0x1580b9['commands']['add']('uploadcareImageEdit',new UploadcareImageEditCommand(_0x1580b9)),_0x1580b9['commands']['add']('uploadcareImageReplace',new _0x2e9c01(_0x1580b9));}}class UploadcareImageEditUI extends _0x5f37cd['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 _0x493751=this['editor'];_0x493751['ui']['componentFactory']['add']('uploadcareImageEdit',_0xbdfb5a=>{const _0x2cf031=_0x493751['commands']['get']('uploadcareImageEdit'),_0x44f754=new _0x5f37cd['ButtonView'](_0xbdfb5a),t=_0xbdfb5a['t'];return _0x44f754['set']({'icon':_0x5f37cd['IconUploadcareImageEdit'],'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x44f754['bind']('isEnabled')['to'](_0x2cf031),_0x44f754['bind']('isOn')['to'](_0x2cf031,'isActive'),this['listenTo'](_0x44f754,'execute',()=>{_0x493751['execute']('uploadcareImageEdit'),_0x493751['editing']['view']['focus']();}),_0x44f754;}),this['_initConfig']();}['_initConfig'](){const _0x56cfba=_0x5f37cd['createElement'](document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x56cfba),this['listenTo'](this['editor'],'destroy',()=>{_0x56cfba['remove']();});}}class UploadcareImageEdit extends _0x5f37cd['Plugin']{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[UploadcareImageEditEditing,UploadcareImageEditUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}_0x474c8f['AIActions']=AIActions,_0x474c8f['AIAdapter']=AIAdapter,_0x474c8f['AIAssistant']=AIAssistant,_0x474c8f['AIAssistantUI']=AIAssistantUI,_0x474c8f['AIBalloon']=_0x285687,_0x474c8f['AIChat']=AIChat,_0x474c8f['AIChatController']=AIChatController,_0x474c8f['AIChatFeedCustomElementView']=AIChatFeedCustomElementView,_0x474c8f['AIChatHistory']=AIChatHistory,_0x474c8f['AIChatHistoryController']=AIChatHistoryController,_0x474c8f['AIChatHistoryUI']=AIChatHistoryUI,_0x474c8f['AIChatInteraction']=AIChatInteraction,_0x474c8f['AIChatShortcuts']=AIChatShortcuts,_0x474c8f['AIChatUI']=AIChatUI,_0x474c8f['AIConnector']=AIConnector,_0x474c8f['AIEditing']=AIEditing,_0x474c8f['AIEditorIntegration']=AIEditorIntegration,_0x474c8f['AIGateway']=AIGateway,_0x474c8f['AIInteraction']=AIInteraction,_0x474c8f['AIQuickActions']=AIQuickActions,_0x474c8f['AIQuickActionsUI']=AIQuickActionsUI,_0x474c8f['AIReply']=_0x173ae1,_0x474c8f['AIRequestError']=AIRequestError,_0x474c8f['AIReviewCheck']=_0x53b503,_0x474c8f['AIReviewCheckResult']=AIReviewCheckResult,_0x474c8f['AIReviewCheckResultChange']=AIReviewCheckResultChange,_0x474c8f['AIReviewCheckRun']=_0xb3f8c6,_0x474c8f['AIReviewGateway']=AIReviewGateway,_0x474c8f['AIReviewMode']=_0xba4b3d,_0x474c8f['AIReviewModeController']=AIReviewCoreController,_0x474c8f['AIReviewModeEditing']=AIReviewCoreEditing,_0x474c8f['AIReviewModeUI']=_0x498459,_0x474c8f['AIReviewRunResult']=AIReviewRunResult,_0x474c8f['AIRunResult']=AIRunResult,_0x474c8f['AITabs']=_0x3df542,_0x474c8f['AITabsMainView']=_0x147c54,_0x474c8f['AITabsView']=_0x15c4e7,_0x474c8f['AITextAdapter']=AITextAdapter,_0x474c8f['AIToggleButtonUI']=AIToggleButtonUI,_0x474c8f['AITranslate']=AITranslate,_0x474c8f['AITranslateController']=AITranslateController,_0x474c8f['AITranslateUI']=AITranslateUI,_0x474c8f['AWSTextAdapter']=class AWSTextAdapter extends AITextAdapter{static get['pluginName'](){return'AWSTextAdapter';}['init'](){super['init'](),_0x5f37cd['logWarning']('ai-aws-adapter-not-supported');}async['sendRequest'](_0x265c54){throw _0x5f37cd['logError']('ai-aws-adapter-not-supported'),new AIRequestError(_0x43b716(this['editor']['locale'],'AI_ERROR_AWS_NOT_SUPPORTED'));}},_0x474c8f['AcceptSuggestionCommand']=AcceptSuggestionCommand,_0x474c8f['AddCommentThreadCommand']=AddCommentThreadCommand,_0x474c8f['Annotation']=_0x33c856,_0x474c8f['AnnotationCollection']=AnnotationCollection,_0x474c8f['AnnotationCounterButtonView']=AnnotationCounterButtonView,_0x474c8f['AnnotationView']=AnnotationView,_0x474c8f['Annotations']=Annotations,_0x474c8f['AnnotationsSidebarItemView']=AnnotationsSidebarItemView,_0x474c8f['AnnotationsSidebarView']=AnnotationsSidebarView,_0x474c8f['AnnotationsUIs']=AnnotationsUIs,_0x474c8f['AriaDescriptionView']=AriaDescriptionView,_0x474c8f['BaseCommentThreadView']=BaseCommentThreadView,_0x474c8f['BaseCommentView']=BaseCommentView,_0x474c8f['BaseSuggestionThreadView']=BaseSuggestionThreadView,_0x474c8f['CaseChange']=_0x243f50,_0x474c8f['CaseChangeCommand']=_0x3b6bce,_0x474c8f['CaseChangeEditing']=CaseChangeEditing,_0x474c8f['CaseChangeUI']=_0x327747,_0x474c8f['CloudServicesCommentsAdapter']=CloudServicesCommentsAdapter,_0x474c8f['CloudServicesRevisionHistoryAdapter']=CloudServicesRevisionHistoryAdapter,_0x474c8f['CloudServicesTrackChangesAdapter']=CloudServicesTrackChangesAdapter,_0x474c8f['CollaborationUserColor']=CollaborationUserColor,_0x474c8f['Comment']=_0x5e5a2c,_0x474c8f['CommentThread']=CommentThread,_0x474c8f['CommentThreadController']=CommentThreadController,_0x474c8f['CommentThreadInputView']=CommentThreadInputView,_0x474c8f['CommentThreadView']=CommentThreadView,_0x474c8f['CommentView']=CommentView,_0x474c8f['Comments']=Comments,_0x474c8f['CommentsArchive']=CommentsArchive,_0x474c8f['CommentsArchiveUI']=CommentsArchiveUI,_0x474c8f['CommentsEditing']=CommentsEditing,_0x474c8f['CommentsListView']=CommentsListView,_0x474c8f['CommentsOnly']=CommentsOnly,_0x474c8f['CommentsRepository']=CommentsRepository,_0x474c8f['CommentsUI']=CommentsUI,_0x474c8f['ConfirmMixin']=_0x115c46,_0x474c8f['CopyFormatCommand']=CopyFormatCommand,_0x474c8f['DATA_ID_MODEL_ATTRIBUTE']=_0x2ac16d,_0x474c8f['DATA_ID_VIEW_ATTRIBUTE']=_0x2a2b5f,_0x474c8f['DiscardSuggestionCommand']=DiscardSuggestionCommand,_0x474c8f['DocumentCompare']=DocumentCompare,_0x474c8f['DocumentDiff']=DocumentDiff,_0x474c8f['DocumentOutline']=DocumentOutline,_0x474c8f['DocumentOutlineUI']=DocumentOutlineUI,_0x474c8f['DocumentOutlineUtils']=DocumentOutlineUtils,_0x474c8f['EditSourceCommand']=EditSourceCommand,_0x474c8f['EditorAnnotations']=EditorAnnotations,_0x474c8f['EmailConfigurationHelper']=EmailConfigurationHelper,_0x474c8f['EmailConfigurationLogger']=EmailConfigurationLogger,_0x474c8f['EmptyBlockEmailIntegration']=EmptyBlockEmailIntegration,_0x474c8f['ExecuteOnAllSuggestionsCommand']=ExecuteOnAllSuggestionsCommand,_0x474c8f['ExecuteOnSelectedSuggestionsCommand']=ExecuteOnSelectedSuggestionsCommand,_0x474c8f['ExportInlineStyles']=ExportInlineStyles,_0x474c8f['ExportInlineStylesCommand']=ExportInlineStylesCommand,_0x474c8f['ExportInlineStylesEditing']=ExportInlineStylesEditing,_0x474c8f['ExportInlineStylesEmailIntegration']=ExportInlineStylesEmailIntegration,_0x474c8f['ExportPdf']=ExportPdf,_0x474c8f['ExportPdfCommand']=ExportPdfCommand,_0x474c8f['ExportWord']=ExportWord,_0x474c8f['ExportWordCommand']=ExportWordCommand,_0x474c8f['FOCUS_ANNOTATION_KEYSTROKE']=_0x472d0e,_0x474c8f['FontEmailIntegration']=FontEmailIntegration,_0x474c8f['Footnotes']=Footnotes,_0x474c8f['FootnotesClipboard']=FootnotesClipboard,_0x474c8f['FootnotesEditing']=FootnotesEditing,_0x474c8f['FootnotesProperties']=FootnotesProperties,_0x474c8f['FootnotesPropertiesEditing']=FootnotesPropertiesEditing,_0x474c8f['FootnotesPropertiesUI']=FootnotesPropertiesUI,_0x474c8f['FootnotesStartCommand']=FootnotesStartCommand,_0x474c8f['FootnotesStyleCommand']=FootnotesStyleCommand,_0x474c8f['FootnotesTracker']=FootnotesTracker,_0x474c8f['FootnotesUI']=FootnotesUI,_0x474c8f['FormatPainter']=FormatPainter,_0x474c8f['FormatPainterEditing']=FormatPainterEditing,_0x474c8f['FormatPainterUI']=FormatPainterUI,_0x474c8f['GeneralHtmlIntegrationSupport']=GeneralHtmlIntegrationSupport,_0x474c8f['HeadingId']=_0x278aa2,_0x474c8f['HighlightEmailIntegration']=HighlightEmailIntegration,_0x474c8f['ImageEmailIntegration']=ImageEmailIntegration,_0x474c8f['ImportWord']=ImportWord,_0x474c8f['ImportWordCommand']=ImportWordCommand,_0x474c8f['ImportWordEditing']=ImportWordEditing,_0x474c8f['ImportWordUI']=ImportWordUI,_0x474c8f['InlineAnnotations']=InlineAnnotations,_0x474c8f['InsertFootnoteCommand']=InsertFootnoteCommand,_0x474c8f['InsertMergeFieldBlockCommand']=InsertMergeFieldBlockCommand,_0x474c8f['InsertMergeFieldCommand']=InsertMergeFieldCommand,_0x474c8f['InsertMergeFieldImageCommand']=InsertMergeFieldImageCommand,_0x474c8f['LateFocusButtonView']=LateFocusButtonView,_0x474c8f['LateFocusDropdownButtonView']=LateFocusDropdownButtonView,_0x474c8f['LineHeight']=LineHeight,_0x474c8f['LineHeightCommand']=LineHeightCommand,_0x474c8f['LineHeightEditing']=LineHeightEditing,_0x474c8f['LineHeightTodoListIntegration']=LineHeightTodoListIntegration,_0x474c8f['LineHeightUI']=LineHeightUI,_0x474c8f['LinkEmailIntegration']=LinkEmailIntegration,_0x474c8f['ListEmailIntegration']=ListEmailIntegration,_0x474c8f['MarkdownEmailIntegration']=MarkdownEmailIntegration,_0x474c8f['MathTypeEmailIntegration']=MathTypeEmailIntegration,_0x474c8f['MediaEmbedEmailIntegration']=MediaEmbedEmailIntegration,_0x474c8f['MergeFields']=_0x51f4ba,_0x474c8f['MergeFieldsEditing']=MergeFieldsEditing,_0x474c8f['MergeFieldsEmailIntegration']=MergeFieldsEmailIntegration,_0x474c8f['MergeFieldsUI']=_0x366e63,_0x474c8f['MultiLevelList']=MultiLevelList,_0x474c8f['MultiLevelListCommand']=MultiLevelListCommand,_0x474c8f['MultiLevelListEditing']=MultiLevelListEditing,_0x474c8f['MultiLevelListEmailIntegration']=MultiLevelListEmailIntegration,_0x474c8f['MultiLevelListUI']=MultiLevelListUI,_0x474c8f['NarrowSidebar']=_0x5eb0f6,_0x474c8f['OpenAITextAdapter']=class OpenAITextAdapter extends AITextAdapter{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0x403163){super(_0x403163),_0x403163['config']['define']('ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0x403163['config']['get']('ai.assistant.adapter.openAI.requestParameters')||_0x403163['config']['define']('ai.assistant.adapter.openAI.requestParameters',{'model':'gpt-4o','temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0x403163['config']['get']('ai.assistant.adapter.openAI.apiUrl'),this['_requestHeaders']=_0x403163['config']['get']('ai.assistant.adapter.openAI.requestHeaders')||{},this['_requestParameters']=_0x403163['config']['get']('ai.assistant.adapter.openAI.requestParameters');}async['sendRequest']({query:_0x9dfdab,context:_0x57c71f,onData:_0x390a91,actionId:_0x51a3ba}){const _0x4e6f85=this['editor']['locale'],_0x53f28d=await this['prepareMessages'](_0x9dfdab,_0x57c71f,_0x51a3ba),_0x55b0ee=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x51a3ba),_0x3bf367=await this['_prepareRequestParameters'](this['_requestParameters'],_0x51a3ba),_0x5409e1={'messages':_0x53f28d,..._0x3bf367},_0x4a874a={'method':'POST','headers':_0x55b0ee,'body':JSON['stringify'](_0x5409e1),'signal':this['abortController']['signal']},_0x5484b3=await fetch(this['_apiUrl'],_0x4a874a);if(_0x5484b3['ok'])return _0x3bf367['stream']?await this['_readStreamableResponse'](_0x5484b3,_0x390a91):await this['_readStaticResponse'](_0x5484b3,_0x390a91),Promise['resolve']();{const _0x238346=await _0x5484b3['text']();return _0x238346['includes']('context_length_exceeded')?Promise['reject'](new AIRequestError(_0x43b716(_0x4e6f85,'AI_ERROR_CONTEXT_LENGTH'))):_0x238346['includes']('Moderation')?Promise['reject'](new AIRequestError(_0x43b716(_0x4e6f85,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x238346));}}async['prepareMessages'](_0x37dd2e,_0xd48c8a,_0x2a87b1){let _0x54e2c5,_0x41ba7c;return _0xd48c8a?(_0x54e2c5='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.',_0x41ba7c='Instruction:\x0a'+_0x37dd2e+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0xd48c8a):(_0x54e2c5='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.',_0x41ba7c=_0x37dd2e),[{'role':'system','content':_0x54e2c5},{'role':'user','content':_0x41ba7c}];}async['_readStreamableResponse'](_0x376151,_0x2d0d08){const _0x281e91=_0x376151['body']['getReader'](),_0x338bbc=new TextDecoder();let _0x25fb29='',_0x19bbdd='',_0x46f3a7='',_0x54ef6e=!0x1;for(;!_0x54ef6e;){const {done:_0x536610,value:_0x29aab0}=await _0x281e91['read'](),_0x4db161=_0x25fb29+_0x338bbc['decode'](_0x29aab0);let _0x88a3e8='';_0x54ef6e=_0x536610;try{_0x88a3e8=this['_cleanUpData'](_0x4db161),_0x25fb29='';}catch{_0x25fb29=_0x4db161;continue;}_0x19bbdd+=_0x88a3e8,!_0x54ef6e&&this['_isBufferIncomplete'](_0x19bbdd)||_0x19bbdd&&(_0x46f3a7+=_0x19bbdd,_0x19bbdd='',_0x2d0d08(_0x46f3a7));}return Promise['resolve']();}async['_readStaticResponse'](_0x1e1eab,_0x12c579){return _0x12c579((await _0x1e1eab['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x217c01){const _0x4d5a45=_0x217c01['split']('<')['length']!==_0x217c01['split']('>')['length'],_0x97580c=_0x217c01['length']<0x1e;return _0x4d5a45&&_0x97580c;}['_cleanUpData'](_0x2335c0){return _0x2335c0['split'](/\n(?![^{]*\})/g)['map'](_0xcdd792=>_0xcdd792['replace']('data:\x20',''))['filter'](_0x176190=>_0x176190&&_0x176190['length']>0x0&&'[DONE]'!==_0x176190)['map'](_0x43fcfd=>{const {choices:_0x4fcd02}=JSON['parse'](_0x43fcfd);if(_0x4fcd02[0x0]?.['delta']?.['content'])return _0x4fcd02[0x0]['delta']['content'];})['filter'](_0x4e08ad=>_0x4e08ad)['join']('');}},_0x474c8f['Pagination']=Pagination,_0x474c8f['PaginationRenderer']=PaginationRenderer,_0x474c8f['PasteFormatCommand']=PasteFormatCommand,_0x474c8f['PasteFromOfficeEnhanced']=PasteFromOfficeEnhanced,_0x474c8f['Permissions']=_0xbd6861,_0x474c8f['PresenceList']=PresenceList,_0x474c8f['PresenceListUI']=PresenceListUI,_0x474c8f['PreviewFinalContentCommand']=PreviewFinalContentCommand,_0x474c8f['PreviewMergeFieldsCommand']=_0x49424d,_0x474c8f['RealTimeCollaborationClient']=RealTimeCollaborationClient,_0x474c8f['RealTimeCollaborativeComments']=RealTimeCollaborativeComments,_0x474c8f['RealTimeCollaborativeEditing']=RealTimeCollaborativeEditing,_0x474c8f['RealTimeCollaborativeRevisionHistory']=RealTimeCollaborativeRevisionHistory,_0x474c8f['RealTimeCollaborativeTrackChanges']=RealTimeCollaborativeTrackChanges,_0x474c8f['ReplaceSourceCommand']=_0x3b1bdc,_0x474c8f['RestoreRevisionCommand']=RestoreRevisionCommand,_0x474c8f['Revision']=_0x24fffe,_0x474c8f['RevisionHistory']=RevisionHistory,_0x474c8f['RevisionHistoryUI']=RevisionHistoryUI,_0x474c8f['RevisionHistoryUtils']=RevisionHistoryUtils,_0x474c8f['RevisionTracker']=_0xff59f3,_0x474c8f['RevisionViewer']=_0x3b1aa5,_0x474c8f['RevisionViewerEditor']=RevisionViewerEditor,_0x474c8f['RevisionViewerIntegration']=RevisionViewerIntegration,_0x474c8f['RevisionViewerLoadingOverlay']=_0x33e4ef,_0x474c8f['RevisionViewerUI']=_0x2a0ee5,_0x474c8f['RevisionsRepository']=RevisionsRepository,_0x474c8f['RevisionsSidebar']=_0x2e3766,_0x474c8f['Sessions']=_0x59e0d0,_0x474c8f['ShowAIAssistantCommand']=ShowAIAssistantCommand,_0x474c8f['ShowChangeCommand']=_0x55ac7c,_0x474c8f['Sidebar']=_0x1c5303,_0x474c8f['SlashCommand']=_0x3b9a17,_0x474c8f['SlashCommandConfig']=_0x77c5e,_0x474c8f['SlashCommandEditing']=SlashCommandEditing,_0x474c8f['SlashCommandUI']=_0x25c4e0,_0x474c8f['SourceEditingEmailIntegration']=SourceEditingEmailIntegration,_0x474c8f['SourceEditingEnhanced']=SourceEditingEnhanced,_0x474c8f['Suggestion']=Suggestion,_0x474c8f['SuggestionDescriptionFactory']=SuggestionDescriptionFactory,_0x474c8f['SuggestionThreadView']=SuggestionThreadView,_0x474c8f['SuggestionView']=SuggestionView,_0x474c8f['SuggestionsConversion']=SuggestionsConversion,_0x474c8f['TableEmailIntegration']=TableEmailIntegration,_0x474c8f['TableOfContents']=TableOfContents,_0x474c8f['TableOfContentsCommand']=TableOfContentsCommand,_0x474c8f['TableOfContentsEditing']=TableOfContentsEditing,_0x474c8f['TableOfContentsUI']=TableOfContentsUI,_0x474c8f['Template']=Template,_0x474c8f['TemplateCommand']=TemplateCommand,_0x474c8f['TemplateEditing']=TemplateEditing,_0x474c8f['TemplateEmailIntegration']=TemplateEmailIntegration,_0x474c8f['TemplateUI']=TemplateUI,_0x474c8f['TodoListEmailIntegration']=TodoListEmailIntegration,_0x474c8f['ToggleAICommand']=_0x54e1c9,_0x474c8f['TrackChanges']=_0x39356b,_0x474c8f['TrackChangesCommand']=_0x595165,_0x474c8f['TrackChangesData']=TrackChangesData,_0x474c8f['TrackChangesDataGetter']=TrackChangesDataGetter,_0x474c8f['TrackChangesEditing']=TrackChangesEditing,_0x474c8f['TrackChangesPreview']=_0x11c89f,_0x474c8f['TrackChangesUI']=_0xf7059c,_0x474c8f['UploadEmailIntegration']=UploadEmailIntegration,_0x474c8f['Uploadcare']=_0x3412b7,_0x474c8f['UploadcareCommand']=_0x2aec1f,_0x474c8f['UploadcareEditing']=UploadcareEditing,_0x474c8f['UploadcareImageEdit']=UploadcareImageEdit,_0x474c8f['UploadcareImageEditCommand']=UploadcareImageEditCommand,_0x474c8f['UploadcareImageEditEditing']=UploadcareImageEditEditing,_0x474c8f['UploadcareImageEditUI']=UploadcareImageEditUI,_0x474c8f['UploadcareUI']=_0x360936,_0x474c8f['UploadcareUploadAdapter']=UploadcareUploadAdapter,_0x474c8f['User']=ts,_0x474c8f['UserView']=_0x45ef72,_0x474c8f['Users']=_0x4e0926,_0x474c8f['WebSocketGateway']=WebSocketGateway,_0x474c8f['WideSidebar']=_0x27bbd6,_0x474c8f['bindAnnotationCollections']=_0x488e0a,_0x474c8f['createResizeButton']=Ft,_0x474c8f['dropImportantStyleSuffix']=_0x4ca26e,_0x474c8f['fixElementSuggestionRange']=_0x1ce3fa,_0x474c8f['getAllMarkersDomElementsSorted']=_0x9c6d55,_0x474c8f['getDateTimeFormatter']=ta,_0x474c8f['getDefaultAICommands']=Mt,_0x474c8f['getEmailInlineStylesTransformations']=function(_0x16625f={}){const _0x419013=[];return _0x16625f['useFigureToTableFallback']&&_0x419013['push'](_0x5b4f8b,_0x45ab97,_0x2322b4),_0x419013['push'](_0x21af34,_0x270863,_0x478455,_0x469e36),_0x419013;},_0x474c8f['getMarkerDomElement']=_0xd0cedc,_0x474c8f['hashObject']=_0x16cf9f,_0x474c8f['isUnsupportedEmailColorFormat']=_0x196e7b,_0x474c8f['isUnsupportedEmailColorValue']=_0x5a66e7,_0x474c8f['sanitizeEditorConfig']=_0x42b075,_0x474c8f['setupThreadKeyboardNavigation']=_0x17b02a,_0x474c8f['splitSuggestionMarkerName']=_0x1ee8e4,_0x474c8f['surroundingMarkersDetector']=_0x42a5b9,_0x474c8f['transformEmailAlignToAttribute']=_0x2322b4,_0x474c8f['transformEmailColumnWidthsToCells']=_0x469e36,_0x474c8f['transformEmailFigcaptionToDiv']=_0x45ab97,_0x474c8f['transformEmailFigureToTable']=_0x5b4f8b,_0x474c8f['transformEmailFloatToAlign']=_0x21af34,_0x474c8f['transformEmailImageWidthAttributes']=_0x478455,_0x474c8f['transformEmailMarginToAlign']=_0x270863,_0x474c8f['trimHtml']=_0x335cd6;});